2 # From configure.in Id: configure.in 59914 2009-03-29 17:15:43Z 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
706 LIBGNOMEPRINTUI_CFLAGS
811 ICC_PCH_CREATE_SWITCH
815 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
816 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
817 COND_BUILD_DEBUG_UNICODE_0
818 COND_BUILD_DEBUG_UNICODE_1
820 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
821 COND_BUILD_RELEASE_UNICODE_0
822 COND_BUILD_RELEASE_UNICODE_1
824 COND_BUILD_debug_DEBUG_FLAG_default
825 COND_BUILD_debug_DEBUG_INFO_default
826 COND_BUILD_debug_UNICODE_0
827 COND_BUILD_debug_UNICODE_1
829 COND_BUILD_release_DEBUG_INFO_default
830 COND_BUILD_release_UNICODE_0
831 COND_BUILD_release_UNICODE_1
840 COND_MONOLITHIC_0_SHARED_0
841 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
847 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
850 COND_MONOLITHIC_0_SHARED_1
851 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
856 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
857 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
858 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
859 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
860 COND_MONOLITHIC_0_USE_AUI_1
861 COND_MONOLITHIC_0_USE_GUI_1
862 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_USE_HTML_1
864 COND_MONOLITHIC_0_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_USE_QA_1
867 COND_MONOLITHIC_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_USE_STC_1
869 COND_MONOLITHIC_0_USE_XRC_1
871 COND_MONOLITHIC_1_SHARED_0
872 COND_MONOLITHIC_1_SHARED_1
873 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
874 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
877 COND_PLATFORM_MACOSX_1
878 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
885 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
886 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MSDOS_0
890 COND_PLATFORM_MSDOS_1
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
895 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_GUI_1
897 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
898 COND_PLATFORM_WIN32_0
899 COND_PLATFORM_WIN32_1
901 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
903 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
904 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
908 COND_SHARED_0_USE_STC_1
909 COND_SHARED_0_wxUSE_EXPAT_builtin
910 COND_SHARED_0_wxUSE_REGEX_builtin
911 COND_SHARED_0_wxUSE_ZLIB_builtin
913 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_COCOA_USE_GUI_1
917 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_DFB_USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MGL_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1
933 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_MSW_USE_GUI_1
936 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_WXUNIV_0
938 COND_TOOLKIT_OSX_CARBON
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
940 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_OSX_COCOA
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_OSX_IPHONE
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
953 COND_TOOLKIT_X11_USE_GUI_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
977 COND_USE_SOVERSOLARIS_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1021 WXCONFIG_LDFLAGS_GUI
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1044 ac_precious_vars
='build_alias
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1078 ac_subdirs_all
='src/tiff
1081 # Initialize some variables set by options.
1083 ac_init_version
=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file
=/dev
/null
1093 program_transform_name
=s
,x
,x
,
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir
='${exec_prefix}/bin'
1108 sbindir
='${exec_prefix}/sbin'
1109 libexecdir
='${exec_prefix}/libexec'
1110 datarootdir
='${prefix}/share'
1111 datadir
='${datarootdir}'
1112 sysconfdir
='${prefix}/etc'
1113 sharedstatedir
='${prefix}/com'
1114 localstatedir
='${prefix}/var'
1115 includedir
='${prefix}/include'
1116 oldincludedir
='/usr/include'
1117 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir
='${datarootdir}/info'
1123 libdir
='${exec_prefix}/lib'
1124 localedir
='${datarootdir}/locale'
1125 mandir
='${datarootdir}/man'
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\
$ac_option
1139 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1145 case $ac_dashdash$ac_option in
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir
=$ac_optarg ;;
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev
=build_alias
;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias
=$ac_optarg ;;
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev
=cache_file
;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file
=$ac_optarg ;;
1166 --config-cache | -C)
1167 cache_file
=config.cache
;;
1169 -datadir | --datadir | --datadi | --datad)
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir
=$ac_optarg ;;
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev
=datarootdir
;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir
=$ac_optarg ;;
1181 -disable-* | --disable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=no
;;
1190 -docdir | --docdir | --docdi | --doc | --do)
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir
=$ac_optarg ;;
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir
=$ac_optarg ;;
1200 -enable-* | --enable-*)
1201 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_
$ac_feature=\
$ac_optarg ;;
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev
=exec_prefix
;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix
=$ac_optarg ;;
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help
=long
;;
1224 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1225 ac_init_help
=recursive
;;
1226 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1227 ac_init_help
=short
;;
1229 -host | --host | --hos | --ho)
1230 ac_prev
=host_alias
;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias
=$ac_optarg ;;
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 htmldir
=$ac_optarg ;;
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev
=includedir
;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir
=$ac_optarg ;;
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir
=$ac_optarg ;;
1252 -libdir | --libdir | --libdi | --libd)
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir
=$ac_optarg ;;
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev
=libexecdir
;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir
=$ac_optarg ;;
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev
=localedir
;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir
=$ac_optarg ;;
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev
=localstatedir
;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir
=$ac_optarg ;;
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir
=$ac_optarg ;;
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev
=oldincludedir
;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir
=$ac_optarg ;;
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix
=$ac_optarg ;;
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev
=program_prefix
;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix
=$ac_optarg ;;
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev
=program_suffix
;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix
=$ac_optarg ;;
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev
=program_transform_name
;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name
=$ac_optarg ;;
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir
=$ac_optarg ;;
1343 -psdir | --psdir | --psdi | --psd | --ps)
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 sbindir
=$ac_optarg ;;
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1362 ac_prev
=sharedstatedir
;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 sharedstatedir
=$ac_optarg ;;
1369 -site | --site | --sit)
1371 -site=* | --site=* | --sit=*)
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir
=$ac_optarg ;;
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev
=sysconfdir
;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir
=$ac_optarg ;;
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev
=target_alias
;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias
=$ac_optarg ;;
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version
=: ;;
1398 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_
$ac_package=\
$ac_optarg ;;
1406 -without-* | --without-*)
1407 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_
$ac_package=no
;;
1416 # Obsolete; use --with-x.
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev
=x_includes
;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes
=$ac_optarg ;;
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev
=x_libraries
;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries
=$ac_optarg ;;
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1439 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\
$ac_optarg
1445 export $ac_envvar ;;
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1458 if test -n "$ac_prev"; then
1459 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1464 # Be sure to have absolute directory names.
1465 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1470 eval ac_val
=\$
$ac_var
1472 [\\/$
]* | ?
:[\\/]* ) continue;;
1473 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1484 target
=$target_alias
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x
; then
1488 if test "x$build_alias" = x
; then
1489 cross_compiling
=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1498 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1500 test "$silent" = yes && exec 6>/dev
/null
1503 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di
=`ls -di .` &&
1505 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted
=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir
=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1545 ac_srcdir_defaulted
=no
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1552 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1565 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1567 for ac_var
in $ac_precious_vars; do
1568 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1569 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1570 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1575 # Report the --help message.
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1588 Defaults for the options are specified in brackets.
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1612 For better control, use the options below.
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1639 --x-includes=DIR X include files are
in DIR
1640 --x-libraries=DIR X library files are
in DIR
1643 --build=BUILD configure
for building on BUILD
[guessed
]
1644 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x
-locale support
(requires wxLocale
)
1698 --enable-config use wxConfig
(and derived
) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP
(requires wxProtocol
1701 --enable-http use wxHTTP
(requires wxProtocol
1702 --enable-fileproto use wxFileProto class
(requires wxProtocol
1703 --enable-sockets use socket
/network classes
1704 --enable-ipv6 enable IPv6 support
in wxSocket
1705 --enable-ole use OLE classes
(Win32 only
)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication
(wxSocket etc.
)
1708 --enable-baseevtloop use event loop
in console programs too
1709 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding
/decoding functions
1714 --enable-backtrace use wxStackWalker class
for getting backtraces
1715 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class
for DLL loading
1721 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1722 --enable-exceptions build exception
-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual
file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP
/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support
in wxProtocol
1751 --enable-protocol-ftp FTP support
in wxProtocol
1752 --enable-protocol-file FILE support
in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig
(Win32 only
)
1755 --enable-regkey use wxRegKey class
(Win32 only
)
1756 --enable-docview use document view architecture
1757 --enable-help use
help subsystem
1758 --enable-mshtmlhelp use MS HTML Help
(win32
)
1759 --enable-html use wxHTML sub
-library
1760 --enable-htmlhelp use wxHTML
-based help
1761 --enable-xrc use XRC resources sub
-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout
-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl
(Mac
)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context
2D drawing API
1776 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag
'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-bmpbutton use wxBitmapButton class
1786 --enable-bmpcombobox use wxBitmapComboBox class
1787 --enable-button use wxButton class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-dataviewctrl use wxDataViewCtrl class
1799 --enable-datepick use wxDatePickerCtrl class
1800 --enable-detect_sm use code to detect X11 session manager
1801 --enable-dirpicker use wxDirPickerCtrl class
1802 --enable-display use wxDisplay class
1803 --enable-editablebox use wxEditableListBox class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-filepicker use wxFilePickerCtrl class
1806 --enable-fontpicker use wxFontPickerCtrl class
1807 --enable-gauge use wxGauge class
1808 --enable-grid use wxGrid class
1809 --enable-headerctrl use wxHeaderCtrl class
1810 --enable-hyperlink use wxHyperlinkCtrl class
1811 --enable-imaglist use wxImageList class
1812 --enable-listbook use wxListbook class
1813 --enable-listbox use wxListBox class
1814 --enable-listctrl use wxListCtrl class
1815 --enable-notebook use wxNotebook class
1816 --enable-notifmsg use wxNotificationMessage class
1817 --enable-odcombobox use wxOwnerDrawnComboBox class
1818 --enable-popupwin use wxPopUpWindow class
1819 --enable-radiobox use wxRadioBox class
1820 --enable-radiobtn use wxRadioButton class
1821 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-taskbaricon use wxTaskBarIcon class
1835 --enable-tbarnative use native wxToolBar class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-tipwindow use wxTipWindow class
1838 --enable-togglebtn use wxToggleButton class
1839 --enable-toolbar use wxToolBar class
1840 --enable-toolbook use wxToolbook class
1841 --enable-treebook use wxTreebook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-commondlg use all common dialogs
1844 --enable-aboutdlg use wxAboutBox
1845 --enable-choicedlg use wxChoiceDialog
1846 --enable-coldlg use wxColourDialog
1847 --enable-filedlg use wxFileDialog
1848 --enable-finddlg use wxFindReplaceDialog
1849 --enable-fontdlg use wxFontDialog
1850 --enable-dirdlg use wxDirDialog
1851 --enable-msgdlg use wxMessageDialog
1852 --enable-numberdlg use wxNumberEntryDialog
1853 --enable-splash use wxSplashScreen
1854 --enable-textdlg use wxTextDialog
1855 --enable-tipdlg use startup tips
1856 --enable-progressdlg use wxProgressDialog
1857 --enable-wizarddlg use wxWizard
1858 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1859 --enable-miniframe use wxMiniFrame class
1860 --enable-tooltips use wxToolTip class
1861 --enable-splines use spline drawing code
1862 --enable-mousewheel use mousewheel
1863 --enable-validators use wxValidator and derived classes
1864 --enable-busyinfo use wxBusyInfo
1865 --enable-joystick use wxJoystick
1866 --enable-metafiles use wxMetaFile
(Win32 only
)
1867 --enable-dragimage use wxDragImage
1868 --enable-accessibility enable accessibility support
1869 --enable-palette use wxPalette class
1870 --enable-image use wxImage class
1871 --enable-gif use gif images
(GIF
file format
)
1872 --enable-pcx use pcx images
(PCX
file format
)
1873 --enable-tga use tga images
(TGA
file format
)
1874 --enable-iff use iff images
(IFF
file format
)
1875 --enable-pnm use pnm images
(PNM
file format
)
1876 --enable-xpm use xpm images
(XPM
file format
)
1877 --enable-ico_cur use Windows ICO and CUR formats
1878 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1879 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1880 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1881 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1882 --enable-wxdib use wxDIB class
(Win32 only
)
1883 --enable-autoidman use automatic ids management
1884 --disable-largefile omit support
for large files
1885 --disable-gtktest do not try to compile and run a
test GTK
+ program
1886 --disable-gtktest Do not try to compile and run a
test GTK program
1887 --disable-sdltest Do not try to compile and run a
test SDL program
1888 --enable-omf use OMF object format
(OS
/2)
1889 --disable-dependency-tracking
1890 don
't use dependency tracking even if the compiler
1892 --disable-precomp-headers
1893 don't use precompiled headers even
if compiler can
1896 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1897 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1898 --without-subdirs don
't generate makefiles for samples/demos/...
1899 --with-flavour=NAME specify a name to identify this build
1900 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1901 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1902 --with-motif use Motif/Lesstif
1903 --with-osx_carbon use Mac OS X (Carbon)
1904 --with-osx_cocoa use Mac OS X (Cocoa)
1905 --with-mac use Mac OS X (Default)
1906 --with-cocoa use Cocoa
1907 --with-wine use Wine
1908 --with-msw use MS-Windows
1909 --with-pm use OS/2 Presentation Manager
1910 --with-mgl use SciTech MGL
1911 --with-directfb use DirectFB
1912 --with-microwin use MicroWindows
1914 --with-libpng use libpng (PNG image format)
1915 --with-libjpeg use libjpeg (JPEG file format)
1916 --with-libtiff use libtiff (TIFF file format)
1917 --with-libxpm use libxpm (XPM file format)
1918 --with-libiconv use libiconv (character conversion)
1919 --with-libmspack use libmspack (CHM help files loading)
1920 --without-gtkprint don't use GTK printing support
1921 --without-gnomeprint don
't use GNOME printing libraries
1922 --with-gnomevfs use GNOME VFS for associating MIME types
1923 --with-hildon use Hildon framework for Nokia 770
1924 --with-opengl use OpenGL (or Mesa)
1925 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1926 --with-sdl use SDL for audio on Unix
1927 --with-regex enable support for wxRegEx class
1928 --with-zlib use zlib for LZW compression
1929 --with-expat enable XML support using expat parser
1930 --with-macosx-sdk=PATH use an OS X SDK at PATH
1931 --with-macosx-version-min=VER build binaries which require at least this OS X version
1932 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1933 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1934 --with-x use the X Window System
1935 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1936 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1937 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1938 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1939 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941 Some influential environment variables:
1942 CC C compiler command
1943 CFLAGS C compiler flags
1944 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1945 nonstandard directory <lib dir>
1946 LIBS libraries to pass to the linker, e.g. -l<library>
1947 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1948 you have headers in a nonstandard directory <include dir>
1950 CXX C++ compiler command
1951 CXXFLAGS C++ compiler flags
1952 PKG_CONFIG path to pkg-config utility
1954 C compiler flags for DIRECTFB, overriding pkg-config
1956 linker flags for DIRECTFB, overriding pkg-config
1957 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 C compiler flags for PANGOX, overriding pkg-config
1960 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 C compiler flags for PANGOFT2, overriding pkg-config
1964 linker flags for PANGOFT2, overriding pkg-config
1966 C compiler flags for PANGOXFT, overriding pkg-config
1968 linker flags for PANGOXFT, overriding pkg-config
1970 C compiler flags for GTKPRINT, overriding pkg-config
1972 linker flags for GTKPRINT, overriding pkg-config
1973 LIBGNOMEPRINTUI_CFLAGS
1974 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1975 LIBGNOMEPRINTUI_LIBS
1976 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 C compiler flags for GNOMEVFS, overriding pkg-config
1980 linker flags for GNOMEVFS, overriding pkg-config
1982 C compiler flags for HILDON, overriding pkg-config
1983 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 C compiler flags for CAIRO, overriding pkg-config
1986 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1987 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1988 GST_LIBS linker flags for GST, overriding pkg-config
1990 Use these variables to override the choices made by `configure' or to
help
1991 it to
find libraries and programs with nonstandard names
/locations.
1993 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1998 if test "$ac_init_help" = "recursive"; then
1999 # If there are subdirs, report their specific --help.
2000 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2001 test -d "$ac_dir" || continue
2005 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2007 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2008 # A ".." for each directory in $ac_dir_suffix.
2009 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2010 case $ac_top_builddir_sub in
2011 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2012 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2015 ac_abs_top_builddir
=$ac_pwd
2016 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2017 # for backward compatibility:
2018 ac_top_builddir
=$ac_top_build_prefix
2021 .
) # We are building in place.
2023 ac_top_srcdir
=$ac_top_builddir_sub
2024 ac_abs_top_srcdir
=$ac_pwd ;;
2025 [\\/]* | ?
:[\\/]* ) # Absolute name.
2026 ac_srcdir
=$srcdir$ac_dir_suffix;
2027 ac_top_srcdir
=$srcdir
2028 ac_abs_top_srcdir
=$srcdir ;;
2030 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2031 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2032 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2034 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2036 cd "$ac_dir" || { ac_status
=$?
; continue; }
2037 # Check for guested configure.
2038 if test -f "$ac_srcdir/configure.gnu"; then
2040 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2041 elif test -f "$ac_srcdir/configure"; then
2043 $SHELL "$ac_srcdir/configure" --help=recursive
2045 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 cd "$ac_pwd" || { ac_status
=$?
; break; }
2051 test -n "$ac_init_help" && exit $ac_status
2052 if $ac_init_version; then
2054 wxWidgets configure
2.9.0
2055 generated by GNU Autoconf
2.61
2057 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2058 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2059 This configure
script is free software
; the Free Software Foundation
2060 gives unlimited permission to copy
, distribute and modify it.
2064 cat >config.log
<<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2068 It was created by wxWidgets $as_me 2.9.0, which was
2069 generated by GNU Autoconf 2.61. Invocation command line was
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 echo "PATH: $as_dir"
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2129 ac_must_keep_next
=false
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2140 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2145 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2146 if test $ac_must_keep_next = true
; then
2147 ac_must_keep_next
=false
# Got value, back to normal.
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 -* ) ac_must_keep_next
=true
;;
2161 ac_configure_args
="$ac_configure_args '$ac_arg'"
2166 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2167 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2180 ## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##
2185 # The following way of writing the cache mishandles newlines in values,
2187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188 eval ac_val=\$$ac_var
2192 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2193 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2196 _ | IFS | as_nl) ;; #(
2197 *) $as_unset $ac_var ;;
2202 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217 ## ----------------- ##
2218 ## Output variables. ##
2219 ## ----------------- ##
2222 for ac_var in $ac_subst_vars
2224 eval ac_val=\$$ac_var
2226 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 echo "$ac_var='\''$ac_val'\''"
2232 if test -n "$ac_subst_files"; then
2234 ## ------------------- ##
2235 ## File substitutions. ##
2236 ## ------------------- ##
2239 for ac_var
in $ac_subst_files
2241 eval ac_val
=\$
$ac_var
2243 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 echo "$ac_var='\''$ac_val'\''"
2250 if test -s confdefs.h; then
2260 test "$ac_signal" != 0 &&
2261 echo "$as_me: caught signal $ac_signal"
2262 echo "$as_me: exit $exit_status"
2264 rm -f core *.core core.conftest.* &&
2265 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 for ac_signal
in 1 2 13 15; do
2269 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2273 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2274 rm -f -r conftest
* confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h
<<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2283 cat >>confdefs.h
<<_ACEOF
2284 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2288 cat >>confdefs.h
<<_ACEOF
2289 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2293 cat >>confdefs.h
<<_ACEOF
2294 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer explicitly selected file to automatically selected ones.
2305 if test -n "$CONFIG_SITE"; then
2306 set x
"$CONFIG_SITE"
2307 elif test "x$prefix" != xNONE
; then
2308 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2310 set x
"$ac_default_prefix/share/config.site" \
2311 "$ac_default_prefix/etc/config.site"
2316 if test -r "$ac_site_file"; then
2317 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2318 echo "$as_me: loading site script $ac_site_file" >&6;}
2319 sed 's/^/| /' "$ac_site_file" >&5
2324 if test -r "$cache_file"; then
2325 # Some versions of bash will fail to source /dev/null (special
2326 # files actually), so we avoid doing that.
2327 if test -f "$cache_file"; then
2328 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2329 echo "$as_me: loading cache $cache_file" >&6;}
2331 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2332 *) .
"./$cache_file";;
2336 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2337 echo "$as_me: creating cache $cache_file" >&6;}
2341 # Check that the precious variables saved in the cache have kept the same
2343 ac_cache_corrupted
=false
2344 for ac_var
in $ac_precious_vars; do
2345 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2346 eval ac_new_set
=\
$ac_env_${ac_var}_set
2347 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2348 eval ac_new_val
=\
$ac_env_${ac_var}_value
2349 case $ac_old_set,$ac_new_set in
2351 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2352 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2353 ac_cache_corrupted
=: ;;
2355 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2356 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2357 ac_cache_corrupted
=: ;;
2360 if test "x$ac_old_val" != "x$ac_new_val"; then
2361 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2362 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2363 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2364 echo "$as_me: former value: $ac_old_val" >&2;}
2365 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2366 echo "$as_me: current value: $ac_new_val" >&2;}
2367 ac_cache_corrupted
=:
2370 # Pass precious variables to config.status.
2371 if test "$ac_new_set" = set; then
2373 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2374 *) ac_arg
=$ac_var=$ac_new_val ;;
2376 case " $ac_configure_args " in
2377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2378 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2382 if $ac_cache_corrupted; then
2383 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2384 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2385 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2386 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2387 { (exit 1); exit 1; }; }
2415 ac_cpp
='$CPP $CPPFLAGS'
2416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2425 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2426 if test -f "$ac_dir/install-sh"; then
2428 ac_install_sh
="$ac_aux_dir/install-sh -c"
2430 elif test -f "$ac_dir/install.sh"; then
2432 ac_install_sh
="$ac_aux_dir/install.sh -c"
2434 elif test -f "$ac_dir/shtool"; then
2436 ac_install_sh
="$ac_aux_dir/shtool install -c"
2440 if test -z "$ac_aux_dir"; then
2441 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2442 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2443 { (exit 1); exit 1; }; }
2446 # These three variables are undocumented and unsupported,
2447 # and are intended to be withdrawn in a future Autoconf release.
2448 # They can cause serious problems if a builder's source tree is in a directory
2449 # whose full name contains unusual characters.
2450 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2451 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2452 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2455 # Make sure we can run config.sub.
2456 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2457 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2458 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2459 { (exit 1); exit 1; }; }
2461 { echo "$as_me:$LINENO: checking build system type" >&5
2462 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_build+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 ac_build_alias
=$build_alias
2467 test "x$ac_build_alias" = x
&&
2468 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2469 test "x$ac_build_alias" = x
&&
2470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2472 { (exit 1); exit 1; }; }
2473 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2480 echo "${ECHO_T}$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2484 echo "$as_me: error: invalid value of canonical build" >&2;}
2485 { (exit 1); exit 1; }; };;
2488 ac_save_IFS
=$IFS; IFS
='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2501 { echo "$as_me:$LINENO: checking host system type" >&5
2502 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_host+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 if test "x$host_alias" = x
; then
2507 ac_cv_host
=$ac_cv_build
2509 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2517 echo "${ECHO_T}$ac_cv_host" >&6; }
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2521 echo "$as_me: error: invalid value of canonical host" >&2;}
2522 { (exit 1); exit 1; }; };;
2525 ac_save_IFS
=$IFS; IFS
='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2539 if test "$cross_compiling" != "no"; then
2540 HOST_PREFIX
="${host_alias}-"
2541 HOST_SUFFIX
="-$host_alias"
2548 wx_major_version_number
=2
2549 wx_minor_version_number
=9
2551 wx_subrelease_number
=0
2553 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2554 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2555 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2557 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir
="`pwd`"
2573 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2579 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2587 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA
=0
2591 DEFAULT_wxUSE_OSX_CARBON
=0
2592 DEFAULT_wxUSE_OSX_COCOA
=0
2594 DEFAULT_wxUSE_MICROWIN
=0
2595 DEFAULT_wxUSE_MOTIF
=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2602 DEFAULT_DEFAULT_wxUSE_GTK
=0
2603 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2605 DEFAULT_DEFAULT_wxUSE_MGL
=0
2606 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2607 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2608 DEFAULT_DEFAULT_wxUSE_MSW
=0
2609 DEFAULT_DEFAULT_wxUSE_PM
=0
2610 DEFAULT_DEFAULT_wxUSE_X11
=0
2611 DEFAULT_DEFAULT_wxUSE_DFB
=0
2615 DYLIB_RPATH_INSTALL
=
2616 DYLIB_RPATH_POSTLINK
=
2618 DEFAULT_STD_FLAG
=yes
2623 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2624 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2625 cat >>confdefs.h
<<\_ACEOF
2630 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h
<<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h
<<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK
=1
2648 *-*-gnu* | *-*-k*bsd
*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h
<<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK
=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h
<<\_ACEOF
2667 cat >>confdefs.h
<<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2677 cat >>confdefs.h
<<\_ACEOF
2681 cat >>confdefs.h
<<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h
<<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2696 cat >>confdefs.h
<<\_ACEOF
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2713 cat >>confdefs.h
<<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h
<<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK
=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h
<<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h
<<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK
=1
2739 cat >>confdefs.h
<<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h
<<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK
=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2750 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h
<<\_ACEOF
2759 cat >>confdefs.h
<<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2769 cat >>confdefs.h
<<\_ACEOF
2773 cat >>confdefs.h
<<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2782 cat >>confdefs.h
<<\_ACEOF
2786 cat >>confdefs.h
<<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2823 DEFAULT_DEFAULT_wxUSE_MSW
=1
2829 cat >>confdefs.h
<<\_ACEOF
2834 DEFAULT_DEFAULT_wxUSE_MGL
=1
2837 *-pc-os2_emx | *-pc-os2-emx )
2838 cat >>confdefs.h
<<\_ACEOF
2843 cat >>confdefs.h
<<\_ACEOF
2848 DEFAULT_DEFAULT_wxUSE_PM
=1
2850 LDFLAGS
="$LDFLAGS -Zcrtdll"
2851 ac_executable_extensions
=".exe"
2852 export ac_executable_extensions
2856 for ac_dir
in $PATH; do
2858 if test -z "$ac_TEMP_PATH"; then
2859 ac_TEMP_PATH
="$ac_dir"
2861 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2864 export PATH
="$ac_TEMP_PATH"
2872 cat >>confdefs.h
<<\_ACEOF
2876 cat >>confdefs.h
<<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h
<<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2887 powerpc
-apple-macos* )
2889 ac_cv_c_bigendian
=yes
2890 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2896 cat >>confdefs.h
<<\_ACEOF
2903 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2904 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2905 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2906 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908 DEFAULT_DEFAULT_wxUSE_X11
=1
2909 DEFAULT_wxUSE_SHARED
=no
2914 DEFAULT_wxUSE_ALL_FEATURES
=yes
2916 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2917 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_DMALLOC
=no
2920 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2921 DEFAULT_wxUSE_LIBHILDON
=no
2922 DEFAULT_wxUSE_LIBMSPACK
=no
2923 DEFAULT_wxUSE_LIBSDL
=no
2925 DEFAULT_wxUSE_ACCESSIBILITY
=no
2926 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2927 DEFAULT_wxUSE_IPV6
=no
2928 DEFAULT_wxUSE_GSTREAMER8
=no
2930 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2931 DEFAULT_wxUSE_OPENGL
=auto
2932 DEFAULT_wxUSE_MEDIACTRL
=auto
2934 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2936 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2938 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2940 DEFAULT_wxUSE_GTK2
=yes
2942 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2948 enablestring
=disable
2950 if test -z "$defaultval"; then
2951 if test x
"$enablestring" = xdisable
; then
2958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2959 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2960 # Check whether --enable-gui was given.
2961 if test "${enable_gui+set}" = set; then
2962 enableval
=$enable_gui;
2963 if test "$enableval" = yes; then
2964 wx_cv_use_gui
='wxUSE_GUI=yes'
2966 wx_cv_use_gui
='wxUSE_GUI=no'
2971 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2976 eval "$wx_cv_use_gui"
2978 if test x"$enablestring" = xdisable; then
2979 if test $wxUSE_GUI = yes; then
2988 { echo "$as_me:$LINENO: result: $result" >&5
2989 echo "${ECHO_T}$result" >&6; }
2994 if test -z "$defaultval"; then
2995 if test x"$enablestring" = xdisable; then
3002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3003 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3004 # Check whether --enable-monolithic was given.
3005 if test "${enable_monolithic+set}" = set; then
3006 enableval=$enable_monolithic;
3007 if test "$enableval" = yes; then
3008 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3015 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3020 eval "$wx_cv_use_monolithic"
3022 if test x"$enablestring" = xdisable; then
3023 if test $wxUSE_MONOLITHIC = yes; then
3029 result=$wxUSE_MONOLITHIC
3032 { echo "$as_me:$LINENO: result
: $result" >&5
3033 echo "${ECHO_T}$result" >&6; }
3038 if test -z "$defaultval"; then
3039 if test x"$enablestring" = xdisable; then
3046 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3047 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3048 # Check whether --enable-plugins was given.
3049 if test "${enable_plugins+set}" = set; then
3050 enableval=$enable_plugins;
3051 if test "$enableval" = yes; then
3052 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3054 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3059 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3064 eval "$wx_cv_use_plugins"
3066 if test x
"$enablestring" = xdisable
; then
3067 if test $wxUSE_PLUGINS = yes; then
3073 result
=$wxUSE_PLUGINS
3076 { echo "$as_me:$LINENO: result: $result" >&5
3077 echo "${ECHO_T}$result" >&6; }
3081 defaultval
=$wxUSE_ALL_FEATURES
3082 if test -z "$defaultval"; then
3083 if test x
"$withstring" = xwithout
; then
3089 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3090 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3092 # Check whether --with-subdirs was given.
3093 if test "${with_subdirs+set}" = set; then
3094 withval
=$with_subdirs;
3095 if test "$withval" = yes; then
3096 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3098 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3103 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3108 eval "$wx_cv_use_subdirs"
3110 if test x"$withstring" = xwithout; then
3111 if test $wxWITH_SUBDIRS = yes; then
3117 result=$wxWITH_SUBDIRS
3120 { echo "$as_me:$LINENO: result: $result" >&5
3121 echo "${ECHO_T}$result" >&6; }
3124 # Check whether --with-flavour was given.
3125 if test "${with_flavour+set}" = set; then
3126 withval=$with_flavour; WX_FLAVOUR="$withval"
3132 if test -z "$defaultval"; then
3133 if test x"$enablestring" = xdisable; then
3140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3141 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3142 # Check whether --enable-official_build was given.
3143 if test "${enable_official_build+set}" = set; then
3144 enableval=$enable_official_build;
3145 if test "$enableval" = yes; then
3146 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3153 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3158 eval "$wx_cv_use_official_build"
3160 if test x"$enablestring" = xdisable; then
3161 if test $wxUSE_OFFICIAL_BUILD = yes; then
3167 result=$wxUSE_OFFICIAL_BUILD
3170 { echo "$as_me:$LINENO: result
: $result" >&5
3171 echo "${ECHO_T}$result" >&6; }
3173 # Check whether --enable-vendor was given.
3174 if test "${enable_vendor+set}" = set; then
3175 enableval=$enable_vendor; VENDOR="$enableval"
3178 if test "x
$VENDOR" = "x
"; then
3183 enablestring=disable
3185 if test -z "$defaultval"; then
3186 if test x"$enablestring" = xdisable; then
3193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3194 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3195 # Check whether --enable-all-features was given.
3196 if test "${enable_all_features+set}" = set; then
3197 enableval=$enable_all_features;
3198 if test "$enableval" = yes; then
3199 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3206 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3211 eval "$wx_cv_use_all_features"
3213 if test x
"$enablestring" = xdisable
; then
3214 if test $wxUSE_ALL_FEATURES = yes; then
3220 result
=$wxUSE_ALL_FEATURES
3223 { echo "$as_me:$LINENO: result: $result" >&5
3224 echo "${ECHO_T}$result" >&6; }
3227 if test "$wxUSE_ALL_FEATURES" = "no"; then
3228 DEFAULT_wxUSE_MEDIACTRL
=no
3232 if test "$wxUSE_GUI" = "yes"; then
3237 if test -z "$defaultval"; then
3238 if test x
"$enablestring" = xdisable
; then
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval
=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3258 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263 eval "$wx_cv_use_universal"
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3272 result=$wxUSE_UNIVERSAL
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-osx_carbon was given.
3301 if test "${with_osx_carbon+set}" = set; then
3302 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-osx_cocoa was given.
3307 if test "${with_osx_cocoa+set}" = set; then
3308 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-mac was given.
3313 if test "${with_mac+set}" = set; then
3314 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3318 # Check whether --with-cocoa was given.
3319 if test "${with_cocoa+set}" = set; then
3320 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-wine was given.
3325 if test "${with_wine+set}" = set; then
3326 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3330 # Check whether --with-msw was given.
3331 if test "${with_msw+set}" = set; then
3332 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-pm was given.
3337 if test "${with_pm+set}" = set; then
3338 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-mgl was given.
3343 if test "${with_mgl+set}" = set; then
3344 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-directfb was given.
3349 if test "${with_directfb+set}" = set; then
3350 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-microwin was given.
3355 if test "${with_microwin+set}" = set; then
3356 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-x11 was given.
3361 if test "${with_x11+set}" = set; then
3362 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3368 if test -z "$defaultval"; then
3369 if test x"$enablestring" = xdisable; then
3376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3377 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3378 # Check whether --enable-nanox was given.
3379 if test "${enable_nanox+set}" = set; then
3380 enableval=$enable_nanox;
3381 if test "$enableval" = yes; then
3382 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3384 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3389 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3394 eval "$wx_cv_use_nanox"
3396 if test x"$enablestring" = xdisable; then
3397 if test $wxUSE_NANOX = yes; then
3406 { echo "$as_me:$LINENO: result
: $result" >&5
3407 echo "${ECHO_T}$result" >&6; }
3410 # Check whether --enable-gtk2 was given.
3411 if test "${enable_gtk2+set}" = set; then
3412 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3418 if test -z "$defaultval"; then
3419 if test x"$enablestring" = xdisable; then
3426 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3427 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3428 # Check whether --enable-gpe was given.
3429 if test "${enable_gpe+set}" = set; then
3430 enableval=$enable_gpe;
3431 if test "$enableval" = yes; then
3432 wx_cv_use_gpe='wxUSE_GPE=yes'
3434 wx_cv_use_gpe='wxUSE_GPE=no'
3439 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3444 eval "$wx_cv_use_gpe"
3446 if test x
"$enablestring" = xdisable
; then
3447 if test $wxUSE_GPE = yes; then
3456 { echo "$as_me:$LINENO: result: $result" >&5
3457 echo "${ECHO_T}$result" >&6; }
3461 { echo "$as_me:$LINENO: checking for toolkit" >&5
3462 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3466 # In Wine, we need to default to MSW, not GTK or MOTIF
3467 if test "$wxUSE_WINE" = "yes"; then
3468 DEFAULT_DEFAULT_wxUSE_GTK
=0
3469 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3470 DEFAULT_DEFAULT_wxUSE_MSW
=1
3477 if test "$wxUSE_GUI" = "yes"; then
3479 if test "$USE_BEOS" = 1; then
3480 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3481 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3482 { (exit 1); exit 1; }; }
3485 if test "$TOOLKIT_GIVEN" = 1; then
3486 for toolkit
in $ALL_TOOLKITS; do
3488 eval "value=\$${var}"
3489 if test "x$value" = "xno"; then
3491 elif test "x$value" != "x"; then
3495 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3496 eval "wx${toolkit}_VERSION=$value"
3500 for toolkit
in $ALL_TOOLKITS; do
3501 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3502 eval "wxUSE_$toolkit=\$${var}"
3506 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3507 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3508 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3511 *-pc-os2_emx | *-pc-os2-emx )
3512 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3515 case "$NUM_TOOLKITS" in
3519 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3520 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3521 { (exit 1); exit 1; }; }
3524 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3525 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3526 { (exit 1); exit 1; }; }
3529 # to be removed when --disable-gtk2 isn't needed
3530 if test "x$wxUSE_GTK2" = "xyes"; then
3532 elif test "x$wxUSE_GTK2" = "xno"; then
3536 for toolkit
in $ALL_TOOLKITS; do
3538 eval "value=\$${var}"
3539 if test "$value" = 1; then
3540 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3541 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3542 echo "${ECHO_T}$toolkit_echo" >&6; }
3546 if test "x$host_alias" != "x"; then
3547 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3548 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3550 { echo "$as_me:$LINENO: result: base only" >&5
3551 echo "${ECHO_T}base only" >&6; }
3556 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3562 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3563 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 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3589 eval "$wx_cv_use_libpng"
3591 if test "$wxUSE_LIBPNG" = yes; then
3592 { echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6; }
3594 elif test "$wxUSE_LIBPNG" = no; then
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3597 elif test "$wxUSE_LIBPNG" = sys; then
3598 { echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6; }
3600 elif test "$wxUSE_LIBPNG" = builtin; then
3601 { echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6; }
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3610 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3611 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3613 # Check whether --with-libjpeg was given.
3614 if test "${with_libjpeg+set}" = set; then
3615 withval=$with_libjpeg;
3616 if test "$withval" = yes; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3618 elif test "$withval" = no; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3620 elif test "$withval" = sys; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3622 elif test "$withval" = builtin; then
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3637 eval "$wx_cv_use_libjpeg"
3639 if test "$wxUSE_LIBJPEG" = yes; then
3640 { echo "$as_me:$LINENO: result
: yes" >&5
3641 echo "${ECHO_T}yes" >&6; }
3642 elif test "$wxUSE_LIBJPEG" = no; then
3643 { echo "$as_me:$LINENO: result
: no
" >&5
3644 echo "${ECHO_T}no
" >&6; }
3645 elif test "$wxUSE_LIBJPEG" = sys; then
3646 { echo "$as_me:$LINENO: result
: system version
" >&5
3647 echo "${ECHO_T}system version
" >&6; }
3648 elif test "$wxUSE_LIBJPEG" = builtin; then
3649 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3650 echo "${ECHO_T}builtin version
" >&6; }
3652 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3653 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3658 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3659 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3661 # Check whether --with-libtiff was given.
3662 if test "${with_libtiff+set}" = set; then
3663 withval=$with_libtiff;
3664 if test "$withval" = yes; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3666 elif test "$withval" = no; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3668 elif test "$withval" = sys; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3670 elif test "$withval" = builtin; then
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3673 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3674 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3680 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3685 eval "$wx_cv_use_libtiff"
3687 if test "$wxUSE_LIBTIFF" = yes; then
3688 { echo "$as_me:$LINENO: result: yes" >&5
3689 echo "${ECHO_T}yes" >&6; }
3690 elif test "$wxUSE_LIBTIFF" = no
; then
3691 { echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6; }
3693 elif test "$wxUSE_LIBTIFF" = sys
; then
3694 { echo "$as_me:$LINENO: result: system version" >&5
3695 echo "${ECHO_T}system version" >&6; }
3696 elif test "$wxUSE_LIBTIFF" = builtin; then
3697 { echo "$as_me:$LINENO: result: builtin version" >&5
3698 echo "${ECHO_T}builtin version" >&6; }
3700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3701 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3702 { (exit 1); exit 1; }; }
3706 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3707 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3709 # Check whether --with-libxpm was given.
3710 if test "${with_libxpm+set}" = set; then
3711 withval
=$with_libxpm;
3712 if test "$withval" = yes; then
3713 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3714 elif test "$withval" = no
; then
3715 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3716 elif test "$withval" = sys
; then
3717 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3718 elif test "$withval" = builtin; then
3719 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3728 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3733 eval "$wx_cv_use_libxpm"
3735 if test "$wxUSE_LIBXPM" = yes; then
3736 { echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6; }
3738 elif test "$wxUSE_LIBXPM" = no; then
3739 { echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6; }
3741 elif test "$wxUSE_LIBXPM" = sys; then
3742 { echo "$as_me:$LINENO: result: system version" >&5
3743 echo "${ECHO_T}system version" >&6; }
3744 elif test "$wxUSE_LIBXPM" = builtin; then
3745 { echo "$as_me:$LINENO: result: builtin version" >&5
3746 echo "${ECHO_T}builtin version" >&6; }
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3755 defaultval=$wxUSE_ALL_FEATURES
3756 if test -z "$defaultval"; then
3757 if test x"$withstring" = xwithout; then
3763 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3764 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3766 # Check whether --with-libiconv was given.
3767 if test "${with_libiconv+set}" = set; then
3768 withval=$with_libiconv;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3772 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3777 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3782 eval "$wx_cv_use_libiconv"
3784 if test x"$withstring" = xwithout; then
3785 if test $wxUSE_LIBICONV = yes; then
3791 result=$wxUSE_LIBICONV
3794 { echo "$as_me:$LINENO: result
: $result" >&5
3795 echo "${ECHO_T}$result" >&6; }
3799 defaultval=$wxUSE_ALL_FEATURES
3800 if test -z "$defaultval"; then
3801 if test x"$withstring" = xwithout; then
3807 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3808 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 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3826 eval "$wx_cv_use_libmspack"
3828 if test x
"$withstring" = xwithout
; then
3829 if test $wxUSE_LIBMSPACK = yes; then
3835 result
=$wxUSE_LIBMSPACK
3838 { echo "$as_me:$LINENO: result: $result" >&5
3839 echo "${ECHO_T}$result" >&6; }
3843 defaultval
=$wxUSE_ALL_FEATURES
3844 if test -z "$defaultval"; then
3845 if test x
"$withstring" = xwithout
; then
3851 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3852 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3854 # Check whether --with-gtkprint was given.
3855 if test "${with_gtkprint+set}" = set; then
3856 withval
=$with_gtkprint;
3857 if test "$withval" = yes; then
3858 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3860 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3865 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3870 eval "$wx_cv_use_gtkprint"
3872 if test x"$withstring" = xwithout; then
3873 if test $wxUSE_GTKPRINT = yes; then
3879 result=$wxUSE_GTKPRINT
3882 { echo "$as_me:$LINENO: result: $result" >&5
3883 echo "${ECHO_T}$result" >&6; }
3887 defaultval=$wxUSE_ALL_FEATURES
3888 if test -z "$defaultval"; then
3889 if test x"$withstring" = xwithout; then
3895 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3896 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3898 # Check whether --with-gnomeprint was given.
3899 if test "${with_gnomeprint+set}" = set; then
3900 withval=$with_gnomeprint;
3901 if test "$withval" = yes; then
3902 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3914 eval "$wx_cv_use_gnomeprint"
3916 if test x"$withstring" = xwithout; then
3917 if test $wxUSE_LIBGNOMEPRINT = yes; then
3923 result=$wxUSE_LIBGNOMEPRINT
3926 { echo "$as_me:$LINENO: result
: $result" >&5
3927 echo "${ECHO_T}$result" >&6; }
3931 defaultval=$wxUSE_ALL_FEATURES
3932 if test -z "$defaultval"; then
3933 if test x"$withstring" = xwithout; then
3939 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3940 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3942 # Check whether --with-gnomevfs was given.
3943 if test "${with_gnomevfs+set}" = set; then
3944 withval=$with_gnomevfs;
3945 if test "$withval" = yes; then
3946 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3953 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3958 eval "$wx_cv_use_gnomevfs"
3960 if test x
"$withstring" = xwithout
; then
3961 if test $wxUSE_LIBGNOMEVFS = yes; then
3967 result
=$wxUSE_LIBGNOMEVFS
3970 { echo "$as_me:$LINENO: result: $result" >&5
3971 echo "${ECHO_T}$result" >&6; }
3975 defaultval
=$wxUSE_ALL_FEATURES
3976 if test -z "$defaultval"; then
3977 if test x
"$withstring" = xwithout
; then
3983 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3984 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3986 # Check whether --with-hildon was given.
3987 if test "${with_hildon+set}" = set; then
3988 withval
=$with_hildon;
3989 if test "$withval" = yes; then
3990 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3992 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3997 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4002 eval "$wx_cv_use_hildon"
4004 if test x"$withstring" = xwithout; then
4005 if test $wxUSE_LIBHILDON = yes; then
4011 result=$wxUSE_LIBHILDON
4014 { echo "$as_me:$LINENO: result: $result" >&5
4015 echo "${ECHO_T}$result" >&6; }
4019 defaultval=$wxUSE_ALL_FEATURES
4020 if test -z "$defaultval"; then
4021 if test x"$withstring" = xwithout; then
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4028 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 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4046 eval "$wx_cv_use_opengl"
4048 if test x"$withstring" = xwithout; then
4049 if test $wxUSE_OPENGL = yes; then
4055 result=$wxUSE_OPENGL
4058 { echo "$as_me:$LINENO: result
: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4066 defaultval=$wxUSE_ALL_FEATURES
4067 if test -z "$defaultval"; then
4068 if test x"$withstring" = xwithout; then
4074 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4075 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4077 # Check whether --with-dmalloc was given.
4078 if test "${with_dmalloc+set}" = set; then
4079 withval=$with_dmalloc;
4080 if test "$withval" = yes; then
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4088 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4093 eval "$wx_cv_use_dmalloc"
4095 if test x
"$withstring" = xwithout
; then
4096 if test $wxUSE_DMALLOC = yes; then
4102 result
=$wxUSE_DMALLOC
4105 { echo "$as_me:$LINENO: result: $result" >&5
4106 echo "${ECHO_T}$result" >&6; }
4110 defaultval
=$wxUSE_ALL_FEATURES
4111 if test -z "$defaultval"; then
4112 if test x
"$withstring" = xwithout
; then
4118 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4119 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4121 # Check whether --with-sdl was given.
4122 if test "${with_sdl+set}" = set; then
4124 if test "$withval" = yes; then
4125 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4127 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4132 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4137 eval "$wx_cv_use_sdl"
4139 if test x"$withstring" = xwithout; then
4140 if test $wxUSE_LIBSDL = yes; then
4146 result=$wxUSE_LIBSDL
4149 { echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6; }
4153 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4154 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4156 # Check whether --with-regex was given.
4157 if test "${with_regex+set}" = set; then
4158 withval=$with_regex;
4159 if test "$withval" = yes; then
4160 wx_cv_use_regex='wxUSE_REGEX
=yes'
4161 elif test "$withval" = no; then
4162 wx_cv_use_regex='wxUSE_REGEX
=no
'
4163 elif test "$withval" = sys; then
4164 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4165 elif test "$withval" = builtin; then
4166 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4168 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4169 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4170 { (exit 1); exit 1; }; }
4175 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4180 eval "$wx_cv_use_regex"
4182 if test "$wxUSE_REGEX" = yes; then
4183 { echo "$as_me:$LINENO: result
: yes" >&5
4184 echo "${ECHO_T}yes" >&6; }
4185 elif test "$wxUSE_REGEX" = no; then
4186 { echo "$as_me:$LINENO: result
: no
" >&5
4187 echo "${ECHO_T}no
" >&6; }
4188 elif test "$wxUSE_REGEX" = sys; then
4189 { echo "$as_me:$LINENO: result
: system version
" >&5
4190 echo "${ECHO_T}system version
" >&6; }
4191 elif test "$wxUSE_REGEX" = builtin; then
4192 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4193 echo "${ECHO_T}builtin version
" >&6; }
4195 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4196 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4197 { (exit 1); exit 1; }; }
4201 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4202 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4204 # Check whether --with-zlib was given.
4205 if test "${with_zlib+set}" = set; then
4207 if test "$withval" = yes; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4209 elif test "$withval" = no; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=no'
4211 elif test "$withval" = sys; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4213 elif test "$withval" = builtin; then
4214 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4216 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4217 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4218 { (exit 1); exit 1; }; }
4223 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4228 eval "$wx_cv_use_zlib"
4230 if test "$wxUSE_ZLIB" = yes; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 elif test "$wxUSE_ZLIB" = no
; then
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4236 elif test "$wxUSE_ZLIB" = sys
; then
4237 { echo "$as_me:$LINENO: result: system version" >&5
4238 echo "${ECHO_T}system version" >&6; }
4239 elif test "$wxUSE_ZLIB" = builtin; then
4240 { echo "$as_me:$LINENO: result: builtin version" >&5
4241 echo "${ECHO_T}builtin version" >&6; }
4243 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4244 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4245 { (exit 1); exit 1; }; }
4249 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4250 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4252 # Check whether --with-expat was given.
4253 if test "${with_expat+set}" = set; then
4254 withval
=$with_expat;
4255 if test "$withval" = yes; then
4256 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4257 elif test "$withval" = no
; then
4258 wx_cv_use_expat
='wxUSE_EXPAT=no'
4259 elif test "$withval" = sys
; then
4260 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4261 elif test "$withval" = builtin; then
4262 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4264 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4265 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4266 { (exit 1); exit 1; }; }
4271 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4276 eval "$wx_cv_use_expat"
4278 if test "$wxUSE_EXPAT" = yes; then
4279 { echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6; }
4281 elif test "$wxUSE_EXPAT" = no; then
4282 { echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6; }
4284 elif test "$wxUSE_EXPAT" = sys; then
4285 { echo "$as_me:$LINENO: result: system version" >&5
4286 echo "${ECHO_T}system version" >&6; }
4287 elif test "$wxUSE_EXPAT" = builtin; then
4288 { echo "$as_me:$LINENO: result: builtin version" >&5
4289 echo "${ECHO_T}builtin version" >&6; }
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4297 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4298 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4300 # Check whether --with-macosx-sdk was given.
4301 if test "${with_macosx_sdk+set}" = set; then
4302 withval=$with_macosx_sdk;
4303 wxUSE_MACOSX_SDK=$withval
4304 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4311 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4312 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4314 # Check whether --with-macosx-version-min was given.
4315 if test "${with_macosx_version_min+set}" = set; then
4316 withval=$with_macosx_version_min;
4317 wxUSE_MACOSX_VERSION_MIN=$withval
4318 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4322 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4323 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4327 enablestring=disable
4329 if test -z "$defaultval"; then
4330 if test x"$enablestring" = xdisable; then
4337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4339 # Check whether --enable-shared was given.
4340 if test "${enable_shared+set}" = set; then
4341 enableval=$enable_shared;
4342 if test "$enableval" = yes; then
4343 wx_cv_use_shared='wxUSE_SHARED
=yes'
4345 wx_cv_use_shared='wxUSE_SHARED
=no
'
4350 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4355 eval "$wx_cv_use_shared"
4357 if test x"$enablestring" = xdisable; then
4358 if test $wxUSE_SHARED = yes; then
4364 result=$wxUSE_SHARED
4367 { echo "$as_me:$LINENO: result
: $result" >&5
4368 echo "${ECHO_T}$result" >&6; }
4373 if test -z "$defaultval"; then
4374 if test x"$enablestring" = xdisable; then
4381 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4382 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4383 # Check whether --enable-debug was given.
4384 if test "${enable_debug+set}" = set; then
4385 enableval=$enable_debug;
4386 if test "$enableval" = yes; then
4387 wx_cv_use_debug='wxUSE_DEBUG=yes'
4389 wx_cv_use_debug='wxUSE_DEBUG=no'
4394 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4399 eval "$wx_cv_use_debug"
4401 if test x
"$enablestring" = xdisable
; then
4402 if test $wxUSE_DEBUG = yes; then
4411 { echo "$as_me:$LINENO: result: $result" >&5
4412 echo "${ECHO_T}$result" >&6; }
4417 if test -z "$defaultval"; then
4418 if test x
"$enablestring" = xdisable
; then
4425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4427 # Check whether --enable-stl was given.
4428 if test "${enable_stl+set}" = set; then
4429 enableval
=$enable_stl;
4430 if test "$enableval" = yes; then
4431 wx_cv_use_stl
='wxUSE_STL=yes'
4433 wx_cv_use_stl
='wxUSE_STL=no'
4438 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4443 eval "$wx_cv_use_stl"
4445 if test x"$enablestring" = xdisable; then
4446 if test $wxUSE_STL = yes; then
4455 { echo "$as_me:$LINENO: result: $result" >&5
4456 echo "${ECHO_T}$result" >&6; }
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4471 # Check whether --enable-std_iostreams was given.
4472 if test "${enable_std_iostreams+set}" = set; then
4473 enableval=$enable_std_iostreams;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4482 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4487 eval "$wx_cv_use_std_iostreams"
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_STD_IOSTREAM = yes; then
4496 result=$wxUSE_STD_IOSTREAM
4499 { echo "$as_me:$LINENO: result
: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4513 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4514 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4515 # Check whether --enable-std_string was given.
4516 if test "${enable_std_string+set}" = set; then
4517 enableval=$enable_std_string;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4521 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4526 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4531 eval "$wx_cv_use_std_string"
4533 if test x
"$enablestring" = xdisable
; then
4534 if test $wxUSE_STD_STRING = yes; then
4540 result
=$wxUSE_STD_STRING
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4547 enablestring
=disable
4549 if test -z "$defaultval"; then
4550 if test x
"$enablestring" = xdisable
; then
4557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4559 # Check whether --enable-unicode was given.
4560 if test "${enable_unicode+set}" = set; then
4561 enableval
=$enable_unicode;
4562 if test "$enableval" = yes; then
4563 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4565 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4570 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4575 eval "$wx_cv_use_unicode"
4577 if test x"$enablestring" = xdisable; then
4578 if test $wxUSE_UNICODE = yes; then
4584 result=$wxUSE_UNICODE
4587 { echo "$as_me:$LINENO: result: $result" >&5
4588 echo "${ECHO_T}$result" >&6; }
4593 if test -z "$defaultval"; then
4594 if test x"$enablestring" = xdisable; then
4601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4603 # Check whether --enable-mslu was given.
4604 if test "${enable_mslu+set}" = set; then
4605 enableval=$enable_mslu;
4606 if test "$enableval" = yes; then
4607 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4614 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4619 eval "$wx_cv_use_mslu"
4621 if test x"$enablestring" = xdisable; then
4622 if test $wxUSE_UNICODE_MSLU = yes; then
4628 result=$wxUSE_UNICODE_MSLU
4631 { echo "$as_me:$LINENO: result
: $result" >&5
4632 echo "${ECHO_T}$result" >&6; }
4636 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4637 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4638 # Check whether --enable-utf8 was given.
4639 if test "${enable_utf8+set}" = set; then
4640 enableval=$enable_utf8;
4641 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4645 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4650 eval "$wx_cv_use_utf8"
4652 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4653 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4658 if test -z "$defaultval"; then
4659 if test x"$enablestring" = xdisable; then
4666 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4667 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4668 # Check whether --enable-utf8only was given.
4669 if test "${enable_utf8only+set}" = set; then
4670 enableval=$enable_utf8only;
4671 if test "$enableval" = yes; then
4672 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4679 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4684 eval "$wx_cv_use_utf8only"
4686 if test x
"$enablestring" = xdisable
; then
4687 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4693 result
=$wxUSE_UNICODE_UTF8_LOCALE
4696 { echo "$as_me:$LINENO: result: $result" >&5
4697 echo "${ECHO_T}$result" >&6; }
4702 if test -z "$defaultval"; then
4703 if test x
"$enablestring" = xdisable
; then
4710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4712 # Check whether --enable-extended_rtti was given.
4713 if test "${enable_extended_rtti+set}" = set; then
4714 enableval
=$enable_extended_rtti;
4715 if test "$enableval" = yes; then
4716 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4718 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4723 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4728 eval "$wx_cv_use_extended_rtti"
4730 if test x"$enablestring" = xdisable; then
4731 if test $wxUSE_EXTENDED_RTTI = yes; then
4737 result=$wxUSE_EXTENDED_RTTI
4740 { echo "$as_me:$LINENO: result: $result" >&5
4741 echo "${ECHO_T}$result" >&6; }
4743 if test "$USE_OS2" = 1; then
4744 DEFAULT_wxUSE_OMF=no
4748 if test -z "$defaultval"; then
4749 if test x"$enablestring" = xdisable; then
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4758 # Check whether --enable-omf was given.
4759 if test "${enable_omf+set}" = set; then
4760 enableval=$enable_omf;
4761 if test "$enableval" = yes; then
4762 wx_cv_use_omf='wxUSE_OMF
=yes'
4764 wx_cv_use_omf='wxUSE_OMF
=no
'
4769 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4774 eval "$wx_cv_use_omf"
4776 if test x"$enablestring" = xdisable; then
4777 if test $wxUSE_OMF = yes; then
4786 { echo "$as_me:$LINENO: result
: $result" >&5
4787 echo "${ECHO_T}$result" >&6; }
4791 if test "$wxUSE_DEBUG" = "yes"; then
4792 DEFAULT_wxUSE_DEBUG_FLAG=yes
4793 DEFAULT_wxUSE_DEBUG_INFO=yes
4795 elif test "$wxUSE_DEBUG" = "no
"; then
4796 DEFAULT_wxUSE_DEBUG_FLAG=no
4797 DEFAULT_wxUSE_DEBUG_INFO=no
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4813 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4814 # Check whether --enable-debug_flag was given.
4815 if test "${enable_debug_flag+set}" = set; then
4816 enableval=$enable_debug_flag;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4825 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4830 eval "$wx_cv_use_debug_flag"
4832 if test x
"$enablestring" = xdisable
; then
4833 if test $wxUSE_DEBUG_FLAG = yes; then
4839 result
=$wxUSE_DEBUG_FLAG
4842 { echo "$as_me:$LINENO: result: $result" >&5
4843 echo "${ECHO_T}$result" >&6; }
4848 if test -z "$defaultval"; then
4849 if test x
"$enablestring" = xdisable
; then
4856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4858 # Check whether --enable-debug_info was given.
4859 if test "${enable_debug_info+set}" = set; then
4860 enableval
=$enable_debug_info;
4861 if test "$enableval" = yes; then
4862 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4864 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4869 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4874 eval "$wx_cv_use_debug_info"
4876 if test x"$enablestring" = xdisable; then
4877 if test $wxUSE_DEBUG_INFO = yes; then
4883 result=$wxUSE_DEBUG_INFO
4886 { echo "$as_me:$LINENO: result: $result" >&5
4887 echo "${ECHO_T}$result" >&6; }
4890 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4895 if test "$wxUSE_DEBUG" = "yes"; then
4896 DEFAULT_wxUSE_OPTIMISE=no
4900 enablestring=disable
4902 if test -z "$defaultval"; then
4903 if test x"$enablestring" = xdisable; then
4910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4911 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4912 # Check whether --enable-optimise was given.
4913 if test "${enable_optimise+set}" = set; then
4914 enableval=$enable_optimise;
4915 if test "$enableval" = yes; then
4916 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4918 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4923 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4928 eval "$wx_cv_use_optimise"
4930 if test x"$enablestring" = xdisable; then
4931 if test $wxUSE_OPTIMISE = yes; then
4937 result=$wxUSE_OPTIMISE
4940 { echo "$as_me:$LINENO: result
: $result" >&5
4941 echo "${ECHO_T}$result" >&6; }
4947 if test -z "$defaultval"; then
4948 if test x"$enablestring" = xdisable; then
4955 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4956 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4957 # Check whether --enable-debug_gdb was given.
4958 if test "${enable_debug_gdb+set}" = set; then
4959 enableval=$enable_debug_gdb;
4960 if test "$enableval" = yes; then
4961 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4968 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4973 eval "$wx_cv_use_debug_gdb"
4975 if test x
"$enablestring" = xdisable
; then
4976 if test $wxUSE_DEBUG_GDB = yes; then
4982 result
=$wxUSE_DEBUG_GDB
4985 { echo "$as_me:$LINENO: result: $result" >&5
4986 echo "${ECHO_T}$result" >&6; }
4991 if test -z "$defaultval"; then
4992 if test x
"$enablestring" = xdisable
; then
4999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5000 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5001 # Check whether --enable-debug_cntxt was given.
5002 if test "${enable_debug_cntxt+set}" = set; then
5003 enableval
=$enable_debug_cntxt;
5004 if test "$enableval" = yes; then
5005 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5007 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5012 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5017 eval "$wx_cv_use_debug_cntxt"
5019 if test x"$enablestring" = xdisable; then
5020 if test $wxUSE_DEBUG_CONTEXT = yes; then
5026 result=$wxUSE_DEBUG_CONTEXT
5029 { echo "$as_me:$LINENO: result: $result" >&5
5030 echo "${ECHO_T}$result" >&6; }
5035 if test -z "$defaultval"; then
5036 if test x"$enablestring" = xdisable; then
5043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5044 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5045 # Check whether --enable-mem_tracing was given.
5046 if test "${enable_mem_tracing+set}" = set; then
5047 enableval=$enable_mem_tracing;
5048 if test "$enableval" = yes; then
5049 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5056 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5061 eval "$wx_cv_use_mem_tracing"
5063 if test x"$enablestring" = xdisable; then
5064 if test $wxUSE_MEM_TRACING = yes; then
5070 result=$wxUSE_MEM_TRACING
5073 { echo "$as_me:$LINENO: result
: $result" >&5
5074 echo "${ECHO_T}$result" >&6; }
5079 if test -z "$defaultval"; then
5080 if test x"$enablestring" = xdisable; then
5087 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5088 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5089 # Check whether --enable-profile was given.
5090 if test "${enable_profile+set}" = set; then
5091 enableval=$enable_profile;
5092 if test "$enableval" = yes; then
5093 wx_cv_use_profile='wxUSE_PROFILE=yes'
5095 wx_cv_use_profile='wxUSE_PROFILE=no'
5100 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5105 eval "$wx_cv_use_profile"
5107 if test x
"$enablestring" = xdisable
; then
5108 if test $wxUSE_PROFILE = yes; then
5114 result
=$wxUSE_PROFILE
5117 { echo "$as_me:$LINENO: result: $result" >&5
5118 echo "${ECHO_T}$result" >&6; }
5123 if test -z "$defaultval"; then
5124 if test x
"$enablestring" = xdisable
; then
5131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5132 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5133 # Check whether --enable-no_rtti was given.
5134 if test "${enable_no_rtti+set}" = set; then
5135 enableval
=$enable_no_rtti;
5136 if test "$enableval" = yes; then
5137 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5139 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5144 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5149 eval "$wx_cv_use_no_rtti"
5151 if test x"$enablestring" = xdisable; then
5152 if test $wxUSE_NO_RTTI = yes; then
5158 result=$wxUSE_NO_RTTI
5161 { echo "$as_me:$LINENO: result: $result" >&5
5162 echo "${ECHO_T}$result" >&6; }
5167 if test -z "$defaultval"; then
5168 if test x"$enablestring" = xdisable; then
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5177 # Check whether --enable-no_exceptions was given.
5178 if test "${enable_no_exceptions+set}" = set; then
5179 enableval=$enable_no_exceptions;
5180 if test "$enableval" = yes; then
5181 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5188 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5193 eval "$wx_cv_use_no_exceptions"
5195 if test x"$enablestring" = xdisable; then
5196 if test $wxUSE_NO_EXCEPTIONS = yes; then
5202 result=$wxUSE_NO_EXCEPTIONS
5205 { echo "$as_me:$LINENO: result
: $result" >&5
5206 echo "${ECHO_T}$result" >&6; }
5211 if test -z "$defaultval"; then
5212 if test x"$enablestring" = xdisable; then
5219 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5220 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5221 # Check whether --enable-permissive was given.
5222 if test "${enable_permissive+set}" = set; then
5223 enableval=$enable_permissive;
5224 if test "$enableval" = yes; then
5225 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5232 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5237 eval "$wx_cv_use_permissive"
5239 if test x
"$enablestring" = xdisable
; then
5240 if test $wxUSE_PERMISSIVE = yes; then
5246 result
=$wxUSE_PERMISSIVE
5249 { echo "$as_me:$LINENO: result: $result" >&5
5250 echo "${ECHO_T}$result" >&6; }
5255 if test -z "$defaultval"; then
5256 if test x
"$enablestring" = xdisable
; then
5263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5265 # Check whether --enable-no_deps was given.
5266 if test "${enable_no_deps+set}" = set; then
5267 enableval
=$enable_no_deps;
5268 if test "$enableval" = yes; then
5269 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5271 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5276 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5281 eval "$wx_cv_use_no_deps"
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_NO_DEPS = yes; then
5290 result=$wxUSE_NO_DEPS
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5297 enablestring=disable
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5309 # Check whether --enable-vararg_macros was given.
5310 if test "${enable_vararg_macros+set}" = set; then
5311 enableval=$enable_vararg_macros;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5320 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5325 eval "$wx_cv_use_vararg_macros"
5327 if test x"$enablestring" = xdisable; then
5328 if test $wxUSE_VARARG_MACROS = yes; then
5334 result=$wxUSE_VARARG_MACROS
5337 { echo "$as_me:$LINENO: result
: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5343 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5344 # Check whether --enable-universal_binary was given.
5345 if test "${enable_universal_binary+set}" = set; then
5346 enableval=$enable_universal_binary;
5347 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5351 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5356 eval "$wx_cv_use_universal_binary"
5358 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5359 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5365 if test -z "$defaultval"; then
5366 if test x"$enablestring" = xdisable; then
5373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5374 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5375 # Check whether --enable-compat26 was given.
5376 if test "${enable_compat26+set}" = set; then
5377 enableval=$enable_compat26;
5378 if test "$enableval" = yes; then
5379 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5386 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5391 eval "$wx_cv_use_compat26"
5393 if test x
"$enablestring" = xdisable
; then
5394 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5400 result
=$WXWIN_COMPATIBILITY_2_6
5403 { echo "$as_me:$LINENO: result: $result" >&5
5404 echo "${ECHO_T}$result" >&6; }
5407 enablestring
=disable
5409 if test -z "$defaultval"; then
5410 if test x
"$enablestring" = xdisable
; then
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5419 # Check whether --enable-compat28 was given.
5420 if test "${enable_compat28+set}" = set; then
5421 enableval
=$enable_compat28;
5422 if test "$enableval" = yes; then
5423 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5425 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5430 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5435 eval "$wx_cv_use_compat28"
5437 if test x"$enablestring" = xdisable; then
5438 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5444 result=$WXWIN_COMPATIBILITY_2_8
5447 { echo "$as_me:$LINENO: result: $result" >&5
5448 echo "${ECHO_T}$result" >&6; }
5451 cat >>confdefs.h <<\_ACEOF
5452 #define wxEVENTS_COMPATIBILITY_2_8 0
5457 enablestring=disable
5459 if test -z "$defaultval"; then
5460 if test x"$enablestring" = xdisable; then
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5469 # Check whether --enable-rpath was given.
5470 if test "${enable_rpath+set}" = set; then
5471 enableval=$enable_rpath;
5472 if test "$enableval" = yes; then
5473 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5475 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5480 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5485 eval "$wx_cv_use_rpath"
5487 if test x"$enablestring" = xdisable; then
5488 if test $wxUSE_RPATH = yes; then
5497 { echo "$as_me:$LINENO: result
: $result" >&5
5498 echo "${ECHO_T}$result" >&6; }
5504 if test -z "$defaultval"; then
5505 if test x"$enablestring" = xdisable; then
5512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5513 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5514 # Check whether --enable-objc_uniquifying was given.
5515 if test "${enable_objc_uniquifying+set}" = set; then
5516 enableval=$enable_objc_uniquifying;
5517 if test "$enableval" = yes; then
5518 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5520 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5525 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5530 eval "$wx_cv_use_objc_uniquifying"
5532 if test x
"$enablestring" = xdisable
; then
5533 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5539 result
=$wxUSE_OBJC_UNIQUIFYING
5542 { echo "$as_me:$LINENO: result: $result" >&5
5543 echo "${ECHO_T}$result" >&6; }
5547 enablestring
=disable
5549 if test -z "$defaultval"; then
5550 if test x
"$enablestring" = xdisable
; then
5557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5559 # Check whether --enable-visibility was given.
5560 if test "${enable_visibility+set}" = set; then
5561 enableval
=$enable_visibility;
5562 if test "$enableval" = yes; then
5563 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5565 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5570 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5575 eval "$wx_cv_use_visibility"
5577 if test x"$enablestring" = xdisable; then
5578 if test $wxUSE_VISIBILITY = yes; then
5584 result=$wxUSE_VISIBILITY
5587 { echo "$as_me:$LINENO: result: $result" >&5
5588 echo "${ECHO_T}$result" >&6; }
5594 defaultval=$wxUSE_ALL_FEATURES
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5605 # Check whether --enable-intl was given.
5606 if test "${enable_intl+set}" = set; then
5607 enableval=$enable_intl;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_intl='wxUSE_INTL
=yes'
5611 wx_cv_use_intl='wxUSE_INTL
=no
'
5616 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5621 eval "$wx_cv_use_intl"
5623 if test x"$enablestring" = xdisable; then
5624 if test $wxUSE_INTL = yes; then
5633 { echo "$as_me:$LINENO: result
: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5638 defaultval=$wxUSE_ALL_FEATURES
5639 if test -z "$defaultval"; then
5640 if test x"$enablestring" = xdisable; then
5647 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5648 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5649 # Check whether --enable-xlocale was given.
5650 if test "${enable_xlocale+set}" = set; then
5651 enableval=$enable_xlocale;
5652 if test "$enableval" = yes; then
5653 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5655 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5660 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5665 eval "$wx_cv_use_xlocale"
5667 if test x
"$enablestring" = xdisable
; then
5668 if test $wxUSE_XLOCALE = yes; then
5674 result
=$wxUSE_XLOCALE
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5682 defaultval
=$wxUSE_ALL_FEATURES
5683 if test -z "$defaultval"; then
5684 if test x
"$enablestring" = xdisable
; then
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5693 # Check whether --enable-config was given.
5694 if test "${enable_config+set}" = set; then
5695 enableval
=$enable_config;
5696 if test "$enableval" = yes; then
5697 wx_cv_use_config
='wxUSE_CONFIG=yes'
5699 wx_cv_use_config
='wxUSE_CONFIG=no'
5704 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5709 eval "$wx_cv_use_config"
5711 if test x"$enablestring" = xdisable; then
5712 if test $wxUSE_CONFIG = yes; then
5718 result=$wxUSE_CONFIG
5721 { echo "$as_me:$LINENO: result: $result" >&5
5722 echo "${ECHO_T}$result" >&6; }
5727 defaultval=$wxUSE_ALL_FEATURES
5728 if test -z "$defaultval"; then
5729 if test x"$enablestring" = xdisable; then
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5738 # Check whether --enable-protocols was given.
5739 if test "${enable_protocols+set}" = set; then
5740 enableval=$enable_protocols;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5744 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5749 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5754 eval "$wx_cv_use_protocols"
5756 if test x"$enablestring" = xdisable; then
5757 if test $wxUSE_PROTOCOL = yes; then
5763 result=$wxUSE_PROTOCOL
5766 { echo "$as_me:$LINENO: result
: $result" >&5
5767 echo "${ECHO_T}$result" >&6; }
5771 defaultval=$wxUSE_ALL_FEATURES
5772 if test -z "$defaultval"; then
5773 if test x"$enablestring" = xdisable; then
5780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5781 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5782 # Check whether --enable-ftp was given.
5783 if test "${enable_ftp+set}" = set; then
5784 enableval=$enable_ftp;
5785 if test "$enableval" = yes; then
5786 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5788 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5793 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5798 eval "$wx_cv_use_ftp"
5800 if test x
"$enablestring" = xdisable
; then
5801 if test $wxUSE_PROTOCOL_FTP = yes; then
5807 result
=$wxUSE_PROTOCOL_FTP
5810 { echo "$as_me:$LINENO: result: $result" >&5
5811 echo "${ECHO_T}$result" >&6; }
5815 defaultval
=$wxUSE_ALL_FEATURES
5816 if test -z "$defaultval"; then
5817 if test x
"$enablestring" = xdisable
; then
5824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5826 # Check whether --enable-http was given.
5827 if test "${enable_http+set}" = set; then
5828 enableval
=$enable_http;
5829 if test "$enableval" = yes; then
5830 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5832 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5837 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5842 eval "$wx_cv_use_http"
5844 if test x"$enablestring" = xdisable; then
5845 if test $wxUSE_PROTOCOL_HTTP = yes; then
5851 result=$wxUSE_PROTOCOL_HTTP
5854 { echo "$as_me:$LINENO: result: $result" >&5
5855 echo "${ECHO_T}$result" >&6; }
5859 defaultval=$wxUSE_ALL_FEATURES
5860 if test -z "$defaultval"; then
5861 if test x"$enablestring" = xdisable; then
5868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5870 # Check whether --enable-fileproto was given.
5871 if test "${enable_fileproto+set}" = set; then
5872 enableval=$enable_fileproto;
5873 if test "$enableval" = yes; then
5874 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5876 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5881 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5886 eval "$wx_cv_use_fileproto"
5888 if test x"$enablestring" = xdisable; then
5889 if test $wxUSE_PROTOCOL_FILE = yes; then
5895 result=$wxUSE_PROTOCOL_FILE
5898 { echo "$as_me:$LINENO: result
: $result" >&5
5899 echo "${ECHO_T}$result" >&6; }
5903 defaultval=$wxUSE_ALL_FEATURES
5904 if test -z "$defaultval"; then
5905 if test x"$enablestring" = xdisable; then
5912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5913 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5914 # Check whether --enable-sockets was given.
5915 if test "${enable_sockets+set}" = set; then
5916 enableval=$enable_sockets;
5917 if test "$enableval" = yes; then
5918 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5920 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5925 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5930 eval "$wx_cv_use_sockets"
5932 if test x
"$enablestring" = xdisable
; then
5933 if test $wxUSE_SOCKETS = yes; then
5939 result
=$wxUSE_SOCKETS
5942 { echo "$as_me:$LINENO: result: $result" >&5
5943 echo "${ECHO_T}$result" >&6; }
5947 defaultval
=$wxUSE_ALL_FEATURES
5948 if test -z "$defaultval"; then
5949 if test x
"$enablestring" = xdisable
; then
5956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5958 # Check whether --enable-ipv6 was given.
5959 if test "${enable_ipv6+set}" = set; then
5960 enableval
=$enable_ipv6;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5964 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5969 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5974 eval "$wx_cv_use_ipv6"
5976 if test x"$enablestring" = xdisable; then
5977 if test $wxUSE_IPV6 = yes; then
5986 { echo "$as_me:$LINENO: result: $result" >&5
5987 echo "${ECHO_T}$result" >&6; }
5991 defaultval=$wxUSE_ALL_FEATURES
5992 if test -z "$defaultval"; then
5993 if test x"$enablestring" = xdisable; then
6000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6001 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6002 # Check whether --enable-ole was given.
6003 if test "${enable_ole+set}" = set; then
6004 enableval=$enable_ole;
6005 if test "$enableval" = yes; then
6006 wx_cv_use_ole='wxUSE_OLE
=yes'
6008 wx_cv_use_ole='wxUSE_OLE
=no
'
6013 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6018 eval "$wx_cv_use_ole"
6020 if test x"$enablestring" = xdisable; then
6021 if test $wxUSE_OLE = yes; then
6030 { echo "$as_me:$LINENO: result
: $result" >&5
6031 echo "${ECHO_T}$result" >&6; }
6035 defaultval=$wxUSE_ALL_FEATURES
6036 if test -z "$defaultval"; then
6037 if test x"$enablestring" = xdisable; then
6044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6045 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6046 # Check whether --enable-dataobj was given.
6047 if test "${enable_dataobj+set}" = set; then
6048 enableval=$enable_dataobj;
6049 if test "$enableval" = yes; then
6050 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6052 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6057 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6062 eval "$wx_cv_use_dataobj"
6064 if test x
"$enablestring" = xdisable
; then
6065 if test $wxUSE_DATAOBJ = yes; then
6071 result
=$wxUSE_DATAOBJ
6074 { echo "$as_me:$LINENO: result: $result" >&5
6075 echo "${ECHO_T}$result" >&6; }
6080 defaultval
=$wxUSE_ALL_FEATURES
6081 if test -z "$defaultval"; then
6082 if test x
"$enablestring" = xdisable
; then
6089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6091 # Check whether --enable-ipc was given.
6092 if test "${enable_ipc+set}" = set; then
6093 enableval
=$enable_ipc;
6094 if test "$enableval" = yes; then
6095 wx_cv_use_ipc
='wxUSE_IPC=yes'
6097 wx_cv_use_ipc
='wxUSE_IPC=no'
6102 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6107 eval "$wx_cv_use_ipc"
6109 if test x"$enablestring" = xdisable; then
6110 if test $wxUSE_IPC = yes; then
6119 { echo "$as_me:$LINENO: result: $result" >&5
6120 echo "${ECHO_T}$result" >&6; }
6125 defaultval=$wxUSE_ALL_FEATURES
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6136 # Check whether --enable-baseevtloop was given.
6137 if test "${enable_baseevtloop+set}" = set; then
6138 enableval=$enable_baseevtloop;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6142 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6147 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6152 eval "$wx_cv_use_baseevtloop"
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6161 result=$wxUSE_CONSOLE_EVENTLOOP
6164 { echo "$as_me:$LINENO: result
: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6169 defaultval=$wxUSE_ALL_FEATURES
6170 if test -z "$defaultval"; then
6171 if test x"$enablestring" = xdisable; then
6178 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6179 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6180 # Check whether --enable-epollloop was given.
6181 if test "${enable_epollloop+set}" = set; then
6182 enableval=$enable_epollloop;
6183 if test "$enableval" = yes; then
6184 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6186 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6191 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6196 eval "$wx_cv_use_epollloop"
6198 if test x
"$enablestring" = xdisable
; then
6199 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6205 result
=$wxUSE_EPOLL_DISPATCHER
6208 { echo "$as_me:$LINENO: result: $result" >&5
6209 echo "${ECHO_T}$result" >&6; }
6213 defaultval
=$wxUSE_ALL_FEATURES
6214 if test -z "$defaultval"; then
6215 if test x
"$enablestring" = xdisable
; then
6222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6224 # Check whether --enable-selectloop was given.
6225 if test "${enable_selectloop+set}" = set; then
6226 enableval
=$enable_selectloop;
6227 if test "$enableval" = yes; then
6228 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6230 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6235 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6240 eval "$wx_cv_use_selectloop"
6242 if test x"$enablestring" = xdisable; then
6243 if test $wxUSE_SELECT_DISPATCHER = yes; then
6249 result=$wxUSE_SELECT_DISPATCHER
6252 { echo "$as_me:$LINENO: result: $result" >&5
6253 echo "${ECHO_T}$result" >&6; }
6258 defaultval=$wxUSE_ALL_FEATURES
6259 if test -z "$defaultval"; then
6260 if test x"$enablestring" = xdisable; then
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6269 # Check whether --enable-apple_ieee was given.
6270 if test "${enable_apple_ieee+set}" = set; then
6271 enableval=$enable_apple_ieee;
6272 if test "$enableval" = yes; then
6273 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6275 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6280 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6285 eval "$wx_cv_use_apple_ieee"
6287 if test x"$enablestring" = xdisable; then
6288 if test $wxUSE_APPLE_IEEE = yes; then
6294 result=$wxUSE_APPLE_IEEE
6297 { echo "$as_me:$LINENO: result
: $result" >&5
6298 echo "${ECHO_T}$result" >&6; }
6302 defaultval=$wxUSE_ALL_FEATURES
6303 if test -z "$defaultval"; then
6304 if test x"$enablestring" = xdisable; then
6311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6312 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6313 # Check whether --enable-arcstream was given.
6314 if test "${enable_arcstream+set}" = set; then
6315 enableval=$enable_arcstream;
6316 if test "$enableval" = yes; then
6317 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6319 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6324 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6329 eval "$wx_cv_use_arcstream"
6331 if test x
"$enablestring" = xdisable
; then
6332 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6338 result
=$wxUSE_ARCHIVE_STREAMS
6341 { echo "$as_me:$LINENO: result: $result" >&5
6342 echo "${ECHO_T}$result" >&6; }
6346 defaultval
=$wxUSE_ALL_FEATURES
6347 if test -z "$defaultval"; then
6348 if test x
"$enablestring" = xdisable
; then
6355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6356 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6357 # Check whether --enable-base64 was given.
6358 if test "${enable_base64+set}" = set; then
6359 enableval
=$enable_base64;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_base64
='wxUSE_BASE64=yes'
6363 wx_cv_use_base64
='wxUSE_BASE64=no'
6368 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6373 eval "$wx_cv_use_base64"
6375 if test x"$enablestring" = xdisable; then
6376 if test $wxUSE_BASE64 = yes; then
6382 result=$wxUSE_BASE64
6385 { echo "$as_me:$LINENO: result: $result" >&5
6386 echo "${ECHO_T}$result" >&6; }
6390 defaultval=$wxUSE_ALL_FEATURES
6391 if test -z "$defaultval"; then
6392 if test x"$enablestring" = xdisable; then
6399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6400 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6401 # Check whether --enable-backtrace was given.
6402 if test "${enable_backtrace+set}" = set; then
6403 enableval=$enable_backtrace;
6404 if test "$enableval" = yes; then
6405 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6407 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6412 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6417 eval "$wx_cv_use_backtrace"
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_STACKWALKER = yes; then
6426 result=$wxUSE_STACKWALKER
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}-catch_segvs" >&5
6444 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6445 # Check whether --enable-catch_segvs was given.
6446 if test "${enable_catch_segvs+set}" = set; then
6447 enableval=$enable_catch_segvs;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6451 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6456 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6461 eval "$wx_cv_use_catch_segvs"
6463 if test x
"$enablestring" = xdisable
; then
6464 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6470 result
=$wxUSE_ON_FATAL_EXCEPTION
6473 { echo "$as_me:$LINENO: result: $result" >&5
6474 echo "${ECHO_T}$result" >&6; }
6478 defaultval
=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x
"$enablestring" = xdisable
; then
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6489 # Check whether --enable-cmdline was given.
6490 if test "${enable_cmdline+set}" = set; then
6491 enableval
=$enable_cmdline;
6492 if test "$enableval" = yes; then
6493 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6495 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6500 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6505 eval "$wx_cv_use_cmdline"
6507 if test x"$enablestring" = xdisable; then
6508 if test $wxUSE_CMDLINE_PARSER = yes; then
6514 result=$wxUSE_CMDLINE_PARSER
6517 { echo "$as_me:$LINENO: result: $result" >&5
6518 echo "${ECHO_T}$result" >&6; }
6522 defaultval=$wxUSE_ALL_FEATURES
6523 if test -z "$defaultval"; then
6524 if test x"$enablestring" = xdisable; then
6531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6533 # Check whether --enable-datetime was given.
6534 if test "${enable_datetime+set}" = set; then
6535 enableval=$enable_datetime;
6536 if test "$enableval" = yes; then
6537 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6539 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6544 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6549 eval "$wx_cv_use_datetime"
6551 if test x"$enablestring" = xdisable; then
6552 if test $wxUSE_DATETIME = yes; then
6558 result=$wxUSE_DATETIME
6561 { echo "$as_me:$LINENO: result
: $result" >&5
6562 echo "${ECHO_T}$result" >&6; }
6566 defaultval=$wxUSE_ALL_FEATURES
6567 if test -z "$defaultval"; then
6568 if test x"$enablestring" = xdisable; then
6575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6576 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6577 # Check whether --enable-debugreport was given.
6578 if test "${enable_debugreport+set}" = set; then
6579 enableval=$enable_debugreport;
6580 if test "$enableval" = yes; then
6581 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6583 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6588 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6593 eval "$wx_cv_use_debugreport"
6595 if test x
"$enablestring" = xdisable
; then
6596 if test $wxUSE_DEBUGREPORT = yes; then
6602 result
=$wxUSE_DEBUGREPORT
6605 { echo "$as_me:$LINENO: result: $result" >&5
6606 echo "${ECHO_T}$result" >&6; }
6610 defaultval
=$wxUSE_ALL_FEATURES
6611 if test -z "$defaultval"; then
6612 if test x
"$enablestring" = xdisable
; then
6619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6620 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6621 # Check whether --enable-dialupman was given.
6622 if test "${enable_dialupman+set}" = set; then
6623 enableval
=$enable_dialupman;
6624 if test "$enableval" = yes; then
6625 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6627 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6632 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6637 eval "$wx_cv_use_dialupman"
6639 if test x"$enablestring" = xdisable; then
6640 if test $wxUSE_DIALUP_MANAGER = yes; then
6646 result=$wxUSE_DIALUP_MANAGER
6649 { echo "$as_me:$LINENO: result: $result" >&5
6650 echo "${ECHO_T}$result" >&6; }
6654 defaultval=$wxUSE_ALL_FEATURES
6655 if test -z "$defaultval"; then
6656 if test x"$enablestring" = xdisable; then
6663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6665 # Check whether --enable-dynlib was given.
6666 if test "${enable_dynlib+set}" = set; then
6667 enableval=$enable_dynlib;
6668 if test "$enableval" = yes; then
6669 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6671 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6676 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6681 eval "$wx_cv_use_dynlib"
6683 if test x"$enablestring" = xdisable; then
6684 if test $wxUSE_DYNLIB_CLASS = yes; then
6690 result=$wxUSE_DYNLIB_CLASS
6693 { echo "$as_me:$LINENO: result
: $result" >&5
6694 echo "${ECHO_T}$result" >&6; }
6698 defaultval=$wxUSE_ALL_FEATURES
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6707 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6708 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6709 # Check whether --enable-dynamicloader was given.
6710 if test "${enable_dynamicloader+set}" = set; then
6711 enableval=$enable_dynamicloader;
6712 if test "$enableval" = yes; then
6713 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6715 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6720 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6725 eval "$wx_cv_use_dynamicloader"
6727 if test x
"$enablestring" = xdisable
; then
6728 if test $wxUSE_DYNAMIC_LOADER = yes; then
6734 result
=$wxUSE_DYNAMIC_LOADER
6737 { echo "$as_me:$LINENO: result: $result" >&5
6738 echo "${ECHO_T}$result" >&6; }
6742 defaultval
=$wxUSE_ALL_FEATURES
6743 if test -z "$defaultval"; then
6744 if test x
"$enablestring" = xdisable
; then
6751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6753 # Check whether --enable-exceptions was given.
6754 if test "${enable_exceptions+set}" = set; then
6755 enableval
=$enable_exceptions;
6756 if test "$enableval" = yes; then
6757 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6759 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6764 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6769 eval "$wx_cv_use_exceptions"
6771 if test x"$enablestring" = xdisable; then
6772 if test $wxUSE_EXCEPTIONS = yes; then
6778 result=$wxUSE_EXCEPTIONS
6781 { echo "$as_me:$LINENO: result: $result" >&5
6782 echo "${ECHO_T}$result" >&6; }
6786 defaultval=$wxUSE_ALL_FEATURES
6787 if test -z "$defaultval"; then
6788 if test x"$enablestring" = xdisable; then
6795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6797 # Check whether --enable-ffile was given.
6798 if test "${enable_ffile+set}" = set; then
6799 enableval=$enable_ffile;
6800 if test "$enableval" = yes; then
6801 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6803 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6808 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6813 eval "$wx_cv_use_ffile"
6815 if test x"$enablestring" = xdisable; then
6816 if test $wxUSE_FFILE = yes; then
6825 { echo "$as_me:$LINENO: result
: $result" >&5
6826 echo "${ECHO_T}$result" >&6; }
6830 defaultval=$wxUSE_ALL_FEATURES
6831 if test -z "$defaultval"; then
6832 if test x"$enablestring" = xdisable; then
6839 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6840 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6841 # Check whether --enable-file was given.
6842 if test "${enable_file+set}" = set; then
6843 enableval=$enable_file;
6844 if test "$enableval" = yes; then
6845 wx_cv_use_file='wxUSE_FILE=yes'
6847 wx_cv_use_file='wxUSE_FILE=no'
6852 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6857 eval "$wx_cv_use_file"
6859 if test x
"$enablestring" = xdisable
; then
6860 if test $wxUSE_FILE = yes; then
6869 { echo "$as_me:$LINENO: result: $result" >&5
6870 echo "${ECHO_T}$result" >&6; }
6874 defaultval
=$wxUSE_ALL_FEATURES
6875 if test -z "$defaultval"; then
6876 if test x
"$enablestring" = xdisable
; then
6883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6884 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6885 # Check whether --enable-filesystem was given.
6886 if test "${enable_filesystem+set}" = set; then
6887 enableval
=$enable_filesystem;
6888 if test "$enableval" = yes; then
6889 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6891 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6896 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6901 eval "$wx_cv_use_filesystem"
6903 if test x"$enablestring" = xdisable; then
6904 if test $wxUSE_FILESYSTEM = yes; then
6910 result=$wxUSE_FILESYSTEM
6913 { echo "$as_me:$LINENO: result: $result" >&5
6914 echo "${ECHO_T}$result" >&6; }
6918 defaultval=$wxUSE_ALL_FEATURES
6919 if test -z "$defaultval"; then
6920 if test x"$enablestring" = xdisable; then
6927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6929 # Check whether --enable-fontenum was given.
6930 if test "${enable_fontenum+set}" = set; then
6931 enableval=$enable_fontenum;
6932 if test "$enableval" = yes; then
6933 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6935 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6940 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6945 eval "$wx_cv_use_fontenum"
6947 if test x"$enablestring" = xdisable; then
6948 if test $wxUSE_FONTENUM = yes; then
6954 result=$wxUSE_FONTENUM
6957 { echo "$as_me:$LINENO: result
: $result" >&5
6958 echo "${ECHO_T}$result" >&6; }
6962 defaultval=$wxUSE_ALL_FEATURES
6963 if test -z "$defaultval"; then
6964 if test x"$enablestring" = xdisable; then
6971 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6972 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6973 # Check whether --enable-fontmap was given.
6974 if test "${enable_fontmap+set}" = set; then
6975 enableval=$enable_fontmap;
6976 if test "$enableval" = yes; then
6977 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6979 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6984 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6989 eval "$wx_cv_use_fontmap"
6991 if test x
"$enablestring" = xdisable
; then
6992 if test $wxUSE_FONTMAP = yes; then
6998 result
=$wxUSE_FONTMAP
7001 { echo "$as_me:$LINENO: result: $result" >&5
7002 echo "${ECHO_T}$result" >&6; }
7006 defaultval
=$wxUSE_ALL_FEATURES
7007 if test -z "$defaultval"; then
7008 if test x
"$enablestring" = xdisable
; then
7015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7017 # Check whether --enable-fs_archive was given.
7018 if test "${enable_fs_archive+set}" = set; then
7019 enableval
=$enable_fs_archive;
7020 if test "$enableval" = yes; then
7021 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7023 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7028 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7033 eval "$wx_cv_use_fs_archive"
7035 if test x"$enablestring" = xdisable; then
7036 if test $wxUSE_FS_ARCHIVE = yes; then
7042 result=$wxUSE_FS_ARCHIVE
7045 { echo "$as_me:$LINENO: result: $result" >&5
7046 echo "${ECHO_T}$result" >&6; }
7050 defaultval=$wxUSE_ALL_FEATURES
7051 if test -z "$defaultval"; then
7052 if test x"$enablestring" = xdisable; then
7059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7061 # Check whether --enable-fs_inet was given.
7062 if test "${enable_fs_inet+set}" = set; then
7063 enableval=$enable_fs_inet;
7064 if test "$enableval" = yes; then
7065 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7067 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7072 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7077 eval "$wx_cv_use_fs_inet"
7079 if test x"$enablestring" = xdisable; then
7080 if test $wxUSE_FS_INET = yes; then
7086 result=$wxUSE_FS_INET
7089 { echo "$as_me:$LINENO: result
: $result" >&5
7090 echo "${ECHO_T}$result" >&6; }
7094 defaultval=$wxUSE_ALL_FEATURES
7095 if test -z "$defaultval"; then
7096 if test x"$enablestring" = xdisable; then
7103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7104 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7105 # Check whether --enable-fs_zip was given.
7106 if test "${enable_fs_zip+set}" = set; then
7107 enableval=$enable_fs_zip;
7108 if test "$enableval" = yes; then
7109 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7111 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7116 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7121 eval "$wx_cv_use_fs_zip"
7123 if test x
"$enablestring" = xdisable
; then
7124 if test $wxUSE_FS_ZIP = yes; then
7130 result
=$wxUSE_FS_ZIP
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7138 defaultval
=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x
"$enablestring" = xdisable
; then
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7149 # Check whether --enable-geometry was given.
7150 if test "${enable_geometry+set}" = set; then
7151 enableval
=$enable_geometry;
7152 if test "$enableval" = yes; then
7153 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7155 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7160 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7165 eval "$wx_cv_use_geometry"
7167 if test x"$enablestring" = xdisable; then
7168 if test $wxUSE_GEOMETRY = yes; then
7174 result=$wxUSE_GEOMETRY
7177 { echo "$as_me:$LINENO: result: $result" >&5
7178 echo "${ECHO_T}$result" >&6; }
7182 defaultval=$wxUSE_ALL_FEATURES
7183 if test -z "$defaultval"; then
7184 if test x"$enablestring" = xdisable; then
7191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7193 # Check whether --enable-log was given.
7194 if test "${enable_log+set}" = set; then
7195 enableval=$enable_log;
7196 if test "$enableval" = yes; then
7197 wx_cv_use_log='wxUSE_LOG
=yes'
7199 wx_cv_use_log='wxUSE_LOG
=no
'
7204 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7209 eval "$wx_cv_use_log"
7211 if test x"$enablestring" = xdisable; then
7212 if test $wxUSE_LOG = yes; then
7221 { echo "$as_me:$LINENO: result
: $result" >&5
7222 echo "${ECHO_T}$result" >&6; }
7226 defaultval=$wxUSE_ALL_FEATURES
7227 if test -z "$defaultval"; then
7228 if test x"$enablestring" = xdisable; then
7235 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7236 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7237 # Check whether --enable-longlong was given.
7238 if test "${enable_longlong+set}" = set; then
7239 enableval=$enable_longlong;
7240 if test "$enableval" = yes; then
7241 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7243 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7248 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7253 eval "$wx_cv_use_longlong"
7255 if test x
"$enablestring" = xdisable
; then
7256 if test $wxUSE_LONGLONG = yes; then
7262 result
=$wxUSE_LONGLONG
7265 { echo "$as_me:$LINENO: result: $result" >&5
7266 echo "${ECHO_T}$result" >&6; }
7270 defaultval
=$wxUSE_ALL_FEATURES
7271 if test -z "$defaultval"; then
7272 if test x
"$enablestring" = xdisable
; then
7279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7280 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7281 # Check whether --enable-mimetype was given.
7282 if test "${enable_mimetype+set}" = set; then
7283 enableval
=$enable_mimetype;
7284 if test "$enableval" = yes; then
7285 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7287 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7292 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7297 eval "$wx_cv_use_mimetype"
7299 if test x"$enablestring" = xdisable; then
7300 if test $wxUSE_MIMETYPE = yes; then
7306 result=$wxUSE_MIMETYPE
7309 { echo "$as_me:$LINENO: result: $result" >&5
7310 echo "${ECHO_T}$result" >&6; }
7314 defaultval=$wxUSE_ALL_FEATURES
7315 if test -z "$defaultval"; then
7316 if test x"$enablestring" = xdisable; then
7323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7324 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7325 # Check whether --enable-printfposparam was given.
7326 if test "${enable_printfposparam+set}" = set; then
7327 enableval=$enable_printfposparam;
7328 if test "$enableval" = yes; then
7329 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7331 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7336 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7341 eval "$wx_cv_use_printfposparam"
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7350 result=$wxUSE_PRINTF_POS_PARAMS
7353 { echo "$as_me:$LINENO: result
: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7367 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7368 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7369 # Check whether --enable-snglinst was given.
7370 if test "${enable_snglinst+set}" = set; then
7371 enableval=$enable_snglinst;
7372 if test "$enableval" = yes; then
7373 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7375 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7380 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7385 eval "$wx_cv_use_snglinst"
7387 if test x
"$enablestring" = xdisable
; then
7388 if test $wxUSE_SNGLINST_CHECKER = yes; then
7394 result
=$wxUSE_SNGLINST_CHECKER
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7402 defaultval
=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x
"$enablestring" = xdisable
; then
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7413 # Check whether --enable-sound was given.
7414 if test "${enable_sound+set}" = set; then
7415 enableval
=$enable_sound;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_sound
='wxUSE_SOUND=yes'
7419 wx_cv_use_sound
='wxUSE_SOUND=no'
7424 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7429 eval "$wx_cv_use_sound"
7431 if test x"$enablestring" = xdisable; then
7432 if test $wxUSE_SOUND = yes; then
7441 { echo "$as_me:$LINENO: result: $result" >&5
7442 echo "${ECHO_T}$result" >&6; }
7446 defaultval=$wxUSE_ALL_FEATURES
7447 if test -z "$defaultval"; then
7448 if test x"$enablestring" = xdisable; then
7455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7457 # Check whether --enable-stdpaths was given.
7458 if test "${enable_stdpaths+set}" = set; then
7459 enableval=$enable_stdpaths;
7460 if test "$enableval" = yes; then
7461 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7463 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7468 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7473 eval "$wx_cv_use_stdpaths"
7475 if test x"$enablestring" = xdisable; then
7476 if test $wxUSE_STDPATHS = yes; then
7482 result=$wxUSE_STDPATHS
7485 { echo "$as_me:$LINENO: result
: $result" >&5
7486 echo "${ECHO_T}$result" >&6; }
7490 defaultval=$wxUSE_ALL_FEATURES
7491 if test -z "$defaultval"; then
7492 if test x"$enablestring" = xdisable; then
7499 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7500 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7501 # Check whether --enable-stopwatch was given.
7502 if test "${enable_stopwatch+set}" = set; then
7503 enableval=$enable_stopwatch;
7504 if test "$enableval" = yes; then
7505 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7507 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7512 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7517 eval "$wx_cv_use_stopwatch"
7519 if test x
"$enablestring" = xdisable
; then
7520 if test $wxUSE_STOPWATCH = yes; then
7526 result
=$wxUSE_STOPWATCH
7529 { echo "$as_me:$LINENO: result: $result" >&5
7530 echo "${ECHO_T}$result" >&6; }
7534 defaultval
=$wxUSE_ALL_FEATURES
7535 if test -z "$defaultval"; then
7536 if test x
"$enablestring" = xdisable
; then
7543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7545 # Check whether --enable-streams was given.
7546 if test "${enable_streams+set}" = set; then
7547 enableval
=$enable_streams;
7548 if test "$enableval" = yes; then
7549 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7551 wx_cv_use_streams
='wxUSE_STREAMS=no'
7556 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7561 eval "$wx_cv_use_streams"
7563 if test x"$enablestring" = xdisable; then
7564 if test $wxUSE_STREAMS = yes; then
7570 result=$wxUSE_STREAMS
7573 { echo "$as_me:$LINENO: result: $result" >&5
7574 echo "${ECHO_T}$result" >&6; }
7578 defaultval=$wxUSE_ALL_FEATURES
7579 if test -z "$defaultval"; then
7580 if test x"$enablestring" = xdisable; then
7587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7589 # Check whether --enable-system_options was given.
7590 if test "${enable_system_options+set}" = set; then
7591 enableval=$enable_system_options;
7592 if test "$enableval" = yes; then
7593 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7595 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7600 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7605 eval "$wx_cv_use_system_options"
7607 if test x"$enablestring" = xdisable; then
7608 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7614 result=$wxUSE_SYSTEM_OPTIONS
7617 { echo "$as_me:$LINENO: result
: $result" >&5
7618 echo "${ECHO_T}$result" >&6; }
7622 defaultval=$wxUSE_ALL_FEATURES
7623 if test -z "$defaultval"; then
7624 if test x"$enablestring" = xdisable; then
7631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7632 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7633 # Check whether --enable-tarstream was given.
7634 if test "${enable_tarstream+set}" = set; then
7635 enableval=$enable_tarstream;
7636 if test "$enableval" = yes; then
7637 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7639 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7644 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7649 eval "$wx_cv_use_tarstream"
7651 if test x
"$enablestring" = xdisable
; then
7652 if test $wxUSE_TARSTREAM = yes; then
7658 result
=$wxUSE_TARSTREAM
7661 { echo "$as_me:$LINENO: result: $result" >&5
7662 echo "${ECHO_T}$result" >&6; }
7666 defaultval
=$wxUSE_ALL_FEATURES
7667 if test -z "$defaultval"; then
7668 if test x
"$enablestring" = xdisable
; then
7675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7677 # Check whether --enable-textbuf was given.
7678 if test "${enable_textbuf+set}" = set; then
7679 enableval
=$enable_textbuf;
7680 if test "$enableval" = yes; then
7681 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7683 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7688 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7693 eval "$wx_cv_use_textbuf"
7695 if test x"$enablestring" = xdisable; then
7696 if test $wxUSE_TEXTBUFFER = yes; then
7702 result=$wxUSE_TEXTBUFFER
7705 { echo "$as_me:$LINENO: result: $result" >&5
7706 echo "${ECHO_T}$result" >&6; }
7710 defaultval=$wxUSE_ALL_FEATURES
7711 if test -z "$defaultval"; then
7712 if test x"$enablestring" = xdisable; then
7719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7721 # Check whether --enable-textfile was given.
7722 if test "${enable_textfile+set}" = set; then
7723 enableval=$enable_textfile;
7724 if test "$enableval" = yes; then
7725 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7727 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7732 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7737 eval "$wx_cv_use_textfile"
7739 if test x"$enablestring" = xdisable; then
7740 if test $wxUSE_TEXTFILE = yes; then
7746 result=$wxUSE_TEXTFILE
7749 { echo "$as_me:$LINENO: result
: $result" >&5
7750 echo "${ECHO_T}$result" >&6; }
7754 defaultval=$wxUSE_ALL_FEATURES
7755 if test -z "$defaultval"; then
7756 if test x"$enablestring" = xdisable; then
7763 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7764 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7765 # Check whether --enable-timer was given.
7766 if test "${enable_timer+set}" = set; then
7767 enableval=$enable_timer;
7768 if test "$enableval" = yes; then
7769 wx_cv_use_timer='wxUSE_TIMER=yes'
7771 wx_cv_use_timer='wxUSE_TIMER=no'
7776 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7781 eval "$wx_cv_use_timer"
7783 if test x
"$enablestring" = xdisable
; then
7784 if test $wxUSE_TIMER = yes; then
7793 { echo "$as_me:$LINENO: result: $result" >&5
7794 echo "${ECHO_T}$result" >&6; }
7798 defaultval
=$wxUSE_ALL_FEATURES
7799 if test -z "$defaultval"; then
7800 if test x
"$enablestring" = xdisable
; then
7807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7809 # Check whether --enable-variant was given.
7810 if test "${enable_variant+set}" = set; then
7811 enableval
=$enable_variant;
7812 if test "$enableval" = yes; then
7813 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7815 wx_cv_use_variant
='wxUSE_VARIANT=no'
7820 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7825 eval "$wx_cv_use_variant"
7827 if test x"$enablestring" = xdisable; then
7828 if test $wxUSE_VARIANT = yes; then
7834 result=$wxUSE_VARIANT
7837 { echo "$as_me:$LINENO: result: $result" >&5
7838 echo "${ECHO_T}$result" >&6; }
7842 defaultval=$wxUSE_ALL_FEATURES
7843 if test -z "$defaultval"; then
7844 if test x"$enablestring" = xdisable; then
7851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7853 # Check whether --enable-zipstream was given.
7854 if test "${enable_zipstream+set}" = set; then
7855 enableval=$enable_zipstream;
7856 if test "$enableval" = yes; then
7857 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7859 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7864 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7869 eval "$wx_cv_use_zipstream"
7871 if test x"$enablestring" = xdisable; then
7872 if test $wxUSE_ZIPSTREAM = yes; then
7878 result=$wxUSE_ZIPSTREAM
7881 { echo "$as_me:$LINENO: result
: $result" >&5
7882 echo "${ECHO_T}$result" >&6; }
7887 defaultval=$wxUSE_ALL_FEATURES
7888 if test -z "$defaultval"; then
7889 if test x"$enablestring" = xdisable; then
7896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7897 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7898 # Check whether --enable-url was given.
7899 if test "${enable_url+set}" = set; then
7900 enableval=$enable_url;
7901 if test "$enableval" = yes; then
7902 wx_cv_use_url='wxUSE_URL=yes'
7904 wx_cv_use_url='wxUSE_URL=no'
7909 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7914 eval "$wx_cv_use_url"
7916 if test x
"$enablestring" = xdisable
; then
7917 if test $wxUSE_URL = yes; then
7926 { echo "$as_me:$LINENO: result: $result" >&5
7927 echo "${ECHO_T}$result" >&6; }
7931 defaultval
=$wxUSE_ALL_FEATURES
7932 if test -z "$defaultval"; then
7933 if test x
"$enablestring" = xdisable
; then
7940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7941 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7942 # Check whether --enable-protocol was given.
7943 if test "${enable_protocol+set}" = set; then
7944 enableval
=$enable_protocol;
7945 if test "$enableval" = yes; then
7946 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7948 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7953 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7958 eval "$wx_cv_use_protocol"
7960 if test x"$enablestring" = xdisable; then
7961 if test $wxUSE_PROTOCOL = yes; then
7967 result=$wxUSE_PROTOCOL
7970 { echo "$as_me:$LINENO: result: $result" >&5
7971 echo "${ECHO_T}$result" >&6; }
7975 defaultval=$wxUSE_ALL_FEATURES
7976 if test -z "$defaultval"; then
7977 if test x"$enablestring" = xdisable; then
7984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7985 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7986 # Check whether --enable-protocol_http was given.
7987 if test "${enable_protocol_http+set}" = set; then
7988 enableval=$enable_protocol_http;
7989 if test "$enableval" = yes; then
7990 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7992 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7997 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8002 eval "$wx_cv_use_protocol_http"
8004 if test x"$enablestring" = xdisable; then
8005 if test $wxUSE_PROTOCOL_HTTP = yes; then
8011 result=$wxUSE_PROTOCOL_HTTP
8014 { echo "$as_me:$LINENO: result
: $result" >&5
8015 echo "${ECHO_T}$result" >&6; }
8019 defaultval=$wxUSE_ALL_FEATURES
8020 if test -z "$defaultval"; then
8021 if test x"$enablestring" = xdisable; then
8028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8029 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8030 # Check whether --enable-protocol_ftp was given.
8031 if test "${enable_protocol_ftp+set}" = set; then
8032 enableval=$enable_protocol_ftp;
8033 if test "$enableval" = yes; then
8034 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8036 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8041 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8046 eval "$wx_cv_use_protocol_ftp"
8048 if test x
"$enablestring" = xdisable
; then
8049 if test $wxUSE_PROTOCOL_FTP = yes; then
8055 result
=$wxUSE_PROTOCOL_FTP
8058 { echo "$as_me:$LINENO: result: $result" >&5
8059 echo "${ECHO_T}$result" >&6; }
8063 defaultval
=$wxUSE_ALL_FEATURES
8064 if test -z "$defaultval"; then
8065 if test x
"$enablestring" = xdisable
; then
8072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8074 # Check whether --enable-protocol_file was given.
8075 if test "${enable_protocol_file+set}" = set; then
8076 enableval
=$enable_protocol_file;
8077 if test "$enableval" = yes; then
8078 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8080 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8085 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8090 eval "$wx_cv_use_protocol_file"
8092 if test x"$enablestring" = xdisable; then
8093 if test $wxUSE_PROTOCOL_FILE = yes; then
8099 result=$wxUSE_PROTOCOL_FILE
8102 { echo "$as_me:$LINENO: result: $result" >&5
8103 echo "${ECHO_T}$result" >&6; }
8108 defaultval=$wxUSE_ALL_FEATURES
8109 if test -z "$defaultval"; then
8110 if test x"$enablestring" = xdisable; then
8117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8119 # Check whether --enable-threads was given.
8120 if test "${enable_threads+set}" = set; then
8121 enableval=$enable_threads;
8122 if test "$enableval" = yes; then
8123 wx_cv_use_threads='wxUSE_THREADS
=yes'
8125 wx_cv_use_threads='wxUSE_THREADS
=no
'
8130 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8135 eval "$wx_cv_use_threads"
8137 if test x"$enablestring" = xdisable; then
8138 if test $wxUSE_THREADS = yes; then
8144 result=$wxUSE_THREADS
8147 { echo "$as_me:$LINENO: result
: $result" >&5
8148 echo "${ECHO_T}$result" >&6; }
8154 if test -z "$defaultval"; then
8155 if test x"$enablestring" = xdisable; then
8162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8163 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8164 # Check whether --enable-iniconf was given.
8165 if test "${enable_iniconf+set}" = set; then
8166 enableval=$enable_iniconf;
8167 if test "$enableval" = yes; then
8168 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8170 wx_cv_use_iniconf='wxUSE_INICONF=no'
8175 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8180 eval "$wx_cv_use_iniconf"
8182 if test x
"$enablestring" = xdisable
; then
8183 if test $wxUSE_INICONF = yes; then
8189 result
=$wxUSE_INICONF
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}-regkey" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8208 # Check whether --enable-regkey was given.
8209 if test "${enable_regkey+set}" = set; then
8210 enableval
=$enable_regkey;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8214 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8219 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8224 eval "$wx_cv_use_regkey"
8226 if test x"$enablestring" = xdisable; then
8227 if test $wxUSE_REGKEY = yes; then
8233 result=$wxUSE_REGKEY
8236 { echo "$as_me:$LINENO: result: $result" >&5
8237 echo "${ECHO_T}$result" >&6; }
8240 if test "$wxUSE_GUI" = "yes"; then
8245 defaultval=$wxUSE_ALL_FEATURES
8246 if test -z "$defaultval"; then
8247 if test x"$enablestring" = xdisable; then
8254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8256 # Check whether --enable-docview was given.
8257 if test "${enable_docview+set}" = set; then
8258 enableval=$enable_docview;
8259 if test "$enableval" = yes; then
8260 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8262 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8267 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8272 eval "$wx_cv_use_docview"
8274 if test x"$enablestring" = xdisable; then
8275 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8281 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8284 { echo "$as_me:$LINENO: result
: $result" >&5
8285 echo "${ECHO_T}$result" >&6; }
8289 defaultval=$wxUSE_ALL_FEATURES
8290 if test -z "$defaultval"; then
8291 if test x"$enablestring" = xdisable; then
8298 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8299 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8300 # Check whether --enable-help was given.
8301 if test "${enable_help+set}" = set; then
8302 enableval=$enable_help;
8303 if test "$enableval" = yes; then
8304 wx_cv_use_help='wxUSE_HELP=yes'
8306 wx_cv_use_help='wxUSE_HELP=no'
8311 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8316 eval "$wx_cv_use_help"
8318 if test x
"$enablestring" = xdisable
; then
8319 if test $wxUSE_HELP = yes; then
8328 { echo "$as_me:$LINENO: result: $result" >&5
8329 echo "${ECHO_T}$result" >&6; }
8333 defaultval
=$wxUSE_ALL_FEATURES
8334 if test -z "$defaultval"; then
8335 if test x
"$enablestring" = xdisable
; then
8342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8344 # Check whether --enable-mshtmlhelp was given.
8345 if test "${enable_mshtmlhelp+set}" = set; then
8346 enableval
=$enable_mshtmlhelp;
8347 if test "$enableval" = yes; then
8348 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8350 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8355 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8360 eval "$wx_cv_use_mshtmlhelp"
8362 if test x"$enablestring" = xdisable; then
8363 if test $wxUSE_MS_HTML_HELP = yes; then
8369 result=$wxUSE_MS_HTML_HELP
8372 { echo "$as_me:$LINENO: result: $result" >&5
8373 echo "${ECHO_T}$result" >&6; }
8377 defaultval=$wxUSE_ALL_FEATURES
8378 if test -z "$defaultval"; then
8379 if test x"$enablestring" = xdisable; then
8386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8388 # Check whether --enable-html was given.
8389 if test "${enable_html+set}" = set; then
8390 enableval=$enable_html;
8391 if test "$enableval" = yes; then
8392 wx_cv_use_html='wxUSE_HTML
=yes'
8394 wx_cv_use_html='wxUSE_HTML
=no
'
8399 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8404 eval "$wx_cv_use_html"
8406 if test x"$enablestring" = xdisable; then
8407 if test $wxUSE_HTML = yes; then
8416 { echo "$as_me:$LINENO: result
: $result" >&5
8417 echo "${ECHO_T}$result" >&6; }
8421 defaultval=$wxUSE_ALL_FEATURES
8422 if test -z "$defaultval"; then
8423 if test x"$enablestring" = xdisable; then
8430 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8431 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8432 # Check whether --enable-htmlhelp was given.
8433 if test "${enable_htmlhelp+set}" = set; then
8434 enableval=$enable_htmlhelp;
8435 if test "$enableval" = yes; then
8436 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8438 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8443 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8448 eval "$wx_cv_use_htmlhelp"
8450 if test x
"$enablestring" = xdisable
; then
8451 if test $wxUSE_WXHTML_HELP = yes; then
8457 result
=$wxUSE_WXHTML_HELP
8460 { echo "$as_me:$LINENO: result: $result" >&5
8461 echo "${ECHO_T}$result" >&6; }
8465 defaultval
=$wxUSE_ALL_FEATURES
8466 if test -z "$defaultval"; then
8467 if test x
"$enablestring" = xdisable
; then
8474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8476 # Check whether --enable-xrc was given.
8477 if test "${enable_xrc+set}" = set; then
8478 enableval
=$enable_xrc;
8479 if test "$enableval" = yes; then
8480 wx_cv_use_xrc
='wxUSE_XRC=yes'
8482 wx_cv_use_xrc
='wxUSE_XRC=no'
8487 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8492 eval "$wx_cv_use_xrc"
8494 if test x"$enablestring" = xdisable; then
8495 if test $wxUSE_XRC = yes; then
8504 { echo "$as_me:$LINENO: result: $result" >&5
8505 echo "${ECHO_T}$result" >&6; }
8509 defaultval=$wxUSE_ALL_FEATURES
8510 if test -z "$defaultval"; then
8511 if test x"$enablestring" = xdisable; then
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8520 # Check whether --enable-aui was given.
8521 if test "${enable_aui+set}" = set; then
8522 enableval=$enable_aui;
8523 if test "$enableval" = yes; then
8524 wx_cv_use_aui='wxUSE_AUI
=yes'
8526 wx_cv_use_aui='wxUSE_AUI
=no
'
8531 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8536 eval "$wx_cv_use_aui"
8538 if test x"$enablestring" = xdisable; then
8539 if test $wxUSE_AUI = yes; then
8548 { echo "$as_me:$LINENO: result
: $result" >&5
8549 echo "${ECHO_T}$result" >&6; }
8553 defaultval=$wxUSE_ALL_FEATURES
8554 if test -z "$defaultval"; then
8555 if test x"$enablestring" = xdisable; then
8562 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8563 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8564 # Check whether --enable-propgrid was given.
8565 if test "${enable_propgrid+set}" = set; then
8566 enableval=$enable_propgrid;
8567 if test "$enableval" = yes; then
8568 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8570 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8575 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8580 eval "$wx_cv_use_propgrid"
8582 if test x
"$enablestring" = xdisable
; then
8583 if test $wxUSE_PROPGRID = yes; then
8589 result
=$wxUSE_PROPGRID
8592 { echo "$as_me:$LINENO: result: $result" >&5
8593 echo "${ECHO_T}$result" >&6; }
8597 defaultval
=$wxUSE_ALL_FEATURES
8598 if test -z "$defaultval"; then
8599 if test x
"$enablestring" = xdisable
; then
8606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8608 # Check whether --enable-stc was given.
8609 if test "${enable_stc+set}" = set; then
8610 enableval
=$enable_stc;
8611 if test "$enableval" = yes; then
8612 wx_cv_use_stc
='wxUSE_STC=yes'
8614 wx_cv_use_stc
='wxUSE_STC=no'
8619 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8624 eval "$wx_cv_use_stc"
8626 if test x"$enablestring" = xdisable; then
8627 if test $wxUSE_STC = yes; then
8636 { echo "$as_me:$LINENO: result: $result" >&5
8637 echo "${ECHO_T}$result" >&6; }
8641 defaultval=$wxUSE_ALL_FEATURES
8642 if test -z "$defaultval"; then
8643 if test x"$enablestring" = xdisable; then
8650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8652 # Check whether --enable-constraints was given.
8653 if test "${enable_constraints+set}" = set; then
8654 enableval=$enable_constraints;
8655 if test "$enableval" = yes; then
8656 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8658 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8663 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8668 eval "$wx_cv_use_constraints"
8670 if test x"$enablestring" = xdisable; then
8671 if test $wxUSE_CONSTRAINTS = yes; then
8677 result=$wxUSE_CONSTRAINTS
8680 { echo "$as_me:$LINENO: result
: $result" >&5
8681 echo "${ECHO_T}$result" >&6; }
8685 defaultval=$wxUSE_ALL_FEATURES
8686 if test -z "$defaultval"; then
8687 if test x"$enablestring" = xdisable; then
8694 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8695 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8696 # Check whether --enable-loggui was given.
8697 if test "${enable_loggui+set}" = set; then
8698 enableval=$enable_loggui;
8699 if test "$enableval" = yes; then
8700 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8702 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8707 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8712 eval "$wx_cv_use_loggui"
8714 if test x
"$enablestring" = xdisable
; then
8715 if test $wxUSE_LOGGUI = yes; then
8721 result
=$wxUSE_LOGGUI
8724 { echo "$as_me:$LINENO: result: $result" >&5
8725 echo "${ECHO_T}$result" >&6; }
8729 defaultval
=$wxUSE_ALL_FEATURES
8730 if test -z "$defaultval"; then
8731 if test x
"$enablestring" = xdisable
; then
8738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8740 # Check whether --enable-logwin was given.
8741 if test "${enable_logwin+set}" = set; then
8742 enableval
=$enable_logwin;
8743 if test "$enableval" = yes; then
8744 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8746 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8751 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8756 eval "$wx_cv_use_logwin"
8758 if test x"$enablestring" = xdisable; then
8759 if test $wxUSE_LOGWINDOW = yes; then
8765 result=$wxUSE_LOGWINDOW
8768 { echo "$as_me:$LINENO: result: $result" >&5
8769 echo "${ECHO_T}$result" >&6; }
8773 defaultval=$wxUSE_ALL_FEATURES
8774 if test -z "$defaultval"; then
8775 if test x"$enablestring" = xdisable; then
8782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8783 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8784 # Check whether --enable-logdialog was given.
8785 if test "${enable_logdialog+set}" = set; then
8786 enableval=$enable_logdialog;
8787 if test "$enableval" = yes; then
8788 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8790 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8795 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8800 eval "$wx_cv_use_logdialog"
8802 if test x"$enablestring" = xdisable; then
8803 if test $wxUSE_LOGDIALOG = yes; then
8809 result=$wxUSE_LOGDIALOG
8812 { echo "$as_me:$LINENO: result
: $result" >&5
8813 echo "${ECHO_T}$result" >&6; }
8817 defaultval=$wxUSE_ALL_FEATURES
8818 if test -z "$defaultval"; then
8819 if test x"$enablestring" = xdisable; then
8826 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8827 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8828 # Check whether --enable-mdi was given.
8829 if test "${enable_mdi+set}" = set; then
8830 enableval=$enable_mdi;
8831 if test "$enableval" = yes; then
8832 wx_cv_use_mdi='wxUSE_MDI=yes'
8834 wx_cv_use_mdi='wxUSE_MDI=no'
8839 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8844 eval "$wx_cv_use_mdi"
8846 if test x
"$enablestring" = xdisable
; then
8847 if test $wxUSE_MDI = yes; then
8856 { echo "$as_me:$LINENO: result: $result" >&5
8857 echo "${ECHO_T}$result" >&6; }
8861 defaultval
=$wxUSE_ALL_FEATURES
8862 if test -z "$defaultval"; then
8863 if test x
"$enablestring" = xdisable
; then
8870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8872 # Check whether --enable-mdidoc was given.
8873 if test "${enable_mdidoc+set}" = set; then
8874 enableval
=$enable_mdidoc;
8875 if test "$enableval" = yes; then
8876 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8878 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8883 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8888 eval "$wx_cv_use_mdidoc"
8890 if test x"$enablestring" = xdisable; then
8891 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8897 result=$wxUSE_MDI_ARCHITECTURE
8900 { echo "$as_me:$LINENO: result: $result" >&5
8901 echo "${ECHO_T}$result" >&6; }
8905 defaultval=$wxUSE_ALL_FEATURES
8906 if test -z "$defaultval"; then
8907 if test x"$enablestring" = xdisable; then
8914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8915 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8916 # Check whether --enable-mediactrl was given.
8917 if test "${enable_mediactrl+set}" = set; then
8918 enableval=$enable_mediactrl;
8919 if test "$enableval" = yes; then
8920 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8922 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8927 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8932 eval "$wx_cv_use_mediactrl"
8934 if test x"$enablestring" = xdisable; then
8935 if test $wxUSE_MEDIACTRL = yes; then
8941 result=$wxUSE_MEDIACTRL
8944 { echo "$as_me:$LINENO: result
: $result" >&5
8945 echo "${ECHO_T}$result" >&6; }
8949 defaultval=$wxUSE_ALL_FEATURES
8950 if test -z "$defaultval"; then
8951 if test x"$enablestring" = xdisable; then
8958 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8959 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8960 # Check whether --enable-gstreamer8 was given.
8961 if test "${enable_gstreamer8+set}" = set; then
8962 enableval=$enable_gstreamer8;
8963 if test "$enableval" = yes; then
8964 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8966 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8971 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8976 eval "$wx_cv_use_gstreamer8"
8978 if test x
"$enablestring" = xdisable
; then
8979 if test $wxUSE_GSTREAMER8 = yes; then
8985 result
=$wxUSE_GSTREAMER8
8988 { echo "$as_me:$LINENO: result: $result" >&5
8989 echo "${ECHO_T}$result" >&6; }
8993 defaultval
=$wxUSE_ALL_FEATURES
8994 if test -z "$defaultval"; then
8995 if test x
"$enablestring" = xdisable
; then
9002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9003 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9004 # Check whether --enable-webkit was given.
9005 if test "${enable_webkit+set}" = set; then
9006 enableval
=$enable_webkit;
9007 if test "$enableval" = yes; then
9008 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9010 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9015 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9020 eval "$wx_cv_use_webkit"
9022 if test x"$enablestring" = xdisable; then
9023 if test $wxUSE_WEBKIT = yes; then
9029 result=$wxUSE_WEBKIT
9032 { echo "$as_me:$LINENO: result: $result" >&5
9033 echo "${ECHO_T}$result" >&6; }
9037 defaultval=$wxUSE_ALL_FEATURES
9038 if test -z "$defaultval"; then
9039 if test x"$enablestring" = xdisable; then
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9048 # Check whether --enable-richtext was given.
9049 if test "${enable_richtext+set}" = set; then
9050 enableval=$enable_richtext;
9051 if test "$enableval" = yes; then
9052 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9054 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9059 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9064 eval "$wx_cv_use_richtext"
9066 if test x"$enablestring" = xdisable; then
9067 if test $wxUSE_RICHTEXT = yes; then
9073 result=$wxUSE_RICHTEXT
9076 { echo "$as_me:$LINENO: result
: $result" >&5
9077 echo "${ECHO_T}$result" >&6; }
9081 defaultval=$wxUSE_ALL_FEATURES
9082 if test -z "$defaultval"; then
9083 if test x"$enablestring" = xdisable; then
9090 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9091 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9092 # Check whether --enable-graphics_ctx was given.
9093 if test "${enable_graphics_ctx+set}" = set; then
9094 enableval=$enable_graphics_ctx;
9095 if test "$enableval" = yes; then
9096 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9098 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9103 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9108 eval "$wx_cv_use_graphics_ctx"
9110 if test x
"$enablestring" = xdisable
; then
9111 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9117 result
=$wxUSE_GRAPHICS_CONTEXT
9120 { echo "$as_me:$LINENO: result: $result" >&5
9121 echo "${ECHO_T}$result" >&6; }
9125 defaultval
=$wxUSE_ALL_FEATURES
9126 if test -z "$defaultval"; then
9127 if test x
"$enablestring" = xdisable
; then
9134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9136 # Check whether --enable-postscript was given.
9137 if test "${enable_postscript+set}" = set; then
9138 enableval
=$enable_postscript;
9139 if test "$enableval" = yes; then
9140 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9142 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9147 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9152 eval "$wx_cv_use_postscript"
9154 if test x"$enablestring" = xdisable; then
9155 if test $wxUSE_POSTSCRIPT = yes; then
9161 result=$wxUSE_POSTSCRIPT
9164 { echo "$as_me:$LINENO: result: $result" >&5
9165 echo "${ECHO_T}$result" >&6; }
9169 defaultval=$wxUSE_ALL_FEATURES
9170 if test -z "$defaultval"; then
9171 if test x"$enablestring" = xdisable; then
9178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9180 # Check whether --enable-printarch was given.
9181 if test "${enable_printarch+set}" = set; then
9182 enableval=$enable_printarch;
9183 if test "$enableval" = yes; then
9184 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9186 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9191 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9196 eval "$wx_cv_use_printarch"
9198 if test x"$enablestring" = xdisable; then
9199 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9205 result=$wxUSE_PRINTING_ARCHITECTURE
9208 { echo "$as_me:$LINENO: result
: $result" >&5
9209 echo "${ECHO_T}$result" >&6; }
9213 defaultval=$wxUSE_ALL_FEATURES
9214 if test -z "$defaultval"; then
9215 if test x"$enablestring" = xdisable; then
9222 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9223 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9224 # Check whether --enable-svg was given.
9225 if test "${enable_svg+set}" = set; then
9226 enableval=$enable_svg;
9227 if test "$enableval" = yes; then
9228 wx_cv_use_svg='wxUSE_SVG=yes'
9230 wx_cv_use_svg='wxUSE_SVG=no'
9235 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9240 eval "$wx_cv_use_svg"
9242 if test x
"$enablestring" = xdisable
; then
9243 if test $wxUSE_SVG = yes; then
9252 { echo "$as_me:$LINENO: result: $result" >&5
9253 echo "${ECHO_T}$result" >&6; }
9259 defaultval
=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x
"$enablestring" = xdisable
; then
9268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9270 # Check whether --enable-clipboard was given.
9271 if test "${enable_clipboard+set}" = set; then
9272 enableval
=$enable_clipboard;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9276 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9281 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9286 eval "$wx_cv_use_clipboard"
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_CLIPBOARD = yes; then
9295 result=$wxUSE_CLIPBOARD
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}-dnd" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9314 # Check whether --enable-dnd was given.
9315 if test "${enable_dnd+set}" = set; then
9316 enableval=$enable_dnd;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9320 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9325 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9330 eval "$wx_cv_use_dnd"
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_DRAG_AND_DROP = yes; then
9339 result=$wxUSE_DRAG_AND_DROP
9342 { echo "$as_me:$LINENO: result
: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9356 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9357 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9358 # Check whether --enable-metafile was given.
9359 if test "${enable_metafile+set}" = set; then
9360 enableval=$enable_metafile;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9364 wx_cv_use_metafile='wxUSE_METAFILE=no'
9369 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9374 eval "$wx_cv_use_metafile"
9376 if test x
"$enablestring" = xdisable
; then
9377 if test $wxUSE_METAFILE = yes; then
9383 result
=$wxUSE_METAFILE
9386 { echo "$as_me:$LINENO: result: $result" >&5
9387 echo "${ECHO_T}$result" >&6; }
9391 DEFAULT_wxUSE_CONTROLS
=none
9393 enablestring
=disable
9395 if test -z "$defaultval"; then
9396 if test x
"$enablestring" = xdisable
; then
9403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9404 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9405 # Check whether --enable-controls was given.
9406 if test "${enable_controls+set}" = set; then
9407 enableval
=$enable_controls;
9408 if test "$enableval" = yes; then
9409 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9411 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9416 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9421 eval "$wx_cv_use_controls"
9423 if test x"$enablestring" = xdisable; then
9424 if test $wxUSE_CONTROLS = yes; then
9430 result=$wxUSE_CONTROLS
9433 { echo "$as_me:$LINENO: result: $result" >&5
9434 echo "${ECHO_T}$result" >&6; }
9437 if test "$wxUSE_CONTROLS" = "no"; then
9438 DEFAULT_wxUSE_ACCEL=no
9439 DEFAULT_wxUSE_ANIMATIONCTRL=no
9440 DEFAULT_wxUSE_BMPBUTTON=no
9441 DEFAULT_wxUSE_BUTTON=no
9442 DEFAULT_wxUSE_CALCTRL=no
9443 DEFAULT_wxUSE_CARET=no
9444 DEFAULT_wxUSE_CHECKBOX=no
9445 DEFAULT_wxUSE_CHECKLISTBOX=no
9446 DEFAULT_wxUSE_CHOICE=no
9447 DEFAULT_wxUSE_CHOICEBOOK=no
9448 DEFAULT_wxUSE_COLLPANE=no
9449 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9450 DEFAULT_wxUSE_COMBOBOX=no
9451 DEFAULT_wxUSE_COMBOBOX=no
9452 DEFAULT_wxUSE_DATAVIEWCTRL=no
9453 DEFAULT_wxUSE_DATEPICKCTRL=no
9454 DEFAULT_wxUSE_DETECT_SM=no
9455 DEFAULT_wxUSE_DIRPICKERCTRL=no
9456 DEFAULT_wxUSE_DISPLAY=no
9457 DEFAULT_wxUSE_FILECTRL=no
9458 DEFAULT_wxUSE_FILEPICKERCTRL=no
9459 DEFAULT_wxUSE_FONTPICKERCTRL=no
9460 DEFAULT_wxUSE_GAUGE=no
9461 DEFAULT_wxUSE_GRID=no
9462 DEFAULT_wxUSE_HEADERCTRL=no
9463 DEFAULT_wxUSE_HYPERLINKCTRL=no
9464 DEFAULT_wxUSE_IMAGLIST=no
9465 DEFAULT_wxUSE_LISTBOOK=no
9466 DEFAULT_wxUSE_LISTBOX=no
9467 DEFAULT_wxUSE_LISTCTRL=no
9468 DEFAULT_wxUSE_NOTEBOOK=no
9469 DEFAULT_wxUSE_POPUPWIN=no
9470 DEFAULT_wxUSE_RADIOBOX=no
9471 DEFAULT_wxUSE_RADIOBTN=no
9472 DEFAULT_wxUSE_REARRANGECTRL=no
9473 DEFAULT_wxUSE_SASH=no
9474 DEFAULT_wxUSE_SCROLLBAR=no
9475 DEFAULT_wxUSE_SEARCHCTRL=no
9476 DEFAULT_wxUSE_SLIDER=no
9477 DEFAULT_wxUSE_SPINBTN=no
9478 DEFAULT_wxUSE_SPINCTRL=no
9479 DEFAULT_wxUSE_SPLITTER=no
9480 DEFAULT_wxUSE_STATBMP=no
9481 DEFAULT_wxUSE_STATBOX=no
9482 DEFAULT_wxUSE_STATLINE=no
9483 DEFAULT_wxUSE_STATUSBAR=no
9484 DEFAULT_wxUSE_TIPWINDOW=no
9485 DEFAULT_wxUSE_TOGGLEBTN=no
9486 DEFAULT_wxUSE_TOOLBAR=no
9487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9488 DEFAULT_wxUSE_TOOLBOOK=no
9489 DEFAULT_wxUSE_TOOLTIPS=no
9490 DEFAULT_wxUSE_TREEBOOK=no
9491 DEFAULT_wxUSE_TREECTRL=no
9496 defaultval=$wxUSE_ALL_FEATURES
9497 if test -z "$defaultval"; then
9498 if test x"$enablestring" = xdisable; then
9505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9506 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9507 # Check whether --enable-accel was given.
9508 if test "${enable_accel+set}" = set; then
9509 enableval=$enable_accel;
9510 if test "$enableval" = yes; then
9511 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9513 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9518 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9523 eval "$wx_cv_use_accel"
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_ACCEL = yes; then
9535 { echo "$as_me:$LINENO: result
: $result" >&5
9536 echo "${ECHO_T}$result" >&6; }
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9550 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9551 # Check whether --enable-animatectrl was given.
9552 if test "${enable_animatectrl+set}" = set; then
9553 enableval=$enable_animatectrl;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9557 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9562 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9567 eval "$wx_cv_use_animatectrl"
9569 if test x
"$enablestring" = xdisable
; then
9570 if test $wxUSE_ANIMATIONCTRL = yes; then
9576 result
=$wxUSE_ANIMATIONCTRL
9579 { echo "$as_me:$LINENO: result: $result" >&5
9580 echo "${ECHO_T}$result" >&6; }
9584 defaultval
=$wxUSE_ALL_FEATURES
9585 if test -z "$defaultval"; then
9586 if test x
"$enablestring" = xdisable
; then
9593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9595 # Check whether --enable-bmpbutton was given.
9596 if test "${enable_bmpbutton+set}" = set; then
9597 enableval
=$enable_bmpbutton;
9598 if test "$enableval" = yes; then
9599 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9601 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9606 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9611 eval "$wx_cv_use_bmpbutton"
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_BMPBUTTON = yes; then
9620 result=$wxUSE_BMPBUTTON
9623 { echo "$as_me:$LINENO: result: $result" >&5
9624 echo "${ECHO_T}$result" >&6; }
9628 defaultval=$wxUSE_ALL_FEATURES
9629 if test -z "$defaultval"; then
9630 if test x"$enablestring" = xdisable; then
9637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9639 # Check whether --enable-bmpcombobox was given.
9640 if test "${enable_bmpcombobox+set}" = set; then
9641 enableval=$enable_bmpcombobox;
9642 if test "$enableval" = yes; then
9643 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9645 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9650 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9655 eval "$wx_cv_use_bmpcombobox"
9657 if test x"$enablestring" = xdisable; then
9658 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9664 result=$wxUSE_BITMAPCOMBOBOX
9667 { echo "$as_me:$LINENO: result
: $result" >&5
9668 echo "${ECHO_T}$result" >&6; }
9672 defaultval=$wxUSE_ALL_FEATURES
9673 if test -z "$defaultval"; then
9674 if test x"$enablestring" = xdisable; then
9681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9682 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9683 # Check whether --enable-button was given.
9684 if test "${enable_button+set}" = set; then
9685 enableval=$enable_button;
9686 if test "$enableval" = yes; then
9687 wx_cv_use_button='wxUSE_BUTTON=yes'
9689 wx_cv_use_button='wxUSE_BUTTON=no'
9694 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9699 eval "$wx_cv_use_button"
9701 if test x
"$enablestring" = xdisable
; then
9702 if test $wxUSE_BUTTON = yes; then
9708 result
=$wxUSE_BUTTON
9711 { echo "$as_me:$LINENO: result: $result" >&5
9712 echo "${ECHO_T}$result" >&6; }
9716 defaultval
=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x
"$enablestring" = xdisable
; then
9725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9727 # Check whether --enable-calendar was given.
9728 if test "${enable_calendar+set}" = set; then
9729 enableval
=$enable_calendar;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9733 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9738 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9743 eval "$wx_cv_use_calendar"
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_CALCTRL = yes; then
9752 result=$wxUSE_CALCTRL
9755 { echo "$as_me:$LINENO: result: $result" >&5
9756 echo "${ECHO_T}$result" >&6; }
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9771 # Check whether --enable-caret was given.
9772 if test "${enable_caret+set}" = set; then
9773 enableval=$enable_caret;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_caret='wxUSE_CARET
=yes'
9777 wx_cv_use_caret='wxUSE_CARET
=no
'
9782 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9787 eval "$wx_cv_use_caret"
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_CARET = yes; then
9799 { echo "$as_me:$LINENO: result
: $result" >&5
9800 echo "${ECHO_T}$result" >&6; }
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9814 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9815 # Check whether --enable-checkbox was given.
9816 if test "${enable_checkbox+set}" = set; then
9817 enableval=$enable_checkbox;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9821 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9826 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9831 eval "$wx_cv_use_checkbox"
9833 if test x
"$enablestring" = xdisable
; then
9834 if test $wxUSE_CHECKBOX = yes; then
9840 result
=$wxUSE_CHECKBOX
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9848 defaultval
=$wxUSE_ALL_FEATURES
9849 if test -z "$defaultval"; then
9850 if test x
"$enablestring" = xdisable
; then
9857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9858 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9859 # Check whether --enable-checklst was given.
9860 if test "${enable_checklst+set}" = set; then
9861 enableval
=$enable_checklst;
9862 if test "$enableval" = yes; then
9863 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9865 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9870 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9875 eval "$wx_cv_use_checklst"
9877 if test x"$enablestring" = xdisable; then
9878 if test $wxUSE_CHECKLST = yes; then
9884 result=$wxUSE_CHECKLST
9887 { echo "$as_me:$LINENO: result: $result" >&5
9888 echo "${ECHO_T}$result" >&6; }
9892 defaultval=$wxUSE_ALL_FEATURES
9893 if test -z "$defaultval"; then
9894 if test x"$enablestring" = xdisable; then
9901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9903 # Check whether --enable-choice was given.
9904 if test "${enable_choice+set}" = set; then
9905 enableval=$enable_choice;
9906 if test "$enableval" = yes; then
9907 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9909 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9914 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9919 eval "$wx_cv_use_choice"
9921 if test x"$enablestring" = xdisable; then
9922 if test $wxUSE_CHOICE = yes; then
9928 result=$wxUSE_CHOICE
9931 { echo "$as_me:$LINENO: result
: $result" >&5
9932 echo "${ECHO_T}$result" >&6; }
9936 defaultval=$wxUSE_ALL_FEATURES
9937 if test -z "$defaultval"; then
9938 if test x"$enablestring" = xdisable; then
9945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9946 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9947 # Check whether --enable-choicebook was given.
9948 if test "${enable_choicebook+set}" = set; then
9949 enableval=$enable_choicebook;
9950 if test "$enableval" = yes; then
9951 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9953 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9958 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9963 eval "$wx_cv_use_choicebook"
9965 if test x
"$enablestring" = xdisable
; then
9966 if test $wxUSE_CHOICEBOOK = yes; then
9972 result
=$wxUSE_CHOICEBOOK
9975 { echo "$as_me:$LINENO: result: $result" >&5
9976 echo "${ECHO_T}$result" >&6; }
9980 defaultval
=$wxUSE_ALL_FEATURES
9981 if test -z "$defaultval"; then
9982 if test x
"$enablestring" = xdisable
; then
9989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9991 # Check whether --enable-collpane was given.
9992 if test "${enable_collpane+set}" = set; then
9993 enableval
=$enable_collpane;
9994 if test "$enableval" = yes; then
9995 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9997 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10002 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10007 eval "$wx_cv_use_collpane"
10009 if test x"$enablestring" = xdisable; then
10010 if test $wxUSE_COLLPANE = yes; then
10016 result=$wxUSE_COLLPANE
10019 { echo "$as_me:$LINENO: result: $result" >&5
10020 echo "${ECHO_T}$result" >&6; }
10024 defaultval=$wxUSE_ALL_FEATURES
10025 if test -z "$defaultval"; then
10026 if test x"$enablestring" = xdisable; then
10033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10035 # Check whether --enable-colourpicker was given.
10036 if test "${enable_colourpicker+set}" = set; then
10037 enableval=$enable_colourpicker;
10038 if test "$enableval" = yes; then
10039 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10041 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10046 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10051 eval "$wx_cv_use_colourpicker"
10053 if test x"$enablestring" = xdisable; then
10054 if test $wxUSE_COLOURPICKERCTRL = yes; then
10060 result=$wxUSE_COLOURPICKERCTRL
10063 { echo "$as_me:$LINENO: result
: $result" >&5
10064 echo "${ECHO_T}$result" >&6; }
10068 defaultval=$wxUSE_ALL_FEATURES
10069 if test -z "$defaultval"; then
10070 if test x"$enablestring" = xdisable; then
10077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10078 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10079 # Check whether --enable-combobox was given.
10080 if test "${enable_combobox+set}" = set; then
10081 enableval=$enable_combobox;
10082 if test "$enableval" = yes; then
10083 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10085 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10090 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10095 eval "$wx_cv_use_combobox"
10097 if test x
"$enablestring" = xdisable
; then
10098 if test $wxUSE_COMBOBOX = yes; then
10104 result
=$wxUSE_COMBOBOX
10107 { echo "$as_me:$LINENO: result: $result" >&5
10108 echo "${ECHO_T}$result" >&6; }
10112 defaultval
=$wxUSE_ALL_FEATURES
10113 if test -z "$defaultval"; then
10114 if test x
"$enablestring" = xdisable
; then
10121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10123 # Check whether --enable-comboctrl was given.
10124 if test "${enable_comboctrl+set}" = set; then
10125 enableval
=$enable_comboctrl;
10126 if test "$enableval" = yes; then
10127 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10129 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10134 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10139 eval "$wx_cv_use_comboctrl"
10141 if test x"$enablestring" = xdisable; then
10142 if test $wxUSE_COMBOCTRL = yes; then
10148 result=$wxUSE_COMBOCTRL
10151 { echo "$as_me:$LINENO: result: $result" >&5
10152 echo "${ECHO_T}$result" >&6; }
10156 defaultval=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x"$enablestring" = xdisable; then
10165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10167 # Check whether --enable-dataviewctrl was given.
10168 if test "${enable_dataviewctrl+set}" = set; then
10169 enableval=$enable_dataviewctrl;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10173 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10178 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10183 eval "$wx_cv_use_dataviewctrl"
10185 if test x"$enablestring" = xdisable; then
10186 if test $wxUSE_DATAVIEWCTRL = yes; then
10192 result=$wxUSE_DATAVIEWCTRL
10195 { echo "$as_me:$LINENO: result
: $result" >&5
10196 echo "${ECHO_T}$result" >&6; }
10200 defaultval=$wxUSE_ALL_FEATURES
10201 if test -z "$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10210 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10211 # Check whether --enable-datepick was given.
10212 if test "${enable_datepick+set}" = set; then
10213 enableval=$enable_datepick;
10214 if test "$enableval" = yes; then
10215 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10217 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10222 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10227 eval "$wx_cv_use_datepick"
10229 if test x
"$enablestring" = xdisable
; then
10230 if test $wxUSE_DATEPICKCTRL = yes; then
10236 result
=$wxUSE_DATEPICKCTRL
10239 { echo "$as_me:$LINENO: result: $result" >&5
10240 echo "${ECHO_T}$result" >&6; }
10244 defaultval
=$wxUSE_ALL_FEATURES
10245 if test -z "$defaultval"; then
10246 if test x
"$enablestring" = xdisable
; then
10253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10254 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10255 # Check whether --enable-detect_sm was given.
10256 if test "${enable_detect_sm+set}" = set; then
10257 enableval
=$enable_detect_sm;
10258 if test "$enableval" = yes; then
10259 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10261 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10266 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10271 eval "$wx_cv_use_detect_sm"
10273 if test x"$enablestring" = xdisable; then
10274 if test $wxUSE_DETECT_SM = yes; then
10280 result=$wxUSE_DETECT_SM
10283 { echo "$as_me:$LINENO: result: $result" >&5
10284 echo "${ECHO_T}$result" >&6; }
10288 defaultval=$wxUSE_ALL_FEATURES
10289 if test -z "$defaultval"; then
10290 if test x"$enablestring" = xdisable; then
10297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10299 # Check whether --enable-dirpicker was given.
10300 if test "${enable_dirpicker+set}" = set; then
10301 enableval=$enable_dirpicker;
10302 if test "$enableval" = yes; then
10303 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10305 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10310 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10315 eval "$wx_cv_use_dirpicker"
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_DIRPICKERCTRL = yes; then
10324 result=$wxUSE_DIRPICKERCTRL
10327 { echo "$as_me:$LINENO: result
: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10341 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10342 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10343 # Check whether --enable-display was given.
10344 if test "${enable_display+set}" = set; then
10345 enableval=$enable_display;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_display='wxUSE_DISPLAY=yes'
10349 wx_cv_use_display='wxUSE_DISPLAY=no'
10354 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10359 eval "$wx_cv_use_display"
10361 if test x
"$enablestring" = xdisable
; then
10362 if test $wxUSE_DISPLAY = yes; then
10368 result
=$wxUSE_DISPLAY
10371 { echo "$as_me:$LINENO: result: $result" >&5
10372 echo "${ECHO_T}$result" >&6; }
10376 defaultval
=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x
"$enablestring" = xdisable
; then
10385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10386 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10387 # Check whether --enable-editablebox was given.
10388 if test "${enable_editablebox+set}" = set; then
10389 enableval
=$enable_editablebox;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10393 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10398 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10403 eval "$wx_cv_use_editablebox"
10405 if test x"$enablestring" = xdisable; then
10406 if test $wxUSE_EDITABLELISTBOX = yes; then
10412 result=$wxUSE_EDITABLELISTBOX
10415 { echo "$as_me:$LINENO: result: $result" >&5
10416 echo "${ECHO_T}$result" >&6; }
10420 defaultval=$wxUSE_ALL_FEATURES
10421 if test -z "$defaultval"; then
10422 if test x"$enablestring" = xdisable; then
10429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10431 # Check whether --enable-filectrl was given.
10432 if test "${enable_filectrl+set}" = set; then
10433 enableval=$enable_filectrl;
10434 if test "$enableval" = yes; then
10435 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10437 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10442 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10447 eval "$wx_cv_use_filectrl"
10449 if test x"$enablestring" = xdisable; then
10450 if test $wxUSE_FILECTRL = yes; then
10456 result=$wxUSE_FILECTRL
10459 { echo "$as_me:$LINENO: result
: $result" >&5
10460 echo "${ECHO_T}$result" >&6; }
10464 defaultval=$wxUSE_ALL_FEATURES
10465 if test -z "$defaultval"; then
10466 if test x"$enablestring" = xdisable; then
10473 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10474 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10475 # Check whether --enable-filepicker was given.
10476 if test "${enable_filepicker+set}" = set; then
10477 enableval=$enable_filepicker;
10478 if test "$enableval" = yes; then
10479 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10481 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10486 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10491 eval "$wx_cv_use_filepicker"
10493 if test x
"$enablestring" = xdisable
; then
10494 if test $wxUSE_FILEPICKERCTRL = yes; then
10500 result
=$wxUSE_FILEPICKERCTRL
10503 { echo "$as_me:$LINENO: result: $result" >&5
10504 echo "${ECHO_T}$result" >&6; }
10508 defaultval
=$wxUSE_ALL_FEATURES
10509 if test -z "$defaultval"; then
10510 if test x
"$enablestring" = xdisable
; then
10517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10518 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10519 # Check whether --enable-fontpicker was given.
10520 if test "${enable_fontpicker+set}" = set; then
10521 enableval
=$enable_fontpicker;
10522 if test "$enableval" = yes; then
10523 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10525 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10530 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10535 eval "$wx_cv_use_fontpicker"
10537 if test x"$enablestring" = xdisable; then
10538 if test $wxUSE_FONTPICKERCTRL = yes; then
10544 result=$wxUSE_FONTPICKERCTRL
10547 { echo "$as_me:$LINENO: result: $result" >&5
10548 echo "${ECHO_T}$result" >&6; }
10552 defaultval=$wxUSE_ALL_FEATURES
10553 if test -z "$defaultval"; then
10554 if test x"$enablestring" = xdisable; then
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10563 # Check whether --enable-gauge was given.
10564 if test "${enable_gauge+set}" = set; then
10565 enableval=$enable_gauge;
10566 if test "$enableval" = yes; then
10567 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10569 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10574 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10579 eval "$wx_cv_use_gauge"
10581 if test x"$enablestring" = xdisable; then
10582 if test $wxUSE_GAUGE = yes; then
10588 result=$wxUSE_GAUGE
10591 { echo "$as_me:$LINENO: result
: $result" >&5
10592 echo "${ECHO_T}$result" >&6; }
10596 defaultval=$wxUSE_ALL_FEATURES
10597 if test -z "$defaultval"; then
10598 if test x"$enablestring" = xdisable; then
10605 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10606 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10607 # Check whether --enable-grid was given.
10608 if test "${enable_grid+set}" = set; then
10609 enableval=$enable_grid;
10610 if test "$enableval" = yes; then
10611 wx_cv_use_grid='wxUSE_GRID=yes'
10613 wx_cv_use_grid='wxUSE_GRID=no'
10618 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10623 eval "$wx_cv_use_grid"
10625 if test x
"$enablestring" = xdisable
; then
10626 if test $wxUSE_GRID = yes; then
10635 { echo "$as_me:$LINENO: result: $result" >&5
10636 echo "${ECHO_T}$result" >&6; }
10640 defaultval
=$wxUSE_ALL_FEATURES
10641 if test -z "$defaultval"; then
10642 if test x
"$enablestring" = xdisable
; then
10649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10651 # Check whether --enable-headerctrl was given.
10652 if test "${enable_headerctrl+set}" = set; then
10653 enableval
=$enable_headerctrl;
10654 if test "$enableval" = yes; then
10655 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10657 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10662 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10667 eval "$wx_cv_use_headerctrl"
10669 if test x"$enablestring" = xdisable; then
10670 if test $wxUSE_HEADERCTRL = yes; then
10676 result=$wxUSE_HEADERCTRL
10679 { echo "$as_me:$LINENO: result: $result" >&5
10680 echo "${ECHO_T}$result" >&6; }
10684 defaultval=$wxUSE_ALL_FEATURES
10685 if test -z "$defaultval"; then
10686 if test x"$enablestring" = xdisable; then
10693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10694 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10695 # Check whether --enable-hyperlink was given.
10696 if test "${enable_hyperlink+set}" = set; then
10697 enableval=$enable_hyperlink;
10698 if test "$enableval" = yes; then
10699 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10701 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10706 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10711 eval "$wx_cv_use_hyperlink"
10713 if test x"$enablestring" = xdisable; then
10714 if test $wxUSE_HYPERLINKCTRL = yes; then
10720 result=$wxUSE_HYPERLINKCTRL
10723 { echo "$as_me:$LINENO: result
: $result" >&5
10724 echo "${ECHO_T}$result" >&6; }
10728 defaultval=$wxUSE_ALL_FEATURES
10729 if test -z "$defaultval"; then
10730 if test x"$enablestring" = xdisable; then
10737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10738 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10739 # Check whether --enable-imaglist was given.
10740 if test "${enable_imaglist+set}" = set; then
10741 enableval=$enable_imaglist;
10742 if test "$enableval" = yes; then
10743 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10745 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10750 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10755 eval "$wx_cv_use_imaglist"
10757 if test x
"$enablestring" = xdisable
; then
10758 if test $wxUSE_IMAGLIST = yes; then
10764 result
=$wxUSE_IMAGLIST
10767 { echo "$as_me:$LINENO: result: $result" >&5
10768 echo "${ECHO_T}$result" >&6; }
10772 defaultval
=$wxUSE_ALL_FEATURES
10773 if test -z "$defaultval"; then
10774 if test x
"$enablestring" = xdisable
; then
10781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10782 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10783 # Check whether --enable-listbook was given.
10784 if test "${enable_listbook+set}" = set; then
10785 enableval
=$enable_listbook;
10786 if test "$enableval" = yes; then
10787 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10789 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10794 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10799 eval "$wx_cv_use_listbook"
10801 if test x"$enablestring" = xdisable; then
10802 if test $wxUSE_LISTBOOK = yes; then
10808 result=$wxUSE_LISTBOOK
10811 { echo "$as_me:$LINENO: result: $result" >&5
10812 echo "${ECHO_T}$result" >&6; }
10816 defaultval=$wxUSE_ALL_FEATURES
10817 if test -z "$defaultval"; then
10818 if test x"$enablestring" = xdisable; then
10825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10826 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10827 # Check whether --enable-listbox was given.
10828 if test "${enable_listbox+set}" = set; then
10829 enableval=$enable_listbox;
10830 if test "$enableval" = yes; then
10831 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10833 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10838 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10843 eval "$wx_cv_use_listbox"
10845 if test x"$enablestring" = xdisable; then
10846 if test $wxUSE_LISTBOX = yes; then
10852 result=$wxUSE_LISTBOX
10855 { echo "$as_me:$LINENO: result
: $result" >&5
10856 echo "${ECHO_T}$result" >&6; }
10860 defaultval=$wxUSE_ALL_FEATURES
10861 if test -z "$defaultval"; then
10862 if test x"$enablestring" = xdisable; then
10869 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10870 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10871 # Check whether --enable-listctrl was given.
10872 if test "${enable_listctrl+set}" = set; then
10873 enableval=$enable_listctrl;
10874 if test "$enableval" = yes; then
10875 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10877 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10882 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10887 eval "$wx_cv_use_listctrl"
10889 if test x
"$enablestring" = xdisable
; then
10890 if test $wxUSE_LISTCTRL = yes; then
10896 result
=$wxUSE_LISTCTRL
10899 { echo "$as_me:$LINENO: result: $result" >&5
10900 echo "${ECHO_T}$result" >&6; }
10904 defaultval
=$wxUSE_ALL_FEATURES
10905 if test -z "$defaultval"; then
10906 if test x
"$enablestring" = xdisable
; then
10913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10914 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10915 # Check whether --enable-notebook was given.
10916 if test "${enable_notebook+set}" = set; then
10917 enableval
=$enable_notebook;
10918 if test "$enableval" = yes; then
10919 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10921 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10926 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10931 eval "$wx_cv_use_notebook"
10933 if test x"$enablestring" = xdisable; then
10934 if test $wxUSE_NOTEBOOK = yes; then
10940 result=$wxUSE_NOTEBOOK
10943 { echo "$as_me:$LINENO: result: $result" >&5
10944 echo "${ECHO_T}$result" >&6; }
10948 defaultval=$wxUSE_ALL_FEATURES
10949 if test -z "$defaultval"; then
10950 if test x"$enablestring" = xdisable; then
10957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10958 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10959 # Check whether --enable-notifmsg was given.
10960 if test "${enable_notifmsg+set}" = set; then
10961 enableval=$enable_notifmsg;
10962 if test "$enableval" = yes; then
10963 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10965 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10970 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10975 eval "$wx_cv_use_notifmsg"
10977 if test x"$enablestring" = xdisable; then
10978 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10984 result=$wxUSE_NOTIFICATION_MESSAGE
10987 { echo "$as_me:$LINENO: result
: $result" >&5
10988 echo "${ECHO_T}$result" >&6; }
10992 defaultval=$wxUSE_ALL_FEATURES
10993 if test -z "$defaultval"; then
10994 if test x"$enablestring" = xdisable; then
11001 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11002 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11003 # Check whether --enable-odcombobox was given.
11004 if test "${enable_odcombobox+set}" = set; then
11005 enableval=$enable_odcombobox;
11006 if test "$enableval" = yes; then
11007 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11009 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11014 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11019 eval "$wx_cv_use_odcombobox"
11021 if test x
"$enablestring" = xdisable
; then
11022 if test $wxUSE_ODCOMBOBOX = yes; then
11028 result
=$wxUSE_ODCOMBOBOX
11031 { echo "$as_me:$LINENO: result: $result" >&5
11032 echo "${ECHO_T}$result" >&6; }
11036 defaultval
=$wxUSE_ALL_FEATURES
11037 if test -z "$defaultval"; then
11038 if test x
"$enablestring" = xdisable
; then
11045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11046 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11047 # Check whether --enable-popupwin was given.
11048 if test "${enable_popupwin+set}" = set; then
11049 enableval
=$enable_popupwin;
11050 if test "$enableval" = yes; then
11051 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11053 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11058 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11063 eval "$wx_cv_use_popupwin"
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_POPUPWIN = yes; then
11072 result=$wxUSE_POPUPWIN
11075 { echo "$as_me:$LINENO: result: $result" >&5
11076 echo "${ECHO_T}$result" >&6; }
11080 defaultval=$wxUSE_ALL_FEATURES
11081 if test -z "$defaultval"; then
11082 if test x"$enablestring" = xdisable; then
11089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11091 # Check whether --enable-radiobox was given.
11092 if test "${enable_radiobox+set}" = set; then
11093 enableval=$enable_radiobox;
11094 if test "$enableval" = yes; then
11095 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11097 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11102 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11107 eval "$wx_cv_use_radiobox"
11109 if test x"$enablestring" = xdisable; then
11110 if test $wxUSE_RADIOBOX = yes; then
11116 result=$wxUSE_RADIOBOX
11119 { echo "$as_me:$LINENO: result
: $result" >&5
11120 echo "${ECHO_T}$result" >&6; }
11124 defaultval=$wxUSE_ALL_FEATURES
11125 if test -z "$defaultval"; then
11126 if test x"$enablestring" = xdisable; then
11133 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11134 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11135 # Check whether --enable-radiobtn was given.
11136 if test "${enable_radiobtn+set}" = set; then
11137 enableval=$enable_radiobtn;
11138 if test "$enableval" = yes; then
11139 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11141 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11146 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11151 eval "$wx_cv_use_radiobtn"
11153 if test x
"$enablestring" = xdisable
; then
11154 if test $wxUSE_RADIOBTN = yes; then
11160 result
=$wxUSE_RADIOBTN
11163 { echo "$as_me:$LINENO: result: $result" >&5
11164 echo "${ECHO_T}$result" >&6; }
11168 defaultval
=$wxUSE_ALL_FEATURES
11169 if test -z "$defaultval"; then
11170 if test x
"$enablestring" = xdisable
; then
11177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11178 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11179 # Check whether --enable-rearrangectrl was given.
11180 if test "${enable_rearrangectrl+set}" = set; then
11181 enableval
=$enable_rearrangectrl;
11182 if test "$enableval" = yes; then
11183 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11185 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11190 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11195 eval "$wx_cv_use_rearrangectrl"
11197 if test x"$enablestring" = xdisable; then
11198 if test $wxUSE_REARRANGECTRL = yes; then
11204 result=$wxUSE_REARRANGECTRL
11207 { echo "$as_me:$LINENO: result: $result" >&5
11208 echo "${ECHO_T}$result" >&6; }
11212 defaultval=$wxUSE_ALL_FEATURES
11213 if test -z "$defaultval"; then
11214 if test x"$enablestring" = xdisable; then
11221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11223 # Check whether --enable-sash was given.
11224 if test "${enable_sash+set}" = set; then
11225 enableval=$enable_sash;
11226 if test "$enableval" = yes; then
11227 wx_cv_use_sash='wxUSE_SASH
=yes'
11229 wx_cv_use_sash='wxUSE_SASH
=no
'
11234 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11239 eval "$wx_cv_use_sash"
11241 if test x"$enablestring" = xdisable; then
11242 if test $wxUSE_SASH = yes; then
11251 { echo "$as_me:$LINENO: result
: $result" >&5
11252 echo "${ECHO_T}$result" >&6; }
11256 defaultval=$wxUSE_ALL_FEATURES
11257 if test -z "$defaultval"; then
11258 if test x"$enablestring" = xdisable; then
11265 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11266 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11267 # Check whether --enable-scrollbar was given.
11268 if test "${enable_scrollbar+set}" = set; then
11269 enableval=$enable_scrollbar;
11270 if test "$enableval" = yes; then
11271 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11273 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11278 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11283 eval "$wx_cv_use_scrollbar"
11285 if test x
"$enablestring" = xdisable
; then
11286 if test $wxUSE_SCROLLBAR = yes; then
11292 result
=$wxUSE_SCROLLBAR
11295 { echo "$as_me:$LINENO: result: $result" >&5
11296 echo "${ECHO_T}$result" >&6; }
11300 defaultval
=$wxUSE_ALL_FEATURES
11301 if test -z "$defaultval"; then
11302 if test x
"$enablestring" = xdisable
; then
11309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11311 # Check whether --enable-searchctrl was given.
11312 if test "${enable_searchctrl+set}" = set; then
11313 enableval
=$enable_searchctrl;
11314 if test "$enableval" = yes; then
11315 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11317 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11322 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11327 eval "$wx_cv_use_searchctrl"
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_SEARCHCTRL = yes; then
11336 result=$wxUSE_SEARCHCTRL
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11355 # Check whether --enable-slider was given.
11356 if test "${enable_slider+set}" = set; then
11357 enableval=$enable_slider;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11361 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11366 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11371 eval "$wx_cv_use_slider"
11373 if test x"$enablestring" = xdisable; then
11374 if test $wxUSE_SLIDER = yes; then
11380 result=$wxUSE_SLIDER
11383 { echo "$as_me:$LINENO: result
: $result" >&5
11384 echo "${ECHO_T}$result" >&6; }
11388 defaultval=$wxUSE_ALL_FEATURES
11389 if test -z "$defaultval"; then
11390 if test x"$enablestring" = xdisable; then
11397 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11398 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11399 # Check whether --enable-spinbtn was given.
11400 if test "${enable_spinbtn+set}" = set; then
11401 enableval=$enable_spinbtn;
11402 if test "$enableval" = yes; then
11403 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11405 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11410 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11415 eval "$wx_cv_use_spinbtn"
11417 if test x
"$enablestring" = xdisable
; then
11418 if test $wxUSE_SPINBTN = yes; then
11424 result
=$wxUSE_SPINBTN
11427 { echo "$as_me:$LINENO: result: $result" >&5
11428 echo "${ECHO_T}$result" >&6; }
11432 defaultval
=$wxUSE_ALL_FEATURES
11433 if test -z "$defaultval"; then
11434 if test x
"$enablestring" = xdisable
; then
11441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11442 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11443 # Check whether --enable-spinctrl was given.
11444 if test "${enable_spinctrl+set}" = set; then
11445 enableval
=$enable_spinctrl;
11446 if test "$enableval" = yes; then
11447 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11449 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11454 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11459 eval "$wx_cv_use_spinctrl"
11461 if test x"$enablestring" = xdisable; then
11462 if test $wxUSE_SPINCTRL = yes; then
11468 result=$wxUSE_SPINCTRL
11471 { echo "$as_me:$LINENO: result: $result" >&5
11472 echo "${ECHO_T}$result" >&6; }
11476 defaultval=$wxUSE_ALL_FEATURES
11477 if test -z "$defaultval"; then
11478 if test x"$enablestring" = xdisable; then
11485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11486 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11487 # Check whether --enable-splitter was given.
11488 if test "${enable_splitter+set}" = set; then
11489 enableval=$enable_splitter;
11490 if test "$enableval" = yes; then
11491 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11493 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11498 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11503 eval "$wx_cv_use_splitter"
11505 if test x"$enablestring" = xdisable; then
11506 if test $wxUSE_SPLITTER = yes; then
11512 result=$wxUSE_SPLITTER
11515 { echo "$as_me:$LINENO: result
: $result" >&5
11516 echo "${ECHO_T}$result" >&6; }
11520 defaultval=$wxUSE_ALL_FEATURES
11521 if test -z "$defaultval"; then
11522 if test x"$enablestring" = xdisable; then
11529 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11530 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11531 # Check whether --enable-statbmp was given.
11532 if test "${enable_statbmp+set}" = set; then
11533 enableval=$enable_statbmp;
11534 if test "$enableval" = yes; then
11535 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11537 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11542 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11547 eval "$wx_cv_use_statbmp"
11549 if test x
"$enablestring" = xdisable
; then
11550 if test $wxUSE_STATBMP = yes; then
11556 result
=$wxUSE_STATBMP
11559 { echo "$as_me:$LINENO: result: $result" >&5
11560 echo "${ECHO_T}$result" >&6; }
11564 defaultval
=$wxUSE_ALL_FEATURES
11565 if test -z "$defaultval"; then
11566 if test x
"$enablestring" = xdisable
; then
11573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11574 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11575 # Check whether --enable-statbox was given.
11576 if test "${enable_statbox+set}" = set; then
11577 enableval
=$enable_statbox;
11578 if test "$enableval" = yes; then
11579 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11581 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11586 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11591 eval "$wx_cv_use_statbox"
11593 if test x"$enablestring" = xdisable; then
11594 if test $wxUSE_STATBOX = yes; then
11600 result=$wxUSE_STATBOX
11603 { echo "$as_me:$LINENO: result: $result" >&5
11604 echo "${ECHO_T}$result" >&6; }
11608 defaultval=$wxUSE_ALL_FEATURES
11609 if test -z "$defaultval"; then
11610 if test x"$enablestring" = xdisable; then
11617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11618 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11619 # Check whether --enable-statline was given.
11620 if test "${enable_statline+set}" = set; then
11621 enableval=$enable_statline;
11622 if test "$enableval" = yes; then
11623 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11625 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11630 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11635 eval "$wx_cv_use_statline"
11637 if test x"$enablestring" = xdisable; then
11638 if test $wxUSE_STATLINE = yes; then
11644 result=$wxUSE_STATLINE
11647 { echo "$as_me:$LINENO: result
: $result" >&5
11648 echo "${ECHO_T}$result" >&6; }
11652 defaultval=$wxUSE_ALL_FEATURES
11653 if test -z "$defaultval"; then
11654 if test x"$enablestring" = xdisable; then
11661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11662 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11663 # Check whether --enable-stattext was given.
11664 if test "${enable_stattext+set}" = set; then
11665 enableval=$enable_stattext;
11666 if test "$enableval" = yes; then
11667 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11669 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11674 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11679 eval "$wx_cv_use_stattext"
11681 if test x
"$enablestring" = xdisable
; then
11682 if test $wxUSE_STATTEXT = yes; then
11688 result
=$wxUSE_STATTEXT
11691 { echo "$as_me:$LINENO: result: $result" >&5
11692 echo "${ECHO_T}$result" >&6; }
11696 defaultval
=$wxUSE_ALL_FEATURES
11697 if test -z "$defaultval"; then
11698 if test x
"$enablestring" = xdisable
; then
11705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11706 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11707 # Check whether --enable-statusbar was given.
11708 if test "${enable_statusbar+set}" = set; then
11709 enableval
=$enable_statusbar;
11710 if test "$enableval" = yes; then
11711 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11713 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11718 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11723 eval "$wx_cv_use_statusbar"
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_STATUSBAR = yes; then
11732 result=$wxUSE_STATUSBAR
11735 { echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6; }
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z "$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11751 # Check whether --enable-taskbaricon was given.
11752 if test "${enable_taskbaricon+set}" = set; then
11753 enableval=$enable_taskbaricon;
11754 if test "$enableval" = yes; then
11755 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11757 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11762 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11767 eval "$wx_cv_use_taskbaricon"
11769 if test x"$enablestring" = xdisable; then
11770 if test $wxUSE_TASKBARICON = yes; then
11776 result=$wxUSE_TASKBARICON
11779 { echo "$as_me:$LINENO: result
: $result" >&5
11780 echo "${ECHO_T}$result" >&6; }
11784 defaultval=$wxUSE_ALL_FEATURES
11785 if test -z "$defaultval"; then
11786 if test x"$enablestring" = xdisable; then
11793 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11794 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11795 # Check whether --enable-tbarnative was given.
11796 if test "${enable_tbarnative+set}" = set; then
11797 enableval=$enable_tbarnative;
11798 if test "$enableval" = yes; then
11799 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11801 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11806 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11811 eval "$wx_cv_use_tbarnative"
11813 if test x
"$enablestring" = xdisable
; then
11814 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11820 result
=$wxUSE_TOOLBAR_NATIVE
11823 { echo "$as_me:$LINENO: result: $result" >&5
11824 echo "${ECHO_T}$result" >&6; }
11828 defaultval
=$wxUSE_ALL_FEATURES
11829 if test -z "$defaultval"; then
11830 if test x
"$enablestring" = xdisable
; then
11837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11838 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11839 # Check whether --enable-textctrl was given.
11840 if test "${enable_textctrl+set}" = set; then
11841 enableval
=$enable_textctrl;
11842 if test "$enableval" = yes; then
11843 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11845 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11850 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11855 eval "$wx_cv_use_textctrl"
11857 if test x"$enablestring" = xdisable; then
11858 if test $wxUSE_TEXTCTRL = yes; then
11864 result=$wxUSE_TEXTCTRL
11867 { echo "$as_me:$LINENO: result: $result" >&5
11868 echo "${ECHO_T}$result" >&6; }
11872 defaultval=$wxUSE_ALL_FEATURES
11873 if test -z "$defaultval"; then
11874 if test x"$enablestring" = xdisable; then
11881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11882 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11883 # Check whether --enable-tipwindow was given.
11884 if test "${enable_tipwindow+set}" = set; then
11885 enableval=$enable_tipwindow;
11886 if test "$enableval" = yes; then
11887 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11889 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11894 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11899 eval "$wx_cv_use_tipwindow"
11901 if test x"$enablestring" = xdisable; then
11902 if test $wxUSE_TIPWINDOW = yes; then
11908 result=$wxUSE_TIPWINDOW
11911 { echo "$as_me:$LINENO: result
: $result" >&5
11912 echo "${ECHO_T}$result" >&6; }
11916 defaultval=$wxUSE_ALL_FEATURES
11917 if test -z "$defaultval"; then
11918 if test x"$enablestring" = xdisable; then
11925 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11926 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11927 # Check whether --enable-togglebtn was given.
11928 if test "${enable_togglebtn+set}" = set; then
11929 enableval=$enable_togglebtn;
11930 if test "$enableval" = yes; then
11931 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11933 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11938 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11943 eval "$wx_cv_use_togglebtn"
11945 if test x
"$enablestring" = xdisable
; then
11946 if test $wxUSE_TOGGLEBTN = yes; then
11952 result
=$wxUSE_TOGGLEBTN
11955 { echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11960 defaultval
=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x
"$enablestring" = xdisable
; then
11969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11971 # Check whether --enable-toolbar was given.
11972 if test "${enable_toolbar+set}" = set; then
11973 enableval
=$enable_toolbar;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11977 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11982 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11987 eval "$wx_cv_use_toolbar"
11989 if test x"$enablestring" = xdisable; then
11990 if test $wxUSE_TOOLBAR = yes; then
11996 result=$wxUSE_TOOLBAR
11999 { echo "$as_me:$LINENO: result: $result" >&5
12000 echo "${ECHO_T}$result" >&6; }
12004 defaultval=$wxUSE_ALL_FEATURES
12005 if test -z "$defaultval"; then
12006 if test x"$enablestring" = xdisable; then
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12015 # Check whether --enable-toolbook was given.
12016 if test "${enable_toolbook+set}" = set; then
12017 enableval=$enable_toolbook;
12018 if test "$enableval" = yes; then
12019 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12021 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12026 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12031 eval "$wx_cv_use_toolbook"
12033 if test x"$enablestring" = xdisable; then
12034 if test $wxUSE_TOOLBOOK = yes; then
12040 result=$wxUSE_TOOLBOOK
12043 { echo "$as_me:$LINENO: result
: $result" >&5
12044 echo "${ECHO_T}$result" >&6; }
12048 defaultval=$wxUSE_ALL_FEATURES
12049 if test -z "$defaultval"; then
12050 if test x"$enablestring" = xdisable; then
12057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12058 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12059 # Check whether --enable-treebook was given.
12060 if test "${enable_treebook+set}" = set; then
12061 enableval=$enable_treebook;
12062 if test "$enableval" = yes; then
12063 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12065 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12070 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12075 eval "$wx_cv_use_treebook"
12077 if test x
"$enablestring" = xdisable
; then
12078 if test $wxUSE_TREEBOOK = yes; then
12084 result
=$wxUSE_TREEBOOK
12087 { echo "$as_me:$LINENO: result: $result" >&5
12088 echo "${ECHO_T}$result" >&6; }
12092 defaultval
=$wxUSE_ALL_FEATURES
12093 if test -z "$defaultval"; then
12094 if test x
"$enablestring" = xdisable
; then
12101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12102 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12103 # Check whether --enable-treectrl was given.
12104 if test "${enable_treectrl+set}" = set; then
12105 enableval
=$enable_treectrl;
12106 if test "$enableval" = yes; then
12107 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12109 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12114 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12119 eval "$wx_cv_use_treectrl"
12121 if test x"$enablestring" = xdisable; then
12122 if test $wxUSE_TREECTRL = yes; then
12128 result=$wxUSE_TREECTRL
12131 { echo "$as_me:$LINENO: result: $result" >&5
12132 echo "${ECHO_T}$result" >&6; }
12138 defaultval=$wxUSE_ALL_FEATURES
12139 if test -z "$defaultval"; then
12140 if test x"$enablestring" = xdisable; then
12147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12148 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12149 # Check whether --enable-commondlg was given.
12150 if test "${enable_commondlg+set}" = set; then
12151 enableval=$enable_commondlg;
12152 if test "$enableval" = yes; then
12153 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12155 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12160 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12165 eval "$wx_cv_use_commondlg"
12167 if test x"$enablestring" = xdisable; then
12168 if test $wxUSE_COMMONDLGS = yes; then
12174 result=$wxUSE_COMMONDLGS
12177 { echo "$as_me:$LINENO: result
: $result" >&5
12178 echo "${ECHO_T}$result" >&6; }
12182 defaultval=$wxUSE_ALL_FEATURES
12183 if test -z "$defaultval"; then
12184 if test x"$enablestring" = xdisable; then
12191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12192 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12193 # Check whether --enable-aboutdlg was given.
12194 if test "${enable_aboutdlg+set}" = set; then
12195 enableval=$enable_aboutdlg;
12196 if test "$enableval" = yes; then
12197 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12199 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12204 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12209 eval "$wx_cv_use_aboutdlg"
12211 if test x
"$enablestring" = xdisable
; then
12212 if test $wxUSE_ABOUTDLG = yes; then
12218 result
=$wxUSE_ABOUTDLG
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12226 defaultval
=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x
"$enablestring" = xdisable
; then
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12237 # Check whether --enable-choicedlg was given.
12238 if test "${enable_choicedlg+set}" = set; then
12239 enableval
=$enable_choicedlg;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12243 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12248 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12253 eval "$wx_cv_use_choicedlg"
12255 if test x"$enablestring" = xdisable; then
12256 if test $wxUSE_CHOICEDLG = yes; then
12262 result=$wxUSE_CHOICEDLG
12265 { echo "$as_me:$LINENO: result: $result" >&5
12266 echo "${ECHO_T}$result" >&6; }
12270 defaultval=$wxUSE_ALL_FEATURES
12271 if test -z "$defaultval"; then
12272 if test x"$enablestring" = xdisable; then
12279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12280 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12281 # Check whether --enable-coldlg was given.
12282 if test "${enable_coldlg+set}" = set; then
12283 enableval=$enable_coldlg;
12284 if test "$enableval" = yes; then
12285 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12287 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12292 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12297 eval "$wx_cv_use_coldlg"
12299 if test x"$enablestring" = xdisable; then
12300 if test $wxUSE_COLOURDLG = yes; then
12306 result=$wxUSE_COLOURDLG
12309 { echo "$as_me:$LINENO: result
: $result" >&5
12310 echo "${ECHO_T}$result" >&6; }
12314 defaultval=$wxUSE_ALL_FEATURES
12315 if test -z "$defaultval"; then
12316 if test x"$enablestring" = xdisable; then
12323 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12324 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12325 # Check whether --enable-filedlg was given.
12326 if test "${enable_filedlg+set}" = set; then
12327 enableval=$enable_filedlg;
12328 if test "$enableval" = yes; then
12329 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12331 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12336 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12341 eval "$wx_cv_use_filedlg"
12343 if test x
"$enablestring" = xdisable
; then
12344 if test $wxUSE_FILEDLG = yes; then
12350 result
=$wxUSE_FILEDLG
12353 { echo "$as_me:$LINENO: result: $result" >&5
12354 echo "${ECHO_T}$result" >&6; }
12358 defaultval
=$wxUSE_ALL_FEATURES
12359 if test -z "$defaultval"; then
12360 if test x
"$enablestring" = xdisable
; then
12367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12368 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12369 # Check whether --enable-finddlg was given.
12370 if test "${enable_finddlg+set}" = set; then
12371 enableval
=$enable_finddlg;
12372 if test "$enableval" = yes; then
12373 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12375 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12380 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12385 eval "$wx_cv_use_finddlg"
12387 if test x"$enablestring" = xdisable; then
12388 if test $wxUSE_FINDREPLDLG = yes; then
12394 result=$wxUSE_FINDREPLDLG
12397 { echo "$as_me:$LINENO: result: $result" >&5
12398 echo "${ECHO_T}$result" >&6; }
12402 defaultval=$wxUSE_ALL_FEATURES
12403 if test -z "$defaultval"; then
12404 if test x"$enablestring" = xdisable; then
12411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12412 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12413 # Check whether --enable-fontdlg was given.
12414 if test "${enable_fontdlg+set}" = set; then
12415 enableval=$enable_fontdlg;
12416 if test "$enableval" = yes; then
12417 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12419 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12424 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12429 eval "$wx_cv_use_fontdlg"
12431 if test x"$enablestring" = xdisable; then
12432 if test $wxUSE_FONTDLG = yes; then
12438 result=$wxUSE_FONTDLG
12441 { echo "$as_me:$LINENO: result
: $result" >&5
12442 echo "${ECHO_T}$result" >&6; }
12446 defaultval=$wxUSE_ALL_FEATURES
12447 if test -z "$defaultval"; then
12448 if test x"$enablestring" = xdisable; then
12455 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12456 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12457 # Check whether --enable-dirdlg was given.
12458 if test "${enable_dirdlg+set}" = set; then
12459 enableval=$enable_dirdlg;
12460 if test "$enableval" = yes; then
12461 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12463 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12468 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12473 eval "$wx_cv_use_dirdlg"
12475 if test x
"$enablestring" = xdisable
; then
12476 if test $wxUSE_DIRDLG = yes; then
12482 result
=$wxUSE_DIRDLG
12485 { echo "$as_me:$LINENO: result: $result" >&5
12486 echo "${ECHO_T}$result" >&6; }
12490 defaultval
=$wxUSE_ALL_FEATURES
12491 if test -z "$defaultval"; then
12492 if test x
"$enablestring" = xdisable
; then
12499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12500 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12501 # Check whether --enable-msgdlg was given.
12502 if test "${enable_msgdlg+set}" = set; then
12503 enableval
=$enable_msgdlg;
12504 if test "$enableval" = yes; then
12505 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12507 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12512 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12517 eval "$wx_cv_use_msgdlg"
12519 if test x"$enablestring" = xdisable; then
12520 if test $wxUSE_MSGDLG = yes; then
12526 result=$wxUSE_MSGDLG
12529 { echo "$as_me:$LINENO: result: $result" >&5
12530 echo "${ECHO_T}$result" >&6; }
12534 defaultval=$wxUSE_ALL_FEATURES
12535 if test -z "$defaultval"; then
12536 if test x"$enablestring" = xdisable; then
12543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12544 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12545 # Check whether --enable-numberdlg was given.
12546 if test "${enable_numberdlg+set}" = set; then
12547 enableval=$enable_numberdlg;
12548 if test "$enableval" = yes; then
12549 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12551 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12556 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12561 eval "$wx_cv_use_numberdlg"
12563 if test x"$enablestring" = xdisable; then
12564 if test $wxUSE_NUMBERDLG = yes; then
12570 result=$wxUSE_NUMBERDLG
12573 { echo "$as_me:$LINENO: result
: $result" >&5
12574 echo "${ECHO_T}$result" >&6; }
12578 defaultval=$wxUSE_ALL_FEATURES
12579 if test -z "$defaultval"; then
12580 if test x"$enablestring" = xdisable; then
12587 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12588 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12589 # Check whether --enable-splash was given.
12590 if test "${enable_splash+set}" = set; then
12591 enableval=$enable_splash;
12592 if test "$enableval" = yes; then
12593 wx_cv_use_splash='wxUSE_SPLASH=yes'
12595 wx_cv_use_splash='wxUSE_SPLASH=no'
12600 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12605 eval "$wx_cv_use_splash"
12607 if test x
"$enablestring" = xdisable
; then
12608 if test $wxUSE_SPLASH = yes; then
12614 result
=$wxUSE_SPLASH
12617 { echo "$as_me:$LINENO: result: $result" >&5
12618 echo "${ECHO_T}$result" >&6; }
12622 defaultval
=$wxUSE_ALL_FEATURES
12623 if test -z "$defaultval"; then
12624 if test x
"$enablestring" = xdisable
; then
12631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12632 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12633 # Check whether --enable-textdlg was given.
12634 if test "${enable_textdlg+set}" = set; then
12635 enableval
=$enable_textdlg;
12636 if test "$enableval" = yes; then
12637 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12639 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12644 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12649 eval "$wx_cv_use_textdlg"
12651 if test x"$enablestring" = xdisable; then
12652 if test $wxUSE_TEXTDLG = yes; then
12658 result=$wxUSE_TEXTDLG
12661 { echo "$as_me:$LINENO: result: $result" >&5
12662 echo "${ECHO_T}$result" >&6; }
12666 defaultval=$wxUSE_ALL_FEATURES
12667 if test -z "$defaultval"; then
12668 if test x"$enablestring" = xdisable; then
12675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12676 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12677 # Check whether --enable-tipdlg was given.
12678 if test "${enable_tipdlg+set}" = set; then
12679 enableval=$enable_tipdlg;
12680 if test "$enableval" = yes; then
12681 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12683 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12688 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12693 eval "$wx_cv_use_tipdlg"
12695 if test x"$enablestring" = xdisable; then
12696 if test $wxUSE_STARTUP_TIPS = yes; then
12702 result=$wxUSE_STARTUP_TIPS
12705 { echo "$as_me:$LINENO: result
: $result" >&5
12706 echo "${ECHO_T}$result" >&6; }
12710 defaultval=$wxUSE_ALL_FEATURES
12711 if test -z "$defaultval"; then
12712 if test x"$enablestring" = xdisable; then
12719 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12720 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12721 # Check whether --enable-progressdlg was given.
12722 if test "${enable_progressdlg+set}" = set; then
12723 enableval=$enable_progressdlg;
12724 if test "$enableval" = yes; then
12725 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12727 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12732 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12737 eval "$wx_cv_use_progressdlg"
12739 if test x
"$enablestring" = xdisable
; then
12740 if test $wxUSE_PROGRESSDLG = yes; then
12746 result
=$wxUSE_PROGRESSDLG
12749 { echo "$as_me:$LINENO: result: $result" >&5
12750 echo "${ECHO_T}$result" >&6; }
12754 defaultval
=$wxUSE_ALL_FEATURES
12755 if test -z "$defaultval"; then
12756 if test x
"$enablestring" = xdisable
; then
12763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12764 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12765 # Check whether --enable-wizarddlg was given.
12766 if test "${enable_wizarddlg+set}" = set; then
12767 enableval
=$enable_wizarddlg;
12768 if test "$enableval" = yes; then
12769 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12771 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12776 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12781 eval "$wx_cv_use_wizarddlg"
12783 if test x"$enablestring" = xdisable; then
12784 if test $wxUSE_WIZARDDLG = yes; then
12790 result=$wxUSE_WIZARDDLG
12793 { echo "$as_me:$LINENO: result: $result" >&5
12794 echo "${ECHO_T}$result" >&6; }
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12811 # Check whether --enable-menus was given.
12812 if test "${enable_menus+set}" = set; then
12813 enableval=$enable_menus;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_menus='wxUSE_MENUS
=yes'
12817 wx_cv_use_menus='wxUSE_MENUS
=no
'
12822 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12827 eval "$wx_cv_use_menus"
12829 if test x"$enablestring" = xdisable; then
12830 if test $wxUSE_MENUS = yes; then
12836 result=$wxUSE_MENUS
12839 { echo "$as_me:$LINENO: result
: $result" >&5
12840 echo "${ECHO_T}$result" >&6; }
12844 defaultval=$wxUSE_ALL_FEATURES
12845 if test -z "$defaultval"; then
12846 if test x"$enablestring" = xdisable; then
12853 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12854 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12855 # Check whether --enable-miniframe was given.
12856 if test "${enable_miniframe+set}" = set; then
12857 enableval=$enable_miniframe;
12858 if test "$enableval" = yes; then
12859 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12861 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12866 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12871 eval "$wx_cv_use_miniframe"
12873 if test x
"$enablestring" = xdisable
; then
12874 if test $wxUSE_MINIFRAME = yes; then
12880 result
=$wxUSE_MINIFRAME
12883 { echo "$as_me:$LINENO: result: $result" >&5
12884 echo "${ECHO_T}$result" >&6; }
12888 defaultval
=$wxUSE_ALL_FEATURES
12889 if test -z "$defaultval"; then
12890 if test x
"$enablestring" = xdisable
; then
12897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12898 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12899 # Check whether --enable-tooltips was given.
12900 if test "${enable_tooltips+set}" = set; then
12901 enableval
=$enable_tooltips;
12902 if test "$enableval" = yes; then
12903 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12905 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12910 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12915 eval "$wx_cv_use_tooltips"
12917 if test x"$enablestring" = xdisable; then
12918 if test $wxUSE_TOOLTIPS = yes; then
12924 result=$wxUSE_TOOLTIPS
12927 { echo "$as_me:$LINENO: result: $result" >&5
12928 echo "${ECHO_T}$result" >&6; }
12932 defaultval=$wxUSE_ALL_FEATURES
12933 if test -z "$defaultval"; then
12934 if test x"$enablestring" = xdisable; then
12941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12942 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12943 # Check whether --enable-splines was given.
12944 if test "${enable_splines+set}" = set; then
12945 enableval=$enable_splines;
12946 if test "$enableval" = yes; then
12947 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12949 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12954 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12959 eval "$wx_cv_use_splines"
12961 if test x"$enablestring" = xdisable; then
12962 if test $wxUSE_SPLINES = yes; then
12968 result=$wxUSE_SPLINES
12971 { echo "$as_me:$LINENO: result
: $result" >&5
12972 echo "${ECHO_T}$result" >&6; }
12976 defaultval=$wxUSE_ALL_FEATURES
12977 if test -z "$defaultval"; then
12978 if test x"$enablestring" = xdisable; then
12985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12986 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12987 # Check whether --enable-mousewheel was given.
12988 if test "${enable_mousewheel+set}" = set; then
12989 enableval=$enable_mousewheel;
12990 if test "$enableval" = yes; then
12991 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12993 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12998 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13003 eval "$wx_cv_use_mousewheel"
13005 if test x
"$enablestring" = xdisable
; then
13006 if test $wxUSE_MOUSEWHEEL = yes; then
13012 result
=$wxUSE_MOUSEWHEEL
13015 { echo "$as_me:$LINENO: result: $result" >&5
13016 echo "${ECHO_T}$result" >&6; }
13020 defaultval
=$wxUSE_ALL_FEATURES
13021 if test -z "$defaultval"; then
13022 if test x
"$enablestring" = xdisable
; then
13029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13030 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13031 # Check whether --enable-validators was given.
13032 if test "${enable_validators+set}" = set; then
13033 enableval
=$enable_validators;
13034 if test "$enableval" = yes; then
13035 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13037 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13042 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13047 eval "$wx_cv_use_validators"
13049 if test x"$enablestring" = xdisable; then
13050 if test $wxUSE_VALIDATORS = yes; then
13056 result=$wxUSE_VALIDATORS
13059 { echo "$as_me:$LINENO: result: $result" >&5
13060 echo "${ECHO_T}$result" >&6; }
13064 defaultval=$wxUSE_ALL_FEATURES
13065 if test -z "$defaultval"; then
13066 if test x"$enablestring" = xdisable; then
13073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13074 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13075 # Check whether --enable-busyinfo was given.
13076 if test "${enable_busyinfo+set}" = set; then
13077 enableval=$enable_busyinfo;
13078 if test "$enableval" = yes; then
13079 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13081 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13086 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13091 eval "$wx_cv_use_busyinfo"
13093 if test x"$enablestring" = xdisable; then
13094 if test $wxUSE_BUSYINFO = yes; then
13100 result=$wxUSE_BUSYINFO
13103 { echo "$as_me:$LINENO: result
: $result" >&5
13104 echo "${ECHO_T}$result" >&6; }
13108 defaultval=$wxUSE_ALL_FEATURES
13109 if test -z "$defaultval"; then
13110 if test x"$enablestring" = xdisable; then
13117 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13118 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13119 # Check whether --enable-joystick was given.
13120 if test "${enable_joystick+set}" = set; then
13121 enableval=$enable_joystick;
13122 if test "$enableval" = yes; then
13123 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13125 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13130 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13135 eval "$wx_cv_use_joystick"
13137 if test x
"$enablestring" = xdisable
; then
13138 if test $wxUSE_JOYSTICK = yes; then
13144 result
=$wxUSE_JOYSTICK
13147 { echo "$as_me:$LINENO: result: $result" >&5
13148 echo "${ECHO_T}$result" >&6; }
13152 defaultval
=$wxUSE_ALL_FEATURES
13153 if test -z "$defaultval"; then
13154 if test x
"$enablestring" = xdisable
; then
13161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13162 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13163 # Check whether --enable-metafile was given.
13164 if test "${enable_metafile+set}" = set; then
13165 enableval
=$enable_metafile;
13166 if test "$enableval" = yes; then
13167 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13169 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13174 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13179 eval "$wx_cv_use_metafile"
13181 if test x"$enablestring" = xdisable; then
13182 if test $wxUSE_METAFILE = yes; then
13188 result=$wxUSE_METAFILE
13191 { echo "$as_me:$LINENO: result: $result" >&5
13192 echo "${ECHO_T}$result" >&6; }
13196 defaultval=$wxUSE_ALL_FEATURES
13197 if test -z "$defaultval"; then
13198 if test x"$enablestring" = xdisable; then
13205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13206 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13207 # Check whether --enable-dragimage was given.
13208 if test "${enable_dragimage+set}" = set; then
13209 enableval=$enable_dragimage;
13210 if test "$enableval" = yes; then
13211 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13213 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13218 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13223 eval "$wx_cv_use_dragimage"
13225 if test x"$enablestring" = xdisable; then
13226 if test $wxUSE_DRAGIMAGE = yes; then
13232 result=$wxUSE_DRAGIMAGE
13235 { echo "$as_me:$LINENO: result
: $result" >&5
13236 echo "${ECHO_T}$result" >&6; }
13240 defaultval=$wxUSE_ALL_FEATURES
13241 if test -z "$defaultval"; then
13242 if test x"$enablestring" = xdisable; then
13249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13250 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13251 # Check whether --enable-accessibility was given.
13252 if test "${enable_accessibility+set}" = set; then
13253 enableval=$enable_accessibility;
13254 if test "$enableval" = yes; then
13255 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13257 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13262 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13267 eval "$wx_cv_use_accessibility"
13269 if test x
"$enablestring" = xdisable
; then
13270 if test $wxUSE_ACCESSIBILITY = yes; then
13276 result
=$wxUSE_ACCESSIBILITY
13279 { echo "$as_me:$LINENO: result: $result" >&5
13280 echo "${ECHO_T}$result" >&6; }
13286 defaultval
=$wxUSE_ALL_FEATURES
13287 if test -z "$defaultval"; then
13288 if test x
"$enablestring" = xdisable
; then
13295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13296 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13297 # Check whether --enable-palette was given.
13298 if test "${enable_palette+set}" = set; then
13299 enableval
=$enable_palette;
13300 if test "$enableval" = yes; then
13301 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13303 wx_cv_use_palette
='wxUSE_PALETTE=no'
13308 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13313 eval "$wx_cv_use_palette"
13315 if test x"$enablestring" = xdisable; then
13316 if test $wxUSE_PALETTE = yes; then
13322 result=$wxUSE_PALETTE
13325 { echo "$as_me:$LINENO: result: $result" >&5
13326 echo "${ECHO_T}$result" >&6; }
13330 defaultval=$wxUSE_ALL_FEATURES
13331 if test -z "$defaultval"; then
13332 if test x"$enablestring" = xdisable; then
13339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13340 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13341 # Check whether --enable-image was given.
13342 if test "${enable_image+set}" = set; then
13343 enableval=$enable_image;
13344 if test "$enableval" = yes; then
13345 wx_cv_use_image='wxUSE_IMAGE
=yes'
13347 wx_cv_use_image='wxUSE_IMAGE
=no
'
13352 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13357 eval "$wx_cv_use_image"
13359 if test x"$enablestring" = xdisable; then
13360 if test $wxUSE_IMAGE = yes; then
13366 result=$wxUSE_IMAGE
13369 { echo "$as_me:$LINENO: result
: $result" >&5
13370 echo "${ECHO_T}$result" >&6; }
13374 defaultval=$wxUSE_ALL_FEATURES
13375 if test -z "$defaultval"; then
13376 if test x"$enablestring" = xdisable; then
13383 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13384 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13385 # Check whether --enable-gif was given.
13386 if test "${enable_gif+set}" = set; then
13387 enableval=$enable_gif;
13388 if test "$enableval" = yes; then
13389 wx_cv_use_gif='wxUSE_GIF=yes'
13391 wx_cv_use_gif='wxUSE_GIF=no'
13396 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13401 eval "$wx_cv_use_gif"
13403 if test x
"$enablestring" = xdisable
; then
13404 if test $wxUSE_GIF = yes; then
13413 { echo "$as_me:$LINENO: result: $result" >&5
13414 echo "${ECHO_T}$result" >&6; }
13418 defaultval
=$wxUSE_ALL_FEATURES
13419 if test -z "$defaultval"; then
13420 if test x
"$enablestring" = xdisable
; then
13427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13428 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13429 # Check whether --enable-pcx was given.
13430 if test "${enable_pcx+set}" = set; then
13431 enableval
=$enable_pcx;
13432 if test "$enableval" = yes; then
13433 wx_cv_use_pcx
='wxUSE_PCX=yes'
13435 wx_cv_use_pcx
='wxUSE_PCX=no'
13440 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13445 eval "$wx_cv_use_pcx"
13447 if test x"$enablestring" = xdisable; then
13448 if test $wxUSE_PCX = yes; then
13457 { echo "$as_me:$LINENO: result: $result" >&5
13458 echo "${ECHO_T}$result" >&6; }
13462 defaultval=$wxUSE_ALL_FEATURES
13463 if test -z "$defaultval"; then
13464 if test x"$enablestring" = xdisable; then
13471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13472 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13473 # Check whether --enable-tga was given.
13474 if test "${enable_tga+set}" = set; then
13475 enableval=$enable_tga;
13476 if test "$enableval" = yes; then
13477 wx_cv_use_tga='wxUSE_TGA
=yes'
13479 wx_cv_use_tga='wxUSE_TGA
=no
'
13484 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13489 eval "$wx_cv_use_tga"
13491 if test x"$enablestring" = xdisable; then
13492 if test $wxUSE_TGA = yes; then
13501 { echo "$as_me:$LINENO: result
: $result" >&5
13502 echo "${ECHO_T}$result" >&6; }
13506 defaultval=$wxUSE_ALL_FEATURES
13507 if test -z "$defaultval"; then
13508 if test x"$enablestring" = xdisable; then
13515 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13516 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13517 # Check whether --enable-iff was given.
13518 if test "${enable_iff+set}" = set; then
13519 enableval=$enable_iff;
13520 if test "$enableval" = yes; then
13521 wx_cv_use_iff='wxUSE_IFF=yes'
13523 wx_cv_use_iff='wxUSE_IFF=no'
13528 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13533 eval "$wx_cv_use_iff"
13535 if test x
"$enablestring" = xdisable
; then
13536 if test $wxUSE_IFF = yes; then
13545 { echo "$as_me:$LINENO: result: $result" >&5
13546 echo "${ECHO_T}$result" >&6; }
13550 defaultval
=$wxUSE_ALL_FEATURES
13551 if test -z "$defaultval"; then
13552 if test x
"$enablestring" = xdisable
; then
13559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13560 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13561 # Check whether --enable-pnm was given.
13562 if test "${enable_pnm+set}" = set; then
13563 enableval
=$enable_pnm;
13564 if test "$enableval" = yes; then
13565 wx_cv_use_pnm
='wxUSE_PNM=yes'
13567 wx_cv_use_pnm
='wxUSE_PNM=no'
13572 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13577 eval "$wx_cv_use_pnm"
13579 if test x"$enablestring" = xdisable; then
13580 if test $wxUSE_PNM = yes; then
13589 { echo "$as_me:$LINENO: result: $result" >&5
13590 echo "${ECHO_T}$result" >&6; }
13594 defaultval=$wxUSE_ALL_FEATURES
13595 if test -z "$defaultval"; then
13596 if test x"$enablestring" = xdisable; then
13603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13604 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13605 # Check whether --enable-xpm was given.
13606 if test "${enable_xpm+set}" = set; then
13607 enableval=$enable_xpm;
13608 if test "$enableval" = yes; then
13609 wx_cv_use_xpm='wxUSE_XPM
=yes'
13611 wx_cv_use_xpm='wxUSE_XPM
=no
'
13616 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13621 eval "$wx_cv_use_xpm"
13623 if test x"$enablestring" = xdisable; then
13624 if test $wxUSE_XPM = yes; then
13633 { echo "$as_me:$LINENO: result
: $result" >&5
13634 echo "${ECHO_T}$result" >&6; }
13638 defaultval=$wxUSE_ALL_FEATURES
13639 if test -z "$defaultval"; then
13640 if test x"$enablestring" = xdisable; then
13647 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13648 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13649 # Check whether --enable-ico_cur was given.
13650 if test "${enable_ico_cur+set}" = set; then
13651 enableval=$enable_ico_cur;
13652 if test "$enableval" = yes; then
13653 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13655 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13660 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13665 eval "$wx_cv_use_ico_cur"
13667 if test x
"$enablestring" = xdisable
; then
13668 if test $wxUSE_ICO_CUR = yes; then
13674 result
=$wxUSE_ICO_CUR
13677 { echo "$as_me:$LINENO: result: $result" >&5
13678 echo "${ECHO_T}$result" >&6; }
13684 defaultval
=$wxUSE_ALL_FEATURES
13685 if test -z "$defaultval"; then
13686 if test x
"$enablestring" = xdisable
; then
13693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13694 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13695 # Check whether --enable-dccache was given.
13696 if test "${enable_dccache+set}" = set; then
13697 enableval
=$enable_dccache;
13698 if test "$enableval" = yes; then
13699 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13701 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13706 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13711 eval "$wx_cv_use_dccache"
13713 if test x"$enablestring" = xdisable; then
13714 if test $wxUSE_DC_CACHEING = yes; then
13720 result=$wxUSE_DC_CACHEING
13723 { echo "$as_me:$LINENO: result: $result" >&5
13724 echo "${ECHO_T}$result" >&6; }
13728 defaultval=$wxUSE_ALL_FEATURES
13729 if test -z "$defaultval"; then
13730 if test x"$enablestring" = xdisable; then
13737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13738 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13739 # Check whether --enable-ps-in-msw was given.
13740 if test "${enable_ps_in_msw+set}" = set; then
13741 enableval=$enable_ps_in_msw;
13742 if test "$enableval" = yes; then
13743 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13745 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13750 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13755 eval "$wx_cv_use_ps_in_msw"
13757 if test x"$enablestring" = xdisable; then
13758 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13764 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13767 { echo "$as_me:$LINENO: result
: $result" >&5
13768 echo "${ECHO_T}$result" >&6; }
13772 defaultval=$wxUSE_ALL_FEATURES
13773 if test -z "$defaultval"; then
13774 if test x"$enablestring" = xdisable; then
13781 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13782 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13783 # Check whether --enable-ownerdrawn was given.
13784 if test "${enable_ownerdrawn+set}" = set; then
13785 enableval=$enable_ownerdrawn;
13786 if test "$enableval" = yes; then
13787 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13789 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13794 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13799 eval "$wx_cv_use_ownerdrawn"
13801 if test x
"$enablestring" = xdisable
; then
13802 if test $wxUSE_OWNER_DRAWN = yes; then
13808 result
=$wxUSE_OWNER_DRAWN
13811 { echo "$as_me:$LINENO: result: $result" >&5
13812 echo "${ECHO_T}$result" >&6; }
13816 defaultval
=$wxUSE_ALL_FEATURES
13817 if test -z "$defaultval"; then
13818 if test x
"$enablestring" = xdisable
; then
13825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13826 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13827 # Check whether --enable-uxtheme was given.
13828 if test "${enable_uxtheme+set}" = set; then
13829 enableval
=$enable_uxtheme;
13830 if test "$enableval" = yes; then
13831 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13833 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13838 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13843 eval "$wx_cv_use_uxtheme"
13845 if test x"$enablestring" = xdisable; then
13846 if test $wxUSE_UXTHEME = yes; then
13852 result=$wxUSE_UXTHEME
13855 { echo "$as_me:$LINENO: result: $result" >&5
13856 echo "${ECHO_T}$result" >&6; }
13860 defaultval=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x"$enablestring" = xdisable; then
13869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13870 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13871 # Check whether --enable-wxdib was given.
13872 if test "${enable_wxdib+set}" = set; then
13873 enableval=$enable_wxdib;
13874 if test "$enableval" = yes; then
13875 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13877 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13882 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13887 eval "$wx_cv_use_wxdib"
13889 if test x"$enablestring" = xdisable; then
13890 if test $wxUSE_DIB = yes; then
13899 { echo "$as_me:$LINENO: result
: $result" >&5
13900 echo "${ECHO_T}$result" >&6; }
13903 if test "$wxUSE_MSW" != 1; then
13904 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13909 defaultval=$wxUSE_ALL_FEATURES
13910 if test -z "$defaultval"; then
13911 if test x"$enablestring" = xdisable; then
13918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13919 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13920 # Check whether --enable-autoidman was given.
13921 if test "${enable_autoidman+set}" = set; then
13922 enableval=$enable_autoidman;
13923 if test "$enableval" = yes; then
13924 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13926 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13931 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13936 eval "$wx_cv_use_autoidman"
13938 if test x
"$enablestring" = xdisable
; then
13939 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13945 result
=$wxUSE_AUTOID_MANAGEMENT
13948 { echo "$as_me:$LINENO: result: $result" >&5
13949 echo "${ECHO_T}$result" >&6; }
13955 cat >confcache
<<\_ACEOF
13956 # This file is a shell script that caches the results of configure
13957 # tests run on this system so they can be shared between configure
13958 # scripts and configure runs, see configure's option --config-cache.
13959 # It is not useful on other systems. If it contains results you don't
13960 # want to keep, you may remove or edit it.
13962 # config.status only pays attention to the cache file if you give it
13963 # the --recheck option to rerun configure.
13965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13967 # following values.
13971 # The following way of writing the cache mishandles newlines in values,
13972 # but we know of no workaround that is simple, portable, and efficient.
13973 # So, we kill variables containing newlines.
13974 # Ultrix sh set writes to stderr and can't be redirected directly,
13975 # and sets the high bit in the cache file unless we assign to the vars.
13977 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13978 eval ac_val
=\$
$ac_var
13982 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13983 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13986 _
| IFS
| as_nl
) ;; #(
13987 *) $as_unset $ac_var ;;
13993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13994 *${as_nl}ac_space
=\
*)
13995 # `set' does not quote correctly, so add quotes (double-quote
13996 # substitution turns \\\\ into \\, and sed turns \\ into \).
13999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14002 # `set' quotes correctly as required by POSIX, so do not add quotes.
14003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14016 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14017 if test -w "$cache_file"; then
14018 test "x$cache_file" != "x/dev/null" &&
14019 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14020 echo "$as_me: updating cache $cache_file" >&6;}
14021 cat confcache
>$cache_file
14023 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14024 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14034 ac_cpp
='$CPP $CPPFLAGS'
14035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14038 if test -n "$ac_tool_prefix"; then
14039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14043 if test "${ac_cv_prog_CC+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 if test -n "$CC"; then
14047 ac_cv_prog_CC
="$CC" # Let the user override the test.
14049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14050 for as_dir
in $PATH
14053 test -z "$as_dir" && as_dir
=.
14054 for ac_exec_ext
in '' $ac_executable_extensions; do
14055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14067 if test -n "$CC"; then
14068 { echo "$as_me:$LINENO: result: $CC" >&5
14069 echo "${ECHO_T}$CC" >&6; }
14071 { echo "$as_me:$LINENO: result: no" >&5
14072 echo "${ECHO_T}no" >&6; }
14077 if test -z "$ac_cv_prog_CC"; then
14079 # Extract the first word of "gcc", so it can be a program name with args.
14080 set dummy gcc
; ac_word
=$2
14081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 if test -n "$ac_ct_CC"; then
14087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14090 for as_dir
in $PATH
14093 test -z "$as_dir" && as_dir
=.
14094 for ac_exec_ext
in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_ac_ct_CC
="gcc"
14097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14107 if test -n "$ac_ct_CC"; then
14108 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14109 echo "${ECHO_T}$ac_ct_CC" >&6; }
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14115 if test "x$ac_ct_CC" = x
; then
14118 case $cross_compiling:$ac_tool_warned in
14120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&5
14123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14124 whose name does not start with the host triplet. If you think this
14125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14126 ac_tool_warned
=yes ;;
14131 CC
="$ac_cv_prog_CC"
14134 if test -z "$CC"; then
14135 if test -n "$ac_tool_prefix"; then
14136 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14137 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14140 if test "${ac_cv_prog_CC+set}" = set; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 if test -n "$CC"; then
14144 ac_cv_prog_CC
="$CC" # Let the user override the test.
14146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14147 for as_dir
in $PATH
14150 test -z "$as_dir" && as_dir
=.
14151 for ac_exec_ext
in '' $ac_executable_extensions; do
14152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14153 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14164 if test -n "$CC"; then
14165 { echo "$as_me:$LINENO: result: $CC" >&5
14166 echo "${ECHO_T}$CC" >&6; }
14168 { echo "$as_me:$LINENO: result: no" >&5
14169 echo "${ECHO_T}no" >&6; }
14175 if test -z "$CC"; then
14176 # Extract the first word of "cc", so it can be a program name with args.
14177 set dummy cc
; ac_word
=$2
14178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14180 if test "${ac_cv_prog_CC+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 if test -n "$CC"; then
14184 ac_cv_prog_CC
="$CC" # Let the user override the test.
14186 ac_prog_rejected
=no
14187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14188 for as_dir
in $PATH
14191 test -z "$as_dir" && as_dir
=.
14192 for ac_exec_ext
in '' $ac_executable_extensions; do
14193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14194 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14195 ac_prog_rejected
=yes
14199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14206 if test $ac_prog_rejected = yes; then
14207 # We found a bogon in the path, so make sure we never use it.
14208 set dummy
$ac_cv_prog_CC
14210 if test $# != 0; then
14211 # We chose a different compiler from the bogus one.
14212 # However, it has the same basename, so the bogon will be chosen
14213 # first if we set CC to just the basename; use the full file name.
14215 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14221 if test -n "$CC"; then
14222 { echo "$as_me:$LINENO: result: $CC" >&5
14223 echo "${ECHO_T}$CC" >&6; }
14225 { echo "$as_me:$LINENO: result: no" >&5
14226 echo "${ECHO_T}no" >&6; }
14231 if test -z "$CC"; then
14232 if test -n "$ac_tool_prefix"; then
14233 for ac_prog
in cl.exe
14235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14239 if test "${ac_cv_prog_CC+set}" = set; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 if test -n "$CC"; then
14243 ac_cv_prog_CC
="$CC" # Let the user override the test.
14245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14246 for as_dir
in $PATH
14249 test -z "$as_dir" && as_dir
=.
14250 for ac_exec_ext
in '' $ac_executable_extensions; do
14251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14252 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14263 if test -n "$CC"; then
14264 { echo "$as_me:$LINENO: result: $CC" >&5
14265 echo "${ECHO_T}$CC" >&6; }
14267 { echo "$as_me:$LINENO: result: no" >&5
14268 echo "${ECHO_T}no" >&6; }
14272 test -n "$CC" && break
14275 if test -z "$CC"; then
14277 for ac_prog
in cl.exe
14279 # Extract the first word of "$ac_prog", so it can be a program name with args.
14280 set dummy
$ac_prog; ac_word
=$2
14281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14283 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14284 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 if test -n "$ac_ct_CC"; then
14287 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14290 for as_dir
in $PATH
14293 test -z "$as_dir" && as_dir
=.
14294 for ac_exec_ext
in '' $ac_executable_extensions; do
14295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14296 ac_cv_prog_ac_ct_CC
="$ac_prog"
14297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14306 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14307 if test -n "$ac_ct_CC"; then
14308 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14309 echo "${ECHO_T}$ac_ct_CC" >&6; }
14311 { echo "$as_me:$LINENO: result: no" >&5
14312 echo "${ECHO_T}no" >&6; }
14316 test -n "$ac_ct_CC" && break
14319 if test "x$ac_ct_CC" = x
; then
14322 case $cross_compiling:$ac_tool_warned in
14324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14325 whose name does not start with the host triplet. If you think this
14326 configuration is useful to you, please write to autoconf@gnu.org." >&5
14327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14328 whose name does not start with the host triplet. If you think this
14329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14330 ac_tool_warned
=yes ;;
14339 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14340 See \`config.log' for more details." >&5
14341 echo "$as_me: error: no acceptable C compiler found in \$PATH
14342 See \`config.log' for more details." >&2;}
14343 { (exit 1); exit 1; }; }
14345 # Provide some information about the compiler.
14346 echo "$as_me:$LINENO: checking for C compiler version" >&5
14347 ac_compiler
=`set X $ac_compile; echo $2`
14348 { (ac_try
="$ac_compiler --version >&5"
14349 case "(($ac_try" in
14350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14351 *) ac_try_echo=$ac_try;;
14353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14354 (eval "$ac_compiler --version >&5") 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }
14358 { (ac_try="$ac_compiler -v >&5"
14359 case "(($ac_try" in
14360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14361 *) ac_try_echo
=$ac_try;;
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_compiler -v >&5") 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }
14368 { (ac_try
="$ac_compiler -V >&5"
14369 case "(($ac_try" in
14370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14371 *) ac_try_echo=$ac_try;;
14373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14374 (eval "$ac_compiler -V >&5") 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }
14379 cat >conftest.$ac_ext <<_ACEOF
14382 cat confdefs.h >>conftest.$ac_ext
14383 cat >>conftest.$ac_ext <<_ACEOF
14384 /* end confdefs.h. */
14394 ac_clean_files_save=$ac_clean_files
14395 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14396 # Try to create an executable without -o first, disregard a.out.
14397 # It will help us diagnose broken compilers, and finding out an intuition
14399 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14400 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14401 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14403 # List of possible output files, starting from the most likely.
14404 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14405 # only as a last resort. b.out is created by i960 compilers.
14406 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14408 # The IRIX 6 linker writes into existing files which may not be
14409 # executable, retaining their permissions. Remove them first so a
14410 # subsequent execution test works.
14412 for ac_file in $ac_files
14415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14416 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14421 if { (ac_try="$ac_link_default"
14422 case "(($ac_try" in
14423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14424 *) ac_try_echo=$ac_try;;
14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14427 (eval "$ac_link_default") 2>&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; then
14431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14432 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14433 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14434 # so that the user can short-circuit this test for compilers unknown to
14436 for ac_file
in $ac_files ''
14438 test -f "$ac_file" || continue
14440 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14443 # We found the default executable, but exeext='' is most
14447 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14449 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14451 # We set ac_cv_exeext here because the later test for it is not
14452 # safe: cross compilers may not add the suffix if given an `-o'
14453 # argument, so we may need to know it at that point already.
14454 # Even if this section looks crufty: it has the advantage of
14455 # actually working.
14461 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14467 { echo "$as_me:$LINENO: result: $ac_file" >&5
14468 echo "${ECHO_T}$ac_file" >&6; }
14469 if test -z "$ac_file"; then
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.
$ac_ext >&5
14473 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14474 See \`config.log' for more details." >&5
14475 echo "$as_me: error: C compiler cannot create executables
14476 See \`config.log' for more details." >&2;}
14477 { (exit 77); exit 77; }; }
14480 ac_exeext
=$ac_cv_exeext
14482 # Check that the compiler produces executables we can run. If not, either
14483 # the compiler is broken, or we cross compile.
14484 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14485 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14486 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14487 # If not cross compiling, check that we can run a simple program.
14488 if test "$cross_compiling" != yes; then
14489 if { ac_try
='./$ac_file'
14490 { (case "(($ac_try" in
14491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_try") 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14501 if test "$cross_compiling" = maybe; then
14502 cross_compiling=yes
14504 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14505 If you meant to cross compile, use \`--host'.
14506 See \`config.log' for more details.
" >&5
14507 echo "$as_me: error
: cannot run C compiled programs.
14508 If you meant to cross compile
, use \
`--host'.
14509 See \`config.log
' for more details." >&2;}
14510 { (exit 1); exit 1; }; }
14514 { echo "$as_me:$LINENO: result: yes" >&5
14515 echo "${ECHO_T}yes" >&6; }
14517 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14518 ac_clean_files=$ac_clean_files_save
14519 # Check that the compiler produces executables we can run. If not, either
14520 # the compiler is broken, or we cross compile.
14521 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14522 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14523 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14524 echo "${ECHO_T}$cross_compiling" >&6; }
14526 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14527 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14528 if { (ac_try="$ac_link"
14529 case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_link") 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; then
14538 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14539 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14540 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14542 for ac_file
in conftest.exe conftest conftest.
*; do
14543 test -f "$ac_file" || continue
14545 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14546 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14552 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14553 See \`config.log' for more details." >&5
14554 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14555 See \`config.log' for more details." >&2;}
14556 { (exit 1); exit 1; }; }
14559 rm -f conftest
$ac_cv_exeext
14560 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14561 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14563 rm -f conftest.
$ac_ext
14564 EXEEXT
=$ac_cv_exeext
14566 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14567 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14568 if test "${ac_cv_objext+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 cat >conftest.
$ac_ext <<_ACEOF
14574 cat confdefs.h
>>conftest.
$ac_ext
14575 cat >>conftest.
$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14586 rm -f conftest.o conftest.obj
14587 if { (ac_try
="$ac_compile"
14588 case "(($ac_try" in
14589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14590 *) ac_try_echo=$ac_try;;
14592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14593 (eval "$ac_compile") 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; then
14597 for ac_file in conftest.o conftest.obj conftest.*; do
14598 test -f "$ac_file" || continue;
14600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14601 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14609 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14610 See \`config.log
' for more details." >&5
14611 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14612 See \`config.log' for more details.
" >&2;}
14613 { (exit 1); exit 1; }; }
14616 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14618 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14619 echo "${ECHO_T}$ac_cv_objext" >&6; }
14620 OBJEXT=$ac_cv_objext
14622 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14623 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14624 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14625 echo $ECHO_N "(cached
) $ECHO_C" >&6
14627 cat >conftest.$ac_ext <<_ACEOF
14630 cat confdefs.h >>conftest.$ac_ext
14631 cat >>conftest.$ac_ext <<_ACEOF
14632 /* end confdefs.h. */
14645 rm -f conftest.$ac_objext
14646 if { (ac_try="$ac_compile"
14647 case "(($ac_try" in
14648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_compile") 2>conftest.er1
14654 grep -v '^ *+' conftest.er1 >conftest.err
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14658 (exit $ac_status); } && {
14659 test -z "$ac_c_werror_flag" ||
14660 test ! -s conftest.err
14661 } && test -s conftest.$ac_objext; then
14662 ac_compiler_gnu=yes
14664 echo "$as_me: failed program was
:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14674 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14676 GCC=`test $ac_compiler_gnu = yes && echo yes`
14677 ac_test_CFLAGS=${CFLAGS+set}
14678 ac_save_CFLAGS=$CFLAGS
14679 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14680 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14681 if test "${ac_cv_prog_cc_g+set}" = set; then
14682 echo $ECHO_N "(cached
) $ECHO_C" >&6
14684 ac_save_c_werror_flag=$ac_c_werror_flag
14685 ac_c_werror_flag=yes
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14703 rm -f conftest.$ac_objext
14704 if { (ac_try="$ac_compile"
14705 case "(($ac_try" in
14706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_compile") 2>conftest.er1
14712 grep -v '^ *+' conftest.er1 >conftest.err
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14716 (exit $ac_status); } && {
14717 test -z "$ac_c_werror_flag" ||
14718 test ! -s conftest.err
14719 } && test -s conftest.$ac_objext; then
14720 ac_cv_prog_cc_g=yes
14722 echo "$as_me: failed program was
:" >&5
14723 sed 's/^/| /' conftest.$ac_ext >&5
14726 cat >conftest.$ac_ext <<_ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14741 rm -f conftest.$ac_objext
14742 if { (ac_try="$ac_compile"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compile") 2>conftest.er1
14750 grep -v '^ *+' conftest.er1 >conftest.err
14752 cat conftest.err >&5
14753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14754 (exit $ac_status); } && {
14755 test -z "$ac_c_werror_flag" ||
14756 test ! -s conftest.err
14757 } && test -s conftest.$ac_objext; then
14760 echo "$as_me: failed program was
:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14763 ac_c_werror_flag=$ac_save_c_werror_flag
14765 cat >conftest.$ac_ext <<_ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14780 rm -f conftest.$ac_objext
14781 if { (ac_try="$ac_compile"
14782 case "(($ac_try" in
14783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_compile") 2>conftest.er1
14789 grep -v '^ *+' conftest.er1 >conftest.err
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14793 (exit $ac_status); } && {
14794 test -z "$ac_c_werror_flag" ||
14795 test ! -s conftest.err
14796 } && test -s conftest.$ac_objext; then
14797 ac_cv_prog_cc_g=yes
14799 echo "$as_me: failed program was
:" >&5
14800 sed 's/^/| /' conftest.$ac_ext >&5
14805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 ac_c_werror_flag=$ac_save_c_werror_flag
14814 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14816 if test "$ac_test_CFLAGS" = set; then
14817 CFLAGS=$ac_save_CFLAGS
14818 elif test $ac_cv_prog_cc_g = yes; then
14819 if test "$GCC" = yes; then
14825 if test "$GCC" = yes; then
14831 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14832 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14833 if test "${ac_cv_prog_cc_c89+set}" = set; then
14834 echo $ECHO_N "(cached
) $ECHO_C" >&6
14836 ac_cv_prog_cc_c89=no
14838 cat >conftest.$ac_ext <<_ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 #include <stdarg.h>
14846 #include <sys/types.h>
14847 #include <sys/stat.h>
14848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14849 struct buf { int x; };
14850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14851 static char *e (p, i)
14857 static char *f (char * (*g) (char **, int), char **p, ...)
14862 s = g (p, va_arg (v,int));
14867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14868 function prototypes and stuff, but not '\xHH' hex character constants.
14869 These don't provoke an error unfortunately, instead are silently treated
14870 as 'x'. The following induces an error, until -std is added to get
14871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14872 array size at least. It's necessary to write '\x00'==0 to get something
14873 that's true only with -std. */
14874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14877 inside strings and character constants. */
14879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14881 int test (int i, double x);
14882 struct s1 {int (*f) (int a);};
14883 struct s2 {int (*f) (double a);};
14884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14898 CC="$ac_save_CC $ac_arg"
14899 rm -f conftest.$ac_objext
14900 if { (ac_try="$ac_compile"
14901 case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14903 *) ac_try_echo=$ac_try;;
14905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_compile") 2>conftest.er1
14908 grep -v '^ *+' conftest.er1 >conftest.err
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14912 (exit $ac_status); } && {
14913 test -z "$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14915 } && test -s conftest.$ac_objext; then
14916 ac_cv_prog_cc_c89=$ac_arg
14918 echo "$as_me: failed program was
:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14924 rm -f core conftest.err conftest.$ac_objext
14925 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14927 rm -f conftest.$ac_ext
14932 case "x
$ac_cv_prog_cc_c89" in
14934 { echo "$as_me:$LINENO: result
: none needed
" >&5
14935 echo "${ECHO_T}none needed
" >&6; } ;;
14937 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14938 echo "${ECHO_T}unsupported
" >&6; } ;;
14940 CC="$CC $ac_cv_prog_cc_c89"
14941 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14942 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14956 ac_cpp='$CPP $CPPFLAGS'
14957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14961 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14962 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14963 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14964 echo $ECHO_N "(cached
) $ECHO_C" >&6
14966 cat >conftest.$ac_ext <<_ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14977 #ifndef __INTEL_COMPILER
14985 rm -f conftest.$ac_objext
14986 if { (ac_try="$ac_compile"
14987 case "(($ac_try" in
14988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14989 *) ac_try_echo=$ac_try;;
14991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14992 (eval "$ac_compile") 2>conftest.er1
14994 grep -v '^ *+' conftest.er1 >conftest.err
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14998 (exit $ac_status); } && {
14999 test -z "$ac_c_werror_flag" ||
15000 test ! -s conftest.err
15001 } && test -s conftest.$ac_objext; then
15002 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15004 echo "$as_me: failed program was
:" >&5
15005 sed 's/^/| /' conftest.$ac_ext >&5
15007 bakefile_cv_c_compiler___INTEL_COMPILER=no
15011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15015 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15016 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15017 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15023 ac_cpp='$CPP $CPPFLAGS'
15024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15031 if test "$INTELCC" = "yes"; then
15035 ac_cpp='$CPP $CPPFLAGS'
15036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15040 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15041 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15042 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15043 echo $ECHO_N "(cached
) $ECHO_C" >&6
15045 cat >conftest.$ac_ext <<_ACEOF
15048 cat confdefs.h >>conftest.$ac_ext
15049 cat >>conftest.$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15056 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15064 rm -f conftest.$ac_objext
15065 if { (ac_try="$ac_compile"
15066 case "(($ac_try" in
15067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15068 *) ac_try_echo=$ac_try;;
15070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15071 (eval "$ac_compile") 2>conftest.er1
15073 grep -v '^ *+' conftest.er1 >conftest.err
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15077 (exit $ac_status); } && {
15078 test -z "$ac_c_werror_flag" ||
15079 test ! -s conftest.err
15080 } && test -s conftest.$ac_objext; then
15081 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15083 echo "$as_me: failed program was
:" >&5
15084 sed 's/^/| /' conftest.$ac_ext >&5
15086 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15094 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15095 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15096 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15112 ac_cpp='$CPP $CPPFLAGS'
15113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15117 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15118 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15119 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15120 echo $ECHO_N "(cached
) $ECHO_C" >&6
15122 cat >conftest.$ac_ext <<_ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15133 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15141 rm -f conftest.$ac_objext
15142 if { (ac_try="$ac_compile"
15143 case "(($ac_try" in
15144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;;
15147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15148 (eval "$ac_compile") 2>conftest.er1
15150 grep -v '^ *+' conftest.er1 >conftest.err
15152 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15154 (exit $ac_status); } && {
15155 test -z "$ac_c_werror_flag" ||
15156 test ! -s conftest.err
15157 } && test -s conftest.$ac_objext; then
15158 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15160 echo "$as_me: failed program was
:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15163 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15171 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15172 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15173 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15179 ac_cpp='$CPP $CPPFLAGS'
15180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15188 if test "x
$GCC" != "xyes
"; then
15189 if test "xCC
" = "xC
"; then
15190 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15191 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15192 if test "${bakefile_cv_c_exto+set}" = set; then
15193 echo $ECHO_N "(cached
) $ECHO_C" >&6
15195 cat >conftest.$ac_ext <<_ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15210 rm -f conftest.$ac_objext conftest.$ac_ext.o
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15215 (exit $ac_status); }; then
15216 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15218 conftest.$ac_ext.o)
15219 bakefile_cv_c_exto="-ext o
"
15226 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15227 See \
`config.log' for more details." >&5
15228 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15229 See \`config.log
' for more details." >&2;}
15230 { (exit 1); exit 1; }; }
15234 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15237 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15238 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15240 if test "c" = "c"; then
15241 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15243 if test "c" = "cxx"; then
15244 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15248 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15249 unset ac_cv_prog_cc_g
15250 ac_test_CFLAGS=${CFLAGS+set}
15251 ac_save_CFLAGS=$CFLAGS
15252 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15253 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15254 if test "${ac_cv_prog_cc_g+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 ac_save_c_werror_flag=$ac_c_werror_flag
15258 ac_c_werror_flag=yes
15261 cat >conftest.$ac_ext <<_ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15276 rm -f conftest.$ac_objext
15277 if { (ac_try="$ac_compile"
15278 case "(($ac_try" in
15279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15280 *) ac_try_echo=$ac_try;;
15282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15283 (eval "$ac_compile") 2>conftest.er1
15285 grep -v '^
*+' conftest.er1 >conftest.err
15287 cat conftest.err >&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } && {
15290 test -z "$ac_c_werror_flag" ||
15291 test ! -s conftest.err
15292 } && test -s conftest.$ac_objext; then
15293 ac_cv_prog_cc_g=yes
15295 echo "$as_me: failed program was:" >&5
15296 sed 's
/^
/| /' conftest.$ac_ext >&5
15299 cat >conftest.$ac_ext <<_ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15323 grep -v '^
*+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15333 echo "$as_me: failed program was:" >&5
15334 sed 's
/^
/| /' conftest.$ac_ext >&5
15336 ac_c_werror_flag=$ac_save_c_werror_flag
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15353 rm -f conftest.$ac_objext
15354 if { (ac_try="$ac_compile"
15355 case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_compile") 2>conftest.er1
15362 grep -v '^
*+' conftest.er1 >conftest.err
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest.$ac_objext; then
15370 ac_cv_prog_cc_g=yes
15372 echo "$as_me: failed program was:" >&5
15373 sed 's
/^
/| /' conftest.$ac_ext >&5
15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15385 ac_c_werror_flag=$ac_save_c_werror_flag
15387 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15388 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15389 if test "$ac_test_CFLAGS" = set; then
15390 CFLAGS=$ac_save_CFLAGS
15391 elif test $ac_cv_prog_cc_g = yes; then
15392 if test "$GCC" = yes; then
15398 if test "$GCC" = yes; then
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15414 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15418 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15419 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 cat >conftest.$ac_ext <<_ACEOF
15425 cat confdefs.h >>conftest.$ac_ext
15426 cat >>conftest.$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15441 rm -f conftest.$ac_objext
15442 if { (ac_try="$ac_compile"
15443 case "(($ac_try" in
15444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15445 *) ac_try_echo=$ac_try;;
15447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15448 (eval "$ac_compile") 2>conftest.er1
15450 grep -v '^
*+' conftest.er1 >conftest.err
15452 cat conftest.err >&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } && {
15455 test -z "$ac_c_werror_flag" ||
15456 test ! -s conftest.err
15457 } && test -s conftest.$ac_objext; then
15458 bakefile_cv_c_compiler___xlC__=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's
/^
/| /' conftest.$ac_ext >&5
15463 bakefile_cv_c_compiler___xlC__=no
15467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15471 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15472 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15473 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15481 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15492 ac_cpp='$CPP $CPPFLAGS'
15493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15494 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15497 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15498 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15499 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 cat >conftest.$ac_ext <<_ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15521 rm -f conftest.$ac_objext
15522 if { (ac_try="$ac_compile"
15523 case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_compile") 2>conftest.er1
15530 grep -v '^
*+' conftest.er1 >conftest.err
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest.$ac_objext; then
15538 bakefile_cv_c_compiler___MWERKS__=yes
15540 echo "$as_me: failed program was:" >&5
15541 sed 's
/^
/| /' conftest.$ac_ext >&5
15543 bakefile_cv_c_compiler___MWERKS__=no
15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15551 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15552 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15553 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15561 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15566 if test "$MWCC" != "yes"; then
15570 ac_cpp='$CPP $CPPFLAGS'
15571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15572 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15575 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15576 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15577 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 cat >conftest.$ac_ext <<_ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15599 rm -f conftest.$ac_objext
15600 if { (ac_try="$ac_compile"
15601 case "(($ac_try" in
15602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15603 *) ac_try_echo=$ac_try;;
15605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15606 (eval "$ac_compile") 2>conftest.er1
15608 grep -v '^
*+' conftest.er1 >conftest.err
15610 cat conftest.err >&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } && {
15613 test -z "$ac_c_werror_flag" ||
15614 test ! -s conftest.err
15615 } && test -s conftest.$ac_objext; then
15616 bakefile_cv_c_compiler___xlC__=yes
15618 echo "$as_me: failed program was:" >&5
15619 sed 's
/^
/| /' conftest.$ac_ext >&5
15621 bakefile_cv_c_compiler___xlC__=no
15625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15629 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15630 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15631 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15637 ac_cpp='$CPP $CPPFLAGS'
15638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15639 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15651 ac_cpp='$CPP $CPPFLAGS'
15652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15653 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15656 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15657 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15658 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 cat >conftest.$ac_ext <<_ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15672 #ifndef _SGI_COMPILER_VERSION
15680 rm -f conftest.$ac_objext
15681 if { (ac_try="$ac_compile"
15682 case "(($ac_try" in
15683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15684 *) ac_try_echo=$ac_try;;
15686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15687 (eval "$ac_compile") 2>conftest.er1
15689 grep -v '^
*+' conftest.er1 >conftest.err
15691 cat conftest.err >&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); } && {
15694 test -z "$ac_c_werror_flag" ||
15695 test ! -s conftest.err
15696 } && test -s conftest.$ac_objext; then
15697 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15699 echo "$as_me: failed program was:" >&5
15700 sed 's
/^
/| /' conftest.$ac_ext >&5
15702 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15710 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15711 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15712 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15718 ac_cpp='$CPP $CPPFLAGS'
15719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15720 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15728 if test "$INTELCC" != "yes"; then
15732 ac_cpp='$CPP $CPPFLAGS'
15733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15734 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15737 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15738 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15739 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15740 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 cat >conftest.$ac_ext <<_ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15761 rm -f conftest.$ac_objext
15762 if { (ac_try="$ac_compile"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_compile") 2>conftest.er1
15770 grep -v '^
*+' conftest.er1 >conftest.err
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && {
15775 test -z "$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15777 } && test -s conftest.$ac_objext; then
15778 bakefile_cv_c_compiler___SUNPRO_C=yes
15780 echo "$as_me: failed program was:" >&5
15781 sed 's
/^
/| /' conftest.$ac_ext >&5
15783 bakefile_cv_c_compiler___SUNPRO_C=no
15787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15791 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15792 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15793 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15799 ac_cpp='$CPP $CPPFLAGS'
15800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15801 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813 ac_cpp='$CPP $CPPFLAGS'
15814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15815 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15818 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15819 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15820 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 cat >conftest.$ac_ext <<_ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15842 rm -f conftest.$ac_objext
15843 if { (ac_try="$ac_compile"
15844 case "(($ac_try" in
15845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15846 *) ac_try_echo=$ac_try;;
15848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15849 (eval "$ac_compile") 2>conftest.er1
15851 grep -v '^
*+' conftest.er1 >conftest.err
15853 cat conftest.err >&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } && {
15856 test -z "$ac_c_werror_flag" ||
15857 test ! -s conftest.err
15858 } && test -s conftest.$ac_objext; then
15859 bakefile_cv_c_compiler___HP_cc=yes
15861 echo "$as_me: failed program was:" >&5
15862 sed 's
/^
/| /' conftest.$ac_ext >&5
15864 bakefile_cv_c_compiler___HP_cc=no
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15872 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15873 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15874 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15882 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15893 ac_cpp='$CPP $CPPFLAGS'
15894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15895 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15898 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15899 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15900 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 cat >conftest.$ac_ext <<_ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15922 rm -f conftest.$ac_objext
15923 if { (ac_try="$ac_compile"
15924 case "(($ac_try" in
15925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15929 (eval "$ac_compile") 2>conftest.er1
15931 grep -v '^
*+' conftest.er1 >conftest.err
15933 cat conftest.err >&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } && {
15936 test -z "$ac_c_werror_flag" ||
15937 test ! -s conftest.err
15938 } && test -s conftest.$ac_objext; then
15939 bakefile_cv_c_compiler___DECC=yes
15941 echo "$as_me: failed program was:" >&5
15942 sed 's
/^
/| /' conftest.$ac_ext >&5
15944 bakefile_cv_c_compiler___DECC=no
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15952 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15953 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15954 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15962 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15973 ac_cpp='$CPP $CPPFLAGS'
15974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15975 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15978 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15979 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15980 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 cat >conftest.$ac_ext <<_ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
16002 rm -f conftest.$ac_objext
16003 if { (ac_try="$ac_compile"
16004 case "(($ac_try" in
16005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006 *) ac_try_echo=$ac_try;;
16008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16009 (eval "$ac_compile") 2>conftest.er1
16011 grep -v '^
*+' conftest.er1 >conftest.err
16013 cat conftest.err >&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } && {
16016 test -z "$ac_c_werror_flag" ||
16017 test ! -s conftest.err
16018 } && test -s conftest.$ac_objext; then
16019 bakefile_cv_c_compiler___SUNPRO_C=yes
16021 echo "$as_me: failed program was:" >&5
16022 sed 's
/^
/| /' conftest.$ac_ext >&5
16024 bakefile_cv_c_compiler___SUNPRO_C=no
16028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16032 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16033 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16034 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16042 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16054 ac_cpp='$CPP $CPPFLAGS'
16055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16058 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16059 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16060 # On Suns, sometimes $CPP names a directory.
16061 if test -n "$CPP" && test -d "$CPP"; then
16064 if test -z "$CPP"; then
16065 if test "${ac_cv_prog_CPP+set}" = set; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 # Double quotes because CPP needs to be expanded
16069 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16071 ac_preproc_ok=false
16072 for ac_c_preproc_warn_flag in '' yes
16074 # Use a header file that comes with gcc, so configuring glibc
16075 # with a fresh cross-compiler works.
16076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16077 # <limits.h> exists even on freestanding compilers.
16078 # On the NeXT, cc -E runs the code through the compiler's parser
,
16079 # not just through cpp. "Syntax error" is here to catch this case.
16080 cat >conftest.
$ac_ext <<_ACEOF
16083 cat confdefs.h
>>conftest.
$ac_ext
16084 cat >>conftest.
$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16087 # include <limits.h>
16089 # include <assert.h>
16093 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16094 case "(($ac_try" in
16095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16101 grep -v '^ *+' conftest.er1 >conftest.err
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } >/dev/null && {
16106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16114 # Broken: fails on valid input.
16118 rm -f conftest.err conftest.$ac_ext
16120 # OK, works on sane cases. Now check whether nonexistent headers
16121 # can be detected and how.
16122 cat >conftest.$ac_ext <<_ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 #include <ac_nonexistent.h>
16130 if { (ac_try="$ac_cpp conftest.$ac_ext"
16131 case "(($ac_try" in
16132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16133 *) ac_try_echo
=$ac_try;;
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16138 grep -v '^ *+' conftest.er1
>conftest.err
16140 cat conftest.err
>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } >/dev
/null
&& {
16143 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16144 test ! -s conftest.err
16146 # Broken: success on invalid input.
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16152 # Passes both tests.
16157 rm -f conftest.err conftest.
$ac_ext
16160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16161 rm -f conftest.err conftest.
$ac_ext
16162 if $ac_preproc_ok; then
16167 ac_cv_prog_CPP
=$CPP
16170 CPP
=$ac_cv_prog_CPP
16172 ac_cv_prog_CPP
=$CPP
16174 { echo "$as_me:$LINENO: result: $CPP" >&5
16175 echo "${ECHO_T}$CPP" >&6; }
16176 ac_preproc_ok
=false
16177 for ac_c_preproc_warn_flag
in '' yes
16179 # Use a header file that comes with gcc, so configuring glibc
16180 # with a fresh cross-compiler works.
16181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16182 # <limits.h> exists even on freestanding compilers.
16183 # On the NeXT, cc -E runs the code through the compiler's parser,
16184 # not just through cpp. "Syntax error" is here to catch this case.
16185 cat >conftest.
$ac_ext <<_ACEOF
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16192 # include <limits.h>
16194 # include <assert.h>
16198 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16199 case "(($ac_try" in
16200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16201 *) ac_try_echo=$ac_try;;
16203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16206 grep -v '^ *+' conftest.er1 >conftest.err
16208 cat conftest.err >&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } >/dev/null && {
16211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16212 test ! -s conftest.err
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16219 # Broken: fails on valid input.
16223 rm -f conftest.err conftest.$ac_ext
16225 # OK, works on sane cases. Now check whether nonexistent headers
16226 # can be detected and how.
16227 cat >conftest.$ac_ext <<_ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 #include <ac_nonexistent.h>
16235 if { (ac_try="$ac_cpp conftest.$ac_ext"
16236 case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16238 *) ac_try_echo
=$ac_try;;
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16243 grep -v '^ *+' conftest.er1
>conftest.err
16245 cat conftest.err
>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } >/dev
/null
&& {
16248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16249 test ! -s conftest.err
16251 # Broken: success on invalid input.
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.
$ac_ext >&5
16257 # Passes both tests.
16262 rm -f conftest.err conftest.
$ac_ext
16265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16266 rm -f conftest.err conftest.
$ac_ext
16267 if $ac_preproc_ok; then
16270 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16271 See \`config.log' for more details." >&5
16272 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16273 See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; }
16278 ac_cpp
='$CPP $CPPFLAGS'
16279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16284 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16285 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16286 if test "${ac_cv_path_GREP+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 # Extract the first word of "grep ggrep" to use in msg output
16290 if test -z "$GREP"; then
16291 set dummy
grep ggrep
; ac_prog_name
=$2
16292 if test "${ac_cv_path_GREP+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 ac_path_GREP_found
=false
16296 # Loop through the user's path and test for each of PROGNAME-LIST
16297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16298 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16301 test -z "$as_dir" && as_dir
=.
16302 for ac_prog
in grep ggrep
; do
16303 for ac_exec_ext
in '' $ac_executable_extensions; do
16304 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16305 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16306 # Check for GNU ac_path_GREP and select it if it is found.
16307 # Check for GNU $ac_path_GREP
16308 case `"$ac_path_GREP" --version 2>&1` in
16310 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16313 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16316 cat "conftest.in" "conftest.in" >"conftest.tmp"
16317 mv "conftest.tmp" "conftest.in"
16318 cp "conftest.in" "conftest.nl"
16319 echo 'GREP' >> "conftest.nl"
16320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16321 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16322 ac_count
=`expr $ac_count + 1`
16323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16324 # Best one so far, save it but keep looking for a better one
16325 ac_cv_path_GREP
="$ac_path_GREP"
16326 ac_path_GREP_max
=$ac_count
16328 # 10*(2^10) chars as input seems more than enough
16329 test $ac_count -gt 10 && break
16331 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16335 $ac_path_GREP_found && break 3
16345 GREP
="$ac_cv_path_GREP"
16346 if test -z "$GREP"; then
16347 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16348 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16349 { (exit 1); exit 1; }; }
16353 ac_cv_path_GREP
=$GREP
16358 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16359 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16360 GREP
="$ac_cv_path_GREP"
16363 { echo "$as_me:$LINENO: checking for egrep" >&5
16364 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16365 if test "${ac_cv_path_EGREP+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16369 then ac_cv_path_EGREP
="$GREP -E"
16371 # Extract the first word of "egrep" to use in msg output
16372 if test -z "$EGREP"; then
16373 set dummy
egrep; ac_prog_name
=$2
16374 if test "${ac_cv_path_EGREP+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 ac_path_EGREP_found
=false
16378 # Loop through the user's path and test for each of PROGNAME-LIST
16379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16380 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16383 test -z "$as_dir" && as_dir
=.
16384 for ac_prog
in egrep; do
16385 for ac_exec_ext
in '' $ac_executable_extensions; do
16386 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16387 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16388 # Check for GNU ac_path_EGREP and select it if it is found.
16389 # Check for GNU $ac_path_EGREP
16390 case `"$ac_path_EGREP" --version 2>&1` in
16392 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16395 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16398 cat "conftest.in" "conftest.in" >"conftest.tmp"
16399 mv "conftest.tmp" "conftest.in"
16400 cp "conftest.in" "conftest.nl"
16401 echo 'EGREP' >> "conftest.nl"
16402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16403 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16404 ac_count
=`expr $ac_count + 1`
16405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16406 # Best one so far, save it but keep looking for a better one
16407 ac_cv_path_EGREP
="$ac_path_EGREP"
16408 ac_path_EGREP_max
=$ac_count
16410 # 10*(2^10) chars as input seems more than enough
16411 test $ac_count -gt 10 && break
16413 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16417 $ac_path_EGREP_found && break 3
16427 EGREP
="$ac_cv_path_EGREP"
16428 if test -z "$EGREP"; then
16429 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16430 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16431 { (exit 1); exit 1; }; }
16435 ac_cv_path_EGREP
=$EGREP
16441 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16442 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16443 EGREP
="$ac_cv_path_EGREP"
16446 if test $ac_cv_c_compiler_gnu = yes; then
16447 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16448 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16449 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 ac_pattern
="Autoconf.*'x'"
16453 cat >conftest.
$ac_ext <<_ACEOF
16456 cat confdefs.h
>>conftest.
$ac_ext
16457 cat >>conftest.
$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16463 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16464 ac_cv_prog_gcc_traditional
=yes
16466 ac_cv_prog_gcc_traditional
=no
16471 if test $ac_cv_prog_gcc_traditional = no
; then
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 #include <termio.h>
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16483 ac_cv_prog_gcc_traditional
=yes
16489 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16490 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16491 if test $ac_cv_prog_gcc_traditional = yes; then
16492 CC
="$CC -traditional"
16497 CXXFLAGS
=${CXXFLAGS:=}
16502 ac_cpp
='$CXXCPP $CPPFLAGS'
16503 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16504 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16505 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16506 if test -z "$CXX"; then
16507 if test -n "$CCC"; then
16510 if test -n "$ac_tool_prefix"; then
16511 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16514 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16517 if test "${ac_cv_prog_CXX+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 if test -n "$CXX"; then
16521 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16524 for as_dir
in $PATH
16527 test -z "$as_dir" && as_dir
=.
16528 for ac_exec_ext
in '' $ac_executable_extensions; do
16529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16530 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16540 CXX
=$ac_cv_prog_CXX
16541 if test -n "$CXX"; then
16542 { echo "$as_me:$LINENO: result: $CXX" >&5
16543 echo "${ECHO_T}$CXX" >&6; }
16545 { echo "$as_me:$LINENO: result: no" >&5
16546 echo "${ECHO_T}no" >&6; }
16550 test -n "$CXX" && break
16553 if test -z "$CXX"; then
16555 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16557 # Extract the first word of "$ac_prog", so it can be a program name with args.
16558 set dummy
$ac_prog; ac_word
=$2
16559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16561 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 if test -n "$ac_ct_CXX"; then
16565 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16568 for as_dir
in $PATH
16571 test -z "$as_dir" && as_dir
=.
16572 for ac_exec_ext
in '' $ac_executable_extensions; do
16573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16574 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16584 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16585 if test -n "$ac_ct_CXX"; then
16586 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16587 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16589 { echo "$as_me:$LINENO: result: no" >&5
16590 echo "${ECHO_T}no" >&6; }
16594 test -n "$ac_ct_CXX" && break
16597 if test "x$ac_ct_CXX" = x
; then
16600 case $cross_compiling:$ac_tool_warned in
16602 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16603 whose name does not start with the host triplet. If you think this
16604 configuration is useful to you, please write to autoconf@gnu.org." >&5
16605 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16606 whose name does not start with the host triplet. If you think this
16607 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16608 ac_tool_warned
=yes ;;
16616 # Provide some information about the compiler.
16617 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16618 ac_compiler
=`set X $ac_compile; echo $2`
16619 { (ac_try
="$ac_compiler --version >&5"
16620 case "(($ac_try" in
16621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compiler --version >&5") 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }
16629 { (ac_try="$ac_compiler -v >&5"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16632 *) ac_try_echo
=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compiler -v >&5") 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }
16639 { (ac_try
="$ac_compiler -V >&5"
16640 case "(($ac_try" in
16641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16645 (eval "$ac_compiler -V >&5") 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }
16650 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16651 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16652 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16653 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 cat >conftest.$ac_ext <<_ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16673 rm -f conftest.$ac_objext
16674 if { (ac_try="$ac_compile"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16677 *) ac_try_echo
=$ac_try;;
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16680 (eval "$ac_compile") 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } && {
16687 test -z "$ac_cxx_werror_flag" ||
16688 test ! -s conftest.err
16689 } && test -s conftest.
$ac_objext; then
16690 ac_compiler_gnu
=yes
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.
$ac_ext >&5
16698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16699 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16702 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16703 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16704 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16705 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16706 ac_save_CXXFLAGS
=$CXXFLAGS
16707 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16708 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16709 if test "${ac_cv_prog_cxx_g+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16713 ac_cxx_werror_flag
=yes
16714 ac_cv_prog_cxx_g
=no
16716 cat >conftest.
$ac_ext <<_ACEOF
16719 cat confdefs.h
>>conftest.
$ac_ext
16720 cat >>conftest.
$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16731 rm -f conftest.
$ac_objext
16732 if { (ac_try
="$ac_compile"
16733 case "(($ac_try" in
16734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16735 *) ac_try_echo=$ac_try;;
16737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16738 (eval "$ac_compile") 2>conftest.er1
16740 grep -v '^ *+' conftest.er1 >conftest.err
16742 cat conftest.err >&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); } && {
16745 test -z "$ac_cxx_werror_flag" ||
16746 test ! -s conftest.err
16747 } && test -s conftest.$ac_objext; then
16748 ac_cv_prog_cxx_g=yes
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16754 cat >conftest.$ac_ext <<_ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16769 rm -f conftest.$ac_objext
16770 if { (ac_try="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16773 *) ac_try_echo
=$ac_try;;
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16778 grep -v '^ *+' conftest.er1
>conftest.err
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_cxx_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.
$ac_objext; then
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16793 cat >conftest.
$ac_ext <<_ACEOF
16796 cat confdefs.h
>>conftest.
$ac_ext
16797 cat >>conftest.
$ac_ext <<_ACEOF
16798 /* end confdefs.h. */
16808 rm -f conftest.
$ac_objext
16809 if { (ac_try
="$ac_compile"
16810 case "(($ac_try" in
16811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16812 *) ac_try_echo=$ac_try;;
16814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16815 (eval "$ac_compile") 2>conftest.er1
16817 grep -v '^ *+' conftest.er1 >conftest.err
16819 cat conftest.err >&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } && {
16822 test -z "$ac_cxx_werror_flag" ||
16823 test ! -s conftest.err
16824 } && test -s conftest.$ac_objext; then
16825 ac_cv_prog_cxx_g=yes
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16842 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16843 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16844 if test "$ac_test_CXXFLAGS" = set; then
16845 CXXFLAGS=$ac_save_CXXFLAGS
16846 elif test $ac_cv_prog_cxx_g = yes; then
16847 if test "$GXX" = yes; then
16853 if test "$GXX" = yes; then
16860 ac_cpp='$CPP $CPPFLAGS'
16861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16869 ac_cpp='$CXXCPP $CPPFLAGS'
16870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16874 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16875 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16876 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 cat >conftest.$ac_ext <<_ACEOF
16882 cat confdefs.h >>conftest.$ac_ext
16883 cat >>conftest.$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16890 #ifndef __INTEL_COMPILER
16898 rm -f conftest.$ac_objext
16899 if { (ac_try="$ac_compile"
16900 case "(($ac_try" in
16901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16902 *) ac_try_echo
=$ac_try;;
16904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16905 (eval "$ac_compile") 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } && {
16912 test -z "$ac_cxx_werror_flag" ||
16913 test ! -s conftest.err
16914 } && test -s conftest.
$ac_objext; then
16915 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.
$ac_ext >&5
16920 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16928 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16929 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16930 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16936 ac_cpp
='$CPP $CPPFLAGS'
16937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16944 if test "$INTELCXX" = "yes"; then
16948 ac_cpp
='$CXXCPP $CPPFLAGS'
16949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16953 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16954 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16955 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 cat >conftest.
$ac_ext <<_ACEOF
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16969 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16977 rm -f conftest.
$ac_objext
16978 if { (ac_try
="$ac_compile"
16979 case "(($ac_try" in
16980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16981 *) ac_try_echo=$ac_try;;
16983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16984 (eval "$ac_compile") 2>conftest.er1
16986 grep -v '^ *+' conftest.er1 >conftest.err
16988 cat conftest.err >&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } && {
16991 test -z "$ac_cxx_werror_flag" ||
16992 test ! -s conftest.err
16993 } && test -s conftest.$ac_objext; then
16994 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.$ac_ext >&5
16999 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17009 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17015 ac_cpp='$CPP $CPPFLAGS'
17016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17025 ac_cpp='$CXXCPP $CPPFLAGS'
17026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17030 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17031 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17032 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 cat >conftest.$ac_ext <<_ACEOF
17038 cat confdefs.h >>conftest.$ac_ext
17039 cat >>conftest.$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17046 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17054 rm -f conftest.$ac_objext
17055 if { (ac_try="$ac_compile"
17056 case "(($ac_try" in
17057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17058 *) ac_try_echo
=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_compile") 2>conftest.er1
17063 grep -v '^ *+' conftest.er1
>conftest.err
17065 cat conftest.err
>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_cxx_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest.
$ac_objext; then
17071 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17076 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17086 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17092 ac_cpp
='$CPP $CPPFLAGS'
17093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17101 if test "x$GCXX" != "xyes"; then
17102 if test "xCXX" = "xC"; then
17103 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17104 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17105 if test "${bakefile_cv_c_exto+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 cat >conftest.
$ac_ext <<_ACEOF
17111 cat confdefs.h
>>conftest.
$ac_ext
17112 cat >>conftest.
$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17123 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17125 (eval $ac_compile) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; then
17129 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17131 conftest.
$ac_ext.o
)
17132 bakefile_cv_c_exto
="-ext o"
17139 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17140 See \`config.log' for more details." >&5
17141 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17142 See \`config.log' for more details." >&2;}
17143 { (exit 1); exit 1; }; }
17147 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17150 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17151 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17153 if test "c" = "c"; then
17154 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17156 if test "c" = "cxx"; then
17157 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17161 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17162 unset ac_cv_prog_cc_g
17163 ac_test_CFLAGS
=${CFLAGS+set}
17164 ac_save_CFLAGS
=$CFLAGS
17165 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17166 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17167 if test "${ac_cv_prog_cc_g+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 ac_save_c_werror_flag
=$ac_c_werror_flag
17171 ac_c_werror_flag
=yes
17174 cat >conftest.
$ac_ext <<_ACEOF
17177 cat confdefs.h
>>conftest.
$ac_ext
17178 cat >>conftest.
$ac_ext <<_ACEOF
17179 /* end confdefs.h. */
17189 rm -f conftest.
$ac_objext
17190 if { (ac_try
="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_cv_prog_cc_g=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17212 cat >conftest.$ac_ext <<_ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17231 *) ac_try_echo
=$ac_try;;
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.
$ac_objext; then
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17249 ac_c_werror_flag
=$ac_save_c_werror_flag
17251 cat >conftest.
$ac_ext <<_ACEOF
17254 cat confdefs.h
>>conftest.
$ac_ext
17255 cat >>conftest.
$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17266 rm -f conftest.
$ac_objext
17267 if { (ac_try
="$ac_compile"
17268 case "(($ac_try" in
17269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17270 *) ac_try_echo=$ac_try;;
17272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17273 (eval "$ac_compile") 2>conftest.er1
17275 grep -v '^ *+' conftest.er1 >conftest.err
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } && {
17280 test -z "$ac_c_werror_flag" ||
17281 test ! -s conftest.err
17282 } && test -s conftest.$ac_objext; then
17283 ac_cv_prog_cc_g=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ac_c_werror_flag=$ac_save_c_werror_flag
17300 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17301 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17302 if test "$ac_test_CFLAGS" = set; then
17303 CFLAGS=$ac_save_CFLAGS
17304 elif test $ac_cv_prog_cc_g = yes; then
17305 if test "$GCC" = yes; then
17311 if test "$GCC" = yes; then
17325 ac_cpp='$CXXCPP $CPPFLAGS'
17326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17330 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17331 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17332 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 cat >conftest.$ac_ext <<_ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17354 rm -f conftest.$ac_objext
17355 if { (ac_try="$ac_compile"
17356 case "(($ac_try" in
17357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17358 *) ac_try_echo
=$ac_try;;
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_compile") 2>conftest.er1
17363 grep -v '^ *+' conftest.er1
>conftest.err
17365 cat conftest.err
>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_cxx_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest.
$ac_objext; then
17371 bakefile_cv_cxx_compiler___xlC__
=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.
$ac_ext >&5
17376 bakefile_cv_cxx_compiler___xlC__
=no
17380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17385 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17386 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17392 ac_cpp
='$CPP $CPPFLAGS'
17393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17405 ac_cpp
='$CXXCPP $CPPFLAGS'
17406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17410 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17411 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17412 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17434 rm -f conftest.
$ac_objext
17435 if { (ac_try
="$ac_compile"
17436 case "(($ac_try" in
17437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17438 *) ac_try_echo=$ac_try;;
17440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17441 (eval "$ac_compile") 2>conftest.er1
17443 grep -v '^ *+' conftest.er1 >conftest.err
17445 cat conftest.err >&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } && {
17448 test -z "$ac_cxx_werror_flag" ||
17449 test ! -s conftest.err
17450 } && test -s conftest.$ac_objext; then
17451 bakefile_cv_cxx_compiler___MWERKS__=yes
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17456 bakefile_cv_cxx_compiler___MWERKS__=no
17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17465 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17466 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17472 ac_cpp='$CPP $CPPFLAGS'
17473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17479 if test "$MWCXX" != "yes"; then
17483 ac_cpp='$CXXCPP $CPPFLAGS'
17484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17488 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17489 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17490 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 cat >conftest.$ac_ext <<_ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17512 rm -f conftest.$ac_objext
17513 if { (ac_try="$ac_compile"
17514 case "(($ac_try" in
17515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17516 *) ac_try_echo
=$ac_try;;
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_compile") 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_cxx_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest.
$ac_objext; then
17529 bakefile_cv_cxx_compiler___xlC__
=yes
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.
$ac_ext >&5
17534 bakefile_cv_cxx_compiler___xlC__
=no
17538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17542 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17543 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17544 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17550 ac_cpp
='$CPP $CPPFLAGS'
17551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17564 ac_cpp
='$CXXCPP $CPPFLAGS'
17565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17569 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17570 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17571 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17585 #ifndef _SGI_COMPILER_VERSION
17593 rm -f conftest.
$ac_objext
17594 if { (ac_try
="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17602 grep -v '^ *+' conftest.er1 >conftest.err
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_cxx_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17615 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17624 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17625 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17631 ac_cpp='$CPP $CPPFLAGS'
17632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641 if test "$INTELCXX" != "yes"; then
17645 ac_cpp='$CXXCPP $CPPFLAGS'
17646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17650 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17651 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17652 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17653 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 cat >conftest.$ac_ext <<_ACEOF
17658 cat confdefs.h >>conftest.$ac_ext
17659 cat >>conftest.$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17666 #ifndef __SUNPRO_CC
17674 rm -f conftest.$ac_objext
17675 if { (ac_try="$ac_compile"
17676 case "(($ac_try" in
17677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17678 *) ac_try_echo
=$ac_try;;
17680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17681 (eval "$ac_compile") 2>conftest.er1
17683 grep -v '^ *+' conftest.er1
>conftest.err
17685 cat conftest.err
>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } && {
17688 test -z "$ac_cxx_werror_flag" ||
17689 test ! -s conftest.err
17690 } && test -s conftest.
$ac_objext; then
17691 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17693 echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.
$ac_ext >&5
17696 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17704 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17705 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17706 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17712 ac_cpp
='$CPP $CPPFLAGS'
17713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17726 ac_cpp
='$CXXCPP $CPPFLAGS'
17727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17731 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17732 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17733 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 cat >conftest.
$ac_ext <<_ACEOF
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17755 rm -f conftest.
$ac_objext
17756 if { (ac_try
="$ac_compile"
17757 case "(($ac_try" in
17758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compile") 2>conftest.er1
17764 grep -v '^ *+' conftest.er1 >conftest.err
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } && {
17769 test -z "$ac_cxx_werror_flag" ||
17770 test ! -s conftest.err
17771 } && test -s conftest.$ac_objext; then
17772 bakefile_cv_cxx_compiler___HP_aCC=yes
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17777 bakefile_cv_cxx_compiler___HP_aCC=no
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17786 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17787 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17793 ac_cpp='$CPP $CPPFLAGS'
17794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17806 ac_cpp='$CXXCPP $CPPFLAGS'
17807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17811 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17812 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17813 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 cat >conftest.$ac_ext <<_ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17839 *) ac_try_echo
=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_cxx_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.
$ac_objext; then
17852 bakefile_cv_cxx_compiler___DECCXX
=yes
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17857 bakefile_cv_cxx_compiler___DECCXX
=no
17861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17865 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17866 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17867 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17873 ac_cpp
='$CPP $CPPFLAGS'
17874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17886 ac_cpp
='$CXXCPP $CPPFLAGS'
17887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17891 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17892 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17893 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17894 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 cat >conftest.
$ac_ext <<_ACEOF
17899 cat confdefs.h
>>conftest.
$ac_ext
17900 cat >>conftest.
$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17907 #ifndef __SUNPRO_CC
17915 rm -f conftest.
$ac_objext
17916 if { (ac_try
="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17924 grep -v '^ *+' conftest.er1 >conftest.err
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_cxx_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17937 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17946 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17947 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17953 ac_cpp='$CPP $CPPFLAGS'
17954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17966 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17967 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17968 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17969 { (exit 1); exit 1; }; }
17972 if test "x$SUNCXX" != xyes; then
17973 if test -n "$ac_tool_prefix"; then
17974 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17975 set dummy ${ac_tool_prefix}ar; ac_word=$2
17976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17978 if test "${ac_cv_prog_AR+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 if test -n "$AR"; then
17982 ac_cv_prog_AR="$AR" # Let the user override the test.
17984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17985 for as_dir in $PATH
17988 test -z "$as_dir" && as_dir=.
17989 for ac_exec_ext in '' $ac_executable_extensions; do
17990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17991 ac_cv_prog_AR="${ac_tool_prefix}ar"
17992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18002 if test -n "$AR"; then
18003 { echo "$as_me:$LINENO: result: $AR" >&5
18004 echo "${ECHO_T}$AR" >&6; }
18006 { echo "$as_me:$LINENO: result: no" >&5
18007 echo "${ECHO_T}no" >&6; }
18012 if test -z "$ac_cv_prog_AR"; then
18014 # Extract the first word of "ar", so it can be a program name with args.
18015 set dummy ar; ac_word=$2
18016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18018 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 if test -n "$ac_ct_AR"; then
18022 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18025 for as_dir in $PATH
18028 test -z "$as_dir" && as_dir=.
18029 for ac_exec_ext in '' $ac_executable_extensions; do
18030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18031 ac_cv_prog_ac_ct_AR="ar"
18032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18041 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18042 if test -n "$ac_ct_AR"; then
18043 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18044 echo "${ECHO_T}$ac_ct_AR" >&6; }
18046 { echo "$as_me:$LINENO: result: no" >&5
18047 echo "${ECHO_T}no" >&6; }
18050 if test "x$ac_ct_AR" = x; then
18053 case $cross_compiling:$ac_tool_warned in
18055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18056 whose name does not start with the host triplet. If you think this
18057 configuration is useful to you, please write to autoconf@gnu.org." >&5
18058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18059 whose name does not start with the host triplet. If you think this
18060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18061 ac_tool_warned=yes ;;
18066 AR="$ac_cv_prog_AR"
18069 if test "x$AR" = "x" ; then
18070 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18071 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18072 { (exit 1); exit 1; }; }
18076 retest_macosx_linking=no
18078 #if test "$wxUSE_MAC" = 1; then
18079 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18080 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18081 # Implicitly turn on the new --with-macosx-sdk using the default
18082 # SDK which provides the behavior this option has always had.
18083 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18084 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18085 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18086 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18087 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18088 wxUSE_MACOSX_SDK=yes
18091 # Complain to user if he specified an argument to --enable-universal_binary
18092 # and also 1) specified --with-macosx-sdk using the default (yes) or
18093 # 2) specified --with-macosx-sdk using a path or 3) specified
18094 # --without-macosx-sdk (no).
18095 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18096 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18097 See \`config.log
' for more details." >&5
18098 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18099 See \`config.log' for more details.
" >&2;}
18100 { (exit 1); exit 1; }; }
18102 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18103 # special-case the empty string because the below test simply
18104 # converts "no
" to the empty string anyway.
18105 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18106 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18107 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18110 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18111 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18112 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18113 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18114 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18115 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18116 retest_macosx_linking=yes
18118 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18119 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18124 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18126 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18127 # TODO: Search for most recent SDK and use it.
18128 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18132 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18133 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18134 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18135 if ! test -d "$wxUSE_MACOSX_SDK"; then
18136 { { echo "$as_me:$LINENO: error
: not found
18137 See \
`config.log' for more details." >&5
18138 echo "$as_me: error: not found
18139 See \`config.log
' for more details." >&2;}
18140 { (exit 1); exit 1; }; }
18142 { echo "$as_me:$LINENO: result: exists" >&5
18143 echo "${ECHO_T}exists" >&6; }
18145 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18146 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18147 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18148 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18149 retest_macosx_linking=yes
18152 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18153 wxUSE_MACOSX_VERSION_MIN=
18154 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18155 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18156 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18157 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18159 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
18161 # If that failed, try again with the new key
18162 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18164 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
18168 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18169 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18170 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18171 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18173 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18174 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18175 wxUSE_MACOSX_VERSION_MIN=
18178 wxUSE_MACOSX_VERSION_MIN=
18180 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18181 if test "$wxUSE_MAC" = 1; then
18182 # otherwise configure stops on leopard for universal_binary
18183 wxUSE_MACOSX_VERSION_MIN=10.4
18187 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18188 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18189 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18190 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18191 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18192 retest_macosx_linking=yes
18195 if test "x$retest_macosx_linking" = "xyes"; then
18197 ac_cpp='$CPP $CPPFLAGS'
18198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18199 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18202 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18203 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18204 cat >conftest.$ac_ext <<_ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18219 rm -f conftest.$ac_objext conftest$ac_exeext
18220 if { (ac_try="$ac_link"
18221 case "(($ac_try" in
18222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18223 *) ac_try_echo=$ac_try;;
18225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18226 (eval "$ac_link") 2>conftest.er1
18228 grep -v '^
*+' conftest.er1 >conftest.err
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } && {
18233 test -z "$ac_c_werror_flag" ||
18234 test ! -s conftest.err
18235 } && test -s conftest$ac_exeext &&
18236 $as_test_x conftest$ac_exeext; then
18237 { echo "$as_me:$LINENO: result: yes" >&5
18238 echo "${ECHO_T}yes" >&6; }
18240 echo "$as_me: failed program was:" >&5
18241 sed 's
/^
/| /' conftest.$ac_ext >&5
18243 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18244 See \`config.log' for more details.
" >&5
18245 echo "$as_me: error
: no. Try a different SDK
18246 See \
`config.log' for more details." >&2;}
18247 { (exit 1); exit 1; }; }; exit 1
18250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18251 conftest$ac_exeext conftest.$ac_ext
18253 ac_cpp='$CPP $CPPFLAGS'
18254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18260 ac_cpp='$CXXCPP $CPPFLAGS'
18261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18265 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18266 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18267 cat >conftest.$ac_ext <<_ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18282 rm -f conftest.$ac_objext conftest$ac_exeext
18283 if { (ac_try="$ac_link"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18286 *) ac_try_echo
=$ac_try;;
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_link") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1
>conftest.err
18293 cat conftest.err
>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_cxx_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest
$ac_exeext &&
18299 $as_test_x conftest
$ac_exeext; then
18300 { echo "$as_me:$LINENO: result: yes" >&5
18301 echo "${ECHO_T}yes" >&6; }
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.
$ac_ext >&5
18306 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18307 See \`config.log' for more details." >&5
18308 echo "$as_me: error: no. Try a different SDK
18309 See \`config.log' for more details." >&2;}
18310 { (exit 1); exit 1; }; }; exit 1
18313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18314 conftest
$ac_exeext conftest.
$ac_ext
18316 ac_cpp
='$CPP $CPPFLAGS'
18317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18327 INSTALL_PROGRAM
="cp -fp"
18328 INSTALL_DATA
="cp -fp"
18335 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18336 CXXFLAGS
="-qunique $CXXFLAGS"
18340 powerpc
-*-darwin* )
18341 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18342 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18343 cat >conftest.
$ac_ext <<_ACEOF
18346 cat confdefs.h
>>conftest.
$ac_ext
18347 cat >>conftest.
$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18353 #ifndef __POWERPC__
18354 choke me for lack of PowerPC
18361 rm -f conftest.
$ac_objext
18362 if { (ac_try
="$ac_compile"
18363 case "(($ac_try" in
18364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18365 *) ac_try_echo=$ac_try;;
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_compile") 2>conftest.er1
18370 grep -v '^ *+' conftest.er1 >conftest.err
18372 cat conftest.err >&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && {
18375 test -z "$ac_c_werror_flag" ||
18376 test ! -s conftest.err
18377 } && test -s conftest.$ac_objext; then
18378 { echo "$as_me:$LINENO: result: yes" >&5
18379 echo "${ECHO_T}yes" >&6; }
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18384 { echo "$as_me:$LINENO: result: no" >&5
18385 echo "${ECHO_T}no" >&6; }
18386 cat >>confdefs.h <<\_ACEOF
18387 #define __POWERPC__ 1
18393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18400 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18401 cat >conftest.$ac_ext <<_ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 #include <CoreFoundation/CFBase.h>
18417 rm -f conftest.$ac_objext
18418 if { (ac_try="$ac_compile"
18419 case "(($ac_try" in
18420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18421 *) ac_try_echo
=$ac_try;;
18423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424 (eval "$ac_compile") 2>conftest.er1
18426 grep -v '^ *+' conftest.er1
>conftest.err
18428 cat conftest.err
>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && {
18431 test -z "$ac_c_werror_flag" ||
18432 test ! -s conftest.err
18433 } && test -s conftest.
$ac_objext; then
18434 { echo "$as_me:$LINENO: result: yes" >&5
18435 echo "${ECHO_T}yes" >&6; }
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.
$ac_ext >&5
18440 { echo "$as_me:$LINENO: result: no" >&5
18441 echo "${ECHO_T}no" >&6; }
18442 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18443 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 #define __CF_USE_FRAMEWORK_INCLUDES__
18451 #include <CoreFoundation/CFBase.h>
18461 rm -f conftest.
$ac_objext
18462 if { (ac_try
="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18470 grep -v '^ *+' conftest.er1 >conftest.err
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_c_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.$ac_objext; then
18478 { echo "$as_me:$LINENO: result: yes" >&5
18479 echo "${ECHO_T}yes" >&6; }
18480 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.$ac_ext >&5
18485 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18486 See \`config.log
' for more details." >&5
18487 echo "$as_me: error: no. CoreFoundation not available.
18488 See \`config.log' for more details.
" >&2;}
18489 { (exit 1); exit 1; }; }
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18503 doesnt_want_win32=0
18506 if test "$wxUSE_MSW" = 1 ; then
18509 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18510 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18511 if test "${wx_cv_nocygwin+set}" = set; then
18512 echo $ECHO_N "(cached
) $ECHO_C" >&6
18515 cat >conftest.$ac_ext <<_ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18534 rm -f conftest.$ac_objext
18535 if { (ac_try="$ac_compile"
18536 case "(($ac_try" in
18537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18538 *) ac_try_echo=$ac_try;;
18540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18541 (eval "$ac_compile") 2>conftest.er1
18543 grep -v '^ *+' conftest.er1 >conftest.err
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18547 (exit $ac_status); } && {
18548 test -z "$ac_c_werror_flag" ||
18549 test ! -s conftest.err
18550 } && test -s conftest.$ac_objext; then
18553 echo "$as_me: failed program was
:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18565 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18567 if test "$wx_cv_nocygwin" = "yes"; then
18570 doesnt_want_win32=1
18573 if test "$wants_win32" = 1 ; then
18574 BAKEFILE_FORCE_PLATFORM=win32
18582 if test "$wxUSE_WINE" = "yes"; then
18584 LDFLAGS_GUI="-mwindows"
18587 if test "$wants_win32" = 1 ; then
18590 cat >>confdefs.h <<\_ACEOF
18591 #define __WIN32__ 1
18594 cat >>confdefs.h <<\_ACEOF
18595 #define __WIN95__ 1
18598 cat >>confdefs.h <<\_ACEOF
18599 #define __WINDOWS__ 1
18602 cat >>confdefs.h <<\_ACEOF
18603 #define __GNUWIN32__ 1
18606 cat >>confdefs.h <<\_ACEOF
18611 if test "$doesnt_want_win32" = 1 ; then
18616 if test "$USE_UNIX" = 1 ; then
18618 cat >>confdefs.h <<\_ACEOF
18625 *-pc-os2_emx | *-pc-os2-emx )
18626 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18627 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18628 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18629 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18630 echo $ECHO_N "(cached
) $ECHO_C" >&6
18632 ac_check_lib_save_LIBS=$LIBS
18633 LIBS="-lcExt $LIBS"
18634 cat >conftest.$ac_ext <<_ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18641 /* Override any GCC internal prototype to avoid an error.
18642 Use char because int might match the return type of a GCC
18643 builtin and then its argument prototype would still apply. */
18656 rm -f conftest.$ac_objext conftest$ac_exeext
18657 if { (ac_try="$ac_link"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_link") 2>conftest.er1
18665 grep -v '^ *+' conftest.er1 >conftest.err
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest$ac_exeext &&
18673 $as_test_x conftest$ac_exeext; then
18674 ac_cv_lib_cExt_drand48=yes
18676 echo "$as_me: failed program was
:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18679 ac_cv_lib_cExt_drand48=no
18682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18683 conftest$ac_exeext conftest.$ac_ext
18684 LIBS=$ac_check_lib_save_LIBS
18686 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18687 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18688 if test $ac_cv_lib_cExt_drand48 = yes; then
18689 LIBS="$LIBS -lcExt"
18693 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18695 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18696 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18697 if test "${wx_cv_gccversion+set}" = set; then
18698 echo $ECHO_N "(cached
) $ECHO_C" >&6
18701 if test "$cross_compiling" = yes; then
18702 wx_cv_gccversion="EMX2
"
18705 cat >conftest.$ac_ext <<_ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18716 FILE *f=fopen("conftestval
", "w
");
18721 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18723 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18733 rm -f conftest$ac_exeext
18734 if { (ac_try="$ac_link"
18735 case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_link") 2>&5
18742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18744 { (case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_try") 2>&5
18751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 wx_cv_gccversion=`cat conftestval`
18755 echo "$as_me: program exited with status
$ac_status" >&5
18756 echo "$as_me: failed program was
:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 ( exit $ac_status )
18760 wx_cv_gccversion="EMX2
"
18762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18768 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18769 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18770 if test "$wx_cv_gccversion" = "EMX2
"; then
18771 LIBS="$LIBS -lstdcpp"
18772 LDFLAGS="$LDFLAGS -Zsysv-signals"
18774 if test "$wx_cv_gccversion" = "EMX3
"; then
18775 LIBS="$LIBS -lstdcxx -lgcc"
18776 LDFLAGS="$LDFLAGS -Zsysv-signals"
18778 LIBS="$LIBS -lstdc++"
18781 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18782 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18783 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18790 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18791 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18792 if test "${ac_cv_string_strcasecmp+set}" = set; then
18793 echo $ECHO_N "(cached
) $ECHO_C" >&6
18796 cat >conftest.$ac_ext <<_ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18803 #include <string.h>
18809 strcasecmp("foo
", "bar
");
18815 rm -f conftest.$ac_objext conftest$ac_exeext
18816 if { (ac_try="$ac_link"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_link") 2>conftest.er1
18824 grep -v '^ *+' conftest.er1 >conftest.err
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest$ac_exeext &&
18832 $as_test_x conftest$ac_exeext; then
18833 ac_cv_string_strcasecmp=yes
18835 echo "$as_me: failed program was
:" >&5
18836 sed 's/^/| /' conftest.$ac_ext >&5
18838 ac_cv_string_strcasecmp=no
18842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18843 conftest$ac_exeext conftest.$ac_ext
18846 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18847 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18849 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18850 cat >>confdefs.h <<\_ACEOF
18851 #define HAVE_STRCASECMP_IN_STRING_H 1
18855 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18856 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18857 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18858 echo $ECHO_N "(cached
) $ECHO_C" >&6
18861 cat >conftest.$ac_ext <<_ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18868 #include <strings.h>
18874 strcasecmp("foo
", "bar
");
18880 rm -f conftest.$ac_objext conftest$ac_exeext
18881 if { (ac_try="$ac_link"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_link") 2>conftest.er1
18889 grep -v '^ *+' conftest.er1 >conftest.err
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest$ac_exeext &&
18897 $as_test_x conftest$ac_exeext; then
18898 ac_cv_strings_strcasecmp=yes
18900 echo "$as_me: failed program was
:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_strings_strcasecmp=no
18907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18908 conftest$ac_exeext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18912 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18914 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18915 cat >>confdefs.h <<\_ACEOF
18916 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18920 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18921 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18922 { (exit 1); exit 1; }; }
18930 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18931 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18932 if test "${ac_cv_header_stdc+set}" = set; then
18933 echo $ECHO_N "(cached
) $ECHO_C" >&6
18935 cat >conftest.$ac_ext <<_ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 #include <stdlib.h>
18942 #include <stdarg.h>
18943 #include <string.h>
18954 rm -f conftest.$ac_objext
18955 if { (ac_try="$ac_compile"
18956 case "(($ac_try" in
18957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18958 *) ac_try_echo=$ac_try;;
18960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18961 (eval "$ac_compile") 2>conftest.er1
18963 grep -v '^ *+' conftest.er1 >conftest.err
18965 cat conftest.err >&5
18966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18967 (exit $ac_status); } && {
18968 test -z "$ac_c_werror_flag" ||
18969 test ! -s conftest.err
18970 } && test -s conftest.$ac_objext; then
18971 ac_cv_header_stdc=yes
18973 echo "$as_me: failed program was
:" >&5
18974 sed 's/^/| /' conftest.$ac_ext >&5
18976 ac_cv_header_stdc=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981 if test $ac_cv_header_stdc = yes; then
18982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18983 cat >conftest.$ac_ext <<_ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #include <string.h>
18992 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18993 $EGREP "memchr
" >/dev/null 2>&1; then
18996 ac_cv_header_stdc=no
19002 if test $ac_cv_header_stdc = yes; then
19003 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19004 cat >conftest.$ac_ext <<_ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #include <stdlib.h>
19013 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19014 $EGREP "free
" >/dev/null 2>&1; then
19017 ac_cv_header_stdc=no
19023 if test $ac_cv_header_stdc = yes; then
19024 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19025 if test "$cross_compiling" = yes; then
19028 cat >conftest.$ac_ext <<_ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19035 #include <stdlib.h>
19036 #if ((' ' & 0x0FF) == 0x020)
19037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19040 # define ISLOWER(c) \
19041 (('a' <= (c) && (c) <= 'i') \
19042 || ('j' <= (c) && (c) <= 'r') \
19043 || ('s' <= (c) && (c) <= 'z'))
19044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19052 for (i = 0; i < 256; i++)
19053 if (XOR (islower (i), ISLOWER (i))
19054 || toupper (i) != TOUPPER (i))
19059 rm -f conftest$ac_exeext
19060 if { (ac_try="$ac_link"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_link") 2>&5
19068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19070 { (case "(($ac_try" in
19071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_try") 2>&5
19077 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19078 (exit $ac_status); }; }; then
19081 echo "$as_me: program exited with status
$ac_status" >&5
19082 echo "$as_me: failed program was
:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 ( exit $ac_status )
19086 ac_cv_header_stdc=no
19088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19094 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19095 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19096 if test $ac_cv_header_stdc = yes; then
19098 cat >>confdefs.h <<\_ACEOF
19099 #define STDC_HEADERS 1
19104 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19114 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19115 inttypes.h stdint.h unistd.h
19117 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19118 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19119 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19120 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19121 echo $ECHO_N "(cached
) $ECHO_C" >&6
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19131 #include <$ac_header>
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19142 grep -v '^ *+' conftest.er1 >conftest.err
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19150 eval "$as_ac_Header=yes"
19152 echo "$as_me: failed program was
:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19155 eval "$as_ac_Header=no
"
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 ac_res=`eval echo '${'$as_ac_Header'}'`
19161 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19162 echo "${ECHO_T}$ac_res" >&6; }
19163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19164 cat >>confdefs.h <<_ACEOF
19165 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19175 for ac_header in langinfo.h wchar.h
19177 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19178 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19179 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19180 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19181 echo $ECHO_N "(cached
) $ECHO_C" >&6
19183 cat >conftest.$ac_ext <<_ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 $ac_includes_default
19191 #include <$ac_header>
19193 rm -f conftest.$ac_objext
19194 if { (ac_try="$ac_compile"
19195 case "(($ac_try" in
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19197 *) ac_try_echo=$ac_try;;
19199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19200 (eval "$ac_compile") 2>conftest.er1
19202 grep -v '^ *+' conftest.er1 >conftest.err
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19206 (exit $ac_status); } && {
19207 test -z "$ac_c_werror_flag" ||
19208 test ! -s conftest.err
19209 } && test -s conftest.$ac_objext; then
19210 eval "$as_ac_Header=yes"
19212 echo "$as_me: failed program was
:" >&5
19213 sed 's/^/| /' conftest.$ac_ext >&5
19215 eval "$as_ac_Header=no
"
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 ac_res=`eval echo '${'$as_ac_Header'}'`
19221 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19222 echo "${ECHO_T}$ac_res" >&6; }
19223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19224 cat >>confdefs.h <<_ACEOF
19225 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19233 if test "$ac_cv_header_wchar_h" != "yes"; then
19235 for ac_header in wcstr.h
19237 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19238 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19239 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19240 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19241 echo $ECHO_N "(cached
) $ECHO_C" >&6
19243 cat >conftest.$ac_ext <<_ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 $ac_includes_default
19251 #include <$ac_header>
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19259 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19262 grep -v '^ *+' conftest.er1 >conftest.err
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19266 (exit $ac_status); } && {
19267 test -z "$ac_c_werror_flag" ||
19268 test ! -s conftest.err
19269 } && test -s conftest.$ac_objext; then
19270 eval "$as_ac_Header=yes"
19272 echo "$as_me: failed program was
:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19275 eval "$as_ac_Header=no
"
19278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 ac_res=`eval echo '${'$as_ac_Header'}'`
19281 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19282 echo "${ECHO_T}$ac_res" >&6; }
19283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19284 cat >>confdefs.h <<_ACEOF
19285 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19295 *-pc-os2_emx | *-pc-os2-emx )
19296 if test $ac_cv_header_langinfo_h = "yes" \
19297 -a \( "$wx_cv_gccversion" = "EMX2
" \
19298 -o "$wx_cv_gccversion" = "EMX3
" \
19299 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19300 LIBS="$LIBS -lintl"
19305 if test "$USE_UNIX" = 1 ; then
19307 for ac_header in sys/select.h
19309 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19310 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19311 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19312 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19313 echo $ECHO_N "(cached
) $ECHO_C" >&6
19315 cat >conftest.$ac_ext <<_ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 $ac_includes_default
19323 #include <$ac_header>
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19334 grep -v '^ *+' conftest.er1 >conftest.err
19336 cat conftest.err >&5
19337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.$ac_objext; then
19342 eval "$as_ac_Header=yes"
19344 echo "$as_me: failed program was
:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 eval "$as_ac_Header=no
"
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19352 ac_res=`eval echo '${'$as_ac_Header'}'`
19353 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19354 echo "${ECHO_T}$ac_res" >&6; }
19355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19356 cat >>confdefs.h <<_ACEOF
19357 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19367 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19368 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19369 if test "${ac_cv_c_const+set}" = set; then
19370 echo $ECHO_N "(cached
) $ECHO_C" >&6
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19382 /* FIXME: Include the comments suggested by Paul. */
19383 #ifndef __cplusplus
19384 /* Ultrix mips cc rejects this. */
19385 typedef int charset[2];
19387 /* SunOS 4.1.1 cc rejects this. */
19388 char const *const *pcpcc;
19390 /* NEC SVR4.0.2 mips cc rejects this. */
19391 struct point {int x, y;};
19392 static struct point const zero = {0,0};
19393 /* AIX XL C 1.02.0.0 rejects this.
19394 It does not let you subtract one const X* pointer from another in
19395 an arm of an if-expression whose if-part is not a constant
19397 const char *g = "string
";
19398 pcpcc = &g + (g ? g-g : 0);
19399 /* HPUX 7.0 cc rejects these. */
19401 ppc = (char**) pcpcc;
19402 pcpcc = (char const *const *) ppc;
19403 { /* SCO 3.2v4 cc rejects this. */
19405 char const *s = 0 ? (char *) 0 : (char const *) 0;
19410 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19411 int x[] = {25, 17};
19412 const int *foo = &x[0];
19415 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19416 typedef const int *iptr;
19420 { /* AIX XL C 1.02.0.0 rejects this saying
19421 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19422 struct s { int j; const int *ap[3]; };
19423 struct s *b; b->j = 5;
19425 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19426 const int foo = 10;
19427 if (!foo) return 0;
19429 return !cs[0] && !zero.x;
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19445 grep -v '^ *+' conftest.er1 >conftest.err
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19455 echo "$as_me: failed program was
:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19463 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19464 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19465 if test $ac_cv_c_const = no; then
19467 cat >>confdefs.h <<\_ACEOF
19473 { echo "$as_me:$LINENO: checking
for inline
" >&5
19474 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19475 if test "${ac_cv_c_inline+set}" = set; then
19476 echo $ECHO_N "(cached
) $ECHO_C" >&6
19479 for ac_kw in inline __inline__ __inline; do
19480 cat >conftest.$ac_ext <<_ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 #ifndef __cplusplus
19488 static $ac_kw foo_t static_foo () {return 0; }
19489 $ac_kw foo_t foo () {return 0; }
19493 rm -f conftest.$ac_objext
19494 if { (ac_try="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19502 grep -v '^ *+' conftest.er1 >conftest.err
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.$ac_objext; then
19510 ac_cv_c_inline=$ac_kw
19512 echo "$as_me: failed program was
:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 test "$ac_cv_c_inline" != no && break
19523 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19524 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19527 case $ac_cv_c_inline in
19530 case $ac_cv_c_inline in
19532 *) ac_val=$ac_cv_c_inline;;
19534 cat >>confdefs.h <<_ACEOF
19535 #ifndef __cplusplus
19536 #define inline $ac_val
19543 { echo "$as_me:$LINENO: checking
for short
" >&5
19544 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19545 if test "${ac_cv_type_short+set}" = set; then
19546 echo $ECHO_N "(cached
) $ECHO_C" >&6
19548 cat >conftest.$ac_ext <<_ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 $ac_includes_default
19555 typedef short ac__type_new_;
19559 if ((ac__type_new_ *) 0)
19561 if (sizeof (ac__type_new_))
19567 rm -f conftest.$ac_objext
19568 if { (ac_try="$ac_compile"
19569 case "(($ac_try" in
19570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19571 *) ac_try_echo=$ac_try;;
19573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_compile") 2>conftest.er1
19576 grep -v '^ *+' conftest.er1 >conftest.err
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19580 (exit $ac_status); } && {
19581 test -z "$ac_c_werror_flag" ||
19582 test ! -s conftest.err
19583 } && test -s conftest.$ac_objext; then
19584 ac_cv_type_short=yes
19586 echo "$as_me: failed program was
:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19589 ac_cv_type_short=no
19592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19594 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19595 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19597 # The cast to long int works around a bug in the HP C Compiler
19598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19600 # This bug is HP SR number 8606223364.
19601 { echo "$as_me:$LINENO: checking size of short
" >&5
19602 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19603 if test "${ac_cv_sizeof_short+set}" = set; then
19604 echo $ECHO_N "(cached
) $ECHO_C" >&6
19606 if test "$cross_compiling" = yes; then
19607 # Depending upon the size, compute the lo and hi bounds.
19608 cat >conftest.$ac_ext <<_ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 $ac_includes_default
19615 typedef short ac__type_sizeof_;
19619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19645 cat >conftest.$ac_ext <<_ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 $ac_includes_default
19652 typedef short ac__type_sizeof_;
19656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19663 rm -f conftest.$ac_objext
19664 if { (ac_try="$ac_compile"
19665 case "(($ac_try" in
19666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19667 *) ac_try_echo=$ac_try;;
19669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19670 (eval "$ac_compile") 2>conftest.er1
19672 grep -v '^ *+' conftest.er1 >conftest.err
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19676 (exit $ac_status); } && {
19677 test -z "$ac_c_werror_flag" ||
19678 test ! -s conftest.err
19679 } && test -s conftest.$ac_objext; then
19680 ac_hi=$ac_mid; break
19682 echo "$as_me: failed program was
:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19685 ac_lo=`expr $ac_mid + 1`
19686 if test $ac_lo -le $ac_mid; then
19690 ac_mid=`expr 2 '*' $ac_mid + 1`
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 echo "$as_me: failed program was
:" >&5
19697 sed 's/^/| /' conftest.$ac_ext >&5
19699 cat >conftest.$ac_ext <<_ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 $ac_includes_default
19706 typedef short ac__type_sizeof_;
19710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19717 rm -f conftest.$ac_objext
19718 if { (ac_try="$ac_compile"
19719 case "(($ac_try" in
19720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19721 *) ac_try_echo=$ac_try;;
19723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19724 (eval "$ac_compile") 2>conftest.er1
19726 grep -v '^ *+' conftest.er1 >conftest.err
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19730 (exit $ac_status); } && {
19731 test -z "$ac_c_werror_flag" ||
19732 test ! -s conftest.err
19733 } && test -s conftest.$ac_objext; then
19736 cat >conftest.$ac_ext <<_ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19743 typedef short ac__type_sizeof_;
19747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19754 rm -f conftest.$ac_objext
19755 if { (ac_try="$ac_compile"
19756 case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19763 grep -v '^ *+' conftest.er1 >conftest.err
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19767 (exit $ac_status); } && {
19768 test -z "$ac_c_werror_flag" ||
19769 test ! -s conftest.err
19770 } && test -s conftest.$ac_objext; then
19771 ac_lo=$ac_mid; break
19773 echo "$as_me: failed program was
:" >&5
19774 sed 's/^/| /' conftest.$ac_ext >&5
19776 ac_hi=`expr '(' $ac_mid ')' - 1`
19777 if test $ac_mid -le $ac_hi; then
19781 ac_mid=`expr 2 '*' $ac_mid`
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 echo "$as_me: failed program was
:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797 # Binary search between lo and hi bounds.
19798 while test "x
$ac_lo" != "x
$ac_hi"; do
19799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19800 cat >conftest.$ac_ext <<_ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 $ac_includes_default
19807 typedef short ac__type_sizeof_;
19811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19818 rm -f conftest.$ac_objext
19819 if { (ac_try="$ac_compile"
19820 case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;;
19824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_compile") 2>conftest.er1
19827 grep -v '^ *+' conftest.er1 >conftest.err
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19831 (exit $ac_status); } && {
19832 test -z "$ac_c_werror_flag" ||
19833 test ! -s conftest.err
19834 } && test -s conftest.$ac_objext; then
19837 echo "$as_me: failed program was
:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19840 ac_lo=`expr '(' $ac_mid ')' + 1`
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 ?*) ac_cv_sizeof_short=$ac_lo;;
19847 '') if test "$ac_cv_type_short" = yes; then
19848 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19849 See \
`config.log' for more details." >&5
19850 echo "$as_me: error: cannot compute sizeof (short)
19851 See \`config.log
' for more details." >&2;}
19852 { (exit 77); exit 77; }; }
19854 ac_cv_sizeof_short=0
19858 cat >conftest.$ac_ext <<_ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19865 typedef short ac__type_sizeof_;
19866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19869 #include <stdlib.h>
19874 FILE *f = fopen ("conftest.val", "w");
19877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19879 long int i = longval ();
19880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19882 fprintf (f, "%ld\n", i);
19886 unsigned long int i = ulongval ();
19887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19889 fprintf (f, "%lu\n", i);
19891 return ferror (f) || fclose (f) != 0;
19897 rm -f conftest$ac_exeext
19898 if { (ac_try="$ac_link"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_link") 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19908 { (case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_try") 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 ac_cv_sizeof_short=`cat conftest.val`
19919 echo "$as_me: program exited with status $ac_status" >&5
19920 echo "$as_me: failed program was:" >&5
19921 sed 's
/^
/| /' conftest.$ac_ext >&5
19923 ( exit $ac_status )
19924 if test "$ac_cv_type_short" = yes; then
19925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19926 See \`config.log' for more details.
" >&5
19927 echo "$as_me: error
: cannot compute sizeof
(short
)
19928 See \
`config.log' for more details." >&2;}
19929 { (exit 77); exit 77; }; }
19931 ac_cv_sizeof_short=0
19934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19939 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19943 cat >>confdefs.h <<_ACEOF
19944 #define SIZEOF_SHORT $ac_cv_sizeof_short
19948 { echo "$as_me:$LINENO: checking for void *" >&5
19949 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19950 if test "${ac_cv_type_void_p+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 cat >conftest.$ac_ext <<_ACEOF
19956 cat confdefs.h >>conftest.$ac_ext
19957 cat >>conftest.$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 $ac_includes_default
19960 typedef void * ac__type_new_;
19964 if ((ac__type_new_ *) 0)
19966 if (sizeof (ac__type_new_))
19972 rm -f conftest.$ac_objext
19973 if { (ac_try="$ac_compile"
19974 case "(($ac_try" in
19975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19976 *) ac_try_echo
=$ac_try;;
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_compile") 2>conftest.er1
19981 grep -v '^ *+' conftest.er1
>conftest.err
19983 cat conftest.err
>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } && {
19986 test -z "$ac_c_werror_flag" ||
19987 test ! -s conftest.err
19988 } && test -s conftest.
$ac_objext; then
19989 ac_cv_type_void_p
=yes
19991 echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.
$ac_ext >&5
19994 ac_cv_type_void_p
=no
19997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19999 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20000 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20002 # The cast to long int works around a bug in the HP C Compiler
20003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20005 # This bug is HP SR number 8606223364.
20006 { echo "$as_me:$LINENO: checking size of void *" >&5
20007 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20008 if test "${ac_cv_sizeof_void_p+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 if test "$cross_compiling" = yes; then
20012 # Depending upon the size, compute the lo and hi bounds.
20013 cat >conftest.
$ac_ext <<_ACEOF
20016 cat confdefs.h
>>conftest.
$ac_ext
20017 cat >>conftest.
$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 $ac_includes_default
20020 typedef void * ac__type_sizeof_;
20024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20031 rm -f conftest.
$ac_objext
20032 if { (ac_try
="$ac_compile"
20033 case "(($ac_try" in
20034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20035 *) ac_try_echo=$ac_try;;
20037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_compile") 2>conftest.er1
20040 grep -v '^ *+' conftest.er1 >conftest.err
20042 cat conftest.err >&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } && {
20045 test -z "$ac_c_werror_flag" ||
20046 test ! -s conftest.err
20047 } && test -s conftest.$ac_objext; then
20050 cat >conftest.$ac_ext <<_ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 $ac_includes_default
20057 typedef void * ac__type_sizeof_;
20061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20068 rm -f conftest.$ac_objext
20069 if { (ac_try="$ac_compile"
20070 case "(($ac_try" in
20071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20072 *) ac_try_echo
=$ac_try;;
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_compile") 2>conftest.er1
20077 grep -v '^ *+' conftest.er1
>conftest.err
20079 cat conftest.err
>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } && {
20082 test -z "$ac_c_werror_flag" ||
20083 test ! -s conftest.err
20084 } && test -s conftest.
$ac_objext; then
20085 ac_hi
=$ac_mid; break
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.
$ac_ext >&5
20090 ac_lo
=`expr $ac_mid + 1`
20091 if test $ac_lo -le $ac_mid; then
20095 ac_mid
=`expr 2 '*' $ac_mid + 1`
20098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.
$ac_ext >&5
20104 cat >conftest.
$ac_ext <<_ACEOF
20107 cat confdefs.h
>>conftest.
$ac_ext
20108 cat >>conftest.
$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 typedef void * ac__type_sizeof_;
20115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20122 rm -f conftest.
$ac_objext
20123 if { (ac_try
="$ac_compile"
20124 case "(($ac_try" in
20125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_compile") 2>conftest.er1
20131 grep -v '^ *+' conftest.er1 >conftest.err
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest.$ac_objext; then
20141 cat >conftest.$ac_ext <<_ACEOF
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 $ac_includes_default
20148 typedef void * ac__type_sizeof_;
20152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20159 rm -f conftest.$ac_objext
20160 if { (ac_try="$ac_compile"
20161 case "(($ac_try" in
20162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20163 *) ac_try_echo
=$ac_try;;
20165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20166 (eval "$ac_compile") 2>conftest.er1
20168 grep -v '^ *+' conftest.er1
>conftest.err
20170 cat conftest.err
>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && {
20173 test -z "$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20175 } && test -s conftest.
$ac_objext; then
20176 ac_lo
=$ac_mid; break
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.
$ac_ext >&5
20181 ac_hi
=`expr '(' $ac_mid ')' - 1`
20182 if test $ac_mid -le $ac_hi; then
20186 ac_mid
=`expr 2 '*' $ac_mid`
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20202 # Binary search between lo and hi bounds.
20203 while test "x$ac_lo" != "x$ac_hi"; do
20204 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20205 cat >conftest.
$ac_ext <<_ACEOF
20208 cat confdefs.h
>>conftest.
$ac_ext
20209 cat >>conftest.
$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211 $ac_includes_default
20212 typedef void * ac__type_sizeof_;
20216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20223 rm -f conftest.
$ac_objext
20224 if { (ac_try
="$ac_compile"
20225 case "(($ac_try" in
20226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20227 *) ac_try_echo=$ac_try;;
20229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_compile") 2>conftest.er1
20232 grep -v '^ *+' conftest.er1 >conftest.err
20234 cat conftest.err >&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } && {
20237 test -z "$ac_c_werror_flag" ||
20238 test ! -s conftest.err
20239 } && test -s conftest.$ac_objext; then
20242 echo "$as_me: failed program was:" >&5
20243 sed 's/^/| /' conftest.$ac_ext >&5
20245 ac_lo=`expr '(' $ac_mid ')' + 1`
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20251 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20252 '') if test "$ac_cv_type_void_p" = yes; then
20253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20254 See \`config.log
' for more details." >&5
20255 echo "$as_me: error: cannot compute sizeof (void *)
20256 See \`config.log' for more details.
" >&2;}
20257 { (exit 77); exit 77; }; }
20259 ac_cv_sizeof_void_p=0
20263 cat >conftest.$ac_ext <<_ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef void * ac__type_sizeof_;
20271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20274 #include <stdlib.h>
20279 FILE *f = fopen ("conftest.val
", "w
");
20282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20284 long int i = longval ();
20285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20287 fprintf (f, "%ld
\n", i);
20291 unsigned long int i = ulongval ();
20292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20294 fprintf (f, "%lu
\n", i);
20296 return ferror (f) || fclose (f) != 0;
20302 rm -f conftest$ac_exeext
20303 if { (ac_try="$ac_link"
20304 case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_link") 2>&5
20311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20313 { (case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_try") 2>&5
20320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20321 (exit $ac_status); }; }; then
20322 ac_cv_sizeof_void_p=`cat conftest.val`
20324 echo "$as_me: program exited with status
$ac_status" >&5
20325 echo "$as_me: failed program was
:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 ( exit $ac_status )
20329 if test "$ac_cv_type_void_p" = yes; then
20330 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20331 See \
`config.log' for more details." >&5
20332 echo "$as_me: error: cannot compute sizeof (void *)
20333 See \`config.log
' for more details." >&2;}
20334 { (exit 77); exit 77; }; }
20336 ac_cv_sizeof_void_p=0
20339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20344 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20348 cat >>confdefs.h <<_ACEOF
20349 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20353 { echo "$as_me:$LINENO: checking for int" >&5
20354 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20355 if test "${ac_cv_type_int+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 cat >conftest.$ac_ext <<_ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 $ac_includes_default
20365 typedef int ac__type_new_;
20369 if ((ac__type_new_ *) 0)
20371 if (sizeof (ac__type_new_))
20377 rm -f conftest.$ac_objext
20378 if { (ac_try="$ac_compile"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_compile") 2>conftest.er1
20386 grep -v '^
*+' conftest.er1 >conftest.err
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest.$ac_objext; then
20396 echo "$as_me: failed program was:" >&5
20397 sed 's
/^
/| /' conftest.$ac_ext >&5
20402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20404 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20405 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20407 # The cast to long int works around a bug in the HP C Compiler
20408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20410 # This bug is HP SR number 8606223364.
20411 { echo "$as_me:$LINENO: checking size of int" >&5
20412 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20413 if test "${ac_cv_sizeof_int+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20416 if test "$cross_compiling" = yes; then
20417 # Depending upon the size, compute the lo and hi bounds.
20418 cat >conftest.
$ac_ext <<_ACEOF
20421 cat confdefs.h
>>conftest.
$ac_ext
20422 cat >>conftest.
$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 typedef int ac__type_sizeof_;
20429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20436 rm -f conftest.
$ac_objext
20437 if { (ac_try
="$ac_compile"
20438 case "(($ac_try" in
20439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_compile") 2>conftest.er1
20445 grep -v '^ *+' conftest.er1 >conftest.err
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest.$ac_objext; then
20455 cat >conftest.$ac_ext <<_ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 typedef int ac__type_sizeof_;
20466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20477 *) ac_try_echo
=$ac_try;;
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20482 grep -v '^ *+' conftest.er1
>conftest.err
20484 cat conftest.err
>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.
$ac_objext; then
20490 ac_hi
=$ac_mid; break
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.
$ac_ext >&5
20495 ac_lo
=`expr $ac_mid + 1`
20496 if test $ac_lo -le $ac_mid; then
20500 ac_mid
=`expr 2 '*' $ac_mid + 1`
20503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.
$ac_ext >&5
20509 cat >conftest.
$ac_ext <<_ACEOF
20512 cat confdefs.h
>>conftest.
$ac_ext
20513 cat >>conftest.
$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 typedef int ac__type_sizeof_;
20520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20527 rm -f conftest.
$ac_objext
20528 if { (ac_try
="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1 >conftest.err
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.$ac_objext; then
20546 cat >conftest.$ac_ext <<_ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 $ac_includes_default
20553 typedef int ac__type_sizeof_;
20557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20564 rm -f conftest.$ac_objext
20565 if { (ac_try="$ac_compile"
20566 case "(($ac_try" in
20567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20568 *) ac_try_echo
=$ac_try;;
20570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20571 (eval "$ac_compile") 2>conftest.er1
20573 grep -v '^ *+' conftest.er1
>conftest.err
20575 cat conftest.err
>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } && {
20578 test -z "$ac_c_werror_flag" ||
20579 test ! -s conftest.err
20580 } && test -s conftest.
$ac_objext; then
20581 ac_lo
=$ac_mid; break
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.
$ac_ext >&5
20586 ac_hi
=`expr '(' $ac_mid ')' - 1`
20587 if test $ac_mid -le $ac_hi; then
20591 ac_mid
=`expr 2 '*' $ac_mid`
20594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20597 echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.
$ac_ext >&5
20603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20607 # Binary search between lo and hi bounds.
20608 while test "x$ac_lo" != "x$ac_hi"; do
20609 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20610 cat >conftest.
$ac_ext <<_ACEOF
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 typedef int ac__type_sizeof_;
20621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20628 rm -f conftest.
$ac_objext
20629 if { (ac_try
="$ac_compile"
20630 case "(($ac_try" in
20631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20632 *) ac_try_echo=$ac_try;;
20634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20635 (eval "$ac_compile") 2>conftest.er1
20637 grep -v '^ *+' conftest.er1 >conftest.err
20639 cat conftest.err >&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } && {
20642 test -z "$ac_c_werror_flag" ||
20643 test ! -s conftest.err
20644 } && test -s conftest.$ac_objext; then
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20650 ac_lo=`expr '(' $ac_mid ')' + 1`
20653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 ?*) ac_cv_sizeof_int=$ac_lo;;
20657 '') if test "$ac_cv_type_int" = yes; then
20658 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20659 See \`config.log
' for more details." >&5
20660 echo "$as_me: error: cannot compute sizeof (int)
20661 See \`config.log' for more details.
" >&2;}
20662 { (exit 77); exit 77; }; }
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef int ac__type_sizeof_;
20676 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20677 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20679 #include <stdlib.h>
20684 FILE *f = fopen ("conftest.val
", "w
");
20687 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20689 long int i = longval ();
20690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20692 fprintf (f, "%ld
\n", i);
20696 unsigned long int i = ulongval ();
20697 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20699 fprintf (f, "%lu
\n", i);
20701 return ferror (f) || fclose (f) != 0;
20707 rm -f conftest$ac_exeext
20708 if { (ac_try="$ac_link"
20709 case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_link") 2>&5
20716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20718 { (case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_try") 2>&5
20725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_sizeof_int=`cat conftest.val`
20729 echo "$as_me: program exited with status
$ac_status" >&5
20730 echo "$as_me: failed program was
:" >&5
20731 sed 's/^/| /' conftest.$ac_ext >&5
20733 ( exit $ac_status )
20734 if test "$ac_cv_type_int" = yes; then
20735 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20736 See \
`config.log' for more details." >&5
20737 echo "$as_me: error: cannot compute sizeof (int)
20738 See \`config.log
' for more details." >&2;}
20739 { (exit 77); exit 77; }; }
20744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20748 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20749 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20753 cat >>confdefs.h <<_ACEOF
20754 #define SIZEOF_INT $ac_cv_sizeof_int
20758 { echo "$as_me:$LINENO: checking for long" >&5
20759 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20760 if test "${ac_cv_type_long+set}" = set; then
20761 echo $ECHO_N "(cached) $ECHO_C" >&6
20763 cat >conftest.$ac_ext <<_ACEOF
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 $ac_includes_default
20770 typedef long ac__type_new_;
20774 if ((ac__type_new_ *) 0)
20776 if (sizeof (ac__type_new_))
20782 rm -f conftest.$ac_objext
20783 if { (ac_try="$ac_compile"
20784 case "(($ac_try" in
20785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20786 *) ac_try_echo=$ac_try;;
20788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20789 (eval "$ac_compile") 2>conftest.er1
20791 grep -v '^
*+' conftest.er1 >conftest.err
20793 cat conftest.err >&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); } && {
20796 test -z "$ac_c_werror_flag" ||
20797 test ! -s conftest.err
20798 } && test -s conftest.$ac_objext; then
20799 ac_cv_type_long=yes
20801 echo "$as_me: failed program was:" >&5
20802 sed 's
/^
/| /' conftest.$ac_ext >&5
20807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20809 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20810 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20812 # The cast to long int works around a bug in the HP C Compiler
20813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20815 # This bug is HP SR number 8606223364.
20816 { echo "$as_me:$LINENO: checking size of long" >&5
20817 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20818 if test "${ac_cv_sizeof_long+set}" = set; then
20819 echo $ECHO_N "(cached) $ECHO_C" >&6
20821 if test "$cross_compiling" = yes; then
20822 # Depending upon the size, compute the lo and hi bounds.
20823 cat >conftest.
$ac_ext <<_ACEOF
20826 cat confdefs.h
>>conftest.
$ac_ext
20827 cat >>conftest.
$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef long ac__type_sizeof_;
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20841 rm -f conftest.
$ac_objext
20842 if { (ac_try
="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1 >conftest.err
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20860 cat >conftest.$ac_ext <<_ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 typedef long ac__type_sizeof_;
20871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20882 *) ac_try_echo
=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20887 grep -v '^ *+' conftest.er1
>conftest.err
20889 cat conftest.err
>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.
$ac_objext; then
20895 ac_hi
=$ac_mid; break
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.
$ac_ext >&5
20900 ac_lo
=`expr $ac_mid + 1`
20901 if test $ac_lo -le $ac_mid; then
20905 ac_mid
=`expr 2 '*' $ac_mid + 1`
20908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.
$ac_ext >&5
20914 cat >conftest.
$ac_ext <<_ACEOF
20917 cat confdefs.h
>>conftest.
$ac_ext
20918 cat >>conftest.
$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 typedef long ac__type_sizeof_;
20925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20932 rm -f conftest.
$ac_objext
20933 if { (ac_try
="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1 >conftest.err
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.$ac_objext; then
20951 cat >conftest.$ac_ext <<_ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long ac__type_sizeof_;
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20969 rm -f conftest.$ac_objext
20970 if { (ac_try="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20973 *) ac_try_echo
=$ac_try;;
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20978 grep -v '^ *+' conftest.er1
>conftest.err
20980 cat conftest.err
>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.
$ac_objext; then
20986 ac_lo
=$ac_mid; break
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.
$ac_ext >&5
20991 ac_hi
=`expr '(' $ac_mid ')' - 1`
20992 if test $ac_mid -le $ac_hi; then
20996 ac_mid
=`expr 2 '*' $ac_mid`
20999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21012 # Binary search between lo and hi bounds.
21013 while test "x$ac_lo" != "x$ac_hi"; do
21014 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21015 cat >conftest.
$ac_ext <<_ACEOF
21018 cat confdefs.h
>>conftest.
$ac_ext
21019 cat >>conftest.
$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21021 $ac_includes_default
21022 typedef long ac__type_sizeof_;
21026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21033 rm -f conftest.
$ac_objext
21034 if { (ac_try
="$ac_compile"
21035 case "(($ac_try" in
21036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_compile") 2>conftest.er1
21042 grep -v '^ *+' conftest.er1 >conftest.err
21044 cat conftest.err >&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } && {
21047 test -z "$ac_c_werror_flag" ||
21048 test ! -s conftest.err
21049 } && test -s conftest.$ac_objext; then
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21055 ac_lo=`expr '(' $ac_mid ')' + 1`
21058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21061 ?*) ac_cv_sizeof_long=$ac_lo;;
21062 '') if test "$ac_cv_type_long" = yes; then
21063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21064 See \`config.log
' for more details." >&5
21065 echo "$as_me: error: cannot compute sizeof (long)
21066 See \`config.log' for more details.
" >&2;}
21067 { (exit 77); exit 77; }; }
21069 ac_cv_sizeof_long=0
21073 cat >conftest.$ac_ext <<_ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21080 typedef long ac__type_sizeof_;
21081 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21082 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21084 #include <stdlib.h>
21089 FILE *f = fopen ("conftest.val
", "w
");
21092 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21094 long int i = longval ();
21095 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21097 fprintf (f, "%ld
\n", i);
21101 unsigned long int i = ulongval ();
21102 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21104 fprintf (f, "%lu
\n", i);
21106 return ferror (f) || fclose (f) != 0;
21112 rm -f conftest$ac_exeext
21113 if { (ac_try="$ac_link"
21114 case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_link") 2>&5
21121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21123 { (case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_try") 2>&5
21130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_cv_sizeof_long=`cat conftest.val`
21134 echo "$as_me: program exited with status
$ac_status" >&5
21135 echo "$as_me: failed program was
:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21138 ( exit $ac_status )
21139 if test "$ac_cv_type_long" = yes; then
21140 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21141 See \
`config.log' for more details." >&5
21142 echo "$as_me: error: cannot compute sizeof (long)
21143 See \`config.log
' for more details." >&2;}
21144 { (exit 77); exit 77; }; }
21146 ac_cv_sizeof_long=0
21149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21153 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21154 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21158 cat >>confdefs.h <<_ACEOF
21159 #define SIZEOF_LONG $ac_cv_sizeof_long
21163 { echo "$as_me:$LINENO: checking for size_t" >&5
21164 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21165 if test "${ac_cv_type_size_t+set}" = set; then
21166 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 cat >conftest.$ac_ext <<_ACEOF
21171 cat confdefs.h >>conftest.$ac_ext
21172 cat >>conftest.$ac_ext <<_ACEOF
21173 /* end confdefs.h. */
21174 $ac_includes_default
21175 typedef size_t ac__type_new_;
21179 if ((ac__type_new_ *) 0)
21181 if (sizeof (ac__type_new_))
21187 rm -f conftest.$ac_objext
21188 if { (ac_try="$ac_compile"
21189 case "(($ac_try" in
21190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21191 *) ac_try_echo=$ac_try;;
21193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21194 (eval "$ac_compile") 2>conftest.er1
21196 grep -v '^
*+' conftest.er1 >conftest.err
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } && {
21201 test -z "$ac_c_werror_flag" ||
21202 test ! -s conftest.err
21203 } && test -s conftest.$ac_objext; then
21204 ac_cv_type_size_t=yes
21206 echo "$as_me: failed program was:" >&5
21207 sed 's
/^
/| /' conftest.$ac_ext >&5
21209 ac_cv_type_size_t=no
21212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21215 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21217 # The cast to long int works around a bug in the HP C Compiler
21218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21220 # This bug is HP SR number 8606223364.
21221 { echo "$as_me:$LINENO: checking size of size_t" >&5
21222 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21223 if test "${ac_cv_sizeof_size_t+set}" = set; then
21224 echo $ECHO_N "(cached) $ECHO_C" >&6
21226 if test "$cross_compiling" = yes; then
21227 # Depending upon the size, compute the lo and hi bounds.
21228 cat >conftest.
$ac_ext <<_ACEOF
21231 cat confdefs.h
>>conftest.
$ac_ext
21232 cat >>conftest.
$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef size_t ac__type_sizeof_;
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21246 rm -f conftest.
$ac_objext
21247 if { (ac_try
="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1 >conftest.err
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21265 cat >conftest.$ac_ext <<_ACEOF
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 $ac_includes_default
21272 typedef size_t ac__type_sizeof_;
21276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21283 rm -f conftest.$ac_objext
21284 if { (ac_try="$ac_compile"
21285 case "(($ac_try" in
21286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21287 *) ac_try_echo
=$ac_try;;
21289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 (eval "$ac_compile") 2>conftest.er1
21292 grep -v '^ *+' conftest.er1
>conftest.err
21294 cat conftest.err
>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } && {
21297 test -z "$ac_c_werror_flag" ||
21298 test ! -s conftest.err
21299 } && test -s conftest.
$ac_objext; then
21300 ac_hi
=$ac_mid; break
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.
$ac_ext >&5
21305 ac_lo
=`expr $ac_mid + 1`
21306 if test $ac_lo -le $ac_mid; then
21310 ac_mid
=`expr 2 '*' $ac_mid + 1`
21313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.
$ac_ext >&5
21319 cat >conftest.
$ac_ext <<_ACEOF
21322 cat confdefs.h
>>conftest.
$ac_ext
21323 cat >>conftest.
$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326 typedef size_t ac__type_sizeof_;
21330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21337 rm -f conftest.
$ac_objext
21338 if { (ac_try
="$ac_compile"
21339 case "(($ac_try" in
21340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21341 *) ac_try_echo=$ac_try;;
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_compile") 2>conftest.er1
21346 grep -v '^ *+' conftest.er1 >conftest.err
21348 cat conftest.err >&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && {
21351 test -z "$ac_c_werror_flag" ||
21352 test ! -s conftest.err
21353 } && test -s conftest.$ac_objext; then
21356 cat >conftest.$ac_ext <<_ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 typedef size_t ac__type_sizeof_;
21367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21374 rm -f conftest.$ac_objext
21375 if { (ac_try="$ac_compile"
21376 case "(($ac_try" in
21377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21378 *) ac_try_echo
=$ac_try;;
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_compile") 2>conftest.er1
21383 grep -v '^ *+' conftest.er1
>conftest.err
21385 cat conftest.err
>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); } && {
21388 test -z "$ac_c_werror_flag" ||
21389 test ! -s conftest.err
21390 } && test -s conftest.
$ac_objext; then
21391 ac_lo
=$ac_mid; break
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.
$ac_ext >&5
21396 ac_hi
=`expr '(' $ac_mid ')' - 1`
21397 if test $ac_mid -le $ac_hi; then
21401 ac_mid
=`expr 2 '*' $ac_mid`
21404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.
$ac_ext >&5
21413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21417 # Binary search between lo and hi bounds.
21418 while test "x$ac_lo" != "x$ac_hi"; do
21419 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21420 cat >conftest.
$ac_ext <<_ACEOF
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 $ac_includes_default
21427 typedef size_t ac__type_sizeof_;
21431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21438 rm -f conftest.
$ac_objext
21439 if { (ac_try
="$ac_compile"
21440 case "(($ac_try" in
21441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21442 *) ac_try_echo=$ac_try;;
21444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21445 (eval "$ac_compile") 2>conftest.er1
21447 grep -v '^ *+' conftest.er1 >conftest.err
21449 cat conftest.err >&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && {
21452 test -z "$ac_c_werror_flag" ||
21453 test ! -s conftest.err
21454 } && test -s conftest.$ac_objext; then
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 ac_lo=`expr '(' $ac_mid ')' + 1`
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21466 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21467 '') if test "$ac_cv_type_size_t" = yes; then
21468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21469 See \`config.log
' for more details." >&5
21470 echo "$as_me: error: cannot compute sizeof (size_t)
21471 See \`config.log' for more details.
" >&2;}
21472 { (exit 77); exit 77; }; }
21474 ac_cv_sizeof_size_t=0
21478 cat >conftest.$ac_ext <<_ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21484 $ac_includes_default
21485 typedef size_t ac__type_sizeof_;
21486 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21487 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21489 #include <stdlib.h>
21494 FILE *f = fopen ("conftest.val
", "w
");
21497 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21499 long int i = longval ();
21500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21502 fprintf (f, "%ld
\n", i);
21506 unsigned long int i = ulongval ();
21507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21509 fprintf (f, "%lu
\n", i);
21511 return ferror (f) || fclose (f) != 0;
21517 rm -f conftest$ac_exeext
21518 if { (ac_try="$ac_link"
21519 case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_link") 2>&5
21526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21528 { (case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_try") 2>&5
21535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21536 (exit $ac_status); }; }; then
21537 ac_cv_sizeof_size_t=`cat conftest.val`
21539 echo "$as_me: program exited with status
$ac_status" >&5
21540 echo "$as_me: failed program was
:" >&5
21541 sed 's/^/| /' conftest.$ac_ext >&5
21543 ( exit $ac_status )
21544 if test "$ac_cv_type_size_t" = yes; then
21545 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21546 See \
`config.log' for more details." >&5
21547 echo "$as_me: error: cannot compute sizeof (size_t)
21548 See \`config.log
' for more details." >&2;}
21549 { (exit 77); exit 77; }; }
21551 ac_cv_sizeof_size_t=0
21554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21558 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21559 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21563 cat >>confdefs.h <<_ACEOF
21564 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21571 { echo "$as_me:$LINENO: checking for long long" >&5
21572 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21573 if test "${ac_cv_type_long_long+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 cat >conftest.$ac_ext <<_ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582 $ac_includes_default
21583 typedef long long ac__type_new_;
21587 if ((ac__type_new_ *) 0)
21589 if (sizeof (ac__type_new_))
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21604 grep -v '^
*+' conftest.er1 >conftest.err
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } && {
21609 test -z "$ac_c_werror_flag" ||
21610 test ! -s conftest.err
21611 } && test -s conftest.$ac_objext; then
21612 ac_cv_type_long_long=yes
21614 echo "$as_me: failed program was:" >&5
21615 sed 's
/^
/| /' conftest.$ac_ext >&5
21617 ac_cv_type_long_long=no
21620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21623 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21625 # The cast to long int works around a bug in the HP C Compiler
21626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21628 # This bug is HP SR number 8606223364.
21629 { echo "$as_me:$LINENO: checking size of long long" >&5
21630 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21631 if test "${ac_cv_sizeof_long_long+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 if test "$cross_compiling" = yes; then
21635 # Depending upon the size, compute the lo and hi bounds.
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642 $ac_includes_default
21643 typedef long long ac__type_sizeof_;
21647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21654 rm -f conftest.
$ac_objext
21655 if { (ac_try
="$ac_compile"
21656 case "(($ac_try" in
21657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21658 *) ac_try_echo=$ac_try;;
21660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21661 (eval "$ac_compile") 2>conftest.er1
21663 grep -v '^ *+' conftest.er1 >conftest.err
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } && {
21668 test -z "$ac_c_werror_flag" ||
21669 test ! -s conftest.err
21670 } && test -s conftest.$ac_objext; then
21673 cat >conftest.$ac_ext <<_ACEOF
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679 $ac_includes_default
21680 typedef long long ac__type_sizeof_;
21684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21691 rm -f conftest.$ac_objext
21692 if { (ac_try="$ac_compile"
21693 case "(($ac_try" in
21694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21695 *) ac_try_echo
=$ac_try;;
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_compile") 2>conftest.er1
21700 grep -v '^ *+' conftest.er1
>conftest.err
21702 cat conftest.err
>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && {
21705 test -z "$ac_c_werror_flag" ||
21706 test ! -s conftest.err
21707 } && test -s conftest.
$ac_objext; then
21708 ac_hi
=$ac_mid; break
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.
$ac_ext >&5
21713 ac_lo
=`expr $ac_mid + 1`
21714 if test $ac_lo -le $ac_mid; then
21718 ac_mid
=`expr 2 '*' $ac_mid + 1`
21721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 echo "$as_me: failed program was:" >&5
21725 sed 's/^/| /' conftest.
$ac_ext >&5
21727 cat >conftest.
$ac_ext <<_ACEOF
21730 cat confdefs.h
>>conftest.
$ac_ext
21731 cat >>conftest.
$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 typedef long long ac__type_sizeof_;
21738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21745 rm -f conftest.
$ac_objext
21746 if { (ac_try
="$ac_compile"
21747 case "(($ac_try" in
21748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21749 *) ac_try_echo=$ac_try;;
21751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21752 (eval "$ac_compile") 2>conftest.er1
21754 grep -v '^ *+' conftest.er1 >conftest.err
21756 cat conftest.err >&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } && {
21759 test -z "$ac_c_werror_flag" ||
21760 test ! -s conftest.err
21761 } && test -s conftest.$ac_objext; then
21764 cat >conftest.$ac_ext <<_ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef long long ac__type_sizeof_;
21775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21782 rm -f conftest.$ac_objext
21783 if { (ac_try="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21786 *) ac_try_echo
=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21791 grep -v '^ *+' conftest.er1
>conftest.err
21793 cat conftest.err
>&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err
21798 } && test -s conftest.
$ac_objext; then
21799 ac_lo
=$ac_mid; break
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.
$ac_ext >&5
21804 ac_hi
=`expr '(' $ac_mid ')' - 1`
21805 if test $ac_mid -le $ac_hi; then
21809 ac_mid
=`expr 2 '*' $ac_mid`
21812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21815 echo "$as_me: failed program was:" >&5
21816 sed 's/^/| /' conftest.
$ac_ext >&5
21821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21825 # Binary search between lo and hi bounds.
21826 while test "x$ac_lo" != "x$ac_hi"; do
21827 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21828 cat >conftest.
$ac_ext <<_ACEOF
21831 cat confdefs.h
>>conftest.
$ac_ext
21832 cat >>conftest.
$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21834 $ac_includes_default
21835 typedef long long ac__type_sizeof_;
21839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21846 rm -f conftest.
$ac_objext
21847 if { (ac_try
="$ac_compile"
21848 case "(($ac_try" in
21849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21850 *) ac_try_echo=$ac_try;;
21852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21853 (eval "$ac_compile") 2>conftest.er1
21855 grep -v '^ *+' conftest.er1 >conftest.err
21857 cat conftest.err >&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } && {
21860 test -z "$ac_c_werror_flag" ||
21861 test ! -s conftest.err
21862 } && test -s conftest.$ac_objext; then
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 ac_lo=`expr '(' $ac_mid ')' + 1`
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21875 '') if test "$ac_cv_type_long_long" = yes; then
21876 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21877 See \`config.log
' for more details." >&5
21878 echo "$as_me: error: cannot compute sizeof (long long)
21879 See \`config.log' for more details.
" >&2;}
21880 { (exit 77); exit 77; }; }
21882 ac_cv_sizeof_long_long=0
21886 cat >conftest.$ac_ext <<_ACEOF
21889 cat confdefs.h >>conftest.$ac_ext
21890 cat >>conftest.$ac_ext <<_ACEOF
21891 /* end confdefs.h. */
21892 $ac_includes_default
21893 typedef long long ac__type_sizeof_;
21894 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21895 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21897 #include <stdlib.h>
21902 FILE *f = fopen ("conftest.val
", "w
");
21905 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21907 long int i = longval ();
21908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21910 fprintf (f, "%ld
\n", i);
21914 unsigned long int i = ulongval ();
21915 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21917 fprintf (f, "%lu
\n", i);
21919 return ferror (f) || fclose (f) != 0;
21925 rm -f conftest$ac_exeext
21926 if { (ac_try="$ac_link"
21927 case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_link") 2>&5
21934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21936 { (case "(($ac_try" in
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21938 *) ac_try_echo=$ac_try;;
21940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21941 (eval "$ac_try") 2>&5
21943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21944 (exit $ac_status); }; }; then
21945 ac_cv_sizeof_long_long=`cat conftest.val`
21947 echo "$as_me: program exited with status
$ac_status" >&5
21948 echo "$as_me: failed program was
:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21951 ( exit $ac_status )
21952 if test "$ac_cv_type_long_long" = yes; then
21953 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21954 See \
`config.log' for more details." >&5
21955 echo "$as_me: error: cannot compute sizeof (long long)
21956 See \`config.log
' for more details." >&2;}
21957 { (exit 77); exit 77; }; }
21959 ac_cv_sizeof_long_long=0
21962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21966 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21967 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21971 cat >>confdefs.h <<_ACEOF
21972 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21978 { echo "$as_me:$LINENO: checking for long long" >&5
21979 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21980 if test "${ac_cv_type_long_long+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 cat >conftest.$ac_ext <<_ACEOF
21986 cat confdefs.h >>conftest.$ac_ext
21987 cat >>conftest.$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 $ac_includes_default
21990 typedef long long ac__type_new_;
21994 if ((ac__type_new_ *) 0)
21996 if (sizeof (ac__type_new_))
22002 rm -f conftest.$ac_objext
22003 if { (ac_try="$ac_compile"
22004 case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_compile") 2>conftest.er1
22011 grep -v '^
*+' conftest.er1 >conftest.err
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && {
22016 test -z "$ac_c_werror_flag" ||
22017 test ! -s conftest.err
22018 } && test -s conftest.$ac_objext; then
22019 ac_cv_type_long_long=yes
22021 echo "$as_me: failed program was:" >&5
22022 sed 's
/^
/| /' conftest.$ac_ext >&5
22024 ac_cv_type_long_long=no
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22029 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22030 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22032 # The cast to long int works around a bug in the HP C Compiler
22033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22035 # This bug is HP SR number 8606223364.
22036 { echo "$as_me:$LINENO: checking size of long long" >&5
22037 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22038 if test "${ac_cv_sizeof_long_long+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 if test "$cross_compiling" = yes; then
22042 # Depending upon the size, compute the lo and hi bounds.
22043 cat >conftest.
$ac_ext <<_ACEOF
22046 cat confdefs.h
>>conftest.
$ac_ext
22047 cat >>conftest.
$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 $ac_includes_default
22050 typedef long long ac__type_sizeof_;
22054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22061 rm -f conftest.
$ac_objext
22062 if { (ac_try
="$ac_compile"
22063 case "(($ac_try" in
22064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22065 *) ac_try_echo=$ac_try;;
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22068 (eval "$ac_compile") 2>conftest.er1
22070 grep -v '^ *+' conftest.er1 >conftest.err
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } && {
22075 test -z "$ac_c_werror_flag" ||
22076 test ! -s conftest.err
22077 } && test -s conftest.$ac_objext; then
22080 cat >conftest.$ac_ext <<_ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086 $ac_includes_default
22087 typedef long long ac__type_sizeof_;
22091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22098 rm -f conftest.$ac_objext
22099 if { (ac_try="$ac_compile"
22100 case "(($ac_try" in
22101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22102 *) ac_try_echo
=$ac_try;;
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_compile") 2>conftest.er1
22107 grep -v '^ *+' conftest.er1
>conftest.err
22109 cat conftest.err
>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } && {
22112 test -z "$ac_c_werror_flag" ||
22113 test ! -s conftest.err
22114 } && test -s conftest.
$ac_objext; then
22115 ac_hi
=$ac_mid; break
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22120 ac_lo
=`expr $ac_mid + 1`
22121 if test $ac_lo -le $ac_mid; then
22125 ac_mid
=`expr 2 '*' $ac_mid + 1`
22128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.
$ac_ext >&5
22134 cat >conftest.
$ac_ext <<_ACEOF
22137 cat confdefs.h
>>conftest.
$ac_ext
22138 cat >>conftest.
$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef long long ac__type_sizeof_;
22145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22152 rm -f conftest.
$ac_objext
22153 if { (ac_try
="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22161 grep -v '^ *+' conftest.er1 >conftest.err
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.$ac_objext; then
22171 cat >conftest.$ac_ext <<_ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22193 *) ac_try_echo
=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1
>conftest.err
22200 cat conftest.err
>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.
$ac_objext; then
22206 ac_lo
=$ac_mid; break
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.
$ac_ext >&5
22211 ac_hi
=`expr '(' $ac_mid ')' - 1`
22212 if test $ac_mid -le $ac_hi; then
22216 ac_mid
=`expr 2 '*' $ac_mid`
22219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.
$ac_ext >&5
22228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22232 # Binary search between lo and hi bounds.
22233 while test "x$ac_lo" != "x$ac_hi"; do
22234 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22235 cat >conftest.
$ac_ext <<_ACEOF
22238 cat confdefs.h
>>conftest.
$ac_ext
22239 cat >>conftest.
$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241 $ac_includes_default
22242 typedef long long ac__type_sizeof_;
22246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22253 rm -f conftest.
$ac_objext
22254 if { (ac_try
="$ac_compile"
22255 case "(($ac_try" in
22256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22257 *) ac_try_echo=$ac_try;;
22259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22260 (eval "$ac_compile") 2>conftest.er1
22262 grep -v '^ *+' conftest.er1 >conftest.err
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && {
22267 test -z "$ac_c_werror_flag" ||
22268 test ! -s conftest.err
22269 } && test -s conftest.$ac_objext; then
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.$ac_ext >&5
22275 ac_lo=`expr '(' $ac_mid ')' + 1`
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22282 '') if test "$ac_cv_type_long_long" = yes; then
22283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22284 See \`config.log
' for more details." >&5
22285 echo "$as_me: error: cannot compute sizeof (long long)
22286 See \`config.log' for more details.
" >&2;}
22287 { (exit 77); exit 77; }; }
22289 ac_cv_sizeof_long_long=0
22293 cat >conftest.$ac_ext <<_ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef long long ac__type_sizeof_;
22301 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22302 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22304 #include <stdlib.h>
22309 FILE *f = fopen ("conftest.val
", "w
");
22312 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22314 long int i = longval ();
22315 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22317 fprintf (f, "%ld
\n", i);
22321 unsigned long int i = ulongval ();
22322 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22324 fprintf (f, "%lu
\n", i);
22326 return ferror (f) || fclose (f) != 0;
22332 rm -f conftest$ac_exeext
22333 if { (ac_try="$ac_link"
22334 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_link") 2>&5
22341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22343 { (case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_try") 2>&5
22350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 ac_cv_sizeof_long_long=`cat conftest.val`
22354 echo "$as_me: program exited with status
$ac_status" >&5
22355 echo "$as_me: failed program was
:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 ( exit $ac_status )
22359 if test "$ac_cv_type_long_long" = yes; then
22360 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22361 See \
`config.log' for more details." >&5
22362 echo "$as_me: error: cannot compute sizeof (long long)
22363 See \`config.log
' for more details." >&2;}
22364 { (exit 77); exit 77; }; }
22366 ac_cv_sizeof_long_long=0
22369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22373 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22374 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22378 cat >>confdefs.h <<_ACEOF
22379 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22383 if test "$ac_cv_sizeof_long_long" != 0; then
22384 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22388 { echo "$as_me:$LINENO: checking for long long" >&5
22389 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22390 if test "${ac_cv_type_long_long+set}" = set; then
22391 echo $ECHO_N "(cached) $ECHO_C" >&6
22393 cat >conftest.$ac_ext <<_ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 $ac_includes_default
22400 typedef long long ac__type_new_;
22404 if ((ac__type_new_ *) 0)
22406 if (sizeof (ac__type_new_))
22412 rm -f conftest.$ac_objext
22413 if { (ac_try="$ac_compile"
22414 case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_compile") 2>conftest.er1
22421 grep -v '^
*+' conftest.er1 >conftest.err
22423 cat conftest.err >&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && {
22426 test -z "$ac_c_werror_flag" ||
22427 test ! -s conftest.err
22428 } && test -s conftest.$ac_objext; then
22429 ac_cv_type_long_long=yes
22431 echo "$as_me: failed program was:" >&5
22432 sed 's
/^
/| /' conftest.$ac_ext >&5
22434 ac_cv_type_long_long=no
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22440 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22442 # The cast to long int works around a bug in the HP C Compiler
22443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22445 # This bug is HP SR number 8606223364.
22446 { echo "$as_me:$LINENO: checking size of long long" >&5
22447 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22448 if test "${ac_cv_sizeof_long_long+set}" = set; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 if test "$cross_compiling" = yes; then
22452 # Depending upon the size, compute the lo and hi bounds.
22453 cat >conftest.
$ac_ext <<_ACEOF
22456 cat confdefs.h
>>conftest.
$ac_ext
22457 cat >>conftest.
$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 $ac_includes_default
22460 typedef long long ac__type_sizeof_;
22464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22471 rm -f conftest.
$ac_objext
22472 if { (ac_try
="$ac_compile"
22473 case "(($ac_try" in
22474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22475 *) ac_try_echo=$ac_try;;
22477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22478 (eval "$ac_compile") 2>conftest.er1
22480 grep -v '^ *+' conftest.er1 >conftest.err
22482 cat conftest.err >&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); } && {
22485 test -z "$ac_c_werror_flag" ||
22486 test ! -s conftest.err
22487 } && test -s conftest.$ac_objext; then
22490 cat >conftest.$ac_ext <<_ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef long long ac__type_sizeof_;
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22508 rm -f conftest.$ac_objext
22509 if { (ac_try="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22512 *) ac_try_echo
=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1
>conftest.err
22519 cat conftest.err
>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.
$ac_objext; then
22525 ac_hi
=$ac_mid; break
22527 echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.
$ac_ext >&5
22530 ac_lo
=`expr $ac_mid + 1`
22531 if test $ac_lo -le $ac_mid; then
22535 ac_mid
=`expr 2 '*' $ac_mid + 1`
22538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.
$ac_ext >&5
22544 cat >conftest.
$ac_ext <<_ACEOF
22547 cat confdefs.h
>>conftest.
$ac_ext
22548 cat >>conftest.
$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 $ac_includes_default
22551 typedef long long ac__type_sizeof_;
22555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22562 rm -f conftest.
$ac_objext
22563 if { (ac_try
="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22571 grep -v '^ *+' conftest.er1 >conftest.err
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest.$ac_objext; then
22581 cat >conftest.$ac_ext <<_ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef long long ac__type_sizeof_;
22592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22599 rm -f conftest.$ac_objext
22600 if { (ac_try="$ac_compile"
22601 case "(($ac_try" in
22602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22603 *) ac_try_echo
=$ac_try;;
22605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22606 (eval "$ac_compile") 2>conftest.er1
22608 grep -v '^ *+' conftest.er1
>conftest.err
22610 cat conftest.err
>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } && {
22613 test -z "$ac_c_werror_flag" ||
22614 test ! -s conftest.err
22615 } && test -s conftest.
$ac_objext; then
22616 ac_lo
=$ac_mid; break
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.
$ac_ext >&5
22621 ac_hi
=`expr '(' $ac_mid ')' - 1`
22622 if test $ac_mid -le $ac_hi; then
22626 ac_mid
=`expr 2 '*' $ac_mid`
22629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.
$ac_ext >&5
22638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22642 # Binary search between lo and hi bounds.
22643 while test "x$ac_lo" != "x$ac_hi"; do
22644 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22645 cat >conftest.
$ac_ext <<_ACEOF
22648 cat confdefs.h
>>conftest.
$ac_ext
22649 cat >>conftest.
$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22663 rm -f conftest.
$ac_objext
22664 if { (ac_try
="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22672 grep -v '^ *+' conftest.er1 >conftest.err
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22685 ac_lo=`expr '(' $ac_mid ')' + 1`
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22692 '') if test "$ac_cv_type_long_long" = yes; then
22693 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22694 See \`config.log
' for more details." >&5
22695 echo "$as_me: error: cannot compute sizeof (long long)
22696 See \`config.log' for more details.
" >&2;}
22697 { (exit 77); exit 77; }; }
22699 ac_cv_sizeof_long_long=0
22703 cat >conftest.$ac_ext <<_ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 $ac_includes_default
22710 typedef long long ac__type_sizeof_;
22711 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22712 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22714 #include <stdlib.h>
22719 FILE *f = fopen ("conftest.val
", "w
");
22722 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22724 long int i = longval ();
22725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22727 fprintf (f, "%ld
\n", i);
22731 unsigned long int i = ulongval ();
22732 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22734 fprintf (f, "%lu
\n", i);
22736 return ferror (f) || fclose (f) != 0;
22742 rm -f conftest$ac_exeext
22743 if { (ac_try="$ac_link"
22744 case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_link") 2>&5
22751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22753 { (case "(($ac_try" in
22754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22755 *) ac_try_echo=$ac_try;;
22757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22758 (eval "$ac_try") 2>&5
22760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 ac_cv_sizeof_long_long=`cat conftest.val`
22764 echo "$as_me: program exited with status
$ac_status" >&5
22765 echo "$as_me: failed program was
:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 ( exit $ac_status )
22769 if test "$ac_cv_type_long_long" = yes; then
22770 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22771 See \
`config.log' for more details." >&5
22772 echo "$as_me: error: cannot compute sizeof (long long)
22773 See \`config.log
' for more details." >&2;}
22774 { (exit 77); exit 77; }; }
22776 ac_cv_sizeof_long_long=0
22779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22783 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22784 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22788 cat >>confdefs.h <<_ACEOF
22789 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22795 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22796 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22797 if test "${ac_cv_type_wchar_t+set}" = set; then
22798 echo $ECHO_N "(cached) $ECHO_C" >&6
22800 cat >conftest.$ac_ext <<_ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22807 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22809 # error "fake wchar_t"
22811 #ifdef HAVE_WCHAR_H
22813 # include <stddef.h>
22815 # include <wchar.h>
22817 #ifdef HAVE_STDLIB_H
22818 # include <stdlib.h>
22824 typedef wchar_t ac__type_new_
;
22828 if ((ac__type_new_
*) 0)
22830 if (sizeof
(ac__type_new_
))
22836 rm -f conftest.
$ac_objext
22837 if { (ac_try
="$ac_compile"
22838 case "(($ac_try" in
22839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22840 *) ac_try_echo=$ac_try;;
22842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22843 (eval "$ac_compile") 2>conftest.er1
22845 grep -v '^ *+' conftest.er1 >conftest.err
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } && {
22850 test -z "$ac_c_werror_flag" ||
22851 test ! -s conftest.err
22852 } && test -s conftest.$ac_objext; then
22853 ac_cv_type_wchar_t=yes
22855 echo "$as_me: failed program was:" >&5
22856 sed 's/^/| /' conftest.$ac_ext >&5
22858 ac_cv_type_wchar_t=no
22861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22864 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22866 # The cast to long int works around a bug in the HP C Compiler
22867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22868 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22869 # This bug is HP SR number 8606223364.
22870 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22871 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22872 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22873 echo $ECHO_N "(cached) $ECHO_C" >&6
22875 if test "$cross_compiling" = yes; then
22876 # Depending upon the size, compute the lo and hi bounds.
22877 cat >conftest.$ac_ext <<_ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22884 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22885 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22886 # error "fake wchar_t"
22888 #ifdef HAVE_WCHAR_H
22890 # include <stddef.h>
22892 # include <wchar.h>
22894 #ifdef HAVE_STDLIB_H
22895 # include <stdlib.h>
22901 typedef wchar_t ac__type_sizeof_
;
22905 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22912 rm -f conftest.
$ac_objext
22913 if { (ac_try
="$ac_compile"
22914 case "(($ac_try" in
22915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22916 *) ac_try_echo=$ac_try;;
22918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_compile") 2>conftest.er1
22921 grep -v '^ *+' conftest.er1 >conftest.err
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } && {
22926 test -z "$ac_c_werror_flag" ||
22927 test ! -s conftest.err
22928 } && test -s conftest.$ac_objext; then
22931 cat >conftest.$ac_ext <<_ACEOF
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22938 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22939 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22940 # error "fake wchar_t"
22942 #ifdef HAVE_WCHAR_H
22944 # include <stddef.h>
22946 # include <wchar.h>
22948 #ifdef HAVE_STDLIB_H
22949 # include <stdlib.h>
22955 typedef wchar_t ac__type_sizeof_;
22959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22966 rm -f conftest.$ac_objext
22967 if { (ac_try="$ac_compile"
22968 case "(($ac_try" in
22969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22970 *) ac_try_echo
=$ac_try;;
22972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22973 (eval "$ac_compile") 2>conftest.er1
22975 grep -v '^ *+' conftest.er1
>conftest.err
22977 cat conftest.err
>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } && {
22980 test -z "$ac_c_werror_flag" ||
22981 test ! -s conftest.err
22982 } && test -s conftest.
$ac_objext; then
22983 ac_hi
=$ac_mid; break
22985 echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.
$ac_ext >&5
22988 ac_lo
=`expr $ac_mid + 1`
22989 if test $ac_lo -le $ac_mid; then
22993 ac_mid
=`expr 2 '*' $ac_mid + 1`
22996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.
$ac_ext >&5
23002 cat >conftest.
$ac_ext <<_ACEOF
23005 cat confdefs.h
>>conftest.
$ac_ext
23006 cat >>conftest.
$ac_ext <<_ACEOF
23007 /* end confdefs.h. */
23009 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23010 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23011 # error "fake wchar_t"
23013 #ifdef HAVE_WCHAR_H
23015 # include <stddef.h>
23017 # include <wchar.h>
23019 #ifdef HAVE_STDLIB_H
23020 # include <stdlib.h>
23026 typedef wchar_t ac__type_sizeof_;
23030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23037 rm -f conftest.
$ac_objext
23038 if { (ac_try
="$ac_compile"
23039 case "(($ac_try" in
23040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23056 cat >conftest.$ac_ext <<_ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23063 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23064 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23065 # error "fake wchar_t"
23067 #ifdef HAVE_WCHAR_H
23069 # include <stddef.h>
23071 # include <wchar.h>
23073 #ifdef HAVE_STDLIB_H
23074 # include <stdlib.h>
23080 typedef wchar_t ac__type_sizeof_;
23084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23091 rm -f conftest.$ac_objext
23092 if { (ac_try="$ac_compile"
23093 case "(($ac_try" in
23094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23095 *) ac_try_echo
=$ac_try;;
23097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23098 (eval "$ac_compile") 2>conftest.er1
23100 grep -v '^ *+' conftest.er1
>conftest.err
23102 cat conftest.err
>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } && {
23105 test -z "$ac_c_werror_flag" ||
23106 test ! -s conftest.err
23107 } && test -s conftest.
$ac_objext; then
23108 ac_lo
=$ac_mid; break
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.
$ac_ext >&5
23113 ac_hi
=`expr '(' $ac_mid ')' - 1`
23114 if test $ac_mid -le $ac_hi; then
23118 ac_mid
=`expr 2 '*' $ac_mid`
23121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.
$ac_ext >&5
23130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23134 # Binary search between lo and hi bounds.
23135 while test "x$ac_lo" != "x$ac_hi"; do
23136 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23137 cat >conftest.
$ac_ext <<_ACEOF
23140 cat confdefs.h
>>conftest.
$ac_ext
23141 cat >>conftest.
$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23144 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23145 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23146 # error "fake wchar_t"
23148 #ifdef HAVE_WCHAR_H
23150 # include <stddef.h>
23152 # include <wchar.h>
23154 #ifdef HAVE_STDLIB_H
23155 # include <stdlib.h>
23161 typedef wchar_t ac__type_sizeof_;
23165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23172 rm -f conftest.
$ac_objext
23173 if { (ac_try
="$ac_compile"
23174 case "(($ac_try" in
23175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23176 *) ac_try_echo=$ac_try;;
23178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23179 (eval "$ac_compile") 2>conftest.er1
23181 grep -v '^ *+' conftest.er1 >conftest.err
23183 cat conftest.err >&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } && {
23186 test -z "$ac_c_werror_flag" ||
23187 test ! -s conftest.err
23188 } && test -s conftest.$ac_objext; then
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23194 ac_lo=`expr '(' $ac_mid ')' + 1`
23197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23201 '') if test "$ac_cv_type_wchar_t" = yes; then
23202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23203 See \`config.log
' for more details." >&5
23204 echo "$as_me: error: cannot compute sizeof (wchar_t)
23205 See \`config.log' for more details.
" >&2;}
23206 { (exit 77); exit 77; }; }
23208 ac_cv_sizeof_wchar_t=0
23212 cat >conftest.$ac_ext <<_ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23219 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23220 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23221 # error "fake wchar_t
"
23223 #ifdef HAVE_WCHAR_H
23225 # include <stddef.h>
23227 # include <wchar.h>
23229 #ifdef HAVE_STDLIB_H
23230 # include <stdlib.h>
23236 typedef wchar_t ac__type_sizeof_;
23237 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23238 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23240 #include <stdlib.h>
23245 FILE *f = fopen ("conftest.val
", "w
");
23248 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23250 long int i = longval ();
23251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23253 fprintf (f, "%ld
\n", i);
23257 unsigned long int i = ulongval ();
23258 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23260 fprintf (f, "%lu
\n", i);
23262 return ferror (f) || fclose (f) != 0;
23268 rm -f conftest$ac_exeext
23269 if { (ac_try="$ac_link"
23270 case "(($ac_try" in
23271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23272 *) ac_try_echo=$ac_try;;
23274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23275 (eval "$ac_link") 2>&5
23277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23279 { (case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_try") 2>&5
23286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23287 (exit $ac_status); }; }; then
23288 ac_cv_sizeof_wchar_t=`cat conftest.val`
23290 echo "$as_me: program exited with status
$ac_status" >&5
23291 echo "$as_me: failed program was
:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23294 ( exit $ac_status )
23295 if test "$ac_cv_type_wchar_t" = yes; then
23296 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23297 See \
`config.log' for more details." >&5
23298 echo "$as_me: error: cannot compute sizeof (wchar_t)
23299 See \`config.log
' for more details." >&2;}
23300 { (exit 77); exit 77; }; }
23302 ac_cv_sizeof_wchar_t=0
23305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23309 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23310 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23314 cat >>confdefs.h <<_ACEOF
23315 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23319 if test "$ac_cv_sizeof_wchar_t" != 0; then
23325 { echo "$as_me:$LINENO: checking for va_copy" >&5
23326 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23327 if test "${wx_cv_func_va_copy+set}" = set; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 ac_cpp='$CXXCPP $CPPFLAGS'
23333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23334 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337 cat >conftest.$ac_ext <<_ACEOF
23339 #include <stdarg.h>
23340 void foo(char *f, ...)
23354 rm -f conftest.$ac_objext conftest$ac_exeext
23355 if { (ac_try="$ac_link"
23356 case "(($ac_try" in
23357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23358 *) ac_try_echo=$ac_try;;
23360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_link") 2>conftest.er1
23363 grep -v '^
*+' conftest.er1 >conftest.err
23365 cat conftest.err >&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); } && {
23368 test -z "$ac_cxx_werror_flag" ||
23369 test ! -s conftest.err
23370 } && test -s conftest$ac_exeext &&
23371 $as_test_x conftest$ac_exeext; then
23372 wx_cv_func_va_copy=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's
/^
/| /' conftest.$ac_ext >&5
23377 wx_cv_func_va_copy=no
23381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23382 conftest$ac_exeext conftest.$ac_ext
23384 ac_cpp='$CPP $CPPFLAGS'
23385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23392 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23393 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23395 if test $wx_cv_func_va_copy = "yes"; then
23396 cat >>confdefs.h <<\_ACEOF
23397 #define HAVE_VA_COPY 1
23401 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23402 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23403 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 if test "$cross_compiling" = yes; then
23408 wx_cv_type_va_list_lvalue=yes
23411 cat >conftest.$ac_ext <<_ACEOF
23413 #include <stdarg.h>
23414 int foo(char *f, ...)
23419 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23427 return foo("hi", 17);
23430 rm -f conftest$ac_exeext
23431 if { (ac_try="$ac_link"
23432 case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437 (eval "$ac_link") 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23441 { (case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_try") 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 wx_cv_type_va_list_lvalue=yes
23452 echo "$as_me: program exited with status $ac_status" >&5
23453 echo "$as_me: failed program was:" >&5
23454 sed 's
/^
/| /' conftest.$ac_ext >&5
23456 ( exit $ac_status )
23457 wx_cv_type_va_list_lvalue=no
23459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23466 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23467 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23469 if test $wx_cv_type_va_list_lvalue != "yes"; then
23470 cat >>confdefs.h <<\_ACEOF
23471 #define VA_LIST_IS_ARRAY 1
23477 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23479 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23480 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23481 if test "${wx_cv_have_variadic_macros+set}" = set; then
23482 echo $ECHO_N "(cached) $ECHO_C" >&6
23486 ac_cpp='$CXXCPP $CPPFLAGS'
23487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23488 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23491 cat >conftest.$ac_ext <<_ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23499 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23505 test("%s %d %p", "test", 1, 0);
23512 rm -f conftest.$ac_objext
23513 if { (ac_try="$ac_compile"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_compile") 2>conftest.er1
23521 grep -v '^
*+' conftest.er1 >conftest.err
23523 cat conftest.err >&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } && {
23526 test -z "$ac_cxx_werror_flag" ||
23527 test ! -s conftest.err
23528 } && test -s conftest.$ac_objext; then
23529 wx_cv_have_variadic_macros=yes
23531 echo "$as_me: failed program was:" >&5
23532 sed 's
/^
/| /' conftest.$ac_ext >&5
23534 wx_cv_have_variadic_macros=no
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23540 ac_cpp='$CPP $CPPFLAGS'
23541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23542 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23549 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23551 if test $wx_cv_have_variadic_macros = "yes"; then
23552 cat >>confdefs.h <<\_ACEOF
23553 #define HAVE_VARIADIC_MACROS 1
23560 LARGEFILE_CPPFLAGS=
23561 # Check whether --enable-largefile was given.
23562 if test "${enable_largefile+set}" = set; then
23563 enableval=$enable_largefile;
23566 if test "$enable_largefile" != no; then
23569 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23570 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23571 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23575 cat >conftest.$ac_ext <<_ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581 #define _FILE_OFFSET_BITS 64
23582 #include <sys/types.h>
23587 unsigned int field: sizeof(off_t) == 8;
23594 rm -f conftest.$ac_objext
23595 if { (ac_try="$ac_compile"
23596 case "(($ac_try" in
23597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598 *) ac_try_echo=$ac_try;;
23600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_compile") 2>conftest.er1
23603 grep -v '^
*+' conftest.er1 >conftest.err
23605 cat conftest.err >&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } && {
23608 test -z "$ac_c_werror_flag" ||
23609 test ! -s conftest.err
23610 } && test -s conftest.$ac_objext; then
23611 ac_cv_sys_file_offset_bits=64
23613 echo "$as_me: failed program was:" >&5
23614 sed 's
/^
/| /' conftest.$ac_ext >&5
23616 ac_cv_sys_file_offset_bits=no
23619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23624 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23626 if test "$ac_cv_sys_file_offset_bits" != no; then
23628 cat >>confdefs.h <<_ACEOF
23629 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23634 if test "x$wx_largefile" != "xyes"; then
23636 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23637 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23638 if test "${ac_cv_sys_large_files+set}" = set; then
23639 echo $ECHO_N "(cached) $ECHO_C" >&6
23642 cat >conftest.$ac_ext <<_ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 #define _LARGE_FILES 1
23649 #include <sys/types.h>
23654 unsigned int field: sizeof(off_t) == 8;
23661 rm -f conftest.$ac_objext
23662 if { (ac_try="$ac_compile"
23663 case "(($ac_try" in
23664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23665 *) ac_try_echo=$ac_try;;
23667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23668 (eval "$ac_compile") 2>conftest.er1
23670 grep -v '^
*+' conftest.er1 >conftest.err
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } && {
23675 test -z "$ac_c_werror_flag" ||
23676 test ! -s conftest.err
23677 } && test -s conftest.$ac_objext; then
23678 ac_cv_sys_large_files=1
23680 echo "$as_me: failed program was:" >&5
23681 sed 's
/^
/| /' conftest.$ac_ext >&5
23683 ac_cv_sys_large_files=no
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23690 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23691 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23693 if test "$ac_cv_sys_large_files" != no; then
23695 cat >>confdefs.h <<_ACEOF
23696 #define _LARGE_FILES $ac_cv_sys_large_files
23703 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23704 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23705 if test "x$wx_largefile" = "xyes"; then
23706 cat >>confdefs.h <<\_ACEOF
23707 #define HAVE_LARGEFILE_SUPPORT 1
23711 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23712 echo "${ECHO_T}$wx_largefile" >&6; }
23715 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23716 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23717 elif test "$ac_cv_sys_large_files" = 1; then
23718 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23721 if test -n "$LARGEFILE_CPPFLAGS"; then
23722 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23724 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23725 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23726 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23727 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23728 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 ac_cpp='$CXXCPP $CPPFLAGS'
23733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23734 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23737 cat >conftest.$ac_ext <<_ACEOF
23740 cat confdefs.h >>conftest.$ac_ext
23741 cat >>conftest.$ac_ext <<_ACEOF
23742 /* end confdefs.h. */
23748 #ifndef __STDC_EXT__
23756 rm -f conftest.$ac_objext
23757 if { (ac_try="$ac_compile"
23758 case "(($ac_try" in
23759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23760 *) ac_try_echo=$ac_try;;
23762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23763 (eval "$ac_compile") 2>conftest.er1
23765 grep -v '^
*+' conftest.er1 >conftest.err
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && {
23770 test -z "$ac_cxx_werror_flag" ||
23771 test ! -s conftest.err
23772 } && test -s conftest.$ac_objext; then
23773 wx_cv_STDC_EXT_required=no
23775 echo "$as_me: failed program was:" >&5
23776 sed 's
/^
/| /' conftest.$ac_ext >&5
23778 wx_cv_STDC_EXT_required=yes
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23786 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23792 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23793 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23794 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23795 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23801 ac_cpp='$CXXCPP $CPPFLAGS'
23802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23803 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806 old_CPPFLAGS="$CPPFLAGS"
23807 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23808 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23809 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23810 if test "${ac_cv_sys_largefile_source+set}" = set; then
23811 echo $ECHO_N "(cached) $ECHO_C" >&6
23814 cat >conftest.$ac_ext <<_ACEOF
23817 cat confdefs.h >>conftest.$ac_ext
23818 cat >>conftest.$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23820 #include <sys/types.h> /* for off_t */
23825 int (*fp) (FILE *, off_t, int) = fseeko;
23826 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23831 rm -f conftest.$ac_objext conftest$ac_exeext
23832 if { (ac_try="$ac_link"
23833 case "(($ac_try" in
23834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23835 *) ac_try_echo=$ac_try;;
23837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23838 (eval "$ac_link") 2>conftest.er1
23840 grep -v '^
*+' conftest.er1 >conftest.err
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && {
23845 test -z "$ac_cxx_werror_flag" ||
23846 test ! -s conftest.err
23847 } && test -s conftest$ac_exeext &&
23848 $as_test_x conftest$ac_exeext; then
23849 ac_cv_sys_largefile_source=no; break
23851 echo "$as_me: failed program was:" >&5
23852 sed 's
/^
/| /' conftest.$ac_ext >&5
23857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23858 conftest$ac_exeext conftest.$ac_ext
23859 cat >conftest.$ac_ext <<_ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865 #define _LARGEFILE_SOURCE 1
23866 #include <sys/types.h> /* for off_t */
23871 int (*fp) (FILE *, off_t, int) = fseeko;
23872 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23877 rm -f conftest.$ac_objext conftest$ac_exeext
23878 if { (ac_try="$ac_link"
23879 case "(($ac_try" in
23880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23881 *) ac_try_echo=$ac_try;;
23883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23884 (eval "$ac_link") 2>conftest.er1
23886 grep -v '^
*+' conftest.er1 >conftest.err
23888 cat conftest.err >&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } && {
23891 test -z "$ac_cxx_werror_flag" ||
23892 test ! -s conftest.err
23893 } && test -s conftest$ac_exeext &&
23894 $as_test_x conftest$ac_exeext; then
23895 ac_cv_sys_largefile_source=1; break
23897 echo "$as_me: failed program was:" >&5
23898 sed 's
/^
/| /' conftest.$ac_ext >&5
23903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23904 conftest$ac_exeext conftest.$ac_ext
23905 ac_cv_sys_largefile_source=unknown
23909 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23910 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23911 case $ac_cv_sys_largefile_source in #(
23914 cat >>confdefs.h <<_ACEOF
23915 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23921 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23922 # in glibc 2.1.3, but that breaks too many other things.
23923 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23924 if test $ac_cv_sys_largefile_source != unknown; then
23926 cat >>confdefs.h <<\_ACEOF
23927 #define HAVE_FSEEKO 1
23932 CPPFLAGS="$old_CPPFLAGS"
23934 ac_cpp='$CPP $CPPFLAGS'
23935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23936 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23939 if test "$ac_cv_sys_largefile_source" != no; then
23940 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23943 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23944 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23945 if test "${ac_cv_c_bigendian+set}" = set; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 ac_cv_c_bigendian=unknown
23949 # See if sys/param.h defines the BYTE_ORDER macro.
23950 cat >conftest.$ac_ext <<_ACEOF
23953 cat confdefs.h >>conftest.$ac_ext
23954 cat >>conftest.$ac_ext <<_ACEOF
23955 /* end confdefs.h. */
23956 #include <sys/types.h>
23957 #include <sys/param.h>
23962 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23963 bogus endian macros
23969 rm -f conftest.$ac_objext
23970 if { (ac_try="$ac_compile"
23971 case "(($ac_try" in
23972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23973 *) ac_try_echo=$ac_try;;
23975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23976 (eval "$ac_compile") 2>conftest.er1
23978 grep -v '^
*+' conftest.er1 >conftest.err
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } && {
23983 test -z "$ac_c_werror_flag" ||
23984 test ! -s conftest.err
23985 } && test -s conftest.$ac_objext; then
23986 # It does; now see whether it defined to BIG_ENDIAN or not.
23987 cat >conftest.$ac_ext <<_ACEOF
23990 cat confdefs.h >>conftest.$ac_ext
23991 cat >>conftest.$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 #include <sys/types.h>
23994 #include <sys/param.h>
23999 #if BYTE_ORDER != BIG_ENDIAN
24006 rm -f conftest.$ac_objext
24007 if { (ac_try="$ac_compile"
24008 case "(($ac_try" in
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010 *) ac_try_echo=$ac_try;;
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013 (eval "$ac_compile") 2>conftest.er1
24015 grep -v '^
*+' conftest.er1 >conftest.err
24017 cat conftest.err >&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } && {
24020 test -z "$ac_c_werror_flag" ||
24021 test ! -s conftest.err
24022 } && test -s conftest.$ac_objext; then
24023 ac_cv_c_bigendian=yes
24025 echo "$as_me: failed program was:" >&5
24026 sed 's
/^
/| /' conftest.$ac_ext >&5
24028 ac_cv_c_bigendian=no
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 echo "$as_me: failed program was:" >&5
24034 sed 's
/^
/| /' conftest.$ac_ext >&5
24039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24040 if test $ac_cv_c_bigendian = unknown; then
24041 if test "$cross_compiling" = yes; then
24042 ac_cv_c_bigendian=unknown
24044 cat >conftest.$ac_ext <<_ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24051 /* Are we little or big endian? From Harbison&Steele. */
24055 char c[sizeof (long)];
24058 exit (u.c[sizeof (long) - 1] == 1);
24061 rm -f conftest$ac_exeext
24062 if { (ac_try="$ac_link"
24063 case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_link") 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24072 { (case "(($ac_try" in
24073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24074 *) ac_try_echo=$ac_try;;
24076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24077 (eval "$ac_try") 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 ac_cv_c_bigendian=no
24083 echo "$as_me: program exited with status $ac_status" >&5
24084 echo "$as_me: failed program was:" >&5
24085 sed 's
/^
/| /' conftest.$ac_ext >&5
24087 ( exit $ac_status )
24088 ac_cv_c_bigendian=yes
24090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24096 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24097 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24098 if test $ac_cv_c_bigendian = unknown; then
24099 { 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
24100 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;}
24102 if test $ac_cv_c_bigendian = yes; then
24103 cat >>confdefs.h <<\_ACEOF
24104 #define WORDS_BIGENDIAN 1
24113 ac_cpp='$CXXCPP $CPPFLAGS'
24114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24115 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24120 for ac_header in iostream
24122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24128 cat >conftest.$ac_ext <<_ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24136 #include <$ac_header>
24138 rm -f conftest.$ac_objext
24139 if { (ac_try="$ac_compile"
24140 case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_compile") 2>conftest.er1
24147 grep -v '^
*+' conftest.er1 >conftest.err
24149 cat conftest.err >&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } && {
24152 test -z "$ac_cxx_werror_flag" ||
24153 test ! -s conftest.err
24154 } && test -s conftest.$ac_objext; then
24155 eval "$as_ac_Header=yes"
24157 echo "$as_me: failed program was:" >&5
24158 sed 's
/^
/| /' conftest.$ac_ext >&5
24160 eval "$as_ac_Header=no"
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 ac_res=`eval echo '${'$as_ac_Header'}'`
24166 { echo "$as_me:$LINENO: result: $ac_res" >&5
24167 echo "${ECHO_T}$ac_res" >&6; }
24168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24169 cat >>confdefs.h <<_ACEOF
24170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24178 if test "$ac_cv_header_iostream" = "yes" ; then
24181 cat >>confdefs.h <<\_ACEOF
24182 #define wxUSE_IOSTREAMH 1
24188 ac_cpp='$CPP $CPPFLAGS'
24189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24196 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24197 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24198 if test "${wx_cv_explicit+set}" = set; then
24199 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24206 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat >conftest.$ac_ext <<_ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24217 class Foo { public: explicit Foo(int) {} };
24229 rm -f conftest.$ac_objext
24230 if { (ac_try="$ac_compile"
24231 case "(($ac_try" in
24232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24233 *) ac_try_echo=$ac_try;;
24235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24236 (eval "$ac_compile") 2>conftest.er1
24238 grep -v '^
*+' conftest.er1 >conftest.err
24240 cat conftest.err >&5
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); } && {
24243 test -z "$ac_cxx_werror_flag" ||
24244 test ! -s conftest.err
24245 } && test -s conftest.$ac_objext; then
24247 cat >conftest.$ac_ext <<_ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24254 class Foo { public: explicit Foo(int) {} };
24255 static void TakeFoo(const Foo& foo) { }
24268 rm -f conftest.$ac_objext
24269 if { (ac_try="$ac_compile"
24270 case "(($ac_try" in
24271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24272 *) ac_try_echo=$ac_try;;
24274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24275 (eval "$ac_compile") 2>conftest.er1
24277 grep -v '^
*+' conftest.er1 >conftest.err
24279 cat conftest.err >&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } && {
24282 test -z "$ac_cxx_werror_flag" ||
24283 test ! -s conftest.err
24284 } && test -s conftest.$ac_objext; then
24287 echo "$as_me: failed program was:" >&5
24288 sed 's
/^
/| /' conftest.$ac_ext >&5
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 echo "$as_me: failed program was:" >&5
24298 sed 's
/^
/| /' conftest.$ac_ext >&5
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24307 ac_cpp='$CPP $CPPFLAGS'
24308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24314 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24315 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24317 if test "$wx_cv_explicit" = "yes"; then
24318 cat >>confdefs.h <<\_ACEOF
24319 #define HAVE_EXPLICIT 1
24325 if test "x$SUNCXX" = xyes; then
24326 CXXFLAGS="-features=tmplife $CXXFLAGS"
24329 if test "x$SUNCC" = xyes; then
24330 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24333 if test "x$SGICC" = "xyes"; then
24334 CFLAGS="-woff 3970 $CFLAGS"
24336 if test "x$SGICXX" = "xyes"; then
24337 CXXFLAGS="-woff 3970 $CXXFLAGS"
24340 if test "x$HPCC" = "xyes"; then
24341 CFLAGS="+W 2011,2450 $CFLAGS"
24343 if test "x$HPCXX" = "xyes"; then
24344 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24347 if test "x$COMPAQCXX" = "xyes"; then
24348 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24352 ac_cpp='$CXXCPP $CPPFLAGS'
24353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24354 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24358 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24359 if test "$wxUSE_UNICODE" = "yes"; then
24360 std_string="std::wstring"
24361 char_type="wchar_t"
24363 std_string="std::string"
24367 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24368 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24369 if test "${wx_cv_class_stdstring+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24373 cat >conftest.$ac_ext <<_ACEOF
24376 cat confdefs.h >>conftest.$ac_ext
24377 cat >>conftest.$ac_ext <<_ACEOF
24378 /* end confdefs.h. */
24388 rm -f conftest.$ac_objext
24389 if { (ac_try="$ac_compile"
24390 case "(($ac_try" in
24391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24392 *) ac_try_echo=$ac_try;;
24394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24395 (eval "$ac_compile") 2>conftest.er1
24397 grep -v '^
*+' conftest.er1 >conftest.err
24399 cat conftest.err >&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } && {
24402 test -z "$ac_cxx_werror_flag" ||
24403 test ! -s conftest.err
24404 } && test -s conftest.$ac_objext; then
24405 wx_cv_class_stdstring=yes
24407 echo "$as_me: failed program was:" >&5
24408 sed 's
/^
/| /' conftest.$ac_ext >&5
24410 wx_cv_class_stdstring=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24419 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24421 if test "$wx_cv_class_stdstring" = yes; then
24422 if test "$wxUSE_UNICODE" = "yes"; then
24423 cat >>confdefs.h <<\_ACEOF
24424 #define HAVE_STD_WSTRING 1
24429 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24430 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24431 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 cat >conftest.$ac_ext <<_ACEOF
24438 cat confdefs.h >>conftest.$ac_ext
24439 cat >>conftest.$ac_ext <<_ACEOF
24440 /* end confdefs.h. */
24442 #ifdef HAVE_WCHAR_H
24444 # include <stddef.h>
24446 # include <wchar.h>
24448 #ifdef HAVE_STDLIB_H
24449 # include <stdlib.h>
24457 std::basic_string<$char_type> foo;
24458 const $char_type* dummy = foo.c_str();
24463 rm -f conftest.$ac_objext
24464 if { (ac_try="$ac_compile"
24465 case "(($ac_try" in
24466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24467 *) ac_try_echo=$ac_try;;
24469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24470 (eval "$ac_compile") 2>conftest.er1
24472 grep -v '^
*+' conftest.er1 >conftest.err
24474 cat conftest.err >&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } && {
24477 test -z "$ac_cxx_werror_flag" ||
24478 test ! -s conftest.err
24479 } && test -s conftest.$ac_objext; then
24480 wx_cv_class_stdbasicstring=yes
24482 echo "$as_me: failed program was:" >&5
24483 sed 's
/^
/| /' conftest.$ac_ext >&5
24485 wx_cv_class_stdbasicstring=no
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24494 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24496 if test "$wx_cv_class_stdbasicstring" != yes; then
24497 if test "$wxUSE_STL" = "yes"; then
24498 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24499 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24500 { (exit 1); exit 1; }; }
24501 elif test "$wxUSE_STD_STRING" = "yes"; then
24502 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24503 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24504 { (exit 1); exit 1; }; }
24506 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24507 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24508 wxUSE_STD_STRING=no
24514 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24515 { echo "$as_me:$LINENO: checking for std::istream" >&5
24516 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24517 if test "${ac_cv_type_std__istream+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 cat >conftest.$ac_ext <<_ACEOF
24523 cat confdefs.h >>conftest.$ac_ext
24524 cat >>conftest.$ac_ext <<_ACEOF
24525 /* end confdefs.h. */
24526 #include <iostream>
24528 typedef std::istream ac__type_new_;
24532 if ((ac__type_new_ *) 0)
24534 if (sizeof (ac__type_new_))
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24549 grep -v '^
*+' conftest.er1 >conftest.err
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 ac_cv_type_std__istream=yes
24559 echo "$as_me: failed program was:" >&5
24560 sed 's
/^
/| /' conftest.$ac_ext >&5
24562 ac_cv_type_std__istream=no
24565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24567 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24568 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24569 if test $ac_cv_type_std__istream = yes; then
24571 cat >>confdefs.h <<_ACEOF
24572 #define HAVE_STD__ISTREAM 1
24577 wxUSE_STD_IOSTREAM=no
24579 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24580 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24581 if test "${ac_cv_type_std__ostream+set}" = set; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 cat >conftest.$ac_ext <<_ACEOF
24587 cat confdefs.h >>conftest.$ac_ext
24588 cat >>conftest.$ac_ext <<_ACEOF
24589 /* end confdefs.h. */
24590 #include <iostream>
24592 typedef std::ostream ac__type_new_;
24596 if ((ac__type_new_ *) 0)
24598 if (sizeof (ac__type_new_))
24604 rm -f conftest.$ac_objext
24605 if { (ac_try="$ac_compile"
24606 case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_compile") 2>conftest.er1
24613 grep -v '^
*+' conftest.er1 >conftest.err
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && {
24618 test -z "$ac_cxx_werror_flag" ||
24619 test ! -s conftest.err
24620 } && test -s conftest.$ac_objext; then
24621 ac_cv_type_std__ostream=yes
24623 echo "$as_me: failed program was:" >&5
24624 sed 's
/^
/| /' conftest.$ac_ext >&5
24626 ac_cv_type_std__ostream=no
24629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24632 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24633 if test $ac_cv_type_std__ostream = yes; then
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE_STD__OSTREAM 1
24641 wxUSE_STD_IOSTREAM=no
24645 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24646 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24647 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24648 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24649 { (exit 1); exit 1; }; }
24651 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24652 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24657 if test "$wxUSE_STL" = "yes"; then
24658 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24659 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24660 if test "${wx_cv_lib_stl+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 cat >conftest.$ac_ext <<_ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24670 #include <functional>
24671 #include <algorithm>
24677 std::vector<int> moo;
24678 std::list<int> foo;
24679 std::vector<int>::iterator it =
24680 std::find_if(moo.begin(), moo.end(),
24681 std::bind2nd(std::less<int>(), 3));
24686 rm -f conftest.$ac_objext
24687 if { (ac_try="$ac_compile"
24688 case "(($ac_try" in
24689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24690 *) ac_try_echo=$ac_try;;
24692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24693 (eval "$ac_compile") 2>conftest.er1
24695 grep -v '^
*+' conftest.er1 >conftest.err
24697 cat conftest.err >&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } && {
24700 test -z "$ac_cxx_werror_flag" ||
24701 test ! -s conftest.err
24702 } && test -s conftest.$ac_objext; then
24705 echo "$as_me: failed program was:" >&5
24706 sed 's
/^
/| /' conftest.$ac_ext >&5
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24716 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24718 if test "$wx_cv_lib_stl" != yes; then
24719 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24720 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24721 { (exit 1); exit 1; }; }
24724 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24725 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24726 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24729 cat >conftest.$ac_ext <<_ACEOF
24732 cat confdefs.h >>conftest.$ac_ext
24733 cat >>conftest.$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24739 std::string foo, bar;
24741 foo.compare(1, 1, bar);
24742 foo.compare(1, 1, bar, 1, 1);
24744 foo.compare(1, 1, "");
24745 foo.compare(1, 1, "", 2);
24750 rm -f conftest.$ac_objext
24751 if { (ac_try="$ac_compile"
24752 case "(($ac_try" in
24753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24754 *) ac_try_echo=$ac_try;;
24756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24757 (eval "$ac_compile") 2>conftest.er1
24759 grep -v '^
*+' conftest.er1 >conftest.err
24761 cat conftest.err >&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } && {
24764 test -z "$ac_cxx_werror_flag" ||
24765 test ! -s conftest.err
24766 } && test -s conftest.$ac_objext; then
24767 wx_cv_func_stdstring_compare=yes
24769 echo "$as_me: failed program was:" >&5
24770 sed 's
/^
/| /' conftest.$ac_ext >&5
24772 wx_cv_func_stdstring_compare=no
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24780 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24782 if test "$wx_cv_func_stdstring_compare" = yes; then
24783 cat >>confdefs.h <<\_ACEOF
24784 #define HAVE_STD_STRING_COMPARE 1
24789 if test "$wx_cv_class_gnuhashmapset" = yes; then
24790 cat >>confdefs.h <<\_ACEOF
24791 #define HAVE_EXT_HASH_MAP 1
24794 cat >>confdefs.h <<\_ACEOF
24795 #define HAVE_GNU_CXX_HASH_MAP 1
24800 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24801 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24802 if test "${ac_cv_header_unordered_map+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 cat >conftest.$ac_ext <<_ACEOF
24808 cat confdefs.h >>conftest.$ac_ext
24809 cat >>conftest.$ac_ext <<_ACEOF
24810 /* end confdefs.h. */
24814 #include <unordered_map>
24816 rm -f conftest.$ac_objext
24817 if { (ac_try="$ac_compile"
24818 case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_compile") 2>conftest.er1
24825 grep -v '^
*+' conftest.er1 >conftest.err
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } && {
24830 test -z "$ac_cxx_werror_flag" ||
24831 test ! -s conftest.err
24832 } && test -s conftest.$ac_objext; then
24833 ac_cv_header_unordered_map=yes
24835 echo "$as_me: failed program was:" >&5
24836 sed 's
/^
/| /' conftest.$ac_ext >&5
24838 ac_cv_header_unordered_map=no
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24844 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24845 if test $ac_cv_header_unordered_map = yes; then
24846 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24847 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24848 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24849 echo $ECHO_N "(cached) $ECHO_C" >&6
24851 cat >conftest.$ac_ext <<_ACEOF
24854 cat confdefs.h >>conftest.$ac_ext
24855 cat >>conftest.$ac_ext <<_ACEOF
24856 /* end confdefs.h. */
24857 #include <unordered_map>
24858 #include <unordered_set>
24862 std::unordered_map<double*, char*> test1;
24863 std::unordered_set<char*> test2;
24868 rm -f conftest.$ac_objext
24869 if { (ac_try="$ac_compile"
24870 case "(($ac_try" in
24871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24872 *) ac_try_echo=$ac_try;;
24874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24875 (eval "$ac_compile") 2>conftest.er1
24877 grep -v '^
*+' conftest.er1 >conftest.err
24879 cat conftest.err >&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } && {
24882 test -z "$ac_cxx_werror_flag" ||
24883 test ! -s conftest.err
24884 } && test -s conftest.$ac_objext; then
24885 wx_cv_class_stdunorderedmapset=yes
24887 echo "$as_me: failed program was:" >&5
24888 sed 's
/^
/| /' conftest.$ac_ext >&5
24890 wx_cv_class_stdunorderedmapset=no
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24898 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24903 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24904 cat >>confdefs.h <<\_ACEOF
24905 #define HAVE_STD_UNORDERED_MAP 1
24908 cat >>confdefs.h <<\_ACEOF
24909 #define HAVE_STD_UNORDERED_SET 1
24913 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24914 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24915 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 cat >conftest.$ac_ext <<_ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24927 #include <tr1/unordered_map>
24929 rm -f conftest.$ac_objext
24930 if { (ac_try="$ac_compile"
24931 case "(($ac_try" in
24932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24933 *) ac_try_echo=$ac_try;;
24935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24936 (eval "$ac_compile") 2>conftest.er1
24938 grep -v '^
*+' conftest.er1 >conftest.err
24940 cat conftest.err >&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } && {
24943 test -z "$ac_cxx_werror_flag" ||
24944 test ! -s conftest.err
24945 } && test -s conftest.$ac_objext; then
24946 ac_cv_header_tr1_unordered_map=yes
24948 echo "$as_me: failed program was:" >&5
24949 sed 's
/^
/| /' conftest.$ac_ext >&5
24951 ac_cv_header_tr1_unordered_map=no
24954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24956 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24957 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24958 if test $ac_cv_header_tr1_unordered_map = yes; then
24959 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24960 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24961 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24962 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 cat >conftest.$ac_ext <<_ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 #include <tr1/unordered_map>
24971 #include <tr1/unordered_set>
24975 std::tr1::unordered_map<double*, char*> test1;
24976 std::tr1::unordered_set<char*> test2;
24977 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24978 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24984 rm -f conftest.
$ac_objext
24985 if { (ac_try
="$ac_compile"
24986 case "(($ac_try" in
24987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_compile") 2>conftest.er1
24993 grep -v '^ *+' conftest.er1 >conftest.err
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } && {
24998 test -z "$ac_cxx_werror_flag" ||
24999 test ! -s conftest.err
25000 } && test -s conftest.$ac_objext; then
25001 wx_cv_class_tr1unorderedmapset=yes
25003 echo "$as_me: failed program was:" >&5
25004 sed 's/^/| /' conftest.$ac_ext >&5
25006 wx_cv_class_tr1unorderedmapset=no
25009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25014 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25019 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25020 cat >>confdefs.h <<\_ACEOF
25021 #define HAVE_TR1_UNORDERED_MAP 1
25024 cat >>confdefs.h <<\_ACEOF
25025 #define HAVE_TR1_UNORDERED_SET 1
25029 { echo "$as_me:$LINENO: checking for hash_map" >&5
25030 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25031 if test "${ac_cv_header_hash_map+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 cat >conftest.$ac_ext <<_ACEOF
25037 cat confdefs.h >>conftest.$ac_ext
25038 cat >>conftest.$ac_ext <<_ACEOF
25039 /* end confdefs.h. */
25043 #include <hash_map>
25045 rm -f conftest.$ac_objext
25046 if { (ac_try="$ac_compile"
25047 case "(($ac_try" in
25048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25049 *) ac_try_echo
=$ac_try;;
25051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052 (eval "$ac_compile") 2>conftest.er1
25054 grep -v '^ *+' conftest.er1
>conftest.err
25056 cat conftest.err
>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } && {
25059 test -z "$ac_cxx_werror_flag" ||
25060 test ! -s conftest.err
25061 } && test -s conftest.
$ac_objext; then
25062 ac_cv_header_hash_map
=yes
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.
$ac_ext >&5
25067 ac_cv_header_hash_map
=no
25070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25072 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25073 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25074 if test $ac_cv_header_hash_map = yes; then
25075 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25076 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25077 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25078 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 cat >conftest.
$ac_ext <<_ACEOF
25083 cat confdefs.h
>>conftest.
$ac_ext
25084 cat >>conftest.
$ac_ext <<_ACEOF
25085 /* end confdefs.h. */
25086 #include <hash_map>
25087 #include <hash_set>
25091 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25092 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25097 rm -f conftest.
$ac_objext
25098 if { (ac_try
="$ac_compile"
25099 case "(($ac_try" in
25100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25101 *) ac_try_echo=$ac_try;;
25103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25104 (eval "$ac_compile") 2>conftest.er1
25106 grep -v '^ *+' conftest.er1 >conftest.err
25108 cat conftest.err >&5
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); } && {
25111 test -z "$ac_cxx_werror_flag" ||
25112 test ! -s conftest.err
25113 } && test -s conftest.$ac_objext; then
25114 wx_cv_class_stdhashmapset=yes
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25119 wx_cv_class_stdhashmapset=no
25122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25127 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25132 if test "$wx_cv_class_stdhashmapset" = yes; then
25133 cat >>confdefs.h <<\_ACEOF
25134 #define HAVE_HASH_MAP 1
25137 cat >>confdefs.h <<\_ACEOF
25138 #define HAVE_STD_HASH_MAP 1
25143 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25144 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25145 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 cat >conftest.$ac_ext <<_ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25157 #include <ext/hash_map>
25159 rm -f conftest.$ac_objext
25160 if { (ac_try="$ac_compile"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25163 *) ac_try_echo
=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_compile") 2>conftest.er1
25168 grep -v '^ *+' conftest.er1
>conftest.err
25170 cat conftest.err
>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_cxx_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest.
$ac_objext; then
25176 ac_cv_header_ext_hash_map
=yes
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.
$ac_ext >&5
25181 ac_cv_header_ext_hash_map
=no
25184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25186 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25187 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25188 if test $ac_cv_header_ext_hash_map = yes; then
25189 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25190 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25191 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25192 echo $ECHO_N "(cached) $ECHO_C" >&6
25194 cat >conftest.
$ac_ext <<_ACEOF
25197 cat confdefs.h
>>conftest.
$ac_ext
25198 cat >>conftest.
$ac_ext <<_ACEOF
25199 /* end confdefs.h. */
25200 #include <ext/hash_map>
25201 #include <ext/hash_set>
25205 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25206 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25211 rm -f conftest.
$ac_objext
25212 if { (ac_try
="$ac_compile"
25213 case "(($ac_try" in
25214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25215 *) ac_try_echo=$ac_try;;
25217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25218 (eval "$ac_compile") 2>conftest.er1
25220 grep -v '^ *+' conftest.er1 >conftest.err
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } && {
25225 test -z "$ac_cxx_werror_flag" ||
25226 test ! -s conftest.err
25227 } && test -s conftest.$ac_objext; then
25228 wx_cv_class_gnuhashmapset=yes
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25233 wx_cv_class_gnuhashmapset=no
25236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25241 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25252 if test -n "$GCC"; then
25253 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25254 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25255 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 cat >conftest.$ac_ext <<_ACEOF
25262 cat confdefs.h >>conftest.$ac_ext
25263 cat >>conftest.$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25270 unsigned int value=0;
25271 /* wxAtomicInc doesn't use return value here */
25272 __sync_fetch_and_add(&value, 2);
25273 __sync_sub_and_fetch(&value, 1);
25274 /* but wxAtomicDec does, so mimic that: */
25275 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25281 rm -f conftest.$ac_objext conftest$ac_exeext
25282 if { (ac_try="$ac_link"
25283 case "(($ac_try" in
25284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25285 *) ac_try_echo
=$ac_try;;
25287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25288 (eval "$ac_link") 2>conftest.er1
25290 grep -v '^ *+' conftest.er1
>conftest.err
25292 cat conftest.err
>&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } && {
25295 test -z "$ac_cxx_werror_flag" ||
25296 test ! -s conftest.err
25297 } && test -s conftest
$ac_exeext &&
25298 $as_test_x conftest
$ac_exeext; then
25299 wx_cv_cc_gcc_atomic_builtins
=yes
25301 echo "$as_me: failed program was:" >&5
25302 sed 's/^/| /' conftest.
$ac_ext >&5
25304 wx_cv_cc_gcc_atomic_builtins
=no
25307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25308 conftest
$ac_exeext conftest.
$ac_ext
25312 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25313 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25314 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25315 cat >>confdefs.h
<<\_ACEOF
25316 #define HAVE_GCC_ATOMIC_BUILTINS 1
25324 ac_cpp
='$CPP $CPPFLAGS'
25325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25332 /usr/local/include \
25333 /usr/local/X11/include \
25334 /usr/local/include/X11 \
25335 /usr/local/X11R6/include \
25336 /usr/local/include/X11R6 \
25338 /usr/Motif-2.1/include \
25339 /usr/Motif-1.2/include \
25340 /usr/include/Motif1.2 \
25343 /usr/openwin/include \
25347 /usr/X11R6/include \
25348 /usr/X11R6.4/include \
25350 /usr/include/X11R6 \
25355 /usr/XFree86/include/X11 \
25358 /usr/local/X1R5/include \
25359 /usr/local/include/X11R5 \
25360 /usr/X11R5/include \
25361 /usr/include/X11R5 \
25363 /usr/local/X11R4/include \
25364 /usr/local/include/X11R4 \
25365 /usr/X11R4/include \
25366 /usr/include/X11R4 \
25368 /usr/openwin/share/include"
25370 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25371 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25375 if test "${wx_cv_std_libpath+set}" = set; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25380 for e
in a so sl dylib dll.a
; do
25382 if test -f $libc; then
25385 cat >conftest.
$ac_ext <<_ACEOF
25386 int main() { return 0; }
25388 rm -f conftest.
$ac_objext conftest
$ac_exeext
25389 if { (ac_try
="$ac_link"
25390 case "(($ac_try" in
25391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25392 *) ac_try_echo=$ac_try;;
25394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25395 (eval "$ac_link") 2>conftest.er1
25397 grep -v '^ *+' conftest.er1 >conftest.err
25399 cat conftest.err >&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); } && {
25402 test -z "$ac_c_werror_flag" ||
25403 test ! -s conftest.err
25404 } && test -s conftest$ac_exeext &&
25405 $as_test_x conftest$ac_exeext; then
25406 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25408 echo "$as_me: failed program was:" >&5
25409 sed 's/^/| /' conftest.$ac_ext >&5
25414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25415 conftest$ac_exeext conftest.$ac_ext
25417 if test "x$wx_cv_std_libpath" != "x"; then
25423 if test "x$wx_cv_std_libpath" = "x"; then
25424 wx_cv_std_libpath="lib"
25433 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25434 wx_cv_std_libpath="lib/64"
25436 wx_cv_std_libpath="lib"
25441 if test "$ac_cv_sizeof_void_p" = 8 -a \
25442 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25443 wx_cv_std_libpath="lib64"
25445 wx_cv_std_libpath="lib"
25450 wx_cv_std_libpath="lib";
25454 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25455 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25457 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25459 if test "$build" != "$host" -a "$GCC" = yes; then
25460 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25461 cross_root=`dirname $cross_root`
25462 cross_root=`dirname $cross_root`
25464 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25465 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25466 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25468 if test -z "$PKG_CONFIG_PATH"; then
25469 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25470 export PKG_CONFIG_PATH
25473 if test -z "$x_includes" -o "$x_includes" = NONE; then
25476 for ac_dir in $SEARCH_INCLUDE /usr/include;
25478 if test -f "$ac_dir/X11/Intrinsic.h"; then
25479 ac_find_includes=$ac_dir
25484 x_includes=$ac_find_includes
25486 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25489 for ac_dir in $SEARCH_LIB;
25491 for ac_extension in a so sl dylib dll.a; do
25492 if test -f "$ac_dir/libXt.$ac_extension"; then
25493 ac_find_libraries=$ac_dir
25499 x_libraries=$ac_find_libraries
25505 cat >confcache <<\_ACEOF
25506 # This file is a shell script that caches the results of configure
25507 # tests run on this system so they can be shared between configure
25508 # scripts and configure runs, see configure's option --config-cache.
25509 # It is not useful on other systems. If it contains results you don't
25510 # want to keep, you may remove or edit it.
25512 # config.status only pays attention to the cache file if you give it
25513 # the --recheck option to rerun configure.
25515 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25517 # following values.
25521 # The following way of writing the cache mishandles newlines in values,
25522 # but we know of no workaround that is simple, portable, and efficient.
25523 # So, we kill variables containing newlines.
25524 # Ultrix sh set writes to stderr and can't be redirected directly,
25525 # and sets the high bit in the cache file unless we assign to the vars.
25527 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25528 eval ac_val
=\$
$ac_var
25532 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25533 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25536 _
| IFS
| as_nl
) ;; #(
25537 *) $as_unset $ac_var ;;
25543 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25544 *${as_nl}ac_space
=\
*)
25545 # `set' does not quote correctly, so add quotes (double-quote
25546 # substitution turns \\\\ into \\, and sed turns \\ into \).
25549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25552 # `set' quotes correctly as required by POSIX, so do not add quotes.
25553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25564 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25566 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25567 if test -w "$cache_file"; then
25568 test "x$cache_file" != "x/dev/null" &&
25569 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25570 echo "$as_me: updating cache $cache_file" >&6;}
25571 cat confcache
>$cache_file
25573 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25574 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25579 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25580 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25581 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25582 if test "${wx_cv_lib_glibc21+set}" = set; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 cat >conftest.
$ac_ext <<_ACEOF
25589 cat confdefs.h
>>conftest.
$ac_ext
25590 cat >>conftest.
$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 #include <features.h>
25597 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25605 rm -f conftest.
$ac_objext
25606 if { (ac_try
="$ac_compile"
25607 case "(($ac_try" in
25608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25609 *) ac_try_echo=$ac_try;;
25611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25612 (eval "$ac_compile") 2>conftest.er1
25614 grep -v '^ *+' conftest.er1 >conftest.err
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && {
25619 test -z "$ac_c_werror_flag" ||
25620 test ! -s conftest.err
25621 } && test -s conftest.$ac_objext; then
25623 wx_cv_lib_glibc21=yes
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25630 wx_cv_lib_glibc21=no
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25639 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25640 if test "$wx_cv_lib_glibc21" = "yes"; then
25641 cat >>confdefs.h <<\_ACEOF
25642 #define wxHAVE_GLIBC2 1
25648 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25649 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25650 cat >>confdefs.h <<\_ACEOF
25651 #define _GNU_SOURCE 1
25662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25666 echo $ECHO_N "(cached) $ECHO_C" >&6
25668 cat >conftest.$ac_ext <<_ACEOF
25671 cat confdefs.h >>conftest.$ac_ext
25672 cat >>conftest.$ac_ext <<_ACEOF
25673 /* end confdefs.h. */
25674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25676 #define $ac_func innocuous_$ac_func
25678 /* System header to define __stub macros and hopefully few prototypes,
25679 which can conflict with char $ac_func (); below.
25680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25681 <limits.h> exists even on freestanding compilers. */
25684 # include <limits.h>
25686 # include <assert.h>
25691 /* Override any GCC internal prototype to avoid an error.
25692 Use char because int might match the return type of a GCC
25693 builtin and then its argument prototype would still apply. */
25698 /* The GNU C library defines this for functions which it implements
25699 to always fail with ENOSYS. Some functions are actually named
25700 something starting with __ and the normal name is an alias. */
25701 #if defined __stub_$ac_func || defined __stub___$ac_func
25708 return $ac_func ();
25713 rm -f conftest.$ac_objext conftest$ac_exeext
25714 if { (ac_try="$ac_link"
25715 case "(($ac_try" in
25716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25717 *) ac_try_echo
=$ac_try;;
25719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25720 (eval "$ac_link") 2>conftest.er1
25722 grep -v '^ *+' conftest.er1
>conftest.err
25724 cat conftest.err
>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); } && {
25727 test -z "$ac_c_werror_flag" ||
25728 test ! -s conftest.err
25729 } && test -s conftest
$ac_exeext &&
25730 $as_test_x conftest
$ac_exeext; then
25731 eval "$as_ac_var=yes"
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.
$ac_ext >&5
25736 eval "$as_ac_var=no"
25739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25740 conftest
$ac_exeext conftest.
$ac_ext
25742 ac_res
=`eval echo '${'$as_ac_var'}'`
25743 { echo "$as_me:$LINENO: result: $ac_res" >&5
25744 echo "${ECHO_T}$ac_res" >&6; }
25745 if test `eval echo '${'$as_ac_var'}'` = yes; then
25746 cat >>confdefs.h
<<_ACEOF
25747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25754 for ac_func
in floor
25756 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25759 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 cat >conftest.
$ac_ext <<_ACEOF
25765 cat confdefs.h
>>conftest.
$ac_ext
25766 cat >>conftest.
$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25770 #define $ac_func innocuous_$ac_func
25772 /* System header to define __stub macros and hopefully few prototypes,
25773 which can conflict with char $ac_func (); below.
25774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25775 <limits.h> exists even on freestanding compilers. */
25778 # include <limits.h>
25780 # include <assert.h>
25785 /* Override any GCC internal prototype to avoid an error.
25786 Use char because int might match the return type of a GCC
25787 builtin and then its argument prototype would still apply. */
25792 /* The GNU C library defines this for functions which it implements
25793 to always fail with ENOSYS. Some functions are actually named
25794 something starting with __ and the normal name is an alias. */
25795 #if defined __stub_$ac_func || defined __stub___$ac_func
25802 return $ac_func ();
25807 rm -f conftest.
$ac_objext conftest
$ac_exeext
25808 if { (ac_try
="$ac_link"
25809 case "(($ac_try" in
25810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25811 *) ac_try_echo=$ac_try;;
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_link") 2>conftest.er1
25816 grep -v '^ *+' conftest.er1 >conftest.err
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } && {
25821 test -z "$ac_c_werror_flag" ||
25822 test ! -s conftest.err
25823 } && test -s conftest$ac_exeext &&
25824 $as_test_x conftest$ac_exeext; then
25825 eval "$as_ac_var=yes"
25827 echo "$as_me: failed program was:" >&5
25828 sed 's/^/| /' conftest.$ac_ext >&5
25830 eval "$as_ac_var=no"
25833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25834 conftest$ac_exeext conftest.$ac_ext
25836 ac_res=`eval echo '${'$as_ac_var'}'`
25837 { echo "$as_me:$LINENO: result: $ac_res" >&5
25838 echo "${ECHO_T}$ac_res" >&6; }
25839 if test `eval echo '${'$as_ac_var'}'` = yes; then
25840 cat >>confdefs.h <<_ACEOF
25841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25847 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25848 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25849 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25850 { echo "$as_me:$LINENO: result: yes" >&5
25851 echo "${ECHO_T}yes" >&6; }
25853 { echo "$as_me:$LINENO: result: no" >&5
25854 echo "${ECHO_T}no" >&6; }
25856 # use different functions to avoid configure caching
25862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 cat >conftest.$ac_ext <<_ACEOF
25871 cat confdefs.h >>conftest.$ac_ext
25872 cat >>conftest.$ac_ext <<_ACEOF
25873 /* end confdefs.h. */
25874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25876 #define $ac_func innocuous_$ac_func
25878 /* System header to define __stub macros and hopefully few prototypes,
25879 which can conflict with char $ac_func (); below.
25880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25881 <limits.h> exists even on freestanding compilers. */
25884 # include <limits.h>
25886 # include <assert.h>
25891 /* Override any GCC internal prototype to avoid an error.
25892 Use char because int might match the return type of a GCC
25893 builtin and then its argument prototype would still apply. */
25898 /* The GNU C library defines this for functions which it implements
25899 to always fail with ENOSYS. Some functions are actually named
25900 something starting with __ and the normal name is an alias. */
25901 #if defined __stub_$ac_func || defined __stub___$ac_func
25908 return $ac_func ();
25913 rm -f conftest.$ac_objext conftest$ac_exeext
25914 if { (ac_try="$ac_link"
25915 case "(($ac_try" in
25916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25917 *) ac_try_echo
=$ac_try;;
25919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25920 (eval "$ac_link") 2>conftest.er1
25922 grep -v '^ *+' conftest.er1
>conftest.err
25924 cat conftest.err
>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } && {
25927 test -z "$ac_c_werror_flag" ||
25928 test ! -s conftest.err
25929 } && test -s conftest
$ac_exeext &&
25930 $as_test_x conftest
$ac_exeext; then
25931 eval "$as_ac_var=yes"
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.
$ac_ext >&5
25936 eval "$as_ac_var=no"
25939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25940 conftest
$ac_exeext conftest.
$ac_ext
25942 ac_res
=`eval echo '${'$as_ac_var'}'`
25943 { echo "$as_me:$LINENO: result: $ac_res" >&5
25944 echo "${ECHO_T}$ac_res" >&6; }
25945 if test `eval echo '${'$as_ac_var'}'` = yes; then
25946 cat >>confdefs.h
<<_ACEOF
25947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25954 for ac_func
in ceil
25956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25959 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 cat >conftest.
$ac_ext <<_ACEOF
25965 cat confdefs.h
>>conftest.
$ac_ext
25966 cat >>conftest.
$ac_ext <<_ACEOF
25967 /* end confdefs.h. */
25968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25970 #define $ac_func innocuous_$ac_func
25972 /* System header to define __stub macros and hopefully few prototypes,
25973 which can conflict with char $ac_func (); below.
25974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25975 <limits.h> exists even on freestanding compilers. */
25978 # include <limits.h>
25980 # include <assert.h>
25985 /* Override any GCC internal prototype to avoid an error.
25986 Use char because int might match the return type of a GCC
25987 builtin and then its argument prototype would still apply. */
25992 /* The GNU C library defines this for functions which it implements
25993 to always fail with ENOSYS. Some functions are actually named
25994 something starting with __ and the normal name is an alias. */
25995 #if defined __stub_$ac_func || defined __stub___$ac_func
26002 return $ac_func ();
26007 rm -f conftest.
$ac_objext conftest
$ac_exeext
26008 if { (ac_try
="$ac_link"
26009 case "(($ac_try" in
26010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26011 *) ac_try_echo=$ac_try;;
26013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26014 (eval "$ac_link") 2>conftest.er1
26016 grep -v '^ *+' conftest.er1 >conftest.err
26018 cat conftest.err >&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } && {
26021 test -z "$ac_c_werror_flag" ||
26022 test ! -s conftest.err
26023 } && test -s conftest$ac_exeext &&
26024 $as_test_x conftest$ac_exeext; then
26025 eval "$as_ac_var=yes"
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26030 eval "$as_ac_var=no"
26033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26034 conftest$ac_exeext conftest.$ac_ext
26036 ac_res=`eval echo '${'$as_ac_var'}'`
26037 { echo "$as_me:$LINENO: result: $ac_res" >&5
26038 echo "${ECHO_T}$ac_res" >&6; }
26039 if test `eval echo '${'$as_ac_var'}'` = yes; then
26040 cat >>confdefs.h <<_ACEOF
26041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26047 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26048 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26049 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26050 { echo "$as_me:$LINENO: result: yes" >&5
26051 echo "${ECHO_T}yes" >&6; }
26053 { echo "$as_me:$LINENO: result: no" >&5
26054 echo "${ECHO_T}no" >&6; }
26055 # not sure we should warn the user, crash, etc.
26060 ac_cpp='$CXXCPP $CPPFLAGS'
26061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26065 if test "wxUSE_UNICODE" = "yes"; then
26067 for wx_func in wcstoull
26069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26071 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 cat >conftest.$ac_ext <<_ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26084 $ac_includes_default
26100 rm -f conftest.$ac_objext conftest$ac_exeext
26101 if { (ac_try="$ac_link"
26102 case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26104 *) ac_try_echo
=$ac_try;;
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_link") 2>conftest.er1
26109 grep -v '^ *+' conftest.er1
>conftest.err
26111 cat conftest.err
>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_cxx_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest
$ac_exeext &&
26117 $as_test_x conftest
$ac_exeext; then
26118 eval wx_cv_func_
$wx_func=yes
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.
$ac_ext >&5
26123 eval wx_cv_func_
$wx_func=no
26126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26127 conftest
$ac_exeext conftest.
$ac_ext
26130 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26131 { echo "$as_me:$LINENO: result: $ac_res" >&5
26132 echo "${ECHO_T}$ac_res" >&6; }
26134 if eval test \
$wx_cv_func_$wx_func = yes
26136 cat >>confdefs.h
<<_ACEOF
26137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26149 for wx_func
in strtoull
26151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26153 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26157 cat >conftest.
$ac_ext <<_ACEOF
26161 cat confdefs.h
>>conftest.
$ac_ext
26162 cat >>conftest.
$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26166 $ac_includes_default
26182 rm -f conftest.
$ac_objext conftest
$ac_exeext
26183 if { (ac_try
="$ac_link"
26184 case "(($ac_try" in
26185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26186 *) ac_try_echo=$ac_try;;
26188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26189 (eval "$ac_link") 2>conftest.er1
26191 grep -v '^ *+' conftest.er1 >conftest.err
26193 cat conftest.err >&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); } && {
26196 test -z "$ac_cxx_werror_flag" ||
26197 test ! -s conftest.err
26198 } && test -s conftest$ac_exeext &&
26199 $as_test_x conftest$ac_exeext; then
26200 eval wx_cv_func_$wx_func=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26205 eval wx_cv_func_$wx_func=no
26208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26209 conftest$ac_exeext conftest.$ac_ext
26212 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26213 { echo "$as_me:$LINENO: result: $ac_res" >&5
26214 echo "${ECHO_T}$ac_res" >&6; }
26216 if eval test \$wx_cv_func_$wx_func = yes
26218 cat >>confdefs.h <<_ACEOF
26219 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26231 ac_cpp='$CPP $CPPFLAGS'
26232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26239 if test "$wxUSE_REGEX" != "no"; then
26240 cat >>confdefs.h <<\_ACEOF
26241 #define wxUSE_REGEX 1
26245 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26246 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26247 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26248 wxUSE_REGEX=builtin
26251 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26252 { echo "$as_me:$LINENO: checking for regex.h" >&5
26253 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26254 if test "${ac_cv_header_regex_h+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 cat >conftest.$ac_ext <<_ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26267 rm -f conftest.$ac_objext
26268 if { (ac_try="$ac_compile"
26269 case "(($ac_try" in
26270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26271 *) ac_try_echo
=$ac_try;;
26273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26274 (eval "$ac_compile") 2>conftest.er1
26276 grep -v '^ *+' conftest.er1
>conftest.err
26278 cat conftest.err
>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } && {
26281 test -z "$ac_c_werror_flag" ||
26282 test ! -s conftest.err
26283 } && test -s conftest.
$ac_objext; then
26284 ac_cv_header_regex_h
=yes
26286 echo "$as_me: failed program was:" >&5
26287 sed 's/^/| /' conftest.
$ac_ext >&5
26289 ac_cv_header_regex_h
=no
26292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26294 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26295 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26296 if test $ac_cv_header_regex_h = yes; then
26299 for ac_func
in regcomp re_search
26301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26304 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26305 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 cat >conftest.
$ac_ext <<_ACEOF
26310 cat confdefs.h
>>conftest.
$ac_ext
26311 cat >>conftest.
$ac_ext <<_ACEOF
26312 /* end confdefs.h. */
26313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26315 #define $ac_func innocuous_$ac_func
26317 /* System header to define __stub macros and hopefully few prototypes,
26318 which can conflict with char $ac_func (); below.
26319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26320 <limits.h> exists even on freestanding compilers. */
26323 # include <limits.h>
26325 # include <assert.h>
26330 /* Override any GCC internal prototype to avoid an error.
26331 Use char because int might match the return type of a GCC
26332 builtin and then its argument prototype would still apply. */
26337 /* The GNU C library defines this for functions which it implements
26338 to always fail with ENOSYS. Some functions are actually named
26339 something starting with __ and the normal name is an alias. */
26340 #if defined __stub_$ac_func || defined __stub___$ac_func
26347 return $ac_func ();
26352 rm -f conftest.
$ac_objext conftest
$ac_exeext
26353 if { (ac_try
="$ac_link"
26354 case "(($ac_try" in
26355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26356 *) ac_try_echo=$ac_try;;
26358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26359 (eval "$ac_link") 2>conftest.er1
26361 grep -v '^ *+' conftest.er1 >conftest.err
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } && {
26366 test -z "$ac_c_werror_flag" ||
26367 test ! -s conftest.err
26368 } && test -s conftest$ac_exeext &&
26369 $as_test_x conftest$ac_exeext; then
26370 eval "$as_ac_var=yes"
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26375 eval "$as_ac_var=no"
26378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26379 conftest$ac_exeext conftest.$ac_ext
26381 ac_res=`eval echo '${'$as_ac_var'}'`
26382 { echo "$as_me:$LINENO: result: $ac_res" >&5
26383 echo "${ECHO_T}$ac_res" >&6; }
26384 if test `eval echo '${'$as_ac_var'}'` = yes; then
26385 cat >>confdefs.h <<_ACEOF
26386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26396 if test "x$ac_cv_func_regcomp" != "xyes"; then
26397 if test "$wxUSE_REGEX" = "sys" ; then
26398 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26399 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26400 { (exit 1); exit 1; }; }
26402 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26403 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26404 wxUSE_REGEX=builtin
26408 cat >>confdefs.h <<\_ACEOF
26409 #define WX_NO_REGEX_ADVANCED 1
26418 if test "$wxUSE_ZLIB" != "no" ; then
26419 cat >>confdefs.h <<\_ACEOF
26420 #define wxUSE_ZLIB 1
26424 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26425 if test "$USE_DARWIN" = 1; then
26426 system_zlib_h_ok="yes"
26428 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26429 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26430 if test "${ac_cv_header_zlib_h+set}" = set; then
26431 echo $ECHO_N "(cached) $ECHO_C" >&6
26433 if test "$cross_compiling" = yes; then
26434 unset ac_cv_header_zlib_h
26437 cat >conftest.$ac_ext <<_ACEOF
26440 cat confdefs.h >>conftest.$ac_ext
26441 cat >>conftest.$ac_ext <<_ACEOF
26442 /* end confdefs.h. */
26449 FILE *f=fopen("conftestval", "w");
26452 ZLIB_VERSION[0] == '1' &&
26453 (ZLIB_VERSION[2] > '1' ||
26454 (ZLIB_VERSION[2] == '1' &&
26455 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26460 rm -f conftest$ac_exeext
26461 if { (ac_try="$ac_link"
26462 case "(($ac_try" in
26463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26464 *) ac_try_echo
=$ac_try;;
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_link") 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26471 { (case "(($ac_try" in
26472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26473 *) ac_try_echo=$ac_try;;
26475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26476 (eval "$ac_try") 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; }; then
26480 ac_cv_header_zlib_h=`cat conftestval
`
26482 echo "$as_me: program exited with status $ac_status" >&5
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26486 ( exit $ac_status )
26487 ac_cv_header_zlib_h=no
26489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26495 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26496 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26497 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26498 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26499 if test "${ac_cv_header_zlib_h+set}" = set; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 cat >conftest.$ac_ext <<_ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26512 rm -f conftest.$ac_objext
26513 if { (ac_try="$ac_compile"
26514 case "(($ac_try" in
26515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26516 *) ac_try_echo
=$ac_try;;
26518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26519 (eval "$ac_compile") 2>conftest.er1
26521 grep -v '^ *+' conftest.er1
>conftest.err
26523 cat conftest.err
>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } && {
26526 test -z "$ac_c_werror_flag" ||
26527 test ! -s conftest.err
26528 } && test -s conftest.
$ac_objext; then
26529 ac_cv_header_zlib_h
=yes
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.
$ac_ext >&5
26534 ac_cv_header_zlib_h
=no
26537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26539 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26540 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26544 system_zlib_h_ok
=$ac_cv_header_zlib_h
26547 if test "$system_zlib_h_ok" = "yes"; then
26548 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26549 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26550 if test "${ac_cv_lib_z_deflate+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 ac_check_lib_save_LIBS
=$LIBS
26555 cat >conftest.
$ac_ext <<_ACEOF
26558 cat confdefs.h
>>conftest.
$ac_ext
26559 cat >>conftest.
$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26562 /* Override any GCC internal prototype to avoid an error.
26563 Use char because int might match the return type of a GCC
26564 builtin and then its argument prototype would still apply. */
26577 rm -f conftest.
$ac_objext conftest
$ac_exeext
26578 if { (ac_try
="$ac_link"
26579 case "(($ac_try" in
26580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26581 *) ac_try_echo=$ac_try;;
26583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584 (eval "$ac_link") 2>conftest.er1
26586 grep -v '^ *+' conftest.er1 >conftest.err
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } && {
26591 test -z "$ac_c_werror_flag" ||
26592 test ! -s conftest.err
26593 } && test -s conftest$ac_exeext &&
26594 $as_test_x conftest$ac_exeext; then
26595 ac_cv_lib_z_deflate=yes
26597 echo "$as_me: failed program was:" >&5
26598 sed 's/^/| /' conftest.$ac_ext >&5
26600 ac_cv_lib_z_deflate=no
26603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26604 conftest$ac_exeext conftest.$ac_ext
26605 LIBS=$ac_check_lib_save_LIBS
26607 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26608 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26609 if test $ac_cv_lib_z_deflate = yes; then
26615 if test "x$ZLIB_LINK" = "x" ; then
26616 if test "$wxUSE_ZLIB" = "sys" ; then
26617 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26618 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26619 { (exit 1); exit 1; }; }
26621 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26622 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26633 if test "$wxUSE_LIBPNG" != "no" ; then
26634 cat >>confdefs.h <<\_ACEOF
26635 #define wxUSE_LIBPNG 1
26639 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26640 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26641 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26645 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26646 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26647 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26648 wxUSE_LIBPNG=builtin
26651 if test "$wxUSE_MGL" != 1 ; then
26652 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26653 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26654 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26655 if test "${ac_cv_header_png_h+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 if test "$cross_compiling" = yes; then
26659 unset ac_cv_header_png_h
26662 cat >conftest.$ac_ext <<_ACEOF
26665 cat confdefs.h >>conftest.$ac_ext
26666 cat >>conftest.$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26674 FILE *f=fopen("conftestval", "w");
26677 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26682 rm -f conftest$ac_exeext
26683 if { (ac_try="$ac_link"
26684 case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26686 *) ac_try_echo
=$ac_try;;
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_link") 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26693 { (case "(($ac_try" in
26694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_try") 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 ac_cv_header_png_h=`cat conftestval
`
26704 echo "$as_me: program exited with status $ac_status" >&5
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.$ac_ext >&5
26708 ( exit $ac_status )
26709 ac_cv_header_png_h=no
26711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26717 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26718 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26719 { echo "$as_me:$LINENO: checking for png.h" >&5
26720 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26721 if test "${ac_cv_header_png_h+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 cat >conftest.$ac_ext <<_ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26734 rm -f conftest.$ac_objext
26735 if { (ac_try="$ac_compile"
26736 case "(($ac_try" in
26737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26738 *) ac_try_echo
=$ac_try;;
26740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741 (eval "$ac_compile") 2>conftest.er1
26743 grep -v '^ *+' conftest.er1
>conftest.err
26745 cat conftest.err
>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && {
26748 test -z "$ac_c_werror_flag" ||
26749 test ! -s conftest.err
26750 } && test -s conftest.
$ac_objext; then
26751 ac_cv_header_png_h
=yes
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.
$ac_ext >&5
26756 ac_cv_header_png_h
=no
26759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26761 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26762 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26766 if test "$ac_cv_header_png_h" = "yes"; then
26767 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26768 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26769 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26770 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 ac_check_lib_save_LIBS
=$LIBS
26773 LIBS
="-lpng -lz -lm $LIBS"
26774 cat >conftest.
$ac_ext <<_ACEOF
26777 cat confdefs.h
>>conftest.
$ac_ext
26778 cat >>conftest.
$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26781 /* Override any GCC internal prototype to avoid an error.
26782 Use char because int might match the return type of a GCC
26783 builtin and then its argument prototype would still apply. */
26787 char png_check_sig ();
26791 return png_check_sig ();
26796 rm -f conftest.
$ac_objext conftest
$ac_exeext
26797 if { (ac_try
="$ac_link"
26798 case "(($ac_try" in
26799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26800 *) ac_try_echo=$ac_try;;
26802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26803 (eval "$ac_link") 2>conftest.er1
26805 grep -v '^ *+' conftest.er1 >conftest.err
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } && {
26810 test -z "$ac_c_werror_flag" ||
26811 test ! -s conftest.err
26812 } && test -s conftest$ac_exeext &&
26813 $as_test_x conftest$ac_exeext; then
26814 ac_cv_lib_png_png_check_sig=yes
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.$ac_ext >&5
26819 ac_cv_lib_png_png_check_sig=no
26822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26823 conftest$ac_exeext conftest.$ac_ext
26824 LIBS=$ac_check_lib_save_LIBS
26826 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26827 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26828 if test $ac_cv_lib_png_png_check_sig = yes; then
26829 PNG_LINK=" -lpng -lz"
26834 if test "x$PNG_LINK" = "x" ; then
26835 if test "$wxUSE_LIBPNG" = "sys" ; then
26836 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26837 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26838 { (exit 1); exit 1; }; }
26840 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26841 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26842 wxUSE_LIBPNG=builtin
26853 if test "$wxUSE_LIBJPEG" != "no" ; then
26854 cat >>confdefs.h <<\_ACEOF
26855 #define wxUSE_LIBJPEG 1
26859 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26860 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26861 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26865 if test "$wxUSE_MGL" != 1 ; then
26866 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26867 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26868 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26869 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26872 cat >conftest.$ac_ext <<_ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26879 #undef HAVE_STDLIB_H
26881 #include <jpeglib.h>
26892 rm -f conftest.$ac_objext
26893 if { (ac_try="$ac_compile"
26894 case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26896 *) ac_try_echo
=$ac_try;;
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_compile") 2>conftest.er1
26901 grep -v '^ *+' conftest.er1
>conftest.err
26903 cat conftest.err
>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } && {
26906 test -z "$ac_c_werror_flag" ||
26907 test ! -s conftest.err
26908 } && test -s conftest.
$ac_objext; then
26909 ac_cv_header_jpeglib_h
=yes
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.
$ac_ext >&5
26914 ac_cv_header_jpeglib_h
=no
26918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26922 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26923 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26925 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26926 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26927 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26928 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26929 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 ac_check_lib_save_LIBS
=$LIBS
26932 LIBS
="-ljpeg $LIBS"
26933 cat >conftest.
$ac_ext <<_ACEOF
26936 cat confdefs.h
>>conftest.
$ac_ext
26937 cat >>conftest.
$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26940 /* Override any GCC internal prototype to avoid an error.
26941 Use char because int might match the return type of a GCC
26942 builtin and then its argument prototype would still apply. */
26946 char jpeg_read_header ();
26950 return jpeg_read_header ();
26955 rm -f conftest.
$ac_objext conftest
$ac_exeext
26956 if { (ac_try
="$ac_link"
26957 case "(($ac_try" in
26958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26959 *) ac_try_echo=$ac_try;;
26961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26962 (eval "$ac_link") 2>conftest.er1
26964 grep -v '^ *+' conftest.er1 >conftest.err
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } && {
26969 test -z "$ac_c_werror_flag" ||
26970 test ! -s conftest.err
26971 } && test -s conftest$ac_exeext &&
26972 $as_test_x conftest$ac_exeext; then
26973 ac_cv_lib_jpeg_jpeg_read_header=yes
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.$ac_ext >&5
26978 ac_cv_lib_jpeg_jpeg_read_header=no
26981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26982 conftest$ac_exeext conftest.$ac_ext
26983 LIBS=$ac_check_lib_save_LIBS
26985 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26986 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26987 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26988 JPEG_LINK=" -ljpeg"
26993 if test "x$JPEG_LINK" = "x" ; then
26994 if test "$wxUSE_LIBJPEG" = "sys" ; then
26995 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26996 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26997 { (exit 1); exit 1; }; }
26999 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27000 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27001 wxUSE_LIBJPEG=builtin
27006 if test "$wxUSE_MSW" = 1; then
27007 { echo "$as_me:$LINENO: checking for boolean" >&5
27008 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27009 if test "${ac_cv_type_boolean+set}" = set; then
27010 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 cat >conftest.$ac_ext <<_ACEOF
27015 cat confdefs.h >>conftest.$ac_ext
27016 cat >>conftest.$ac_ext <<_ACEOF
27017 /* end confdefs.h. */
27018 #include <windows.h>
27020 typedef boolean ac__type_new_;
27024 if ((ac__type_new_ *) 0)
27026 if (sizeof (ac__type_new_))
27032 rm -f conftest.$ac_objext
27033 if { (ac_try="$ac_compile"
27034 case "(($ac_try" in
27035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27036 *) ac_try_echo
=$ac_try;;
27038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27039 (eval "$ac_compile") 2>conftest.er1
27041 grep -v '^ *+' conftest.er1
>conftest.err
27043 cat conftest.err
>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); } && {
27046 test -z "$ac_c_werror_flag" ||
27047 test ! -s conftest.err
27048 } && test -s conftest.
$ac_objext; then
27049 ac_cv_type_boolean
=yes
27051 echo "$as_me: failed program was:" >&5
27052 sed 's/^/| /' conftest.
$ac_ext >&5
27054 ac_cv_type_boolean
=no
27057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27059 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27060 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27061 if test $ac_cv_type_boolean = yes; then
27063 cat >>confdefs.h
<<_ACEOF
27064 #define HAVE_BOOLEAN 1
27068 { echo "$as_me:$LINENO: checking for boolean" >&5
27069 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27070 if test "${ac_cv_type_boolean+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 cat >conftest.
$ac_ext <<_ACEOF
27076 cat confdefs.h
>>conftest.
$ac_ext
27077 cat >>conftest.
$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27080 #undef HAVE_BOOLEAN
27082 #include <jpeglib.h>
27085 typedef boolean ac__type_new_;
27089 if ((ac__type_new_ *) 0)
27091 if (sizeof (ac__type_new_))
27097 rm -f conftest.
$ac_objext
27098 if { (ac_try
="$ac_compile"
27099 case "(($ac_try" in
27100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_compile") 2>conftest.er1
27106 grep -v '^ *+' conftest.er1 >conftest.err
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } && {
27111 test -z "$ac_c_werror_flag" ||
27112 test ! -s conftest.err
27113 } && test -s conftest.$ac_objext; then
27114 ac_cv_type_boolean=yes
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27119 ac_cv_type_boolean=no
27122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27124 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27125 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27127 # The cast to long int works around a bug in the HP C Compiler
27128 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27129 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27130 # This bug is HP SR number 8606223364.
27131 { echo "$as_me:$LINENO: checking size of boolean" >&5
27132 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27133 if test "${ac_cv_sizeof_boolean+set}" = set; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 if test "$cross_compiling" = yes; then
27137 # Depending upon the size, compute the lo and hi bounds.
27138 cat >conftest.$ac_ext <<_ACEOF
27141 cat confdefs.h >>conftest.$ac_ext
27142 cat >>conftest.$ac_ext <<_ACEOF
27143 /* end confdefs.h. */
27145 #undef HAVE_BOOLEAN
27147 #include <jpeglib.h>
27150 typedef boolean ac__type_sizeof_;
27154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27161 rm -f conftest.$ac_objext
27162 if { (ac_try="$ac_compile"
27163 case "(($ac_try" in
27164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27165 *) ac_try_echo=$ac_try;;
27167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168 (eval "$ac_compile") 2>conftest.er1
27170 grep -v '^
*+' conftest.er1 >conftest.err
27172 cat conftest.err >&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } && {
27175 test -z "$ac_c_werror_flag" ||
27176 test ! -s conftest.err
27177 } && test -s conftest.$ac_objext; then
27180 cat >conftest.$ac_ext <<_ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27187 #undef HAVE_BOOLEAN
27189 #include <jpeglib.h>
27192 typedef boolean ac__type_sizeof_;
27196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27203 rm -f conftest.$ac_objext
27204 if { (ac_try="$ac_compile"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_compile") 2>conftest.er1
27212 grep -v '^
*+' conftest.er1 >conftest.err
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest.$ac_objext; then
27220 ac_hi=$ac_mid; break
27222 echo "$as_me: failed program was:" >&5
27223 sed 's
/^
/| /' conftest.$ac_ext >&5
27225 ac_lo=`expr $ac_mid + 1`
27226 if test $ac_lo -le $ac_mid; then
27230 ac_mid=`expr 2 '*' $ac_mid + 1`
27233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27236 echo "$as_me: failed program was:" >&5
27237 sed 's
/^
/| /' conftest.$ac_ext >&5
27239 cat >conftest.$ac_ext <<_ACEOF
27242 cat confdefs.h >>conftest.$ac_ext
27243 cat >>conftest.$ac_ext <<_ACEOF
27244 /* end confdefs.h. */
27246 #undef HAVE_BOOLEAN
27248 #include <jpeglib.h>
27251 typedef boolean ac__type_sizeof_;
27255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27262 rm -f conftest.$ac_objext
27263 if { (ac_try="$ac_compile"
27264 case "(($ac_try" in
27265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27266 *) ac_try_echo=$ac_try;;
27268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27269 (eval "$ac_compile") 2>conftest.er1
27271 grep -v '^
*+' conftest.er1 >conftest.err
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } && {
27276 test -z "$ac_c_werror_flag" ||
27277 test ! -s conftest.err
27278 } && test -s conftest.$ac_objext; then
27281 cat >conftest.$ac_ext <<_ACEOF
27284 cat confdefs.h >>conftest.$ac_ext
27285 cat >>conftest.$ac_ext <<_ACEOF
27286 /* end confdefs.h. */
27288 #undef HAVE_BOOLEAN
27290 #include <jpeglib.h>
27293 typedef boolean ac__type_sizeof_;
27297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27304 rm -f conftest.$ac_objext
27305 if { (ac_try="$ac_compile"
27306 case "(($ac_try" in
27307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27308 *) ac_try_echo=$ac_try;;
27310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311 (eval "$ac_compile") 2>conftest.er1
27313 grep -v '^
*+' conftest.er1 >conftest.err
27315 cat conftest.err >&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } && {
27318 test -z "$ac_c_werror_flag" ||
27319 test ! -s conftest.err
27320 } && test -s conftest.$ac_objext; then
27321 ac_lo=$ac_mid; break
27323 echo "$as_me: failed program was:" >&5
27324 sed 's
/^
/| /' conftest.$ac_ext >&5
27326 ac_hi=`expr '(' $ac_mid ')' - 1`
27327 if test $ac_mid -le $ac_hi; then
27331 ac_mid=`expr 2 '*' $ac_mid`
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 echo "$as_me: failed program was:" >&5
27338 sed 's
/^
/| /' conftest.$ac_ext >&5
27343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27347 # Binary search between lo and hi bounds.
27348 while test "x$ac_lo" != "x$ac_hi"; do
27349 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27350 cat >conftest.$ac_ext <<_ACEOF
27353 cat confdefs.h >>conftest.$ac_ext
27354 cat >>conftest.$ac_ext <<_ACEOF
27355 /* end confdefs.h. */
27357 #undef HAVE_BOOLEAN
27359 #include <jpeglib.h>
27362 typedef boolean ac__type_sizeof_;
27366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27373 rm -f conftest.$ac_objext
27374 if { (ac_try="$ac_compile"
27375 case "(($ac_try" in
27376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27377 *) ac_try_echo=$ac_try;;
27379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27380 (eval "$ac_compile") 2>conftest.er1
27382 grep -v '^
*+' conftest.er1 >conftest.err
27384 cat conftest.err >&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); } && {
27387 test -z "$ac_c_werror_flag" ||
27388 test ! -s conftest.err
27389 } && test -s conftest.$ac_objext; then
27392 echo "$as_me: failed program was:" >&5
27393 sed 's
/^
/| /' conftest.$ac_ext >&5
27395 ac_lo=`expr '(' $ac_mid ')' + 1`
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27401 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27402 '') if test "$ac_cv_type_boolean" = yes; then
27403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27404 See \`config.log' for more details.
" >&5
27405 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27406 See \
`config.log' for more details." >&2;}
27407 { (exit 77); exit 77; }; }
27409 ac_cv_sizeof_boolean=0
27413 cat >conftest.$ac_ext <<_ACEOF
27416 cat confdefs.h >>conftest.$ac_ext
27417 cat >>conftest.$ac_ext <<_ACEOF
27418 /* end confdefs.h. */
27420 #undef HAVE_BOOLEAN
27422 #include <jpeglib.h>
27425 typedef boolean ac__type_sizeof_;
27426 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27427 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27429 #include <stdlib.h>
27434 FILE *f = fopen ("conftest.val", "w");
27437 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27439 long int i = longval ();
27440 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27442 fprintf (f, "%ld\n", i);
27446 unsigned long int i = ulongval ();
27447 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27449 fprintf (f, "%lu\n", i);
27451 return ferror (f) || fclose (f) != 0;
27457 rm -f conftest$ac_exeext
27458 if { (ac_try="$ac_link"
27459 case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27461 *) ac_try_echo
=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_link") 2>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27468 { (case "(($ac_try" in
27469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27470 *) ac_try_echo=$ac_try;;
27472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27473 (eval "$ac_try") 2>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_cv_sizeof_boolean=`cat conftest.val
`
27479 echo "$as_me: program exited with status $ac_status" >&5
27480 echo "$as_me: failed program was:" >&5
27481 sed 's/^/| /' conftest.$ac_ext >&5
27483 ( exit $ac_status )
27484 if test "$ac_cv_type_boolean" = yes; then
27485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27486 See \`config.log
' for more details." >&5
27487 echo "$as_me: error: cannot compute sizeof (boolean)
27488 See \`config.log' for more details.
" >&2;}
27489 { (exit 77); exit 77; }; }
27491 ac_cv_sizeof_boolean=0
27494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27498 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27499 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27503 cat >>confdefs.h <<_ACEOF
27504 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27508 cat >>confdefs.h <<_ACEOF
27509 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27523 TIFF_PREREQ_LINKS=-lm
27524 if test "$wxUSE_LIBTIFF" != "no
" ; then
27525 cat >>confdefs.h <<\_ACEOF
27526 #define wxUSE_LIBTIFF 1
27530 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27531 if test "$wxUSE_LIBJPEG" = "sys
"; then
27532 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27534 if test "$wxUSE_ZLIB" = "sys
"; then
27535 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27537 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27538 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27539 if test "${ac_cv_header_tiffio_h+set}" = set; then
27540 echo $ECHO_N "(cached
) $ECHO_C" >&6
27542 cat >conftest.$ac_ext <<_ACEOF
27545 cat confdefs.h >>conftest.$ac_ext
27546 cat >>conftest.$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27551 #include <tiffio.h>
27553 rm -f conftest.$ac_objext
27554 if { (ac_try="$ac_compile"
27555 case "(($ac_try" in
27556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27557 *) ac_try_echo=$ac_try;;
27559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27560 (eval "$ac_compile") 2>conftest.er1
27562 grep -v '^ *+' conftest.er1 >conftest.err
27564 cat conftest.err >&5
27565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27566 (exit $ac_status); } && {
27567 test -z "$ac_c_werror_flag" ||
27568 test ! -s conftest.err
27569 } && test -s conftest.$ac_objext; then
27570 ac_cv_header_tiffio_h=yes
27572 echo "$as_me: failed program was
:" >&5
27573 sed 's/^/| /' conftest.$ac_ext >&5
27575 ac_cv_header_tiffio_h=no
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27580 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27581 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27582 if test $ac_cv_header_tiffio_h = yes; then
27584 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27585 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27586 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27587 echo $ECHO_N "(cached
) $ECHO_C" >&6
27589 ac_check_lib_save_LIBS=$LIBS
27590 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27591 cat >conftest.$ac_ext <<_ACEOF
27594 cat confdefs.h >>conftest.$ac_ext
27595 cat >>conftest.$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27598 /* Override any GCC internal prototype to avoid an error.
27599 Use char because int might match the return type of a GCC
27600 builtin and then its argument prototype would still apply. */
27608 return TIFFError ();
27613 rm -f conftest.$ac_objext conftest$ac_exeext
27614 if { (ac_try="$ac_link"
27615 case "(($ac_try" in
27616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27617 *) ac_try_echo=$ac_try;;
27619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27620 (eval "$ac_link") 2>conftest.er1
27622 grep -v '^ *+' conftest.er1 >conftest.err
27624 cat conftest.err >&5
27625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27626 (exit $ac_status); } && {
27627 test -z "$ac_c_werror_flag" ||
27628 test ! -s conftest.err
27629 } && test -s conftest$ac_exeext &&
27630 $as_test_x conftest$ac_exeext; then
27631 ac_cv_lib_tiff_TIFFError=yes
27633 echo "$as_me: failed program was
:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27636 ac_cv_lib_tiff_TIFFError=no
27639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27640 conftest$ac_exeext conftest.$ac_ext
27641 LIBS=$ac_check_lib_save_LIBS
27643 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27644 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27645 if test $ac_cv_lib_tiff_TIFFError = yes; then
27646 TIFF_LINK=" -ltiff"
27654 if test "x
$TIFF_LINK" = "x
" ; then
27655 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27656 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27657 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27658 { (exit 1); exit 1; }; }
27660 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27661 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27662 wxUSE_LIBTIFF=builtin
27668 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27669 if test "$wxUSE_LIBJPEG" = "no
"; then
27670 ac_configure_args="$ac_configure_args --disable-jpeg"
27672 subdirs="$subdirs src
/tiff
"
27678 if test "$wxUSE_WCHAR_T" != "yes"; then
27679 if test "$wxUSE_EXPAT" != "no
"; then
27680 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27681 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27684 if test "$wxUSE_XML" != "no
"; then
27685 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27686 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27691 if test "$wxUSE_EXPAT" != "no
"; then
27693 cat >>confdefs.h <<\_ACEOF
27694 #define wxUSE_EXPAT 1
27697 cat >>confdefs.h <<\_ACEOF
27698 #define wxUSE_XML 1
27702 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27703 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27704 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27705 if test "${ac_cv_header_expat_h+set}" = set; then
27706 echo $ECHO_N "(cached
) $ECHO_C" >&6
27708 cat >conftest.$ac_ext <<_ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27718 rm -f conftest.$ac_objext
27719 if { (ac_try="$ac_compile"
27720 case "(($ac_try" in
27721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27722 *) ac_try_echo=$ac_try;;
27724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27725 (eval "$ac_compile") 2>conftest.er1
27727 grep -v '^ *+' conftest.er1 >conftest.err
27729 cat conftest.err >&5
27730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27731 (exit $ac_status); } && {
27732 test -z "$ac_c_werror_flag" ||
27733 test ! -s conftest.err
27734 } && test -s conftest.$ac_objext; then
27735 ac_cv_header_expat_h=yes
27737 echo "$as_me: failed program was
:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27740 ac_cv_header_expat_h=no
27743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27745 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27746 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27747 if test $ac_cv_header_expat_h = yes; then
27752 if test "x
$found_expat_h" = "x1
"; then
27753 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27754 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27755 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27756 echo $ECHO_N "(cached
) $ECHO_C" >&6
27760 ac_cpp='$CXXCPP $CPPFLAGS'
27761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765 cat >conftest.$ac_ext <<_ACEOF
27768 cat confdefs.h >>conftest.$ac_ext
27769 cat >>conftest.$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27780 rm -f conftest.$ac_objext
27781 if { (ac_try="$ac_compile"
27782 case "(($ac_try" in
27783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27784 *) ac_try_echo=$ac_try;;
27786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27787 (eval "$ac_compile") 2>conftest.er1
27789 grep -v '^ *+' conftest.er1 >conftest.err
27791 cat conftest.err >&5
27792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27793 (exit $ac_status); } && {
27794 test -z "$ac_cxx_werror_flag" ||
27795 test ! -s conftest.err
27796 } && test -s conftest.$ac_objext; then
27797 wx_cv_expat_is_not_broken=yes
27799 echo "$as_me: failed program was
:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27802 wx_cv_expat_is_not_broken=no
27806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27808 ac_cpp='$CPP $CPPFLAGS'
27809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27816 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27817 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27818 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27819 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27820 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27821 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27822 echo $ECHO_N "(cached
) $ECHO_C" >&6
27824 ac_check_lib_save_LIBS=$LIBS
27825 LIBS="-lexpat $LIBS"
27826 cat >conftest.$ac_ext <<_ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27833 /* Override any GCC internal prototype to avoid an error.
27834 Use char because int might match the return type of a GCC
27835 builtin and then its argument prototype would still apply. */
27839 char XML_ParserCreate ();
27843 return XML_ParserCreate ();
27848 rm -f conftest.$ac_objext conftest$ac_exeext
27849 if { (ac_try="$ac_link"
27850 case "(($ac_try" in
27851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27852 *) ac_try_echo=$ac_try;;
27854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27855 (eval "$ac_link") 2>conftest.er1
27857 grep -v '^ *+' conftest.er1 >conftest.err
27859 cat conftest.err >&5
27860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27861 (exit $ac_status); } && {
27862 test -z "$ac_c_werror_flag" ||
27863 test ! -s conftest.err
27864 } && test -s conftest$ac_exeext &&
27865 $as_test_x conftest$ac_exeext; then
27866 ac_cv_lib_expat_XML_ParserCreate=yes
27868 echo "$as_me: failed program was
:" >&5
27869 sed 's/^/| /' conftest.$ac_ext >&5
27871 ac_cv_lib_expat_XML_ParserCreate=no
27874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27875 conftest$ac_exeext conftest.$ac_ext
27876 LIBS=$ac_check_lib_save_LIBS
27878 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27879 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27880 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27881 EXPAT_LINK=" -lexpat"
27886 if test "x
$EXPAT_LINK" = "x
" ; then
27887 if test "$wxUSE_EXPAT" = "sys
" ; then
27888 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27889 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27890 { (exit 1); exit 1; }; }
27892 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27893 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27894 wxUSE_EXPAT=builtin
27900 if test "$wxUSE_EXPAT" = "builtin" ; then
27901 subdirs="$subdirs src
/expat
"
27908 if test "$wxUSE_LIBMSPACK" != "no
"; then
27909 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27910 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27911 if test "${ac_cv_header_mspack_h+set}" = set; then
27912 echo $ECHO_N "(cached
) $ECHO_C" >&6
27914 cat >conftest.$ac_ext <<_ACEOF
27917 cat confdefs.h >>conftest.$ac_ext
27918 cat >>conftest.$ac_ext <<_ACEOF
27919 /* end confdefs.h. */
27922 #include <mspack.h>
27924 rm -f conftest.$ac_objext
27925 if { (ac_try="$ac_compile"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_compile") 2>conftest.er1
27933 grep -v '^ *+' conftest.er1 >conftest.err
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest.$ac_objext; then
27941 ac_cv_header_mspack_h=yes
27943 echo "$as_me: failed program was
:" >&5
27944 sed 's/^/| /' conftest.$ac_ext >&5
27946 ac_cv_header_mspack_h=no
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27951 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27952 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27953 if test $ac_cv_header_mspack_h = yes; then
27958 if test "x
$found_mspack_h" = "x1
"; then
27959 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27960 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27961 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27962 echo $ECHO_N "(cached
) $ECHO_C" >&6
27964 ac_check_lib_save_LIBS=$LIBS
27965 LIBS="-lmspack $LIBS"
27966 cat >conftest.$ac_ext <<_ACEOF
27969 cat confdefs.h >>conftest.$ac_ext
27970 cat >>conftest.$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27973 /* Override any GCC internal prototype to avoid an error.
27974 Use char because int might match the return type of a GCC
27975 builtin and then its argument prototype would still apply. */
27979 char mspack_create_chm_decompressor ();
27983 return mspack_create_chm_decompressor ();
27988 rm -f conftest.$ac_objext conftest$ac_exeext
27989 if { (ac_try="$ac_link"
27990 case "(($ac_try" in
27991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27992 *) ac_try_echo=$ac_try;;
27994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27995 (eval "$ac_link") 2>conftest.er1
27997 grep -v '^ *+' conftest.er1 >conftest.err
27999 cat conftest.err >&5
28000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28001 (exit $ac_status); } && {
28002 test -z "$ac_c_werror_flag" ||
28003 test ! -s conftest.err
28004 } && test -s conftest$ac_exeext &&
28005 $as_test_x conftest$ac_exeext; then
28006 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28008 echo "$as_me: failed program was
:" >&5
28009 sed 's/^/| /' conftest.$ac_ext >&5
28011 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28015 conftest$ac_exeext conftest.$ac_ext
28016 LIBS=$ac_check_lib_save_LIBS
28018 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28019 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28020 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28021 MSPACK_LINK=" -lmspack"
28025 if test "x
$MSPACK_LINK" = "x
" ; then
28030 if test "$wxUSE_LIBMSPACK" != "no
"; then
28031 cat >>confdefs.h <<\_ACEOF
28032 #define wxUSE_LIBMSPACK 1
28046 if test "$USE_WIN32" = 1 ; then
28048 for ac_header in w32api.h
28050 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28051 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28052 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28053 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28054 echo $ECHO_N "(cached
) $ECHO_C" >&6
28056 cat >conftest.$ac_ext <<_ACEOF
28059 cat confdefs.h >>conftest.$ac_ext
28060 cat >>conftest.$ac_ext <<_ACEOF
28061 /* end confdefs.h. */
28064 #include <$ac_header>
28066 rm -f conftest.$ac_objext
28067 if { (ac_try="$ac_compile"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_compile") 2>conftest.er1
28075 grep -v '^ *+' conftest.er1 >conftest.err
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest.$ac_objext; then
28083 eval "$as_ac_Header=yes"
28085 echo "$as_me: failed program was
:" >&5
28086 sed 's/^/| /' conftest.$ac_ext >&5
28088 eval "$as_ac_Header=no
"
28091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093 ac_res=`eval echo '${'$as_ac_Header'}'`
28094 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28095 echo "${ECHO_T}$ac_res" >&6; }
28096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28097 cat >>confdefs.h <<_ACEOF
28098 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28105 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28106 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28107 if test "${ac_cv_header_windows_h+set}" = set; then
28108 echo $ECHO_N "(cached
) $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28118 #include <windows.h>
28120 rm -f conftest.$ac_objext
28121 if { (ac_try="$ac_compile"
28122 case "(($ac_try" in
28123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28124 *) ac_try_echo=$ac_try;;
28126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28127 (eval "$ac_compile") 2>conftest.er1
28129 grep -v '^ *+' conftest.er1 >conftest.err
28131 cat conftest.err >&5
28132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28133 (exit $ac_status); } && {
28134 test -z "$ac_c_werror_flag" ||
28135 test ! -s conftest.err
28136 } && test -s conftest.$ac_objext; then
28137 ac_cv_header_windows_h=yes
28139 echo "$as_me: failed program was
:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28142 ac_cv_header_windows_h=no
28145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28147 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28148 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28149 if test $ac_cv_header_windows_h = yes; then
28153 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28154 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28155 { (exit 1); exit 1; }; }
28162 x86_64-*-mingw32* )
28163 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28166 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28169 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28170 LIBS="$LIBS -loleacc"
28175 LIBS="$LIBS -lkernel32 -luser32"
28178 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28179 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28181 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28183 WIN32INSTALL=win32install
28185 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28186 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28187 if test "${ac_cv_header_pbt_h+set}" = set; then
28188 echo $ECHO_N "(cached
) $ECHO_C" >&6
28190 cat >conftest.$ac_ext <<_ACEOF
28193 cat confdefs.h >>conftest.$ac_ext
28194 cat >>conftest.$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28200 rm -f conftest.$ac_objext
28201 if { (ac_try="$ac_compile"
28202 case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_compile") 2>conftest.er1
28209 grep -v '^ *+' conftest.er1 >conftest.err
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest.$ac_objext; then
28217 ac_cv_header_pbt_h=yes
28219 echo "$as_me: failed program was
:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28222 ac_cv_header_pbt_h=no
28225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28227 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28228 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28229 if test $ac_cv_header_pbt_h = yes; then
28232 cat >>confdefs.h <<\_ACEOF
28233 #define NEED_PBT_H 1
28241 if test "$wxUSE_GUI" = "yes"; then
28251 if test "$wxUSE_COCOA" = 1 ; then
28252 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28253 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28254 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28255 wxUSE_PRINTING_ARCHITECTURE=no
28257 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28258 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28259 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28260 wxUSE_DRAG_AND_DROP=no
28262 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28263 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28264 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28269 if test "$wxUSE_MSW" = 1 ; then
28275 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28279 if test "$wxUSE_GTK" = 1; then
28280 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28281 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28283 gtk_version_cached=1
28284 if test "${wx_cv_lib_gtk+set}" = set; then
28285 echo $ECHO_N "(cached
) $ECHO_C" >&6
28288 gtk_version_cached=0
28289 { echo "$as_me:$LINENO: result
: " >&5
28290 echo "${ECHO_T}" >&6; }
28293 if test "$wxUSE_THREADS" = "yes"; then
28294 GTK_MODULES=gthread
28298 if test "x
$wxGTK_VERSION" != "x1
"
28302 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28307 # Check whether --enable-gtktest was given.
28308 if test "${enable_gtktest+set}" = set; then
28309 enableval=$enable_gtktest;
28315 pkg_config_args=gtk+-2.0
28316 for module in . $GTK_MODULES
28320 pkg_config_args="$pkg_config_args gthread
-2.0
"
28327 # Extract the first word of "pkg
-config", so it can be a program name with args.
28328 set dummy pkg-config; ac_word=$2
28329 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28330 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28331 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28332 echo $ECHO_N "(cached
) $ECHO_C" >&6
28334 case $PKG_CONFIG in
28336 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28340 for as_dir in $PATH
28343 test -z "$as_dir" && as_dir=.
28344 for ac_exec_ext in '' $ac_executable_extensions; do
28345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28346 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28347 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28354 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28358 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28359 if test -n "$PKG_CONFIG"; then
28360 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28361 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28363 { echo "$as_me:$LINENO: result
: no
" >&5
28364 echo "${ECHO_T}no
" >&6; }
28369 if test x$PKG_CONFIG != xno ; then
28370 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28373 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28381 min_gtk_version=2.4.0
28382 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28383 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28385 if test x$PKG_CONFIG != xno ; then
28386 ## don't try to run the test against uninstalled libtool libs
28387 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28388 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28392 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28399 if test x"$no_gtk" = x ; then
28400 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28401 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28402 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28404 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28406 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28408 if test "x
$enable_gtktest" = "xyes
" ; then
28409 ac_save_CFLAGS="$CFLAGS"
28410 ac_save_LIBS="$LIBS"
28411 CFLAGS="$CFLAGS $GTK_CFLAGS"
28412 LIBS="$GTK_LIBS $LIBS"
28414 if test "$cross_compiling" = yes; then
28415 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28417 cat >conftest.$ac_ext <<_ACEOF
28420 cat confdefs.h >>conftest.$ac_ext
28421 cat >>conftest.$ac_ext <<_ACEOF
28422 /* end confdefs.h. */
28424 #include <gtk/gtk.h>
28426 #include <stdlib.h>
28431 int major, minor, micro;
28434 system ("touch conf.gtktest
");
28436 /* HP/UX 9 (%@#!) writes to sscanf strings */
28437 tmp_version = g_strdup("$min_gtk_version");
28438 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28439 printf("%s
, bad version string
\n", "$min_gtk_version");
28443 if ((gtk_major_version != $gtk_config_major_version) ||
28444 (gtk_minor_version != $gtk_config_minor_version) ||
28445 (gtk_micro_version != $gtk_config_micro_version))
28447 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28448 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28449 gtk_major_version, gtk_minor_version, gtk_micro_version);
28450 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28451 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28452 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28453 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28454 printf("*** required on your system.
\n");
28455 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28456 printf("*** to point to the correct configuration files
\n");
28458 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28459 (gtk_minor_version != GTK_MINOR_VERSION) ||
28460 (gtk_micro_version != GTK_MICRO_VERSION))
28462 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28463 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28464 printf("*** library
(version
%d.
%d.
%d
)\n",
28465 gtk_major_version, gtk_minor_version, gtk_micro_version);
28469 if ((gtk_major_version > major) ||
28470 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28471 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28477 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28478 gtk_major_version, gtk_minor_version, gtk_micro_version);
28479 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28480 major, minor, micro);
28481 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28483 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28484 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28485 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28486 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28487 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28488 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28489 printf("*** so that the correct libraries are found
at run
-time))\n");
28496 rm -f conftest$ac_exeext
28497 if { (ac_try="$ac_link"
28498 case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_link") 2>&5
28505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28507 { (case "(($ac_try" in
28508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28509 *) ac_try_echo=$ac_try;;
28511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28512 (eval "$ac_try") 2>&5
28514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28515 (exit $ac_status); }; }; then
28518 echo "$as_me: program exited with status
$ac_status" >&5
28519 echo "$as_me: failed program was
:" >&5
28520 sed 's/^/| /' conftest.$ac_ext >&5
28522 ( exit $ac_status )
28525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28529 CFLAGS="$ac_save_CFLAGS"
28530 LIBS="$ac_save_LIBS"
28533 if test "x
$no_gtk" = x ; then
28534 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28535 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28538 { echo "$as_me:$LINENO: result
: no
" >&5
28539 echo "${ECHO_T}no
" >&6; }
28540 if test "$PKG_CONFIG" = "no
" ; then
28541 echo "*** A new enough version of pkg
-config was not found.
"
28542 echo "*** See http
://pkgconfig.sourceforge.net
"
28544 if test -f conf.gtktest ; then
28547 echo "*** Could not run GTK
+ test program
, checking why...
"
28548 ac_save_CFLAGS="$CFLAGS"
28549 ac_save_LIBS="$LIBS"
28550 CFLAGS="$CFLAGS $GTK_CFLAGS"
28551 LIBS="$LIBS $GTK_LIBS"
28552 cat >conftest.$ac_ext <<_ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28559 #include <gtk/gtk.h>
28565 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28570 rm -f conftest.$ac_objext conftest$ac_exeext
28571 if { (ac_try="$ac_link"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_link") 2>conftest.er1
28579 grep -v '^ *+' conftest.er1 >conftest.err
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest$ac_exeext &&
28587 $as_test_x conftest$ac_exeext; then
28588 echo "*** The
test program compiled
, but did not run. This usually means
"
28589 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28590 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28591 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28592 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28593 echo "*** is required on your system"
28595 echo "*** If you have an old version installed, it is best to remove it, although"
28596 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28598 echo "$as_me: failed program was:" >&5
28599 sed 's
/^
/| /' conftest.$ac_ext >&5
28601 echo "*** The test program failed to compile or link. See the file config.log for the"
28602 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28606 conftest$ac_exeext conftest.$ac_ext
28607 CFLAGS="$ac_save_CFLAGS"
28608 LIBS="$ac_save_LIBS"
28622 if test "$wxUSE_SHARED" != "yes"; then
28623 GTK_LIBS="$GTK_LIBS -lX11"
28628 if test -z "$wx_cv_lib_gtk"; then
28629 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28631 # Check whether --with-gtk-prefix was given.
28632 if test "${with_gtk_prefix+set}" = set; then
28633 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28635 gtk_config_prefix=""
28639 # Check whether --with-gtk-exec-prefix was given.
28640 if test "${with_gtk_exec_prefix+set}" = set; then
28641 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28643 gtk_config_exec_prefix=""
28646 # Check whether --enable-gtktest was given.
28647 if test "${enable_gtktest+set}" = set; then
28648 enableval=$enable_gtktest;
28654 for module in . $GTK_MODULES
28658 gtk_config_args="$gtk_config_args gthread"
28663 if test x$gtk_config_exec_prefix != x ; then
28664 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28665 if test x${GTK_CONFIG+set} != xset ; then
28666 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28669 if test x$gtk_config_prefix != x ; then
28670 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28671 if test x${GTK_CONFIG+set} != xset ; then
28672 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28676 # Extract the first word of "gtk-config", so it can be a program name with args.
28677 set dummy gtk-config; ac_word=$2
28678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28680 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28681 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 case $GTK_CONFIG in
28685 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28689 for as_dir in $PATH
28692 test -z "$as_dir" && as_dir=.
28693 for ac_exec_ext in '' $ac_executable_extensions; do
28694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28695 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28703 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28707 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28708 if test -n "$GTK_CONFIG"; then
28709 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28710 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28712 { echo "$as_me:$LINENO: result: no" >&5
28713 echo "${ECHO_T}no" >&6; }
28717 min_gtk_version=1.2.7
28718 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28719 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28721 if test "$GTK_CONFIG" = "no" ; then
28724 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28725 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28726 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28727 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28728 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28729 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28730 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28731 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28732 if test "x$enable_gtktest" = "xyes" ; then
28733 ac_save_CFLAGS="$CFLAGS"
28734 ac_save_LIBS="$LIBS"
28735 CFLAGS="$CFLAGS $GTK_CFLAGS"
28736 LIBS="$GTK_LIBS $LIBS"
28738 if test "$cross_compiling" = yes; then
28739 echo $ac_n "cross compiling; assumed OK... $ac_c"
28741 cat >conftest.$ac_ext <<_ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28748 #include <gtk/gtk.h>
28750 #include <stdlib.h>
28755 int major, minor, micro;
28758 system ("touch conf.gtktest");
28760 /* HP/UX 9 (%@#!) writes to sscanf strings */
28761 tmp_version = g_strdup("$min_gtk_version");
28762 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28763 printf("%s, bad version string\n", "$min_gtk_version");
28767 if ((gtk_major_version != $gtk_config_major_version) ||
28768 (gtk_minor_version != $gtk_config_minor_version) ||
28769 (gtk_micro_version != $gtk_config_micro_version))
28771 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28772 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28773 gtk_major_version, gtk_minor_version, gtk_micro_version);
28774 printf ("*** was found! If gtk-config was correct, then it is best\n");
28775 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28776 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28777 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28778 printf("*** required on your system.\n");
28779 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28780 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28781 printf("*** before re-running configure\n");
28783 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28784 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28785 (gtk_minor_version != GTK_MINOR_VERSION) ||
28786 (gtk_micro_version != GTK_MICRO_VERSION))
28788 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28789 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28790 printf("*** library (version %d.%d.%d)\n",
28791 gtk_major_version, gtk_minor_version, gtk_micro_version);
28793 #endif /* defined (GTK_MAJOR_VERSION) ... */
28796 if ((gtk_major_version > major) ||
28797 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28798 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28804 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28805 gtk_major_version, gtk_minor_version, gtk_micro_version);
28806 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28807 major, minor, micro);
28808 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28810 printf("*** If you have already installed a sufficiently new version, this error\n");
28811 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28812 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28813 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28814 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28815 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28816 printf("*** so that the correct libraries are found at run-time))\n");
28823 rm -f conftest$ac_exeext
28824 if { (ac_try="$ac_link"
28825 case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_link") 2>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28834 { (case "(($ac_try" in
28835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_try") 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28845 echo "$as_me: program exited with status $ac_status" >&5
28846 echo "$as_me: failed program was:" >&5
28847 sed 's
/^
/| /' conftest.$ac_ext >&5
28849 ( exit $ac_status )
28852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28856 CFLAGS="$ac_save_CFLAGS"
28857 LIBS="$ac_save_LIBS"
28860 if test "x$no_gtk" = x ; then
28861 { echo "$as_me:$LINENO: result: yes" >&5
28862 echo "${ECHO_T}yes" >&6; }
28863 wx_cv_lib_gtk=1.2.7
28865 { echo "$as_me:$LINENO: result: no" >&5
28866 echo "${ECHO_T}no" >&6; }
28867 if test "$GTK_CONFIG" = "no" ; then
28868 echo "*** The gtk-config script installed by GTK could not be found"
28869 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28870 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28871 echo "*** full path to gtk-config."
28873 if test -f conf.gtktest ; then
28876 echo "*** Could not run GTK test program, checking why..."
28877 CFLAGS="$CFLAGS $GTK_CFLAGS"
28878 LIBS="$LIBS $GTK_LIBS"
28879 cat >conftest.$ac_ext <<_ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28886 #include <gtk/gtk.h>
28892 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28897 rm -f conftest.$ac_objext conftest$ac_exeext
28898 if { (ac_try="$ac_link"
28899 case "(($ac_try" in
28900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28901 *) ac_try_echo=$ac_try;;
28903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28904 (eval "$ac_link") 2>conftest.er1
28906 grep -v '^
*+' conftest.er1 >conftest.err
28908 cat conftest.err >&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } && {
28911 test -z "$ac_c_werror_flag" ||
28912 test ! -s conftest.err
28913 } && test -s conftest$ac_exeext &&
28914 $as_test_x conftest$ac_exeext; then
28915 echo "*** The test program compiled, but did not run. This usually means"
28916 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28917 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28918 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28919 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28920 echo "*** is required on your system
"
28922 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28923 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28925 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28926 echo "*** came with the system with the
command"
28928 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28930 echo "$as_me: failed program was
:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28933 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28934 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28935 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28936 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28940 conftest$ac_exeext conftest.$ac_ext
28941 CFLAGS="$ac_save_CFLAGS"
28942 LIBS="$ac_save_LIBS"
28954 if test -z "$wx_cv_lib_gtk"; then
28956 # Check whether --with-gtk-prefix was given.
28957 if test "${with_gtk_prefix+set}" = set; then
28958 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28960 gtk_config_prefix=""
28964 # Check whether --with-gtk-exec-prefix was given.
28965 if test "${with_gtk_exec_prefix+set}" = set; then
28966 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28968 gtk_config_exec_prefix=""
28971 # Check whether --enable-gtktest was given.
28972 if test "${enable_gtktest+set}" = set; then
28973 enableval=$enable_gtktest;
28979 for module in . $GTK_MODULES
28983 gtk_config_args="$gtk_config_args gthread
"
28988 if test x$gtk_config_exec_prefix != x ; then
28989 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28990 if test x${GTK_CONFIG+set} != xset ; then
28991 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28994 if test x$gtk_config_prefix != x ; then
28995 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28996 if test x${GTK_CONFIG+set} != xset ; then
28997 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29001 # Extract the first word of "gtk
-config", so it can be a program name with args.
29002 set dummy gtk-config; ac_word=$2
29003 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29004 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29005 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29006 echo $ECHO_N "(cached
) $ECHO_C" >&6
29008 case $GTK_CONFIG in
29010 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29014 for as_dir in $PATH
29017 test -z "$as_dir" && as_dir=.
29018 for ac_exec_ext in '' $ac_executable_extensions; do
29019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29020 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29021 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29028 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29032 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29033 if test -n "$GTK_CONFIG"; then
29034 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29035 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29037 { echo "$as_me:$LINENO: result
: no
" >&5
29038 echo "${ECHO_T}no
" >&6; }
29042 min_gtk_version=1.2.3
29043 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29044 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29046 if test "$GTK_CONFIG" = "no
" ; then
29049 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29050 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29051 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29053 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29055 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29057 if test "x
$enable_gtktest" = "xyes
" ; then
29058 ac_save_CFLAGS="$CFLAGS"
29059 ac_save_LIBS="$LIBS"
29060 CFLAGS="$CFLAGS $GTK_CFLAGS"
29061 LIBS="$GTK_LIBS $LIBS"
29063 if test "$cross_compiling" = yes; then
29064 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29066 cat >conftest.$ac_ext <<_ACEOF
29069 cat confdefs.h >>conftest.$ac_ext
29070 cat >>conftest.$ac_ext <<_ACEOF
29071 /* end confdefs.h. */
29073 #include <gtk/gtk.h>
29075 #include <stdlib.h>
29080 int major, minor, micro;
29083 system ("touch conf.gtktest
");
29085 /* HP/UX 9 (%@#!) writes to sscanf strings */
29086 tmp_version = g_strdup("$min_gtk_version");
29087 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29088 printf("%s
, bad version string
\n", "$min_gtk_version");
29092 if ((gtk_major_version != $gtk_config_major_version) ||
29093 (gtk_minor_version != $gtk_config_minor_version) ||
29094 (gtk_micro_version != $gtk_config_micro_version))
29096 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29097 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29098 gtk_major_version, gtk_minor_version, gtk_micro_version);
29099 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29100 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29101 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29102 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29103 printf("*** required on your system.
\n");
29104 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29105 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29106 printf("*** before re
-running configure
\n");
29108 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29109 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29110 (gtk_minor_version != GTK_MINOR_VERSION) ||
29111 (gtk_micro_version != GTK_MICRO_VERSION))
29113 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29114 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29115 printf("*** library
(version
%d.
%d.
%d
)\n",
29116 gtk_major_version, gtk_minor_version, gtk_micro_version);
29118 #endif /* defined (GTK_MAJOR_VERSION) ... */
29121 if ((gtk_major_version > major) ||
29122 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29123 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29129 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29130 gtk_major_version, gtk_minor_version, gtk_micro_version);
29131 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29132 major, minor, micro);
29133 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29135 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29136 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29137 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29138 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29139 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29140 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29141 printf("*** so that the correct libraries are found
at run
-time))\n");
29148 rm -f conftest$ac_exeext
29149 if { (ac_try="$ac_link"
29150 case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_link") 2>&5
29157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29159 { (case "(($ac_try" in
29160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29161 *) ac_try_echo=$ac_try;;
29163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29164 (eval "$ac_try") 2>&5
29166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29167 (exit $ac_status); }; }; then
29170 echo "$as_me: program exited with status
$ac_status" >&5
29171 echo "$as_me: failed program was
:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29174 ( exit $ac_status )
29177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29181 CFLAGS="$ac_save_CFLAGS"
29182 LIBS="$ac_save_LIBS"
29185 if test "x
$no_gtk" = x ; then
29186 { echo "$as_me:$LINENO: result
: yes" >&5
29187 echo "${ECHO_T}yes" >&6; }
29188 wx_cv_lib_gtk=1.2.3
29190 { echo "$as_me:$LINENO: result
: no
" >&5
29191 echo "${ECHO_T}no
" >&6; }
29192 if test "$GTK_CONFIG" = "no
" ; then
29193 echo "*** The gtk
-config script installed by GTK could not be found
"
29194 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29195 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29196 echo "*** full path to gtk
-config.
"
29198 if test -f conf.gtktest ; then
29201 echo "*** Could not run GTK
test program
, checking why...
"
29202 CFLAGS="$CFLAGS $GTK_CFLAGS"
29203 LIBS="$LIBS $GTK_LIBS"
29204 cat >conftest.$ac_ext <<_ACEOF
29207 cat confdefs.h >>conftest.$ac_ext
29208 cat >>conftest.$ac_ext <<_ACEOF
29209 /* end confdefs.h. */
29211 #include <gtk/gtk.h>
29217 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29222 rm -f conftest.$ac_objext conftest$ac_exeext
29223 if { (ac_try="$ac_link"
29224 case "(($ac_try" in
29225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29226 *) ac_try_echo=$ac_try;;
29228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29229 (eval "$ac_link") 2>conftest.er1
29231 grep -v '^ *+' conftest.er1 >conftest.err
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29235 (exit $ac_status); } && {
29236 test -z "$ac_c_werror_flag" ||
29237 test ! -s conftest.err
29238 } && test -s conftest$ac_exeext &&
29239 $as_test_x conftest$ac_exeext; then
29240 echo "*** The
test program compiled
, but did not run. This usually means
"
29241 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29242 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29243 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29244 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29245 echo "*** is required on your system"
29247 echo "*** If you have an old version installed, it is best to remove it, although"
29248 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29250 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29251 echo "*** came with the system with the command"
29253 echo "*** rpm --erase --nodeps gtk gtk-devel"
29255 echo "$as_me: failed program was:" >&5
29256 sed 's
/^
/| /' conftest.$ac_ext >&5
29258 echo "*** The test program failed to compile or link. See the file config.log for the"
29259 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29260 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29261 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29265 conftest$ac_exeext conftest.$ac_ext
29266 CFLAGS="$ac_save_CFLAGS"
29267 LIBS="$ac_save_LIBS"
29282 if test -z "$wx_cv_lib_gtk"; then
29285 wx_cv_cflags_gtk=$GTK_CFLAGS
29286 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29293 if test "$gtk_version_cached" = 1; then
29294 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29295 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29298 case "$wx_cv_lib_gtk" in
29307 *) { { echo "$as_me:$LINENO: error:
29308 The development files for GTK+ were not found. For GTK+ 2, please
29309 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29310 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29311 and that the version is 1.2.3 or above. Also check that the
29312 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29313 --libs' are in the LD_LIBRARY_PATH or equivalent.
29315 echo "$as_me: error:
29316 The development files for GTK+ were not found. For GTK+ 2, please
29317 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29318 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29319 and that the version is 1.2.3 or above. Also check that the
29320 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29321 --libs' are in the LD_LIBRARY_PATH or equivalent.
29323 { (exit 1); exit 1; }; }
29327 if test "$WXGTK2" = 1; then
29328 save_CFLAGS="$CFLAGS"
29330 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29331 LIBS="$LIBS $wx_cv_libs_gtk"
29333 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29334 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29335 cat >conftest.$ac_ext <<_ACEOF
29338 cat confdefs.h >>conftest.$ac_ext
29339 cat >>conftest.$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29342 #include <gtk/gtk.h>
29348 #if !GTK_CHECK_VERSION(2,10,0)
29356 rm -f conftest.$ac_objext
29357 if { (ac_try="$ac_compile"
29358 case "(($ac_try" in
29359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29360 *) ac_try_echo=$ac_try;;
29362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29363 (eval "$ac_compile") 2>conftest.er1
29365 grep -v '^
*+' conftest.er1 >conftest.err
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } && {
29370 test -z "$ac_c_werror_flag" ||
29371 test ! -s conftest.err
29372 } && test -s conftest.$ac_objext; then
29374 cat >>confdefs.h <<\_ACEOF
29375 #define __WXGTK210__ 1
29378 cat >>confdefs.h <<\_ACEOF
29379 #define __WXGTK26__ 1
29382 { echo "$as_me:$LINENO: result: yes" >&5
29383 echo "${ECHO_T}yes" >&6; }
29387 echo "$as_me: failed program was:" >&5
29388 sed 's
/^
/| /' conftest.$ac_ext >&5
29391 { echo "$as_me:$LINENO: result: no" >&5
29392 echo "${ECHO_T}no" >&6; }
29397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29399 if test "$ac_wxgtk210" = 0; then
29400 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29401 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29402 cat >conftest.$ac_ext <<_ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29409 #include <gtk/gtk.h>
29415 #if !GTK_CHECK_VERSION(2,6,0)
29423 rm -f conftest.$ac_objext
29424 if { (ac_try="$ac_compile"
29425 case "(($ac_try" in
29426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29427 *) ac_try_echo=$ac_try;;
29429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29430 (eval "$ac_compile") 2>conftest.er1
29432 grep -v '^
*+' conftest.er1 >conftest.err
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } && {
29437 test -z "$ac_c_werror_flag" ||
29438 test ! -s conftest.err
29439 } && test -s conftest.$ac_objext; then
29441 cat >>confdefs.h <<\_ACEOF
29442 #define __WXGTK26__ 1
29445 { echo "$as_me:$LINENO: result: yes" >&5
29446 echo "${ECHO_T}yes" >&6; }
29450 echo "$as_me: failed program was:" >&5
29451 sed 's
/^
/| /' conftest.$ac_ext >&5
29454 { echo "$as_me:$LINENO: result: no" >&5
29455 echo "${ECHO_T}no" >&6; }
29460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463 CFLAGS="$save_CFLAGS"
29466 if test "$wxUSE_UNICODE" = "yes"; then
29467 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29468 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29472 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29473 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29474 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 ac_check_lib_save_LIBS=$LIBS
29479 cat >conftest.$ac_ext <<_ACEOF
29482 cat confdefs.h >>conftest.$ac_ext
29483 cat >>conftest.$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29486 /* Override any GCC internal prototype to avoid an error.
29487 Use char because int might match the return type of a GCC
29488 builtin and then its argument prototype would still apply. */
29492 char gdk_im_open ();
29496 return gdk_im_open ();
29501 rm -f conftest.$ac_objext conftest$ac_exeext
29502 if { (ac_try="$ac_link"
29503 case "(($ac_try" in
29504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29505 *) ac_try_echo=$ac_try;;
29507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29508 (eval "$ac_link") 2>conftest.er1
29510 grep -v '^
*+' conftest.er1 >conftest.err
29512 cat conftest.err >&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } && {
29515 test -z "$ac_c_werror_flag" ||
29516 test ! -s conftest.err
29517 } && test -s conftest$ac_exeext &&
29518 $as_test_x conftest$ac_exeext; then
29519 ac_cv_lib_gdk_gdk_im_open=yes
29521 echo "$as_me: failed program was:" >&5
29522 sed 's
/^
/| /' conftest.$ac_ext >&5
29524 ac_cv_lib_gdk_gdk_im_open=no
29527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29528 conftest$ac_exeext conftest.$ac_ext
29529 LIBS=$ac_check_lib_save_LIBS
29531 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29532 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29533 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29534 cat >>confdefs.h <<\_ACEOF
29541 if test "$USE_DARWIN" != 1; then
29543 for ac_func in poll
29545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29546 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29548 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29549 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29559 #define $ac_func innocuous_$ac_func
29561 /* System header to define __stub macros and hopefully few prototypes,
29562 which can conflict with char $ac_func (); below.
29563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29564 <limits.h> exists even on freestanding compilers. */
29567 # include <limits.h>
29569 # include <assert.h>
29574 /* Override any GCC internal prototype to avoid an error.
29575 Use char because int might match the return type of a GCC
29576 builtin and then its argument prototype would still apply. */
29581 /* The GNU C library defines this for functions which it implements
29582 to always fail with ENOSYS. Some functions are actually named
29583 something starting with __ and the normal name is an alias. */
29584 #if defined __stub_$ac_func || defined __stub___$ac_func
29591 return $ac_func ();
29596 rm -f conftest.$ac_objext conftest$ac_exeext
29597 if { (ac_try="$ac_link"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29603 (eval "$ac_link") 2>conftest.er1
29605 grep -v '^
*+' conftest.er1 >conftest.err
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } && {
29610 test -z "$ac_c_werror_flag" ||
29611 test ! -s conftest.err
29612 } && test -s conftest$ac_exeext &&
29613 $as_test_x conftest$ac_exeext; then
29614 eval "$as_ac_var=yes"
29616 echo "$as_me: failed program was:" >&5
29617 sed 's
/^
/| /' conftest.$ac_ext >&5
29619 eval "$as_ac_var=no"
29622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29623 conftest$ac_exeext conftest.$ac_ext
29625 ac_res=`eval echo '${'$as_ac_var'}'`
29626 { echo "$as_me:$LINENO: result: $ac_res" >&5
29627 echo "${ECHO_T}$ac_res" >&6; }
29628 if test `eval echo '${'$as_ac_var'}'` = yes; then
29629 cat >>confdefs.h <<_ACEOF
29630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29639 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29640 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29642 AFMINSTALL=afminstall
29646 if test "$wxUSE_GPE" = "yes"; then
29647 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29648 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29651 for ac_dir in $SEARCH_LIB;
29653 for ac_extension in a so sl dylib dll.a; do
29654 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29655 ac_find_libraries=$ac_dir
29661 if test "$ac_find_libraries" != "" ; then
29663 if test "$ac_find_libraries" = "default location"; then
29666 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29668 if test $result = 0; then
29671 ac_path_to_link=" -L$ac_find_libraries"
29675 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29677 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29678 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29680 { echo "$as_me:$LINENO: result: not found" >&5
29681 echo "${ECHO_T}not found" >&6; }
29687 if test "$wxUSE_MGL" = 1; then
29688 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29689 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29690 if test "x$MGL_ROOT" = x ; then
29691 { echo "$as_me:$LINENO: result: not found" >&5
29692 echo "${ECHO_T}not found" >&6; }
29693 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29694 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29695 { (exit 1); exit 1; }; }
29697 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29698 echo "${ECHO_T}$MGL_ROOT" >&6; }
29701 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29702 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29705 if test "x$wxUSE_SHARED" = xyes ; then
29706 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29708 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29712 mgl_os_candidates="dos32/dj2"
29715 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29716 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29717 { (exit 1); exit 1; }; }
29723 for mgl_os_i in $mgl_os_candidates ; do
29724 if test "x$mgl_os" = x ; then
29725 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29726 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29727 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29732 if test "x$mgl_lib_type" = x ; then
29733 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29734 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29735 mgl_lib_type=release
29742 if test "x$mgl_os" = x ; then
29743 { echo "$as_me:$LINENO: result: not found" >&5
29744 echo "${ECHO_T}not found" >&6; }
29745 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29746 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29747 { (exit 1); exit 1; }; }
29749 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29750 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29752 wxUSE_UNIVERSAL="yes"
29754 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29755 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29757 AFMINSTALL=afminstall
29762 if test "$wxUSE_DFB" = 1; then
29765 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29766 if test -n "$ac_tool_prefix"; then
29767 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29768 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29771 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29772 echo $ECHO_N "(cached) $ECHO_C" >&6
29774 case $PKG_CONFIG in
29776 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29780 for as_dir in $PATH
29783 test -z "$as_dir" && as_dir=.
29784 for ac_exec_ext in '' $ac_executable_extensions; do
29785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29786 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29797 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29798 if test -n "$PKG_CONFIG"; then
29799 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29800 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29802 { echo "$as_me:$LINENO: result: no" >&5
29803 echo "${ECHO_T}no" >&6; }
29808 if test -z "$ac_cv_path_PKG_CONFIG"; then
29809 ac_pt_PKG_CONFIG=$PKG_CONFIG
29810 # Extract the first word of "pkg-config", so it can be a program name with args.
29811 set dummy pkg-config; ac_word=$2
29812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29814 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29815 echo $ECHO_N "(cached) $ECHO_C" >&6
29817 case $ac_pt_PKG_CONFIG in
29819 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29823 for as_dir in $PATH
29826 test -z "$as_dir" && as_dir=.
29827 for ac_exec_ext in '' $ac_executable_extensions; do
29828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29829 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29840 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29841 if test -n "$ac_pt_PKG_CONFIG"; then
29842 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29843 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29845 { echo "$as_me:$LINENO: result: no" >&5
29846 echo "${ECHO_T}no" >&6; }
29849 if test "x$ac_pt_PKG_CONFIG" = x; then
29852 case $cross_compiling:$ac_tool_warned in
29854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29855 whose name does not start with the host triplet. If you think this
29856 configuration is useful to you, please write to autoconf@gnu.org." >&5
29857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29858 whose name does not start with the host triplet. If you think this
29859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29860 ac_tool_warned=yes ;;
29862 PKG_CONFIG=$ac_pt_PKG_CONFIG
29865 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29869 if test -n "$PKG_CONFIG"; then
29870 _pkg_min_version=0.9.0
29871 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29872 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29873 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29874 { echo "$as_me:$LINENO: result: yes" >&5
29875 echo "${ECHO_T}yes" >&6; }
29877 { echo "$as_me:$LINENO: result: no" >&5
29878 echo "${ECHO_T}no" >&6; }
29886 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29887 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29889 if test -n "$PKG_CONFIG"; then
29890 if test -n "$DIRECTFB_CFLAGS"; then
29891 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29893 if test -n "$PKG_CONFIG" && \
29894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29895 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; then
29899 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29907 if test -n "$PKG_CONFIG"; then
29908 if test -n "$DIRECTFB_LIBS"; then
29909 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29911 if test -n "$PKG_CONFIG" && \
29912 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29913 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; then
29917 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29928 if test $pkg_failed = yes; then
29930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29931 _pkg_short_errors_supported=yes
29933 _pkg_short_errors_supported=no
29935 if test $_pkg_short_errors_supported = yes; then
29936 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29938 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29940 # Put the nasty error message in config.log where it belongs
29941 echo "$DIRECTFB_PKG_ERRORS" >&5
29944 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29945 echo "$as_me: error: DirectFB not found." >&2;}
29946 { (exit 1); exit 1; }; }
29949 elif test $pkg_failed = untried; then
29951 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29952 echo "$as_me: error: DirectFB not found." >&2;}
29953 { (exit 1); exit 1; }; }
29957 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29958 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29959 { echo "$as_me:$LINENO: result: yes" >&5
29960 echo "${ECHO_T}yes" >&6; }
29962 wxUSE_UNIVERSAL="yes"
29963 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29964 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29971 if test "$wxUSE_MICROWIN" = 1; then
29972 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29973 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29974 if test "x$MICROWINDOWS" = x ; then
29975 { echo "$as_me:$LINENO: result: not found" >&5
29976 echo "${ECHO_T}not found" >&6; }
29977 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29978 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29979 { (exit 1); exit 1; }; }
29981 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29982 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29985 if test -f $MICROWINDOWS/lib/libmwin.a; then
29986 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29987 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29989 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29990 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29991 { (exit 1); exit 1; }; }
29994 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29995 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29997 wxUSE_UNIVERSAL="yes"
29999 AFMINSTALL=afminstall
30001 GUIDIST=MICROWIN_DIST
30003 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30006 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30007 { echo "$as_me:$LINENO: checking for X" >&5
30008 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30011 # Check whether --with-x was given.
30012 if test "${with_x+set}" = set; then
30016 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30017 if test "x$with_x" = xno; then
30018 # The user explicitly disabled X.
30021 case $x_includes,$x_libraries in #(
30022 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30023 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30024 { (exit 1); exit 1; }; };; #(
30025 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30026 echo $ECHO_N "(cached) $ECHO_C" >&6
30028 # One or both of the vars are not set, and there is no cached value.
30029 ac_x_includes=no ac_x_libraries=no
30030 rm -f -r conftest.dir
30031 if mkdir conftest.dir; then
30033 cat >Imakefile <<'_ACEOF'
30035 @echo incroot='${INCROOT}'
30037 @echo usrlibdir='${USRLIBDIR}'
30039 @echo libdir='${LIBDIR}'
30041 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30043 for ac_var in incroot usrlibdir libdir; do
30044 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30046 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30047 for ac_extension in a so sl; do
30048 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30049 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30050 ac_im_usrlibdir=$ac_im_libdir; break
30053 # Screen out bogus values from the imake configuration. They are
30054 # bogus both because they are the default anyway, and because
30055 # using them would break gcc on systems where it needs fixed includes.
30056 case $ac_im_incroot in
30057 /usr/include) ac_x_includes= ;;
30058 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30060 case $ac_im_usrlibdir in
30061 /usr/lib | /lib) ;;
30062 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30066 rm -f -r conftest.dir
30069 # Standard set of common directories for X headers.
30070 # Check X11 before X11Rn because it is often a symlink to the current release.
30082 /usr
/local
/X
11/include
30083 /usr
/local
/X
11R
6/include
30084 /usr
/local
/X
11R
5/include
30085 /usr
/local
/X
11R
4/include
30087 /usr
/local
/include
/X11
30088 /usr
/local
/include
/X11R6
30089 /usr
/local
/include
/X11R5
30090 /usr
/local
/include
/X11R4
30094 /usr
/XFree
86/include
/X11
30098 /usr
/unsupported
/include
30099 /usr
/athena
/include
30100 /usr
/local
/x
11r
5/include
30101 /usr
/lpp
/Xamples
/include
30103 /usr
/openwin
/include
30104 /usr
/openwin
/share
/include
'
30106 if test "$ac_x_includes" = no; then
30107 # Guess where to find include files, by looking for Xlib.h.
30108 # First, try using that file with no special directory specified.
30109 cat >conftest.$ac_ext <<_ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 #include <X11/Xlib.h>
30117 if { (ac_try="$ac_cpp conftest.$ac_ext"
30118 case "(($ac_try" in
30119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30120 *) ac_try_echo=$ac_try;;
30122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30125 grep -v '^
*+' conftest.er1 >conftest.err
30127 cat conftest.err >&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); } >/dev/null && {
30130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30131 test ! -s conftest.err
30133 # We can compile using X headers with no special include directory.
30136 echo "$as_me: failed program was:" >&5
30137 sed 's
/^
/| /' conftest.$ac_ext >&5
30139 for ac_dir in $ac_x_header_dirs; do
30140 if test -r "$ac_dir/X11/Xlib.h"; then
30141 ac_x_includes=$ac_dir
30147 rm -f conftest.err conftest.$ac_ext
30148 fi # $ac_x_includes = no
30150 if test "$ac_x_libraries" = no; then
30151 # Check for the libraries.
30152 # See if we find them without any special options.
30153 # Don't add to
$LIBS permanently.
30156 cat >conftest.
$ac_ext <<_ACEOF
30159 cat confdefs.h
>>conftest.
$ac_ext
30160 cat >>conftest.
$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 #include <X11/Xlib.h>
30171 rm -f conftest.
$ac_objext conftest
$ac_exeext
30172 if { (ac_try
="$ac_link"
30173 case "(($ac_try" in
30174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_link") 2>conftest.er1
30180 grep -v '^ *+' conftest.er1 >conftest.err
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } && {
30185 test -z "$ac_c_werror_flag" ||
30186 test ! -s conftest.err
30187 } && test -s conftest$ac_exeext &&
30188 $as_test_x conftest$ac_exeext; then
30190 # We can link X programs with no special library path.
30193 echo "$as_me: failed program was:" >&5
30194 sed 's/^/| /' conftest.$ac_ext >&5
30197 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30199 # Don't even attempt the hair of trying to link an X program!
30200 for ac_extension in a so sl; do
30201 if test -r "$ac_dir/libX11.$ac_extension"; then
30202 ac_x_libraries=$ac_dir
30209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30210 conftest$ac_exeext conftest.$ac_ext
30211 fi # $ac_x_libraries = no
30213 case $ac_x_includes,$ac_x_libraries in #(
30214 no,* | *,no | *\'*)
30215 # Didn't find X, or a directory has "'" in its name.
30216 ac_cv_have_x="have_x=no";; #(
30218 # Record where we found X for the cache.
30219 ac_cv_have_x="have_x=yes\
30220 ac_x_includes='$ac_x_includes'\
30221 ac_x_libraries='$ac_x_libraries'"
30227 eval "$ac_cv_have_x"
30230 if test "$have_x" != yes; then
30231 { echo "$as_me:$LINENO: result: $have_x" >&5
30232 echo "${ECHO_T}$have_x" >&6; }
30235 # If each of the values was on the command line, it overrides each guess.
30236 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30237 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30238 # Update the cache value to reflect the command line values.
30239 ac_cv_have_x="have_x=yes\
30240 ac_x_includes='$x_includes'\
30241 ac_x_libraries='$x_libraries'"
30242 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30243 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30246 if test "$no_x" = yes; then
30247 # Not all programs may use this symbol, but it does not hurt to define it.
30249 cat >>confdefs.h <<\_ACEOF
30250 #define X_DISPLAY_MISSING 1
30253 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30255 if test -n "$x_includes"; then
30256 X_CFLAGS="$X_CFLAGS -I$x_includes"
30259 # It would also be nice to do this for all -L options, not just this one.
30260 if test -n "$x_libraries"; then
30261 X_LIBS="$X_LIBS -L$x_libraries"
30262 # For Solaris; some versions of Sun CC require a space after -R and
30263 # others require no space. Words are not sufficient . . . .
30264 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30265 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30266 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30267 ac_xsave_c_werror_flag=$ac_c_werror_flag
30268 ac_c_werror_flag=yes
30269 cat >conftest.$ac_ext <<_ACEOF
30272 cat confdefs.h >>conftest.$ac_ext
30273 cat >>conftest.$ac_ext <<_ACEOF
30274 /* end confdefs.h. */
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (ac_try="$ac_link"
30286 case "(($ac_try" in
30287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30288 *) ac_try_echo
=$ac_try;;
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_link") 2>conftest.er1
30293 grep -v '^ *+' conftest.er1
>conftest.err
30295 cat conftest.err
>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } && {
30298 test -z "$ac_c_werror_flag" ||
30299 test ! -s conftest.err
30300 } && test -s conftest
$ac_exeext &&
30301 $as_test_x conftest
$ac_exeext; then
30302 { echo "$as_me:$LINENO: result: no" >&5
30303 echo "${ECHO_T}no" >&6; }
30304 X_LIBS
="$X_LIBS -R$x_libraries"
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.
$ac_ext >&5
30309 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30310 cat >conftest.
$ac_ext <<_ACEOF
30313 cat confdefs.h
>>conftest.
$ac_ext
30314 cat >>conftest.
$ac_ext <<_ACEOF
30315 /* end confdefs.h. */
30325 rm -f conftest.
$ac_objext conftest
$ac_exeext
30326 if { (ac_try
="$ac_link"
30327 case "(($ac_try" in
30328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30329 *) ac_try_echo=$ac_try;;
30331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30332 (eval "$ac_link") 2>conftest.er1
30334 grep -v '^ *+' conftest.er1 >conftest.err
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } && {
30339 test -z "$ac_c_werror_flag" ||
30340 test ! -s conftest.err
30341 } && test -s conftest$ac_exeext &&
30342 $as_test_x conftest$ac_exeext; then
30343 { echo "$as_me:$LINENO: result: yes" >&5
30344 echo "${ECHO_T}yes" >&6; }
30345 X_LIBS="$X_LIBS -R $x_libraries"
30347 echo "$as_me: failed program was:" >&5
30348 sed 's/^/| /' conftest.$ac_ext >&5
30350 { echo "$as_me:$LINENO: result: neither works" >&5
30351 echo "${ECHO_T}neither works" >&6; }
30354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30355 conftest$ac_exeext conftest.$ac_ext
30358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30359 conftest$ac_exeext conftest.$ac_ext
30360 ac_c_werror_flag=$ac_xsave_c_werror_flag
30361 LIBS=$ac_xsave_LIBS
30364 # Check for system-dependent libraries X programs must link with.
30365 # Do this before checking for the system-independent R6 libraries
30366 # (-lICE), since we may need -lsocket or whatever for X linking.
30368 if test "$ISC" = yes; then
30369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30371 # Martyn Johnson says this is needed for Ultrix, if the X
30372 # libraries were built with DECnet support. And Karl Berry says
30373 # the Alpha needs dnet_stub (dnet does not exist).
30374 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30375 cat >conftest.$ac_ext <<_ACEOF
30378 cat confdefs.h >>conftest.$ac_ext
30379 cat >>conftest.$ac_ext <<_ACEOF
30380 /* end confdefs.h. */
30382 /* Override any GCC internal prototype to avoid an error.
30383 Use char because int might match the return type of a GCC
30384 builtin and then its argument prototype would still apply. */
30388 char XOpenDisplay ();
30392 return XOpenDisplay ();
30397 rm -f conftest.$ac_objext conftest$ac_exeext
30398 if { (ac_try="$ac_link"
30399 case "(($ac_try" in
30400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30401 *) ac_try_echo
=$ac_try;;
30403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30404 (eval "$ac_link") 2>conftest.er1
30406 grep -v '^ *+' conftest.er1
>conftest.err
30408 cat conftest.err
>&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } && {
30411 test -z "$ac_c_werror_flag" ||
30412 test ! -s conftest.err
30413 } && test -s conftest
$ac_exeext &&
30414 $as_test_x conftest
$ac_exeext; then
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.
$ac_ext >&5
30420 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30421 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30422 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 ac_check_lib_save_LIBS
=$LIBS
30426 LIBS
="-ldnet $LIBS"
30427 cat >conftest.
$ac_ext <<_ACEOF
30430 cat confdefs.h
>>conftest.
$ac_ext
30431 cat >>conftest.
$ac_ext <<_ACEOF
30432 /* end confdefs.h. */
30434 /* Override any GCC internal prototype to avoid an error.
30435 Use char because int might match the return type of a GCC
30436 builtin and then its argument prototype would still apply. */
30444 return dnet_ntoa ();
30449 rm -f conftest.
$ac_objext conftest
$ac_exeext
30450 if { (ac_try
="$ac_link"
30451 case "(($ac_try" in
30452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30453 *) ac_try_echo=$ac_try;;
30455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30456 (eval "$ac_link") 2>conftest.er1
30458 grep -v '^ *+' conftest.er1 >conftest.err
30460 cat conftest.err >&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); } && {
30463 test -z "$ac_c_werror_flag" ||
30464 test ! -s conftest.err
30465 } && test -s conftest$ac_exeext &&
30466 $as_test_x conftest$ac_exeext; then
30467 ac_cv_lib_dnet_dnet_ntoa=yes
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30472 ac_cv_lib_dnet_dnet_ntoa=no
30475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30476 conftest$ac_exeext conftest.$ac_ext
30477 LIBS=$ac_check_lib_save_LIBS
30479 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30480 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30481 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30482 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30485 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30486 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30487 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30488 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30489 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 ac_check_lib_save_LIBS=$LIBS
30492 LIBS="-ldnet_stub $LIBS"
30493 cat >conftest.$ac_ext <<_ACEOF
30496 cat confdefs.h >>conftest.$ac_ext
30497 cat >>conftest.$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30500 /* Override any GCC internal prototype to avoid an error.
30501 Use char because int might match the return type of a GCC
30502 builtin and then its argument prototype would still apply. */
30510 return dnet_ntoa ();
30515 rm -f conftest.$ac_objext conftest$ac_exeext
30516 if { (ac_try="$ac_link"
30517 case "(($ac_try" in
30518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30519 *) ac_try_echo
=$ac_try;;
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_link") 2>conftest.er1
30524 grep -v '^ *+' conftest.er1
>conftest.err
30526 cat conftest.err
>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } && {
30529 test -z "$ac_c_werror_flag" ||
30530 test ! -s conftest.err
30531 } && test -s conftest
$ac_exeext &&
30532 $as_test_x conftest
$ac_exeext; then
30533 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.
$ac_ext >&5
30538 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30542 conftest
$ac_exeext conftest.
$ac_ext
30543 LIBS
=$ac_check_lib_save_LIBS
30545 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30546 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30547 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30548 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30555 conftest
$ac_exeext conftest.
$ac_ext
30556 LIBS
="$ac_xsave_LIBS"
30558 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30559 # to get the SysV transport functions.
30560 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30562 # The nsl library prevents programs from opening the X display
30563 # on Irix 5.2, according to T.E. Dickey.
30564 # The functions gethostbyname, getservbyname, and inet_addr are
30565 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30566 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30567 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30568 if test "${ac_cv_func_gethostbyname+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 cat >conftest.
$ac_ext <<_ACEOF
30574 cat confdefs.h
>>conftest.
$ac_ext
30575 cat >>conftest.
$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30577 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30579 #define gethostbyname innocuous_gethostbyname
30581 /* System header to define __stub macros and hopefully few prototypes,
30582 which can conflict with char gethostbyname (); below.
30583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30584 <limits.h> exists even on freestanding compilers. */
30587 # include <limits.h>
30589 # include <assert.h>
30592 #undef gethostbyname
30594 /* Override any GCC internal prototype to avoid an error.
30595 Use char because int might match the return type of a GCC
30596 builtin and then its argument prototype would still apply. */
30600 char gethostbyname ();
30601 /* The GNU C library defines this for functions which it implements
30602 to always fail with ENOSYS. Some functions are actually named
30603 something starting with __ and the normal name is an alias. */
30604 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30611 return gethostbyname ();
30616 rm -f conftest.
$ac_objext conftest
$ac_exeext
30617 if { (ac_try
="$ac_link"
30618 case "(($ac_try" in
30619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30620 *) ac_try_echo=$ac_try;;
30622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30623 (eval "$ac_link") 2>conftest.er1
30625 grep -v '^ *+' conftest.er1 >conftest.err
30627 cat conftest.err >&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); } && {
30630 test -z "$ac_c_werror_flag" ||
30631 test ! -s conftest.err
30632 } && test -s conftest$ac_exeext &&
30633 $as_test_x conftest$ac_exeext; then
30634 ac_cv_func_gethostbyname=yes
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30639 ac_cv_func_gethostbyname=no
30642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30643 conftest$ac_exeext conftest.$ac_ext
30645 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30646 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30648 if test $ac_cv_func_gethostbyname = no; then
30649 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30650 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30651 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30652 echo $ECHO_N "(cached) $ECHO_C" >&6
30654 ac_check_lib_save_LIBS=$LIBS
30656 cat >conftest.$ac_ext <<_ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30663 /* Override any GCC internal prototype to avoid an error.
30664 Use char because int might match the return type of a GCC
30665 builtin and then its argument prototype would still apply. */
30669 char gethostbyname ();
30673 return gethostbyname ();
30678 rm -f conftest.$ac_objext conftest$ac_exeext
30679 if { (ac_try="$ac_link"
30680 case "(($ac_try" in
30681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30682 *) ac_try_echo
=$ac_try;;
30684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30685 (eval "$ac_link") 2>conftest.er1
30687 grep -v '^ *+' conftest.er1
>conftest.err
30689 cat conftest.err
>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } && {
30692 test -z "$ac_c_werror_flag" ||
30693 test ! -s conftest.err
30694 } && test -s conftest
$ac_exeext &&
30695 $as_test_x conftest
$ac_exeext; then
30696 ac_cv_lib_nsl_gethostbyname
=yes
30698 echo "$as_me: failed program was:" >&5
30699 sed 's/^/| /' conftest.
$ac_ext >&5
30701 ac_cv_lib_nsl_gethostbyname
=no
30704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30705 conftest
$ac_exeext conftest.
$ac_ext
30706 LIBS
=$ac_check_lib_save_LIBS
30708 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30709 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30710 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30711 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30714 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30715 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30716 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30717 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30718 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 ac_check_lib_save_LIBS
=$LIBS
30722 cat >conftest.
$ac_ext <<_ACEOF
30725 cat confdefs.h
>>conftest.
$ac_ext
30726 cat >>conftest.
$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30729 /* Override any GCC internal prototype to avoid an error.
30730 Use char because int might match the return type of a GCC
30731 builtin and then its argument prototype would still apply. */
30735 char gethostbyname ();
30739 return gethostbyname ();
30744 rm -f conftest.
$ac_objext conftest
$ac_exeext
30745 if { (ac_try
="$ac_link"
30746 case "(($ac_try" in
30747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30748 *) ac_try_echo=$ac_try;;
30750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30751 (eval "$ac_link") 2>conftest.er1
30753 grep -v '^ *+' conftest.er1 >conftest.err
30755 cat conftest.err >&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); } && {
30758 test -z "$ac_c_werror_flag" ||
30759 test ! -s conftest.err
30760 } && test -s conftest$ac_exeext &&
30761 $as_test_x conftest$ac_exeext; then
30762 ac_cv_lib_bsd_gethostbyname=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30767 ac_cv_lib_bsd_gethostbyname=no
30770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30771 conftest$ac_exeext conftest.$ac_ext
30772 LIBS=$ac_check_lib_save_LIBS
30774 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30775 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30776 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30783 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30784 # socket/setsockopt and other routines are undefined under SCO ODT
30785 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30786 # on later versions), says Simon Leinen: it contains gethostby*
30787 # variants that don't use the name server (or something). -lsocket
30788 # must be given before -lnsl if both are needed. We assume that
30789 # if connect needs -lnsl, so does gethostbyname.
30790 { echo "$as_me:$LINENO: checking for connect" >&5
30791 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30792 if test "${ac_cv_func_connect+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 cat >conftest.$ac_ext <<_ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30801 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30803 #define connect innocuous_connect
30805 /* System header to define __stub macros and hopefully few prototypes,
30806 which can conflict with char connect (); below.
30807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30808 <limits.h> exists even on freestanding compilers. */
30811 # include <limits.h>
30813 # include <assert.h>
30818 /* Override any GCC internal prototype to avoid an error.
30819 Use char because int might match the return type of a GCC
30820 builtin and then its argument prototype would still apply. */
30825 /* The GNU C library defines this for functions which it implements
30826 to always fail with ENOSYS. Some functions are actually named
30827 something starting with __ and the normal name is an alias. */
30828 #if defined __stub_connect || defined __stub___connect
30840 rm -f conftest.$ac_objext conftest$ac_exeext
30841 if { (ac_try="$ac_link"
30842 case "(($ac_try" in
30843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30844 *) ac_try_echo
=$ac_try;;
30846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30847 (eval "$ac_link") 2>conftest.er1
30849 grep -v '^ *+' conftest.er1
>conftest.err
30851 cat conftest.err
>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } && {
30854 test -z "$ac_c_werror_flag" ||
30855 test ! -s conftest.err
30856 } && test -s conftest
$ac_exeext &&
30857 $as_test_x conftest
$ac_exeext; then
30858 ac_cv_func_connect
=yes
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.
$ac_ext >&5
30863 ac_cv_func_connect
=no
30866 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30867 conftest
$ac_exeext conftest.
$ac_ext
30869 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30870 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30872 if test $ac_cv_func_connect = no
; then
30873 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30875 if test "${ac_cv_lib_socket_connect+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 ac_check_lib_save_LIBS
=$LIBS
30879 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30880 cat >conftest.
$ac_ext <<_ACEOF
30883 cat confdefs.h
>>conftest.
$ac_ext
30884 cat >>conftest.
$ac_ext <<_ACEOF
30885 /* end confdefs.h. */
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30902 rm -f conftest.
$ac_objext conftest
$ac_exeext
30903 if { (ac_try
="$ac_link"
30904 case "(($ac_try" in
30905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30906 *) ac_try_echo=$ac_try;;
30908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30909 (eval "$ac_link") 2>conftest.er1
30911 grep -v '^ *+' conftest.er1 >conftest.err
30913 cat conftest.err >&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } && {
30916 test -z "$ac_c_werror_flag" ||
30917 test ! -s conftest.err
30918 } && test -s conftest$ac_exeext &&
30919 $as_test_x conftest$ac_exeext; then
30920 ac_cv_lib_socket_connect=yes
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30925 ac_cv_lib_socket_connect=no
30928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30929 conftest$ac_exeext conftest.$ac_ext
30930 LIBS=$ac_check_lib_save_LIBS
30932 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30933 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30934 if test $ac_cv_lib_socket_connect = yes; then
30935 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30940 # Guillermo Gomez says -lposix is necessary on A/UX.
30941 { echo "$as_me:$LINENO: checking for remove" >&5
30942 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30943 if test "${ac_cv_func_remove+set}" = set; then
30944 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 cat >conftest.$ac_ext <<_ACEOF
30949 cat confdefs.h >>conftest.$ac_ext
30950 cat >>conftest.$ac_ext <<_ACEOF
30951 /* end confdefs.h. */
30952 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30954 #define remove innocuous_remove
30956 /* System header to define __stub macros and hopefully few prototypes,
30957 which can conflict with char remove (); below.
30958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30959 <limits.h> exists even on freestanding compilers. */
30962 # include <limits.h>
30964 # include <assert.h>
30969 /* Override any GCC internal prototype to avoid an error.
30970 Use char because int might match the return type of a GCC
30971 builtin and then its argument prototype would still apply. */
30976 /* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979 #if defined __stub_remove || defined __stub___remove
30991 rm -f conftest.$ac_objext conftest$ac_exeext
30992 if { (ac_try="$ac_link"
30993 case "(($ac_try" in
30994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30995 *) ac_try_echo
=$ac_try;;
30997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30998 (eval "$ac_link") 2>conftest.er1
31000 grep -v '^ *+' conftest.er1
>conftest.err
31002 cat conftest.err
>&5
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); } && {
31005 test -z "$ac_c_werror_flag" ||
31006 test ! -s conftest.err
31007 } && test -s conftest
$ac_exeext &&
31008 $as_test_x conftest
$ac_exeext; then
31009 ac_cv_func_remove
=yes
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31014 ac_cv_func_remove
=no
31017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31018 conftest
$ac_exeext conftest.
$ac_ext
31020 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31021 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31023 if test $ac_cv_func_remove = no
; then
31024 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31025 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31026 if test "${ac_cv_lib_posix_remove+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31029 ac_check_lib_save_LIBS
=$LIBS
31030 LIBS
="-lposix $LIBS"
31031 cat >conftest.
$ac_ext <<_ACEOF
31034 cat confdefs.h
>>conftest.
$ac_ext
31035 cat >>conftest.
$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31038 /* Override any GCC internal prototype to avoid an error.
31039 Use char because int might match the return type of a GCC
31040 builtin and then its argument prototype would still apply. */
31053 rm -f conftest.
$ac_objext conftest
$ac_exeext
31054 if { (ac_try
="$ac_link"
31055 case "(($ac_try" in
31056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31057 *) ac_try_echo=$ac_try;;
31059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31060 (eval "$ac_link") 2>conftest.er1
31062 grep -v '^ *+' conftest.er1 >conftest.err
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } && {
31067 test -z "$ac_c_werror_flag" ||
31068 test ! -s conftest.err
31069 } && test -s conftest$ac_exeext &&
31070 $as_test_x conftest$ac_exeext; then
31071 ac_cv_lib_posix_remove=yes
31073 echo "$as_me: failed program was:" >&5
31074 sed 's/^/| /' conftest.$ac_ext >&5
31076 ac_cv_lib_posix_remove=no
31079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31080 conftest$ac_exeext conftest.$ac_ext
31081 LIBS=$ac_check_lib_save_LIBS
31083 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31084 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31085 if test $ac_cv_lib_posix_remove = yes; then
31086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31091 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31092 { echo "$as_me:$LINENO: checking for shmat" >&5
31093 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31094 if test "${ac_cv_func_shmat+set}" = set; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 cat >conftest.$ac_ext <<_ACEOF
31100 cat confdefs.h >>conftest.$ac_ext
31101 cat >>conftest.$ac_ext <<_ACEOF
31102 /* end confdefs.h. */
31103 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31105 #define shmat innocuous_shmat
31107 /* System header to define __stub macros and hopefully few prototypes,
31108 which can conflict with char shmat (); below.
31109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31110 <limits.h> exists even on freestanding compilers. */
31113 # include <limits.h>
31115 # include <assert.h>
31120 /* Override any GCC internal prototype to avoid an error.
31121 Use char because int might match the return type of a GCC
31122 builtin and then its argument prototype would still apply. */
31127 /* The GNU C library defines this for functions which it implements
31128 to always fail with ENOSYS. Some functions are actually named
31129 something starting with __ and the normal name is an alias. */
31130 #if defined __stub_shmat || defined __stub___shmat
31142 rm -f conftest.$ac_objext conftest$ac_exeext
31143 if { (ac_try="$ac_link"
31144 case "(($ac_try" in
31145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31146 *) ac_try_echo
=$ac_try;;
31148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31149 (eval "$ac_link") 2>conftest.er1
31151 grep -v '^ *+' conftest.er1
>conftest.err
31153 cat conftest.err
>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } && {
31156 test -z "$ac_c_werror_flag" ||
31157 test ! -s conftest.err
31158 } && test -s conftest
$ac_exeext &&
31159 $as_test_x conftest
$ac_exeext; then
31160 ac_cv_func_shmat
=yes
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.
$ac_ext >&5
31165 ac_cv_func_shmat
=no
31168 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31169 conftest
$ac_exeext conftest.
$ac_ext
31171 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31172 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31174 if test $ac_cv_func_shmat = no
; then
31175 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31176 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31177 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 ac_check_lib_save_LIBS
=$LIBS
31182 cat >conftest.
$ac_ext <<_ACEOF
31185 cat confdefs.h
>>conftest.
$ac_ext
31186 cat >>conftest.
$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 /* Override any GCC internal prototype to avoid an error.
31190 Use char because int might match the return type of a GCC
31191 builtin and then its argument prototype would still apply. */
31204 rm -f conftest.
$ac_objext conftest
$ac_exeext
31205 if { (ac_try
="$ac_link"
31206 case "(($ac_try" in
31207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31208 *) ac_try_echo=$ac_try;;
31210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31211 (eval "$ac_link") 2>conftest.er1
31213 grep -v '^ *+' conftest.er1 >conftest.err
31215 cat conftest.err >&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } && {
31218 test -z "$ac_c_werror_flag" ||
31219 test ! -s conftest.err
31220 } && test -s conftest$ac_exeext &&
31221 $as_test_x conftest$ac_exeext; then
31222 ac_cv_lib_ipc_shmat=yes
31224 echo "$as_me: failed program was:" >&5
31225 sed 's/^/| /' conftest.$ac_ext >&5
31227 ac_cv_lib_ipc_shmat=no
31230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31231 conftest$ac_exeext conftest.$ac_ext
31232 LIBS=$ac_check_lib_save_LIBS
31234 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31235 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31236 if test $ac_cv_lib_ipc_shmat = yes; then
31237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31243 # Check for libraries that X11R6 Xt/Xaw programs need.
31244 ac_save_LDFLAGS=$LDFLAGS
31245 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31246 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31247 # check for ICE first), but we must link in the order -lSM -lICE or
31248 # we get undefined symbols. So assume we have SM if we have ICE.
31249 # These have to be linked with before -lX11, unlike the other
31250 # libraries we check for below, so use a different variable.
31251 # John Interrante, Karl Berry
31252 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31253 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31254 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31257 ac_check_lib_save_LIBS=$LIBS
31258 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31259 cat >conftest.$ac_ext <<_ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31266 /* Override any GCC internal prototype to avoid an error.
31267 Use char because int might match the return type of a GCC
31268 builtin and then its argument prototype would still apply. */
31272 char IceConnectionNumber ();
31276 return IceConnectionNumber ();
31281 rm -f conftest.$ac_objext conftest$ac_exeext
31282 if { (ac_try="$ac_link"
31283 case "(($ac_try" in
31284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31285 *) ac_try_echo
=$ac_try;;
31287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31288 (eval "$ac_link") 2>conftest.er1
31290 grep -v '^ *+' conftest.er1
>conftest.err
31292 cat conftest.err
>&5
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); } && {
31295 test -z "$ac_c_werror_flag" ||
31296 test ! -s conftest.err
31297 } && test -s conftest
$ac_exeext &&
31298 $as_test_x conftest
$ac_exeext; then
31299 ac_cv_lib_ICE_IceConnectionNumber
=yes
31301 echo "$as_me: failed program was:" >&5
31302 sed 's/^/| /' conftest.
$ac_ext >&5
31304 ac_cv_lib_ICE_IceConnectionNumber
=no
31307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31308 conftest
$ac_exeext conftest.
$ac_ext
31309 LIBS
=$ac_check_lib_save_LIBS
31311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31312 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31313 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31314 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31317 LDFLAGS
=$ac_save_LDFLAGS
31322 if test "$no_x" = "yes"; then
31323 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31324 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31325 { (exit 1); exit 1; }; }
31328 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31329 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31330 AFMINSTALL
=afminstall
31331 COMPILED_X_PROGRAM
=0
31335 if test "$wxUSE_X11" = 1; then
31336 if test "$wxUSE_NANOX" = "yes"; then
31337 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31338 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31339 if test "x$MICROWIN" = x
; then
31340 { echo "$as_me:$LINENO: result: not found" >&5
31341 echo "${ECHO_T}not found" >&6; }
31342 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31343 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31344 { (exit 1); exit 1; }; }
31346 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31347 echo "${ECHO_T}$MICROWIN" >&6; }
31348 cat >>confdefs.h
<<\_ACEOF
31349 #define wxUSE_NANOX 1
31355 if test "$wxUSE_UNICODE" = "yes"; then
31358 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31359 if test -n "$ac_tool_prefix"; then
31360 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31361 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31364 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31365 echo $ECHO_N "(cached) $ECHO_C" >&6
31367 case $PKG_CONFIG in
31369 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31373 for as_dir
in $PATH
31376 test -z "$as_dir" && as_dir
=.
31377 for ac_exec_ext
in '' $ac_executable_extensions; do
31378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31379 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31390 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31391 if test -n "$PKG_CONFIG"; then
31392 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31393 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31395 { echo "$as_me:$LINENO: result: no" >&5
31396 echo "${ECHO_T}no" >&6; }
31401 if test -z "$ac_cv_path_PKG_CONFIG"; then
31402 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31403 # Extract the first word of "pkg-config", so it can be a program name with args.
31404 set dummy pkg
-config; ac_word
=$2
31405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31407 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 case $ac_pt_PKG_CONFIG in
31412 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31416 for as_dir
in $PATH
31419 test -z "$as_dir" && as_dir
=.
31420 for ac_exec_ext
in '' $ac_executable_extensions; do
31421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31422 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31433 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31434 if test -n "$ac_pt_PKG_CONFIG"; then
31435 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31436 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31438 { echo "$as_me:$LINENO: result: no" >&5
31439 echo "${ECHO_T}no" >&6; }
31442 if test "x$ac_pt_PKG_CONFIG" = x
; then
31445 case $cross_compiling:$ac_tool_warned in
31447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31448 whose name does not start with the host triplet. If you think this
31449 configuration is useful to you, please write to autoconf@gnu.org." >&5
31450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31451 whose name does not start with the host triplet. If you think this
31452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31453 ac_tool_warned
=yes ;;
31455 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31458 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31462 if test -n "$PKG_CONFIG"; then
31463 _pkg_min_version
=0.9.0
31464 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31465 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31466 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31467 { echo "$as_me:$LINENO: result: yes" >&5
31468 echo "${ECHO_T}yes" >&6; }
31470 { echo "$as_me:$LINENO: result: no" >&5
31471 echo "${ECHO_T}no" >&6; }
31479 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31480 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31482 if test -n "$PKG_CONFIG"; then
31483 if test -n "$PANGOX_CFLAGS"; then
31484 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31486 if test -n "$PKG_CONFIG" && \
31487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31488 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; then
31492 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31500 if test -n "$PKG_CONFIG"; then
31501 if test -n "$PANGOX_LIBS"; then
31502 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31504 if test -n "$PKG_CONFIG" && \
31505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31506 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; then
31510 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31521 if test $pkg_failed = yes; then
31523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31524 _pkg_short_errors_supported
=yes
31526 _pkg_short_errors_supported
=no
31528 if test $_pkg_short_errors_supported = yes; then
31529 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31531 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31533 # Put the nasty error message in config.log where it belongs
31534 echo "$PANGOX_PKG_ERRORS" >&5
31537 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31538 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31539 { (exit 1); exit 1; }; }
31542 elif test $pkg_failed = untried
; then
31544 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31545 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31546 { (exit 1); exit 1; }; }
31550 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31551 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31552 { echo "$as_me:$LINENO: result: yes" >&5
31553 echo "${ECHO_T}yes" >&6; }
31555 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31556 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31557 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31562 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31563 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31565 if test -n "$PKG_CONFIG"; then
31566 if test -n "$PANGOFT2_CFLAGS"; then
31567 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31569 if test -n "$PKG_CONFIG" && \
31570 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31571 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; then
31575 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31583 if test -n "$PKG_CONFIG"; then
31584 if test -n "$PANGOFT2_LIBS"; then
31585 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31587 if test -n "$PKG_CONFIG" && \
31588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31589 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; then
31593 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31604 if test $pkg_failed = yes; then
31606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31607 _pkg_short_errors_supported
=yes
31609 _pkg_short_errors_supported
=no
31611 if test $_pkg_short_errors_supported = yes; then
31612 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31614 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31616 # Put the nasty error message in config.log where it belongs
31617 echo "$PANGOFT2_PKG_ERRORS" >&5
31620 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31621 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31622 wxUSE_PRINTING_ARCHITECTURE
="no"
31625 elif test $pkg_failed = untried
; then
31627 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31628 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31629 wxUSE_PRINTING_ARCHITECTURE
="no"
31633 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31634 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31635 { echo "$as_me:$LINENO: result: yes" >&5
31636 echo "${ECHO_T}yes" >&6; }
31638 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31639 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31645 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31646 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31648 if test -n "$PKG_CONFIG"; then
31649 if test -n "$PANGOXFT_CFLAGS"; then
31650 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31652 if test -n "$PKG_CONFIG" && \
31653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31654 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); }; then
31658 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31666 if test -n "$PKG_CONFIG"; then
31667 if test -n "$PANGOXFT_LIBS"; then
31668 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31670 if test -n "$PKG_CONFIG" && \
31671 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31672 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); }; then
31676 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31687 if test $pkg_failed = yes; then
31689 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31690 _pkg_short_errors_supported
=yes
31692 _pkg_short_errors_supported
=no
31694 if test $_pkg_short_errors_supported = yes; then
31695 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31697 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31699 # Put the nasty error message in config.log where it belongs
31700 echo "$PANGOXFT_PKG_ERRORS" >&5
31703 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31704 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31707 elif test $pkg_failed = untried
; then
31709 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31710 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31714 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31715 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31716 { echo "$as_me:$LINENO: result: yes" >&5
31717 echo "${ECHO_T}yes" >&6; }
31719 cat >>confdefs.h
<<\_ACEOF
31720 #define HAVE_PANGO_XFT 1
31723 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31724 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31725 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31729 LIBS
="$LIBS $PANGOX_LIBS"
31731 for ac_func
in pango_font_family_is_monospace
31733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31736 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31737 echo $ECHO_N "(cached) $ECHO_C" >&6
31739 cat >conftest.
$ac_ext <<_ACEOF
31742 cat confdefs.h
>>conftest.
$ac_ext
31743 cat >>conftest.
$ac_ext <<_ACEOF
31744 /* end confdefs.h. */
31745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31747 #define $ac_func innocuous_$ac_func
31749 /* System header to define __stub macros and hopefully few prototypes,
31750 which can conflict with char $ac_func (); below.
31751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31752 <limits.h> exists even on freestanding compilers. */
31755 # include <limits.h>
31757 # include <assert.h>
31762 /* Override any GCC internal prototype to avoid an error.
31763 Use char because int might match the return type of a GCC
31764 builtin and then its argument prototype would still apply. */
31769 /* The GNU C library defines this for functions which it implements
31770 to always fail with ENOSYS. Some functions are actually named
31771 something starting with __ and the normal name is an alias. */
31772 #if defined __stub_$ac_func || defined __stub___$ac_func
31779 return $ac_func ();
31784 rm -f conftest.
$ac_objext conftest
$ac_exeext
31785 if { (ac_try
="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 eval "$as_ac_var=yes"
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31807 eval "$as_ac_var=no"
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31813 ac_res=`eval echo '${'$as_ac_var'}'`
31814 { echo "$as_me:$LINENO: result: $ac_res" >&5
31815 echo "${ECHO_T}$ac_res" >&6; }
31816 if test `eval echo '${'$as_ac_var'}'` = yes; then
31817 cat >>confdefs.h <<_ACEOF
31818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31827 wxUSE_UNIVERSAL="yes"
31829 if test "$wxUSE_NANOX" = "yes"; then
31830 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31831 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"
31832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31841 if test "$wxUSE_MOTIF" = 1; then
31842 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31843 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31846 for ac_dir in $SEARCH_INCLUDE /usr/include;
31848 if test -f "$ac_dir/Xm/Xm.h"; then
31849 ac_find_includes=$ac_dir
31854 if test "$ac_find_includes" != "" ; then
31855 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31856 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31858 if test "x$ac_find_includes" = "x/usr/include"; then
31859 ac_path_to_include=""
31861 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31863 if test $result = 0; then
31864 ac_path_to_include=""
31866 ac_path_to_include=" -I$ac_find_includes"
31870 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31872 save_CFLAGS=$CFLAGS
31873 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31875 cat >conftest.$ac_ext <<_ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31889 version = xmUseVersion;
31895 rm -f conftest.$ac_objext
31896 if { (ac_try="$ac_compile"
31897 case "(($ac_try" in
31898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31899 *) ac_try_echo
=$ac_try;;
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_compile") 2>conftest.er1
31904 grep -v '^ *+' conftest.er1
>conftest.err
31906 cat conftest.err
>&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); } && {
31909 test -z "$ac_c_werror_flag" ||
31910 test ! -s conftest.err
31911 } && test -s conftest.
$ac_objext; then
31913 { echo "$as_me:$LINENO: result: found in default search path" >&5
31914 echo "${ECHO_T}found in default search path" >&6; }
31915 COMPILED_X_PROGRAM
=1
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.
$ac_ext >&5
31922 { echo "$as_me:$LINENO: result: no" >&5
31923 echo "${ECHO_T}no" >&6; }
31924 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31925 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31926 { (exit 1); exit 1; }; }
31931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31933 CFLAGS
=$save_CFLAGS
31937 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31938 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31941 for ac_dir
in $SEARCH_LIB;
31943 for ac_extension
in a so sl dylib dll.a
; do
31944 if test -f "$ac_dir/libXm.$ac_extension"; then
31945 ac_find_libraries
=$ac_dir
31952 if test "x$ac_find_libraries" != "x" ; then
31953 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31954 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31957 if test "$ac_find_libraries" = "default location"; then
31960 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31962 if test $result = 0; then
31965 ac_path_to_link
=" -L$ac_find_libraries"
31969 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31971 save_CFLAGS
=$CFLAGS
31972 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31974 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31976 cat >conftest.
$ac_ext <<_ACEOF
31979 cat confdefs.h
>>conftest.
$ac_ext
31980 cat >>conftest.
$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31990 version = xmUseVersion;
31996 rm -f conftest.
$ac_objext conftest
$ac_exeext
31997 if { (ac_try
="$ac_link"
31998 case "(($ac_try" in
31999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32000 *) ac_try_echo=$ac_try;;
32002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32003 (eval "$ac_link") 2>conftest.er1
32005 grep -v '^ *+' conftest.er1 >conftest.err
32007 cat conftest.err >&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); } && {
32010 test -z "$ac_c_werror_flag" ||
32011 test ! -s conftest.err
32012 } && test -s conftest$ac_exeext &&
32013 $as_test_x conftest$ac_exeext; then
32015 { echo "$as_me:$LINENO: result: found in default search path" >&5
32016 echo "${ECHO_T}found in default search path" >&6; }
32017 COMPILED_X_PROGRAM=1
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32024 { echo "$as_me:$LINENO: result: no" >&5
32025 echo "${ECHO_T}no" >&6; }
32026 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32027 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32028 { (exit 1); exit 1; }; }
32033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32034 conftest$ac_exeext conftest.$ac_ext
32036 CFLAGS=$save_CFLAGS
32040 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32041 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32045 for libp in "" " -lXp"; do
32046 if test "$libs_found" = 0; then
32047 for libsm_ice in "" " -lSM -lICE"; do
32048 if test "$libs_found" = 0; then
32050 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32051 save_CFLAGS=$CFLAGS
32052 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32054 cat >conftest.$ac_ext <<_ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32062 #include <Xm/List.h>
32068 XmString string = NULL;
32071 XmListAddItem(w, string, position);
32077 rm -f conftest.$ac_objext conftest$ac_exeext
32078 if { (ac_try="$ac_link"
32079 case "(($ac_try" in
32080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32081 *) ac_try_echo
=$ac_try;;
32083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32084 (eval "$ac_link") 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } && {
32091 test -z "$ac_c_werror_flag" ||
32092 test ! -s conftest.err
32093 } && test -s conftest
$ac_exeext &&
32094 $as_test_x conftest
$ac_exeext; then
32097 libsm_ice_link
="$libsm_ice"
32098 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32099 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.
$ac_ext >&5
32110 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32111 conftest
$ac_exeext conftest.
$ac_ext
32114 CFLAGS
=$save_CFLAGS
32120 if test "$libs_found" = 0; then
32121 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32122 echo "${ECHO_T}can't find the right libraries" >&6; }
32123 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32124 echo "$as_me: error: can't link a simple motif program" >&2;}
32125 { (exit 1); exit 1; }; }
32128 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32129 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32130 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32131 echo $ECHO_N "(cached) $ECHO_C" >&6
32133 ac_check_lib_save_LIBS
=$LIBS
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32142 /* Override any GCC internal prototype to avoid an error.
32143 Use char because int might match the return type of a GCC
32144 builtin and then its argument prototype would still apply. */
32148 char SgCreateList ();
32152 return SgCreateList ();
32157 rm -f conftest.
$ac_objext conftest
$ac_exeext
32158 if { (ac_try
="$ac_link"
32159 case "(($ac_try" in
32160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32161 *) ac_try_echo=$ac_try;;
32163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32164 (eval "$ac_link") 2>conftest.er1
32166 grep -v '^ *+' conftest.er1 >conftest.err
32168 cat conftest.err >&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); } && {
32171 test -z "$ac_c_werror_flag" ||
32172 test ! -s conftest.err
32173 } && test -s conftest$ac_exeext &&
32174 $as_test_x conftest$ac_exeext; then
32175 ac_cv_lib_Sgm_SgCreateList=yes
32177 echo "$as_me: failed program was:" >&5
32178 sed 's/^/| /' conftest.$ac_ext >&5
32180 ac_cv_lib_Sgm_SgCreateList=no
32183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32184 conftest$ac_exeext conftest.$ac_ext
32185 LIBS=$ac_check_lib_save_LIBS
32187 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32188 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32189 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32190 libsgm_link=" -lSgm"
32194 save_CFLAGS=$CFLAGS
32195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32197 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32198 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32199 if test "${wx_cv_lib_motif2+set}" = set; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 cat >conftest.$ac_ext <<_ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32215 #if XmVersion < 2000
32223 rm -f conftest.$ac_objext
32224 if { (ac_try="$ac_compile"
32225 case "(($ac_try" in
32226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32227 *) ac_try_echo
=$ac_try;;
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_compile") 2>conftest.er1
32232 grep -v '^ *+' conftest.er1
>conftest.err
32234 cat conftest.err
>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } && {
32237 test -z "$ac_c_werror_flag" ||
32238 test ! -s conftest.err
32239 } && test -s conftest.
$ac_objext; then
32240 wx_cv_lib_motif2
="yes"
32242 echo "$as_me: failed program was:" >&5
32243 sed 's/^/| /' conftest.
$ac_ext >&5
32245 wx_cv_lib_motif2
="no"
32248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32250 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32251 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32252 if test "$wx_cv_lib_motif2" = "yes"; then
32253 cat >>confdefs.h
<<\_ACEOF
32254 #define __WXMOTIF20__ 1
32258 cat >>confdefs.h
<<\_ACEOF
32259 #define __WXMOTIF20__ 0
32264 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32265 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32266 if test "${wx_cv_lib_lesstif+set}" = set; then
32267 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 cat >conftest.
$ac_ext <<_ACEOF
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32282 #if !defined(LesstifVersion) || LesstifVersion <= 0
32290 rm -f conftest.
$ac_objext
32291 if { (ac_try
="$ac_compile"
32292 case "(($ac_try" in
32293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32294 *) ac_try_echo=$ac_try;;
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_compile") 2>conftest.er1
32299 grep -v '^ *+' conftest.er1 >conftest.err
32301 cat conftest.err >&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } && {
32304 test -z "$ac_c_werror_flag" ||
32305 test ! -s conftest.err
32306 } && test -s conftest.$ac_objext; then
32307 wx_cv_lib_lesstif="yes"
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32312 wx_cv_lib_lesstif="no"
32315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32318 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32319 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32320 if test "$wx_cv_lib_lesstif" = "yes"; then
32321 cat >>confdefs.h <<\_ACEOF
32322 #define __WXLESSTIF__ 1
32326 cat >>confdefs.h <<\_ACEOF
32327 #define __WXLESSTIF__ 0
32332 CFLAGS=$save_CFLAGS
32334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32339 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32340 if test "$wxUSE_LIBXPM" = "sys"; then
32341 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32342 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32345 for ac_dir in $SEARCH_LIB;
32347 for ac_extension in a so sl dylib dll.a; do
32348 if test -f "$ac_dir/libXpm.$ac_extension"; then
32349 ac_find_libraries=$ac_dir
32355 if test "$ac_find_libraries" != "" ; then
32357 if test "$ac_find_libraries" = "default location"; then
32360 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32362 if test $result = 0; then
32365 ac_path_to_link=" -L$ac_find_libraries"
32369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32370 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32371 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32373 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32374 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32375 if test "${wx_cv_x11_xpm_h+set}" = set; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 save_CFLAGS=$CFLAGS
32380 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32382 cat >conftest.$ac_ext <<_ACEOF
32385 cat confdefs.h >>conftest.$ac_ext
32386 cat >>conftest.$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32389 #include <X11/xpm.h>
32396 version = XpmLibraryVersion();
32402 rm -f conftest.$ac_objext
32403 if { (ac_try="$ac_compile"
32404 case "(($ac_try" in
32405 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32406 *) ac_try_echo
=$ac_try;;
32408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32409 (eval "$ac_compile") 2>conftest.er1
32411 grep -v '^ *+' conftest.er1
>conftest.err
32413 cat conftest.err
>&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } && {
32416 test -z "$ac_c_werror_flag" ||
32417 test ! -s conftest.err
32418 } && test -s conftest.
$ac_objext; then
32419 wx_cv_x11_xpm_h
=yes
32421 echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.
$ac_ext >&5
32428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32430 CFLAGS
=$save_CFLAGS
32434 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32435 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32437 if test $wx_cv_x11_xpm_h = "yes"; then
32438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32439 cat >>confdefs.h
<<\_ACEOF
32440 #define wxHAVE_LIB_XPM 1
32444 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32445 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32451 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32452 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32453 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32454 echo $ECHO_N "(cached) $ECHO_C" >&6
32456 ac_check_lib_save_LIBS
=$LIBS
32457 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32458 cat >conftest.
$ac_ext <<_ACEOF
32461 cat confdefs.h
>>conftest.
$ac_ext
32462 cat >>conftest.
$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32465 /* Override any GCC internal prototype to avoid an error.
32466 Use char because int might match the return type of a GCC
32467 builtin and then its argument prototype would still apply. */
32471 char XShapeQueryExtension ();
32475 return XShapeQueryExtension ();
32480 rm -f conftest.
$ac_objext conftest
$ac_exeext
32481 if { (ac_try
="$ac_link"
32482 case "(($ac_try" in
32483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32484 *) ac_try_echo=$ac_try;;
32486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32487 (eval "$ac_link") 2>conftest.er1
32489 grep -v '^ *+' conftest.er1 >conftest.err
32491 cat conftest.err >&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); } && {
32494 test -z "$ac_c_werror_flag" ||
32495 test ! -s conftest.err
32496 } && test -s conftest$ac_exeext &&
32497 $as_test_x conftest$ac_exeext; then
32498 ac_cv_lib_Xext_XShapeQueryExtension=yes
32500 echo "$as_me: failed program was:" >&5
32501 sed 's/^/| /' conftest.$ac_ext >&5
32503 ac_cv_lib_Xext_XShapeQueryExtension=no
32506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32507 conftest$ac_exeext conftest.$ac_ext
32508 LIBS=$ac_check_lib_save_LIBS
32510 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32511 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32512 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32520 if test "$wxHAVE_XEXT_LIB" = 1; then
32521 save_CFLAGS="$CFLAGS"
32522 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32524 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32525 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32526 cat >conftest.$ac_ext <<_ACEOF
32529 cat confdefs.h >>conftest.$ac_ext
32530 cat >>conftest.$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32533 #include <X11/Xlib.h>
32534 #include <X11/extensions/shape.h>
32540 int dummy1, dummy2;
32541 XShapeQueryExtension((Display*)NULL,
32542 (int*)NULL, (int*)NULL);
32548 rm -f conftest.$ac_objext
32549 if { (ac_try="$ac_compile"
32550 case "(($ac_try" in
32551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32552 *) ac_try_echo
=$ac_try;;
32554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32555 (eval "$ac_compile") 2>conftest.er1
32557 grep -v '^ *+' conftest.er1
>conftest.err
32559 cat conftest.err
>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); } && {
32562 test -z "$ac_c_werror_flag" ||
32563 test ! -s conftest.err
32564 } && test -s conftest.
$ac_objext; then
32566 cat >>confdefs.h
<<\_ACEOF
32567 #define HAVE_XSHAPE 1
32570 { echo "$as_me:$LINENO: result: found" >&5
32571 echo "${ECHO_T}found" >&6; }
32574 echo "$as_me: failed program was:" >&5
32575 sed 's/^/| /' conftest.
$ac_ext >&5
32578 { echo "$as_me:$LINENO: result: not found" >&5
32579 echo "${ECHO_T}not found" >&6; }
32583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32584 CFLAGS
="$save_CFLAGS"
32589 if test "$wxUSE_OSX_CARBON" = 1; then
32590 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32591 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32592 if test "$GCC" = yes; then
32593 { echo "$as_me:$LINENO: result: gcc" >&5
32594 echo "${ECHO_T}gcc" >&6; }
32595 CPPFLAGS_PASCAL
="-fpascal-strings"
32596 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32597 { echo "$as_me:$LINENO: result: xlc" >&5
32598 echo "${ECHO_T}xlc" >&6; }
32599 CPPFLAGS_PASCAL
="-qmacpstr"
32601 { echo "$as_me:$LINENO: result: none" >&5
32602 echo "${ECHO_T}none" >&6; }
32605 if test "x$wxUSE_UNIX" = "xyes"; then
32606 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32608 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32612 GUIDIST
=OSX_CARBON_DIST
32613 WXBASEPORT
="_carbon"
32616 if test "$wxUSE_OSX_COCOA" = 1; then
32618 GUIDIST
=OSX_COCOA_DIST
32621 if test "$wxUSE_COCOA" = 1; then
32626 if test "$wxUSE_PM" = 1; then
32629 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32630 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32631 if test "${wx_cv_spbcdata+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 cat >conftest.
$ac_ext <<_ACEOF
32638 cat confdefs.h
>>conftest.
$ac_ext
32639 cat >>conftest.
$ac_ext <<_ACEOF
32640 /* end confdefs.h. */
32655 rm -f conftest.
$ac_objext
32656 if { (ac_try
="$ac_compile"
32657 case "(($ac_try" in
32658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32659 *) ac_try_echo=$ac_try;;
32661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32662 (eval "$ac_compile") 2>conftest.er1
32664 grep -v '^ *+' conftest.er1 >conftest.err
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } && {
32669 test -z "$ac_c_werror_flag" ||
32670 test ! -s conftest.err
32671 } && test -s conftest.$ac_objext; then
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32685 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32686 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32688 if test $wx_cv_spbcdata = "yes"; then
32689 cat >>confdefs.h <<\_ACEOF
32690 #define HAVE_SPBCDATA 1
32696 if test "$TOOLKIT" = "PM" ; then
32699 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32702 if test "$wxUSE_UNIVERSAL" = "yes"; then
32703 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32707 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32708 DISTDIR="wx\$(TOOLKIT)"
32714 if test "$USE_WIN32" = 1 ; then
32718 GUIDIST="BASE_DIST"
32724 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32725 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32726 wxUSE_UNICODE_UTF8=yes
32727 elif test "$USE_OS2" = 1 ; then
32728 wxUSE_UNICODE_UTF8=yes
32730 wxUSE_UNICODE_UTF8=no
32735 if test "$wxUSE_GUI" = "yes"; then
32736 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32738 for ac_header in X11/Xlib.h
32740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32746 cat >conftest.$ac_ext <<_ACEOF
32749 cat confdefs.h >>conftest.$ac_ext
32750 cat >>conftest.$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32754 #include <$ac_header>
32756 rm -f conftest.$ac_objext
32757 if { (ac_try="$ac_compile"
32758 case "(($ac_try" in
32759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32760 *) ac_try_echo
=$ac_try;;
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_compile") 2>conftest.er1
32765 grep -v '^ *+' conftest.er1
>conftest.err
32767 cat conftest.err
>&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } && {
32770 test -z "$ac_c_werror_flag" ||
32771 test ! -s conftest.err
32772 } && test -s conftest.
$ac_objext; then
32773 eval "$as_ac_Header=yes"
32775 echo "$as_me: failed program was:" >&5
32776 sed 's/^/| /' conftest.
$ac_ext >&5
32778 eval "$as_ac_Header=no"
32781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32783 ac_res
=`eval echo '${'$as_ac_Header'}'`
32784 { echo "$as_me:$LINENO: result: $ac_res" >&5
32785 echo "${ECHO_T}$ac_res" >&6; }
32786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32787 cat >>confdefs.h
<<_ACEOF
32788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32796 for ac_header
in X
11/XKBlib.h
32798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32799 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32801 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 cat >conftest.
$ac_ext <<_ACEOF
32807 cat confdefs.h
>>conftest.
$ac_ext
32808 cat >>conftest.
$ac_ext <<_ACEOF
32809 /* end confdefs.h. */
32811 #if HAVE_X11_XLIB_H
32812 #include <X11/Xlib.h>
32816 #include <$ac_header>
32818 rm -f conftest.
$ac_objext
32819 if { (ac_try
="$ac_compile"
32820 case "(($ac_try" in
32821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_compile") 2>conftest.er1
32827 grep -v '^ *+' conftest.er1 >conftest.err
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest.$ac_objext; then
32835 eval "$as_ac_Header=yes"
32837 echo "$as_me: failed program was:" >&5
32838 sed 's/^/| /' conftest.$ac_ext >&5
32840 eval "$as_ac_Header=no"
32843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 ac_res=`eval echo '${'$as_ac_Header'}'`
32846 { echo "$as_me:$LINENO: result: $ac_res" >&5
32847 echo "${ECHO_T}$ac_res" >&6; }
32848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32849 cat >>confdefs.h <<_ACEOF
32850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32862 if test "$wxUSE_DISPLAY" = "yes"; then
32863 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32864 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32865 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32868 for ac_dir in $SEARCH_LIB;
32870 for ac_extension in a so sl dylib dll.a; do
32871 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32872 ac_find_libraries=$ac_dir
32878 if test "$ac_find_libraries" != "" ; then
32880 if test "$ac_find_libraries" = "default location"; then
32883 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32885 if test $result = 0; then
32888 ac_path_to_link=" -L$ac_find_libraries"
32892 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32893 LDFLAGS="$LDFLAGS $ac_path_to_link"
32895 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32896 { echo "$as_me:$LINENO: result: yes" >&5
32897 echo "${ECHO_T}yes" >&6; }
32899 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32900 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32903 for ac_dir in $SEARCH_LIB;
32905 for ac_extension in a so sl dylib dll.a; do
32906 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32907 ac_find_libraries=$ac_dir
32913 if test "$ac_find_libraries" != "" ; then
32914 { echo "$as_me:$LINENO: result: yes" >&5
32915 echo "${ECHO_T}yes" >&6; }
32917 for ac_header in X11/extensions/xf86vmode.h
32919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32925 cat >conftest.$ac_ext <<_ACEOF
32928 cat confdefs.h >>conftest.$ac_ext
32929 cat >>conftest.$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32932 #if HAVE_X11_XLIB_H
32933 #include <X11/Xlib.h>
32937 #include <$ac_header>
32939 rm -f conftest.$ac_objext
32940 if { (ac_try="$ac_compile"
32941 case "(($ac_try" in
32942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32943 *) ac_try_echo
=$ac_try;;
32945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32946 (eval "$ac_compile") 2>conftest.er1
32948 grep -v '^ *+' conftest.er1
>conftest.err
32950 cat conftest.err
>&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } && {
32953 test -z "$ac_c_werror_flag" ||
32954 test ! -s conftest.err
32955 } && test -s conftest.
$ac_objext; then
32956 eval "$as_ac_Header=yes"
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.
$ac_ext >&5
32961 eval "$as_ac_Header=no"
32964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32966 ac_res
=`eval echo '${'$as_ac_Header'}'`
32967 { echo "$as_me:$LINENO: result: $ac_res" >&5
32968 echo "${ECHO_T}$ac_res" >&6; }
32969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32970 cat >>confdefs.h
<<_ACEOF
32971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32974 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32981 { echo "$as_me:$LINENO: result: no" >&5
32982 echo "${ECHO_T}no" >&6; }
32986 { echo "$as_me:$LINENO: result: no" >&5
32987 echo "${ECHO_T}no" >&6; }
32988 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32989 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32992 elif test "$wxUSE_MSW" = 1; then
32993 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32994 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32995 if test "${ac_cv_header_ddraw_h+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 cat >conftest.
$ac_ext <<_ACEOF
33001 cat confdefs.h
>>conftest.
$ac_ext
33002 cat >>conftest.
$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 #include <windows.h>
33008 rm -f conftest.
$ac_objext
33009 if { (ac_try
="$ac_compile"
33010 case "(($ac_try" in
33011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33012 *) ac_try_echo=$ac_try;;
33014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33015 (eval "$ac_compile") 2>conftest.er1
33017 grep -v '^ *+' conftest.er1 >conftest.err
33019 cat conftest.err >&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } && {
33022 test -z "$ac_c_werror_flag" ||
33023 test ! -s conftest.err
33024 } && test -s conftest.$ac_objext; then
33025 ac_cv_header_ddraw_h=yes
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33030 ac_cv_header_ddraw_h=no
33033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33035 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33036 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33042 if test "$wxUSE_DETECT_SM" = "yes"; then
33043 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33044 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33045 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33048 for ac_dir in $SEARCH_LIB;
33050 for ac_extension in a so sl dylib dll.a; do
33051 if test -f "$ac_dir/libSM.$ac_extension"; then
33052 ac_find_libraries=$ac_dir
33058 if test "$ac_find_libraries" != "" ; then
33060 if test "$ac_find_libraries" = "default location"; then
33063 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33065 if test $result = 0; then
33068 ac_path_to_link=" -L$ac_find_libraries"
33072 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33073 LDFLAGS="$LDFLAGS $ac_path_to_link"
33075 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33076 { echo "$as_me:$LINENO: result: yes" >&5
33077 echo "${ECHO_T}yes" >&6; }
33079 { echo "$as_me:$LINENO: result: no" >&5
33080 echo "${ECHO_T}no" >&6; }
33081 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33082 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33083 wxUSE_DETECT_SM="no"
33086 wxUSE_DETECT_SM="no"
33093 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33096 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33097 OPENGL_LIBS="-framework OpenGL -framework AGL"
33098 elif test "$wxUSE_MSW" = 1; then
33099 OPENGL_LIBS="-lopengl32 -lglu32"
33100 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33102 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33103 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33106 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33108 if test -f "$ac_dir/GL/gl.h"; then
33109 ac_find_includes=$ac_dir
33114 if test "$ac_find_includes" != "" ; then
33115 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33116 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33118 if test "x$ac_find_includes" = "x/usr/include"; then
33119 ac_path_to_include=""
33121 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33123 if test $result = 0; then
33124 ac_path_to_include=""
33126 ac_path_to_include=" -I$ac_find_includes"
33130 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33132 { echo "$as_me:$LINENO: result: not found" >&5
33133 echo "${ECHO_T}not found" >&6; }
33136 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33137 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33138 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 cat >conftest.$ac_ext <<_ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33151 rm -f conftest.$ac_objext
33152 if { (ac_try="$ac_compile"
33153 case "(($ac_try" in
33154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33155 *) ac_try_echo
=$ac_try;;
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_compile") 2>conftest.er1
33160 grep -v '^ *+' conftest.er1
>conftest.err
33162 cat conftest.err
>&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest.
$ac_objext; then
33168 ac_cv_header_GL_gl_h
=yes
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.
$ac_ext >&5
33173 ac_cv_header_GL_gl_h
=no
33176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33178 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33179 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33180 if test $ac_cv_header_GL_gl_h = yes; then
33182 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33183 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33184 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33185 echo $ECHO_N "(cached) $ECHO_C" >&6
33187 cat >conftest.
$ac_ext <<_ACEOF
33190 cat confdefs.h
>>conftest.
$ac_ext
33191 cat >>conftest.
$ac_ext <<_ACEOF
33192 /* end confdefs.h. */
33195 #include <GL/glu.h>
33197 rm -f conftest.
$ac_objext
33198 if { (ac_try
="$ac_compile"
33199 case "(($ac_try" in
33200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33201 *) ac_try_echo=$ac_try;;
33203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33204 (eval "$ac_compile") 2>conftest.er1
33206 grep -v '^ *+' conftest.er1 >conftest.err
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } && {
33211 test -z "$ac_c_werror_flag" ||
33212 test ! -s conftest.err
33213 } && test -s conftest.$ac_objext; then
33214 ac_cv_header_GL_glu_h=yes
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33219 ac_cv_header_GL_glu_h=no
33222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33225 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33226 if test $ac_cv_header_GL_glu_h = yes; then
33230 { echo "$as_me:$LINENO: checking for -lGL" >&5
33231 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33234 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33236 for ac_extension in a so sl dylib dll.a; do
33237 if test -f "$ac_dir/libGL.$ac_extension"; then
33238 ac_find_libraries=$ac_dir
33244 if test "$ac_find_libraries" != "" ; then
33245 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33246 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33249 if test "$ac_find_libraries" = "default location"; then
33252 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33254 if test $result = 0; then
33257 ac_path_to_link=" -L$ac_find_libraries"
33261 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33262 LDFLAGS_GL="$ac_path_to_link"
33265 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33266 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33269 for ac_dir in $SEARCH_LIB;
33271 for ac_extension in a so sl dylib dll.a; do
33272 if test -f "$ac_dir/libGLU.$ac_extension"; then
33273 ac_find_libraries=$ac_dir
33279 if test "$ac_find_libraries" != "" ; then
33281 if test "$ac_find_libraries" = "default location"; then
33284 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33286 if test $result = 0; then
33289 ac_path_to_link=" -L$ac_find_libraries"
33293 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33294 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33295 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33299 OPENGL_LIBS="-lGL -lGLU"
33300 { echo "$as_me:$LINENO: result: yes" >&5
33301 echo "${ECHO_T}yes" >&6; }
33303 { echo "$as_me:$LINENO: result: no" >&5
33304 echo "${ECHO_T}no" >&6; }
33307 { echo "$as_me:$LINENO: result: no" >&5
33308 echo "${ECHO_T}no" >&6; }
33311 if test "$found_gl" != 1; then
33312 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33313 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33316 for ac_dir in $SEARCH_LIB;
33318 for ac_extension in a so sl dylib dll.a; do
33319 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33320 ac_find_libraries=$ac_dir
33326 if test "$ac_find_libraries" != "" ; then
33328 if test "$ac_find_libraries" = "default location"; then
33331 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33333 if test $result = 0; then
33336 ac_path_to_link=" -L$ac_find_libraries"
33340 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33341 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33342 { echo "$as_me:$LINENO: result: yes" >&5
33343 echo "${ECHO_T}yes" >&6; }
33345 { echo "$as_me:$LINENO: result: no" >&5
33346 echo "${ECHO_T}no" >&6; }
33358 if test "x$OPENGL_LIBS" = "x"; then
33359 if test "$wxUSE_OPENGL" = "yes"; then
33360 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33361 echo "$as_me: error: OpenGL libraries not available" >&2;}
33362 { (exit 1); exit 1; }; }
33364 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33365 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33373 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33374 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33378 if test "$wxUSE_OPENGL" = "yes"; then
33380 cat >>confdefs.h <<\_ACEOF
33381 #define wxUSE_OPENGL 1
33384 cat >>confdefs.h <<\_ACEOF
33385 #define wxUSE_GLCANVAS 1
33388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33393 if test -n "$TOOLKIT" ; then
33394 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33399 if test "$wxUSE_SHARED" = "yes"; then
33403 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33404 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33409 if test "$wxUSE_SHARED" = "yes"; then
33413 *-*-cygwin* | *-*-mingw* )
33414 wx_cv_version_script=no
33418 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33419 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33420 if test "${wx_cv_version_script+set}" = set; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 echo "VER_1 { *; };" >conftest.sym
33425 echo "int main() { return 0; }" >conftest.cpp
33428 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33429 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33431 (eval $ac_try) 2>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); }; } ; then
33435 if test -s conftest.stderr ; then
33436 wx_cv_version_script=no
33438 wx_cv_version_script=yes
33441 wx_cv_version_script=no
33444 if test $wx_cv_version_script = yes
33446 echo "struct B { virtual ~B() { } }; \
33447 struct D : public B { }; \
33448 void F() { D d; }" > conftest.cpp
33451 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33452 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; } &&
33459 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33460 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }
33468 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33469 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }
33476 wx_cv_version_script=yes
33478 wx_cv_version_script=no
33483 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33484 rm -f conftest1.output conftest2.output conftest3.output
33487 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33488 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33490 if test $wx_cv_version_script = yes ; then
33491 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33497 if test "$wxUSE_VISIBILITY" != "no"; then
33500 if test -n "$GCC"; then
33501 CFLAGS_VISIBILITY="-fvisibility=hidden"
33502 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33503 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33504 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33505 if test "${wx_cv_cc_visibility+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 wx_save_CXXFLAGS="$CXXFLAGS"
33510 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33517 cat >conftest.$ac_ext <<_ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33524 /* we need gcc >= 4.0, older versions with visibility support
33525 didn't have class visibility: */
33526 #if defined(__GNUC__) && __GNUC__ < 4
33527 error this gcc is too old;
33530 /* visibility only makes sense for ELF shared libs: */
33531 #if !defined(__ELF__) && !defined(__APPLE__)
33532 error this platform has no visibility;
33535 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33536 extern __attribute__((__visibility__("default"))) int exportedvar;
33537 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33538 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33539 class __attribute__((__visibility__("default"))) Foo {
33551 rm -f conftest.$ac_objext
33552 if { (ac_try="$ac_compile"
33553 case "(($ac_try" in
33554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33555 *) ac_try_echo
=$ac_try;;
33557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33558 (eval "$ac_compile") 2>conftest.er1
33560 grep -v '^ *+' conftest.er1
>conftest.err
33562 cat conftest.err
>&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } && {
33565 test -z "$ac_cxx_werror_flag" ||
33566 test ! -s conftest.err
33567 } && test -s conftest.
$ac_objext; then
33568 wx_cv_cc_visibility
=yes
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.
$ac_ext >&5
33573 wx_cv_cc_visibility
=no
33576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33578 ac_cpp
='$CPP $CPPFLAGS'
33579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33583 CXXFLAGS
="$wx_save_CXXFLAGS"
33586 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33587 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33588 if test $wx_cv_cc_visibility = yes; then
33589 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33590 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33591 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33595 wx_save_CXXFLAGS
="$CXXFLAGS"
33596 wx_save_LDFLAGS
="$LDFLAGS"
33597 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33598 LDFLAGS
="$LDFLAGS -shared -fPIC"
33600 ac_cpp
='$CXXCPP $CPPFLAGS'
33601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33605 cat >conftest.
$ac_ext <<_ACEOF
33608 cat confdefs.h
>>conftest.
$ac_ext
33609 cat >>conftest.
$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33618 std::string s("hello");
33625 rm -f conftest.
$ac_objext conftest
$ac_exeext
33626 if { (ac_try
="$ac_link"
33627 case "(($ac_try" in
33628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_link") 2>conftest.er1
33634 grep -v '^ *+' conftest.er1 >conftest.err
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest$ac_exeext &&
33642 $as_test_x conftest$ac_exeext; then
33643 wx_cv_cc_broken_libstdcxx_visibility=no
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.$ac_ext >&5
33648 wx_cv_cc_broken_libstdcxx_visibility=yes
33651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33652 conftest$ac_exeext conftest.$ac_ext
33654 ac_cpp='$CPP $CPPFLAGS'
33655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659 CXXFLAGS="$wx_save_CXXFLAGS"
33660 LDFLAGS="$wx_save_LDFLAGS"
33663 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33664 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33666 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33667 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33668 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33669 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33674 ac_cpp='$CXXCPP $CPPFLAGS'
33675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33679 cat >conftest.$ac_ext <<_ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33686 #pragma GCC visibility push(default)
33688 #pragma GCC visibility pop
33694 std::string s("hello");
33701 rm -f conftest.$ac_objext conftest$ac_exeext
33702 if { (ac_try="$ac_link"
33703 case "(($ac_try" in
33704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33705 *) ac_try_echo
=$ac_try;;
33707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33708 (eval "$ac_link") 2>conftest.er1
33710 grep -v '^ *+' conftest.er1
>conftest.err
33712 cat conftest.err
>&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); } && {
33715 test -z "$ac_cxx_werror_flag" ||
33716 test ! -s conftest.err
33717 } && test -s conftest
$ac_exeext &&
33718 $as_test_x conftest
$ac_exeext; then
33719 wx_cv_cc_visibility_workaround
=no
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.
$ac_ext >&5
33724 wx_cv_cc_visibility_workaround
=yes
33727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33728 conftest
$ac_exeext conftest.
$ac_ext
33730 ac_cpp
='$CPP $CPPFLAGS'
33731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33738 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33739 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33741 if test $wx_cv_cc_visibility_workaround = no
; then
33742 wx_cv_cc_visibility
=no
33747 if test $wx_cv_cc_visibility = yes; then
33748 cat >>confdefs.h
<<\_ACEOF
33749 #define HAVE_VISIBILITY 1
33752 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33753 cat >>confdefs.h
<<\_ACEOF
33754 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33759 CFLAGS_VISIBILITY
=""
33760 CXXFLAGS_VISIBILITY
=""
33768 if test "x$SUNCXX" = xyes
; then
33769 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33770 WXCONFIG_RPATH
="-R\$libdir"
33773 *-*-linux* | *-*-gnu* )
33774 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33775 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33780 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33782 saveLdflags
="$LDFLAGS"
33783 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33784 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33785 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33786 cat >conftest.
$ac_ext <<_ACEOF
33789 cat confdefs.h
>>conftest.
$ac_ext
33790 cat >>conftest.
$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33801 rm -f conftest.
$ac_objext conftest
$ac_exeext
33802 if { (ac_try
="$ac_link"
33803 case "(($ac_try" in
33804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33805 *) ac_try_echo=$ac_try;;
33807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33808 (eval "$ac_link") 2>conftest.er1
33810 grep -v '^ *+' conftest.er1 >conftest.err
33812 cat conftest.err >&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } && {
33815 test -z "$ac_c_werror_flag" ||
33816 test ! -s conftest.err
33817 } && test -s conftest$ac_exeext &&
33818 $as_test_x conftest$ac_exeext; then
33820 { echo "$as_me:$LINENO: result: yes" >&5
33821 echo "${ECHO_T}yes" >&6; }
33822 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33823 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33830 { echo "$as_me:$LINENO: result: no" >&5
33831 echo "${ECHO_T}no" >&6; }
33832 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33833 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33834 LDFLAGS="$saveLdflags -Wl,-R,/"
33835 cat >conftest.$ac_ext <<_ACEOF
33838 cat confdefs.h >>conftest.$ac_ext
33839 cat >>conftest.$ac_ext <<_ACEOF
33840 /* end confdefs.h. */
33850 rm -f conftest.$ac_objext conftest$ac_exeext
33851 if { (ac_try="$ac_link"
33852 case "(($ac_try" in
33853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33854 *) ac_try_echo
=$ac_try;;
33856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33857 (eval "$ac_link") 2>conftest.er1
33859 grep -v '^ *+' conftest.er1
>conftest.err
33861 cat conftest.err
>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } && {
33864 test -z "$ac_c_werror_flag" ||
33865 test ! -s conftest.err
33866 } && test -s conftest
$ac_exeext &&
33867 $as_test_x conftest
$ac_exeext; then
33869 { echo "$as_me:$LINENO: result: yes" >&5
33870 echo "${ECHO_T}yes" >&6; }
33871 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33872 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.
$ac_ext >&5
33879 { echo "$as_me:$LINENO: result: no" >&5
33880 echo "${ECHO_T}no" >&6; }
33884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33885 conftest
$ac_exeext conftest.
$ac_ext
33889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33890 conftest
$ac_exeext conftest.
$ac_ext
33891 LDFLAGS
="$saveLdflags"
33895 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33896 if test "$install_name_tool" -a -x "$install_name_tool"; then
33897 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33898 cat <<EOF >change-install-names
33900 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33901 for i in \${libnames} ; do
33902 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33903 for dep in \${libnames} ; do
33904 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33908 chmod +x change
-install-names
33909 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33912 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33915 *-*-cygwin* | *-*-mingw32* )
33919 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33920 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33926 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33928 if test $wxUSE_RPATH = "no"; then
33929 SAMPLES_RPATH_FLAG
=''
33930 DYLIB_PATH_POSTLINK
=''
33938 config_linkage_component
="-static"
33945 lib_unicode_suffix
=
33947 if test "$wxUSE_UNICODE" = "yes"; then
33948 lib_unicode_suffix
=u
33949 WX_CHARTYPE
="unicode"
33954 WX_DEBUGTYPE
="release"
33956 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33958 WX_DEBUGTYPE
="debug"
33962 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33963 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33966 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33970 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33972 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
33974 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33977 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33978 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33980 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33982 if test "${TOOLKIT_DIR}" = "os2"; then
33983 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33985 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33990 if test "$wxUSE_COCOA" = 1; then
33993 ac_cpp
='$CPP $CPPFLAGS'
33994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34000 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34001 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34002 cat >conftest.
$ac_ext <<_ACEOF
34005 cat confdefs.h
>>conftest.
$ac_ext
34006 cat >>conftest.
$ac_ext <<_ACEOF
34007 /* end confdefs.h. */
34008 #include <AppKit/NSEvent.h>
34009 #include <CoreFoundation/CoreFoundation.h>
34019 rm -f conftest.
$ac_objext
34020 if { (ac_try
="$ac_compile"
34021 case "(($ac_try" in
34022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34023 *) ac_try_echo=$ac_try;;
34025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34026 (eval "$ac_compile") 2>conftest.er1
34028 grep -v '^ *+' conftest.er1 >conftest.err
34030 cat conftest.err >&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && {
34033 test -z "$ac_c_werror_flag" ||
34034 test ! -s conftest.err
34035 } && test -s conftest.$ac_objext; then
34036 { echo "$as_me:$LINENO: result: no" >&5
34037 echo "${ECHO_T}no" >&6; }
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34042 { echo "$as_me:$LINENO: result: yes" >&5
34043 echo "${ECHO_T}yes" >&6; }
34044 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34045 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34046 cat >conftest.$ac_ext <<_ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 #define __Point__ 1
34053 #include <AppKit/NSEvent.h>
34054 #include <CoreFoundation/CoreFoundation.h>
34064 rm -f conftest.$ac_objext
34065 if { (ac_try="$ac_compile"
34066 case "(($ac_try" in
34067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34068 *) ac_try_echo
=$ac_try;;
34070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34071 (eval "$ac_compile") 2>conftest.er1
34073 grep -v '^ *+' conftest.er1
>conftest.err
34075 cat conftest.err
>&5
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); } && {
34078 test -z "$ac_c_werror_flag" ||
34079 test ! -s conftest.err
34080 } && test -s conftest.
$ac_objext; then
34081 { echo "$as_me:$LINENO: result: yes" >&5
34082 echo "${ECHO_T}yes" >&6; }
34083 cat >>confdefs.h
<<\_ACEOF
34084 #define __Point__ 1
34089 echo "$as_me: failed program was:" >&5
34090 sed 's/^/| /' conftest.
$ac_ext >&5
34092 { { echo "$as_me:$LINENO: error: no
34093 See \`config.log' for more details." >&5
34094 echo "$as_me: error: no
34095 See \`config.log' for more details." >&2;}
34096 { (exit 1); exit 1; }; }
34100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34106 ac_cpp
='$CPP $CPPFLAGS'
34107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34114 { echo "$as_me:$LINENO: checking for mode_t" >&5
34115 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34116 if test "${ac_cv_type_mode_t+set}" = set; then
34117 echo $ECHO_N "(cached) $ECHO_C" >&6
34119 cat >conftest.
$ac_ext <<_ACEOF
34122 cat confdefs.h
>>conftest.
$ac_ext
34123 cat >>conftest.
$ac_ext <<_ACEOF
34124 /* end confdefs.h. */
34125 $ac_includes_default
34126 typedef mode_t ac__type_new_;
34130 if ((ac__type_new_ *) 0)
34132 if (sizeof (ac__type_new_))
34138 rm -f conftest.
$ac_objext
34139 if { (ac_try
="$ac_compile"
34140 case "(($ac_try" in
34141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34142 *) ac_try_echo=$ac_try;;
34144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34145 (eval "$ac_compile") 2>conftest.er1
34147 grep -v '^ *+' conftest.er1 >conftest.err
34149 cat conftest.err >&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); } && {
34152 test -z "$ac_c_werror_flag" ||
34153 test ! -s conftest.err
34154 } && test -s conftest.$ac_objext; then
34155 ac_cv_type_mode_t=yes
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34160 ac_cv_type_mode_t=no
34163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34166 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34167 if test $ac_cv_type_mode_t = yes; then
34171 cat >>confdefs.h <<_ACEOF
34177 { echo "$as_me:$LINENO: checking for off_t" >&5
34178 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34179 if test "${ac_cv_type_off_t+set}" = set; then
34180 echo $ECHO_N "(cached) $ECHO_C" >&6
34182 cat >conftest.$ac_ext <<_ACEOF
34185 cat confdefs.h >>conftest.$ac_ext
34186 cat >>conftest.$ac_ext <<_ACEOF
34187 /* end confdefs.h. */
34188 $ac_includes_default
34189 typedef off_t ac__type_new_;
34193 if ((ac__type_new_ *) 0)
34195 if (sizeof (ac__type_new_))
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34205 *) ac_try_echo
=$ac_try;;
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34210 grep -v '^ *+' conftest.er1
>conftest.err
34212 cat conftest.err
>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.
$ac_objext; then
34218 ac_cv_type_off_t
=yes
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.
$ac_ext >&5
34223 ac_cv_type_off_t
=no
34226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34228 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34229 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34230 if test $ac_cv_type_off_t = yes; then
34234 cat >>confdefs.h
<<_ACEOF
34235 #define off_t long int
34240 { echo "$as_me:$LINENO: checking for pid_t" >&5
34241 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34242 if test "${ac_cv_type_pid_t+set}" = set; then
34243 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 cat >conftest.
$ac_ext <<_ACEOF
34248 cat confdefs.h
>>conftest.
$ac_ext
34249 cat >>conftest.
$ac_ext <<_ACEOF
34250 /* end confdefs.h. */
34251 $ac_includes_default
34252 typedef pid_t ac__type_new_;
34256 if ((ac__type_new_ *) 0)
34258 if (sizeof (ac__type_new_))
34264 rm -f conftest.
$ac_objext
34265 if { (ac_try
="$ac_compile"
34266 case "(($ac_try" in
34267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34268 *) ac_try_echo=$ac_try;;
34270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34271 (eval "$ac_compile") 2>conftest.er1
34273 grep -v '^ *+' conftest.er1 >conftest.err
34275 cat conftest.err >&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } && {
34278 test -z "$ac_c_werror_flag" ||
34279 test ! -s conftest.err
34280 } && test -s conftest.$ac_objext; then
34281 ac_cv_type_pid_t=yes
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34286 ac_cv_type_pid_t=no
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34291 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34292 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34293 if test $ac_cv_type_pid_t = yes; then
34297 cat >>confdefs.h <<_ACEOF
34303 { echo "$as_me:$LINENO: checking for size_t" >&5
34304 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34305 if test "${ac_cv_type_size_t+set}" = set; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34308 cat >conftest.$ac_ext <<_ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34314 $ac_includes_default
34315 typedef size_t ac__type_new_;
34319 if ((ac__type_new_ *) 0)
34321 if (sizeof (ac__type_new_))
34327 rm -f conftest.$ac_objext
34328 if { (ac_try="$ac_compile"
34329 case "(($ac_try" in
34330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34331 *) ac_try_echo
=$ac_try;;
34333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34334 (eval "$ac_compile") 2>conftest.er1
34336 grep -v '^ *+' conftest.er1
>conftest.err
34338 cat conftest.err
>&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } && {
34341 test -z "$ac_c_werror_flag" ||
34342 test ! -s conftest.err
34343 } && test -s conftest.
$ac_objext; then
34344 ac_cv_type_size_t
=yes
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.
$ac_ext >&5
34349 ac_cv_type_size_t
=no
34352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34354 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34355 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34356 if test $ac_cv_type_size_t = yes; then
34360 cat >>confdefs.h
<<_ACEOF
34361 #define size_t unsigned int
34367 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34368 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34369 if test "${ac_cv_type_ssize_t+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 cat >conftest.
$ac_ext <<_ACEOF
34375 cat confdefs.h
>>conftest.
$ac_ext
34376 cat >>conftest.
$ac_ext <<_ACEOF
34377 /* end confdefs.h. */
34378 $ac_includes_default
34379 typedef ssize_t ac__type_new_;
34383 if ((ac__type_new_ *) 0)
34385 if (sizeof (ac__type_new_))
34391 rm -f conftest.
$ac_objext
34392 if { (ac_try
="$ac_compile"
34393 case "(($ac_try" in
34394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34395 *) ac_try_echo=$ac_try;;
34397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34398 (eval "$ac_compile") 2>conftest.er1
34400 grep -v '^ *+' conftest.er1 >conftest.err
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } && {
34405 test -z "$ac_c_werror_flag" ||
34406 test ! -s conftest.err
34407 } && test -s conftest.$ac_objext; then
34408 ac_cv_type_ssize_t=yes
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34413 ac_cv_type_ssize_t=no
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34418 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34419 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34420 if test $ac_cv_type_ssize_t = yes; then
34422 cat >>confdefs.h <<_ACEOF
34423 #define HAVE_SSIZE_T 1
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34435 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34436 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34437 if test "${wx_cv_size_t_is_uint+set}" = set; then
34438 echo $ECHO_N "(cached) $ECHO_C" >&6
34441 cat >conftest.$ac_ext <<_ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 #include <stddef.h>
34454 struct Foo { void foo(size_t); void foo(unsigned int); };
34462 rm -f conftest.$ac_objext
34463 if { (ac_try="$ac_compile"
34464 case "(($ac_try" in
34465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34466 *) ac_try_echo
=$ac_try;;
34468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34469 (eval "$ac_compile") 2>conftest.er1
34471 grep -v '^ *+' conftest.er1
>conftest.err
34473 cat conftest.err
>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } && {
34476 test -z "$ac_cxx_werror_flag" ||
34477 test ! -s conftest.err
34478 } && test -s conftest.
$ac_objext; then
34479 wx_cv_size_t_is_uint
=no
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.
$ac_ext >&5
34484 wx_cv_size_t_is_uint
=yes
34488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34492 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34493 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34495 if test "$wx_cv_size_t_is_uint" = "yes"; then
34496 cat >>confdefs.h
<<\_ACEOF
34497 #define wxSIZE_T_IS_UINT 1
34501 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34502 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34503 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 cat >conftest.
$ac_ext <<_ACEOF
34509 cat confdefs.h
>>conftest.
$ac_ext
34510 cat >>conftest.
$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 #include <stddef.h>
34519 struct Foo { void foo(size_t); void foo(unsigned long); };
34527 rm -f conftest.
$ac_objext
34528 if { (ac_try
="$ac_compile"
34529 case "(($ac_try" in
34530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34531 *) ac_try_echo=$ac_try;;
34533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34534 (eval "$ac_compile") 2>conftest.er1
34536 grep -v '^ *+' conftest.er1 >conftest.err
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } && {
34541 test -z "$ac_cxx_werror_flag" ||
34542 test ! -s conftest.err
34543 } && test -s conftest.$ac_objext; then
34544 wx_cv_size_t_is_ulong=no
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.$ac_ext >&5
34549 wx_cv_size_t_is_ulong=yes
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34556 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34557 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34559 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34560 cat >>confdefs.h <<\_ACEOF
34561 #define wxSIZE_T_IS_ULONG 1
34567 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34568 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34569 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34570 echo $ECHO_N "(cached) $ECHO_C" >&6
34572 cat >conftest.$ac_ext <<_ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h. */
34585 struct Foo { void foo(wchar_t);
34586 void foo(unsigned short);
34587 void foo(unsigned int);
34588 void foo(unsigned long); };
34596 rm -f conftest.$ac_objext
34597 if { (ac_try="$ac_compile"
34598 case "(($ac_try" in
34599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34600 *) ac_try_echo
=$ac_try;;
34602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34603 (eval "$ac_compile") 2>conftest.er1
34605 grep -v '^ *+' conftest.er1
>conftest.err
34607 cat conftest.err
>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } && {
34610 test -z "$ac_cxx_werror_flag" ||
34611 test ! -s conftest.err
34612 } && test -s conftest.
$ac_objext; then
34613 wx_cv_wchar_t_is_separate_type
=yes
34615 echo "$as_me: failed program was:" >&5
34616 sed 's/^/| /' conftest.
$ac_ext >&5
34618 wx_cv_wchar_t_is_separate_type
=no
34622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34625 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34626 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34628 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34629 cat >>confdefs.h
<<\_ACEOF
34630 #define wxWCHAR_T_IS_REAL_TYPE 1
34634 cat >>confdefs.h
<<\_ACEOF
34635 #define wxWCHAR_T_IS_REAL_TYPE 0
34641 ac_cpp
='$CPP $CPPFLAGS'
34642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34647 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34648 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34649 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34650 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34672 rm -f conftest.
$ac_objext
34673 if { (ac_try
="$ac_compile"
34674 case "(($ac_try" in
34675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34679 (eval "$ac_compile") 2>conftest.er1
34681 grep -v '^ *+' conftest.er1 >conftest.err
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } && {
34686 test -z "$ac_c_werror_flag" ||
34687 test ! -s conftest.err
34688 } && test -s conftest.$ac_objext; then
34690 wx_cv_struct_pw_gecos=yes
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34697 wx_cv_struct_pw_gecos=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34706 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34707 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34709 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34710 cat >>confdefs.h <<\_ACEOF
34711 #define HAVE_PW_GECOS 1
34717 if test "$wxUSE_WCHAR_T" = "yes"; then
34718 cat >>confdefs.h <<\_ACEOF
34719 #define wxUSE_WCHAR_T 1
34726 for ac_func in wcslen
34728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 cat >conftest.$ac_ext <<_ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34742 #define $ac_func innocuous_$ac_func
34744 /* System header to define __stub macros and hopefully few prototypes,
34745 which can conflict with char $ac_func (); below.
34746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34747 <limits.h> exists even on freestanding compilers. */
34750 # include <limits.h>
34752 # include <assert.h>
34757 /* Override any GCC internal prototype to avoid an error.
34758 Use char because int might match the return type of a GCC
34759 builtin and then its argument prototype would still apply. */
34764 /* The GNU C library defines this for functions which it implements
34765 to always fail with ENOSYS. Some functions are actually named
34766 something starting with __ and the normal name is an alias. */
34767 #if defined __stub_$ac_func || defined __stub___$ac_func
34774 return $ac_func ();
34779 rm -f conftest.$ac_objext conftest$ac_exeext
34780 if { (ac_try="$ac_link"
34781 case "(($ac_try" in
34782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34783 *) ac_try_echo
=$ac_try;;
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_link") 2>conftest.er1
34788 grep -v '^ *+' conftest.er1
>conftest.err
34790 cat conftest.err
>&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } && {
34793 test -z "$ac_c_werror_flag" ||
34794 test ! -s conftest.err
34795 } && test -s conftest
$ac_exeext &&
34796 $as_test_x conftest
$ac_exeext; then
34797 eval "$as_ac_var=yes"
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.
$ac_ext >&5
34802 eval "$as_ac_var=no"
34805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34806 conftest
$ac_exeext conftest.
$ac_ext
34808 ac_res
=`eval echo '${'$as_ac_var'}'`
34809 { echo "$as_me:$LINENO: result: $ac_res" >&5
34810 echo "${ECHO_T}$ac_res" >&6; }
34811 if test `eval echo '${'$as_ac_var'}'` = yes; then
34812 cat >>confdefs.h
<<_ACEOF
34813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34820 if test "$WCSLEN_FOUND" = 0; then
34821 if test "$TOOLKIT" = "MSW"; then
34822 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34823 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34824 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34827 ac_check_lib_save_LIBS
=$LIBS
34828 LIBS
="-lmsvcrt $LIBS"
34829 cat >conftest.
$ac_ext <<_ACEOF
34832 cat confdefs.h
>>conftest.
$ac_ext
34833 cat >>conftest.
$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34836 /* Override any GCC internal prototype to avoid an error.
34837 Use char because int might match the return type of a GCC
34838 builtin and then its argument prototype would still apply. */
34851 rm -f conftest.
$ac_objext conftest
$ac_exeext
34852 if { (ac_try
="$ac_link"
34853 case "(($ac_try" in
34854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34855 *) ac_try_echo=$ac_try;;
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_link") 2>conftest.er1
34860 grep -v '^ *+' conftest.er1 >conftest.err
34862 cat conftest.err >&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); } && {
34865 test -z "$ac_c_werror_flag" ||
34866 test ! -s conftest.err
34867 } && test -s conftest$ac_exeext &&
34868 $as_test_x conftest$ac_exeext; then
34869 ac_cv_lib_msvcrt_wcslen=yes
34871 echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.$ac_ext >&5
34874 ac_cv_lib_msvcrt_wcslen=no
34877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34878 conftest$ac_exeext conftest.$ac_ext
34879 LIBS=$ac_check_lib_save_LIBS
34881 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34882 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34883 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34888 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34889 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34890 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34891 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 ac_check_lib_save_LIBS=$LIBS
34895 cat >conftest.$ac_ext <<_ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34902 /* Override any GCC internal prototype to avoid an error.
34903 Use char because int might match the return type of a GCC
34904 builtin and then its argument prototype would still apply. */
34917 rm -f conftest.$ac_objext conftest$ac_exeext
34918 if { (ac_try="$ac_link"
34919 case "(($ac_try" in
34920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34921 *) ac_try_echo
=$ac_try;;
34923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 (eval "$ac_link") 2>conftest.er1
34926 grep -v '^ *+' conftest.er1
>conftest.err
34928 cat conftest.err
>&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } && {
34931 test -z "$ac_c_werror_flag" ||
34932 test ! -s conftest.err
34933 } && test -s conftest
$ac_exeext &&
34934 $as_test_x conftest
$ac_exeext; then
34935 ac_cv_lib_w_wcslen
=yes
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.
$ac_ext >&5
34940 ac_cv_lib_w_wcslen
=no
34943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34944 conftest
$ac_exeext conftest.
$ac_ext
34945 LIBS
=$ac_check_lib_save_LIBS
34947 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34948 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34949 if test $ac_cv_lib_w_wcslen = yes; then
34959 if test "$WCSLEN_FOUND" = 1; then
34960 cat >>confdefs.h
<<\_ACEOF
34961 #define HAVE_WCSLEN 1
34971 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34976 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34977 echo $ECHO_N "(cached) $ECHO_C" >&6
34979 cat >conftest.
$ac_ext <<_ACEOF
34982 cat confdefs.h
>>conftest.
$ac_ext
34983 cat >>conftest.
$ac_ext <<_ACEOF
34984 /* end confdefs.h. */
34985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34987 #define $ac_func innocuous_$ac_func
34989 /* System header to define __stub macros and hopefully few prototypes,
34990 which can conflict with char $ac_func (); below.
34991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34992 <limits.h> exists even on freestanding compilers. */
34995 # include <limits.h>
34997 # include <assert.h>
35002 /* Override any GCC internal prototype to avoid an error.
35003 Use char because int might match the return type of a GCC
35004 builtin and then its argument prototype would still apply. */
35009 /* The GNU C library defines this for functions which it implements
35010 to always fail with ENOSYS. Some functions are actually named
35011 something starting with __ and the normal name is an alias. */
35012 #if defined __stub_$ac_func || defined __stub___$ac_func
35019 return $ac_func ();
35024 rm -f conftest.
$ac_objext conftest
$ac_exeext
35025 if { (ac_try
="$ac_link"
35026 case "(($ac_try" in
35027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35028 *) ac_try_echo=$ac_try;;
35030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35031 (eval "$ac_link") 2>conftest.er1
35033 grep -v '^ *+' conftest.er1 >conftest.err
35035 cat conftest.err >&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } && {
35038 test -z "$ac_c_werror_flag" ||
35039 test ! -s conftest.err
35040 } && test -s conftest$ac_exeext &&
35041 $as_test_x conftest$ac_exeext; then
35042 eval "$as_ac_var=yes"
35044 echo "$as_me: failed program was:" >&5
35045 sed 's/^/| /' conftest.$ac_ext >&5
35047 eval "$as_ac_var=no"
35050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35051 conftest$ac_exeext conftest.$ac_ext
35053 ac_res=`eval echo '${'$as_ac_var'}'`
35054 { echo "$as_me:$LINENO: result: $ac_res" >&5
35055 echo "${ECHO_T}$ac_res" >&6; }
35056 if test `eval echo '${'$as_ac_var'}'` = yes; then
35057 cat >>confdefs.h <<_ACEOF
35058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35065 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35066 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35069 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35070 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35071 if test "${ac_cv_type_mbstate_t+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.$ac_ext <<_ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35082 typedef mbstate_t ac__type_new_;
35086 if ((ac__type_new_ *) 0)
35088 if (sizeof (ac__type_new_))
35094 rm -f conftest.$ac_objext
35095 if { (ac_try="$ac_compile"
35096 case "(($ac_try" in
35097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35098 *) ac_try_echo
=$ac_try;;
35100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35101 (eval "$ac_compile") 2>conftest.er1
35103 grep -v '^ *+' conftest.er1
>conftest.err
35105 cat conftest.err
>&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } && {
35108 test -z "$ac_c_werror_flag" ||
35109 test ! -s conftest.err
35110 } && test -s conftest.
$ac_objext; then
35111 ac_cv_type_mbstate_t
=yes
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.
$ac_ext >&5
35116 ac_cv_type_mbstate_t
=no
35119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35121 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35122 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35123 if test $ac_cv_type_mbstate_t = yes; then
35125 cat >>confdefs.h
<<_ACEOF
35126 #define HAVE_MBSTATE_T 1
35130 for ac_func
in wcsrtombs
35132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35135 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 cat >conftest.
$ac_ext <<_ACEOF
35141 cat confdefs.h
>>conftest.
$ac_ext
35142 cat >>conftest.
$ac_ext <<_ACEOF
35143 /* end confdefs.h. */
35144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35146 #define $ac_func innocuous_$ac_func
35148 /* System header to define __stub macros and hopefully few prototypes,
35149 which can conflict with char $ac_func (); below.
35150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35151 <limits.h> exists even on freestanding compilers. */
35154 # include <limits.h>
35156 # include <assert.h>
35161 /* Override any GCC internal prototype to avoid an error.
35162 Use char because int might match the return type of a GCC
35163 builtin and then its argument prototype would still apply. */
35168 /* The GNU C library defines this for functions which it implements
35169 to always fail with ENOSYS. Some functions are actually named
35170 something starting with __ and the normal name is an alias. */
35171 #if defined __stub_$ac_func || defined __stub___$ac_func
35178 return $ac_func ();
35183 rm -f conftest.
$ac_objext conftest
$ac_exeext
35184 if { (ac_try
="$ac_link"
35185 case "(($ac_try" in
35186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35187 *) ac_try_echo=$ac_try;;
35189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35190 (eval "$ac_link") 2>conftest.er1
35192 grep -v '^ *+' conftest.er1 >conftest.err
35194 cat conftest.err >&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); } && {
35197 test -z "$ac_c_werror_flag" ||
35198 test ! -s conftest.err
35199 } && test -s conftest$ac_exeext &&
35200 $as_test_x conftest$ac_exeext; then
35201 eval "$as_ac_var=yes"
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35206 eval "$as_ac_var=no"
35209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35210 conftest$ac_exeext conftest.$ac_ext
35212 ac_res=`eval echo '${'$as_ac_var'}'`
35213 { echo "$as_me:$LINENO: result: $ac_res" >&5
35214 echo "${ECHO_T}$ac_res" >&6; }
35215 if test `eval echo '${'$as_ac_var'}'` = yes; then
35216 cat >>confdefs.h <<_ACEOF
35217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35226 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35227 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35233 for ac_func in snprintf vsnprintf vsscanf
35235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35236 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35238 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35239 echo $ECHO_N "(cached) $ECHO_C" >&6
35241 cat >conftest.$ac_ext <<_ACEOF
35244 cat confdefs.h >>conftest.$ac_ext
35245 cat >>conftest.$ac_ext <<_ACEOF
35246 /* end confdefs.h. */
35247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35249 #define $ac_func innocuous_$ac_func
35251 /* System header to define __stub macros and hopefully few prototypes,
35252 which can conflict with char $ac_func (); below.
35253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35254 <limits.h> exists even on freestanding compilers. */
35257 # include <limits.h>
35259 # include <assert.h>
35264 /* Override any GCC internal prototype to avoid an error.
35265 Use char because int might match the return type of a GCC
35266 builtin and then its argument prototype would still apply. */
35271 /* The GNU C library defines this for functions which it implements
35272 to always fail with ENOSYS. Some functions are actually named
35273 something starting with __ and the normal name is an alias. */
35274 #if defined __stub_$ac_func || defined __stub___$ac_func
35281 return $ac_func ();
35286 rm -f conftest.$ac_objext conftest$ac_exeext
35287 if { (ac_try="$ac_link"
35288 case "(($ac_try" in
35289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35290 *) ac_try_echo
=$ac_try;;
35292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35293 (eval "$ac_link") 2>conftest.er1
35295 grep -v '^ *+' conftest.er1
>conftest.err
35297 cat conftest.err
>&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } && {
35300 test -z "$ac_c_werror_flag" ||
35301 test ! -s conftest.err
35302 } && test -s conftest
$ac_exeext &&
35303 $as_test_x conftest
$ac_exeext; then
35304 eval "$as_ac_var=yes"
35306 echo "$as_me: failed program was:" >&5
35307 sed 's/^/| /' conftest.
$ac_ext >&5
35309 eval "$as_ac_var=no"
35312 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35313 conftest
$ac_exeext conftest.
$ac_ext
35315 ac_res
=`eval echo '${'$as_ac_var'}'`
35316 { echo "$as_me:$LINENO: result: $ac_res" >&5
35317 echo "${ECHO_T}$ac_res" >&6; }
35318 if test `eval echo '${'$as_ac_var'}'` = yes; then
35319 cat >>confdefs.h
<<_ACEOF
35320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35328 ac_cpp
='$CXXCPP $CPPFLAGS'
35329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35333 if test "$ac_cv_func_vsnprintf" = "yes"; then
35334 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35335 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35336 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35340 cat >conftest.
$ac_ext <<_ACEOF
35343 cat confdefs.h
>>conftest.
$ac_ext
35344 cat >>conftest.
$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35348 #include <stdarg.h>
35350 #if __MSL__ >= 0x6000
35352 using namespace std;
35362 vsnprintf(buf, 10u, "%s", ap);
35368 rm -f conftest.
$ac_objext
35369 if { (ac_try
="$ac_compile"
35370 case "(($ac_try" in
35371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35372 *) ac_try_echo=$ac_try;;
35374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35375 (eval "$ac_compile") 2>conftest.er1
35377 grep -v '^ *+' conftest.er1 >conftest.err
35379 cat conftest.err >&5
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); } && {
35382 test -z "$ac_cxx_werror_flag" ||
35383 test ! -s conftest.err
35384 } && test -s conftest.$ac_objext; then
35385 wx_cv_func_vsnprintf_decl=yes
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35390 wx_cv_func_vsnprintf_decl=no
35394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35399 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35401 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35402 cat >>confdefs.h <<\_ACEOF
35403 #define HAVE_VSNPRINTF_DECL 1
35407 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35408 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35409 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35410 echo $ECHO_N "(cached) $ECHO_C" >&6
35413 cat >conftest.$ac_ext <<_ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35421 #include <stdarg.h>
35423 #if __MSL__ >= 0x6000
35425 using namespace std;
35435 const char *fmt = "%s";
35436 vsnprintf(buf, 10u, fmt, ap);
35442 rm -f conftest.$ac_objext
35443 if { (ac_try="$ac_compile"
35444 case "(($ac_try" in
35445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35446 *) ac_try_echo
=$ac_try;;
35448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35449 (eval "$ac_compile") 2>conftest.er1
35451 grep -v '^ *+' conftest.er1
>conftest.err
35453 cat conftest.err
>&5
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); } && {
35456 test -z "$ac_cxx_werror_flag" ||
35457 test ! -s conftest.err
35458 } && test -s conftest.
$ac_objext; then
35459 wx_cv_func_broken_vsnprintf_decl
=no
35461 echo "$as_me: failed program was:" >&5
35462 sed 's/^/| /' conftest.
$ac_ext >&5
35464 wx_cv_func_broken_vsnprintf_decl
=yes
35468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35472 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35473 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35475 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35476 cat >>confdefs.h
<<\_ACEOF
35477 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35484 if test "$ac_cv_func_snprintf" = "yes"; then
35485 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35486 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35487 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35491 cat >conftest.
$ac_ext <<_ACEOF
35494 cat confdefs.h
>>conftest.
$ac_ext
35495 cat >>conftest.
$ac_ext <<_ACEOF
35496 /* end confdefs.h. */
35499 #include <stdarg.h>
35501 #if __MSL__ >= 0x6000
35503 using namespace std;
35512 snprintf(buf, 10u, "%s", "wx");
35518 rm -f conftest.
$ac_objext
35519 if { (ac_try
="$ac_compile"
35520 case "(($ac_try" in
35521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35522 *) ac_try_echo=$ac_try;;
35524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35525 (eval "$ac_compile") 2>conftest.er1
35527 grep -v '^ *+' conftest.er1 >conftest.err
35529 cat conftest.err >&5
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); } && {
35532 test -z "$ac_cxx_werror_flag" ||
35533 test ! -s conftest.err
35534 } && test -s conftest.$ac_objext; then
35535 wx_cv_func_snprintf_decl=yes
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35540 wx_cv_func_snprintf_decl=no
35544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35549 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35551 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35552 cat >>confdefs.h <<\_ACEOF
35553 #define HAVE_SNPRINTF_DECL 1
35558 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35560 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35561 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35562 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 if test "$cross_compiling" = yes; then
35568 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35569 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35570 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35571 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35572 wx_cv_func_snprintf_pos_params=no
35576 cat >conftest.$ac_ext <<_ACEOF
35579 cat confdefs.h >>conftest.$ac_ext
35580 cat >>conftest.$ac_ext <<_ACEOF
35581 /* end confdefs.h. */
35588 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35589 if (strcmp ("2 3 1", buffer) == 0)
35595 rm -f conftest$ac_exeext
35596 if { (ac_try="$ac_link"
35597 case "(($ac_try" in
35598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35599 *) ac_try_echo
=$ac_try;;
35601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35602 (eval "$ac_link") 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35606 { (case "(($ac_try" in
35607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35608 *) ac_try_echo=$ac_try;;
35610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35611 (eval "$ac_try") 2>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 wx_cv_func_snprintf_pos_params=no
35617 echo "$as_me: program exited with status $ac_status" >&5
35618 echo "$as_me: failed program was:" >&5
35619 sed 's/^/| /' conftest.$ac_ext >&5
35621 ( exit $ac_status )
35622 wx_cv_func_snprintf_pos_params=yes
35624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35631 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35632 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35634 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define HAVE_UNIX98_PRINTF 1
35643 if test "$ac_cv_func_vsscanf" = "yes"; then
35644 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35645 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35646 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35647 echo $ECHO_N "(cached) $ECHO_C" >&6
35650 cat >conftest.$ac_ext <<_ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35658 #include <stdarg.h>
35660 #if __MSL__ >= 0x6000
35662 using namespace std;
35672 vsscanf(buf, "%s", args);
35678 rm -f conftest.$ac_objext
35679 if { (ac_try="$ac_compile"
35680 case "(($ac_try" in
35681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35682 *) ac_try_echo
=$ac_try;;
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_compile") 2>conftest.er1
35687 grep -v '^ *+' conftest.er1
>conftest.err
35689 cat conftest.err
>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } && {
35692 test -z "$ac_cxx_werror_flag" ||
35693 test ! -s conftest.err
35694 } && test -s conftest.
$ac_objext; then
35695 wx_cv_func_vsscanf_decl
=yes
35697 echo "$as_me: failed program was:" >&5
35698 sed 's/^/| /' conftest.
$ac_ext >&5
35700 wx_cv_func_vsscanf_decl
=no
35704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35708 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35709 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35711 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35712 cat >>confdefs.h
<<\_ACEOF
35713 #define HAVE_VSSCANF_DECL 1
35719 ac_cpp
='$CPP $CPPFLAGS'
35720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35725 if test "$wxUSE_UNICODE" = yes; then
35727 wchar_headers
="#include <stdio.h>
35728 #include <wchar.h>"
35732 for ac_header
in widec.h
35734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35737 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 cat >conftest.
$ac_ext <<_ACEOF
35743 cat confdefs.h
>>conftest.
$ac_ext
35744 cat >>conftest.
$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 $ac_includes_default
35748 #include <$ac_header>
35750 rm -f conftest.
$ac_objext
35751 if { (ac_try
="$ac_compile"
35752 case "(($ac_try" in
35753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35754 *) ac_try_echo=$ac_try;;
35756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35757 (eval "$ac_compile") 2>conftest.er1
35759 grep -v '^ *+' conftest.er1 >conftest.err
35761 cat conftest.err >&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } && {
35764 test -z "$ac_c_werror_flag" ||
35765 test ! -s conftest.err
35766 } && test -s conftest.$ac_objext; then
35767 eval "$as_ac_Header=yes"
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.$ac_ext >&5
35772 eval "$as_ac_Header=no"
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35777 ac_res=`eval echo '${'$as_ac_Header'}'`
35778 { echo "$as_me:$LINENO: result: $ac_res" >&5
35779 echo "${ECHO_T}$ac_res" >&6; }
35780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35781 cat >>confdefs.h <<_ACEOF
35782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35789 if test "$ac_cv_header_widec_h" = "yes"; then
35790 wchar_headers="$wchar_headers
35791 #include <widec.h>"
35796 for wx_func in putws fputws wprintf vswprintf vswscanf
35798 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35800 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35801 echo $ECHO_N "(cached) $ECHO_C" >&6
35804 cat >conftest.$ac_ext <<_ACEOF
35808 cat confdefs.h >>conftest.$ac_ext
35809 cat >>conftest.$ac_ext <<_ACEOF
35810 /* end confdefs.h. */
35813 $ac_includes_default
35829 rm -f conftest.$ac_objext conftest$ac_exeext
35830 if { (ac_try="$ac_link"
35831 case "(($ac_try" in
35832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35833 *) ac_try_echo
=$ac_try;;
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_link") 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest
$ac_exeext &&
35846 $as_test_x conftest
$ac_exeext; then
35847 eval wx_cv_func_
$wx_func=yes
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.
$ac_ext >&5
35852 eval wx_cv_func_
$wx_func=no
35855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35856 conftest
$ac_exeext conftest.
$ac_ext
35859 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35860 { echo "$as_me:$LINENO: result: $ac_res" >&5
35861 echo "${ECHO_T}$ac_res" >&6; }
35863 if eval test \
$wx_cv_func_$wx_func = yes
35865 cat >>confdefs.h
<<_ACEOF
35866 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35877 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35878 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35879 cat >conftest.
$ac_ext <<_ACEOF
35882 cat confdefs.h
>>conftest.
$ac_ext
35883 cat >>conftest.
$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35894 rm -f conftest.
$ac_objext
35895 if { (ac_try
="$ac_compile"
35896 case "(($ac_try" in
35897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35898 *) ac_try_echo=$ac_try;;
35900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35901 (eval "$ac_compile") 2>conftest.er1
35903 grep -v '^ *+' conftest.er1 >conftest.err
35905 cat conftest.err >&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } && {
35908 test -z "$ac_c_werror_flag" ||
35909 test ! -s conftest.err
35910 } && test -s conftest.$ac_objext; then
35911 { echo "$as_me:$LINENO: result: yes" >&5
35912 echo "${ECHO_T}yes" >&6; }
35913 cat >>confdefs.h <<\_ACEOF
35914 #define HAVE__VSNWPRINTF 1
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35921 { echo "$as_me:$LINENO: result: no" >&5
35922 echo "${ECHO_T}no" >&6; }
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35928 if test "$wxUSE_FILE" = "yes"; then
35930 for wx_func in fsync
35932 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35933 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35934 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35938 cat >conftest.$ac_ext <<_ACEOF
35942 cat confdefs.h >>conftest.$ac_ext
35943 cat >>conftest.$ac_ext <<_ACEOF
35944 /* end confdefs.h. */
35947 $ac_includes_default
35963 rm -f conftest.$ac_objext conftest$ac_exeext
35964 if { (ac_try="$ac_link"
35965 case "(($ac_try" in
35966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35967 *) ac_try_echo
=$ac_try;;
35969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35970 (eval "$ac_link") 2>conftest.er1
35972 grep -v '^ *+' conftest.er1
>conftest.err
35974 cat conftest.err
>&5
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); } && {
35977 test -z "$ac_c_werror_flag" ||
35978 test ! -s conftest.err
35979 } && test -s conftest
$ac_exeext &&
35980 $as_test_x conftest
$ac_exeext; then
35981 eval wx_cv_func_
$wx_func=yes
35983 echo "$as_me: failed program was:" >&5
35984 sed 's/^/| /' conftest.
$ac_ext >&5
35986 eval wx_cv_func_
$wx_func=no
35989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35990 conftest
$ac_exeext conftest.
$ac_ext
35993 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35994 { echo "$as_me:$LINENO: result: $ac_res" >&5
35995 echo "${ECHO_T}$ac_res" >&6; }
35997 if eval test \
$wx_cv_func_$wx_func = yes
35999 cat >>confdefs.h
<<_ACEOF
36000 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36013 ac_cpp
='$CXXCPP $CPPFLAGS'
36014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36019 for wx_func
in round
36021 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36022 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36023 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36027 cat >conftest.
$ac_ext <<_ACEOF
36031 cat confdefs.h
>>conftest.
$ac_ext
36032 cat >>conftest.
$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36036 $ac_includes_default
36052 rm -f conftest.
$ac_objext conftest
$ac_exeext
36053 if { (ac_try
="$ac_link"
36054 case "(($ac_try" in
36055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36056 *) ac_try_echo=$ac_try;;
36058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36059 (eval "$ac_link") 2>conftest.er1
36061 grep -v '^ *+' conftest.er1 >conftest.err
36063 cat conftest.err >&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } && {
36066 test -z "$ac_cxx_werror_flag" ||
36067 test ! -s conftest.err
36068 } && test -s conftest$ac_exeext &&
36069 $as_test_x conftest$ac_exeext; then
36070 eval wx_cv_func_$wx_func=yes
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.$ac_ext >&5
36075 eval wx_cv_func_$wx_func=no
36078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36079 conftest$ac_exeext conftest.$ac_ext
36082 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36083 { echo "$as_me:$LINENO: result: $ac_res" >&5
36084 echo "${ECHO_T}$ac_res" >&6; }
36086 if eval test \$wx_cv_func_$wx_func = yes
36088 cat >>confdefs.h <<_ACEOF
36089 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36100 ac_cpp='$CPP $CPPFLAGS'
36101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36106 if test "$TOOLKIT" != "MSW"; then
36108 if test "$wxUSE_LIBICONV" != "no" ; then
36112 # Check whether --with-libiconv-prefix was given.
36113 if test "${with_libiconv_prefix+set}" = set; then
36114 withval=$with_libiconv_prefix;
36115 for dir in `echo "$withval" | tr : ' '`; do
36116 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36117 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36123 { echo "$as_me:$LINENO: checking for iconv" >&5
36124 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36125 if test "${am_cv_func_iconv+set}" = set; then
36126 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 am_cv_func_iconv="no, consider installing GNU libiconv"
36131 cat >conftest.$ac_ext <<_ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 #include <stdlib.h>
36142 iconv_t cd = iconv_open("","");
36143 iconv(cd,NULL,NULL,NULL,NULL);
36149 rm -f conftest.$ac_objext conftest$ac_exeext
36150 if { (ac_try="$ac_link"
36151 case "(($ac_try" in
36152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36153 *) ac_try_echo
=$ac_try;;
36155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36156 (eval "$ac_link") 2>conftest.er1
36158 grep -v '^ *+' conftest.er1
>conftest.err
36160 cat conftest.err
>&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } && {
36163 test -z "$ac_c_werror_flag" ||
36164 test ! -s conftest.err
36165 } && test -s conftest
$ac_exeext &&
36166 $as_test_x conftest
$ac_exeext; then
36167 am_cv_func_iconv
=yes
36169 echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.
$ac_ext >&5
36175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36176 conftest
$ac_exeext conftest.
$ac_ext
36177 if test "$am_cv_func_iconv" != yes; then
36178 am_save_LIBS
="$LIBS"
36179 LIBS
="$LIBS -liconv"
36180 cat >conftest.
$ac_ext <<_ACEOF
36183 cat confdefs.h
>>conftest.
$ac_ext
36184 cat >>conftest.
$ac_ext <<_ACEOF
36185 /* end confdefs.h. */
36186 #include <stdlib.h>
36191 iconv_t cd = iconv_open("","");
36192 iconv(cd,NULL,NULL,NULL,NULL);
36198 rm -f conftest.
$ac_objext conftest
$ac_exeext
36199 if { (ac_try
="$ac_link"
36200 case "(($ac_try" in
36201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36202 *) ac_try_echo=$ac_try;;
36204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36205 (eval "$ac_link") 2>conftest.er1
36207 grep -v '^ *+' conftest.er1 >conftest.err
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } && {
36212 test -z "$ac_c_werror_flag" ||
36213 test ! -s conftest.err
36214 } && test -s conftest$ac_exeext &&
36215 $as_test_x conftest$ac_exeext; then
36216 am_cv_lib_iconv=yes
36217 am_cv_func_iconv=yes
36219 echo "$as_me: failed program was:" >&5
36220 sed 's/^/| /' conftest.$ac_ext >&5
36225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36226 conftest$ac_exeext conftest.$ac_ext
36227 LIBS="$am_save_LIBS"
36231 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36232 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36233 if test "$am_cv_func_iconv" = yes; then
36235 cat >>confdefs.h <<\_ACEOF
36236 #define HAVE_ICONV 1
36239 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36240 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36241 if test "${wx_cv_func_iconv_const+set}" = set; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36244 cat >conftest.$ac_ext <<_ACEOF
36247 cat confdefs.h >>conftest.$ac_ext
36248 cat >>conftest.$ac_ext <<_ACEOF
36249 /* end confdefs.h. */
36251 #include <stdlib.h>
36257 #if defined(__STDC__) || defined(__cplusplus)
36258 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36271 rm -f conftest.$ac_objext
36272 if { (ac_try="$ac_compile"
36273 case "(($ac_try" in
36274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36275 *) ac_try_echo
=$ac_try;;
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_compile") 2>conftest.er1
36280 grep -v '^ *+' conftest.er1
>conftest.err
36282 cat conftest.err
>&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_c_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest.
$ac_objext; then
36288 wx_cv_func_iconv_const
="no"
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.
$ac_ext >&5
36293 wx_cv_func_iconv_const
="yes"
36297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36300 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36301 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36304 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36305 iconv_const
="const"
36309 cat >>confdefs.h
<<_ACEOF
36310 #define ICONV_CONST $iconv_const
36315 if test "$am_cv_lib_iconv" = yes; then
36320 LIBS
="$LIBICONV $LIBS"
36323 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36325 for ac_func
in sigaction
36327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36330 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36331 echo $ECHO_N "(cached) $ECHO_C" >&6
36333 cat >conftest.
$ac_ext <<_ACEOF
36336 cat confdefs.h
>>conftest.
$ac_ext
36337 cat >>conftest.
$ac_ext <<_ACEOF
36338 /* end confdefs.h. */
36339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36341 #define $ac_func innocuous_$ac_func
36343 /* System header to define __stub macros and hopefully few prototypes,
36344 which can conflict with char $ac_func (); below.
36345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36346 <limits.h> exists even on freestanding compilers. */
36349 # include <limits.h>
36351 # include <assert.h>
36356 /* Override any GCC internal prototype to avoid an error.
36357 Use char because int might match the return type of a GCC
36358 builtin and then its argument prototype would still apply. */
36363 /* The GNU C library defines this for functions which it implements
36364 to always fail with ENOSYS. Some functions are actually named
36365 something starting with __ and the normal name is an alias. */
36366 #if defined __stub_$ac_func || defined __stub___$ac_func
36373 return $ac_func ();
36378 rm -f conftest.
$ac_objext conftest
$ac_exeext
36379 if { (ac_try
="$ac_link"
36380 case "(($ac_try" in
36381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36382 *) ac_try_echo=$ac_try;;
36384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36385 (eval "$ac_link") 2>conftest.er1
36387 grep -v '^ *+' conftest.er1 >conftest.err
36389 cat conftest.err >&5
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); } && {
36392 test -z "$ac_c_werror_flag" ||
36393 test ! -s conftest.err
36394 } && test -s conftest$ac_exeext &&
36395 $as_test_x conftest$ac_exeext; then
36396 eval "$as_ac_var=yes"
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36401 eval "$as_ac_var=no"
36404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36405 conftest$ac_exeext conftest.$ac_ext
36407 ac_res=`eval echo '${'$as_ac_var'}'`
36408 { echo "$as_me:$LINENO: result: $ac_res" >&5
36409 echo "${ECHO_T}$ac_res" >&6; }
36410 if test `eval echo '${'$as_ac_var'}'` = yes; then
36411 cat >>confdefs.h <<_ACEOF
36412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36419 if test "$ac_cv_func_sigaction" = "no"; then
36420 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36421 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36422 wxUSE_ON_FATAL_EXCEPTION=no
36425 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36426 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36427 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36428 if test "${wx_cv_type_sa_handler+set}" = set; then
36429 echo $ECHO_N "(cached) $ECHO_C" >&6
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36438 cat >conftest.$ac_ext <<_ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 #include <signal.h>
36449 extern void testSigHandler(int);
36451 struct sigaction sa;
36452 sa.sa_handler = testSigHandler;
36458 rm -f conftest.$ac_objext
36459 if { (ac_try="$ac_compile"
36460 case "(($ac_try" in
36461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36462 *) ac_try_echo
=$ac_try;;
36464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 (eval "$ac_compile") 2>conftest.er1
36467 grep -v '^ *+' conftest.er1
>conftest.err
36469 cat conftest.err
>&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } && {
36472 test -z "$ac_cxx_werror_flag" ||
36473 test ! -s conftest.err
36474 } && test -s conftest.
$ac_objext; then
36476 wx_cv_type_sa_handler
=int
36479 echo "$as_me: failed program was:" >&5
36480 sed 's/^/| /' conftest.
$ac_ext >&5
36483 wx_cv_type_sa_handler
=void
36487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36489 ac_cpp
='$CPP $CPPFLAGS'
36490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36496 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36497 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36499 cat >>confdefs.h
<<_ACEOF
36500 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36506 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36507 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36508 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36509 if test "${wx_cv_func_backtrace+set}" = set; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 ac_cpp
='$CXXCPP $CPPFLAGS'
36515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36519 cat >conftest.
$ac_ext <<_ACEOF
36522 cat confdefs.h
>>conftest.
$ac_ext
36523 cat >>conftest.
$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 #include <execinfo.h>
36533 backtrace(trace, 1);
36534 messages = backtrace_symbols(trace, 1);
36540 rm -f conftest.
$ac_objext
36541 if { (ac_try
="$ac_compile"
36542 case "(($ac_try" in
36543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36544 *) ac_try_echo=$ac_try;;
36546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36547 (eval "$ac_compile") 2>conftest.er1
36549 grep -v '^ *+' conftest.er1 >conftest.err
36551 cat conftest.err >&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } && {
36554 test -z "$ac_cxx_werror_flag" ||
36555 test ! -s conftest.err
36556 } && test -s conftest.$ac_objext; then
36557 wx_cv_func_backtrace=yes
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.$ac_ext >&5
36562 wx_cv_func_backtrace=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36577 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36580 if test "$wx_cv_func_backtrace" = "no"; then
36581 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36582 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36583 wxUSE_STACKWALKER=no
36585 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36586 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36587 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36588 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 ac_cpp='$CXXCPP $CPPFLAGS'
36593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36597 cat >conftest.$ac_ext <<_ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 #include <cxxabi.h>
36609 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36615 rm -f conftest.$ac_objext conftest$ac_exeext
36616 if { (ac_try="$ac_link"
36617 case "(($ac_try" in
36618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36619 *) ac_try_echo
=$ac_try;;
36621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36622 (eval "$ac_link") 2>conftest.er1
36624 grep -v '^ *+' conftest.er1
>conftest.err
36626 cat conftest.err
>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } && {
36629 test -z "$ac_cxx_werror_flag" ||
36630 test ! -s conftest.err
36631 } && test -s conftest
$ac_exeext &&
36632 $as_test_x conftest
$ac_exeext; then
36633 wx_cv_func_cxa_demangle
=yes
36635 echo "$as_me: failed program was:" >&5
36636 sed 's/^/| /' conftest.
$ac_ext >&5
36638 wx_cv_func_cxa_demangle
=no
36642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36643 conftest
$ac_exeext conftest.
$ac_ext
36645 ac_cpp
='$CPP $CPPFLAGS'
36646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36653 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36654 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36656 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36657 cat >>confdefs.h
<<\_ACEOF
36658 #define HAVE_CXA_DEMANGLE 1
36665 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36666 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36667 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36668 wxUSE_STACKWALKER
=no
36674 for ac_func
in mkstemp mktemp
36676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36679 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 cat >conftest.
$ac_ext <<_ACEOF
36685 cat confdefs.h
>>conftest.
$ac_ext
36686 cat >>conftest.
$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36690 #define $ac_func innocuous_$ac_func
36692 /* System header to define __stub macros and hopefully few prototypes,
36693 which can conflict with char $ac_func (); below.
36694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36695 <limits.h> exists even on freestanding compilers. */
36698 # include <limits.h>
36700 # include <assert.h>
36705 /* Override any GCC internal prototype to avoid an error.
36706 Use char because int might match the return type of a GCC
36707 builtin and then its argument prototype would still apply. */
36712 /* The GNU C library defines this for functions which it implements
36713 to always fail with ENOSYS. Some functions are actually named
36714 something starting with __ and the normal name is an alias. */
36715 #if defined __stub_$ac_func || defined __stub___$ac_func
36722 return $ac_func ();
36727 rm -f conftest.
$ac_objext conftest
$ac_exeext
36728 if { (ac_try
="$ac_link"
36729 case "(($ac_try" in
36730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36731 *) ac_try_echo=$ac_try;;
36733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36734 (eval "$ac_link") 2>conftest.er1
36736 grep -v '^ *+' conftest.er1 >conftest.err
36738 cat conftest.err >&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); } && {
36741 test -z "$ac_c_werror_flag" ||
36742 test ! -s conftest.err
36743 } && test -s conftest$ac_exeext &&
36744 $as_test_x conftest$ac_exeext; then
36745 eval "$as_ac_var=yes"
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.$ac_ext >&5
36750 eval "$as_ac_var=no"
36753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36754 conftest$ac_exeext conftest.$ac_ext
36756 ac_res=`eval echo '${'$as_ac_var'}'`
36757 { echo "$as_me:$LINENO: result: $ac_res" >&5
36758 echo "${ECHO_T}$ac_res" >&6; }
36759 if test `eval echo '${'$as_ac_var'}'` = yes; then
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36768 { echo "$as_me:$LINENO: checking for statfs" >&5
36769 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36770 if test "${wx_cv_func_statfs+set}" = set; then
36771 echo $ECHO_N "(cached) $ECHO_C" >&6
36773 cat >conftest.$ac_ext <<_ACEOF
36776 cat confdefs.h >>conftest.$ac_ext
36777 cat >>conftest.$ac_ext <<_ACEOF
36778 /* end confdefs.h. */
36780 #if defined(__BSD__)
36781 #include <sys/param.h>
36782 #include <sys/mount.h>
36784 #include <sys/vfs.h>
36802 rm -f conftest.$ac_objext
36803 if { (ac_try="$ac_compile"
36804 case "(($ac_try" in
36805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36806 *) ac_try_echo
=$ac_try;;
36808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36809 (eval "$ac_compile") 2>conftest.er1
36811 grep -v '^ *+' conftest.er1
>conftest.err
36813 cat conftest.err
>&5
36814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36815 (exit $ac_status); } && {
36816 test -z "$ac_c_werror_flag" ||
36817 test ! -s conftest.err
36818 } && test -s conftest.
$ac_objext; then
36819 wx_cv_func_statfs
=yes
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.
$ac_ext >&5
36824 wx_cv_func_statfs
=no
36828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36831 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36832 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36834 if test "$wx_cv_func_statfs" = "yes"; then
36835 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36836 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36837 if test "${wx_cv_func_statfs_decl+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 ac_cpp
='$CXXCPP $CPPFLAGS'
36842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36846 cat >conftest.
$ac_ext <<_ACEOF
36849 cat confdefs.h
>>conftest.
$ac_ext
36850 cat >>conftest.
$ac_ext <<_ACEOF
36851 /* end confdefs.h. */
36853 #if defined(__BSD__)
36854 #include <sys/param.h>
36855 #include <sys/mount.h>
36857 #include <sys/vfs.h>
36871 rm -f conftest.
$ac_objext
36872 if { (ac_try
="$ac_compile"
36873 case "(($ac_try" in
36874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36875 *) ac_try_echo=$ac_try;;
36877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36878 (eval "$ac_compile") 2>conftest.er1
36880 grep -v '^ *+' conftest.er1 >conftest.err
36882 cat conftest.err >&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); } && {
36885 test -z "$ac_cxx_werror_flag" ||
36886 test ! -s conftest.err
36887 } && test -s conftest.$ac_objext; then
36888 wx_cv_func_statfs_decl=yes
36890 echo "$as_me: failed program was:" >&5
36891 sed 's/^/| /' conftest.$ac_ext >&5
36893 wx_cv_func_statfs_decl=no
36897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36899 ac_cpp='$CPP $CPPFLAGS'
36900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36906 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36907 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36909 if test "$wx_cv_func_statfs_decl" = "yes"; then
36910 cat >>confdefs.h <<\_ACEOF
36911 #define HAVE_STATFS_DECL 1
36916 wx_cv_type_statvfs_t="struct statfs"
36917 cat >>confdefs.h <<\_ACEOF
36918 #define HAVE_STATFS 1
36922 { echo "$as_me:$LINENO: checking for statvfs" >&5
36923 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36924 if test "${wx_cv_func_statvfs+set}" = set; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 cat >conftest.$ac_ext <<_ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36934 #include <stddef.h>
36935 #include <sys/statvfs.h>
36941 statvfs("/", NULL);
36947 rm -f conftest.$ac_objext
36948 if { (ac_try="$ac_compile"
36949 case "(($ac_try" in
36950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36951 *) ac_try_echo
=$ac_try;;
36953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36954 (eval "$ac_compile") 2>conftest.er1
36956 grep -v '^ *+' conftest.er1
>conftest.err
36958 cat conftest.err
>&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); } && {
36961 test -z "$ac_c_werror_flag" ||
36962 test ! -s conftest.err
36963 } && test -s conftest.
$ac_objext; then
36964 wx_cv_func_statvfs
=yes
36966 echo "$as_me: failed program was:" >&5
36967 sed 's/^/| /' conftest.
$ac_ext >&5
36969 wx_cv_func_statvfs
=no
36973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36976 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36977 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36979 if test "$wx_cv_func_statvfs" = "yes"; then
36980 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36981 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36982 if test "${wx_cv_type_statvfs_t+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36986 ac_cpp
='$CXXCPP $CPPFLAGS'
36987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36991 cat >conftest.
$ac_ext <<_ACEOF
36994 cat confdefs.h
>>conftest.
$ac_ext
36995 cat >>conftest.
$ac_ext <<_ACEOF
36996 /* end confdefs.h. */
36998 #include <sys/statvfs.h>
37015 rm -f conftest.
$ac_objext
37016 if { (ac_try
="$ac_compile"
37017 case "(($ac_try" in
37018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37019 *) ac_try_echo=$ac_try;;
37021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37022 (eval "$ac_compile") 2>conftest.er1
37024 grep -v '^ *+' conftest.er1 >conftest.err
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } && {
37029 test -z "$ac_cxx_werror_flag" ||
37030 test ! -s conftest.err
37031 } && test -s conftest.$ac_objext; then
37032 wx_cv_type_statvfs_t=statvfs_t
37034 echo "$as_me: failed program was:" >&5
37035 sed 's/^/| /' conftest.$ac_ext >&5
37038 cat >conftest.$ac_ext <<_ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37045 #include <sys/statvfs.h>
37062 rm -f conftest.$ac_objext
37063 if { (ac_try="$ac_compile"
37064 case "(($ac_try" in
37065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37066 *) ac_try_echo
=$ac_try;;
37068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37069 (eval "$ac_compile") 2>conftest.er1
37071 grep -v '^ *+' conftest.er1
>conftest.err
37073 cat conftest.err
>&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); } && {
37076 test -z "$ac_cxx_werror_flag" ||
37077 test ! -s conftest.err
37078 } && test -s conftest.
$ac_objext; then
37079 wx_cv_type_statvfs_t
="struct statvfs"
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.
$ac_ext >&5
37084 wx_cv_type_statvfs_t
="unknown"
37088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37095 ac_cpp
='$CPP $CPPFLAGS'
37096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37102 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37103 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37105 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37106 cat >>confdefs.h
<<\_ACEOF
37107 #define HAVE_STATVFS 1
37112 wx_cv_type_statvfs_t
="unknown"
37116 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37117 cat >>confdefs.h
<<_ACEOF
37118 #define WX_STATFS_T $wx_cv_type_statvfs_t
37122 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37123 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37126 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37129 for ac_func
in fcntl flock
37131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37134 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37135 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 cat >conftest.
$ac_ext <<_ACEOF
37140 cat confdefs.h
>>conftest.
$ac_ext
37141 cat >>conftest.
$ac_ext <<_ACEOF
37142 /* end confdefs.h. */
37143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37145 #define $ac_func innocuous_$ac_func
37147 /* System header to define __stub macros and hopefully few prototypes,
37148 which can conflict with char $ac_func (); below.
37149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37150 <limits.h> exists even on freestanding compilers. */
37153 # include <limits.h>
37155 # include <assert.h>
37160 /* Override any GCC internal prototype to avoid an error.
37161 Use char because int might match the return type of a GCC
37162 builtin and then its argument prototype would still apply. */
37167 /* The GNU C library defines this for functions which it implements
37168 to always fail with ENOSYS. Some functions are actually named
37169 something starting with __ and the normal name is an alias. */
37170 #if defined __stub_$ac_func || defined __stub___$ac_func
37177 return $ac_func ();
37182 rm -f conftest.
$ac_objext conftest
$ac_exeext
37183 if { (ac_try
="$ac_link"
37184 case "(($ac_try" in
37185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37186 *) ac_try_echo=$ac_try;;
37188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37189 (eval "$ac_link") 2>conftest.er1
37191 grep -v '^ *+' conftest.er1 >conftest.err
37193 cat conftest.err >&5
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); } && {
37196 test -z "$ac_c_werror_flag" ||
37197 test ! -s conftest.err
37198 } && test -s conftest$ac_exeext &&
37199 $as_test_x conftest$ac_exeext; then
37200 eval "$as_ac_var=yes"
37202 echo "$as_me: failed program was:" >&5
37203 sed 's/^/| /' conftest.$ac_ext >&5
37205 eval "$as_ac_var=no"
37208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37209 conftest$ac_exeext conftest.$ac_ext
37211 ac_res=`eval echo '${'$as_ac_var'}'`
37212 { echo "$as_me:$LINENO: result: $ac_res" >&5
37213 echo "${ECHO_T}$ac_res" >&6; }
37214 if test `eval echo '${'$as_ac_var'}'` = yes; then
37215 cat >>confdefs.h <<_ACEOF
37216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37223 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37224 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37225 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37226 wxUSE_SNGLINST_CHECKER=no
37232 for ac_func in setenv putenv
37234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37235 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37237 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37240 cat >conftest.$ac_ext <<_ACEOF
37243 cat confdefs.h >>conftest.$ac_ext
37244 cat >>conftest.$ac_ext <<_ACEOF
37245 /* end confdefs.h. */
37246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37248 #define $ac_func innocuous_$ac_func
37250 /* System header to define __stub macros and hopefully few prototypes,
37251 which can conflict with char $ac_func (); below.
37252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37253 <limits.h> exists even on freestanding compilers. */
37256 # include <limits.h>
37258 # include <assert.h>
37263 /* Override any GCC internal prototype to avoid an error.
37264 Use char because int might match the return type of a GCC
37265 builtin and then its argument prototype would still apply. */
37270 /* The GNU C library defines this for functions which it implements
37271 to always fail with ENOSYS. Some functions are actually named
37272 something starting with __ and the normal name is an alias. */
37273 #if defined __stub_$ac_func || defined __stub___$ac_func
37280 return $ac_func ();
37285 rm -f conftest.$ac_objext conftest$ac_exeext
37286 if { (ac_try="$ac_link"
37287 case "(($ac_try" in
37288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37289 *) ac_try_echo
=$ac_try;;
37291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37292 (eval "$ac_link") 2>conftest.er1
37294 grep -v '^ *+' conftest.er1
>conftest.err
37296 cat conftest.err
>&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } && {
37299 test -z "$ac_c_werror_flag" ||
37300 test ! -s conftest.err
37301 } && test -s conftest
$ac_exeext &&
37302 $as_test_x conftest
$ac_exeext; then
37303 eval "$as_ac_var=yes"
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.
$ac_ext >&5
37308 eval "$as_ac_var=no"
37311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37312 conftest
$ac_exeext conftest.
$ac_ext
37314 ac_res
=`eval echo '${'$as_ac_var'}'`
37315 { echo "$as_me:$LINENO: result: $ac_res" >&5
37316 echo "${ECHO_T}$ac_res" >&6; }
37317 if test `eval echo '${'$as_ac_var'}'` = yes; then
37318 cat >>confdefs.h
<<_ACEOF
37319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37325 if test "$ac_cv_func_setenv" = "yes"; then
37327 for ac_func
in unsetenv
37329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37330 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37332 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 cat >conftest.
$ac_ext <<_ACEOF
37338 cat confdefs.h
>>conftest.
$ac_ext
37339 cat >>conftest.
$ac_ext <<_ACEOF
37340 /* end confdefs.h. */
37341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37343 #define $ac_func innocuous_$ac_func
37345 /* System header to define __stub macros and hopefully few prototypes,
37346 which can conflict with char $ac_func (); below.
37347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37348 <limits.h> exists even on freestanding compilers. */
37351 # include <limits.h>
37353 # include <assert.h>
37358 /* Override any GCC internal prototype to avoid an error.
37359 Use char because int might match the return type of a GCC
37360 builtin and then its argument prototype would still apply. */
37365 /* The GNU C library defines this for functions which it implements
37366 to always fail with ENOSYS. Some functions are actually named
37367 something starting with __ and the normal name is an alias. */
37368 #if defined __stub_$ac_func || defined __stub___$ac_func
37375 return $ac_func ();
37380 rm -f conftest.
$ac_objext conftest
$ac_exeext
37381 if { (ac_try
="$ac_link"
37382 case "(($ac_try" in
37383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37384 *) ac_try_echo=$ac_try;;
37386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37387 (eval "$ac_link") 2>conftest.er1
37389 grep -v '^ *+' conftest.er1 >conftest.err
37391 cat conftest.err >&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); } && {
37394 test -z "$ac_c_werror_flag" ||
37395 test ! -s conftest.err
37396 } && test -s conftest$ac_exeext &&
37397 $as_test_x conftest$ac_exeext; then
37398 eval "$as_ac_var=yes"
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.$ac_ext >&5
37403 eval "$as_ac_var=no"
37406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37407 conftest$ac_exeext conftest.$ac_ext
37409 ac_res=`eval echo '${'$as_ac_var'}'`
37410 { echo "$as_me:$LINENO: result: $ac_res" >&5
37411 echo "${ECHO_T}$ac_res" >&6; }
37412 if test `eval echo '${'$as_ac_var'}'` = yes; then
37413 cat >>confdefs.h <<_ACEOF
37414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37422 HAVE_SOME_SLEEP_FUNC=0
37423 if test "$USE_BEOS" = 1; then
37424 cat >>confdefs.h <<\_ACEOF
37425 #define HAVE_SLEEP 1
37428 HAVE_SOME_SLEEP_FUNC=1
37431 if test "$USE_DARWIN" = 1; then
37432 cat >>confdefs.h <<\_ACEOF
37433 #define HAVE_USLEEP 1
37436 HAVE_SOME_SLEEP_FUNC=1
37439 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37442 for ac_func in nanosleep
37444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37448 echo $ECHO_N "(cached) $ECHO_C" >&6
37450 cat >conftest.$ac_ext <<_ACEOF
37453 cat confdefs.h >>conftest.$ac_ext
37454 cat >>conftest.$ac_ext <<_ACEOF
37455 /* end confdefs.h. */
37456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37458 #define $ac_func innocuous_$ac_func
37460 /* System header to define __stub macros and hopefully few prototypes,
37461 which can conflict with char $ac_func (); below.
37462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37463 <limits.h> exists even on freestanding compilers. */
37466 # include <limits.h>
37468 # include <assert.h>
37473 /* Override any GCC internal prototype to avoid an error.
37474 Use char because int might match the return type of a GCC
37475 builtin and then its argument prototype would still apply. */
37480 /* The GNU C library defines this for functions which it implements
37481 to always fail with ENOSYS. Some functions are actually named
37482 something starting with __ and the normal name is an alias. */
37483 #if defined __stub_$ac_func || defined __stub___$ac_func
37490 return $ac_func ();
37495 rm -f conftest.$ac_objext conftest$ac_exeext
37496 if { (ac_try="$ac_link"
37497 case "(($ac_try" in
37498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37499 *) ac_try_echo
=$ac_try;;
37501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37502 (eval "$ac_link") 2>conftest.er1
37504 grep -v '^ *+' conftest.er1
>conftest.err
37506 cat conftest.err
>&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); } && {
37509 test -z "$ac_c_werror_flag" ||
37510 test ! -s conftest.err
37511 } && test -s conftest
$ac_exeext &&
37512 $as_test_x conftest
$ac_exeext; then
37513 eval "$as_ac_var=yes"
37515 echo "$as_me: failed program was:" >&5
37516 sed 's/^/| /' conftest.
$ac_ext >&5
37518 eval "$as_ac_var=no"
37521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37522 conftest
$ac_exeext conftest.
$ac_ext
37524 ac_res
=`eval echo '${'$as_ac_var'}'`
37525 { echo "$as_me:$LINENO: result: $ac_res" >&5
37526 echo "${ECHO_T}$ac_res" >&6; }
37527 if test `eval echo '${'$as_ac_var'}'` = yes; then
37528 cat >>confdefs.h
<<_ACEOF
37529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37531 cat >>confdefs.h
<<\_ACEOF
37532 #define HAVE_NANOSLEEP 1
37537 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37538 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37539 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37540 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 ac_check_lib_save_LIBS
=$LIBS
37543 LIBS
="-lposix4 $LIBS"
37544 cat >conftest.
$ac_ext <<_ACEOF
37547 cat confdefs.h
>>conftest.
$ac_ext
37548 cat >>conftest.
$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37551 /* Override any GCC internal prototype to avoid an error.
37552 Use char because int might match the return type of a GCC
37553 builtin and then its argument prototype would still apply. */
37561 return nanosleep ();
37566 rm -f conftest.
$ac_objext conftest
$ac_exeext
37567 if { (ac_try
="$ac_link"
37568 case "(($ac_try" in
37569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37570 *) ac_try_echo=$ac_try;;
37572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37573 (eval "$ac_link") 2>conftest.er1
37575 grep -v '^ *+' conftest.er1 >conftest.err
37577 cat conftest.err >&5
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); } && {
37580 test -z "$ac_c_werror_flag" ||
37581 test ! -s conftest.err
37582 } && test -s conftest$ac_exeext &&
37583 $as_test_x conftest$ac_exeext; then
37584 ac_cv_lib_posix4_nanosleep=yes
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.$ac_ext >&5
37589 ac_cv_lib_posix4_nanosleep=no
37592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37593 conftest$ac_exeext conftest.$ac_ext
37594 LIBS=$ac_check_lib_save_LIBS
37596 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37597 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37598 if test $ac_cv_lib_posix4_nanosleep = yes; then
37600 cat >>confdefs.h <<\_ACEOF
37601 #define HAVE_NANOSLEEP 1
37604 POSIX4_LINK=" -lposix4"
37609 for wx_func in usleep
37611 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37612 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37613 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 cat >conftest.$ac_ext <<_ACEOF
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37626 $ac_includes_default
37642 rm -f conftest.$ac_objext conftest$ac_exeext
37643 if { (ac_try="$ac_link"
37644 case "(($ac_try" in
37645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37646 *) ac_try_echo
=$ac_try;;
37648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37649 (eval "$ac_link") 2>conftest.er1
37651 grep -v '^ *+' conftest.er1
>conftest.err
37653 cat conftest.err
>&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); } && {
37656 test -z "$ac_c_werror_flag" ||
37657 test ! -s conftest.err
37658 } && test -s conftest
$ac_exeext &&
37659 $as_test_x conftest
$ac_exeext; then
37660 eval wx_cv_func_
$wx_func=yes
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.
$ac_ext >&5
37665 eval wx_cv_func_
$wx_func=no
37668 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37669 conftest
$ac_exeext conftest.
$ac_ext
37672 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37673 { echo "$as_me:$LINENO: result: $ac_res" >&5
37674 echo "${ECHO_T}$ac_res" >&6; }
37676 if eval test \
$wx_cv_func_$wx_func = yes
37678 cat >>confdefs.h
<<_ACEOF
37679 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37685 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37686 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37703 for wx_func
in uname
37705 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37706 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37707 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37708 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 cat >conftest.
$ac_ext <<_ACEOF
37715 cat confdefs.h
>>conftest.
$ac_ext
37716 cat >>conftest.
$ac_ext <<_ACEOF
37717 /* end confdefs.h. */
37719 #include <sys/utsname.h>
37720 $ac_includes_default
37736 rm -f conftest.
$ac_objext conftest
$ac_exeext
37737 if { (ac_try
="$ac_link"
37738 case "(($ac_try" in
37739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_link") 2>conftest.er1
37745 grep -v '^ *+' conftest.er1 >conftest.err
37747 cat conftest.err >&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); } && {
37750 test -z "$ac_c_werror_flag" ||
37751 test ! -s conftest.err
37752 } && test -s conftest$ac_exeext &&
37753 $as_test_x conftest$ac_exeext; then
37754 eval wx_cv_func_$wx_func=yes
37756 echo "$as_me: failed program was:" >&5
37757 sed 's/^/| /' conftest.$ac_ext >&5
37759 eval wx_cv_func_$wx_func=no
37762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37763 conftest$ac_exeext conftest.$ac_ext
37766 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37767 { echo "$as_me:$LINENO: result: $ac_res" >&5
37768 echo "${ECHO_T}$ac_res" >&6; }
37770 if eval test \$wx_cv_func_$wx_func = yes
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37783 if test "$wx_cv_func_uname" != yes; then
37785 for wx_func in gethostname
37787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37790 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 cat >conftest.$ac_ext <<_ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37802 $ac_includes_default
37818 rm -f conftest.$ac_objext conftest$ac_exeext
37819 if { (ac_try="$ac_link"
37820 case "(($ac_try" in
37821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37822 *) ac_try_echo
=$ac_try;;
37824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37825 (eval "$ac_link") 2>conftest.er1
37827 grep -v '^ *+' conftest.er1
>conftest.err
37829 cat conftest.err
>&5
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); } && {
37832 test -z "$ac_c_werror_flag" ||
37833 test ! -s conftest.err
37834 } && test -s conftest
$ac_exeext &&
37835 $as_test_x conftest
$ac_exeext; then
37836 eval wx_cv_func_
$wx_func=yes
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.
$ac_ext >&5
37841 eval wx_cv_func_
$wx_func=no
37844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37845 conftest
$ac_exeext conftest.
$ac_ext
37848 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37849 { echo "$as_me:$LINENO: result: $ac_res" >&5
37850 echo "${ECHO_T}$ac_res" >&6; }
37852 if eval test \
$wx_cv_func_$wx_func = yes
37854 cat >>confdefs.h
<<_ACEOF
37855 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37868 for wx_func
in strtok_r
37870 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37872 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37873 echo $ECHO_N "(cached) $ECHO_C" >&6
37876 cat >conftest.
$ac_ext <<_ACEOF
37880 cat confdefs.h
>>conftest.
$ac_ext
37881 cat >>conftest.
$ac_ext <<_ACEOF
37882 /* end confdefs.h. */
37885 $ac_includes_default
37901 rm -f conftest.
$ac_objext conftest
$ac_exeext
37902 if { (ac_try
="$ac_link"
37903 case "(($ac_try" in
37904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37905 *) ac_try_echo=$ac_try;;
37907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37908 (eval "$ac_link") 2>conftest.er1
37910 grep -v '^ *+' conftest.er1 >conftest.err
37912 cat conftest.err >&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); } && {
37915 test -z "$ac_c_werror_flag" ||
37916 test ! -s conftest.err
37917 } && test -s conftest$ac_exeext &&
37918 $as_test_x conftest$ac_exeext; then
37919 eval wx_cv_func_$wx_func=yes
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37924 eval wx_cv_func_$wx_func=no
37927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37928 conftest$ac_exeext conftest.$ac_ext
37931 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37932 { echo "$as_me:$LINENO: result: $ac_res" >&5
37933 echo "${ECHO_T}$ac_res" >&6; }
37935 if eval test \$wx_cv_func_$wx_func = yes
37937 cat >>confdefs.h <<_ACEOF
37938 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37951 for ac_func in inet_addr
37953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37956 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 cat >conftest.$ac_ext <<_ACEOF
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37967 #define $ac_func innocuous_$ac_func
37969 /* System header to define __stub macros and hopefully few prototypes,
37970 which can conflict with char $ac_func (); below.
37971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37972 <limits.h> exists even on freestanding compilers. */
37975 # include <limits.h>
37977 # include <assert.h>
37982 /* Override any GCC internal prototype to avoid an error.
37983 Use char because int might match the return type of a GCC
37984 builtin and then its argument prototype would still apply. */
37989 /* The GNU C library defines this for functions which it implements
37990 to always fail with ENOSYS. Some functions are actually named
37991 something starting with __ and the normal name is an alias. */
37992 #if defined __stub_$ac_func || defined __stub___$ac_func
37999 return $ac_func ();
38004 rm -f conftest.$ac_objext conftest$ac_exeext
38005 if { (ac_try="$ac_link"
38006 case "(($ac_try" in
38007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38008 *) ac_try_echo
=$ac_try;;
38010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38011 (eval "$ac_link") 2>conftest.er1
38013 grep -v '^ *+' conftest.er1
>conftest.err
38015 cat conftest.err
>&5
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); } && {
38018 test -z "$ac_c_werror_flag" ||
38019 test ! -s conftest.err
38020 } && test -s conftest
$ac_exeext &&
38021 $as_test_x conftest
$ac_exeext; then
38022 eval "$as_ac_var=yes"
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.
$ac_ext >&5
38027 eval "$as_ac_var=no"
38030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38031 conftest
$ac_exeext conftest.
$ac_ext
38033 ac_res
=`eval echo '${'$as_ac_var'}'`
38034 { echo "$as_me:$LINENO: result: $ac_res" >&5
38035 echo "${ECHO_T}$ac_res" >&6; }
38036 if test `eval echo '${'$as_ac_var'}'` = yes; then
38037 cat >>confdefs.h
<<_ACEOF
38038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38040 cat >>confdefs.h
<<\_ACEOF
38041 #define HAVE_INET_ADDR 1
38046 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38047 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38048 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 ac_check_lib_save_LIBS
=$LIBS
38053 cat >conftest.
$ac_ext <<_ACEOF
38056 cat confdefs.h
>>conftest.
$ac_ext
38057 cat >>conftest.
$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38060 /* Override any GCC internal prototype to avoid an error.
38061 Use char because int might match the return type of a GCC
38062 builtin and then its argument prototype would still apply. */
38070 return inet_addr ();
38075 rm -f conftest.
$ac_objext conftest
$ac_exeext
38076 if { (ac_try
="$ac_link"
38077 case "(($ac_try" in
38078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_link") 2>conftest.er1
38084 grep -v '^ *+' conftest.er1 >conftest.err
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } && {
38089 test -z "$ac_c_werror_flag" ||
38090 test ! -s conftest.err
38091 } && test -s conftest$ac_exeext &&
38092 $as_test_x conftest$ac_exeext; then
38093 ac_cv_lib_nsl_inet_addr=yes
38095 echo "$as_me: failed program was:" >&5
38096 sed 's/^/| /' conftest.$ac_ext >&5
38098 ac_cv_lib_nsl_inet_addr=no
38101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38102 conftest$ac_exeext conftest.$ac_ext
38103 LIBS=$ac_check_lib_save_LIBS
38105 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38106 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38107 if test $ac_cv_lib_nsl_inet_addr = yes; then
38111 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38112 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38113 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38116 ac_check_lib_save_LIBS=$LIBS
38117 LIBS="-lresolv $LIBS"
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38125 /* Override any GCC internal prototype to avoid an error.
38126 Use char because int might match the return type of a GCC
38127 builtin and then its argument prototype would still apply. */
38135 return inet_addr ();
38140 rm -f conftest.$ac_objext conftest$ac_exeext
38141 if { (ac_try="$ac_link"
38142 case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38144 *) ac_try_echo
=$ac_try;;
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_link") 2>conftest.er1
38149 grep -v '^ *+' conftest.er1
>conftest.err
38151 cat conftest.err
>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_c_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest
$ac_exeext &&
38157 $as_test_x conftest
$ac_exeext; then
38158 ac_cv_lib_resolv_inet_addr
=yes
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.
$ac_ext >&5
38163 ac_cv_lib_resolv_inet_addr
=no
38166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38167 conftest
$ac_exeext conftest.
$ac_ext
38168 LIBS
=$ac_check_lib_save_LIBS
38170 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38171 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38172 if test $ac_cv_lib_resolv_inet_addr = yes; then
38176 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38177 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38178 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38181 ac_check_lib_save_LIBS
=$LIBS
38182 LIBS
="-lsocket $LIBS"
38183 cat >conftest.
$ac_ext <<_ACEOF
38186 cat confdefs.h
>>conftest.
$ac_ext
38187 cat >>conftest.
$ac_ext <<_ACEOF
38188 /* end confdefs.h. */
38190 /* Override any GCC internal prototype to avoid an error.
38191 Use char because int might match the return type of a GCC
38192 builtin and then its argument prototype would still apply. */
38200 return inet_addr ();
38205 rm -f conftest.
$ac_objext conftest
$ac_exeext
38206 if { (ac_try
="$ac_link"
38207 case "(($ac_try" in
38208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_link") 2>conftest.er1
38214 grep -v '^ *+' conftest.er1 >conftest.err
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest$ac_exeext &&
38222 $as_test_x conftest$ac_exeext; then
38223 ac_cv_lib_socket_inet_addr=yes
38225 echo "$as_me: failed program was:" >&5
38226 sed 's/^/| /' conftest.$ac_ext >&5
38228 ac_cv_lib_socket_inet_addr=no
38231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38232 conftest$ac_exeext conftest.$ac_ext
38233 LIBS=$ac_check_lib_save_LIBS
38235 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38236 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38237 if test $ac_cv_lib_socket_inet_addr = yes; then
38257 for ac_func in inet_aton
38259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38263 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 cat >conftest.$ac_ext <<_ACEOF
38268 cat confdefs.h >>conftest.$ac_ext
38269 cat >>conftest.$ac_ext <<_ACEOF
38270 /* end confdefs.h. */
38271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38273 #define $ac_func innocuous_$ac_func
38275 /* System header to define __stub macros and hopefully few prototypes,
38276 which can conflict with char $ac_func (); below.
38277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38278 <limits.h> exists even on freestanding compilers. */
38281 # include <limits.h>
38283 # include <assert.h>
38288 /* Override any GCC internal prototype to avoid an error.
38289 Use char because int might match the return type of a GCC
38290 builtin and then its argument prototype would still apply. */
38295 /* The GNU C library defines this for functions which it implements
38296 to always fail with ENOSYS. Some functions are actually named
38297 something starting with __ and the normal name is an alias. */
38298 #if defined __stub_$ac_func || defined __stub___$ac_func
38305 return $ac_func ();
38310 rm -f conftest.$ac_objext conftest$ac_exeext
38311 if { (ac_try="$ac_link"
38312 case "(($ac_try" in
38313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38314 *) ac_try_echo
=$ac_try;;
38316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38317 (eval "$ac_link") 2>conftest.er1
38319 grep -v '^ *+' conftest.er1
>conftest.err
38321 cat conftest.err
>&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); } && {
38324 test -z "$ac_c_werror_flag" ||
38325 test ! -s conftest.err
38326 } && test -s conftest
$ac_exeext &&
38327 $as_test_x conftest
$ac_exeext; then
38328 eval "$as_ac_var=yes"
38330 echo "$as_me: failed program was:" >&5
38331 sed 's/^/| /' conftest.
$ac_ext >&5
38333 eval "$as_ac_var=no"
38336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38337 conftest
$ac_exeext conftest.
$ac_ext
38339 ac_res
=`eval echo '${'$as_ac_var'}'`
38340 { echo "$as_me:$LINENO: result: $ac_res" >&5
38341 echo "${ECHO_T}$ac_res" >&6; }
38342 if test `eval echo '${'$as_ac_var'}'` = yes; then
38343 cat >>confdefs.h
<<_ACEOF
38344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38346 cat >>confdefs.h
<<\_ACEOF
38347 #define HAVE_INET_ATON 1
38352 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38353 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38354 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38355 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38356 echo $ECHO_N "(cached) $ECHO_C" >&6
38358 ac_check_lib_save_LIBS
=$LIBS
38359 LIBS
="-l$INET_LINK $LIBS"
38360 cat >conftest.
$ac_ext <<_ACEOF
38363 cat confdefs.h
>>conftest.
$ac_ext
38364 cat >>conftest.
$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38367 /* Override any GCC internal prototype to avoid an error.
38368 Use char because int might match the return type of a GCC
38369 builtin and then its argument prototype would still apply. */
38377 return inet_aton ();
38382 rm -f conftest.
$ac_objext conftest
$ac_exeext
38383 if { (ac_try
="$ac_link"
38384 case "(($ac_try" in
38385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38386 *) ac_try_echo=$ac_try;;
38388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38389 (eval "$ac_link") 2>conftest.er1
38391 grep -v '^ *+' conftest.er1 >conftest.err
38393 cat conftest.err >&5
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); } && {
38396 test -z "$ac_c_werror_flag" ||
38397 test ! -s conftest.err
38398 } && test -s conftest$ac_exeext &&
38399 $as_test_x conftest$ac_exeext; then
38400 eval "$as_ac_Lib=yes"
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38405 eval "$as_ac_Lib=no"
38408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38409 conftest$ac_exeext conftest.$ac_ext
38410 LIBS=$ac_check_lib_save_LIBS
38412 ac_res=`eval echo '${'$as_ac_Lib'}'`
38413 { echo "$as_me:$LINENO: result: $ac_res" >&5
38414 echo "${ECHO_T}$ac_res" >&6; }
38415 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38416 cat >>confdefs.h <<\_ACEOF
38417 #define HAVE_INET_ATON 1
38427 if test "x$INET_LINK" != "x"; then
38428 cat >>confdefs.h <<\_ACEOF
38429 #define HAVE_INET_ADDR 1
38432 INET_LINK=" -l$INET_LINK"
38436 for wx_func in fdopen
38438 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38439 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38440 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38441 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 cat >conftest.$ac_ext <<_ACEOF
38448 cat confdefs.h >>conftest.$ac_ext
38449 cat >>conftest.$ac_ext <<_ACEOF
38450 /* end confdefs.h. */
38453 $ac_includes_default
38469 rm -f conftest.$ac_objext conftest$ac_exeext
38470 if { (ac_try="$ac_link"
38471 case "(($ac_try" in
38472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38473 *) ac_try_echo
=$ac_try;;
38475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38476 (eval "$ac_link") 2>conftest.er1
38478 grep -v '^ *+' conftest.er1
>conftest.err
38480 cat conftest.err
>&5
38481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38482 (exit $ac_status); } && {
38483 test -z "$ac_c_werror_flag" ||
38484 test ! -s conftest.err
38485 } && test -s conftest
$ac_exeext &&
38486 $as_test_x conftest
$ac_exeext; then
38487 eval wx_cv_func_
$wx_func=yes
38489 echo "$as_me: failed program was:" >&5
38490 sed 's/^/| /' conftest.
$ac_ext >&5
38492 eval wx_cv_func_
$wx_func=no
38495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38496 conftest
$ac_exeext conftest.
$ac_ext
38499 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38500 { echo "$as_me:$LINENO: result: $ac_res" >&5
38501 echo "${ECHO_T}$ac_res" >&6; }
38503 if eval test \
$wx_cv_func_$wx_func = yes
38505 cat >>confdefs.h
<<_ACEOF
38506 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38517 if test "$wxUSE_TARSTREAM" = "yes"; then
38519 for wx_func
in sysconf
38521 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38522 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38523 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38524 echo $ECHO_N "(cached) $ECHO_C" >&6
38527 cat >conftest.
$ac_ext <<_ACEOF
38531 cat confdefs.h
>>conftest.
$ac_ext
38532 cat >>conftest.
$ac_ext <<_ACEOF
38533 /* end confdefs.h. */
38536 $ac_includes_default
38552 rm -f conftest.
$ac_objext conftest
$ac_exeext
38553 if { (ac_try
="$ac_link"
38554 case "(($ac_try" in
38555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38556 *) ac_try_echo=$ac_try;;
38558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38559 (eval "$ac_link") 2>conftest.er1
38561 grep -v '^ *+' conftest.er1 >conftest.err
38563 cat conftest.err >&5
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); } && {
38566 test -z "$ac_c_werror_flag" ||
38567 test ! -s conftest.err
38568 } && test -s conftest$ac_exeext &&
38569 $as_test_x conftest$ac_exeext; then
38570 eval wx_cv_func_$wx_func=yes
38572 echo "$as_me: failed program was:" >&5
38573 sed 's/^/| /' conftest.$ac_ext >&5
38575 eval wx_cv_func_$wx_func=no
38578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38579 conftest$ac_exeext conftest.$ac_ext
38582 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38583 { echo "$as_me:$LINENO: result: $ac_res" >&5
38584 echo "${ECHO_T}$ac_res" >&6; }
38586 if eval test \$wx_cv_func_$wx_func = yes
38588 cat >>confdefs.h <<_ACEOF
38589 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38601 for wx_func in getpwuid_r
38603 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38604 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38605 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.$ac_ext <<_ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38621 $ac_includes_default
38631 struct passwd pw, *ppw;
38633 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38641 rm -f conftest.$ac_objext conftest$ac_exeext
38642 if { (ac_try="$ac_link"
38643 case "(($ac_try" in
38644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38645 *) ac_try_echo
=$ac_try;;
38647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38648 (eval "$ac_link") 2>conftest.er1
38650 grep -v '^ *+' conftest.er1
>conftest.err
38652 cat conftest.err
>&5
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); } && {
38655 test -z "$ac_c_werror_flag" ||
38656 test ! -s conftest.err
38657 } && test -s conftest
$ac_exeext &&
38658 $as_test_x conftest
$ac_exeext; then
38659 eval wx_cv_func_
$wx_func=yes
38661 echo "$as_me: failed program was:" >&5
38662 sed 's/^/| /' conftest.
$ac_ext >&5
38664 eval wx_cv_func_
$wx_func=no
38667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38668 conftest
$ac_exeext conftest.
$ac_ext
38671 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38672 { echo "$as_me:$LINENO: result: $ac_res" >&5
38673 echo "${ECHO_T}$ac_res" >&6; }
38675 if eval test \
$wx_cv_func_$wx_func = yes
38677 cat >>confdefs.h
<<_ACEOF
38678 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38690 for wx_func
in getgrgid_r
38692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38694 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 cat >conftest.
$ac_ext <<_ACEOF
38702 cat confdefs.h
>>conftest.
$ac_ext
38703 cat >>conftest.
$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38710 $ac_includes_default
38720 struct group grp, *pgrp;
38722 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38730 rm -f conftest.
$ac_objext conftest
$ac_exeext
38731 if { (ac_try
="$ac_link"
38732 case "(($ac_try" in
38733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38734 *) ac_try_echo=$ac_try;;
38736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38737 (eval "$ac_link") 2>conftest.er1
38739 grep -v '^ *+' conftest.er1 >conftest.err
38741 cat conftest.err >&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); } && {
38744 test -z "$ac_c_werror_flag" ||
38745 test ! -s conftest.err
38746 } && test -s conftest$ac_exeext &&
38747 $as_test_x conftest$ac_exeext; then
38748 eval wx_cv_func_$wx_func=yes
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.$ac_ext >&5
38753 eval wx_cv_func_$wx_func=no
38756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38757 conftest$ac_exeext conftest.$ac_ext
38760 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38761 { echo "$as_me:$LINENO: result: $ac_res" >&5
38762 echo "${ECHO_T}$ac_res" >&6; }
38764 if eval test \$wx_cv_func_$wx_func = yes
38766 cat >>confdefs.h <<_ACEOF
38767 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38783 cat >confcache <<\_ACEOF
38784 # This file is a shell script that caches the results of configure
38785 # tests run on this system so they can be shared between configure
38786 # scripts and configure runs, see configure's option --config-cache.
38787 # It is not useful on other systems. If it contains results you don't
38788 # want to keep, you may remove or edit it.
38790 # config.status only pays attention to the cache file if you give it
38791 # the --recheck option to rerun configure.
38793 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38795 # following values.
38799 # The following way of writing the cache mishandles newlines in values,
38800 # but we know of no workaround that is simple, portable, and efficient.
38801 # So, we kill variables containing newlines.
38802 # Ultrix sh set writes to stderr and can't be redirected directly,
38803 # and sets the high bit in the cache file unless we assign to the vars.
38805 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38806 eval ac_val
=\$
$ac_var
38810 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38811 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38814 _
| IFS
| as_nl
) ;; #(
38815 *) $as_unset $ac_var ;;
38821 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38822 *${as_nl}ac_space
=\
*)
38823 # `set' does not quote correctly, so add quotes (double-quote
38824 # substitution turns \\\\ into \\, and sed turns \\ into \).
38827 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38830 # `set' quotes correctly as required by POSIX, so do not add quotes.
38831 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38840 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38842 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38844 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38845 if test -w "$cache_file"; then
38846 test "x$cache_file" != "x/dev/null" &&
38847 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38848 echo "$as_me: updating cache $cache_file" >&6;}
38849 cat confcache
>$cache_file
38851 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38852 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38858 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38864 if test "$wxUSE_THREADS" = "yes" ; then
38865 if test "$USE_BEOS" = 1; then
38866 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38867 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38872 if test "$wxUSE_THREADS" = "yes" ; then
38875 THREAD_OPTS
="-pthread"
38876 if test "x$SUNCXX" = xyes
; then
38877 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38881 *-*-solaris2* | *-*-sunos4* )
38882 if test "x$GCC" = "xyes"; then
38883 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38887 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38889 *-*-darwin* | *-*-cygwin* )
38893 THREAD_OPTS
="pthreads"
38896 if test "x$GCC" = "xyes"; then
38897 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38905 if test "x$GCC" = "xyes"; then
38911 if test "x$GCC" != "xyes"; then
38912 THREAD_OPTS
="-Ethread"
38917 THREAD_OPTS
="$THREAD_OPTS pthread none"
38920 for flag
in $THREAD_OPTS; do
38923 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38924 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38928 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38929 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38930 THREADS_CFLAGS
="$flag"
38934 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38935 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38936 THREADS_LINK
="-l$flag"
38941 save_CFLAGS
="$CFLAGS"
38942 LIBS
="$THREADS_LINK $LIBS"
38943 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38945 cat >conftest.
$ac_ext <<_ACEOF
38948 cat confdefs.h
>>conftest.
$ac_ext
38949 cat >>conftest.
$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 #include <pthread.h>
38955 pthread_create(0,0,0,0);
38960 rm -f conftest.
$ac_objext conftest
$ac_exeext
38961 if { (ac_try
="$ac_link"
38962 case "(($ac_try" in
38963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38964 *) ac_try_echo=$ac_try;;
38966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38967 (eval "$ac_link") 2>conftest.er1
38969 grep -v '^ *+' conftest.er1 >conftest.err
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } && {
38974 test -z "$ac_c_werror_flag" ||
38975 test ! -s conftest.err
38976 } && test -s conftest$ac_exeext &&
38977 $as_test_x conftest$ac_exeext; then
38980 echo "$as_me: failed program was:" >&5
38981 sed 's/^/| /' conftest.$ac_ext >&5
38986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38987 conftest$ac_exeext conftest.$ac_ext
38990 CFLAGS="$save_CFLAGS"
38992 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38993 echo "${ECHO_T}$THREADS_OK" >&6; }
38994 if test "x$THREADS_OK" = "xyes"; then
39002 if test "x$THREADS_OK" != "xyes"; then
39004 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39005 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39007 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39008 LIBS="$THREADS_LINK $LIBS"
39010 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39011 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39015 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39016 flag="-D_THREAD_SAFE"
39019 flag="-D_THREAD_SAFE"
39022 flag="-D_REENTRANT"
39023 if test "x$GCC" != "xyes"; then
39024 flag="$flag -D_RWSTD_MULTI_THREAD"
39027 *solaris* | alpha*-osf*)
39028 flag="-D_REENTRANT"
39031 { echo "$as_me:$LINENO: result: ${flag}" >&5
39032 echo "${ECHO_T}${flag}" >&6; }
39033 if test "x$flag" != xno; then
39034 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39037 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39041 if test "$wxUSE_THREADS" = "yes" ; then
39043 for ac_func in thr_setconcurrency
39045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39049 echo $ECHO_N "(cached) $ECHO_C" >&6
39051 cat >conftest.$ac_ext <<_ACEOF
39054 cat confdefs.h >>conftest.$ac_ext
39055 cat >>conftest.$ac_ext <<_ACEOF
39056 /* end confdefs.h. */
39057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39059 #define $ac_func innocuous_$ac_func
39061 /* System header to define __stub macros and hopefully few prototypes,
39062 which can conflict with char $ac_func (); below.
39063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39064 <limits.h> exists even on freestanding compilers. */
39067 # include <limits.h>
39069 # include <assert.h>
39074 /* Override any GCC internal prototype to avoid an error.
39075 Use char because int might match the return type of a GCC
39076 builtin and then its argument prototype would still apply. */
39081 /* The GNU C library defines this for functions which it implements
39082 to always fail with ENOSYS. Some functions are actually named
39083 something starting with __ and the normal name is an alias. */
39084 #if defined __stub_$ac_func || defined __stub___$ac_func
39091 return $ac_func ();
39096 rm -f conftest.$ac_objext conftest$ac_exeext
39097 if { (ac_try="$ac_link"
39098 case "(($ac_try" in
39099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39100 *) ac_try_echo
=$ac_try;;
39102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39103 (eval "$ac_link") 2>conftest.er1
39105 grep -v '^ *+' conftest.er1
>conftest.err
39107 cat conftest.err
>&5
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); } && {
39110 test -z "$ac_c_werror_flag" ||
39111 test ! -s conftest.err
39112 } && test -s conftest
$ac_exeext &&
39113 $as_test_x conftest
$ac_exeext; then
39114 eval "$as_ac_var=yes"
39116 echo "$as_me: failed program was:" >&5
39117 sed 's/^/| /' conftest.
$ac_ext >&5
39119 eval "$as_ac_var=no"
39122 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39123 conftest
$ac_exeext conftest.
$ac_ext
39125 ac_res
=`eval echo '${'$as_ac_var'}'`
39126 { echo "$as_me:$LINENO: result: $ac_res" >&5
39127 echo "${ECHO_T}$ac_res" >&6; }
39128 if test `eval echo '${'$as_ac_var'}'` = yes; then
39129 cat >>confdefs.h
<<_ACEOF
39130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39137 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39138 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39139 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39144 ac_cpp
='$CXXCPP $CPPFLAGS'
39145 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39149 cat >conftest.
$ac_ext <<_ACEOF
39152 cat confdefs.h
>>conftest.
$ac_ext
39153 cat >>conftest.
$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 #include <pthread.h>
39156 void ThreadCleanupFunc(void *p);
39163 pthread_cleanup_push(ThreadCleanupFunc, p);
39164 pthread_cleanup_pop(0);
39170 rm -f conftest.
$ac_objext
39171 if { (ac_try
="$ac_compile"
39172 case "(($ac_try" in
39173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_compile") 2>conftest.er1
39179 grep -v '^ *+' conftest.er1 >conftest.err
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_cxx_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest.$ac_objext; then
39188 wx_cv_func_pthread_cleanup=yes
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.$ac_ext >&5
39195 wx_cv_func_pthread_cleanup=no
39200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39202 ac_cpp='$CPP $CPPFLAGS'
39203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39209 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39210 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39211 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39212 cat >>confdefs.h <<\_ACEOF
39213 #define wxHAVE_PTHREAD_CLEANUP 1
39219 for ac_header in sched.h
39221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39225 echo $ECHO_N "(cached) $ECHO_C" >&6
39227 cat >conftest.$ac_ext <<_ACEOF
39230 cat confdefs.h >>conftest.$ac_ext
39231 cat >>conftest.$ac_ext <<_ACEOF
39232 /* end confdefs.h. */
39233 $ac_includes_default
39235 #include <$ac_header>
39237 rm -f conftest.$ac_objext
39238 if { (ac_try="$ac_compile"
39239 case "(($ac_try" in
39240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39241 *) ac_try_echo
=$ac_try;;
39243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39244 (eval "$ac_compile") 2>conftest.er1
39246 grep -v '^ *+' conftest.er1
>conftest.err
39248 cat conftest.err
>&5
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); } && {
39251 test -z "$ac_c_werror_flag" ||
39252 test ! -s conftest.err
39253 } && test -s conftest.
$ac_objext; then
39254 eval "$as_ac_Header=yes"
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.
$ac_ext >&5
39259 eval "$as_ac_Header=no"
39262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39264 ac_res
=`eval echo '${'$as_ac_Header'}'`
39265 { echo "$as_me:$LINENO: result: $ac_res" >&5
39266 echo "${ECHO_T}$ac_res" >&6; }
39267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39268 cat >>confdefs.h
<<_ACEOF
39269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39276 if test "$ac_cv_header_sched_h" = "yes"; then
39277 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39278 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39279 if test "${ac_cv_func_sched_yield+set}" = set; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39282 cat >conftest.
$ac_ext <<_ACEOF
39285 cat confdefs.h
>>conftest.
$ac_ext
39286 cat >>conftest.
$ac_ext <<_ACEOF
39287 /* end confdefs.h. */
39288 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39290 #define sched_yield innocuous_sched_yield
39292 /* System header to define __stub macros and hopefully few prototypes,
39293 which can conflict with char sched_yield (); below.
39294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39295 <limits.h> exists even on freestanding compilers. */
39298 # include <limits.h>
39300 # include <assert.h>
39305 /* Override any GCC internal prototype to avoid an error.
39306 Use char because int might match the return type of a GCC
39307 builtin and then its argument prototype would still apply. */
39311 char sched_yield ();
39312 /* The GNU C library defines this for functions which it implements
39313 to always fail with ENOSYS. Some functions are actually named
39314 something starting with __ and the normal name is an alias. */
39315 #if defined __stub_sched_yield || defined __stub___sched_yield
39322 return sched_yield ();
39327 rm -f conftest.
$ac_objext conftest
$ac_exeext
39328 if { (ac_try
="$ac_link"
39329 case "(($ac_try" in
39330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39331 *) ac_try_echo=$ac_try;;
39333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39334 (eval "$ac_link") 2>conftest.er1
39336 grep -v '^ *+' conftest.er1 >conftest.err
39338 cat conftest.err >&5
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); } && {
39341 test -z "$ac_c_werror_flag" ||
39342 test ! -s conftest.err
39343 } && test -s conftest$ac_exeext &&
39344 $as_test_x conftest$ac_exeext; then
39345 ac_cv_func_sched_yield=yes
39347 echo "$as_me: failed program was:" >&5
39348 sed 's/^/| /' conftest.$ac_ext >&5
39350 ac_cv_func_sched_yield=no
39353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39354 conftest$ac_exeext conftest.$ac_ext
39356 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39357 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39358 if test $ac_cv_func_sched_yield = yes; then
39359 cat >>confdefs.h <<\_ACEOF
39360 #define HAVE_SCHED_YIELD 1
39365 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39366 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39367 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39368 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 ac_check_lib_save_LIBS=$LIBS
39371 LIBS="-lposix4 $LIBS"
39372 cat >conftest.$ac_ext <<_ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39379 /* Override any GCC internal prototype to avoid an error.
39380 Use char because int might match the return type of a GCC
39381 builtin and then its argument prototype would still apply. */
39385 char sched_yield ();
39389 return sched_yield ();
39394 rm -f conftest.$ac_objext conftest$ac_exeext
39395 if { (ac_try="$ac_link"
39396 case "(($ac_try" in
39397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39398 *) ac_try_echo
=$ac_try;;
39400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39401 (eval "$ac_link") 2>conftest.er1
39403 grep -v '^ *+' conftest.er1
>conftest.err
39405 cat conftest.err
>&5
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); } && {
39408 test -z "$ac_c_werror_flag" ||
39409 test ! -s conftest.err
39410 } && test -s conftest
$ac_exeext &&
39411 $as_test_x conftest
$ac_exeext; then
39412 ac_cv_lib_posix4_sched_yield
=yes
39414 echo "$as_me: failed program was:" >&5
39415 sed 's/^/| /' conftest.
$ac_ext >&5
39417 ac_cv_lib_posix4_sched_yield
=no
39420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39421 conftest
$ac_exeext conftest.
$ac_ext
39422 LIBS
=$ac_check_lib_save_LIBS
39424 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39425 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39426 if test $ac_cv_lib_posix4_sched_yield = yes; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define HAVE_SCHED_YIELD 1
39430 POSIX4_LINK
=" -lposix4"
39432 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39433 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39444 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39445 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39446 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 cat >conftest.
$ac_ext <<_ACEOF
39452 cat confdefs.h
>>conftest.
$ac_ext
39453 cat >>conftest.
$ac_ext <<_ACEOF
39454 /* end confdefs.h. */
39455 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39457 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39459 /* System header to define __stub macros and hopefully few prototypes,
39460 which can conflict with char pthread_attr_getschedpolicy (); below.
39461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39462 <limits.h> exists even on freestanding compilers. */
39465 # include <limits.h>
39467 # include <assert.h>
39470 #undef pthread_attr_getschedpolicy
39472 /* Override any GCC internal prototype to avoid an error.
39473 Use char because int might match the return type of a GCC
39474 builtin and then its argument prototype would still apply. */
39478 char pthread_attr_getschedpolicy ();
39479 /* The GNU C library defines this for functions which it implements
39480 to always fail with ENOSYS. Some functions are actually named
39481 something starting with __ and the normal name is an alias. */
39482 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39489 return pthread_attr_getschedpolicy ();
39494 rm -f conftest.
$ac_objext conftest
$ac_exeext
39495 if { (ac_try
="$ac_link"
39496 case "(($ac_try" in
39497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_link") 2>conftest.er1
39503 grep -v '^ *+' conftest.er1 >conftest.err
39505 cat conftest.err >&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } && {
39508 test -z "$ac_c_werror_flag" ||
39509 test ! -s conftest.err
39510 } && test -s conftest$ac_exeext &&
39511 $as_test_x conftest$ac_exeext; then
39512 ac_cv_func_pthread_attr_getschedpolicy=yes
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.$ac_ext >&5
39517 ac_cv_func_pthread_attr_getschedpolicy=no
39520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39521 conftest$ac_exeext conftest.$ac_ext
39523 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39524 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39525 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39526 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39527 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39528 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39529 echo $ECHO_N "(cached) $ECHO_C" >&6
39531 cat >conftest.$ac_ext <<_ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39539 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39541 /* System header to define __stub macros and hopefully few prototypes,
39542 which can conflict with char pthread_attr_setschedparam (); below.
39543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39544 <limits.h> exists even on freestanding compilers. */
39547 # include <limits.h>
39549 # include <assert.h>
39552 #undef pthread_attr_setschedparam
39554 /* Override any GCC internal prototype to avoid an error.
39555 Use char because int might match the return type of a GCC
39556 builtin and then its argument prototype would still apply. */
39560 char pthread_attr_setschedparam ();
39561 /* The GNU C library defines this for functions which it implements
39562 to always fail with ENOSYS. Some functions are actually named
39563 something starting with __ and the normal name is an alias. */
39564 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39571 return pthread_attr_setschedparam ();
39576 rm -f conftest.$ac_objext conftest$ac_exeext
39577 if { (ac_try="$ac_link"
39578 case "(($ac_try" in
39579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39580 *) ac_try_echo
=$ac_try;;
39582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39583 (eval "$ac_link") 2>conftest.er1
39585 grep -v '^ *+' conftest.er1
>conftest.err
39587 cat conftest.err
>&5
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); } && {
39590 test -z "$ac_c_werror_flag" ||
39591 test ! -s conftest.err
39592 } && test -s conftest
$ac_exeext &&
39593 $as_test_x conftest
$ac_exeext; then
39594 ac_cv_func_pthread_attr_setschedparam
=yes
39596 echo "$as_me: failed program was:" >&5
39597 sed 's/^/| /' conftest.
$ac_ext >&5
39599 ac_cv_func_pthread_attr_setschedparam
=no
39602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39603 conftest
$ac_exeext conftest.
$ac_ext
39605 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39606 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39607 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39608 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39609 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39610 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39611 echo $ECHO_N "(cached) $ECHO_C" >&6
39613 cat >conftest.
$ac_ext <<_ACEOF
39616 cat confdefs.h
>>conftest.
$ac_ext
39617 cat >>conftest.
$ac_ext <<_ACEOF
39618 /* end confdefs.h. */
39619 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39621 #define sched_get_priority_max innocuous_sched_get_priority_max
39623 /* System header to define __stub macros and hopefully few prototypes,
39624 which can conflict with char sched_get_priority_max (); below.
39625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39626 <limits.h> exists even on freestanding compilers. */
39629 # include <limits.h>
39631 # include <assert.h>
39634 #undef sched_get_priority_max
39636 /* Override any GCC internal prototype to avoid an error.
39637 Use char because int might match the return type of a GCC
39638 builtin and then its argument prototype would still apply. */
39642 char sched_get_priority_max ();
39643 /* The GNU C library defines this for functions which it implements
39644 to always fail with ENOSYS. Some functions are actually named
39645 something starting with __ and the normal name is an alias. */
39646 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39653 return sched_get_priority_max ();
39658 rm -f conftest.
$ac_objext conftest
$ac_exeext
39659 if { (ac_try
="$ac_link"
39660 case "(($ac_try" in
39661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39662 *) ac_try_echo=$ac_try;;
39664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39665 (eval "$ac_link") 2>conftest.er1
39667 grep -v '^ *+' conftest.er1 >conftest.err
39669 cat conftest.err >&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); } && {
39672 test -z "$ac_c_werror_flag" ||
39673 test ! -s conftest.err
39674 } && test -s conftest$ac_exeext &&
39675 $as_test_x conftest$ac_exeext; then
39676 ac_cv_func_sched_get_priority_max=yes
39678 echo "$as_me: failed program was:" >&5
39679 sed 's/^/| /' conftest.$ac_ext >&5
39681 ac_cv_func_sched_get_priority_max=no
39684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39685 conftest$ac_exeext conftest.$ac_ext
39687 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39688 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39689 if test $ac_cv_func_sched_get_priority_max = yes; then
39692 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39693 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39694 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39697 ac_check_lib_save_LIBS=$LIBS
39698 LIBS="-lposix4 $LIBS"
39699 cat >conftest.$ac_ext <<_ACEOF
39702 cat confdefs.h >>conftest.$ac_ext
39703 cat >>conftest.$ac_ext <<_ACEOF
39704 /* end confdefs.h. */
39706 /* Override any GCC internal prototype to avoid an error.
39707 Use char because int might match the return type of a GCC
39708 builtin and then its argument prototype would still apply. */
39712 char sched_get_priority_max ();
39716 return sched_get_priority_max ();
39721 rm -f conftest.$ac_objext conftest$ac_exeext
39722 if { (ac_try="$ac_link"
39723 case "(($ac_try" in
39724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39725 *) ac_try_echo
=$ac_try;;
39727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39728 (eval "$ac_link") 2>conftest.er1
39730 grep -v '^ *+' conftest.er1
>conftest.err
39732 cat conftest.err
>&5
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); } && {
39735 test -z "$ac_c_werror_flag" ||
39736 test ! -s conftest.err
39737 } && test -s conftest
$ac_exeext &&
39738 $as_test_x conftest
$ac_exeext; then
39739 ac_cv_lib_posix4_sched_get_priority_max
=yes
39741 echo "$as_me: failed program was:" >&5
39742 sed 's/^/| /' conftest.
$ac_ext >&5
39744 ac_cv_lib_posix4_sched_get_priority_max
=no
39747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39748 conftest
$ac_exeext conftest.
$ac_ext
39749 LIBS
=$ac_check_lib_save_LIBS
39751 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39752 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39753 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39756 POSIX4_LINK
=" -lposix4"
39770 if test "$HAVE_PRIOR_FUNCS" = 1; then
39771 cat >>confdefs.h
<<\_ACEOF
39772 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39776 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39777 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39780 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39781 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39782 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39783 echo $ECHO_N "(cached) $ECHO_C" >&6
39785 cat >conftest.
$ac_ext <<_ACEOF
39788 cat confdefs.h
>>conftest.
$ac_ext
39789 cat >>conftest.
$ac_ext <<_ACEOF
39790 /* end confdefs.h. */
39791 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39793 #define pthread_cancel innocuous_pthread_cancel
39795 /* System header to define __stub macros and hopefully few prototypes,
39796 which can conflict with char pthread_cancel (); below.
39797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39798 <limits.h> exists even on freestanding compilers. */
39801 # include <limits.h>
39803 # include <assert.h>
39806 #undef pthread_cancel
39808 /* Override any GCC internal prototype to avoid an error.
39809 Use char because int might match the return type of a GCC
39810 builtin and then its argument prototype would still apply. */
39814 char pthread_cancel ();
39815 /* The GNU C library defines this for functions which it implements
39816 to always fail with ENOSYS. Some functions are actually named
39817 something starting with __ and the normal name is an alias. */
39818 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39825 return pthread_cancel ();
39830 rm -f conftest.
$ac_objext conftest
$ac_exeext
39831 if { (ac_try
="$ac_link"
39832 case "(($ac_try" in
39833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39834 *) ac_try_echo=$ac_try;;
39836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39837 (eval "$ac_link") 2>conftest.er1
39839 grep -v '^ *+' conftest.er1 >conftest.err
39841 cat conftest.err >&5
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); } && {
39844 test -z "$ac_c_werror_flag" ||
39845 test ! -s conftest.err
39846 } && test -s conftest$ac_exeext &&
39847 $as_test_x conftest$ac_exeext; then
39848 ac_cv_func_pthread_cancel=yes
39850 echo "$as_me: failed program was:" >&5
39851 sed 's/^/| /' conftest.$ac_ext >&5
39853 ac_cv_func_pthread_cancel=no
39856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39857 conftest$ac_exeext conftest.$ac_ext
39859 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39860 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39861 if test $ac_cv_func_pthread_cancel = yes; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define HAVE_PTHREAD_CANCEL 1
39867 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39868 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39872 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39873 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39874 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39875 echo $ECHO_N "(cached) $ECHO_C" >&6
39877 cat >conftest.$ac_ext <<_ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39885 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39887 /* System header to define __stub macros and hopefully few prototypes,
39888 which can conflict with char pthread_mutex_timedlock (); below.
39889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39890 <limits.h> exists even on freestanding compilers. */
39893 # include <limits.h>
39895 # include <assert.h>
39898 #undef pthread_mutex_timedlock
39900 /* Override any GCC internal prototype to avoid an error.
39901 Use char because int might match the return type of a GCC
39902 builtin and then its argument prototype would still apply. */
39906 char pthread_mutex_timedlock ();
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39917 return pthread_mutex_timedlock ();
39922 rm -f conftest.$ac_objext conftest$ac_exeext
39923 if { (ac_try="$ac_link"
39924 case "(($ac_try" in
39925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39926 *) ac_try_echo
=$ac_try;;
39928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39929 (eval "$ac_link") 2>conftest.er1
39931 grep -v '^ *+' conftest.er1
>conftest.err
39933 cat conftest.err
>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } && {
39936 test -z "$ac_c_werror_flag" ||
39937 test ! -s conftest.err
39938 } && test -s conftest
$ac_exeext &&
39939 $as_test_x conftest
$ac_exeext; then
39940 ac_cv_func_pthread_mutex_timedlock
=yes
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.
$ac_ext >&5
39945 ac_cv_func_pthread_mutex_timedlock
=no
39948 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39949 conftest
$ac_exeext conftest.
$ac_ext
39951 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39952 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39953 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39954 cat >>confdefs.h
<<\_ACEOF
39955 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39959 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39960 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39964 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39965 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39966 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 cat >conftest.
$ac_ext <<_ACEOF
39972 cat confdefs.h
>>conftest.
$ac_ext
39973 cat >>conftest.
$ac_ext <<_ACEOF
39974 /* end confdefs.h. */
39975 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39977 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39979 /* System header to define __stub macros and hopefully few prototypes,
39980 which can conflict with char pthread_attr_setstacksize (); below.
39981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39982 <limits.h> exists even on freestanding compilers. */
39985 # include <limits.h>
39987 # include <assert.h>
39990 #undef pthread_attr_setstacksize
39992 /* Override any GCC internal prototype to avoid an error.
39993 Use char because int might match the return type of a GCC
39994 builtin and then its argument prototype would still apply. */
39998 char pthread_attr_setstacksize ();
39999 /* The GNU C library defines this for functions which it implements
40000 to always fail with ENOSYS. Some functions are actually named
40001 something starting with __ and the normal name is an alias. */
40002 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40009 return pthread_attr_setstacksize ();
40014 rm -f conftest.
$ac_objext conftest
$ac_exeext
40015 if { (ac_try
="$ac_link"
40016 case "(($ac_try" in
40017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40018 *) ac_try_echo=$ac_try;;
40020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40021 (eval "$ac_link") 2>conftest.er1
40023 grep -v '^ *+' conftest.er1 >conftest.err
40025 cat conftest.err >&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); } && {
40028 test -z "$ac_c_werror_flag" ||
40029 test ! -s conftest.err
40030 } && test -s conftest$ac_exeext &&
40031 $as_test_x conftest$ac_exeext; then
40032 ac_cv_func_pthread_attr_setstacksize=yes
40034 echo "$as_me: failed program was:" >&5
40035 sed 's/^/| /' conftest.$ac_ext >&5
40037 ac_cv_func_pthread_attr_setstacksize=no
40040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40041 conftest$ac_exeext conftest.$ac_ext
40043 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40044 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40045 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40046 cat >>confdefs.h <<\_ACEOF
40047 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40054 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40055 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40056 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 cat >conftest.$ac_ext <<_ACEOF
40063 cat confdefs.h >>conftest.$ac_ext
40064 cat >>conftest.$ac_ext <<_ACEOF
40065 /* end confdefs.h. */
40066 #include <pthread.h>
40071 pthread_mutexattr_t attr;
40072 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40078 rm -f conftest.$ac_objext
40079 if { (ac_try="$ac_compile"
40080 case "(($ac_try" in
40081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40082 *) ac_try_echo
=$ac_try;;
40084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40085 (eval "$ac_compile") 2>conftest.er1
40087 grep -v '^ *+' conftest.er1
>conftest.err
40089 cat conftest.err
>&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); } && {
40092 test -z "$ac_c_werror_flag" ||
40093 test ! -s conftest.err
40094 } && test -s conftest.
$ac_objext; then
40095 wx_cv_type_pthread_mutexattr_t
=yes
40097 echo "$as_me: failed program was:" >&5
40098 sed 's/^/| /' conftest.
$ac_ext >&5
40100 wx_cv_type_pthread_mutexattr_t
=no
40104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40107 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40108 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40110 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40111 cat >>confdefs.h
<<\_ACEOF
40112 #define HAVE_PTHREAD_MUTEXATTR_T 1
40116 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40117 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40118 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40119 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 cat >conftest.
$ac_ext <<_ACEOF
40125 cat confdefs.h
>>conftest.
$ac_ext
40126 cat >>conftest.
$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40128 #include <pthread.h>
40133 pthread_mutexattr_t attr;
40134 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40140 rm -f conftest.
$ac_objext
40141 if { (ac_try
="$ac_compile"
40142 case "(($ac_try" in
40143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40144 *) ac_try_echo=$ac_try;;
40146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40147 (eval "$ac_compile") 2>conftest.er1
40149 grep -v '^ *+' conftest.er1 >conftest.err
40151 cat conftest.err >&5
40152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153 (exit $ac_status); } && {
40154 test -z "$ac_c_werror_flag" ||
40155 test ! -s conftest.err
40156 } && test -s conftest.$ac_objext; then
40157 wx_cv_func_pthread_mutexattr_settype_decl=yes
40159 echo "$as_me: failed program was:" >&5
40160 sed 's/^/| /' conftest.$ac_ext >&5
40162 wx_cv_func_pthread_mutexattr_settype_decl=no
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40169 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40170 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40171 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40172 cat >>confdefs.h <<\_ACEOF
40173 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40178 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40179 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40180 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 cat >conftest.$ac_ext <<_ACEOF
40187 cat confdefs.h >>conftest.$ac_ext
40188 cat >>conftest.$ac_ext <<_ACEOF
40189 /* end confdefs.h. */
40190 #include <pthread.h>
40195 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40201 rm -f conftest.$ac_objext
40202 if { (ac_try="$ac_compile"
40203 case "(($ac_try" in
40204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40205 *) ac_try_echo
=$ac_try;;
40207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40208 (eval "$ac_compile") 2>conftest.er1
40210 grep -v '^ *+' conftest.er1
>conftest.err
40212 cat conftest.err
>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); } && {
40215 test -z "$ac_c_werror_flag" ||
40216 test ! -s conftest.err
40217 } && test -s conftest.
$ac_objext; then
40219 wx_cv_type_pthread_rec_mutex_init
=yes
40222 echo "$as_me: failed program was:" >&5
40223 sed 's/^/| /' conftest.
$ac_ext >&5
40226 wx_cv_type_pthread_rec_mutex_init
=no
40231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40234 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40235 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40236 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40237 cat >>confdefs.h
<<\_ACEOF
40238 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40242 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40243 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40247 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40248 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40249 if test "${wx_cv_cc___thread+set}" = set; then
40250 echo $ECHO_N "(cached) $ECHO_C" >&6
40253 cat >conftest.
$ac_ext <<_ACEOF
40256 cat confdefs.h
>>conftest.
$ac_ext
40257 cat >>conftest.
$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259 #include <pthread.h>
40264 static __thread int n = 0;
40265 static __thread int *p = 0;
40271 rm -f conftest.
$ac_objext
40272 if { (ac_try
="$ac_compile"
40273 case "(($ac_try" in
40274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40275 *) ac_try_echo=$ac_try;;
40277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40278 (eval "$ac_compile") 2>conftest.er1
40280 grep -v '^ *+' conftest.er1 >conftest.err
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } && {
40285 test -z "$ac_c_werror_flag" ||
40286 test ! -s conftest.err
40287 } && test -s conftest.$ac_objext; then
40288 wx_cv_cc___thread=yes
40290 echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40293 wx_cv_cc___thread=no
40297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40301 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40302 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40304 if test "$wx_cv_cc___thread" = "yes"; then
40310 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40311 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40313 if test "x$GCC" = "xyes" ; then
40315 if test -z "" ; then
40317 ax_gcc_option_test="int main()
40324 ax_gcc_option_test=""
40329 # Dump the test program to file
40330 cat <<EOF > conftest.c
40331 $ax_gcc_option_test
40334 # Dump back the file to the log, useful for debugging purposes
40335 { ac_try='cat conftest.c 1>&5'
40336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40337 (eval $ac_try) 2>&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); }; }
40342 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40344 (eval $ac_try) 2>&5
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); }; } ; then
40349 { echo "$as_me:$LINENO: result: yes" >&5
40350 echo "${ECHO_T}yes" >&6; }
40352 ax_gcc_version_option=yes
40357 { echo "$as_me:$LINENO: result: no" >&5
40358 echo "${ECHO_T}no" >&6; }
40360 ax_gcc_version_option=no
40368 { echo "$as_me:$LINENO: result: no gcc available" >&5
40369 echo "${ECHO_T}no gcc available" >&6; }
40374 if test "x$GXX" = "xyes"; then
40376 if test "x$ax_gxx_version_option" != "no"; then
40378 { echo "$as_me:$LINENO: checking gxx version" >&5
40379 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40380 if test "${ax_cv_gxx_version+set}" = set; then
40381 echo $ECHO_N "(cached) $ECHO_C" >&6
40384 ax_cv_gxx_version="`$CXX -dumpversion`"
40385 if test "x$ax_cv_gxx_version" = "x"; then
40387 ax_cv_gxx_version=""
40393 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40394 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40395 GXX_VERSION=$ax_cv_gxx_version
40404 if test -n "$ax_cv_gxx_version"; then
40405 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40406 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40407 case "$ax_cv_gxx_version" in
40409 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40410 echo "${ECHO_T}no, it's broken" >&6; }
40411 wx_cv_cc___thread=no
40414 { echo "$as_me:$LINENO: result: yes, it works" >&5
40415 echo "${ECHO_T}yes, it works" >&6; }
40421 if test "$wx_cv_cc___thread" = "yes"; then
40422 cat >>confdefs.h <<\_ACEOF
40423 #define HAVE___THREAD_KEYWORD 1
40430 if test "$wxUSE_THREADS" = "yes" ; then
40432 x86_64-*-mingw32* )
40435 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40436 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40437 if test "${wx_cv_cflags_mthread+set}" = set; then
40438 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 CFLAGS_OLD="$CFLAGS"
40442 CFLAGS="-mthreads $CFLAGS"
40443 cat >conftest.$ac_ext <<_ACEOF
40446 cat confdefs.h >>conftest.$ac_ext
40447 cat >>conftest.$ac_ext <<_ACEOF
40448 /* end confdefs.h. */
40458 rm -f conftest.$ac_objext
40459 if { (ac_try="$ac_compile"
40460 case "(($ac_try" in
40461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40462 *) ac_try_echo
=$ac_try;;
40464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40465 (eval "$ac_compile") 2>conftest.er1
40467 grep -v '^ *+' conftest.er1
>conftest.err
40469 cat conftest.err
>&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } && {
40472 test -z "$ac_c_werror_flag" ||
40473 test ! -s conftest.err
40474 } && test -s conftest.
$ac_objext; then
40475 wx_cv_cflags_mthread
=yes
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.
$ac_ext >&5
40480 wx_cv_cflags_mthread
=no
40484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40488 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40489 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40491 if test "$wx_cv_cflags_mthread" = "yes"; then
40492 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40493 LDFLAGS
="$LDFLAGS -mthreads"
40495 CFLAGS
="$CFLAGS_OLD"
40499 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40500 LDFLAGS
="$LDFLAGS -Zmt"
40506 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40507 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40508 if test "${ac_cv_func_localtime_r+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 cat >conftest.
$ac_ext <<_ACEOF
40514 cat confdefs.h
>>conftest.
$ac_ext
40515 cat >>conftest.
$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40519 #define localtime_r innocuous_localtime_r
40521 /* System header to define __stub macros and hopefully few prototypes,
40522 which can conflict with char localtime_r (); below.
40523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40524 <limits.h> exists even on freestanding compilers. */
40527 # include <limits.h>
40529 # include <assert.h>
40534 /* Override any GCC internal prototype to avoid an error.
40535 Use char because int might match the return type of a GCC
40536 builtin and then its argument prototype would still apply. */
40540 char localtime_r ();
40541 /* The GNU C library defines this for functions which it implements
40542 to always fail with ENOSYS. Some functions are actually named
40543 something starting with __ and the normal name is an alias. */
40544 #if defined __stub_localtime_r || defined __stub___localtime_r
40551 return localtime_r ();
40556 rm -f conftest.
$ac_objext conftest
$ac_exeext
40557 if { (ac_try
="$ac_link"
40558 case "(($ac_try" in
40559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40560 *) ac_try_echo=$ac_try;;
40562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40563 (eval "$ac_link") 2>conftest.er1
40565 grep -v '^ *+' conftest.er1 >conftest.err
40567 cat conftest.err >&5
40568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40569 (exit $ac_status); } && {
40570 test -z "$ac_c_werror_flag" ||
40571 test ! -s conftest.err
40572 } && test -s conftest$ac_exeext &&
40573 $as_test_x conftest$ac_exeext; then
40574 ac_cv_func_localtime_r=yes
40576 echo "$as_me: failed program was:" >&5
40577 sed 's/^/| /' conftest.$ac_ext >&5
40579 ac_cv_func_localtime_r=no
40582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40583 conftest$ac_exeext conftest.$ac_ext
40585 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40586 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40587 if test $ac_cv_func_localtime_r = yes; then
40588 cat >>confdefs.h <<\_ACEOF
40589 #define HAVE_LOCALTIME_R 1
40594 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40595 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40596 if test "${ac_cv_func_gmtime_r+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 cat >conftest.$ac_ext <<_ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h. */
40605 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40607 #define gmtime_r innocuous_gmtime_r
40609 /* System header to define __stub macros and hopefully few prototypes,
40610 which can conflict with char gmtime_r (); below.
40611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40612 <limits.h> exists even on freestanding compilers. */
40615 # include <limits.h>
40617 # include <assert.h>
40622 /* Override any GCC internal prototype to avoid an error.
40623 Use char because int might match the return type of a GCC
40624 builtin and then its argument prototype would still apply. */
40629 /* The GNU C library defines this for functions which it implements
40630 to always fail with ENOSYS. Some functions are actually named
40631 something starting with __ and the normal name is an alias. */
40632 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40639 return gmtime_r ();
40644 rm -f conftest.$ac_objext conftest$ac_exeext
40645 if { (ac_try="$ac_link"
40646 case "(($ac_try" in
40647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40648 *) ac_try_echo
=$ac_try;;
40650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40651 (eval "$ac_link") 2>conftest.er1
40653 grep -v '^ *+' conftest.er1
>conftest.err
40655 cat conftest.err
>&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); } && {
40658 test -z "$ac_c_werror_flag" ||
40659 test ! -s conftest.err
40660 } && test -s conftest
$ac_exeext &&
40661 $as_test_x conftest
$ac_exeext; then
40662 ac_cv_func_gmtime_r
=yes
40664 echo "$as_me: failed program was:" >&5
40665 sed 's/^/| /' conftest.
$ac_ext >&5
40667 ac_cv_func_gmtime_r
=no
40670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40671 conftest
$ac_exeext conftest.
$ac_ext
40673 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40674 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40675 if test $ac_cv_func_gmtime_r = yes; then
40676 cat >>confdefs.h
<<\_ACEOF
40677 #define HAVE_GMTIME_R 1
40686 ac_cpp
='$CPP $CPPFLAGS'
40687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40691 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40692 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40694 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40695 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 ################################################################
40701 ac_cv_func_which_gethostbyname_r
=unknown
40704 # ONE ARGUMENT (sanity check)
40707 # This should fail, as there is no variant of gethostbyname_r() that takes
40708 # a single argument. If it actually compiles, then we can assume that
40709 # netdb.h is not declaring the function, and the compiler is thereby
40710 # assuming an implicit prototype. In which case, we're out of luck.
40712 cat >conftest.
$ac_ext <<_ACEOF
40715 cat confdefs.h
>>conftest.
$ac_ext
40716 cat >>conftest.
$ac_ext <<_ACEOF
40717 /* end confdefs.h. */
40723 char *name = "www.gnu.org";
40724 (void)gethostbyname_r(name) /* ; */
40730 rm -f conftest.
$ac_objext
40731 if { (ac_try
="$ac_compile"
40732 case "(($ac_try" in
40733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40734 *) ac_try_echo=$ac_try;;
40736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40737 (eval "$ac_compile") 2>conftest.er1
40739 grep -v '^ *+' conftest.er1 >conftest.err
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } && {
40744 test -z "$ac_c_werror_flag" ||
40745 test ! -s conftest.err
40746 } && test -s conftest.$ac_objext; then
40747 ac_cv_func_which_gethostbyname_r=no
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40764 cat >conftest.$ac_ext <<_ACEOF
40767 cat confdefs.h >>conftest.$ac_ext
40768 cat >>conftest.$ac_ext <<_ACEOF
40769 /* end confdefs.h. */
40775 char *name = "www.gnu.org";
40776 struct hostent ret, *retp;
40780 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40786 rm -f conftest.$ac_objext
40787 if { (ac_try="$ac_compile"
40788 case "(($ac_try" in
40789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40790 *) ac_try_echo
=$ac_try;;
40792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40793 (eval "$ac_compile") 2>conftest.er1
40795 grep -v '^ *+' conftest.er1
>conftest.err
40797 cat conftest.err
>&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } && {
40800 test -z "$ac_c_werror_flag" ||
40801 test ! -s conftest.err
40802 } && test -s conftest.
$ac_objext; then
40803 ac_cv_func_which_gethostbyname_r
=six
40805 echo "$as_me: failed program was:" >&5
40806 sed 's/^/| /' conftest.
$ac_ext >&5
40811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40820 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40822 cat >conftest.
$ac_ext <<_ACEOF
40825 cat confdefs.h
>>conftest.
$ac_ext
40826 cat >>conftest.
$ac_ext <<_ACEOF
40827 /* end confdefs.h. */
40833 char *name = "www.gnu.org";
40834 struct hostent ret;
40838 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40844 rm -f conftest.
$ac_objext
40845 if { (ac_try
="$ac_compile"
40846 case "(($ac_try" in
40847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_compile") 2>conftest.er1
40853 grep -v '^ *+' conftest.er1 >conftest.err
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest.$ac_objext; then
40861 ac_cv_func_which_gethostbyname_r=five
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40875 # (e.g. AIX, HP-UX, Tru64)
40878 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40880 cat >conftest.$ac_ext <<_ACEOF
40883 cat confdefs.h >>conftest.$ac_ext
40884 cat >>conftest.$ac_ext <<_ACEOF
40885 /* end confdefs.h. */
40891 char *name = "www.gnu.org";
40892 struct hostent ret;
40893 struct hostent_data data;
40894 (void)gethostbyname_r(name, &ret, &data) /* ; */
40900 rm -f conftest.$ac_objext
40901 if { (ac_try="$ac_compile"
40902 case "(($ac_try" in
40903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40904 *) ac_try_echo
=$ac_try;;
40906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40907 (eval "$ac_compile") 2>conftest.er1
40909 grep -v '^ *+' conftest.er1
>conftest.err
40911 cat conftest.err
>&5
40912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40913 (exit $ac_status); } && {
40914 test -z "$ac_c_werror_flag" ||
40915 test ! -s conftest.err
40916 } && test -s conftest.
$ac_objext; then
40917 ac_cv_func_which_gethostbyname_r
=three
40919 echo "$as_me: failed program was:" >&5
40920 sed 's/^/| /' conftest.
$ac_ext >&5
40925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40929 ################################################################
40934 case "$ac_cv_func_which_gethostbyname_r" in
40936 { echo "$as_me:$LINENO: result: three" >&5
40937 echo "${ECHO_T}three" >&6; }
40938 cat >>confdefs.h
<<\_ACEOF
40939 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40945 { echo "$as_me:$LINENO: result: five" >&5
40946 echo "${ECHO_T}five" >&6; }
40947 cat >>confdefs.h
<<\_ACEOF
40948 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40954 { echo "$as_me:$LINENO: result: six" >&5
40955 echo "${ECHO_T}six" >&6; }
40956 cat >>confdefs.h
<<\_ACEOF
40957 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40963 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40964 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40968 { echo "$as_me:$LINENO: result: can't tell" >&5
40969 echo "${ECHO_T}can't tell" >&6; }
40973 { { echo "$as_me:$LINENO: error: internal error" >&5
40974 echo "$as_me: error: internal error" >&2;}
40975 { (exit 1); exit 1; }; }
40980 ac_cpp
='$CPP $CPPFLAGS'
40981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40987 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40988 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40989 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40990 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40991 if test "${ac_cv_func_gethostbyname+set}" = set; then
40992 echo $ECHO_N "(cached) $ECHO_C" >&6
40994 cat >conftest.
$ac_ext <<_ACEOF
40997 cat confdefs.h
>>conftest.
$ac_ext
40998 cat >>conftest.
$ac_ext <<_ACEOF
40999 /* end confdefs.h. */
41000 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41002 #define gethostbyname innocuous_gethostbyname
41004 /* System header to define __stub macros and hopefully few prototypes,
41005 which can conflict with char gethostbyname (); below.
41006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41007 <limits.h> exists even on freestanding compilers. */
41010 # include <limits.h>
41012 # include <assert.h>
41015 #undef gethostbyname
41017 /* Override any GCC internal prototype to avoid an error.
41018 Use char because int might match the return type of a GCC
41019 builtin and then its argument prototype would still apply. */
41023 char gethostbyname ();
41024 /* The GNU C library defines this for functions which it implements
41025 to always fail with ENOSYS. Some functions are actually named
41026 something starting with __ and the normal name is an alias. */
41027 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41034 return gethostbyname ();
41039 rm -f conftest.
$ac_objext conftest
$ac_exeext
41040 if { (ac_try
="$ac_link"
41041 case "(($ac_try" in
41042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41043 *) ac_try_echo=$ac_try;;
41045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41046 (eval "$ac_link") 2>conftest.er1
41048 grep -v '^ *+' conftest.er1 >conftest.err
41050 cat conftest.err >&5
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); } && {
41053 test -z "$ac_c_werror_flag" ||
41054 test ! -s conftest.err
41055 } && test -s conftest$ac_exeext &&
41056 $as_test_x conftest$ac_exeext; then
41057 ac_cv_func_gethostbyname=yes
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.$ac_ext >&5
41062 ac_cv_func_gethostbyname=no
41065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41066 conftest$ac_exeext conftest.$ac_ext
41068 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41069 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41070 if test $ac_cv_func_gethostbyname = yes; then
41071 cat >>confdefs.h <<\_ACEOF
41072 #define HAVE_GETHOSTBYNAME 1
41079 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41080 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41081 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41082 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41092 cat >conftest.$ac_ext <<_ACEOF
41095 cat confdefs.h >>conftest.$ac_ext
41096 cat >>conftest.$ac_ext <<_ACEOF
41097 /* end confdefs.h. */
41105 struct servent *se, *res;
41108 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41114 rm -f conftest.$ac_objext
41115 if { (ac_try="$ac_compile"
41116 case "(($ac_try" in
41117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41118 *) ac_try_echo
=$ac_try;;
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_compile") 2>conftest.er1
41123 grep -v '^ *+' conftest.er1
>conftest.err
41125 cat conftest.err
>&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_cxx_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest.
$ac_objext; then
41131 ac_cv_func_which_getservbyname_r
=six
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.
$ac_ext >&5
41137 cat >conftest.
$ac_ext <<_ACEOF
41140 cat confdefs.h
>>conftest.
$ac_ext
41141 cat >>conftest.
$ac_ext <<_ACEOF
41142 /* end confdefs.h. */
41150 struct servent *se;
41153 (void) getservbyname_r(name, proto, se, buffer, buflen)
41159 rm -f conftest.
$ac_objext
41160 if { (ac_try
="$ac_compile"
41161 case "(($ac_try" in
41162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41163 *) ac_try_echo=$ac_try;;
41165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41166 (eval "$ac_compile") 2>conftest.er1
41168 grep -v '^ *+' conftest.er1 >conftest.err
41170 cat conftest.err >&5
41171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172 (exit $ac_status); } && {
41173 test -z "$ac_cxx_werror_flag" ||
41174 test ! -s conftest.err
41175 } && test -s conftest.$ac_objext; then
41176 ac_cv_func_which_getservbyname_r=five
41178 echo "$as_me: failed program was:" >&5
41179 sed 's/^/| /' conftest.$ac_ext >&5
41182 cat >conftest.$ac_ext <<_ACEOF
41185 cat confdefs.h >>conftest.$ac_ext
41186 cat >>conftest.$ac_ext <<_ACEOF
41187 /* end confdefs.h. */
41195 struct servent *se;
41196 struct servent_data data;
41197 (void) getservbyname_r(name, proto, se, &data);
41203 rm -f conftest.$ac_objext
41204 if { (ac_try="$ac_compile"
41205 case "(($ac_try" in
41206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41207 *) ac_try_echo
=$ac_try;;
41209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41210 (eval "$ac_compile") 2>conftest.er1
41212 grep -v '^ *+' conftest.er1
>conftest.err
41214 cat conftest.err
>&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } && {
41217 test -z "$ac_cxx_werror_flag" ||
41218 test ! -s conftest.err
41219 } && test -s conftest.
$ac_objext; then
41220 ac_cv_func_which_getservbyname_r
=four
41222 echo "$as_me: failed program was:" >&5
41223 sed 's/^/| /' conftest.
$ac_ext >&5
41225 ac_cv_func_which_getservbyname_r
=no
41229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41241 ac_cpp
='$CPP $CPPFLAGS'
41242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41249 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41250 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41252 if test $ac_cv_func_which_getservbyname_r = six
; then
41253 cat >>confdefs.h
<<\_ACEOF
41254 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41257 elif test $ac_cv_func_which_getservbyname_r = five
; then
41258 cat >>confdefs.h
<<\_ACEOF
41259 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41262 elif test $ac_cv_func_which_getservbyname_r = four
; then
41263 cat >>confdefs.h
<<\_ACEOF
41264 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41270 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41271 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41273 for ac_func
in getservbyname
41275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41278 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41279 echo $ECHO_N "(cached) $ECHO_C" >&6
41281 cat >conftest.
$ac_ext <<_ACEOF
41284 cat confdefs.h
>>conftest.
$ac_ext
41285 cat >>conftest.
$ac_ext <<_ACEOF
41286 /* end confdefs.h. */
41287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41289 #define $ac_func innocuous_$ac_func
41291 /* System header to define __stub macros and hopefully few prototypes,
41292 which can conflict with char $ac_func (); below.
41293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41294 <limits.h> exists even on freestanding compilers. */
41297 # include <limits.h>
41299 # include <assert.h>
41304 /* Override any GCC internal prototype to avoid an error.
41305 Use char because int might match the return type of a GCC
41306 builtin and then its argument prototype would still apply. */
41311 /* The GNU C library defines this for functions which it implements
41312 to always fail with ENOSYS. Some functions are actually named
41313 something starting with __ and the normal name is an alias. */
41314 #if defined __stub_$ac_func || defined __stub___$ac_func
41321 return $ac_func ();
41326 rm -f conftest.
$ac_objext conftest
$ac_exeext
41327 if { (ac_try
="$ac_link"
41328 case "(($ac_try" in
41329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41330 *) ac_try_echo=$ac_try;;
41332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41333 (eval "$ac_link") 2>conftest.er1
41335 grep -v '^ *+' conftest.er1 >conftest.err
41337 cat conftest.err >&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); } && {
41340 test -z "$ac_c_werror_flag" ||
41341 test ! -s conftest.err
41342 } && test -s conftest$ac_exeext &&
41343 $as_test_x conftest$ac_exeext; then
41344 eval "$as_ac_var=yes"
41346 echo "$as_me: failed program was:" >&5
41347 sed 's/^/| /' conftest.$ac_ext >&5
41349 eval "$as_ac_var=no"
41352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41353 conftest$ac_exeext conftest.$ac_ext
41355 ac_res=`eval echo '${'$as_ac_var'}'`
41356 { echo "$as_me:$LINENO: result: $ac_res" >&5
41357 echo "${ECHO_T}$ac_res" >&6; }
41358 if test `eval echo '${'$as_ac_var'}'` = yes; then
41359 cat >>confdefs.h <<_ACEOF
41360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41362 cat >>confdefs.h <<\_ACEOF
41363 #define HAVE_GETSERVBYNAME 1
41371 if test "$wxUSE_THREADS" = "yes"; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define wxUSE_THREADS 1
41377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41379 if test "$wx_cv_func_strtok_r" = "yes"; then
41380 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41381 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41382 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41383 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41384 { echo "$as_me:$LINENO: result: yes" >&5
41385 echo "${ECHO_T}yes" >&6; }
41387 { echo "$as_me:$LINENO: result: no" >&5
41388 echo "${ECHO_T}no" >&6; }
41393 if test "$WXGTK2" = 1 ; then
41394 cat >>confdefs.h <<_ACEOF
41395 #define __WXGTK20__ $WXGTK2
41401 if test "$WXGTK12" = 1 ; then
41402 cat >>confdefs.h <<_ACEOF
41403 #define __WXGTK12__ $WXGTK12
41408 if test "$WXGTK127" = 1 ; then
41409 cat >>confdefs.h <<_ACEOF
41410 #define __WXGTK127__ $WXGTK127
41415 if test "$WXGPE" = 1 ; then
41416 cat >>confdefs.h <<_ACEOF
41417 #define __WXGPE__ $WXGPE
41423 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41424 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41425 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41426 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41430 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41431 wxUSE_DEBUG_INFO=yes
41432 if test "$GCC" = yes; then
41433 DEBUG_CFLAGS="-ggdb"
41437 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41438 cat >>confdefs.h <<\_ACEOF
41442 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41444 if test "$wxUSE_GTK" = 1 ; then
41445 if test "x$wxGTK_VERSION" = "x1" ; then
41446 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41451 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41452 cat >>confdefs.h <<\_ACEOF
41453 #define wxUSE_MEMORY_TRACING 1
41456 cat >>confdefs.h <<\_ACEOF
41457 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41460 cat >>confdefs.h <<\_ACEOF
41461 #define wxUSE_DEBUG_NEW_ALWAYS 1
41464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41467 if test "$wxUSE_DMALLOC" = "yes" ; then
41468 DMALLOC_LIBS="-ldmallocthcxx"
41472 if test "$wxUSE_PROFILE" = "yes" ; then
41473 PROFILE_FLAGS=" -pg"
41476 if test "$GCC" = "yes" ; then
41477 if test "$wxUSE_NO_RTTI" = "yes" ; then
41478 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41480 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41481 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41483 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41484 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41489 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41492 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41498 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41499 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41500 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41502 if test "$wxUSE_OPTIMISE" = "no" ; then
41503 if test "$GCC" = yes ; then
41504 OPTIMISE_CFLAGS="-O0"
41507 if test "$GCC" = yes ; then
41509 *-pc-os2_emx | *-pc-os2-emx )
41510 OPTIMISE_CFLAGS="-O2"
41513 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41517 OPTIMISE_CFLAGS="-O"
41523 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define WXWIN_COMPATIBILITY_2_6 1
41529 WXWIN_COMPATIBILITY_2_8="yes"
41532 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41533 cat >>confdefs.h <<\_ACEOF
41534 #define WXWIN_COMPATIBILITY_2_8 1
41540 if test "$wxUSE_GUI" = "yes"; then
41541 cat >>confdefs.h <<\_ACEOF
41542 #define wxUSE_GUI 1
41549 if test "$wxUSE_UNIX" = "yes"; then
41550 cat >>confdefs.h <<\_ACEOF
41551 #define wxUSE_UNIX 1
41557 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41561 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41562 if test "$USE_DOS" = 1; then
41566 for ac_func in dlopen
41568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41569 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41571 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41572 echo $ECHO_N "(cached) $ECHO_C" >&6
41574 cat >conftest.$ac_ext <<_ACEOF
41577 cat confdefs.h >>conftest.$ac_ext
41578 cat >>conftest.$ac_ext <<_ACEOF
41579 /* end confdefs.h. */
41580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41582 #define $ac_func innocuous_$ac_func
41584 /* System header to define __stub macros and hopefully few prototypes,
41585 which can conflict with char $ac_func (); below.
41586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41587 <limits.h> exists even on freestanding compilers. */
41590 # include <limits.h>
41592 # include <assert.h>
41597 /* Override any GCC internal prototype to avoid an error.
41598 Use char because int might match the return type of a GCC
41599 builtin and then its argument prototype would still apply. */
41604 /* The GNU C library defines this for functions which it implements
41605 to always fail with ENOSYS. Some functions are actually named
41606 something starting with __ and the normal name is an alias. */
41607 #if defined __stub_$ac_func || defined __stub___$ac_func
41614 return $ac_func ();
41619 rm -f conftest.$ac_objext conftest$ac_exeext
41620 if { (ac_try="$ac_link"
41621 case "(($ac_try" in
41622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41623 *) ac_try_echo
=$ac_try;;
41625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41626 (eval "$ac_link") 2>conftest.er1
41628 grep -v '^ *+' conftest.er1
>conftest.err
41630 cat conftest.err
>&5
41631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632 (exit $ac_status); } && {
41633 test -z "$ac_c_werror_flag" ||
41634 test ! -s conftest.err
41635 } && test -s conftest
$ac_exeext &&
41636 $as_test_x conftest
$ac_exeext; then
41637 eval "$as_ac_var=yes"
41639 echo "$as_me: failed program was:" >&5
41640 sed 's/^/| /' conftest.
$ac_ext >&5
41642 eval "$as_ac_var=no"
41645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41646 conftest
$ac_exeext conftest.
$ac_ext
41648 ac_res
=`eval echo '${'$as_ac_var'}'`
41649 { echo "$as_me:$LINENO: result: $ac_res" >&5
41650 echo "${ECHO_T}$ac_res" >&6; }
41651 if test `eval echo '${'$as_ac_var'}'` = yes; then
41652 cat >>confdefs.h
<<_ACEOF
41653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41656 cat >>confdefs.h
<<\_ACEOF
41657 #define HAVE_DLOPEN 1
41664 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41665 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41669 ac_check_lib_save_LIBS
=$LIBS
41671 cat >conftest.
$ac_ext <<_ACEOF
41674 cat confdefs.h
>>conftest.
$ac_ext
41675 cat >>conftest.
$ac_ext <<_ACEOF
41676 /* end confdefs.h. */
41678 /* Override any GCC internal prototype to avoid an error.
41679 Use char because int might match the return type of a GCC
41680 builtin and then its argument prototype would still apply. */
41693 rm -f conftest.
$ac_objext conftest
$ac_exeext
41694 if { (ac_try
="$ac_link"
41695 case "(($ac_try" in
41696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41697 *) ac_try_echo=$ac_try;;
41699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41700 (eval "$ac_link") 2>conftest.er1
41702 grep -v '^ *+' conftest.er1 >conftest.err
41704 cat conftest.err >&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } && {
41707 test -z "$ac_c_werror_flag" ||
41708 test ! -s conftest.err
41709 } && test -s conftest$ac_exeext &&
41710 $as_test_x conftest$ac_exeext; then
41711 ac_cv_lib_dl_dlopen=yes
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41716 ac_cv_lib_dl_dlopen=no
41719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41720 conftest$ac_exeext conftest.$ac_ext
41721 LIBS=$ac_check_lib_save_LIBS
41723 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41724 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41725 if test $ac_cv_lib_dl_dlopen = yes; then
41727 cat >>confdefs.h <<\_ACEOF
41728 #define HAVE_DLOPEN 1
41732 DL_LINK=" -ldl$DL_LINK"
41737 for ac_func in shl_load
41739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41743 echo $ECHO_N "(cached) $ECHO_C" >&6
41745 cat >conftest.$ac_ext <<_ACEOF
41748 cat confdefs.h >>conftest.$ac_ext
41749 cat >>conftest.$ac_ext <<_ACEOF
41750 /* end confdefs.h. */
41751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41753 #define $ac_func innocuous_$ac_func
41755 /* System header to define __stub macros and hopefully few prototypes,
41756 which can conflict with char $ac_func (); below.
41757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41758 <limits.h> exists even on freestanding compilers. */
41761 # include <limits.h>
41763 # include <assert.h>
41768 /* Override any GCC internal prototype to avoid an error.
41769 Use char because int might match the return type of a GCC
41770 builtin and then its argument prototype would still apply. */
41775 /* The GNU C library defines this for functions which it implements
41776 to always fail with ENOSYS. Some functions are actually named
41777 something starting with __ and the normal name is an alias. */
41778 #if defined __stub_$ac_func || defined __stub___$ac_func
41785 return $ac_func ();
41790 rm -f conftest.$ac_objext conftest$ac_exeext
41791 if { (ac_try="$ac_link"
41792 case "(($ac_try" in
41793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41794 *) ac_try_echo
=$ac_try;;
41796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41797 (eval "$ac_link") 2>conftest.er1
41799 grep -v '^ *+' conftest.er1
>conftest.err
41801 cat conftest.err
>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); } && {
41804 test -z "$ac_c_werror_flag" ||
41805 test ! -s conftest.err
41806 } && test -s conftest
$ac_exeext &&
41807 $as_test_x conftest
$ac_exeext; then
41808 eval "$as_ac_var=yes"
41810 echo "$as_me: failed program was:" >&5
41811 sed 's/^/| /' conftest.
$ac_ext >&5
41813 eval "$as_ac_var=no"
41816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41817 conftest
$ac_exeext conftest.
$ac_ext
41819 ac_res
=`eval echo '${'$as_ac_var'}'`
41820 { echo "$as_me:$LINENO: result: $ac_res" >&5
41821 echo "${ECHO_T}$ac_res" >&6; }
41822 if test `eval echo '${'$as_ac_var'}'` = yes; then
41823 cat >>confdefs.h
<<_ACEOF
41824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41827 cat >>confdefs.h
<<\_ACEOF
41828 #define HAVE_SHL_LOAD 1
41835 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41836 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41837 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41838 echo $ECHO_N "(cached) $ECHO_C" >&6
41840 ac_check_lib_save_LIBS
=$LIBS
41841 LIBS
="-lshl_load $LIBS"
41842 cat >conftest.
$ac_ext <<_ACEOF
41845 cat confdefs.h
>>conftest.
$ac_ext
41846 cat >>conftest.
$ac_ext <<_ACEOF
41847 /* end confdefs.h. */
41849 /* Override any GCC internal prototype to avoid an error.
41850 Use char because int might match the return type of a GCC
41851 builtin and then its argument prototype would still apply. */
41864 rm -f conftest.
$ac_objext conftest
$ac_exeext
41865 if { (ac_try
="$ac_link"
41866 case "(($ac_try" in
41867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41868 *) ac_try_echo=$ac_try;;
41870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41871 (eval "$ac_link") 2>conftest.er1
41873 grep -v '^ *+' conftest.er1 >conftest.err
41875 cat conftest.err >&5
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); } && {
41878 test -z "$ac_c_werror_flag" ||
41879 test ! -s conftest.err
41880 } && test -s conftest$ac_exeext &&
41881 $as_test_x conftest$ac_exeext; then
41882 ac_cv_lib_shl_load_dld=yes
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.$ac_ext >&5
41887 ac_cv_lib_shl_load_dld=no
41890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41891 conftest$ac_exeext conftest.$ac_ext
41892 LIBS=$ac_check_lib_save_LIBS
41894 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41895 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41896 if test $ac_cv_lib_shl_load_dld = yes; then
41899 DL_LINK=" -ldld$DL_LINK"
41915 if test "$HAVE_DL_FUNCS" = 1; then
41917 for ac_func in dlerror
41919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 cat >conftest.$ac_ext <<_ACEOF
41928 cat confdefs.h >>conftest.$ac_ext
41929 cat >>conftest.$ac_ext <<_ACEOF
41930 /* end confdefs.h. */
41931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41933 #define $ac_func innocuous_$ac_func
41935 /* System header to define __stub macros and hopefully few prototypes,
41936 which can conflict with char $ac_func (); below.
41937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41938 <limits.h> exists even on freestanding compilers. */
41941 # include <limits.h>
41943 # include <assert.h>
41948 /* Override any GCC internal prototype to avoid an error.
41949 Use char because int might match the return type of a GCC
41950 builtin and then its argument prototype would still apply. */
41955 /* The GNU C library defines this for functions which it implements
41956 to always fail with ENOSYS. Some functions are actually named
41957 something starting with __ and the normal name is an alias. */
41958 #if defined __stub_$ac_func || defined __stub___$ac_func
41965 return $ac_func ();
41970 rm -f conftest.$ac_objext conftest$ac_exeext
41971 if { (ac_try="$ac_link"
41972 case "(($ac_try" in
41973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41974 *) ac_try_echo
=$ac_try;;
41976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41977 (eval "$ac_link") 2>conftest.er1
41979 grep -v '^ *+' conftest.er1
>conftest.err
41981 cat conftest.err
>&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } && {
41984 test -z "$ac_c_werror_flag" ||
41985 test ! -s conftest.err
41986 } && test -s conftest
$ac_exeext &&
41987 $as_test_x conftest
$ac_exeext; then
41988 eval "$as_ac_var=yes"
41990 echo "$as_me: failed program was:" >&5
41991 sed 's/^/| /' conftest.
$ac_ext >&5
41993 eval "$as_ac_var=no"
41996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41997 conftest
$ac_exeext conftest.
$ac_ext
41999 ac_res
=`eval echo '${'$as_ac_var'}'`
42000 { echo "$as_me:$LINENO: result: $ac_res" >&5
42001 echo "${ECHO_T}$ac_res" >&6; }
42002 if test `eval echo '${'$as_ac_var'}'` = yes; then
42003 cat >>confdefs.h
<<_ACEOF
42004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42006 cat >>confdefs.h
<<\_ACEOF
42007 #define HAVE_DLERROR 1
42012 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42013 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42014 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42015 echo $ECHO_N "(cached) $ECHO_C" >&6
42017 ac_check_lib_save_LIBS
=$LIBS
42019 cat >conftest.
$ac_ext <<_ACEOF
42022 cat confdefs.h
>>conftest.
$ac_ext
42023 cat >>conftest.
$ac_ext <<_ACEOF
42024 /* end confdefs.h. */
42026 /* Override any GCC internal prototype to avoid an error.
42027 Use char because int might match the return type of a GCC
42028 builtin and then its argument prototype would still apply. */
42041 rm -f conftest.
$ac_objext conftest
$ac_exeext
42042 if { (ac_try
="$ac_link"
42043 case "(($ac_try" in
42044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42045 *) ac_try_echo=$ac_try;;
42047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42048 (eval "$ac_link") 2>conftest.er1
42050 grep -v '^ *+' conftest.er1 >conftest.err
42052 cat conftest.err >&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); } && {
42055 test -z "$ac_c_werror_flag" ||
42056 test ! -s conftest.err
42057 } && test -s conftest$ac_exeext &&
42058 $as_test_x conftest$ac_exeext; then
42059 ac_cv_lib_dl_dlerror=yes
42061 echo "$as_me: failed program was:" >&5
42062 sed 's/^/| /' conftest.$ac_ext >&5
42064 ac_cv_lib_dl_dlerror=no
42067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42068 conftest$ac_exeext conftest.$ac_ext
42069 LIBS=$ac_check_lib_save_LIBS
42071 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42072 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42073 if test $ac_cv_lib_dl_dlerror = yes; then
42074 cat >>confdefs.h <<\_ACEOF
42075 #define HAVE_DLERROR 1
42088 if test "$USE_DARWIN" = 1; then
42092 if test "$HAVE_DL_FUNCS" = 0; then
42093 if test "$HAVE_SHL_FUNCS" = 0; then
42094 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42095 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42096 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42097 wxUSE_DYNAMIC_LOADER=no
42098 wxUSE_DYNLIB_CLASS=no
42100 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42101 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42108 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42109 cat >>confdefs.h <<\_ACEOF
42110 #define wxUSE_DYNAMIC_LOADER 1
42114 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_DYNLIB_CLASS 1
42123 if test "$wxUSE_PLUGINS" = "yes" ; then
42124 if test "$wxUSE_SHARED" = "no" ; then
42125 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42126 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42129 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42130 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42131 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42134 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42135 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42136 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42139 if test "$wxUSE_PLUGINS" = "yes" ; then
42140 cat >>confdefs.h <<\_ACEOF
42141 #define wxUSE_PLUGINS 1
42148 if test "$wxUSE_STL" = "yes"; then
42149 cat >>confdefs.h <<\_ACEOF
42150 #define wxUSE_STL 1
42155 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42156 cat >>confdefs.h <<\_ACEOF
42157 #define wxUSE_EXTENDED_RTTI 1
42162 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_APPLE_IEEE 1
42169 if test "$wxUSE_TIMER" = "yes"; then
42170 cat >>confdefs.h <<\_ACEOF
42171 #define wxUSE_TIMER 1
42176 if test "$USE_UNIX" = 1 ; then
42177 if test "$wxUSE_MGL" != 1; then
42178 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42179 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42180 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42181 echo $ECHO_N "(cached) $ECHO_C" >&6
42184 cat >conftest.$ac_ext <<_ACEOF
42187 cat confdefs.h >>conftest.$ac_ext
42188 cat >>conftest.$ac_ext <<_ACEOF
42189 /* end confdefs.h. */
42191 #include <sys/ioctl.h>
42192 #include <sys/soundcard.h>
42198 ioctl(0, SNDCTL_DSP_SPEED, 0);
42204 rm -f conftest.$ac_objext conftest$ac_exeext
42205 if { (ac_try="$ac_link"
42206 case "(($ac_try" in
42207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42208 *) ac_try_echo
=$ac_try;;
42210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42211 (eval "$ac_link") 2>conftest.er1
42213 grep -v '^ *+' conftest.er1
>conftest.err
42215 cat conftest.err
>&5
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); } && {
42218 test -z "$ac_c_werror_flag" ||
42219 test ! -s conftest.err
42220 } && test -s conftest
$ac_exeext &&
42221 $as_test_x conftest
$ac_exeext; then
42222 ac_cv_header_sys_soundcard
=yes
42224 echo "$as_me: failed program was:" >&5
42225 sed 's/^/| /' conftest.
$ac_ext >&5
42229 LIBS
="$saveLibs -lossaudio"
42230 cat >conftest.
$ac_ext <<_ACEOF
42233 cat confdefs.h
>>conftest.
$ac_ext
42234 cat >>conftest.
$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42237 #include <sys/ioctl.h>
42238 #include <sys/soundcard.h>
42244 ioctl(0, SNDCTL_DSP_SPEED, 0);
42250 rm -f conftest.
$ac_objext conftest
$ac_exeext
42251 if { (ac_try
="$ac_link"
42252 case "(($ac_try" in
42253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42254 *) ac_try_echo=$ac_try;;
42256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42257 (eval "$ac_link") 2>conftest.er1
42259 grep -v '^ *+' conftest.er1 >conftest.err
42261 cat conftest.err >&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); } && {
42264 test -z "$ac_c_werror_flag" ||
42265 test ! -s conftest.err
42266 } && test -s conftest$ac_exeext &&
42267 $as_test_x conftest$ac_exeext; then
42268 ac_cv_header_sys_soundcard=yes
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42275 ac_cv_header_sys_soundcard=no
42280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42281 conftest$ac_exeext conftest.$ac_ext
42286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42287 conftest$ac_exeext conftest.$ac_ext
42290 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42291 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42294 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define HAVE_SYS_SOUNDCARD_H 1
42303 if test "$wxUSE_SOUND" = "yes"; then
42304 if test "$USE_UNIX" = 1 ; then
42305 if test "$wxUSE_LIBSDL" != "no"; then
42307 # Check whether --with-sdl-prefix was given.
42308 if test "${with_sdl_prefix+set}" = set; then
42309 withval=$with_sdl_prefix; sdl_prefix="$withval"
42315 # Check whether --with-sdl-exec-prefix was given.
42316 if test "${with_sdl_exec_prefix+set}" = set; then
42317 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42322 # Check whether --enable-sdltest was given.
42323 if test "${enable_sdltest+set}" = set; then
42324 enableval=$enable_sdltest;
42330 if test x$sdl_exec_prefix != x ; then
42331 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42332 if test x${SDL_CONFIG+set} != xset ; then
42333 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42336 if test x$sdl_prefix != x ; then
42337 sdl_args="$sdl_args --prefix=$sdl_prefix"
42338 if test x${SDL_CONFIG+set} != xset ; then
42339 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42343 if test "x$prefix" != xNONE; then
42344 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42346 # Extract the first word of "sdl-config", so it can be a program name with args.
42347 set dummy sdl-config; ac_word=$2
42348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42350 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42353 case $SDL_CONFIG in
42355 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42359 for as_dir in $PATH
42362 test -z "$as_dir" && as_dir=.
42363 for ac_exec_ext in '' $ac_executable_extensions; do
42364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42365 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42373 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42377 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42378 if test -n "$SDL_CONFIG"; then
42379 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42380 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42382 { echo "$as_me:$LINENO: result: no" >&5
42383 echo "${ECHO_T}no" >&6; }
42387 min_sdl_version=1.2.0
42388 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42389 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42391 if test "$SDL_CONFIG" = "no" ; then
42394 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42395 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42397 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42399 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42401 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42403 if test "x$enable_sdltest" = "xyes" ; then
42404 ac_save_CFLAGS="$CFLAGS"
42405 ac_save_CXXFLAGS="$CXXFLAGS"
42406 ac_save_LIBS="$LIBS"
42407 CFLAGS="$CFLAGS $SDL_CFLAGS"
42408 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42409 LIBS="$LIBS $SDL_LIBS"
42411 if test "$cross_compiling" = yes; then
42412 echo $ac_n "cross compiling; assumed OK... $ac_c"
42414 cat >conftest.$ac_ext <<_ACEOF
42417 cat confdefs.h >>conftest.$ac_ext
42418 cat >>conftest.$ac_ext <<_ACEOF
42419 /* end confdefs.h. */
42422 #include <stdlib.h>
42423 #include <string.h>
42427 my_strdup (char *str)
42433 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42434 strcpy (new_str, str);
42442 int main (int argc, char *argv[])
42444 int major, minor, micro;
42447 /* This hangs on some systems (?)
42448 system ("touch conf.sdltest");
42450 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42452 /* HP/UX 9 (%@#!) writes to sscanf strings */
42453 tmp_version = my_strdup("$min_sdl_version");
42454 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42455 printf("%s, bad version string\n", "$min_sdl_version");
42459 if (($sdl_major_version > major) ||
42460 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42461 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42467 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42468 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42469 printf("*** best to upgrade to the required version.\n");
42470 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42471 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42472 printf("*** config.cache before re-running configure\n");
42479 rm -f conftest$ac_exeext
42480 if { (ac_try="$ac_link"
42481 case "(($ac_try" in
42482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42483 *) ac_try_echo
=$ac_try;;
42485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42486 (eval "$ac_link") 2>&5
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42490 { (case "(($ac_try" in
42491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42492 *) ac_try_echo=$ac_try;;
42494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42495 (eval "$ac_try") 2>&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; }; then
42501 echo "$as_me: program exited with status $ac_status" >&5
42502 echo "$as_me: failed program was:" >&5
42503 sed 's/^/| /' conftest.$ac_ext >&5
42505 ( exit $ac_status )
42508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42512 CFLAGS="$ac_save_CFLAGS"
42513 CXXFLAGS="$ac_save_CXXFLAGS"
42514 LIBS="$ac_save_LIBS"
42517 if test "x$no_sdl" = x ; then
42518 { echo "$as_me:$LINENO: result: yes" >&5
42519 echo "${ECHO_T}yes" >&6; }
42521 EXTRALIBS_SDL="$SDL_LIBS"
42522 CFLAGS="$SDL_CFLAGS $CFLAGS"
42523 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42524 cat >>confdefs.h <<\_ACEOF
42525 #define wxUSE_LIBSDL 1
42530 { echo "$as_me:$LINENO: result: no" >&5
42531 echo "${ECHO_T}no" >&6; }
42532 if test "$SDL_CONFIG" = "no" ; then
42533 echo "*** The sdl-config script installed by SDL could not be found"
42534 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42535 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42536 echo "*** full path to sdl-config."
42538 if test -f conf.sdltest ; then
42541 echo "*** Could not run SDL test program, checking why..."
42542 CFLAGS="$CFLAGS $SDL_CFLAGS"
42543 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42544 LIBS="$LIBS $SDL_LIBS"
42545 cat >conftest.$ac_ext <<_ACEOF
42548 cat confdefs.h >>conftest.$ac_ext
42549 cat >>conftest.$ac_ext <<_ACEOF
42550 /* end confdefs.h. */
42555 int main(int argc, char *argv[])
42558 #define main K_and_R_C_main
42568 rm -f conftest.$ac_objext conftest$ac_exeext
42569 if { (ac_try="$ac_link"
42570 case "(($ac_try" in
42571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42572 *) ac_try_echo
=$ac_try;;
42574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42575 (eval "$ac_link") 2>conftest.er1
42577 grep -v '^ *+' conftest.er1
>conftest.err
42579 cat conftest.err
>&5
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); } && {
42582 test -z "$ac_c_werror_flag" ||
42583 test ! -s conftest.err
42584 } && test -s conftest
$ac_exeext &&
42585 $as_test_x conftest
$ac_exeext; then
42586 echo "*** The test program compiled, but did not run. This usually means"
42587 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42588 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42589 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42590 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42591 echo "*** is required on your system"
42593 echo "*** If you have an old version installed, it is best to remove it, although"
42594 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.
$ac_ext >&5
42599 echo "*** The test program failed to compile or link. See the file config.log for the"
42600 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42601 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42602 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42605 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42606 conftest
$ac_exeext conftest.
$ac_ext
42607 CFLAGS
="$ac_save_CFLAGS"
42608 CXXFLAGS
="$ac_save_CXXFLAGS"
42609 LIBS
="$ac_save_LIBS"
42620 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42625 if test "$wxUSE_MGL" = 1; then
42626 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42627 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42633 if test "$wxUSE_SOUND" = "yes"; then
42634 cat >>confdefs.h
<<\_ACEOF
42635 #define wxUSE_SOUND 1
42638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42641 if test "$WXGTK2" = 1; then
42644 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42645 if test -n "$ac_tool_prefix"; then
42646 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42647 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42650 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42651 echo $ECHO_N "(cached) $ECHO_C" >&6
42653 case $PKG_CONFIG in
42655 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42659 for as_dir
in $PATH
42662 test -z "$as_dir" && as_dir
=.
42663 for ac_exec_ext
in '' $ac_executable_extensions; do
42664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42665 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42676 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42677 if test -n "$PKG_CONFIG"; then
42678 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42679 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42681 { echo "$as_me:$LINENO: result: no" >&5
42682 echo "${ECHO_T}no" >&6; }
42687 if test -z "$ac_cv_path_PKG_CONFIG"; then
42688 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42689 # Extract the first word of "pkg-config", so it can be a program name with args.
42690 set dummy pkg
-config; ac_word
=$2
42691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42693 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42694 echo $ECHO_N "(cached) $ECHO_C" >&6
42696 case $ac_pt_PKG_CONFIG in
42698 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42702 for as_dir
in $PATH
42705 test -z "$as_dir" && as_dir
=.
42706 for ac_exec_ext
in '' $ac_executable_extensions; do
42707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42708 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42719 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42720 if test -n "$ac_pt_PKG_CONFIG"; then
42721 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42722 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42724 { echo "$as_me:$LINENO: result: no" >&5
42725 echo "${ECHO_T}no" >&6; }
42728 if test "x$ac_pt_PKG_CONFIG" = x
; then
42731 case $cross_compiling:$ac_tool_warned in
42733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42734 whose name does not start with the host triplet. If you think this
42735 configuration is useful to you, please write to autoconf@gnu.org." >&5
42736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42737 whose name does not start with the host triplet. If you think this
42738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42739 ac_tool_warned
=yes ;;
42741 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42744 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42748 if test -n "$PKG_CONFIG"; then
42749 _pkg_min_version
=0.9.0
42750 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42751 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42752 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42753 { echo "$as_me:$LINENO: result: yes" >&5
42754 echo "${ECHO_T}yes" >&6; }
42756 { echo "$as_me:$LINENO: result: no" >&5
42757 echo "${ECHO_T}no" >&6; }
42763 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42765 if test "$wxUSE_GTKPRINT" = "yes" ; then
42769 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42770 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42772 if test -n "$PKG_CONFIG"; then
42773 if test -n "$GTKPRINT_CFLAGS"; then
42774 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42776 if test -n "$PKG_CONFIG" && \
42777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42778 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); }; then
42782 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42790 if test -n "$PKG_CONFIG"; then
42791 if test -n "$GTKPRINT_LIBS"; then
42792 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42794 if test -n "$PKG_CONFIG" && \
42795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42796 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; then
42800 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42811 if test $pkg_failed = yes; then
42813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42814 _pkg_short_errors_supported
=yes
42816 _pkg_short_errors_supported
=no
42818 if test $_pkg_short_errors_supported = yes; then
42819 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42821 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42823 # Put the nasty error message in config.log where it belongs
42824 echo "$GTKPRINT_PKG_ERRORS" >&5
42827 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42828 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42829 wxUSE_GTKPRINT
="no"
42832 elif test $pkg_failed = untried
; then
42834 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42835 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42836 wxUSE_GTKPRINT
="no"
42840 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42841 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42842 { echo "$as_me:$LINENO: result: yes" >&5
42843 echo "${ECHO_T}yes" >&6; }
42845 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42846 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42847 cat >>confdefs.h
<<\_ACEOF
42848 #define wxUSE_GTKPRINT 1
42855 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42859 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42860 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42862 if test -n "$PKG_CONFIG"; then
42863 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42864 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42866 if test -n "$PKG_CONFIG" && \
42867 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42868 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42871 (exit $ac_status); }; then
42872 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42880 if test -n "$PKG_CONFIG"; then
42881 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42882 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42884 if test -n "$PKG_CONFIG" && \
42885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42886 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42889 (exit $ac_status); }; then
42890 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42901 if test $pkg_failed = yes; then
42903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42904 _pkg_short_errors_supported
=yes
42906 _pkg_short_errors_supported
=no
42908 if test $_pkg_short_errors_supported = yes; then
42909 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42911 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42913 # Put the nasty error message in config.log where it belongs
42914 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42917 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42918 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42919 wxUSE_LIBGNOMEPRINT
="no"
42922 elif test $pkg_failed = untried
; then
42924 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42925 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42926 wxUSE_LIBGNOMEPRINT
="no"
42930 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42931 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42932 { echo "$as_me:$LINENO: result: yes" >&5
42933 echo "${ECHO_T}yes" >&6; }
42935 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42936 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42937 cat >>confdefs.h
<<\_ACEOF
42938 #define wxUSE_LIBGNOMEPRINT 1
42946 if test "$wxUSE_MIMETYPE" = "yes" ; then
42947 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42951 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42952 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42954 if test -n "$PKG_CONFIG"; then
42955 if test -n "$GNOMEVFS_CFLAGS"; then
42956 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42958 if test -n "$PKG_CONFIG" && \
42959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42960 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); }; then
42964 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42972 if test -n "$PKG_CONFIG"; then
42973 if test -n "$GNOMEVFS_LIBS"; then
42974 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42976 if test -n "$PKG_CONFIG" && \
42977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42978 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; then
42982 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42993 if test $pkg_failed = yes; then
42995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42996 _pkg_short_errors_supported
=yes
42998 _pkg_short_errors_supported
=no
43000 if test $_pkg_short_errors_supported = yes; then
43001 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43003 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43005 # Put the nasty error message in config.log where it belongs
43006 echo "$GNOMEVFS_PKG_ERRORS" >&5
43009 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43010 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43011 wxUSE_LIBGNOMEVFS
="no"
43014 elif test $pkg_failed = untried
; then
43016 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43017 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43018 wxUSE_LIBGNOMEVFS
="no"
43022 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43023 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43024 { echo "$as_me:$LINENO: result: yes" >&5
43025 echo "${ECHO_T}yes" >&6; }
43027 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43028 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43029 cat >>confdefs.h
<<\_ACEOF
43030 #define wxUSE_LIBGNOMEVFS 1
43038 if test "$wxUSE_LIBHILDON" = "yes" ; then
43041 { echo "$as_me:$LINENO: checking for HILDON" >&5
43042 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43044 if test -n "$PKG_CONFIG"; then
43045 if test -n "$HILDON_CFLAGS"; then
43046 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43048 if test -n "$PKG_CONFIG" && \
43049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43050 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; then
43054 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43062 if test -n "$PKG_CONFIG"; then
43063 if test -n "$HILDON_LIBS"; then
43064 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43066 if test -n "$PKG_CONFIG" && \
43067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43068 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); }; then
43072 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43083 if test $pkg_failed = yes; then
43085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43086 _pkg_short_errors_supported
=yes
43088 _pkg_short_errors_supported
=no
43090 if test $_pkg_short_errors_supported = yes; then
43091 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43093 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43095 # Put the nasty error message in config.log where it belongs
43096 echo "$HILDON_PKG_ERRORS" >&5
43099 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43100 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43101 wxUSE_LIBHILDON
="no"
43104 elif test $pkg_failed = untried
; then
43106 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43107 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43108 wxUSE_LIBHILDON
="no"
43112 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43113 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43114 { echo "$as_me:$LINENO: result: yes" >&5
43115 echo "${ECHO_T}yes" >&6; }
43117 EXTRALIBS_HILDON
="$HILDON_LIBS"
43118 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43119 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43120 cat >>confdefs.h
<<\_ACEOF
43121 #define wxUSE_LIBHILDON 1
43129 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_CMDLINE_PARSER 1
43136 if test "$wxUSE_STOPWATCH" = "yes"; then
43137 cat >>confdefs.h
<<\_ACEOF
43138 #define wxUSE_STOPWATCH 1
43143 if test "$wxUSE_DATETIME" = "yes"; then
43144 cat >>confdefs.h
<<\_ACEOF
43145 #define wxUSE_DATETIME 1
43150 if test "$wxUSE_FILE" = "yes"; then
43151 cat >>confdefs.h
<<\_ACEOF
43152 #define wxUSE_FILE 1
43157 if test "$wxUSE_FFILE" = "yes"; then
43158 cat >>confdefs.h
<<\_ACEOF
43159 #define wxUSE_FFILE 1
43164 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43165 if test "$wxUSE_STREAMS" != yes; then
43166 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43167 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43168 wxUSE_ARCHIVE_STREAMS
=no
43170 cat >>confdefs.h
<<\_ACEOF
43171 #define wxUSE_ARCHIVE_STREAMS 1
43177 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43178 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43179 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43180 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43181 elif test "$wxUSE_ZLIB" = "no"; then
43182 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43183 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_ZIPSTREAM 1
43192 if test "$wxUSE_TARSTREAM" = "yes"; then
43193 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43194 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43195 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define wxUSE_TARSTREAM 1
43204 if test "$wxUSE_FILESYSTEM" = "yes"; then
43205 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43206 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43207 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43208 wxUSE_FILESYSTEM
=no
43210 cat >>confdefs.h
<<\_ACEOF
43211 #define wxUSE_FILESYSTEM 1
43217 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43218 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43219 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43220 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43222 cat >>confdefs.h
<<\_ACEOF
43223 #define wxUSE_FS_ARCHIVE 1
43229 if test "$wxUSE_FS_ZIP" = "yes"; then
43230 if test "$wxUSE_FS_ARCHIVE" != yes; then
43231 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43232 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43234 cat >>confdefs.h
<<\_ACEOF
43235 #define wxUSE_FS_ZIP 1
43241 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43242 if test "$USE_UNIX" != 1; then
43243 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43244 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43245 wxUSE_ON_FATAL_EXCEPTION
=no
43247 cat >>confdefs.h
<<\_ACEOF
43248 #define wxUSE_ON_FATAL_EXCEPTION 1
43254 if test "$wxUSE_STACKWALKER" = "yes"; then
43255 cat >>confdefs.h
<<\_ACEOF
43256 #define wxUSE_STACKWALKER 1
43261 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43262 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43263 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43264 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43265 wxUSE_DEBUGREPORT
=no
43267 cat >>confdefs.h
<<\_ACEOF
43268 #define wxUSE_DEBUGREPORT 1
43271 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43277 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43278 cat >>confdefs.h
<<\_ACEOF
43279 #define wxUSE_SNGLINST_CHECKER 1
43284 if test "$wxUSE_BUSYINFO" = "yes"; then
43285 cat >>confdefs.h
<<\_ACEOF
43286 #define wxUSE_BUSYINFO 1
43291 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43292 cat >>confdefs.h
<<\_ACEOF
43293 #define wxUSE_STD_IOSTREAM 1
43298 if test "$wxUSE_STD_STRING" = "yes"; then
43299 cat >>confdefs.h
<<\_ACEOF
43300 #define wxUSE_STD_STRING 1
43305 if test "$wxUSE_STDPATHS" = "yes"; then
43306 cat >>confdefs.h
<<\_ACEOF
43307 #define wxUSE_STDPATHS 1
43312 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43313 cat >>confdefs.h
<<\_ACEOF
43314 #define wxUSE_TEXTBUFFER 1
43319 if test "$wxUSE_TEXTFILE" = "yes"; then
43320 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43321 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43322 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43324 cat >>confdefs.h
<<\_ACEOF
43325 #define wxUSE_TEXTFILE 1
43331 if test "$wxUSE_CONFIG" = "yes" ; then
43332 if test "$wxUSE_TEXTFILE" != "yes"; then
43333 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43334 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43336 cat >>confdefs.h
<<\_ACEOF
43337 #define wxUSE_CONFIG 1
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_CONFIG_NATIVE 1
43344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43348 if test "$wxUSE_INTL" = "yes" ; then
43349 if test "$wxUSE_FILE" != "yes"; then
43350 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43351 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43353 cat >>confdefs.h
<<\_ACEOF
43354 #define wxUSE_INTL 1
43357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43358 GUIDIST
="$GUIDIST INTL_DIST"
43362 if test "$wxUSE_XLOCALE" = "yes" ; then
43363 cat >>confdefs.h
<<\_ACEOF
43364 #define wxUSE_XLOCALE 1
43367 { echo "$as_me:$LINENO: checking for locale_t" >&5
43368 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43369 if test "${ac_cv_type_locale_t+set}" = set; then
43370 echo $ECHO_N "(cached) $ECHO_C" >&6
43372 cat >conftest.
$ac_ext <<_ACEOF
43375 cat confdefs.h
>>conftest.
$ac_ext
43376 cat >>conftest.
$ac_ext <<_ACEOF
43377 /* end confdefs.h. */
43378 #include <xlocale.h>
43379 #include <locale.h>
43381 typedef locale_t ac__type_new_;
43385 if ((ac__type_new_ *) 0)
43387 if (sizeof (ac__type_new_))
43393 rm -f conftest.
$ac_objext
43394 if { (ac_try
="$ac_compile"
43395 case "(($ac_try" in
43396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43397 *) ac_try_echo=$ac_try;;
43399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43400 (eval "$ac_compile") 2>conftest.er1
43402 grep -v '^ *+' conftest.er1 >conftest.err
43404 cat conftest.err >&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } && {
43407 test -z "$ac_c_werror_flag" ||
43408 test ! -s conftest.err
43409 } && test -s conftest.$ac_objext; then
43410 ac_cv_type_locale_t=yes
43412 echo "$as_me: failed program was:" >&5
43413 sed 's/^/| /' conftest.$ac_ext >&5
43415 ac_cv_type_locale_t=no
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43421 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43422 if test $ac_cv_type_locale_t = yes; then
43424 cat >>confdefs.h <<_ACEOF
43425 #define HAVE_LOCALE_T 1
43433 if test "$wxUSE_LOG" = "yes"; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define wxUSE_LOG 1
43439 if test "$wxUSE_LOGGUI" = "yes"; then
43440 cat >>confdefs.h <<\_ACEOF
43441 #define wxUSE_LOGGUI 1
43446 if test "$wxUSE_LOGWINDOW" = "yes"; then
43447 cat >>confdefs.h <<\_ACEOF
43448 #define wxUSE_LOGWINDOW 1
43453 if test "$wxUSE_LOGDIALOG" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_LOG_DIALOG 1
43460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43463 if test "$wxUSE_LONGLONG" = "yes"; then
43464 cat >>confdefs.h <<\_ACEOF
43465 #define wxUSE_LONGLONG 1
43470 if test "$wxUSE_GEOMETRY" = "yes"; then
43471 cat >>confdefs.h <<\_ACEOF
43472 #define wxUSE_GEOMETRY 1
43477 if test "$wxUSE_BASE64" = "yes"; then
43478 cat >>confdefs.h <<\_ACEOF
43479 #define wxUSE_BASE64 1
43484 if test "$wxUSE_STREAMS" = "yes" ; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_STREAMS 1
43491 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_PRINTF_POS_PARAMS 1
43498 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_OBJC_UNIQUIFYING 1
43506 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_CONSOLE_EVENTLOOP 1
43512 if test "$wxUSE_UNIX" = "yes"; then
43513 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43514 cat >>confdefs.h <<\_ACEOF
43515 #define wxUSE_SELECT_DISPATCHER 1
43520 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43522 for ac_header in sys/epoll.h
43524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 cat >conftest.$ac_ext <<_ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536 $ac_includes_default
43538 #include <$ac_header>
43540 rm -f conftest.$ac_objext
43541 if { (ac_try="$ac_compile"
43542 case "(($ac_try" in
43543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43544 *) ac_try_echo
=$ac_try;;
43546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43547 (eval "$ac_compile") 2>conftest.er1
43549 grep -v '^ *+' conftest.er1
>conftest.err
43551 cat conftest.err
>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); } && {
43554 test -z "$ac_c_werror_flag" ||
43555 test ! -s conftest.err
43556 } && test -s conftest.
$ac_objext; then
43557 eval "$as_ac_Header=yes"
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.
$ac_ext >&5
43562 eval "$as_ac_Header=no"
43565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43567 ac_res
=`eval echo '${'$as_ac_Header'}'`
43568 { echo "$as_me:$LINENO: result: $ac_res" >&5
43569 echo "${ECHO_T}$ac_res" >&6; }
43570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43571 cat >>confdefs.h
<<_ACEOF
43572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43579 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43580 cat >>confdefs.h
<<\_ACEOF
43581 #define wxUSE_EPOLL_DISPATCHER 1
43585 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43586 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43595 for ac_func
in gettimeofday ftime
43597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43600 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43601 echo $ECHO_N "(cached) $ECHO_C" >&6
43603 cat >conftest.
$ac_ext <<_ACEOF
43606 cat confdefs.h
>>conftest.
$ac_ext
43607 cat >>conftest.
$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43611 #define $ac_func innocuous_$ac_func
43613 /* System header to define __stub macros and hopefully few prototypes,
43614 which can conflict with char $ac_func (); below.
43615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43616 <limits.h> exists even on freestanding compilers. */
43619 # include <limits.h>
43621 # include <assert.h>
43626 /* Override any GCC internal prototype to avoid an error.
43627 Use char because int might match the return type of a GCC
43628 builtin and then its argument prototype would still apply. */
43633 /* The GNU C library defines this for functions which it implements
43634 to always fail with ENOSYS. Some functions are actually named
43635 something starting with __ and the normal name is an alias. */
43636 #if defined __stub_$ac_func || defined __stub___$ac_func
43643 return $ac_func ();
43648 rm -f conftest.
$ac_objext conftest
$ac_exeext
43649 if { (ac_try
="$ac_link"
43650 case "(($ac_try" in
43651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43652 *) ac_try_echo=$ac_try;;
43654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43655 (eval "$ac_link") 2>conftest.er1
43657 grep -v '^ *+' conftest.er1 >conftest.err
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } && {
43662 test -z "$ac_c_werror_flag" ||
43663 test ! -s conftest.err
43664 } && test -s conftest$ac_exeext &&
43665 $as_test_x conftest$ac_exeext; then
43666 eval "$as_ac_var=yes"
43668 echo "$as_me: failed program was:" >&5
43669 sed 's/^/| /' conftest.$ac_ext >&5
43671 eval "$as_ac_var=no"
43674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43675 conftest$ac_exeext conftest.$ac_ext
43677 ac_res=`eval echo '${'$as_ac_var'}'`
43678 { echo "$as_me:$LINENO: result: $ac_res" >&5
43679 echo "${ECHO_T}$ac_res" >&6; }
43680 if test `eval echo '${'$as_ac_var'}'` = yes; then
43681 cat >>confdefs.h <<_ACEOF
43682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43689 if test "$ac_cv_func_gettimeofday" = "yes"; then
43690 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43691 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43692 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43693 echo $ECHO_N "(cached) $ECHO_C" >&6
43696 cat >conftest.$ac_ext <<_ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43703 #include <sys/time.h>
43704 #include <unistd.h>
43711 gettimeofday(&tv, NULL);
43717 rm -f conftest.$ac_objext
43718 if { (ac_try="$ac_compile"
43719 case "(($ac_try" in
43720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43721 *) ac_try_echo
=$ac_try;;
43723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43724 (eval "$ac_compile") 2>conftest.er1
43726 grep -v '^ *+' conftest.er1
>conftest.err
43728 cat conftest.err
>&5
43729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730 (exit $ac_status); } && {
43731 test -z "$ac_c_werror_flag" ||
43732 test ! -s conftest.err
43733 } && test -s conftest.
$ac_objext; then
43734 wx_cv_func_gettimeofday_has_2_args
=yes
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.
$ac_ext >&5
43739 cat >conftest.
$ac_ext <<_ACEOF
43742 cat confdefs.h
>>conftest.
$ac_ext
43743 cat >>conftest.
$ac_ext <<_ACEOF
43744 /* end confdefs.h. */
43746 #include <sys/time.h>
43747 #include <unistd.h>
43760 rm -f conftest.
$ac_objext
43761 if { (ac_try
="$ac_compile"
43762 case "(($ac_try" in
43763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43764 *) ac_try_echo=$ac_try;;
43766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43767 (eval "$ac_compile") 2>conftest.er1
43769 grep -v '^ *+' conftest.er1 >conftest.err
43771 cat conftest.err >&5
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); } && {
43774 test -z "$ac_c_werror_flag" ||
43775 test ! -s conftest.err
43776 } && test -s conftest.$ac_objext; then
43777 wx_cv_func_gettimeofday_has_2_args=no
43779 echo "$as_me: failed program was:" >&5
43780 sed 's/^/| /' conftest.$ac_ext >&5
43783 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43784 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43785 wx_cv_func_gettimeofday_has_2_args=unknown
43790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43797 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43798 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43800 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define WX_GETTIMEOFDAY_NO_TZ 1
43808 if test "$wxUSE_DATETIME" = "yes"; then
43809 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43810 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43811 if test "${wx_cv_var_timezone+set}" = set; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821 cat >conftest.$ac_ext <<_ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43841 rm -f conftest.$ac_objext
43842 if { (ac_try="$ac_compile"
43843 case "(($ac_try" in
43844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43845 *) ac_try_echo
=$ac_try;;
43847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43848 (eval "$ac_compile") 2>conftest.er1
43850 grep -v '^ *+' conftest.er1
>conftest.err
43852 cat conftest.err
>&5
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); } && {
43855 test -z "$ac_cxx_werror_flag" ||
43856 test ! -s conftest.err
43857 } && test -s conftest.
$ac_objext; then
43859 wx_cv_var_timezone
=timezone
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.
$ac_ext >&5
43866 cat >conftest.
$ac_ext <<_ACEOF
43869 cat confdefs.h
>>conftest.
$ac_ext
43870 cat >>conftest.
$ac_ext <<_ACEOF
43871 /* end confdefs.h. */
43886 rm -f conftest.
$ac_objext
43887 if { (ac_try
="$ac_compile"
43888 case "(($ac_try" in
43889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43890 *) ac_try_echo=$ac_try;;
43892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43893 (eval "$ac_compile") 2>conftest.er1
43895 grep -v '^ *+' conftest.er1 >conftest.err
43897 cat conftest.err >&5
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); } && {
43900 test -z "$ac_cxx_werror_flag" ||
43901 test ! -s conftest.err
43902 } && test -s conftest.$ac_objext; then
43904 wx_cv_var_timezone=_timezone
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43911 cat >conftest.$ac_ext <<_ACEOF
43914 cat confdefs.h >>conftest.$ac_ext
43915 cat >>conftest.$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43931 rm -f conftest.$ac_objext
43932 if { (ac_try="$ac_compile"
43933 case "(($ac_try" in
43934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43935 *) ac_try_echo
=$ac_try;;
43937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43938 (eval "$ac_compile") 2>conftest.er1
43940 grep -v '^ *+' conftest.er1
>conftest.err
43942 cat conftest.err
>&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); } && {
43945 test -z "$ac_cxx_werror_flag" ||
43946 test ! -s conftest.err
43947 } && test -s conftest.
$ac_objext; then
43949 wx_cv_var_timezone
=__timezone
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.
$ac_ext >&5
43956 if test "$USE_DOS" = 0 ; then
43957 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43958 echo "$as_me: WARNING: no timezone variable" >&2;}
43964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43976 ac_cpp
='$CPP $CPPFLAGS'
43977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43984 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43985 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43987 if test "x$wx_cv_var_timezone" != x
; then
43988 cat >>confdefs.h
<<_ACEOF
43989 #define WX_TIMEZONE $wx_cv_var_timezone
43995 for ac_func
in localtime
43997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44000 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 cat >conftest.
$ac_ext <<_ACEOF
44006 cat confdefs.h
>>conftest.
$ac_ext
44007 cat >>conftest.
$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44011 #define $ac_func innocuous_$ac_func
44013 /* System header to define __stub macros and hopefully few prototypes,
44014 which can conflict with char $ac_func (); below.
44015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44016 <limits.h> exists even on freestanding compilers. */
44019 # include <limits.h>
44021 # include <assert.h>
44026 /* Override any GCC internal prototype to avoid an error.
44027 Use char because int might match the return type of a GCC
44028 builtin and then its argument prototype would still apply. */
44033 /* The GNU C library defines this for functions which it implements
44034 to always fail with ENOSYS. Some functions are actually named
44035 something starting with __ and the normal name is an alias. */
44036 #if defined __stub_$ac_func || defined __stub___$ac_func
44043 return $ac_func ();
44048 rm -f conftest.
$ac_objext conftest
$ac_exeext
44049 if { (ac_try
="$ac_link"
44050 case "(($ac_try" in
44051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44052 *) ac_try_echo=$ac_try;;
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_link") 2>conftest.er1
44057 grep -v '^ *+' conftest.er1 >conftest.err
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_c_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest$ac_exeext &&
44065 $as_test_x conftest$ac_exeext; then
44066 eval "$as_ac_var=yes"
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44071 eval "$as_ac_var=no"
44074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44075 conftest$ac_exeext conftest.$ac_ext
44077 ac_res=`eval echo '${'$as_ac_var'}'`
44078 { echo "$as_me:$LINENO: result: $ac_res" >&5
44079 echo "${ECHO_T}$ac_res" >&6; }
44080 if test `eval echo '${'$as_ac_var'}'` = yes; then
44081 cat >>confdefs.h <<_ACEOF
44082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44089 if test "$ac_cv_func_localtime" = "yes"; then
44090 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44091 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44092 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44093 echo $ECHO_N "(cached) $ECHO_C" >&6
44096 cat >conftest.$ac_ext <<_ACEOF
44099 cat confdefs.h >>conftest.$ac_ext
44100 cat >>conftest.$ac_ext <<_ACEOF
44101 /* end confdefs.h. */
44116 rm -f conftest.$ac_objext
44117 if { (ac_try="$ac_compile"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44120 *) ac_try_echo
=$ac_try;;
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_compile") 2>conftest.er1
44125 grep -v '^ *+' conftest.er1
>conftest.err
44127 cat conftest.err
>&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest.
$ac_objext; then
44134 wx_cv_struct_tm_has_gmtoff
=yes
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.
$ac_ext >&5
44140 wx_cv_struct_tm_has_gmtoff
=no
44144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44147 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44148 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44151 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define WX_GMTOFF_IN_TM 1
44158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44162 if test "$wxUSE_SOCKETS" = "yes"; then
44163 if test "$wxUSE_MGL" = 1; then
44164 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44165 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44170 if test "$wxUSE_SOCKETS" = "yes"; then
44171 if test "$TOOLKIT" != "MSW"; then
44172 { echo "$as_me:$LINENO: checking for socket" >&5
44173 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44174 if test "${ac_cv_func_socket+set}" = set; then
44175 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 cat >conftest.
$ac_ext <<_ACEOF
44180 cat confdefs.h
>>conftest.
$ac_ext
44181 cat >>conftest.
$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44183 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44185 #define socket innocuous_socket
44187 /* System header to define __stub macros and hopefully few prototypes,
44188 which can conflict with char socket (); below.
44189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44190 <limits.h> exists even on freestanding compilers. */
44193 # include <limits.h>
44195 # include <assert.h>
44200 /* Override any GCC internal prototype to avoid an error.
44201 Use char because int might match the return type of a GCC
44202 builtin and then its argument prototype would still apply. */
44207 /* The GNU C library defines this for functions which it implements
44208 to always fail with ENOSYS. Some functions are actually named
44209 something starting with __ and the normal name is an alias. */
44210 #if defined __stub_socket || defined __stub___socket
44222 rm -f conftest.
$ac_objext conftest
$ac_exeext
44223 if { (ac_try
="$ac_link"
44224 case "(($ac_try" in
44225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44226 *) ac_try_echo=$ac_try;;
44228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44229 (eval "$ac_link") 2>conftest.er1
44231 grep -v '^ *+' conftest.er1 >conftest.err
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } && {
44236 test -z "$ac_c_werror_flag" ||
44237 test ! -s conftest.err
44238 } && test -s conftest$ac_exeext &&
44239 $as_test_x conftest$ac_exeext; then
44240 ac_cv_func_socket=yes
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44245 ac_cv_func_socket=no
44248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44249 conftest$ac_exeext conftest.$ac_ext
44251 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44252 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44253 if test $ac_cv_func_socket = yes; then
44257 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44258 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44259 if test "${ac_cv_lib_socket_socket+set}" = set; then
44260 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 ac_check_lib_save_LIBS=$LIBS
44263 LIBS="-lsocket $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_socket_socket
=yes
44306 echo "$as_me: failed program was:" >&5
44307 sed 's/^/| /' conftest.
$ac_ext >&5
44309 ac_cv_lib_socket_socket
=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_socket_socket" >&5
44317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44318 if test $ac_cv_lib_socket_socket = yes; then
44319 if test "$INET_LINK" != " -lsocket"; then
44320 INET_LINK
="$INET_LINK -lsocket"
44324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44338 if test "$wxUSE_SOCKETS" = "yes" ; then
44339 if test "$TOOLKIT" != "MSW"; then
44340 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44341 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44342 if test "${wx_cv_type_getsockname3+set}" = set; then
44343 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 ac_cpp
='$CXXCPP $CPPFLAGS'
44348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44352 cat >conftest.
$ac_ext <<_ACEOF
44355 cat confdefs.h
>>conftest.
$ac_ext
44356 cat >>conftest.
$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44359 #include <sys/types.h>
44360 #include <sys/socket.h>
44367 getsockname(0, 0, &len);
44373 rm -f conftest.
$ac_objext
44374 if { (ac_try
="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44382 grep -v '^ *+' conftest.er1 >conftest.err
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_cxx_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 wx_cv_type_getsockname3=socklen_t
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44396 CFLAGS_OLD="$CFLAGS"
44397 if test "$GCC" = yes ; then
44398 CFLAGS="-Werror $CFLAGS"
44401 cat >conftest.$ac_ext <<_ACEOF
44404 cat confdefs.h >>conftest.$ac_ext
44405 cat >>conftest.$ac_ext <<_ACEOF
44406 /* end confdefs.h. */
44408 #include <sys/types.h>
44409 #include <sys/socket.h>
44416 getsockname(0, 0, &len);
44422 rm -f conftest.$ac_objext
44423 if { (ac_try="$ac_compile"
44424 case "(($ac_try" in
44425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44426 *) ac_try_echo
=$ac_try;;
44428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44429 (eval "$ac_compile") 2>conftest.er1
44431 grep -v '^ *+' conftest.er1
>conftest.err
44433 cat conftest.err
>&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } && {
44436 test -z "$ac_cxx_werror_flag" ||
44437 test ! -s conftest.err
44438 } && test -s conftest.
$ac_objext; then
44439 wx_cv_type_getsockname3
=size_t
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.
$ac_ext >&5
44444 cat >conftest.
$ac_ext <<_ACEOF
44447 cat confdefs.h
>>conftest.
$ac_ext
44448 cat >>conftest.
$ac_ext <<_ACEOF
44449 /* end confdefs.h. */
44451 #include <sys/types.h>
44452 #include <sys/socket.h>
44459 getsockname(0, 0, &len);
44465 rm -f conftest.
$ac_objext
44466 if { (ac_try
="$ac_compile"
44467 case "(($ac_try" in
44468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44469 *) ac_try_echo=$ac_try;;
44471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44472 (eval "$ac_compile") 2>conftest.er1
44474 grep -v '^ *+' conftest.er1 >conftest.err
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } && {
44479 test -z "$ac_cxx_werror_flag" ||
44480 test ! -s conftest.err
44481 } && test -s conftest.$ac_objext; then
44482 wx_cv_type_getsockname3=int
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44487 wx_cv_type_getsockname3=unknown
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44497 CFLAGS="$CFLAGS_OLD"
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44512 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44514 if test "$wx_cv_type_getsockname3" = "unknown"; then
44516 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44517 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44519 cat >>confdefs.h <<_ACEOF
44520 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44524 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44525 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44526 if test "${wx_cv_type_getsockopt5+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44531 ac_cpp='$CXXCPP $CPPFLAGS'
44532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44536 cat >conftest.$ac_ext <<_ACEOF
44539 cat confdefs.h >>conftest.$ac_ext
44540 cat >>conftest.$ac_ext <<_ACEOF
44541 /* end confdefs.h. */
44543 #include <sys/types.h>
44544 #include <sys/socket.h>
44551 getsockopt(0, 0, 0, 0, &len);
44557 rm -f conftest.$ac_objext
44558 if { (ac_try="$ac_compile"
44559 case "(($ac_try" in
44560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44561 *) ac_try_echo
=$ac_try;;
44563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44564 (eval "$ac_compile") 2>conftest.er1
44566 grep -v '^ *+' conftest.er1
>conftest.err
44568 cat conftest.err
>&5
44569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44570 (exit $ac_status); } && {
44571 test -z "$ac_cxx_werror_flag" ||
44572 test ! -s conftest.err
44573 } && test -s conftest.
$ac_objext; then
44574 wx_cv_type_getsockopt5
=socklen_t
44576 echo "$as_me: failed program was:" >&5
44577 sed 's/^/| /' conftest.
$ac_ext >&5
44580 cat >conftest.
$ac_ext <<_ACEOF
44583 cat confdefs.h
>>conftest.
$ac_ext
44584 cat >>conftest.
$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44587 #include <sys/types.h>
44588 #include <sys/socket.h>
44595 getsockopt(0, 0, 0, 0, &len);
44601 rm -f conftest.
$ac_objext
44602 if { (ac_try
="$ac_compile"
44603 case "(($ac_try" in
44604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44605 *) ac_try_echo=$ac_try;;
44607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44608 (eval "$ac_compile") 2>conftest.er1
44610 grep -v '^ *+' conftest.er1 >conftest.err
44612 cat conftest.err >&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } && {
44615 test -z "$ac_cxx_werror_flag" ||
44616 test ! -s conftest.err
44617 } && test -s conftest.$ac_objext; then
44618 wx_cv_type_getsockopt5=size_t
44620 echo "$as_me: failed program was:" >&5
44621 sed 's/^/| /' conftest.$ac_ext >&5
44623 cat >conftest.$ac_ext <<_ACEOF
44626 cat confdefs.h >>conftest.$ac_ext
44627 cat >>conftest.$ac_ext <<_ACEOF
44628 /* end confdefs.h. */
44630 #include <sys/types.h>
44631 #include <sys/socket.h>
44638 getsockopt(0, 0, 0, 0, &len);
44644 rm -f conftest.$ac_objext
44645 if { (ac_try="$ac_compile"
44646 case "(($ac_try" in
44647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44648 *) ac_try_echo
=$ac_try;;
44650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44651 (eval "$ac_compile") 2>conftest.er1
44653 grep -v '^ *+' conftest.er1
>conftest.err
44655 cat conftest.err
>&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); } && {
44658 test -z "$ac_cxx_werror_flag" ||
44659 test ! -s conftest.err
44660 } && test -s conftest.
$ac_objext; then
44661 wx_cv_type_getsockopt5
=int
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.
$ac_ext >&5
44666 wx_cv_type_getsockopt5
=unknown
44670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44681 ac_cpp
='$CPP $CPPFLAGS'
44682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44688 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44689 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44691 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44693 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44694 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44696 cat >>confdefs.h
<<_ACEOF
44697 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44704 if test "$wxUSE_SOCKETS" = "yes" ; then
44705 if test "$wxUSE_IPV6" = "yes"; then
44706 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44707 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44708 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 cat >conftest.
$ac_ext <<_ACEOF
44715 cat confdefs.h
>>conftest.
$ac_ext
44716 cat >>conftest.
$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44719 #include <sys/types.h>
44720 #include <sys/socket.h>
44721 #include <netinet/in.h>
44727 struct sockaddr_in6 sa6;
44733 rm -f conftest.
$ac_objext
44734 if { (ac_try
="$ac_compile"
44735 case "(($ac_try" in
44736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44737 *) ac_try_echo=$ac_try;;
44739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44740 (eval "$ac_compile") 2>conftest.er1
44742 grep -v '^ *+' conftest.er1 >conftest.err
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } && {
44747 test -z "$ac_c_werror_flag" ||
44748 test ! -s conftest.err
44749 } && test -s conftest.$ac_objext; then
44750 wx_cv_type_sockaddr_in6=yes
44752 echo "$as_me: failed program was:" >&5
44753 sed 's/^/| /' conftest.$ac_ext >&5
44755 wx_cv_type_sockaddr_in6=no
44759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44764 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44766 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_IPV6 1
44772 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44773 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_SOCKETS 1
44781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44784 if test "$wxUSE_PROTOCOL" = "yes"; then
44785 if test "$wxUSE_SOCKETS" != "yes"; then
44786 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44787 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44792 if test "$wxUSE_PROTOCOL" = "yes"; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_PROTOCOL 1
44798 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_PROTOCOL_HTTP 1
44804 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_PROTOCOL_FTP 1
44810 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PROTOCOL_FILE 1
44817 if test "$wxUSE_FS_INET" = "yes"; then
44818 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44819 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44824 if test "$wxUSE_URL" = "yes"; then
44825 if test "$wxUSE_PROTOCOL" != "yes"; then
44826 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44827 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44830 if test "$wxUSE_URL" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_URL 1
44838 if test "$wxUSE_VARIANT" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_VARIANT 1
44845 if test "$wxUSE_FS_INET" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_FS_INET 1
44853 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44856 if test "$TOOLKIT" = "MSW"; then
44859 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44860 if test "$USE_DARWIN" = 1; then
44861 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44862 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44869 cat >conftest.$ac_ext <<_ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875 #include <IOKit/hid/IOHIDLib.h>
44879 IOHIDQueueInterface *qi = NULL;
44880 IOHIDCallbackFunction cb = NULL;
44881 qi->setEventCallout(NULL, cb, NULL, NULL);
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44890 *) ac_try_echo
=$ac_try;;
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893 (eval "$ac_compile") 2>conftest.er1
44895 grep -v '^ *+' conftest.er1
>conftest.err
44897 cat conftest.err
>&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } && {
44900 test -z "$ac_cxx_werror_flag" ||
44901 test ! -s conftest.err
44902 } && test -s conftest.
$ac_objext; then
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.
$ac_ext >&5
44912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44914 ac_cpp
='$CPP $CPPFLAGS'
44915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44919 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44920 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44924 if test "$wxUSE_MGL" != 1; then
44926 for ac_header
in linux
/joystick.h
44928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44931 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44932 echo $ECHO_N "(cached) $ECHO_C" >&6
44934 cat >conftest.
$ac_ext <<_ACEOF
44937 cat confdefs.h
>>conftest.
$ac_ext
44938 cat >>conftest.
$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 $ac_includes_default
44942 #include <$ac_header>
44944 rm -f conftest.
$ac_objext
44945 if { (ac_try
="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 eval "$as_ac_Header=yes"
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44966 eval "$as_ac_Header=no"
44969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971 ac_res=`eval echo '${'$as_ac_Header'}'`
44972 { echo "$as_me:$LINENO: result: $ac_res" >&5
44973 echo "${ECHO_T}$ac_res" >&6; }
44974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44975 cat >>confdefs.h <<_ACEOF
44976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44986 if test "$wxUSE_JOYSTICK" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_JOYSTICK 1
44991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44993 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44994 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45000 if test "$wxUSE_FONTENUM" = "yes" ; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_FONTENUM 1
45007 if test "$wxUSE_FONTMAP" = "yes" ; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_FONTMAP 1
45014 if test "$wxUSE_UNICODE" = "yes" ; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_UNICODE 1
45020 if test "$USE_WIN32" != 1; then
45021 wxUSE_UNICODE_MSLU=no
45024 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45025 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45026 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45027 if test "${ac_cv_lib_unicows_main+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 ac_check_lib_save_LIBS=$LIBS
45031 LIBS="-lunicows $LIBS"
45032 cat >conftest.$ac_ext <<_ACEOF
45035 cat confdefs.h >>conftest.$ac_ext
45036 cat >>conftest.$ac_ext <<_ACEOF
45037 /* end confdefs.h. */
45048 rm -f conftest.$ac_objext conftest$ac_exeext
45049 if { (ac_try="$ac_link"
45050 case "(($ac_try" in
45051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45052 *) ac_try_echo
=$ac_try;;
45054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45055 (eval "$ac_link") 2>conftest.er1
45057 grep -v '^ *+' conftest.er1
>conftest.err
45059 cat conftest.err
>&5
45060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061 (exit $ac_status); } && {
45062 test -z "$ac_c_werror_flag" ||
45063 test ! -s conftest.err
45064 } && test -s conftest
$ac_exeext &&
45065 $as_test_x conftest
$ac_exeext; then
45066 ac_cv_lib_unicows_main
=yes
45068 echo "$as_me: failed program was:" >&5
45069 sed 's/^/| /' conftest.
$ac_ext >&5
45071 ac_cv_lib_unicows_main
=no
45074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45075 conftest
$ac_exeext conftest.
$ac_ext
45076 LIBS
=$ac_check_lib_save_LIBS
45078 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45079 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45080 if test $ac_cv_lib_unicows_main = yes; then
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_UNICODE_MSLU 1
45089 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45090 Applications will only run on Windows NT/2000/XP!" >&5
45091 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45092 Applications will only run on Windows NT/2000/XP!" >&2;}
45093 wxUSE_UNICODE_MSLU
=no
45100 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45101 cat >>confdefs.h
<<\_ACEOF
45102 #define wxUSE_UNICODE_UTF8 1
45106 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45107 cat >>confdefs.h
<<\_ACEOF
45108 #define wxUSE_UTF8_LOCALE_ONLY 1
45115 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45116 cat >>confdefs.h
<<\_ACEOF
45117 #define wxUSE_CONSTRAINTS 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45123 if test "$wxUSE_MDI" = "yes"; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_MDI 1
45129 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45130 cat >>confdefs.h
<<\_ACEOF
45131 #define wxUSE_MDI_ARCHITECTURE 1
45134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45138 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45139 cat >>confdefs.h
<<\_ACEOF
45140 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45146 if test "$wxUSE_HELP" = "yes"; then
45147 cat >>confdefs.h
<<\_ACEOF
45148 #define wxUSE_HELP 1
45151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45153 if test "$wxUSE_MSW" = 1; then
45154 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45155 cat >>confdefs.h
<<\_ACEOF
45156 #define wxUSE_MS_HTML_HELP 1
45162 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45163 if test "$wxUSE_HTML" = "yes"; then
45164 cat >>confdefs.h
<<\_ACEOF
45165 #define wxUSE_WXHTML_HELP 1
45169 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45170 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45171 wxUSE_WXHTML_HELP
=no
45176 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define wxUSE_PRINTING_ARCHITECTURE 1
45181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45184 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_POSTSCRIPT 1
45191 cat >>confdefs.h
<<\_ACEOF
45192 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45196 if test "$wxUSE_SVG" = "yes"; then
45197 cat >>confdefs.h
<<\_ACEOF
45198 #define wxUSE_SVG 1
45204 if test "$wxUSE_METAFILE" = "yes"; then
45205 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45206 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45207 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45213 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45214 -o "$wxUSE_CLIPBOARD" = "yes" \
45215 -o "$wxUSE_OLE" = "yes" \
45216 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45217 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45218 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45219 if test "${ac_cv_header_ole2_h+set}" = set; then
45220 echo $ECHO_N "(cached) $ECHO_C" >&6
45222 cat >conftest.
$ac_ext <<_ACEOF
45225 cat confdefs.h
>>conftest.
$ac_ext
45226 cat >>conftest.
$ac_ext <<_ACEOF
45227 /* end confdefs.h. */
45232 rm -f conftest.
$ac_objext
45233 if { (ac_try
="$ac_compile"
45234 case "(($ac_try" in
45235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45236 *) ac_try_echo=$ac_try;;
45238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45239 (eval "$ac_compile") 2>conftest.er1
45241 grep -v '^ *+' conftest.er1 >conftest.err
45243 cat conftest.err >&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); } && {
45246 test -z "$ac_c_werror_flag" ||
45247 test ! -s conftest.err
45248 } && test -s conftest.$ac_objext; then
45249 ac_cv_header_ole2_h=yes
45251 echo "$as_me: failed program was:" >&5
45252 sed 's/^/| /' conftest.$ac_ext >&5
45254 ac_cv_header_ole2_h=no
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45260 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45264 if test "$ac_cv_header_ole2_h" = "yes" ; then
45265 if test "$GCC" = yes ; then
45266 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45267 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45268 cat >conftest.$ac_ext <<_ACEOF
45271 cat confdefs.h >>conftest.$ac_ext
45272 cat >>conftest.$ac_ext <<_ACEOF
45273 /* end confdefs.h. */
45274 #include <windows.h>
45284 rm -f conftest.$ac_objext
45285 if { (ac_try="$ac_compile"
45286 case "(($ac_try" in
45287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45288 *) ac_try_echo
=$ac_try;;
45290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45291 (eval "$ac_compile") 2>conftest.er1
45293 grep -v '^ *+' conftest.er1
>conftest.err
45295 cat conftest.err
>&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); } && {
45298 test -z "$ac_c_werror_flag" ||
45299 test ! -s conftest.err
45300 } && test -s conftest.
$ac_objext; then
45301 { echo "$as_me:$LINENO: result: no" >&5
45302 echo "${ECHO_T}no" >&6; }
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.
$ac_ext >&5
45307 { echo "$as_me:$LINENO: result: yes" >&5
45308 echo "${ECHO_T}yes" >&6; }
45309 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45313 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45314 if test "$wxUSE_OLE" = "yes" ; then
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_OLE 1
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_OLE_AUTOMATION 1
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_ACTIVEX 1
45327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45331 if test "$wxUSE_DATAOBJ" = "yes" ; then
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_DATAOBJ 1
45338 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45339 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45342 wxUSE_DRAG_AND_DROP
=no
45347 if test "$wxUSE_METAFILE" = "yes"; then
45348 cat >>confdefs.h
<<\_ACEOF
45349 #define wxUSE_METAFILE 1
45353 cat >>confdefs.h
<<\_ACEOF
45354 #define wxUSE_ENH_METAFILE 1
45360 if test "$wxUSE_IPC" = "yes"; then
45361 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45362 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45363 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45367 if test "$wxUSE_IPC" = "yes"; then
45368 cat >>confdefs.h
<<\_ACEOF
45369 #define wxUSE_IPC 1
45372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45376 if test "$wxUSE_DATAOBJ" = "yes"; then
45377 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45378 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45379 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45382 cat >>confdefs.h
<<\_ACEOF
45383 #define wxUSE_DATAOBJ 1
45388 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45389 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45391 wxUSE_DRAG_AND_DROP
=no
45394 if test "$wxUSE_CLIPBOARD" = "yes"; then
45395 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45396 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45397 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45401 if test "$wxUSE_CLIPBOARD" = "yes"; then
45402 cat >>confdefs.h
<<\_ACEOF
45403 #define wxUSE_CLIPBOARD 1
45409 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45410 if test "$wxUSE_GTK" = 1; then
45411 if test "$WXGTK12" != 1; then
45412 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45413 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45414 wxUSE_DRAG_AND_DROP
=no
45418 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45419 "$wxUSE_DFB" = 1; then
45420 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45421 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45422 wxUSE_DRAG_AND_DROP
=no
45425 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_DRAG_AND_DROP 1
45434 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45438 if test "$wxUSE_CLIPBOARD" = "yes"; then
45439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45442 if test "$wxUSE_SPLINES" = "yes" ; then
45443 cat >>confdefs.h
<<\_ACEOF
45444 #define wxUSE_SPLINES 1
45449 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45450 cat >>confdefs.h
<<\_ACEOF
45451 #define wxUSE_MOUSEWHEEL 1
45458 if test "$wxUSE_CONTROLS" = "yes"; then
45462 if test "$wxUSE_ACCEL" = "yes"; then
45463 cat >>confdefs.h
<<\_ACEOF
45464 #define wxUSE_ACCEL 1
45470 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45471 cat >>confdefs.h
<<\_ACEOF
45472 #define wxUSE_ANIMATIONCTRL 1
45476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45479 if test "$wxUSE_BUTTON" = "yes"; then
45480 cat >>confdefs.h
<<\_ACEOF
45481 #define wxUSE_BUTTON 1
45487 if test "$wxUSE_BMPBUTTON" = "yes"; then
45488 cat >>confdefs.h
<<\_ACEOF
45489 #define wxUSE_BMPBUTTON 1
45495 if test "$wxUSE_CALCTRL" = "yes"; then
45496 cat >>confdefs.h
<<\_ACEOF
45497 #define wxUSE_CALENDARCTRL 1
45501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45504 if test "$wxUSE_CARET" = "yes"; then
45505 cat >>confdefs.h
<<\_ACEOF
45506 #define wxUSE_CARET 1
45510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45513 if test "$wxUSE_COLLPANE" = "yes"; then
45514 cat >>confdefs.h
<<\_ACEOF
45515 #define wxUSE_COLLPANE 1
45519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45522 if test "$wxUSE_COMBOBOX" = "yes"; then
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_COMBOBOX 1
45530 if test "$wxUSE_COMBOCTRL" = "yes"; then
45531 cat >>confdefs.h
<<\_ACEOF
45532 #define wxUSE_COMBOCTRL 1
45538 if test "$wxUSE_CHOICE" = "yes"; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_CHOICE 1
45546 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45547 cat >>confdefs.h
<<\_ACEOF
45548 #define wxUSE_CHOICEBOOK 1
45554 if test "$wxUSE_CHECKBOX" = "yes"; then
45555 cat >>confdefs.h
<<\_ACEOF
45556 #define wxUSE_CHECKBOX 1
45562 if test "$wxUSE_CHECKLST" = "yes"; then
45563 cat >>confdefs.h
<<\_ACEOF
45564 #define wxUSE_CHECKLISTBOX 1
45570 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45571 cat >>confdefs.h
<<\_ACEOF
45572 #define wxUSE_COLOURPICKERCTRL 1
45578 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45579 cat >>confdefs.h
<<\_ACEOF
45580 #define wxUSE_DATEPICKCTRL 1
45586 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45587 cat >>confdefs.h
<<\_ACEOF
45588 #define wxUSE_DIRPICKERCTRL 1
45594 if test "$wxUSE_FILECTRL" = "yes"; then
45595 cat >>confdefs.h
<<\_ACEOF
45596 #define wxUSE_FILECTRL 1
45602 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45603 cat >>confdefs.h
<<\_ACEOF
45604 #define wxUSE_FILEPICKERCTRL 1
45610 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45611 cat >>confdefs.h
<<\_ACEOF
45612 #define wxUSE_FONTPICKERCTRL 1
45618 if test "$wxUSE_DISPLAY" = "yes"; then
45619 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45620 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45621 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_DISPLAY 1
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45632 if test "$wxUSE_DETECT_SM" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_DETECT_SM 1
45639 if test "$wxUSE_GAUGE" = "yes"; then
45640 cat >>confdefs.h
<<\_ACEOF
45641 #define wxUSE_GAUGE 1
45647 if test "$wxUSE_GRID" = "yes"; then
45648 cat >>confdefs.h
<<\_ACEOF
45649 #define wxUSE_GRID 1
45653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45656 if test "$wxUSE_HEADERCTRL" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_HEADERCTRL 1
45664 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45665 cat >>confdefs.h
<<\_ACEOF
45666 #define wxUSE_HYPERLINKCTRL 1
45672 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45673 cat >>confdefs.h
<<\_ACEOF
45674 #define wxUSE_BITMAPCOMBOBOX 1
45680 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45681 cat >>confdefs.h
<<\_ACEOF
45682 #define wxUSE_DATAVIEWCTRL 1
45686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45689 if test "$wxUSE_IMAGLIST" = "yes"; then
45690 cat >>confdefs.h
<<\_ACEOF
45691 #define wxUSE_IMAGLIST 1
45696 if test "$wxUSE_LISTBOOK" = "yes"; then
45697 cat >>confdefs.h
<<\_ACEOF
45698 #define wxUSE_LISTBOOK 1
45704 if test "$wxUSE_LISTBOX" = "yes"; then
45705 cat >>confdefs.h
<<\_ACEOF
45706 #define wxUSE_LISTBOX 1
45712 if test "$wxUSE_LISTCTRL" = "yes"; then
45713 if test "$wxUSE_IMAGLIST" = "yes"; then
45714 cat >>confdefs.h
<<\_ACEOF
45715 #define wxUSE_LISTCTRL 1
45719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45721 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45722 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45726 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_EDITABLELISTBOX 1
45734 if test "$wxUSE_NOTEBOOK" = "yes"; then
45735 cat >>confdefs.h
<<\_ACEOF
45736 #define wxUSE_NOTEBOOK 1
45740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45743 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45744 cat >>confdefs.h
<<\_ACEOF
45745 #define wxUSE_NOTIFICATION_MESSAGE 1
45750 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_ODCOMBOBOX 1
45756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45759 if test "$wxUSE_RADIOBOX" = "yes"; then
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_RADIOBOX 1
45767 if test "$wxUSE_RADIOBTN" = "yes"; then
45768 cat >>confdefs.h
<<\_ACEOF
45769 #define wxUSE_RADIOBTN 1
45775 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_REARRANGECTRL 1
45782 if test "$wxUSE_SASH" = "yes"; then
45783 cat >>confdefs.h
<<\_ACEOF
45784 #define wxUSE_SASH 1
45787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45790 if test "$wxUSE_SCROLLBAR" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_SCROLLBAR 1
45796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45799 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_SEARCHCTRL 1
45807 if test "$wxUSE_SLIDER" = "yes"; then
45808 cat >>confdefs.h
<<\_ACEOF
45809 #define wxUSE_SLIDER 1
45815 if test "$wxUSE_SPINBTN" = "yes"; then
45816 cat >>confdefs.h
<<\_ACEOF
45817 #define wxUSE_SPINBTN 1
45823 if test "$wxUSE_SPINCTRL" = "yes"; then
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_SPINCTRL 1
45831 if test "$wxUSE_SPLITTER" = "yes"; then
45832 cat >>confdefs.h
<<\_ACEOF
45833 #define wxUSE_SPLITTER 1
45836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45839 if test "$wxUSE_STATBMP" = "yes"; then
45840 cat >>confdefs.h
<<\_ACEOF
45841 #define wxUSE_STATBMP 1
45847 if test "$wxUSE_STATBOX" = "yes"; then
45848 cat >>confdefs.h
<<\_ACEOF
45849 #define wxUSE_STATBOX 1
45855 if test "$wxUSE_STATTEXT" = "yes"; then
45856 cat >>confdefs.h
<<\_ACEOF
45857 #define wxUSE_STATTEXT 1
45863 if test "$wxUSE_STATLINE" = "yes"; then
45864 cat >>confdefs.h
<<\_ACEOF
45865 #define wxUSE_STATLINE 1
45871 if test "$wxUSE_STATUSBAR" = "yes"; then
45872 cat >>confdefs.h
<<\_ACEOF
45873 #define wxUSE_NATIVE_STATUSBAR 1
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_STATUSBAR 1
45882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45885 if test "$wxUSE_TEXTCTRL" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_TEXTCTRL 1
45891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_RICHEDIT 1
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_RICHEDIT2 1
45903 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45904 if test "$wxUSE_COCOA" = 1 ; then
45905 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45906 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45910 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45911 cat >>confdefs.h
<<\_ACEOF
45912 #define wxUSE_TOGGLEBTN 1
45919 if test "$wxUSE_TOOLBAR" = "yes"; then
45920 cat >>confdefs.h
<<\_ACEOF
45921 #define wxUSE_TOOLBAR 1
45926 if test "$wxUSE_UNIVERSAL" = "yes"; then
45927 wxUSE_TOOLBAR_NATIVE
="no"
45929 wxUSE_TOOLBAR_NATIVE
="yes"
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_TOOLBAR_NATIVE 1
45936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45939 if test "$wxUSE_TOOLTIPS" = "yes"; then
45940 if test "$wxUSE_MOTIF" = 1; then
45941 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45942 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45944 if test "$wxUSE_UNIVERSAL" = "yes"; then
45945 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45946 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45948 cat >>confdefs.h
<<\_ACEOF
45949 #define wxUSE_TOOLTIPS 1
45956 if test "$wxUSE_TREEBOOK" = "yes"; then
45957 cat >>confdefs.h
<<\_ACEOF
45958 #define wxUSE_TREEBOOK 1
45964 if test "$wxUSE_TOOLBOOK" = "yes"; then
45965 cat >>confdefs.h
<<\_ACEOF
45966 #define wxUSE_TOOLBOOK 1
45972 if test "$wxUSE_TREECTRL" = "yes"; then
45973 if test "$wxUSE_IMAGLIST" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_TREECTRL 1
45979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45981 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45982 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45986 if test "$wxUSE_POPUPWIN" = "yes"; then
45987 if test "$wxUSE_COCOA" = 1 ; then
45988 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45989 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45991 if test "$wxUSE_PM" = 1; then
45992 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45993 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45995 cat >>confdefs.h
<<\_ACEOF
45996 #define wxUSE_POPUPWIN 1
45999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46006 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46007 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46008 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46009 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46011 cat >>confdefs.h
<<\_ACEOF
46012 #define wxUSE_DIALUP_MANAGER 1
46015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46019 if test "$wxUSE_TIPWINDOW" = "yes"; then
46020 if test "$wxUSE_PM" = 1; then
46021 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46022 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46024 cat >>confdefs.h
<<\_ACEOF
46025 #define wxUSE_TIPWINDOW 1
46031 if test "$USES_CONTROLS" = 1; then
46032 cat >>confdefs.h
<<\_ACEOF
46033 #define wxUSE_CONTROLS 1
46039 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46040 cat >>confdefs.h
<<\_ACEOF
46041 #define wxUSE_ACCESSIBILITY 1
46044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46047 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46048 cat >>confdefs.h
<<\_ACEOF
46049 #define wxUSE_DRAGIMAGE 1
46052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46055 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46056 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46057 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46058 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46060 cat >>confdefs.h
<<\_ACEOF
46061 #define wxUSE_EXCEPTIONS 1
46064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46069 if test "$wxUSE_HTML" = "yes"; then
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_HTML 1
46075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46077 if test "$wxUSE_WEBKIT" = "yes"; then
46078 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46079 old_CPPFLAGS
="$CPPFLAGS"
46080 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46081 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46082 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46083 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46084 echo $ECHO_N "(cached) $ECHO_C" >&6
46086 cat >conftest.
$ac_ext <<_ACEOF
46089 cat confdefs.h
>>conftest.
$ac_ext
46090 cat >>conftest.
$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46093 #include <Carbon/Carbon.h>
46094 #include <WebKit/WebKit.h>
46097 #include <WebKit/HIWebView.h>
46099 rm -f conftest.
$ac_objext
46100 if { (ac_try
="$ac_compile"
46101 case "(($ac_try" in
46102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46103 *) ac_try_echo=$ac_try;;
46105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46106 (eval "$ac_compile") 2>conftest.er1
46108 grep -v '^ *+' conftest.er1 >conftest.err
46110 cat conftest.err >&5
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); } && {
46113 test -z "$ac_c_werror_flag" ||
46114 test ! -s conftest.err
46115 } && test -s conftest.$ac_objext; then
46116 ac_cv_header_WebKit_HIWebView_h=yes
46118 echo "$as_me: failed program was:" >&5
46119 sed 's/^/| /' conftest.$ac_ext >&5
46121 ac_cv_header_WebKit_HIWebView_h=no
46124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46127 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46128 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_WEBKIT 1
46134 WEBKIT_LINK="-framework WebKit"
46138 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46139 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46145 CPPFLAGS="$old_CPPFLAGS"
46146 elif test "$wxUSE_COCOA" = 1; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_WEBKIT 1
46154 if test "$wxUSE_WEBKIT" = "yes"; then
46155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46160 if test "$wxUSE_XRC" = "yes"; then
46161 if test "$wxUSE_XML" != "yes"; then
46162 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46163 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_XRC 1
46171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46176 if test "$wxUSE_AUI" = "yes"; then
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_AUI 1
46182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46186 if test "$wxUSE_PROPGRID" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_PROPGRID 1
46192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46196 if test "$wxUSE_STC" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_STC 1
46202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46205 if test "$wxUSE_MENUS" = "yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_MENUS 1
46210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46213 if test "$wxUSE_METAFILE" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_METAFILE 1
46220 if test "$wxUSE_MIMETYPE" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_MIMETYPE 1
46227 if test "$wxUSE_MINIFRAME" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_MINIFRAME 1
46234 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_SYSTEM_OPTIONS 1
46241 if test "$wxUSE_TASKBARICON" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_TASKBARICON 1
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46250 if test "$wxUSE_VALIDATORS" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_VALIDATORS 1
46255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46258 if test "$wxUSE_PALETTE" = "yes" ; then
46259 if test "$wxUSE_DFB" = 1; then
46260 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46261 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_PALETTE 1
46271 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46272 LIBS=" -lunicows $LIBS"
46276 if test "$wxUSE_RICHTEXT" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_RICHTEXT 1
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46286 if test "$wxUSE_IMAGE" = "yes" ; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_IMAGE 1
46292 if test "$wxUSE_GIF" = "yes" ; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxUSE_GIF 1
46299 if test "$wxUSE_PCX" = "yes" ; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_PCX 1
46306 if test "$wxUSE_TGA" = "yes" ; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_TGA 1
46313 if test "$wxUSE_IFF" = "yes" ; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_IFF 1
46320 if test "$wxUSE_PNM" = "yes" ; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_PNM 1
46327 if test "$wxUSE_XPM" = "yes" ; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_XPM 1
46334 if test "$wxUSE_ICO_CUR" = "yes" ; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_ICO_CUR 1
46343 if test "$wxUSE_ABOUTDLG" = "yes"; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_ABOUTDLG 1
46350 if test "$wxUSE_CHOICEDLG" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_CHOICEDLG 1
46357 if test "$wxUSE_COLOURDLG" = "yes"; then
46358 cat >>confdefs.h <<\_ACEOF
46359 #define wxUSE_COLOURDLG 1
46364 if test "$wxUSE_FILEDLG" = "yes"; then
46365 cat >>confdefs.h <<\_ACEOF
46366 #define wxUSE_FILEDLG 1
46371 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_FINDREPLDLG 1
46378 if test "$wxUSE_FONTDLG" = "yes"; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_FONTDLG 1
46385 if test "$wxUSE_DIRDLG" = "yes"; then
46386 if test "$wxUSE_TREECTRL" != "yes"; then
46387 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46388 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_DIRDLG 1
46397 if test "$wxUSE_MSGDLG" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_MSGDLG 1
46404 if test "$wxUSE_NUMBERDLG" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_NUMBERDLG 1
46411 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_PROGRESSDLG 1
46418 if test "$wxUSE_SPLASH" = "yes"; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_SPLASH 1
46423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46426 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_STARTUP_TIPS 1
46433 if test "$wxUSE_TEXTDLG" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_TEXTDLG 1
46440 if test "$wxUSE_WIZARDDLG" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_WIZARDDLG 1
46445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46449 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46450 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_OWNER_DRAWN 1
46459 if test "$wxUSE_MSW" = 1 ; then
46461 if test "$wxUSE_DC_CACHEING" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_DC_CACHEING 1
46468 if test "$wxUSE_DIB" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_WXDIB 1
46475 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46482 if test "$wxUSE_UXTHEME" = "yes"; then
46483 cat >>confdefs.h <<\_ACEOF
46484 #define wxUSE_UXTHEME 1
46491 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_AUTOID_MANAGEMENT 1
46498 if test "$USE_WIN32" = 1 ; then
46499 if test "$wxUSE_INICONF" = "yes"; then
46500 cat >>confdefs.h <<\_ACEOF
46501 #define wxUSE_INICONF 1
46506 if test "$wxUSE_REGKEY" = "yes"; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_REGKEY 1
46515 if test "$wxUSE_MAC" = 1; then
46516 wxUSE_GRAPHICS_CONTEXT="yes"
46519 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46520 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_GRAPHICS_CONTEXT 1
46525 elif test "$wxUSE_GTK" != 1; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_GRAPHICS_CONTEXT 1
46533 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46534 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46536 if test -n "$PKG_CONFIG"; then
46537 if test -n "$CAIRO_CFLAGS"; then
46538 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46540 if test -n "$PKG_CONFIG" && \
46541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46542 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46545 (exit $ac_status); }; then
46546 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46554 if test -n "$PKG_CONFIG"; then
46555 if test -n "$CAIRO_LIBS"; then
46556 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46558 if test -n "$PKG_CONFIG" && \
46559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46560 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); }; then
46564 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46575 if test $pkg_failed = yes; then
46577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46578 _pkg_short_errors_supported=yes
46580 _pkg_short_errors_supported=no
46582 if test $_pkg_short_errors_supported = yes; then
46583 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46585 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46587 # Put the nasty error message in config.log where it belongs
46588 echo "$CAIRO_PKG_ERRORS" >&5
46590 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46591 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46593 elif test $pkg_failed = untried; then
46594 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46595 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46598 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46599 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46600 { echo "$as_me:$LINENO: result: yes" >&5
46601 echo "${ECHO_T}yes" >&6; }
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_GRAPHICS_CONTEXT 1
46613 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46616 if test "$wxUSE_GTK" = 1; then
46617 wxUSE_GSTREAMER="no"
46619 GST_VERSION_MAJOR=0
46620 GST_VERSION_MINOR=10
46621 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46623 if test "$wxUSE_GSTREAMER8" = "no"; then
46626 { echo "$as_me:$LINENO: checking for GST" >&5
46627 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46629 if test -n "$PKG_CONFIG"; then
46630 if test -n "$GST_CFLAGS"; then
46631 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46633 if test -n "$PKG_CONFIG" && \
46634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46635 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); }; then
46639 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46647 if test -n "$PKG_CONFIG"; then
46648 if test -n "$GST_LIBS"; then
46649 pkg_cv_GST_LIBS="$GST_LIBS"
46651 if test -n "$PKG_CONFIG" && \
46652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46653 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); }; then
46657 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46668 if test $pkg_failed = yes; then
46670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46671 _pkg_short_errors_supported=yes
46673 _pkg_short_errors_supported=no
46675 if test $_pkg_short_errors_supported = yes; then
46676 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46678 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46680 # Put the nasty error message in config.log where it belongs
46681 echo "$GST_PKG_ERRORS" >&5
46684 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46685 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46686 GST_VERSION_MINOR=8
46689 elif test $pkg_failed = untried; then
46691 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46692 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46693 GST_VERSION_MINOR=8
46697 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46698 GST_LIBS=$pkg_cv_GST_LIBS
46699 { echo "$as_me:$LINENO: result: yes" >&5
46700 echo "${ECHO_T}yes" >&6; }
46702 wxUSE_GSTREAMER="yes"
46703 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46707 GST_VERSION_MINOR=8
46710 if test $GST_VERSION_MINOR = "8"; then
46711 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46714 { echo "$as_me:$LINENO: checking for GST" >&5
46715 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46717 if test -n "$PKG_CONFIG"; then
46718 if test -n "$GST_CFLAGS"; then
46719 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46721 if test -n "$PKG_CONFIG" && \
46722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46723 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46726 (exit $ac_status); }; then
46727 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46735 if test -n "$PKG_CONFIG"; then
46736 if test -n "$GST_LIBS"; then
46737 pkg_cv_GST_LIBS="$GST_LIBS"
46739 if test -n "$PKG_CONFIG" && \
46740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46741 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); }; then
46745 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46756 if test $pkg_failed = yes; then
46758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46759 _pkg_short_errors_supported=yes
46761 _pkg_short_errors_supported=no
46763 if test $_pkg_short_errors_supported = yes; then
46764 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46766 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46768 # Put the nasty error message in config.log where it belongs
46769 echo "$GST_PKG_ERRORS" >&5
46772 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46773 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46775 elif test $pkg_failed = untried; then
46777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46778 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46781 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46782 GST_LIBS=$pkg_cv_GST_LIBS
46783 { echo "$as_me:$LINENO: result: yes" >&5
46784 echo "${ECHO_T}yes" >&6; }
46785 wxUSE_GSTREAMER="yes"
46790 if test "$wxUSE_GSTREAMER" = "yes"; then
46791 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46792 EXTRALIBS_MEDIA="$GST_LIBS"
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_GSTREAMER 1
46803 if test $USE_MEDIA = 1; then
46804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_MEDIACTRL 1
46810 if test "$wxUSE_MEDIACTRL" = "yes"; then
46811 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46812 echo "$as_me: error: GStreamer not available" >&2;}
46813 { (exit 1); exit 1; }; }
46815 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46816 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46822 if test "$cross_compiling" != "no"; then
46825 OSINFO=`uname
-s -r -m`
46826 OSINFO="\"$OSINFO\""
46829 cat >>confdefs.h <<_ACEOF
46830 #define WXWIN_OS_DESCRIPTION $OSINFO
46835 if test "x$prefix" != "xNONE"; then
46838 wxPREFIX=$ac_default_prefix
46841 cat >>confdefs.h <<_ACEOF
46842 #define wxINSTALL_PREFIX "$wxPREFIX"
46848 STD_BASE_LIBS="base"
46850 BUILT_WX_LIBS="base"
46851 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46853 if test "$wxUSE_SOCKETS" = "yes" ; then
46854 STD_BASE_LIBS="net $STD_BASE_LIBS"
46855 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46857 if test "$wxUSE_XML" = "yes" ; then
46858 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46859 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46862 if test "$wxUSE_GUI" = "yes"; then
46863 STD_GUI_LIBS="adv core"
46864 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46866 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46867 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46868 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46870 if test "$wxUSE_HTML" = "yes" ; then
46871 STD_GUI_LIBS="html $STD_GUI_LIBS"
46872 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46874 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46875 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46877 if test "$wxUSE_OPENGL" = "yes" ; then
46878 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46880 if test "$wxUSE_AUI" = "yes" ; then
46881 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46883 if test "$wxUSE_PROPGRID" = "yes" ; then
46884 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46886 if test "$wxUSE_RICHTEXT" = "yes" ; then
46887 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46889 if test "$wxUSE_STC" = "yes" ; then
46890 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46892 if test "$wxUSE_XRC" = "yes" ; then
46893 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46894 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46905 if test "$wxUSE_MAC" = 1 ; then
46906 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46907 if test "$USE_DARWIN" = 1; then
46908 LDFLAGS="$LDFLAGS -framework QuickTime"
46911 if test "$USE_DARWIN" = 1; then
46912 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
46915 if test "$wxUSE_COCOA" = 1 ; then
46916 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46917 if test "$wxUSE_MEDIACTRL" = "yes"; then
46918 LDFLAGS="$LDFLAGS -framework QuickTime"
46921 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46922 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46925 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46927 if test "$wxUSE_GUI" = "yes"; then
46930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46931 erase event exec font image minimal render \
46932 shaped svg taborder vscroll widgets wrapsizer"
46934 if test "$wxUSE_MONOLITHIC" != "yes"; then
46935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46937 if test "$TOOLKIT" = "MSW"; then
46938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46939 if test "$wxUSE_UNIVERSAL" != "yes"; then
46940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46943 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46947 SAMPLES_SUBDIRS="console"
46948 if test "$wxUSE_SOCKETS" = "yes" ; then
46949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46951 if test "$wxUSE_IPC" = "yes" ; then
46952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46957 if test "x$INTELCC" = "xyes" ; then
46958 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
46959 elif test "$GCC" = yes ; then
46960 CWARNINGS="-Wall -Wundef"
46963 if test "x$INTELCXX" = "xyes" ; then
46964 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
46965 elif test "$GXX" = yes ; then
46966 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46967 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
46968 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
46969 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
46970 echo $ECHO_N "(cached) $ECHO_C" >&6
46972 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
46975 ac_cpp='$CXXCPP $CPPFLAGS'
46976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46980 ac_save_CXXFLAGS="$CXXFLAGS"
46981 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
46982 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
46983 cat >conftest.$ac_ext <<_ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h. */
46998 rm -f conftest.$ac_objext
46999 if { (ac_try="$ac_compile"
47000 case "(($ac_try" in
47001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47002 *) ac_try_echo
=$ac_try;;
47004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47005 (eval "$ac_compile") 2>conftest.er1
47007 grep -v '^ *+' conftest.er1
>conftest.err
47009 cat conftest.err
>&5
47010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011 (exit $ac_status); } && {
47012 test -z "$ac_cxx_werror_flag" ||
47013 test ! -s conftest.err
47014 } && test -s conftest.
$ac_objext; then
47015 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47017 echo "$as_me: failed program was:" >&5
47018 sed 's/^/| /' conftest.
$ac_ext >&5
47023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47025 CXXFLAGS
="$ac_save_CXXFLAGS"
47027 ac_cpp
='$CPP $CPPFLAGS'
47028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47034 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47035 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47036 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47040 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47041 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47042 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045 (exit $ac_status); }
47046 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47047 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }
47051 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47059 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47060 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47063 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47064 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47065 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47068 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47069 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47070 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47071 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47072 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47074 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47077 if test "x$MWCC" = "xyes"; then
47079 CC
="$CC -cwd source -I-"
47080 CXX
="$CXX -cwd source -I-"
47085 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47086 EXTRALIBS_XML
="$EXPAT_LINK"
47087 EXTRALIBS_HTML
="$MSPACK_LINK"
47088 EXTRALIBS_MEDIA
="$GST_LIBS"
47089 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47090 if test "$wxUSE_GUI" = "yes"; then
47091 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47093 if test "$wxUSE_OPENGL" = "yes"; then
47094 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47097 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47099 WXCONFIG_LIBS
="$LIBS"
47101 if test "$wxUSE_REGEX" = "builtin" ; then
47102 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47104 if test "$wxUSE_EXPAT" = "builtin" ; then
47105 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47107 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47108 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47110 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47111 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47113 if test "$wxUSE_LIBPNG" = "builtin" ; then
47114 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47116 if test "$wxUSE_ZLIB" = "builtin" ; then
47117 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47120 for i
in $wxconfig_3rdparty ; do
47121 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47125 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47128 case "$wxUNIV_THEMES" in
47130 cat >>confdefs.h
<<\_ACEOF
47131 #define wxUSE_ALL_THEMES 1
47137 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47138 cat >>confdefs.h
<<_ACEOF
47139 #define wxUSE_THEME_$t 1
47155 if test $wxUSE_MONOLITHIC = "yes" ; then
47161 if test $wxUSE_PLUGINS = "yes" ; then
47167 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47173 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47206 TOOLKIT_LOWERCASE
=xxx
47207 if test "$TOOLKIT" = "MAC"; then
47208 TOOLKIT_LOWERCASE
=osx_carbon
47210 if test "$TOOLKIT" = "OSX_CARBON"; then
47211 TOOLKIT_LOWERCASE
=osx_carbon
47213 if test "$TOOLKIT" = "OSX_COCOA"; then
47214 TOOLKIT_LOWERCASE
=osx_cocoa
47216 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47217 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47231 TOOLKIT_DESC
="GTK+"
47232 if test "$WXGTK2" = 1; then
47233 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47234 if test "$wxUSE_GTKPRINT" = "yes" ; then
47235 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47237 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47238 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47240 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47241 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47243 if test "$wxUSE_LIBHILDON" = "yes"; then
47244 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47247 if test "$TOOLKIT_EXTRA" != ""; then
47248 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47254 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47258 TOOLKIT_DESC
="base only"
47262 if test "$wxUSE_WINE" = "yes"; then
47263 BAKEFILE_FORCE_PLATFORM
=win32
47266 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47268 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47269 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47270 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47271 echo $ECHO_N "(cached) $ECHO_C" >&6
47274 echo '#include <stdio.h>
47275 const wchar_t test_var[] = L"awidetest";' > conftest.h
47277 echo '#include "conftest.h"
47280 printf("%ls", test_var);
47284 wx_cv_gcc_pch_bug
="pch not supported"
47286 if $CXX conftest.h
>/dev
/null
2>&1
47290 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47292 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47293 grep awidetest
>/dev
/null
47295 wx_cv_gcc_pch_bug
=no
47297 wx_cv_gcc_pch_bug
=yes
47302 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47305 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47306 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47308 if test "$wx_cv_gcc_pch_bug" = yes; then
47319 if test "x$BAKEFILE_HOST" = "x"; then
47320 if test "x${host}" = "x" ; then
47321 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47322 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47323 { (exit 1); exit 1; }; }
47326 BAKEFILE_HOST
="${host}"
47329 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47331 if test -n "$ac_tool_prefix"; then
47332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47333 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47336 if test "${ac_cv_prog_RANLIB+set}" = set; then
47337 echo $ECHO_N "(cached) $ECHO_C" >&6
47339 if test -n "$RANLIB"; then
47340 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47343 for as_dir
in $PATH
47346 test -z "$as_dir" && as_dir
=.
47347 for ac_exec_ext
in '' $ac_executable_extensions; do
47348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47349 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47359 RANLIB
=$ac_cv_prog_RANLIB
47360 if test -n "$RANLIB"; then
47361 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47362 echo "${ECHO_T}$RANLIB" >&6; }
47364 { echo "$as_me:$LINENO: result: no" >&5
47365 echo "${ECHO_T}no" >&6; }
47370 if test -z "$ac_cv_prog_RANLIB"; then
47371 ac_ct_RANLIB
=$RANLIB
47372 # Extract the first word of "ranlib", so it can be a program name with args.
47373 set dummy ranlib
; ac_word
=$2
47374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47376 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47377 echo $ECHO_N "(cached) $ECHO_C" >&6
47379 if test -n "$ac_ct_RANLIB"; then
47380 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47383 for as_dir
in $PATH
47386 test -z "$as_dir" && as_dir
=.
47387 for ac_exec_ext
in '' $ac_executable_extensions; do
47388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47389 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47399 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47400 if test -n "$ac_ct_RANLIB"; then
47401 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47402 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47404 { echo "$as_me:$LINENO: result: no" >&5
47405 echo "${ECHO_T}no" >&6; }
47408 if test "x$ac_ct_RANLIB" = x
; then
47411 case $cross_compiling:$ac_tool_warned in
47413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47414 whose name does not start with the host triplet. If you think this
47415 configuration is useful to you, please write to autoconf@gnu.org." >&5
47416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47417 whose name does not start with the host triplet. If you think this
47418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47419 ac_tool_warned
=yes ;;
47421 RANLIB
=$ac_ct_RANLIB
47424 RANLIB
="$ac_cv_prog_RANLIB"
47427 # Find a good install program. We prefer a C program (faster),
47428 # so one script is as good as another. But avoid the broken or
47429 # incompatible versions:
47430 # SysV /etc/install, /usr/sbin/install
47431 # SunOS /usr/etc/install
47432 # IRIX /sbin/install
47434 # AmigaOS /C/install, which installs bootblocks on floppy discs
47435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47438 # OS/2's system install, which has a completely different semantic
47439 # ./install, which can be erroneously created by make from ./install.sh.
47440 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47442 if test -z "$INSTALL"; then
47443 if test "${ac_cv_path_install+set}" = set; then
47444 echo $ECHO_N "(cached) $ECHO_C" >&6
47446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47447 for as_dir
in $PATH
47450 test -z "$as_dir" && as_dir
=.
47451 # Account for people who put trailing slashes in PATH elements.
47453 .
/ | .
// | /cC
/* | \
47454 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47455 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47458 # OSF1 and SCO ODT 3.0 have their own names for install.
47459 # Don't use installbsd from OSF since it installs stuff as root
47461 for ac_prog
in ginstall scoinst
install; do
47462 for ac_exec_ext
in '' $ac_executable_extensions; do
47463 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47464 if test $ac_prog = install &&
47465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47466 # AIX install. It has an incompatible calling convention.
47468 elif test $ac_prog = install &&
47469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47470 # program-specific install script used by HP pwplus--don't use.
47473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47486 if test "${ac_cv_path_install+set}" = set; then
47487 INSTALL
=$ac_cv_path_install
47489 # As a last resort, use the slow shell script. Don't cache a
47490 # value for INSTALL within a source directory, because that will
47491 # break other packages using the cache if that directory is
47492 # removed, or if the value is a relative name.
47493 INSTALL
=$ac_install_sh
47496 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47497 echo "${ECHO_T}$INSTALL" >&6; }
47499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47500 # It thinks the first close brace ends the variable substitution.
47501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47505 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47507 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47508 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47510 if test "$LN_S" = "ln -s"; then
47511 { echo "$as_me:$LINENO: result: yes" >&5
47512 echo "${ECHO_T}yes" >&6; }
47514 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47515 echo "${ECHO_T}no, using $LN_S" >&6; }
47519 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47520 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47521 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47522 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47523 echo $ECHO_N "(cached) $ECHO_C" >&6
47525 cat >conftest.
make <<\_ACEOF
47528 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47530 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47531 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47532 *@@@
%%%=?
*=@@@
%%%*)
47533 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47535 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47537 rm -f conftest.
make
47539 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47540 { echo "$as_me:$LINENO: result: yes" >&5
47541 echo "${ECHO_T}yes" >&6; }
47544 { echo "$as_me:$LINENO: result: no" >&5
47545 echo "${ECHO_T}no" >&6; }
47546 SET_MAKE
="MAKE=${MAKE-make}"
47551 if test "x$SUNCXX" = "xyes"; then
47553 AROPTIONS
="-xar -o"
47555 elif test "x$SGICC" = "xyes"; then
47560 if test -n "$ac_tool_prefix"; then
47561 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47562 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47565 if test "${ac_cv_prog_AR+set}" = set; then
47566 echo $ECHO_N "(cached) $ECHO_C" >&6
47568 if test -n "$AR"; then
47569 ac_cv_prog_AR
="$AR" # Let the user override the test.
47571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47572 for as_dir
in $PATH
47575 test -z "$as_dir" && as_dir
=.
47576 for ac_exec_ext
in '' $ac_executable_extensions; do
47577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47578 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47589 if test -n "$AR"; then
47590 { echo "$as_me:$LINENO: result: $AR" >&5
47591 echo "${ECHO_T}$AR" >&6; }
47593 { echo "$as_me:$LINENO: result: no" >&5
47594 echo "${ECHO_T}no" >&6; }
47599 if test -z "$ac_cv_prog_AR"; then
47601 # Extract the first word of "ar", so it can be a program name with args.
47602 set dummy
ar; ac_word
=$2
47603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47605 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47608 if test -n "$ac_ct_AR"; then
47609 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47612 for as_dir
in $PATH
47615 test -z "$as_dir" && as_dir
=.
47616 for ac_exec_ext
in '' $ac_executable_extensions; do
47617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47618 ac_cv_prog_ac_ct_AR
="ar"
47619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47628 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47629 if test -n "$ac_ct_AR"; then
47630 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47631 echo "${ECHO_T}$ac_ct_AR" >&6; }
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47637 if test "x$ac_ct_AR" = x
; then
47640 case $cross_compiling:$ac_tool_warned in
47642 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47643 whose name does not start with the host triplet. If you think this
47644 configuration is useful to you, please write to autoconf@gnu.org." >&5
47645 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47646 whose name does not start with the host triplet. If you think this
47647 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47648 ac_tool_warned
=yes ;;
47653 AR
="$ac_cv_prog_AR"
47660 if test -n "$ac_tool_prefix"; then
47661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47662 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47665 if test "${ac_cv_prog_STRIP+set}" = set; then
47666 echo $ECHO_N "(cached) $ECHO_C" >&6
47668 if test -n "$STRIP"; then
47669 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47672 for as_dir
in $PATH
47675 test -z "$as_dir" && as_dir
=.
47676 for ac_exec_ext
in '' $ac_executable_extensions; do
47677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47678 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47688 STRIP
=$ac_cv_prog_STRIP
47689 if test -n "$STRIP"; then
47690 { echo "$as_me:$LINENO: result: $STRIP" >&5
47691 echo "${ECHO_T}$STRIP" >&6; }
47693 { echo "$as_me:$LINENO: result: no" >&5
47694 echo "${ECHO_T}no" >&6; }
47699 if test -z "$ac_cv_prog_STRIP"; then
47701 # Extract the first word of "strip", so it can be a program name with args.
47702 set dummy strip
; ac_word
=$2
47703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47706 echo $ECHO_N "(cached) $ECHO_C" >&6
47708 if test -n "$ac_ct_STRIP"; then
47709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47712 for as_dir
in $PATH
47715 test -z "$as_dir" && as_dir
=.
47716 for ac_exec_ext
in '' $ac_executable_extensions; do
47717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47718 ac_cv_prog_ac_ct_STRIP
="strip"
47719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47729 if test -n "$ac_ct_STRIP"; then
47730 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47731 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47733 { echo "$as_me:$LINENO: result: no" >&5
47734 echo "${ECHO_T}no" >&6; }
47737 if test "x$ac_ct_STRIP" = x
; then
47740 case $cross_compiling:$ac_tool_warned in
47742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47743 whose name does not start with the host triplet. If you think this
47744 configuration is useful to you, please write to autoconf@gnu.org." >&5
47745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47746 whose name does not start with the host triplet. If you think this
47747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47748 ac_tool_warned
=yes ;;
47753 STRIP
="$ac_cv_prog_STRIP"
47756 if test -n "$ac_tool_prefix"; then
47757 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47758 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47761 if test "${ac_cv_prog_NM+set}" = set; then
47762 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 if test -n "$NM"; then
47765 ac_cv_prog_NM
="$NM" # Let the user override the test.
47767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47768 for as_dir
in $PATH
47771 test -z "$as_dir" && as_dir
=.
47772 for ac_exec_ext
in '' $ac_executable_extensions; do
47773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47774 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47785 if test -n "$NM"; then
47786 { echo "$as_me:$LINENO: result: $NM" >&5
47787 echo "${ECHO_T}$NM" >&6; }
47789 { echo "$as_me:$LINENO: result: no" >&5
47790 echo "${ECHO_T}no" >&6; }
47795 if test -z "$ac_cv_prog_NM"; then
47797 # Extract the first word of "nm", so it can be a program name with args.
47798 set dummy nm
; ac_word
=$2
47799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47801 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47804 if test -n "$ac_ct_NM"; then
47805 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47808 for as_dir
in $PATH
47811 test -z "$as_dir" && as_dir
=.
47812 for ac_exec_ext
in '' $ac_executable_extensions; do
47813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47814 ac_cv_prog_ac_ct_NM
="nm"
47815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47824 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47825 if test -n "$ac_ct_NM"; then
47826 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47827 echo "${ECHO_T}$ac_ct_NM" >&6; }
47829 { echo "$as_me:$LINENO: result: no" >&5
47830 echo "${ECHO_T}no" >&6; }
47833 if test "x$ac_ct_NM" = x
; then
47836 case $cross_compiling:$ac_tool_warned in
47838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47839 whose name does not start with the host triplet. If you think this
47840 configuration is useful to you, please write to autoconf@gnu.org." >&5
47841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47842 whose name does not start with the host triplet. If you think this
47843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47844 ac_tool_warned
=yes ;;
47849 NM
="$ac_cv_prog_NM"
47853 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47854 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47855 INSTALL_TEST_DIR
=acbftest$$
47856 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47857 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47858 rmdir $INSTALL_TEST_DIR
47859 INSTALL_DIR
='$(INSTALL) -d'
47860 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47861 echo "${ECHO_T}$INSTALL -d" >&6; }
47863 INSTALL_DIR
="mkdir -p"
47864 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47865 echo "${ECHO_T}mkdir -p" >&6; }
47870 case ${BAKEFILE_HOST} in
47871 *-*-cygwin* | *-*-mingw32* )
47872 LDFLAGS_GUI
="-mwindows"
47878 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47879 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47880 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47881 echo $ECHO_N "(cached) $ECHO_C" >&6
47884 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47885 egrep -s GNU
> /dev
/null
); then
47886 bakefile_cv_prog_makeisgnu
="yes"
47888 bakefile_cv_prog_makeisgnu
="no"
47892 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47893 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47895 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47912 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47913 case "${BAKEFILE_HOST}" in
47920 *-pc-os2_emx | *-pc-os2-emx )
47930 powerpc
-apple-macos* )
47939 case "$BAKEFILE_FORCE_PLATFORM" in
47974 # Check whether --enable-omf was given.
47975 if test "${enable_omf+set}" = set; then
47976 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
47980 case "${BAKEFILE_HOST}" in
47982 if test "x$GCC" = "xyes"; then
47983 CFLAGS
="$CFLAGS -fno-common"
47984 CXXFLAGS
="$CXXFLAGS -fno-common"
47986 if test "x$XLCC" = "xyes"; then
47987 CFLAGS
="$CFLAGS -qnocommon"
47988 CXXFLAGS
="$CXXFLAGS -qnocommon"
47992 *-pc-os2_emx | *-pc-os2-emx )
47993 if test "x$bk_os2_use_omf" = "xyes" ; then
47996 LDFLAGS
="-Zomf $LDFLAGS"
47997 CFLAGS
="-Zomf $CFLAGS"
47998 CXXFLAGS
="-Zomf $CXXFLAGS"
48006 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48012 SO_SUFFIX_MODULE
="so"
48017 DLLPREFIX_MODULE
=""
48021 case "${BAKEFILE_HOST}" in
48026 SO_SUFFIX_MODULE
="sl"
48030 SO_SUFFIX_MODULE
="a"
48034 SO_SUFFIX_MODULE
="dll"
48035 DLLIMP_SUFFIX
="dll.a"
48042 SO_SUFFIX_MODULE
="dll"
48043 DLLIMP_SUFFIX
="dll.a"
48053 *-pc-os2_emx | *-pc-os2-emx )
48055 SO_SUFFIX_MODULE
="dll"
48056 DLLIMP_SUFFIX
=$OS2_LIBEXT
48060 LIBEXT
=".$OS2_LIBEXT"
48065 SO_SUFFIX_MODULE
="bundle"
48069 if test "x$DLLIMP_SUFFIX" = "x" ; then
48070 DLLIMP_SUFFIX
="$SO_SUFFIX"
48085 if test "x$GCC" = "xyes"; then
48089 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48090 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48093 case "${BAKEFILE_HOST}" in
48095 if test "x$GCC" != "xyes"; then
48096 LDFLAGS
="$LDFLAGS -L/usr/lib"
48098 SHARED_LD_CC
="${CC} -b -o"
48099 SHARED_LD_CXX
="${CXX} -b -o"
48105 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48107 elif test "x$SUNCXX" = "xyes"; then
48108 SHARED_LD_CC
="${CC} -G -o"
48109 SHARED_LD_CXX
="${CXX} -G -o"
48115 if test "x$SUNCXX" = xyes
; then
48116 SHARED_LD_CC
="${CC} -G -o"
48117 SHARED_LD_CXX
="${CXX} -G -o"
48125 cat <<EOF >shared-ld-sh
48127 #-----------------------------------------------------------------------------
48128 #-- Name: distrib/mac/shared-ld-sh
48129 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48130 #-- Author: Gilles Depeyrot
48131 #-- Copyright: (c) 2002 Gilles Depeyrot
48132 #-- Licence: any use permitted
48133 #-----------------------------------------------------------------------------
48138 linking_flag="-dynamiclib"
48139 ldargs="-r -keep_private_externs -nostdlib"
48141 if test "x${D}CXX" = "x"; then
48145 while test ${D}# -gt 0; do
48152 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48153 # collect these options and values
48154 args="${D}{args} ${D}1 ${D}2"
48159 # collect these options and values
48160 ldargs="${D}{ldargs} ${D}1 ${D}2"
48165 # collect these load args
48166 ldargs="${D}{ldargs} ${D}1"
48169 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48170 # collect these options
48171 args="${D}{args} ${D}1"
48174 -dynamiclib|-bundle)
48175 linking_flag="${D}1"
48179 echo "shared-ld: unhandled option '${D}1'"
48183 *.o | *.a | *.dylib)
48184 # collect object files
48185 objects="${D}{objects} ${D}1"
48189 echo "shared-ld: unhandled argument '${D}1'"
48200 # Link one module containing all the others
48202 if test ${D}{verbose} = 1; then
48203 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48205 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48209 # Link the shared library from the single module created, but only if the
48210 # previous command didn't fail:
48212 if test ${D}{status} = 0; then
48213 if test ${D}{verbose} = 1; then
48214 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48216 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48221 # Remove intermediate module
48223 rm -f master.${D}${D}.o
48228 chmod +x shared
-ld-sh
48230 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48231 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48234 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48235 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48236 if test "${bakefile_cv_gcc31+set}" = set; then
48237 echo $ECHO_N "(cached) $ECHO_C" >&6
48240 cat >conftest.
$ac_ext <<_ACEOF
48243 cat confdefs.h
>>conftest.
$ac_ext
48244 cat >>conftest.
$ac_ext <<_ACEOF
48245 /* end confdefs.h. */
48251 #if (__GNUC__ < 3) || \
48252 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48260 rm -f conftest.
$ac_objext
48261 if { (ac_try
="$ac_compile"
48262 case "(($ac_try" in
48263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48264 *) ac_try_echo=$ac_try;;
48266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48267 (eval "$ac_compile") 2>conftest.er1
48269 grep -v '^ *+' conftest.er1 >conftest.err
48271 cat conftest.err >&5
48272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48273 (exit $ac_status); } && {
48274 test -z "$ac_c_werror_flag" ||
48275 test ! -s conftest.err
48276 } && test -s conftest.$ac_objext; then
48278 bakefile_cv_gcc31=yes
48281 echo "$as_me: failed program was:" >&5
48282 sed 's/^/| /' conftest.$ac_ext >&5
48285 bakefile_cv_gcc31=no
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48293 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48294 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48295 if test "$bakefile_cv_gcc31" = "no"; then
48296 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48297 SHARED_LD_CXX="$SHARED_LD_CC"
48299 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48300 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48303 if test "x$GCC" == "xyes"; then
48304 PIC_FLAG="-dynamic -fPIC"
48306 if test "x$XLCC" = "xyes"; then
48307 PIC_FLAG="-dynamic -DPIC"
48312 if test "x$GCC" = "xyes"; then
48315 case "${BAKEFILE_HOST}" in
48317 LD_EXPFULL="-Wl,-bexpfull"
48321 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48322 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48324 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48325 set dummy makeC++SharedLib; ac_word=$2
48326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48328 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48329 echo $ECHO_N "(cached) $ECHO_C" >&6
48331 if test -n "$AIX_CXX_LD"; then
48332 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48335 for as_dir in $PATH
48338 test -z "$as_dir" && as_dir=.
48339 for ac_exec_ext in '' $ac_executable_extensions; do
48340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48341 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48349 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48352 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48353 if test -n "$AIX_CXX_LD"; then
48354 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48355 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48357 { echo "$as_me:$LINENO: result: no" >&5
48358 echo "${ECHO_T}no" >&6; }
48362 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48363 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48368 SHARED_LD_CC="${LD} -nostart -o"
48369 SHARED_LD_CXX="${LD} -nostart -o"
48373 if test "x$GCC" != "xyes"; then
48378 *-*-cygwin* | *-*-mingw32* )
48380 SHARED_LD_CC="\$(CC) -shared -o"
48381 SHARED_LD_CXX="\$(CXX) -shared -o"
48385 *-pc-os2_emx | *-pc-os2-emx )
48386 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48387 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48391 cat <<EOF >dllar.sh
48394 # dllar - a tool to build both a .dll and an .a file
48395 # from a set of object (.o) files for EMX/OS2.
48397 # Written by Andrew Zabolotny, bit@freya.etu.ru
48398 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48400 # This script will accept a set of files on the command line.
48401 # All the public symbols from the .o files will be exported into
48402 # a .DEF file, then linker will be run (through gcc) against them to
48403 # build a shared library consisting of all given .o files. All libraries
48404 # (.a) will be first decompressed into component .o files then act as
48405 # described above. You can optionally give a description (-d "description")
48406 # which will be put into .DLL. To see the list of accepted options (as well
48407 # as command-line format) simply run this program without options. The .DLL
48408 # is built to be imported by name (there is no guarantee that new versions
48409 # of the library you build will have same ordinals for same symbols).
48411 # dllar is free software; you can redistribute it and/or modify
48412 # it under the terms of the GNU General Public License as published by
48413 # the Free Software Foundation; either version 2, or (at your option)
48414 # any later version.
48416 # dllar is distributed in the hope that it will be useful,
48417 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48418 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48419 # GNU General Public License for more details.
48421 # You should have received a copy of the GNU General Public License
48422 # along with dllar; see the file COPYING. If not, write to the Free
48423 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48426 # To successfuly run this program you will need:
48427 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48428 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48430 # (used to build the .dll)
48432 # (used to create .def file from .o files)
48434 # (used to create .a file from .def file)
48435 # - GNU text utilites (cat, sort, uniq)
48436 # used to process emxexp output
48437 # - GNU file utilities (mv, rm)
48439 # - lxlite (optional, see flag below)
48440 # (used for general .dll cleanup)
48447 # basnam, variant of basename, which does _not_ remove the path, _iff_
48448 # second argument (suffix to remove) is given
48452 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48455 echo ${D}1 | sed 's/'${D}2'${D}//'
48458 echo "error in basnam ${D}*"
48464 # Cleanup temporary files and output
48467 for i in ${D}inputFiles ; do
48470 rm -rf \`basnam
${D}i
!\
`
48477 # Kill result in case of failure as there is just to many stupid make/nmake
48478 # things out there which doesn't do this.
48479 if [ ${D}# -eq 0 ]; then
48480 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48484 # Print usage and exit script with rc=1.
48486 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48487 echo ' [-name-mangler-script script.sh]'
48488 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48489 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48490 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48491 echo ' [*.o] [*.a]'
48492 echo '*> "output_file" should have no extension.'
48493 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48494 echo ' The import library name is derived from this and is set to "name".a,'
48495 echo ' unless overridden by -import'
48496 echo '*> "importlib_name" should have no extension.'
48497 echo ' If it has the .o, or .a extension, it is automatically removed.'
48498 echo ' This name is used as the import library name and may be longer and'
48499 echo ' more descriptive than the DLL name which has to follow the old '
48500 echo ' 8.3 convention of FAT.'
48501 echo '*> "script.sh may be given to override the output_file name by a'
48502 echo ' different name. It is mainly useful if the regular make process'
48503 echo ' of some package does not take into account OS/2 restriction of'
48504 echo ' DLL name lengths. It takes the importlib name as input and is'
48505 echo ' supposed to procude a shorter name as output. The script should'
48506 echo ' expect to get importlib_name without extension and should produce'
48507 echo ' a (max.) 8 letter name without extension.'
48508 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48509 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48510 echo ' These flags will be put at the start of GCC command line.'
48511 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48512 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48513 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48514 echo ' If the last character of a symbol is "*", all symbols beginning'
48515 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48516 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48517 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48518 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48519 echo ' C runtime DLLs.'
48520 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48521 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48522 echo ' unchanged to GCC at the end of command line.'
48523 echo '*> If you create a DLL from a library and you do not specify -o,'
48524 echo ' the basename for DLL and import library will be set to library name,'
48525 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48526 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48527 echo ' library will be renamed into gcc_s.a.'
48530 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48531 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48536 # Execute a command.
48537 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48538 # @Uses Whatever CleanUp() uses.
48544 if [ ${D}rcCmd -ne 0 ]; then
48545 echo "command failed, exit code="${D}rcCmd
48560 CFLAGS="-s -Zcrtdll"
48562 EXPORT_BY_ORDINALS=0
48567 case ${D}curDirS in
48571 curDirS=${D}{curDirS}"/"
48574 # Parse commandline
48577 while [ ${D}1 ]; do
48580 EXPORT_BY_ORDINALS=1;
48590 -name-mangler-script)
48611 exclude_symbols=${D}{exclude_symbols}${D}1" "
48615 library_flags=${D}{library_flags}${D}1" "
48634 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48637 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48638 if [ ${D}omfLinking -eq 1 ]; then
48639 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48641 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48646 if [ ${D}libsToLink -ne 0 ]; then
48647 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48649 for file in ${D}1 ; do
48650 if [ -f ${D}file ]; then
48651 inputFiles="${D}{inputFiles} ${D}file"
48655 if [ ${D}found -eq 0 ]; then
48656 echo "ERROR: No file(s) found: "${D}1
48663 done # iterate cmdline words
48666 if [ -z "${D}inputFiles" ]; then
48667 echo "dllar: no input files"
48671 # Now extract all .o files from .a files
48673 for file in ${D}inputFiles ; do
48684 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48689 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48691 if [ ${D}? -ne 0 ]; then
48692 echo "Failed to create subdirectory ./${D}dirname"
48696 # Append '!' to indicate archive
48697 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48698 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48701 for subfile in ${D}dirname/*.o* ; do
48702 if [ -f ${D}subfile ]; then
48704 if [ -s ${D}subfile ]; then
48705 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48706 newInputFiles="${D}newInputFiles ${D}subfile"
48710 if [ ${D}found -eq 0 ]; then
48711 echo "WARNING: there are no files in archive \\'${D}file\\'"
48715 newInputFiles="${D}{newInputFiles} ${D}file"
48719 inputFiles="${D}newInputFiles"
48721 # Output filename(s).
48723 if [ -z ${D}outFile ]; then
48725 set outFile ${D}inputFiles; outFile=${D}2
48728 # If it is an archive, remove the '!' and the '_%' suffixes
48729 case ${D}outFile in
48731 outFile=\`basnam
${D}outFile _
%!\
`
48736 case ${D}outFile in
48738 outFile=\`basnam
${D}outFile .dll\
`
48741 outFile=\`basnam
${D}outFile .DLL\
`
48744 outFile=\`basnam
${D}outFile .o\
`
48747 outFile=\`basnam
${D}outFile .obj\
`
48750 outFile=\`basnam
${D}outFile .a\
`
48753 outFile=\`basnam
${D}outFile .lib\
`
48758 case ${D}outimpFile in
48760 outimpFile=\`basnam
${D}outimpFile .a\
`
48763 outimpFile=\`basnam
${D}outimpFile .lib\
`
48768 if [ -z ${D}outimpFile ]; then
48769 outimpFile=${D}outFile
48771 defFile="${D}{outFile}.def"
48772 arcFile="${D}{outimpFile}.a"
48773 arcFile2="${D}{outimpFile}.lib"
48775 #create ${D}dllFile as something matching 8.3 restrictions,
48776 if [ -z ${D}renameScript ] ; then
48777 dllFile="${D}outFile"
48779 dllFile=\`${D}renameScript
${D}outimpFile\
`
48782 if [ ${D}do_backup -ne 0 ] ; then
48783 if [ -f ${D}arcFile ] ; then
48784 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48786 if [ -f ${D}arcFile2 ] ; then
48787 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48791 # Extract public symbols from all the object files.
48792 tmpdefFile=${D}{defFile}_%
48793 rm -f ${D}tmpdefFile
48794 for file in ${D}inputFiles ; do
48799 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48804 # Create the def file.
48806 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48807 dllFile="${D}{dllFile}.dll"
48808 if [ ! -z ${D}description ]; then
48809 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48811 echo "EXPORTS" >> ${D}defFile
48813 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48814 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48816 # Checks if the export is ok or not.
48817 for word in ${D}exclude_symbols; do
48818 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48819 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48823 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48824 sed "=" < ${D}tmpdefFile | \\
48828 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48830 ' > ${D}{tmpdefFile}%
48831 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48833 rm -f ${D}{tmpdefFile}%
48835 cat ${D}tmpdefFile >> ${D}defFile
48836 rm -f ${D}tmpdefFile
48838 # Do linking, create implib, and apply lxlite.
48840 for file in ${D}inputFiles ; do
48845 gccCmdl="${D}gccCmdl ${D}file"
48849 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48850 touch "${D}{outFile}.dll"
48852 doCommand "emximp -o ${D}arcFile ${D}defFile"
48853 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48855 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48858 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48860 doCommand "emxomf -s -l ${D}arcFile"
48870 powerpc-apple-macos* | \
48871 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48881 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48882 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48883 { (exit 1); exit 1; }; }
48886 if test "x$PIC_FLAG" != "x" ; then
48887 PIC_FLAG="$PIC_FLAG -DPIC"
48890 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48891 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48893 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48894 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48913 case "${BAKEFILE_HOST}" in
48914 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48915 *-*-k*bsd*-gnu | *-*-mirbsd* )
48916 if test "x$SUNCXX" = "xyes"; then
48919 SONAME_FLAG="-Wl,-soname,"
48954 # Check whether --enable-dependency-tracking was given.
48955 if test "${enable_dependency_tracking+set}" = set; then
48956 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48960 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48961 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48964 if test "x$bk_use_trackdeps" = "xno" ; then
48966 { echo "$as_me:$LINENO: result: disabled" >&5
48967 echo "${ECHO_T}disabled" >&6; }
48971 if test "x$GCC" = "xyes"; then
48973 case "${BAKEFILE_HOST}" in
48975 DEPSFLAG="-no-cpp-precomp -MMD"
48981 { echo "$as_me:$LINENO: result: gcc" >&5
48982 echo "${ECHO_T}gcc" >&6; }
48983 elif test "x$MWCC" = "xyes"; then
48986 { echo "$as_me:$LINENO: result: mwcc" >&5
48987 echo "${ECHO_T}mwcc" >&6; }
48988 elif test "x$SUNCC" = "xyes"; then
48991 { echo "$as_me:$LINENO: result: Sun cc" >&5
48992 echo "${ECHO_T}Sun cc" >&6; }
48993 elif test "x$SGICC" = "xyes"; then
48996 { echo "$as_me:$LINENO: result: SGI cc" >&5
48997 echo "${ECHO_T}SGI cc" >&6; }
48998 elif test "x$HPCC" = "xyes"; then
49001 { echo "$as_me:$LINENO: result: HP cc" >&5
49002 echo "${ECHO_T}HP cc" >&6; }
49003 elif test "x$COMPAQCC" = "xyes"; then
49006 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49007 echo "${ECHO_T}Compaq cc" >&6; }
49010 { echo "$as_me:$LINENO: result: none" >&5
49011 echo "${ECHO_T}none" >&6; }
49014 if test $DEPS_TRACKING = 1 ; then
49020 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49021 # script. It is used to track C/C++ files dependencies in portable way.
49023 # Permission is given to use this file in any way.
49025 DEPSMODE=${DEPSMODE}
49026 DEPSFLAG="${DEPSFLAG}"
49029 if test ${D}DEPSMODE = gcc ; then
49030 ${D}* ${D}{DEPSFLAG}
49033 # determine location of created files:
49034 while test ${D}# -gt 0; do
49048 objfilebase=\`basename ${D}objfile\
`
49049 builddir=\`dirname ${D}objfile\
`
49050 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49051 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49052 depsdir=${D}builddir/${D}DEPSDIRBASE
49053 mkdir -p ${D}depsdir
49055 # if the compiler failed, we're done:
49056 if test ${D}{status} != 0 ; then
49061 # move created file to the location we want it in:
49062 if test -f ${D}depfile ; then
49063 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49066 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49067 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49068 if test ! -f ${D}depfile ; then
49069 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49070 depfile="${D}objfile.d"
49072 if test -f ${D}depfile ; then
49073 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49079 elif test ${D}DEPSMODE = mwcc ; then
49080 ${D}* || exit ${D}?
49081 # Run mwcc again with -MM and redirect into the dep file we want
49082 # NOTE: We can't use shift here because we need ${D}* to be valid
49084 for arg in ${D}* ; do
49085 if test "${D}prevarg" = "-o"; then
49099 objfilebase=\`basename ${D}objfile\
`
49100 builddir=\`dirname ${D}objfile\
`
49101 depsdir=${D}builddir/${D}DEPSDIRBASE
49102 mkdir -p ${D}depsdir
49104 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49107 elif test ${D}DEPSMODE = unixcc; then
49108 ${D}* || exit ${D}?
49109 # Run compiler again with deps flag and redirect into the dep file.
49110 # It doesn't work if the '-o FILE' option is used, but without it the
49111 # dependency file will contain the wrong name for the object. So it is
49112 # removed from the command line, and the dep file is fixed with sed.
49114 while test ${D}# -gt 0; do
49121 eval arg${D}#=\\${D}1
49122 cmd="${D}cmd \\${D}arg${D}#"
49128 objfilebase=\`basename ${D}objfile\
`
49129 builddir=\`dirname ${D}objfile\
`
49130 depsdir=${D}builddir/${D}DEPSDIRBASE
49131 mkdir -p ${D}depsdir
49133 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49143 BK_DEPS="`pwd`/bk-deps"
49151 case ${BAKEFILE_HOST} in
49152 *-*-cygwin* | *-*-mingw32* )
49153 if test -n "$ac_tool_prefix"; then
49154 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49155 set dummy ${ac_tool_prefix}windres; ac_word=$2
49156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49158 if test "${ac_cv_prog_WINDRES+set}" = set; then
49159 echo $ECHO_N "(cached) $ECHO_C" >&6
49161 if test -n "$WINDRES"; then
49162 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49165 for as_dir in $PATH
49168 test -z "$as_dir" && as_dir=.
49169 for ac_exec_ext in '' $ac_executable_extensions; do
49170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49171 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49181 WINDRES=$ac_cv_prog_WINDRES
49182 if test -n "$WINDRES"; then
49183 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49184 echo "${ECHO_T}$WINDRES" >&6; }
49186 { echo "$as_me:$LINENO: result: no" >&5
49187 echo "${ECHO_T}no" >&6; }
49192 if test -z "$ac_cv_prog_WINDRES"; then
49193 ac_ct_WINDRES=$WINDRES
49194 # Extract the first word of "windres", so it can be a program name with args.
49195 set dummy windres; ac_word=$2
49196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49198 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49199 echo $ECHO_N "(cached) $ECHO_C" >&6
49201 if test -n "$ac_ct_WINDRES"; then
49202 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49205 for as_dir in $PATH
49208 test -z "$as_dir" && as_dir=.
49209 for ac_exec_ext in '' $ac_executable_extensions; do
49210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49211 ac_cv_prog_ac_ct_WINDRES="windres"
49212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49221 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49222 if test -n "$ac_ct_WINDRES"; then
49223 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49224 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49226 { echo "$as_me:$LINENO: result: no" >&5
49227 echo "${ECHO_T}no" >&6; }
49230 if test "x$ac_ct_WINDRES" = x; then
49233 case $cross_compiling:$ac_tool_warned in
49235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49236 whose name does not start with the host triplet. If you think this
49237 configuration is useful to you, please write to autoconf@gnu.org." >&5
49238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49239 whose name does not start with the host triplet. If you think this
49240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49241 ac_tool_warned=yes ;;
49243 WINDRES=$ac_ct_WINDRES
49246 WINDRES="$ac_cv_prog_WINDRES"
49251 *-*-darwin* | powerpc-apple-macos* )
49252 # Extract the first word of "Rez", so it can be a program name with args.
49253 set dummy Rez; ac_word=$2
49254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49256 if test "${ac_cv_prog_REZ+set}" = set; then
49257 echo $ECHO_N "(cached) $ECHO_C" >&6
49259 if test -n "$REZ"; then
49260 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49263 for as_dir in $PATH
49266 test -z "$as_dir" && as_dir=.
49267 for ac_exec_ext in '' $ac_executable_extensions; do
49268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49269 ac_cv_prog_REZ="Rez"
49270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49277 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49280 REZ=$ac_cv_prog_REZ
49281 if test -n "$REZ"; then
49282 { echo "$as_me:$LINENO: result: $REZ" >&5
49283 echo "${ECHO_T}$REZ" >&6; }
49285 { echo "$as_me:$LINENO: result: no" >&5
49286 echo "${ECHO_T}no" >&6; }
49290 # Extract the first word of "SetFile", so it can be a program name with args.
49291 set dummy SetFile; ac_word=$2
49292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49294 if test "${ac_cv_prog_SETFILE+set}" = set; then
49295 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 if test -n "$SETFILE"; then
49298 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49301 for as_dir in $PATH
49304 test -z "$as_dir" && as_dir=.
49305 for ac_exec_ext in '' $ac_executable_extensions; do
49306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49307 ac_cv_prog_SETFILE="SetFile"
49308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49315 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49318 SETFILE=$ac_cv_prog_SETFILE
49319 if test -n "$SETFILE"; then
49320 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49321 echo "${ECHO_T}$SETFILE" >&6; }
49323 { echo "$as_me:$LINENO: result: no" >&5
49324 echo "${ECHO_T}no" >&6; }
49339 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49342 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49346 # Check whether --enable-precomp-headers was given.
49347 if test "${enable_precomp_headers+set}" = set; then
49348 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49357 case ${BAKEFILE_HOST} in
49363 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49364 if test "x$GCC" = "xyes"; then
49365 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49366 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49367 cat >conftest.$ac_ext <<_ACEOF
49370 cat confdefs.h >>conftest.$ac_ext
49371 cat >>conftest.$ac_ext <<_ACEOF
49372 /* end confdefs.h. */
49378 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49379 There is no PCH support
49382 There is no PCH support
49384 #if (__GNUC__ == 3) && \
49385 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49386 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49387 ( defined(__INTEL_COMPILER) )
49388 There is no PCH support
49395 rm -f conftest.$ac_objext
49396 if { (ac_try="$ac_compile"
49397 case "(($ac_try" in
49398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49399 *) ac_try_echo
=$ac_try;;
49401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49402 (eval "$ac_compile") 2>conftest.er1
49404 grep -v '^ *+' conftest.er1
>conftest.err
49406 cat conftest.err
>&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } && {
49409 test -z "$ac_c_werror_flag" ||
49410 test ! -s conftest.err
49411 } && test -s conftest.
$ac_objext; then
49413 { echo "$as_me:$LINENO: result: yes" >&5
49414 echo "${ECHO_T}yes" >&6; }
49418 echo "$as_me: failed program was:" >&5
49419 sed 's/^/| /' conftest.
$ac_ext >&5
49422 if test "$INTELCXX8" = "yes"; then
49423 { echo "$as_me:$LINENO: result: yes" >&5
49424 echo "${ECHO_T}yes" >&6; }
49426 if test "$INTELCXX10" = "yes"; then
49427 ICC_PCH_CREATE_SWITCH
="-pch-create"
49428 ICC_PCH_USE_SWITCH
="-pch-use"
49430 ICC_PCH_CREATE_SWITCH
="-create-pch"
49431 ICC_PCH_USE_SWITCH
="-use-pch"
49434 { echo "$as_me:$LINENO: result: no" >&5
49435 echo "${ECHO_T}no" >&6; }
49440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49441 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49445 cat <<EOF >bk-make-pch
49448 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49449 # script. It is used to generated precompiled headers.
49451 # Permission is given to use this file in any way.
49458 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49463 while test ${D}{#} -gt 0; do
49467 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49468 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49469 headerfile="${D}{incdir}/${D}{header}"
49472 -use-pch|-use_pch|-pch-use )
49477 if test ${D}add_to_cmdline = 1 ; then
49478 compiler="${D}{compiler} ${D}{1}"
49483 if test "x${D}{headerfile}" = "x" ; then
49484 echo "error: can't find header ${D}{header} in include paths" >&2
49486 if test -f ${D}{outfile} ; then
49487 rm -f ${D}{outfile}
49489 mkdir -p \`dirname ${D}{outfile}\`
49491 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49492 mkdir -p ${D}{builddir}/.deps
49493 if test "x${GCC_PCH}" = "x1" ; then
49494 # can do this because gcc is >= 3.4:
49495 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49496 elif test "x${ICC_PCH}" = "x1" ; then
49497 filename=pch_gen-${D}${D}
49498 file=${D}{filename}.c
49499 dfile=${D}{filename}.d
49500 cat > ${D}file <<EOT
49501 #include "${D}header"
49503 # using -MF icc complains about differing command lines in creation/use
49504 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49505 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49506 rm -f ${D}file ${D}dfile ${D}{filename}.o
49512 chmod +x bk
-make-pch
49513 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49524 COND_BUILD_DEBUG
="#"
49525 if test "x$BUILD" = "xdebug" ; then
49526 COND_BUILD_DEBUG
=""
49529 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49530 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49531 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49534 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49535 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49536 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49539 COND_BUILD_DEBUG_UNICODE_0
="#"
49540 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49541 COND_BUILD_DEBUG_UNICODE_0
=""
49544 COND_BUILD_DEBUG_UNICODE_1
="#"
49545 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49546 COND_BUILD_DEBUG_UNICODE_1
=""
49549 COND_BUILD_RELEASE
="#"
49550 if test "x$BUILD" = "xrelease" ; then
49551 COND_BUILD_RELEASE
=""
49554 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49555 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49556 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49559 COND_BUILD_RELEASE_UNICODE_0
="#"
49560 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49561 COND_BUILD_RELEASE_UNICODE_0
=""
49564 COND_BUILD_RELEASE_UNICODE_1
="#"
49565 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49566 COND_BUILD_RELEASE_UNICODE_1
=""
49569 COND_BUILD_debug
="#"
49570 if test "x$BUILD" = "xdebug" ; then
49571 COND_BUILD_debug
=""
49574 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49575 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49576 COND_BUILD_debug_DEBUG_FLAG_default
=""
49579 COND_BUILD_debug_DEBUG_INFO_default
="#"
49580 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49581 COND_BUILD_debug_DEBUG_INFO_default
=""
49584 COND_BUILD_debug_UNICODE_0
="#"
49585 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49586 COND_BUILD_debug_UNICODE_0
=""
49589 COND_BUILD_debug_UNICODE_1
="#"
49590 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49591 COND_BUILD_debug_UNICODE_1
=""
49594 COND_BUILD_release
="#"
49595 if test "x$BUILD" = "xrelease" ; then
49596 COND_BUILD_release
=""
49599 COND_BUILD_release_DEBUG_INFO_default
="#"
49600 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49601 COND_BUILD_release_DEBUG_INFO_default
=""
49604 COND_BUILD_release_UNICODE_0
="#"
49605 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49606 COND_BUILD_release_UNICODE_0
=""
49609 COND_BUILD_release_UNICODE_1
="#"
49610 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49611 COND_BUILD_release_UNICODE_1
=""
49614 COND_DEBUG_FLAG_1
="#"
49615 if test "x$DEBUG_FLAG" = "x1" ; then
49616 COND_DEBUG_FLAG_1
=""
49619 COND_DEBUG_INFO_0
="#"
49620 if test "x$DEBUG_INFO" = "x0" ; then
49621 COND_DEBUG_INFO_0
=""
49624 COND_DEBUG_INFO_1
="#"
49625 if test "x$DEBUG_INFO" = "x1" ; then
49626 COND_DEBUG_INFO_1
=""
49629 COND_DEPS_TRACKING_0
="#"
49630 if test "x$DEPS_TRACKING" = "x0" ; then
49631 COND_DEPS_TRACKING_0
=""
49634 COND_DEPS_TRACKING_1
="#"
49635 if test "x$DEPS_TRACKING" = "x1" ; then
49636 COND_DEPS_TRACKING_1
=""
49640 if test "x$GCC_PCH" = "x1" ; then
49645 if test "x$ICC_PCH" = "x1" ; then
49649 COND_MONOLITHIC_0
="#"
49650 if test "x$MONOLITHIC" = "x0" ; then
49651 COND_MONOLITHIC_0
=""
49654 COND_MONOLITHIC_0_SHARED_0
="#"
49655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49656 COND_MONOLITHIC_0_SHARED_0
=""
49659 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49661 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49671 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49676 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49681 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49684 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49686 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49689 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49691 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49694 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49696 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49699 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49701 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49704 COND_MONOLITHIC_0_SHARED_1
="#"
49705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49706 COND_MONOLITHIC_0_SHARED_1
=""
49709 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49711 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49726 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49729 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49731 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49734 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49736 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49739 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49741 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49744 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49746 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49749 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49751 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49754 COND_MONOLITHIC_0_USE_AUI_1
="#"
49755 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49756 COND_MONOLITHIC_0_USE_AUI_1
=""
49759 COND_MONOLITHIC_0_USE_GUI_1
="#"
49760 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49761 COND_MONOLITHIC_0_USE_GUI_1
=""
49764 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49765 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49766 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49769 COND_MONOLITHIC_0_USE_HTML_1
="#"
49770 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49771 COND_MONOLITHIC_0_USE_HTML_1
=""
49774 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49775 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49776 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49779 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49780 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49781 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49784 COND_MONOLITHIC_0_USE_QA_1
="#"
49785 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49786 COND_MONOLITHIC_0_USE_QA_1
=""
49789 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49790 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49791 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49794 COND_MONOLITHIC_0_USE_STC_1
="#"
49795 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49796 COND_MONOLITHIC_0_USE_STC_1
=""
49799 COND_MONOLITHIC_0_USE_XRC_1
="#"
49800 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49801 COND_MONOLITHIC_0_USE_XRC_1
=""
49804 COND_MONOLITHIC_1
="#"
49805 if test "x$MONOLITHIC" = "x1" ; then
49806 COND_MONOLITHIC_1
=""
49809 COND_MONOLITHIC_1_SHARED_0
="#"
49810 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49811 COND_MONOLITHIC_1_SHARED_0
=""
49814 COND_MONOLITHIC_1_SHARED_1
="#"
49815 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49816 COND_MONOLITHIC_1_SHARED_1
=""
49819 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49820 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49821 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49824 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49825 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49826 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49829 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49830 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49831 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49834 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49835 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49836 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49839 COND_PLATFORM_MACOSX_1
="#"
49840 if test "x$PLATFORM_MACOSX" = "x1" ; then
49841 COND_PLATFORM_MACOSX_1
=""
49844 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49845 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49846 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49849 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49850 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49851 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49854 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49855 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49856 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49859 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49860 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49861 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49864 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49865 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49866 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49869 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49870 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49871 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49874 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49875 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49876 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49879 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49880 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49881 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49884 COND_PLATFORM_MACOS_1
="#"
49885 if test "x$PLATFORM_MACOS" = "x1" ; then
49886 COND_PLATFORM_MACOS_1
=""
49889 COND_PLATFORM_MAC_0
="#"
49890 if test "x$PLATFORM_MAC" = "x0" ; then
49891 COND_PLATFORM_MAC_0
=""
49894 COND_PLATFORM_MAC_1
="#"
49895 if test "x$PLATFORM_MAC" = "x1" ; then
49896 COND_PLATFORM_MAC_1
=""
49899 COND_PLATFORM_MSDOS_0
="#"
49900 if test "x$PLATFORM_MSDOS" = "x0" ; then
49901 COND_PLATFORM_MSDOS_0
=""
49904 COND_PLATFORM_MSDOS_1
="#"
49905 if test "x$PLATFORM_MSDOS" = "x1" ; then
49906 COND_PLATFORM_MSDOS_1
=""
49909 COND_PLATFORM_OS2_1
="#"
49910 if test "x$PLATFORM_OS2" = "x1" ; then
49911 COND_PLATFORM_OS2_1
=""
49914 COND_PLATFORM_UNIX_0
="#"
49915 if test "x$PLATFORM_UNIX" = "x0" ; then
49916 COND_PLATFORM_UNIX_0
=""
49919 COND_PLATFORM_UNIX_1
="#"
49920 if test "x$PLATFORM_UNIX" = "x1" ; then
49921 COND_PLATFORM_UNIX_1
=""
49924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49925 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49926 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49929 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49930 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49931 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49934 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49935 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49936 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49939 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49940 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49941 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49944 COND_PLATFORM_WIN32_0
="#"
49945 if test "x$PLATFORM_WIN32" = "x0" ; then
49946 COND_PLATFORM_WIN32_0
=""
49949 COND_PLATFORM_WIN32_1
="#"
49950 if test "x$PLATFORM_WIN32" = "x1" ; then
49951 COND_PLATFORM_WIN32_1
=""
49955 if test "x$SHARED" = "x0" ; then
49959 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49960 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49961 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49964 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49965 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49966 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49969 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49970 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49971 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49974 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49975 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49976 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49979 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
49980 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49981 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
49984 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
49985 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49986 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
49989 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
49990 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49991 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
49994 COND_SHARED_0_USE_STC_1
="#"
49995 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49996 COND_SHARED_0_USE_STC_1
=""
49999 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50000 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50001 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50004 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50005 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50006 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50009 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50010 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50011 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50015 if test "x$SHARED" = "x1" ; then
50019 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50020 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50021 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50025 if test "x$TOOLKIT" = "x" ; then
50029 COND_TOOLKIT_COCOA
="#"
50030 if test "x$TOOLKIT" = "xCOCOA" ; then
50031 COND_TOOLKIT_COCOA
=""
50034 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50035 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50036 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50039 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50040 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50041 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50044 COND_TOOLKIT_DFB
="#"
50045 if test "x$TOOLKIT" = "xDFB" ; then
50046 COND_TOOLKIT_DFB
=""
50049 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50050 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50051 COND_TOOLKIT_DFB_USE_GUI_1
=""
50054 COND_TOOLKIT_GTK
="#"
50055 if test "x$TOOLKIT" = "xGTK" ; then
50056 COND_TOOLKIT_GTK
=""
50059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50060 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50065 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50070 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50071 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50075 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50080 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50081 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50085 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50086 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50089 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50090 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50091 COND_TOOLKIT_GTK_USE_GUI_1
=""
50094 COND_TOOLKIT_MAC
="#"
50095 if test "x$TOOLKIT" = "xMAC" ; then
50096 COND_TOOLKIT_MAC
=""
50099 COND_TOOLKIT_MGL
="#"
50100 if test "x$TOOLKIT" = "xMGL" ; then
50101 COND_TOOLKIT_MGL
=""
50104 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50105 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50106 COND_TOOLKIT_MGL_USE_GUI_1
=""
50109 COND_TOOLKIT_MOTIF
="#"
50110 if test "x$TOOLKIT" = "xMOTIF" ; then
50111 COND_TOOLKIT_MOTIF
=""
50114 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50115 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50116 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50119 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50120 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50121 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50124 COND_TOOLKIT_MSW
="#"
50125 if test "x$TOOLKIT" = "xMSW" ; then
50126 COND_TOOLKIT_MSW
=""
50129 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50130 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50131 COND_TOOLKIT_MSW_USE_GUI_1
=""
50134 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50135 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50136 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50139 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50140 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50141 COND_TOOLKIT_MSW_WXUNIV_0
=""
50144 COND_TOOLKIT_OSX_CARBON
="#"
50145 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50146 COND_TOOLKIT_OSX_CARBON
=""
50149 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50150 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50151 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50154 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50155 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50156 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50159 COND_TOOLKIT_OSX_COCOA
="#"
50160 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50161 COND_TOOLKIT_OSX_COCOA
=""
50164 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50165 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50166 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50169 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50170 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50171 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50174 COND_TOOLKIT_OSX_IPHONE
="#"
50175 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50176 COND_TOOLKIT_OSX_IPHONE
=""
50179 COND_TOOLKIT_PM
="#"
50180 if test "x$TOOLKIT" = "xPM" ; then
50184 COND_TOOLKIT_PM_USE_GUI_1
="#"
50185 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50186 COND_TOOLKIT_PM_USE_GUI_1
=""
50189 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50190 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50191 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50194 COND_TOOLKIT_WINCE
="#"
50195 if test "x$TOOLKIT" = "xWINCE" ; then
50196 COND_TOOLKIT_WINCE
=""
50199 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50200 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50201 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50204 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50205 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50206 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50209 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50210 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50211 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50214 COND_TOOLKIT_X11
="#"
50215 if test "x$TOOLKIT" = "xX11" ; then
50216 COND_TOOLKIT_X11
=""
50219 COND_TOOLKIT_X11_USE_GUI_1
="#"
50220 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50221 COND_TOOLKIT_X11_USE_GUI_1
=""
50225 if test "x$UNICODE" = "x1" ; then
50229 COND_USE_EXCEPTIONS_0
="#"
50230 if test "x$USE_EXCEPTIONS" = "x0" ; then
50231 COND_USE_EXCEPTIONS_0
=""
50234 COND_USE_EXCEPTIONS_1
="#"
50235 if test "x$USE_EXCEPTIONS" = "x1" ; then
50236 COND_USE_EXCEPTIONS_1
=""
50240 if test "x$USE_GUI" = "x0" ; then
50245 if test "x$USE_GUI" = "x1" ; then
50249 COND_USE_GUI_1_USE_OPENGL_1
="#"
50250 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50251 COND_USE_GUI_1_USE_OPENGL_1
=""
50254 COND_USE_GUI_1_WXUNIV_0
="#"
50255 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50256 COND_USE_GUI_1_WXUNIV_0
=""
50259 COND_USE_GUI_1_WXUNIV_1
="#"
50260 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50261 COND_USE_GUI_1_WXUNIV_1
=""
50264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50265 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50266 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50269 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50270 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50271 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50274 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50275 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50276 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50279 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50280 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50281 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50284 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50285 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50286 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50289 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50290 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50291 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50294 COND_USE_OPENGL_1
="#"
50295 if test "x$USE_OPENGL" = "x1" ; then
50296 COND_USE_OPENGL_1
=""
50300 if test "x$USE_PCH" = "x1" ; then
50304 COND_USE_PLUGINS_0
="#"
50305 if test "x$USE_PLUGINS" = "x0" ; then
50306 COND_USE_PLUGINS_0
=""
50309 COND_USE_RTTI_0
="#"
50310 if test "x$USE_RTTI" = "x0" ; then
50314 COND_USE_RTTI_1
="#"
50315 if test "x$USE_RTTI" = "x1" ; then
50319 COND_USE_SOSYMLINKS_1
="#"
50320 if test "x$USE_SOSYMLINKS" = "x1" ; then
50321 COND_USE_SOSYMLINKS_1
=""
50324 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50325 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50326 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50329 COND_USE_SOVERLINUX_1
="#"
50330 if test "x$USE_SOVERLINUX" = "x1" ; then
50331 COND_USE_SOVERLINUX_1
=""
50334 COND_USE_SOVERSION_0
="#"
50335 if test "x$USE_SOVERSION" = "x0" ; then
50336 COND_USE_SOVERSION_0
=""
50339 COND_USE_SOVERSOLARIS_1
="#"
50340 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50341 COND_USE_SOVERSOLARIS_1
=""
50345 if test "x$USE_STC" = "x1" ; then
50349 COND_USE_THREADS_0
="#"
50350 if test "x$USE_THREADS" = "x0" ; then
50351 COND_USE_THREADS_0
=""
50354 COND_USE_THREADS_1
="#"
50355 if test "x$USE_THREADS" = "x1" ; then
50356 COND_USE_THREADS_1
=""
50360 if test "x$USE_XRC" = "x1" ; then
50364 COND_WINDOWS_IMPLIB_1
="#"
50365 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50366 COND_WINDOWS_IMPLIB_1
=""
50369 COND_WITH_PLUGIN_SDL_1
="#"
50370 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50371 COND_WITH_PLUGIN_SDL_1
=""
50375 if test "x$WXUNIV" = "x0" ; then
50380 if test "x$WXUNIV" = "x1" ; then
50384 COND_WXUSE_EXPAT_BUILTIN
="#"
50385 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50386 COND_WXUSE_EXPAT_BUILTIN
=""
50389 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50390 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50391 COND_WXUSE_LIBJPEG_BUILTIN
=""
50394 COND_WXUSE_LIBPNG_BUILTIN
="#"
50395 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50396 COND_WXUSE_LIBPNG_BUILTIN
=""
50399 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50400 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50401 COND_WXUSE_LIBTIFF_BUILTIN
=""
50404 COND_WXUSE_REGEX_BUILTIN
="#"
50405 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50406 COND_WXUSE_REGEX_BUILTIN
=""
50409 COND_WXUSE_ZLIB_BUILTIN
="#"
50410 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50411 COND_WXUSE_ZLIB_BUILTIN
=""
50414 COND_wxUSE_EXPAT_builtin
="#"
50415 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50416 COND_wxUSE_EXPAT_builtin
=""
50419 COND_wxUSE_LIBJPEG_builtin
="#"
50420 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50421 COND_wxUSE_LIBJPEG_builtin
=""
50424 COND_wxUSE_LIBPNG_builtin
="#"
50425 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50426 COND_wxUSE_LIBPNG_builtin
=""
50429 COND_wxUSE_LIBTIFF_builtin
="#"
50430 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50431 COND_wxUSE_LIBTIFF_builtin
=""
50434 COND_wxUSE_REGEX_builtin
="#"
50435 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50436 COND_wxUSE_REGEX_builtin
=""
50439 COND_wxUSE_ZLIB_builtin
="#"
50440 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50441 COND_wxUSE_ZLIB_builtin
=""
50446 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50447 { { 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
50448 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;}
50449 { (exit 1); exit 1; }; }
50452 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50453 { { 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
50454 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;}
50455 { (exit 1); exit 1; }; }
50462 ?
:* ) # Drive letter, considered as absolute.
50465 INSTALL
=`pwd`/${INSTALL} ;;
50468 if test "$wxUSE_GUI" = "yes"; then
50470 if test "$wxUSE_MSW" = 1 ; then
50471 if test "x$WINDRES" = "x"; then
50472 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50473 echo "$as_me: error: Required windres program not found" >&2;}
50474 { (exit 1); exit 1; }; }
50480 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50481 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50482 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50484 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50486 # Extract the first word of "DeRez", so it can be a program name with args.
50487 set dummy DeRez
; ac_word
=$2
50488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50490 if test "${ac_cv_prog_DEREZ+set}" = set; then
50491 echo $ECHO_N "(cached) $ECHO_C" >&6
50493 if test -n "$DEREZ"; then
50494 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50497 for as_dir
in $PATH
50500 test -z "$as_dir" && as_dir
=.
50501 for ac_exec_ext
in '' $ac_executable_extensions; do
50502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50503 ac_cv_prog_DEREZ
="DeRez"
50504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50511 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50514 DEREZ
=$ac_cv_prog_DEREZ
50515 if test -n "$DEREZ"; then
50516 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50517 echo "${ECHO_T}$DEREZ" >&6; }
50519 { echo "$as_me:$LINENO: result: no" >&5
50520 echo "${ECHO_T}no" >&6; }
50525 MACSETFILE
="\$(SETFILE)"
50527 if test "$wxUSE_OSX_CARBON" = 1; then
50528 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50530 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50532 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50533 RESCOMP
="cat /dev/null \| $REZ"
50534 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50540 if test "$wxUSE_PM" = 1; then
50542 WXCONFIG_RESFLAGS
="-ep"
50544 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50546 POSTLINK_COMMAND
="@true"
50553 if test $GCC_PCH = 1
50555 if test "$wx_cv_gcc_pch_bug" = yes; then
50556 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50557 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50558 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50559 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50560 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50561 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50564 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50565 # the headers that benefit from precompilation are mostly C++ headers.
50566 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50567 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50568 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50572 if test "$wxUSE_MAC" = 1 ; then
50573 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50574 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50580 if test "$wxUSE_SHARED" = "yes"; then
50582 *-pc-os2_emx | *-pc-os2-emx )
50583 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50584 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50585 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50586 cp -p ${srcdir}/src
/os
2/dllar.sh .
50590 if test "$wxUSE_OMF" = "yes"; then
50592 *-pc-os2_emx | *-pc-os2-emx )
50593 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50594 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50595 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50600 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50605 if test "$GCC" = yes; then
50606 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50607 LIBS
=`echo $LIBS | sed 's/-mt//'`
50608 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50613 if test "x$SUNCXX" = xyes
; then
50614 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50615 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50616 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50621 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50622 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50623 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50624 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50626 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50687 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50688 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50689 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50690 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50691 echo $ECHO_N "(cached) $ECHO_C" >&6
50693 cat >conftest.
make <<\_ACEOF
50696 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50698 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50700 *@@@
%%%=?
*=@@@
%%%*)
50701 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50703 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50705 rm -f conftest.
make
50707 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50708 { echo "$as_me:$LINENO: result: yes" >&5
50709 echo "${ECHO_T}yes" >&6; }
50712 { echo "$as_me:$LINENO: result: no" >&5
50713 echo "${ECHO_T}no" >&6; }
50714 SET_MAKE
="MAKE=${MAKE-make}"
50719 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50722 if test "$USE_WIN32" = 1; then
50723 ac_config_commands
="$ac_config_commands rcdefs.h"
50727 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50730 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50733 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50736 if test "$wx_cv_version_script" = "yes"; then
50737 ac_config_files
="$ac_config_files version-script"
50740 ac_config_files
="$ac_config_files Makefile"
50743 ac_config_commands
="$ac_config_commands wx-config"
50747 if test "$wxWITH_SUBDIRS" != "no"; then
50748 if test "$wxUSE_GUI" = "yes"; then
50749 SUBDIRS
="samples demos utils"
50751 SUBDIRS
="samples utils"
50756 # Check whether --with-cppunit-prefix was given.
50757 if test "${with_cppunit_prefix+set}" = set; then
50758 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50760 cppunit_config_prefix
=""
50764 # Check whether --with-cppunit-exec-prefix was given.
50765 if test "${with_cppunit_exec_prefix+set}" = set; then
50766 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50768 cppunit_config_exec_prefix
=""
50772 if test x
$cppunit_config_exec_prefix != x
; then
50773 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50774 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50775 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50778 if test x
$cppunit_config_prefix != x
; then
50779 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50780 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50781 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50785 # Extract the first word of "cppunit-config", so it can be a program name with args.
50786 set dummy cppunit
-config; ac_word
=$2
50787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50789 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50790 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 case $CPPUNIT_CONFIG in
50794 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50798 for as_dir
in $PATH
50801 test -z "$as_dir" && as_dir
=.
50802 for ac_exec_ext
in '' $ac_executable_extensions; do
50803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50804 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50812 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50816 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50817 if test -n "$CPPUNIT_CONFIG"; then
50818 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50819 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50821 { echo "$as_me:$LINENO: result: no" >&5
50822 echo "${ECHO_T}no" >&6; }
50826 cppunit_version_min
=1.8.0
50828 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50829 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50831 if test "$CPPUNIT_CONFIG" = "no" ; then
50832 { echo "$as_me:$LINENO: result: no" >&5
50833 echo "${ECHO_T}no" >&6; }
50836 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50837 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50838 cppunit_version
=`$CPPUNIT_CONFIG --version`
50840 cppunit_major_version
=`echo $cppunit_version | \
50841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50842 cppunit_minor_version
=`echo $cppunit_version | \
50843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50844 cppunit_micro_version
=`echo $cppunit_version | \
50845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50847 cppunit_major_min
=`echo $cppunit_version_min | \
50848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50849 cppunit_minor_min
=`echo $cppunit_version_min | \
50850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50851 cppunit_micro_min
=`echo $cppunit_version_min | \
50852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50854 cppunit_version_proper
=`expr \
50855 $cppunit_major_version \> $cppunit_major_min \| \
50856 $cppunit_major_version \= $cppunit_major_min \& \
50857 $cppunit_minor_version \> $cppunit_minor_min \| \
50858 $cppunit_major_version \= $cppunit_major_min \& \
50859 $cppunit_minor_version \= $cppunit_minor_min \& \
50860 $cppunit_micro_version \>= $cppunit_micro_min `
50862 if test "$cppunit_version_proper" = "1" ; then
50863 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50864 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50866 { echo "$as_me:$LINENO: result: no" >&5
50867 echo "${ECHO_T}no" >&6; }
50872 if test "x$no_cppunit" = x
; then
50873 SUBDIRS
="$SUBDIRS tests"
50884 for subdir
in $SUBDIRS; do
50885 if test -d ${srcdir}/${subdir} ; then
50886 if test "$wxUSE_GUI" = "yes"; then
50887 if test ${subdir} = "samples"; then
50888 makefiles
="samples/Makefile.in $makefiles"
50889 for sample
in $SAMPLES_SUBDIRS; do
50890 if test -d $srcdir/samples
/$sample; then
50891 makefiles
="samples/$sample/Makefile.in $makefiles"
50895 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50896 eval "disabled=\$$disabled_var"
50897 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50898 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50901 if test ${subdir} = "samples"; then
50902 makefiles
="samples/Makefile.in $makefiles"
50903 for sample
in `echo $SAMPLES_SUBDIRS`; do
50904 if test -d $srcdir/samples
/$sample; then
50905 makefiles
="samples/$sample/Makefile.in $makefiles"
50908 elif test ${subdir} = "utils"; then
50910 for util
in ifacecheck
; do
50911 if test -d $srcdir/utils
/$util ; then
50912 makefiles
="utils/$util/src/Makefile.in \
50917 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50921 for mkin
in $makefiles ; do
50922 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50923 ac_config_files
="$ac_config_files $mk"
50929 cat >confcache
<<\_ACEOF
50930 # This file is a shell script that caches the results of configure
50931 # tests run on this system so they can be shared between configure
50932 # scripts and configure runs, see configure's option --config-cache.
50933 # It is not useful on other systems. If it contains results you don't
50934 # want to keep, you may remove or edit it.
50936 # config.status only pays attention to the cache file if you give it
50937 # the --recheck option to rerun configure.
50939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50941 # following values.
50945 # The following way of writing the cache mishandles newlines in values,
50946 # but we know of no workaround that is simple, portable, and efficient.
50947 # So, we kill variables containing newlines.
50948 # Ultrix sh set writes to stderr and can't be redirected directly,
50949 # and sets the high bit in the cache file unless we assign to the vars.
50951 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50952 eval ac_val
=\$
$ac_var
50956 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50957 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50960 _
| IFS
| as_nl
) ;; #(
50961 *) $as_unset $ac_var ;;
50967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50968 *${as_nl}ac_space
=\
*)
50969 # `set' does not quote correctly, so add quotes (double-quote
50970 # substitution turns \\\\ into \\, and sed turns \\ into \).
50973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50976 # `set' quotes correctly as required by POSIX, so do not add quotes.
50977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50990 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50991 if test -w "$cache_file"; then
50992 test "x$cache_file" != "x/dev/null" &&
50993 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50994 echo "$as_me: updating cache $cache_file" >&6;}
50995 cat confcache
>$cache_file
50997 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50998 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51003 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51004 # Let make expand exec_prefix.
51005 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51007 DEFS
=-DHAVE_CONFIG_H
51011 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51012 # 1. Remove the extension, and $U if already installed.
51013 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51014 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51016 # will be set to the directory where LIBOBJS objects are built.
51017 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51018 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51020 LIBOBJS
=$ac_libobjs
51022 LTLIBOBJS
=$ac_ltlibobjs
51026 : ${CONFIG_STATUS=./config.status}
51027 ac_clean_files_save
=$ac_clean_files
51028 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51029 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51030 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51031 cat >$CONFIG_STATUS <<_ACEOF
51033 # Generated by $as_me.
51034 # Run this file to recreate the current configuration.
51035 # Compiler output produced by configure, useful for debugging
51036 # configure, is in config.log if it exists.
51039 ac_cs_recheck=false
51041 SHELL=\${CONFIG_SHELL-$SHELL}
51044 cat >>$CONFIG_STATUS <<\_ACEOF
51045 ## --------------------- ##
51046 ## M4sh Initialization. ##
51047 ## --------------------- ##
51049 # Be more Bourne compatible
51050 DUALCASE
=1; export DUALCASE
# for MKS sh
51051 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51054 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51055 # is contrary to our usage. Disable this feature.
51056 alias -g '${1+"$@"}'='"$@"'
51057 setopt NO_GLOB_SUBST
51059 case `(set -o) 2>/dev/null` in
51060 *posix
*) set -o posix
;;
51069 # Avoid depending upon Character Ranges.
51070 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51071 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51072 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51073 as_cr_digits
='0123456789'
51074 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51076 # The user is always right.
51077 if test "${PATH_SEPARATOR+set}" != set; then
51078 echo "#! /bin/sh" >conf$$.sh
51079 echo "exit 0" >>conf$$.sh
51081 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51089 # Support unset when possible.
51090 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51098 # We need space, tab and new line, in precisely that order. Quoting is
51099 # there to prevent editors from complaining about space-tab.
51100 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51101 # splitting by setting IFS to empty value.)
51106 # Find who we are. Look in the path if we contain no directory separator.
51108 *[\\/]* ) as_myself
=$0 ;;
51109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51110 for as_dir
in $PATH
51113 test -z "$as_dir" && as_dir
=.
51114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51120 # We did not find ourselves, most probably we were run as `sh COMMAND'
51121 # in which case we are not to be found in the path.
51122 if test "x$as_myself" = x
; then
51125 if test ! -f "$as_myself"; then
51126 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51127 { (exit 1); exit 1; }
51130 # Work around bugs in pre-3.0 UWIN ksh.
51131 for as_var
in ENV MAIL MAILPATH
51132 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51140 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51141 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51142 LC_TELEPHONE LC_TIME
51144 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51145 eval $as_var=C
; export $as_var
51147 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51151 # Required to use basename.
51152 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51153 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51159 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51160 as_basename
=basename
51166 # Name of the executable.
51167 as_me
=`$as_basename -- "$0" ||
51168 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51169 X"$0" : 'X\(//\)$' \| \
51170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51172 sed '/^.*\/\([^/][^/]*\)\/*$/{
51191 as_lineno_1
=$LINENO
51192 as_lineno_2
=$LINENO
51193 test "x$as_lineno_1" != "x$as_lineno_2" &&
51194 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51196 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51197 # uniformly replaced by the line number. The first 'sed' inserts a
51198 # line-number line after each line using $LINENO; the second 'sed'
51199 # does the real work. The second script uses 'N' to pair each
51200 # line-number line with the line containing $LINENO, and appends
51201 # trailing '-' during substitution so that $LINENO is not a special
51202 # case at line end.
51203 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51204 # scripts with optimization help from Paolo Bonzini. Blame Lee
51205 # E. McMahon (1931-1989) for sed's syntax. :-)
51217 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51220 ' >$as_me.lineno
&&
51221 chmod +x
"$as_me.lineno" ||
51222 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51223 { (exit 1); exit 1; }; }
51225 # Don't try to exec as it changes $[0], causing all sort of problems
51226 # (the dirname of $[0] is not the place where we might find the
51227 # original and so on. Autoconf is especially sensitive to this).
51228 .
"./$as_me.lineno"
51229 # Exit status is that of the last command.
51234 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51240 ECHO_C
= ECHO_N
= ECHO_T
=
51241 case `echo -n x` in
51243 case `echo 'x\c'` in
51244 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51251 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51252 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51258 rm -f conf$$ conf$$.exe conf$$.
file
51259 if test -d conf$$.dir
; then
51260 rm -f conf$$.dir
/conf$$.
file
51266 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51268 # ... but there are two gotchas:
51269 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51270 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51271 # In both cases, we have to default to `cp -p'.
51272 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51274 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51279 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51280 rmdir conf$$.dir
2>/dev
/null
51282 if mkdir -p .
2>/dev
/null
; then
51285 test -d .
/-p && rmdir .
/-p
51289 if test -x / >/dev
/null
2>&1; then
51290 as_test_x
='test -x'
51292 if ls -dL / >/dev
/null
2>&1; then
51299 if test -d "$1"; then
51305 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51306 ???[sx]*):;;*)false;;esac;fi
51310 as_executable_p
=$as_test_x
51312 # Sed expression to map a string onto a valid CPP name.
51313 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51315 # Sed expression to map a string onto a valid variable name.
51316 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51321 # Save the log message, to keep $[0] and so on meaningful, and to
51322 # report actual input values of CONFIG_FILES etc. instead of their
51323 # values after options handling.
51325 This file was extended by wxWidgets $as_me 2.9.0, which was
51326 generated by GNU Autoconf 2.61. Invocation command line was
51328 CONFIG_FILES = $CONFIG_FILES
51329 CONFIG_HEADERS = $CONFIG_HEADERS
51330 CONFIG_LINKS = $CONFIG_LINKS
51331 CONFIG_COMMANDS = $CONFIG_COMMANDS
51334 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51339 cat >>$CONFIG_STATUS <<_ACEOF
51340 # Files that config.status was made for.
51341 config_files="$ac_config_files"
51342 config_headers="$ac_config_headers"
51343 config_commands="$ac_config_commands"
51347 cat >>$CONFIG_STATUS <<\_ACEOF
51349 \`$as_me' instantiates files from templates according to the
51350 current configuration.
51352 Usage: $0 [OPTIONS] [FILE]...
51354 -h, --help print this help, then exit
51355 -V, --version print version number and configuration settings, then exit
51356 -q, --quiet do not print progress messages
51357 -d, --debug don't remove temporary files
51358 --recheck update $as_me by reconfiguring in the same conditions
51359 --file=FILE[:TEMPLATE]
51360 instantiate the configuration file FILE
51361 --header=FILE[:TEMPLATE]
51362 instantiate the configuration header FILE
51364 Configuration files:
51367 Configuration headers:
51370 Configuration commands:
51373 Report bugs to <bug-autoconf@gnu.org>."
51376 cat >>$CONFIG_STATUS <<_ACEOF
51378 wxWidgets config.status 2.9.0
51379 configured by $0, generated by GNU Autoconf 2.61,
51380 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51382 Copyright (C) 2006 Free Software Foundation, Inc.
51383 This config.status script is free software; the Free Software Foundation
51384 gives unlimited permission to copy, distribute and modify it."
51391 cat >>$CONFIG_STATUS <<\_ACEOF
51392 # If no file are specified by the user, then we need to provide default
51393 # value. By we need to know if files were specified by the user.
51399 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51400 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51411 # Handling of the options.
51412 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51414 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51415 echo "$ac_cs_version"; exit ;;
51416 --debug | --debu | --deb | --de | --d | -d )
51418 --file | --fil | --fi | --f )
51420 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51421 ac_need_defaults
=false
;;
51422 --header | --heade | --head | --hea )
51424 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51425 ac_need_defaults
=false
;;
51427 # Conflict between --help and --header
51428 { echo "$as_me: error: ambiguous option: $1
51429 Try \`$0 --help' for more information." >&2
51430 { (exit 1); exit 1; }; };;
51431 --help | --hel | -h )
51432 echo "$ac_cs_usage"; exit ;;
51433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51434 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51437 # This is an error.
51438 -*) { echo "$as_me: error: unrecognized option: $1
51439 Try \`$0 --help' for more information." >&2
51440 { (exit 1); exit 1; }; } ;;
51442 *) ac_config_targets
="$ac_config_targets $1"
51443 ac_need_defaults
=false
;;
51449 ac_configure_extra_args
=
51451 if $ac_cs_silent; then
51453 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51457 cat >>$CONFIG_STATUS <<_ACEOF
51458 if \$ac_cs_recheck; then
51459 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51460 CONFIG_SHELL=$SHELL
51461 export CONFIG_SHELL
51462 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51466 cat >>$CONFIG_STATUS <<\_ACEOF
51470 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51471 ## Running $as_me. ##
51477 cat >>$CONFIG_STATUS <<_ACEOF
51483 infile="$srcdir/include/wx/msw/genrcdefs.h"
51484 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51487 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51488 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51489 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51495 cat >>$CONFIG_STATUS <<\_ACEOF
51497 # Handling of arguments.
51498 for ac_config_target
in $ac_config_targets
51500 case $ac_config_target in
51501 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51502 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51503 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51504 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51505 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51506 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51507 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51508 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51509 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51511 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51512 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51513 { (exit 1); exit 1; }; };;
51518 # If the user did not use the arguments to specify the items to instantiate,
51519 # then the envvar interface is used. Set only those that are not.
51520 # We use the long form for the default assignment because of an extremely
51521 # bizarre bug on SunOS 4.1.3.
51522 if $ac_need_defaults; then
51523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51528 # Have a temporary directory for convenience. Make it in the build tree
51529 # simply because there is no reason against having it here, and in addition,
51530 # creating and moving files from /tmp can sometimes cause problems.
51531 # Hook for its removal unless debugging.
51532 # Note that there is a small window in which the directory will not be cleaned:
51533 # after its creation but before its name has been assigned to `$tmp'.
51537 trap 'exit_status=$?
51538 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51540 trap '{ (exit 1); exit 1; }' 1 2 13 15
51542 # Create a (secure) tmp directory for tmp files.
51545 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51546 test -n "$tmp" && test -d "$tmp"
51549 tmp
=.
/conf$$
-$RANDOM
51550 (umask 077 && mkdir "$tmp")
51553 echo "$me: cannot create a temporary directory in ." >&2
51554 { (exit 1); exit 1; }
51558 # Set up the sed scripts for CONFIG_FILES section.
51561 # No need to generate the scripts if there are no CONFIG_FILES.
51562 # This happens for instance when ./config.status config.h
51563 if test -n "$CONFIG_FILES"; then
51570 for ac_last_try
in false false false false false
:; do
51571 cat >conf$
$subs.
sed <<_ACEOF
51572 SHELL!$SHELL$ac_delim
51573 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51574 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51575 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51576 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51577 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51578 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51579 exec_prefix!$exec_prefix$ac_delim
51580 prefix!$prefix$ac_delim
51581 program_transform_name!$program_transform_name$ac_delim
51582 bindir!$bindir$ac_delim
51583 sbindir!$sbindir$ac_delim
51584 libexecdir!$libexecdir$ac_delim
51585 datarootdir!$datarootdir$ac_delim
51586 datadir!$datadir$ac_delim
51587 sysconfdir!$sysconfdir$ac_delim
51588 sharedstatedir!$sharedstatedir$ac_delim
51589 localstatedir!$localstatedir$ac_delim
51590 includedir!$includedir$ac_delim
51591 oldincludedir!$oldincludedir$ac_delim
51592 docdir!$docdir$ac_delim
51593 infodir!$infodir$ac_delim
51594 htmldir!$htmldir$ac_delim
51595 dvidir!$dvidir$ac_delim
51596 pdfdir!$pdfdir$ac_delim
51597 psdir!$psdir$ac_delim
51598 libdir!$libdir$ac_delim
51599 localedir!$localedir$ac_delim
51600 mandir!$mandir$ac_delim
51601 DEFS!$DEFS$ac_delim
51602 ECHO_C!$ECHO_C$ac_delim
51603 ECHO_N!$ECHO_N$ac_delim
51604 ECHO_T!$ECHO_T$ac_delim
51605 LIBS!$LIBS$ac_delim
51606 build_alias!$build_alias$ac_delim
51607 host_alias!$host_alias$ac_delim
51608 target_alias!$target_alias$ac_delim
51609 build!$build$ac_delim
51610 build_cpu!$build_cpu$ac_delim
51611 build_vendor!$build_vendor$ac_delim
51612 build_os!$build_os$ac_delim
51613 host!$host$ac_delim
51614 host_cpu!$host_cpu$ac_delim
51615 host_vendor!$host_vendor$ac_delim
51616 host_os!$host_os$ac_delim
51617 wx_top_builddir!$wx_top_builddir$ac_delim
51619 CFLAGS!$CFLAGS$ac_delim
51620 LDFLAGS!$LDFLAGS$ac_delim
51621 CPPFLAGS!$CPPFLAGS$ac_delim
51622 ac_ct_CC!$ac_ct_CC$ac_delim
51623 EXEEXT!$EXEEXT$ac_delim
51624 OBJEXT!$OBJEXT$ac_delim
51626 GREP!$GREP$ac_delim
51627 EGREP!$EGREP$ac_delim
51629 CXXFLAGS!$CXXFLAGS$ac_delim
51630 ac_ct_CXX!$ac_ct_CXX$ac_delim
51632 subdirs!$subdirs$ac_delim
51633 PKG_CONFIG!$PKG_CONFIG$ac_delim
51634 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51635 GTK_LIBS!$GTK_LIBS$ac_delim
51636 GTK_CONFIG!$GTK_CONFIG$ac_delim
51637 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51638 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51639 XMKMF!$XMKMF$ac_delim
51640 X_CFLAGS!$X_CFLAGS$ac_delim
51641 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51642 X_LIBS!$X_LIBS$ac_delim
51643 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51644 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51645 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51646 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51647 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51648 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51649 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51650 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51651 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51652 LIBICONV!$LIBICONV$ac_delim
51653 GXX_VERSION!$GXX_VERSION$ac_delim
51654 SDL_CONFIG!$SDL_CONFIG$ac_delim
51655 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51656 SDL_LIBS!$SDL_LIBS$ac_delim
51657 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51658 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51659 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51660 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51661 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51662 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51663 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51664 HILDON_LIBS!$HILDON_LIBS$ac_delim
51665 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51666 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51667 GST_CFLAGS!$GST_CFLAGS$ac_delim
51668 GST_LIBS!$GST_LIBS$ac_delim
51671 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51673 elif $ac_last_try; then
51674 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51675 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51676 { (exit 1); exit 1; }; }
51678 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51682 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51683 if test -n "$ac_eof"; then
51684 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51685 ac_eof
=`expr $ac_eof + 1`
51688 cat >>$CONFIG_STATUS <<_ACEOF
51689 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51693 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51694 s/^/s,@/; s/!/@,|#_!!_#|/
51697 s/'"$ac_delim"'$/,g/; t
51699 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51700 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51701 rm -f conf$
$subs.
sed
51702 cat >>$CONFIG_STATUS <<_ACEOF
51708 for ac_last_try
in false false false false false
:; do
51709 cat >conf$
$subs.
sed <<_ACEOF
51710 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51711 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51712 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51713 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51714 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51715 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51716 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51717 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51718 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51719 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51720 VENDOR!$VENDOR$ac_delim
51721 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51722 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51723 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51724 WXUNIV!$WXUNIV$ac_delim
51725 MONOLITHIC!$MONOLITHIC$ac_delim
51726 USE_PLUGINS!$USE_PLUGINS$ac_delim
51727 CXXWARNINGS!$CXXWARNINGS$ac_delim
51728 EXTRALIBS!$EXTRALIBS$ac_delim
51729 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51730 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51731 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51732 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51733 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51734 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51735 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51736 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51737 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51738 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51739 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51740 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51741 UNICODE!$UNICODE$ac_delim
51742 BUILD!$BUILD$ac_delim
51743 DEBUG_INFO!$DEBUG_INFO$ac_delim
51744 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51745 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51746 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51747 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51748 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51749 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51750 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51751 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51752 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51753 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51754 RANLIB!$RANLIB$ac_delim
51755 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51756 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51757 INSTALL_DATA!$INSTALL_DATA$ac_delim
51758 LN_S!$LN_S$ac_delim
51759 SET_MAKE!$SET_MAKE$ac_delim
51760 MAKE_SET!$MAKE_SET$ac_delim
51761 AROPTIONS!$AROPTIONS$ac_delim
51762 STRIP!$STRIP$ac_delim
51764 INSTALL_DIR!$INSTALL_DIR$ac_delim
51765 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51766 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51767 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51768 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51769 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51770 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51771 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51772 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51773 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51774 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51775 SO_SUFFIX!$SO_SUFFIX$ac_delim
51776 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51777 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51778 LIBPREFIX!$LIBPREFIX$ac_delim
51779 LIBEXT!$LIBEXT$ac_delim
51780 DLLPREFIX!$DLLPREFIX$ac_delim
51781 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51782 dlldir!$dlldir$ac_delim
51783 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51784 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51785 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51786 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51787 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51788 PIC_FLAG!$PIC_FLAG$ac_delim
51789 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51790 USE_SOVERSION!$USE_SOVERSION$ac_delim
51791 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51792 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51793 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51794 USE_MACVERSION!$USE_MACVERSION$ac_delim
51795 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51796 SONAME_FLAG!$SONAME_FLAG$ac_delim
51797 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51798 BK_DEPS!$BK_DEPS$ac_delim
51799 WINDRES!$WINDRES$ac_delim
51801 SETFILE!$SETFILE$ac_delim
51802 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51803 GCC_PCH!$GCC_PCH$ac_delim
51804 ICC_PCH!$ICC_PCH$ac_delim
51805 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51806 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51809 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51811 elif $ac_last_try; then
51812 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51813 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51814 { (exit 1); exit 1; }; }
51816 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51820 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51821 if test -n "$ac_eof"; then
51822 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51823 ac_eof
=`expr $ac_eof + 1`
51826 cat >>$CONFIG_STATUS <<_ACEOF
51827 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51831 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51832 s/^/s,@/; s/!/@,|#_!!_#|/
51835 s/'"$ac_delim"'$/,g/; t
51837 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51838 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51839 rm -f conf$
$subs.
sed
51840 cat >>$CONFIG_STATUS <<_ACEOF
51846 for ac_last_try
in false false false false false
:; do
51847 cat >conf$
$subs.
sed <<_ACEOF
51848 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51849 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51850 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51851 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51852 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51853 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51854 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51855 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51856 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51857 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51858 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51859 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51860 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51861 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51862 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51863 COND_BUILD_release!$COND_BUILD_release$ac_delim
51864 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51865 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51866 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51867 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51868 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51869 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51870 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51871 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51872 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51873 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51874 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51875 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51876 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51879 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51880 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51881 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51882 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51883 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51884 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51885 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51886 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51891 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51892 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51893 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51894 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51895 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51896 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51897 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51898 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51899 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51900 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51901 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51902 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51903 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51904 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51905 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51906 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51907 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51908 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51909 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51910 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51911 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51912 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51913 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51915 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51916 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51917 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51918 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51919 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51920 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51921 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51922 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51923 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51924 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51925 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51926 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51927 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51928 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51929 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51930 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51931 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51932 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51933 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51934 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51935 COND_SHARED_0!$COND_SHARED_0$ac_delim
51936 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51937 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51938 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51939 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51940 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51942 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51943 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51944 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51947 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51949 elif $ac_last_try; then
51950 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51951 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51952 { (exit 1); exit 1; }; }
51954 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51958 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51959 if test -n "$ac_eof"; then
51960 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51961 ac_eof
=`expr $ac_eof + 1`
51964 cat >>$CONFIG_STATUS <<_ACEOF
51965 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51966 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51969 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51970 s/^/s,@/; s/!/@,|#_!!_#|/
51973 s/'"$ac_delim"'$/,g/; t
51975 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51976 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51977 rm -f conf$
$subs.
sed
51978 cat >>$CONFIG_STATUS <<_ACEOF
51984 for ac_last_try
in false false false false false
:; do
51985 cat >conf$
$subs.
sed <<_ACEOF
51986 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51987 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51988 COND_SHARED_1!$COND_SHARED_1$ac_delim
51989 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51990 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51991 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51992 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51993 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51994 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51995 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51996 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51999 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52001 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52002 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52003 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52004 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52005 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52006 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52007 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52008 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52009 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52010 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52011 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52012 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52013 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52014 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52015 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52016 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52017 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52018 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52019 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52020 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52021 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52022 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52023 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52024 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52025 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52026 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52027 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52028 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52029 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52030 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52031 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52032 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52033 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52034 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52035 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52036 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52037 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52038 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52039 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52040 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52041 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52042 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52043 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52044 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52045 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52046 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52047 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52048 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52049 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52050 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52051 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52052 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52053 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52054 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52055 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52056 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52057 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52058 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52059 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52060 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52061 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52062 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52063 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52064 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52065 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52066 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52067 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52068 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52069 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52070 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52071 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52072 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52073 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52074 DEREZ!$DEREZ$ac_delim
52075 SHARED!$SHARED$ac_delim
52076 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52077 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52078 USE_GUI!$USE_GUI$ac_delim
52079 AFMINSTALL!$AFMINSTALL$ac_delim
52080 WIN32INSTALL!$WIN32INSTALL$ac_delim
52081 TOOLKIT!$TOOLKIT$ac_delim
52082 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52085 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52087 elif $ac_last_try; then
52088 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52089 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52090 { (exit 1); exit 1; }; }
52092 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52096 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52097 if test -n "$ac_eof"; then
52098 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52099 ac_eof
=`expr $ac_eof + 1`
52102 cat >>$CONFIG_STATUS <<_ACEOF
52103 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52107 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52108 s/^/s,@/; s/!/@,|#_!!_#|/
52111 s/'"$ac_delim"'$/,g/; t
52113 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52114 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52115 rm -f conf$
$subs.
sed
52116 cat >>$CONFIG_STATUS <<_ACEOF
52122 for ac_last_try
in false false false false false
:; do
52123 cat >conf$
$subs.
sed <<_ACEOF
52124 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52125 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52126 cross_compiling!$cross_compiling$ac_delim
52127 WIDGET_SET!$WIDGET_SET$ac_delim
52128 WX_RELEASE!$WX_RELEASE$ac_delim
52129 WX_VERSION!$WX_VERSION$ac_delim
52130 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52131 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52132 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52133 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52134 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52135 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52136 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52137 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52138 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52139 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52140 GUIDIST!$GUIDIST$ac_delim
52141 DISTDIR!$DISTDIR$ac_delim
52142 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52143 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52144 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52145 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52146 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52147 RESCOMP!$RESCOMP$ac_delim
52148 RESFLAGS!$RESFLAGS$ac_delim
52149 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52150 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52151 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52152 LIBWXMACRES!$LIBWXMACRES$ac_delim
52153 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52154 MACSETFILE!$MACSETFILE$ac_delim
52156 DLLTOOL!$DLLTOOL$ac_delim
52157 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52158 LIBOBJS!$LIBOBJS$ac_delim
52159 LTLIBOBJS!$LTLIBOBJS$ac_delim
52162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52164 elif $ac_last_try; then
52165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52167 { (exit 1); exit 1; }; }
52169 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52173 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52174 if test -n "$ac_eof"; then
52175 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52176 ac_eof
=`expr $ac_eof + 1`
52179 cat >>$CONFIG_STATUS <<_ACEOF
52180 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52185 s/^/s,@/; s/!/@,|#_!!_#|/
52188 s/'"$ac_delim"'$/,g/; t
52190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52191 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52192 rm -f conf$
$subs.
sed
52193 cat >>$CONFIG_STATUS <<_ACEOF
52200 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52201 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52202 # trailing colons and then remove the whole line if VPATH becomes empty
52203 # (actually we leave an empty line to preserve line numbers).
52204 if test "x$srcdir" = x.
; then
52205 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52206 s/:*\$(srcdir):*/:/
52207 s/:*\${srcdir}:*/:/
52209 s/^\([^=]*=[ ]*\):*/\1/
52215 cat >>$CONFIG_STATUS <<\_ACEOF
52216 fi # test -n "$CONFIG_FILES"
52219 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52222 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52224 case $ac_mode$ac_tag in
52226 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52227 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52228 { (exit 1); exit 1; }; };;
52229 :[FH
]-) ac_tag
=-:-;;
52230 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52247 -) ac_f
="$tmp/stdin";;
52248 *) # Look for the file first in the build tree, then in the source tree
52249 # (if the path is not absolute). The absolute path cannot be DOS-style,
52250 # because $ac_f cannot contain `:'.
52254 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52256 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52257 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52258 { (exit 1); exit 1; }; };;
52260 ac_file_inputs
="$ac_file_inputs $ac_f"
52263 # Let's still pretend it is `configure' which instantiates (i.e., don't
52264 # use $as_me), people would be surprised to read:
52265 # /* config.h. Generated by config.status. */
52266 configure_input
="Generated from "`IFS=:
52267 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52268 if test x
"$ac_file" != x
-; then
52269 configure_input
="$ac_file. $configure_input"
52270 { echo "$as_me:$LINENO: creating $ac_file" >&5
52271 echo "$as_me: creating $ac_file" >&6;}
52275 *:-:* | *:-) cat >"$tmp/stdin";;
52280 ac_dir
=`$as_dirname -- "$ac_file" ||
52281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52282 X"$ac_file" : 'X\(//\)[^/]' \| \
52283 X"$ac_file" : 'X\(//\)$' \| \
52284 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52290 /^X\(\/\/\)[^/].*/{
52305 -*) as_dir
=.
/$as_dir;;
52307 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52311 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52312 *) as_qdir
=$as_dir;;
52314 as_dirs
="'$as_qdir' $as_dirs"
52315 as_dir
=`$as_dirname -- "$as_dir" ||
52316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52317 X"$as_dir" : 'X\(//\)[^/]' \| \
52318 X"$as_dir" : 'X\(//\)$' \| \
52319 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52325 /^X\(\/\/\)[^/].*/{
52338 test -d "$as_dir" && break
52340 test -z "$as_dirs" || eval "mkdir $as_dirs"
52341 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52342 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52343 { (exit 1); exit 1; }; }; }
52347 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52349 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52350 # A ".." for each directory in $ac_dir_suffix.
52351 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52352 case $ac_top_builddir_sub in
52353 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52354 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52357 ac_abs_top_builddir
=$ac_pwd
52358 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52359 # for backward compatibility:
52360 ac_top_builddir
=$ac_top_build_prefix
52363 .
) # We are building in place.
52365 ac_top_srcdir
=$ac_top_builddir_sub
52366 ac_abs_top_srcdir
=$ac_pwd ;;
52367 [\\/]* | ?
:[\\/]* ) # Absolute name.
52368 ac_srcdir
=$srcdir$ac_dir_suffix;
52369 ac_top_srcdir
=$srcdir
52370 ac_abs_top_srcdir
=$srcdir ;;
52371 *) # Relative name.
52372 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52373 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52374 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52376 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52386 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52387 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52391 cat >>$CONFIG_STATUS <<\_ACEOF
52392 # If the template does not know about datarootdir, expand it.
52393 # FIXME: This hack should be removed a few years after 2.60.
52394 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52396 case `sed -n '/datarootdir/ {
52405 ' $ac_file_inputs` in
52406 *datarootdir
*) ac_datarootdir_seen
=yes;;
52407 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52408 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52409 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52411 cat >>$CONFIG_STATUS <<_ACEOF
52412 ac_datarootdir_hack='
52413 s&@datadir@&$datadir&g
52414 s&@docdir@&$docdir&g
52415 s&@infodir@&$infodir&g
52416 s&@localedir@&$localedir&g
52417 s&@mandir@&$mandir&g
52418 s&\\\${datarootdir}&$datarootdir&g' ;;
52422 # Neutralize VPATH when `$srcdir' = `.'.
52423 # Shell code in configure.ac might set extrasub.
52424 # FIXME: do we really want to maintain this feature?
52425 cat >>$CONFIG_STATUS <<_ACEOF
52429 cat >>$CONFIG_STATUS <<\_ACEOF
52431 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52432 s
&@configure_input@
&$configure_input&;t t
52433 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52434 s
&@srcdir@
&$ac_srcdir&;t t
52435 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52436 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52437 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52438 s
&@builddir@
&$ac_builddir&;t t
52439 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52440 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52441 s
&@INSTALL@
&$ac_INSTALL&;t t
52442 $ac_datarootdir_hack
52443 " $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
52445 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52446 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52447 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52448 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52449 which seems to be undefined. Please make sure it is defined." >&5
52450 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52451 which seems to be undefined. Please make sure it is defined." >&2;}
52455 -) cat "$tmp/out"; rm -f "$tmp/out";;
52456 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52465 # Transform confdefs.h into a sed script `conftest.defines', that
52466 # substitutes the proper values into config.h.in to produce config.h.
52467 rm -f conftest.defines conftest.
tail
52468 # First, append a space to every undef/define line, to ease matching.
52469 echo 's/$/ /' >conftest.defines
52470 # Then, protect against being on the right side of a sed subst, or in
52471 # an unquoted here document, in config.status. If some macros were
52472 # called several times there might be several #defines for the same
52473 # symbol, which is useless. But do not sort them, since the last
52474 # AC_DEFINE must be honored.
52475 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52476 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52477 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52478 # PARAMS is the parameter list in the macro definition--in most cases, it's
52479 # just an empty string.
52480 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52481 ac_dB
='\\)[ (].*,\\1define\\2'
52489 s/^[ ]*#[ ]*define[ ][ ]*//
52494 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52495 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52496 ' >>conftest.defines
52498 # Remove the space that was appended to ease matching.
52499 # Then replace #undef with comments. This is necessary, for
52500 # example, in the case of _POSIX_SOURCE, which is predefined and required
52501 # on some systems where configure will not decide to define it.
52502 # (The regexp can be short, since the line contains either #define or #undef.)
52504 s,^[ #]*u.*,/* & */,' >>conftest.defines
52506 # Break up conftest.defines:
52507 ac_max_sed_lines
=50
52509 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52510 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52511 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52513 ac_in
='$ac_file_inputs'
52514 ac_out
='"$tmp/out1"'
52515 ac_nxt
='"$tmp/out2"'
52519 # Write a here document:
52520 cat >>$CONFIG_STATUS <<_ACEOF
52521 # First, check the format of the line:
52522 cat >"\$tmp/defines.sed" <<\\CEOF
52523 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52524 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52528 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52530 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52531 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52532 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52533 grep . conftest.
tail >/dev
/null
|| break
52534 rm -f conftest.defines
52535 mv conftest.
tail conftest.defines
52537 rm -f conftest.defines conftest.
tail
52539 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52540 cat >>$CONFIG_STATUS <<\_ACEOF
52541 if test x
"$ac_file" != x
-; then
52542 echo "/* $configure_input */" >"$tmp/config.h"
52543 cat "$ac_result" >>"$tmp/config.h"
52544 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52545 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52546 echo "$as_me: $ac_file is unchanged" >&6;}
52549 mv "$tmp/config.h" $ac_file
52552 echo "/* $configure_input */"
52558 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52559 echo "$as_me: executing $ac_file commands" >&6;}
52564 case $ac_file$ac_mode in
52566 mkdir -p $outdir &&
52567 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52569 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52570 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52571 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52572 "wx-config":C
) rm -f wx
-config
52573 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52580 { (exit 0); exit 0; }
52582 chmod +x
$CONFIG_STATUS
52583 ac_clean_files
=$ac_clean_files_save
52586 # configure is writing to config.log, and then calls config.status.
52587 # config.status does its own redirection, appending to config.log.
52588 # Unfortunately, on DOS this fails, as config.log is still kept open
52589 # by configure, so config.status won't be able to write to it; its
52590 # output is simply discarded. So we exec the FD to /dev/null,
52591 # effectively closing config.log, so it can be properly (re)opened and
52592 # appended to by config.status. When coming back to configure, we
52593 # need to make the FD available again.
52594 if test "$no_create" != yes; then
52596 ac_config_status_args
=
52597 test "$silent" = yes &&
52598 ac_config_status_args
="$ac_config_status_args --quiet"
52600 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52602 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52603 # would make configure fail if this is the last instruction.
52604 $ac_cs_success || { (exit 1); exit 1; }
52608 # CONFIG_SUBDIRS section.
52610 if test "$no_recursion" != yes; then
52612 # Remove --cache-file and --srcdir arguments so they do not pile up.
52613 ac_sub_configure_args
=
52615 eval "set x $ac_configure_args"
52619 if test -n "$ac_prev"; then
52624 -cache-file | --cache-file | --cache-fil | --cache-fi \
52625 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52626 ac_prev
=cache_file
;;
52627 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52628 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52631 --config-cache | -C)
52633 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52635 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52637 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52639 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52643 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52645 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52649 # Always prepend --prefix to ensure using the same prefix
52650 # in subdir configurations.
52651 ac_arg
="--prefix=$prefix"
52653 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52655 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52658 if test "$silent" = yes; then
52659 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52663 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52665 # Do not complain, so a configure script can configure whichever
52666 # parts of a large source tree are present.
52667 test -d "$srcdir/$ac_dir" || continue
52669 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52670 echo "$as_me:$LINENO: $ac_msg" >&5
52674 -*) as_dir
=.
/$as_dir;;
52676 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52680 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52681 *) as_qdir
=$as_dir;;
52683 as_dirs
="'$as_qdir' $as_dirs"
52684 as_dir
=`$as_dirname -- "$as_dir" ||
52685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52686 X"$as_dir" : 'X\(//\)[^/]' \| \
52687 X"$as_dir" : 'X\(//\)$' \| \
52688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52694 /^X\(\/\/\)[^/].*/{
52707 test -d "$as_dir" && break
52709 test -z "$as_dirs" || eval "mkdir $as_dirs"
52710 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52711 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52712 { (exit 1); exit 1; }; }; }
52716 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52718 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52719 # A ".." for each directory in $ac_dir_suffix.
52720 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52721 case $ac_top_builddir_sub in
52722 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52723 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52726 ac_abs_top_builddir
=$ac_pwd
52727 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52728 # for backward compatibility:
52729 ac_top_builddir
=$ac_top_build_prefix
52732 .
) # We are building in place.
52734 ac_top_srcdir
=$ac_top_builddir_sub
52735 ac_abs_top_srcdir
=$ac_pwd ;;
52736 [\\/]* | ?
:[\\/]* ) # Absolute name.
52737 ac_srcdir
=$srcdir$ac_dir_suffix;
52738 ac_top_srcdir
=$srcdir
52739 ac_abs_top_srcdir
=$srcdir ;;
52740 *) # Relative name.
52741 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52742 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52743 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52745 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52750 # Check for guested configure; otherwise get Cygnus style configure.
52751 if test -f "$ac_srcdir/configure.gnu"; then
52752 ac_sub_configure
=$ac_srcdir/configure.gnu
52753 elif test -f "$ac_srcdir/configure"; then
52754 ac_sub_configure
=$ac_srcdir/configure
52755 elif test -f "$ac_srcdir/configure.in"; then
52756 # This should be Cygnus configure.
52757 ac_sub_configure
=$ac_aux_dir/configure
52759 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52760 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52764 # The recursion is here.
52765 if test -n "$ac_sub_configure"; then
52766 # Make the cache file name correct relative to the subdirectory.
52767 case $cache_file in
52768 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52769 *) # Relative name.
52770 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52773 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52774 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52775 # The eval makes quoting arguments work.
52776 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52777 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52778 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52779 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52780 { (exit 1); exit 1; }; }
52789 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52791 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52792 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52794 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52795 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52796 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52797 if test "$wxUSE_UNICODE" = "yes"; then
52798 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52799 echo " (using UTF-8)"
52801 echo " (using wchar_t)"
52807 echo " What level of wxWidgets compatibility should be enabled?"
52808 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52809 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52811 echo " Which libraries should wxWidgets use?"
52812 echo " STL ${wxUSE_STL}"
52813 echo " jpeg ${wxUSE_LIBJPEG-none}"
52814 echo " png ${wxUSE_LIBPNG-none}"
52815 echo " regex ${wxUSE_REGEX}"
52816 echo " tiff ${wxUSE_LIBTIFF-none}"
52817 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52818 echo " xpm ${wxUSE_LIBXPM-none}"
52820 echo " zlib ${wxUSE_ZLIB}"
52821 echo " expat ${wxUSE_EXPAT}"
52822 echo " libmspack ${wxUSE_LIBMSPACK}"
52823 echo " sdl ${wxUSE_LIBSDL}"