2 # From configure.in Id: configure.in 60470 2009-05-02 12:52:54Z 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; }
5452 enablestring=disable
5454 if test -z "$defaultval"; then
5455 if test x"$enablestring" = xdisable; then
5462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5464 # Check whether --enable-rpath was given.
5465 if test "${enable_rpath+set}" = set; then
5466 enableval=$enable_rpath;
5467 if test "$enableval" = yes; then
5468 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5470 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5475 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5480 eval "$wx_cv_use_rpath"
5482 if test x"$enablestring" = xdisable; then
5483 if test $wxUSE_RPATH = yes; then
5492 { echo "$as_me:$LINENO: result
: $result" >&5
5493 echo "${ECHO_T}$result" >&6; }
5499 if test -z "$defaultval"; then
5500 if test x"$enablestring" = xdisable; then
5507 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5508 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5509 # Check whether --enable-objc_uniquifying was given.
5510 if test "${enable_objc_uniquifying+set}" = set; then
5511 enableval=$enable_objc_uniquifying;
5512 if test "$enableval" = yes; then
5513 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5520 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5525 eval "$wx_cv_use_objc_uniquifying"
5527 if test x
"$enablestring" = xdisable
; then
5528 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5534 result
=$wxUSE_OBJC_UNIQUIFYING
5537 { echo "$as_me:$LINENO: result: $result" >&5
5538 echo "${ECHO_T}$result" >&6; }
5542 enablestring
=disable
5544 if test -z "$defaultval"; then
5545 if test x
"$enablestring" = xdisable
; then
5552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5554 # Check whether --enable-visibility was given.
5555 if test "${enable_visibility+set}" = set; then
5556 enableval
=$enable_visibility;
5557 if test "$enableval" = yes; then
5558 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5560 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5565 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5570 eval "$wx_cv_use_visibility"
5572 if test x"$enablestring" = xdisable; then
5573 if test $wxUSE_VISIBILITY = yes; then
5579 result=$wxUSE_VISIBILITY
5582 { echo "$as_me:$LINENO: result: $result" >&5
5583 echo "${ECHO_T}$result" >&6; }
5589 defaultval=$wxUSE_ALL_FEATURES
5590 if test -z "$defaultval"; then
5591 if test x"$enablestring" = xdisable; then
5598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5600 # Check whether --enable-intl was given.
5601 if test "${enable_intl+set}" = set; then
5602 enableval=$enable_intl;
5603 if test "$enableval" = yes; then
5604 wx_cv_use_intl='wxUSE_INTL
=yes'
5606 wx_cv_use_intl='wxUSE_INTL
=no
'
5611 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5616 eval "$wx_cv_use_intl"
5618 if test x"$enablestring" = xdisable; then
5619 if test $wxUSE_INTL = yes; then
5628 { echo "$as_me:$LINENO: result
: $result" >&5
5629 echo "${ECHO_T}$result" >&6; }
5633 defaultval=$wxUSE_ALL_FEATURES
5634 if test -z "$defaultval"; then
5635 if test x"$enablestring" = xdisable; then
5642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5643 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5644 # Check whether --enable-xlocale was given.
5645 if test "${enable_xlocale+set}" = set; then
5646 enableval=$enable_xlocale;
5647 if test "$enableval" = yes; then
5648 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5650 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5655 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5660 eval "$wx_cv_use_xlocale"
5662 if test x
"$enablestring" = xdisable
; then
5663 if test $wxUSE_XLOCALE = yes; then
5669 result
=$wxUSE_XLOCALE
5672 { echo "$as_me:$LINENO: result: $result" >&5
5673 echo "${ECHO_T}$result" >&6; }
5677 defaultval
=$wxUSE_ALL_FEATURES
5678 if test -z "$defaultval"; then
5679 if test x
"$enablestring" = xdisable
; then
5686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5688 # Check whether --enable-config was given.
5689 if test "${enable_config+set}" = set; then
5690 enableval
=$enable_config;
5691 if test "$enableval" = yes; then
5692 wx_cv_use_config
='wxUSE_CONFIG=yes'
5694 wx_cv_use_config
='wxUSE_CONFIG=no'
5699 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5704 eval "$wx_cv_use_config"
5706 if test x"$enablestring" = xdisable; then
5707 if test $wxUSE_CONFIG = yes; then
5713 result=$wxUSE_CONFIG
5716 { echo "$as_me:$LINENO: result: $result" >&5
5717 echo "${ECHO_T}$result" >&6; }
5722 defaultval=$wxUSE_ALL_FEATURES
5723 if test -z "$defaultval"; then
5724 if test x"$enablestring" = xdisable; then
5731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5732 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5733 # Check whether --enable-protocols was given.
5734 if test "${enable_protocols+set}" = set; then
5735 enableval=$enable_protocols;
5736 if test "$enableval" = yes; then
5737 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5739 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5744 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5749 eval "$wx_cv_use_protocols"
5751 if test x"$enablestring" = xdisable; then
5752 if test $wxUSE_PROTOCOL = yes; then
5758 result=$wxUSE_PROTOCOL
5761 { echo "$as_me:$LINENO: result
: $result" >&5
5762 echo "${ECHO_T}$result" >&6; }
5766 defaultval=$wxUSE_ALL_FEATURES
5767 if test -z "$defaultval"; then
5768 if test x"$enablestring" = xdisable; then
5775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5776 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5777 # Check whether --enable-ftp was given.
5778 if test "${enable_ftp+set}" = set; then
5779 enableval=$enable_ftp;
5780 if test "$enableval" = yes; then
5781 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5783 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5788 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5793 eval "$wx_cv_use_ftp"
5795 if test x
"$enablestring" = xdisable
; then
5796 if test $wxUSE_PROTOCOL_FTP = yes; then
5802 result
=$wxUSE_PROTOCOL_FTP
5805 { echo "$as_me:$LINENO: result: $result" >&5
5806 echo "${ECHO_T}$result" >&6; }
5810 defaultval
=$wxUSE_ALL_FEATURES
5811 if test -z "$defaultval"; then
5812 if test x
"$enablestring" = xdisable
; then
5819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5820 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5821 # Check whether --enable-http was given.
5822 if test "${enable_http+set}" = set; then
5823 enableval
=$enable_http;
5824 if test "$enableval" = yes; then
5825 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5827 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5832 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5837 eval "$wx_cv_use_http"
5839 if test x"$enablestring" = xdisable; then
5840 if test $wxUSE_PROTOCOL_HTTP = yes; then
5846 result=$wxUSE_PROTOCOL_HTTP
5849 { echo "$as_me:$LINENO: result: $result" >&5
5850 echo "${ECHO_T}$result" >&6; }
5854 defaultval=$wxUSE_ALL_FEATURES
5855 if test -z "$defaultval"; then
5856 if test x"$enablestring" = xdisable; then
5863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5864 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5865 # Check whether --enable-fileproto was given.
5866 if test "${enable_fileproto+set}" = set; then
5867 enableval=$enable_fileproto;
5868 if test "$enableval" = yes; then
5869 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5871 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5876 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5881 eval "$wx_cv_use_fileproto"
5883 if test x"$enablestring" = xdisable; then
5884 if test $wxUSE_PROTOCOL_FILE = yes; then
5890 result=$wxUSE_PROTOCOL_FILE
5893 { echo "$as_me:$LINENO: result
: $result" >&5
5894 echo "${ECHO_T}$result" >&6; }
5898 defaultval=$wxUSE_ALL_FEATURES
5899 if test -z "$defaultval"; then
5900 if test x"$enablestring" = xdisable; then
5907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5908 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5909 # Check whether --enable-sockets was given.
5910 if test "${enable_sockets+set}" = set; then
5911 enableval=$enable_sockets;
5912 if test "$enableval" = yes; then
5913 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5915 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5920 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5925 eval "$wx_cv_use_sockets"
5927 if test x
"$enablestring" = xdisable
; then
5928 if test $wxUSE_SOCKETS = yes; then
5934 result
=$wxUSE_SOCKETS
5937 { echo "$as_me:$LINENO: result: $result" >&5
5938 echo "${ECHO_T}$result" >&6; }
5942 defaultval
=$wxUSE_ALL_FEATURES
5943 if test -z "$defaultval"; then
5944 if test x
"$enablestring" = xdisable
; then
5951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5952 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5953 # Check whether --enable-ipv6 was given.
5954 if test "${enable_ipv6+set}" = set; then
5955 enableval
=$enable_ipv6;
5956 if test "$enableval" = yes; then
5957 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5959 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5964 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5969 eval "$wx_cv_use_ipv6"
5971 if test x"$enablestring" = xdisable; then
5972 if test $wxUSE_IPV6 = yes; then
5981 { echo "$as_me:$LINENO: result: $result" >&5
5982 echo "${ECHO_T}$result" >&6; }
5986 defaultval=$wxUSE_ALL_FEATURES
5987 if test -z "$defaultval"; then
5988 if test x"$enablestring" = xdisable; then
5995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5996 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5997 # Check whether --enable-ole was given.
5998 if test "${enable_ole+set}" = set; then
5999 enableval=$enable_ole;
6000 if test "$enableval" = yes; then
6001 wx_cv_use_ole='wxUSE_OLE
=yes'
6003 wx_cv_use_ole='wxUSE_OLE
=no
'
6008 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6013 eval "$wx_cv_use_ole"
6015 if test x"$enablestring" = xdisable; then
6016 if test $wxUSE_OLE = yes; then
6025 { echo "$as_me:$LINENO: result
: $result" >&5
6026 echo "${ECHO_T}$result" >&6; }
6030 defaultval=$wxUSE_ALL_FEATURES
6031 if test -z "$defaultval"; then
6032 if test x"$enablestring" = xdisable; then
6039 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6040 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6041 # Check whether --enable-dataobj was given.
6042 if test "${enable_dataobj+set}" = set; then
6043 enableval=$enable_dataobj;
6044 if test "$enableval" = yes; then
6045 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6047 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6052 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6057 eval "$wx_cv_use_dataobj"
6059 if test x
"$enablestring" = xdisable
; then
6060 if test $wxUSE_DATAOBJ = yes; then
6066 result
=$wxUSE_DATAOBJ
6069 { echo "$as_me:$LINENO: result: $result" >&5
6070 echo "${ECHO_T}$result" >&6; }
6075 defaultval
=$wxUSE_ALL_FEATURES
6076 if test -z "$defaultval"; then
6077 if test x
"$enablestring" = xdisable
; then
6084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6086 # Check whether --enable-ipc was given.
6087 if test "${enable_ipc+set}" = set; then
6088 enableval
=$enable_ipc;
6089 if test "$enableval" = yes; then
6090 wx_cv_use_ipc
='wxUSE_IPC=yes'
6092 wx_cv_use_ipc
='wxUSE_IPC=no'
6097 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6102 eval "$wx_cv_use_ipc"
6104 if test x"$enablestring" = xdisable; then
6105 if test $wxUSE_IPC = yes; then
6114 { echo "$as_me:$LINENO: result: $result" >&5
6115 echo "${ECHO_T}$result" >&6; }
6120 defaultval=$wxUSE_ALL_FEATURES
6121 if test -z "$defaultval"; then
6122 if test x"$enablestring" = xdisable; then
6129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6131 # Check whether --enable-baseevtloop was given.
6132 if test "${enable_baseevtloop+set}" = set; then
6133 enableval=$enable_baseevtloop;
6134 if test "$enableval" = yes; then
6135 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6137 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6142 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6147 eval "$wx_cv_use_baseevtloop"
6149 if test x"$enablestring" = xdisable; then
6150 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6156 result=$wxUSE_CONSOLE_EVENTLOOP
6159 { echo "$as_me:$LINENO: result
: $result" >&5
6160 echo "${ECHO_T}$result" >&6; }
6164 defaultval=$wxUSE_ALL_FEATURES
6165 if test -z "$defaultval"; then
6166 if test x"$enablestring" = xdisable; then
6173 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6174 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6175 # Check whether --enable-epollloop was given.
6176 if test "${enable_epollloop+set}" = set; then
6177 enableval=$enable_epollloop;
6178 if test "$enableval" = yes; then
6179 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6181 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6186 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6191 eval "$wx_cv_use_epollloop"
6193 if test x
"$enablestring" = xdisable
; then
6194 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6200 result
=$wxUSE_EPOLL_DISPATCHER
6203 { echo "$as_me:$LINENO: result: $result" >&5
6204 echo "${ECHO_T}$result" >&6; }
6208 defaultval
=$wxUSE_ALL_FEATURES
6209 if test -z "$defaultval"; then
6210 if test x
"$enablestring" = xdisable
; then
6217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6219 # Check whether --enable-selectloop was given.
6220 if test "${enable_selectloop+set}" = set; then
6221 enableval
=$enable_selectloop;
6222 if test "$enableval" = yes; then
6223 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6225 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6230 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6235 eval "$wx_cv_use_selectloop"
6237 if test x"$enablestring" = xdisable; then
6238 if test $wxUSE_SELECT_DISPATCHER = yes; then
6244 result=$wxUSE_SELECT_DISPATCHER
6247 { echo "$as_me:$LINENO: result: $result" >&5
6248 echo "${ECHO_T}$result" >&6; }
6253 defaultval=$wxUSE_ALL_FEATURES
6254 if test -z "$defaultval"; then
6255 if test x"$enablestring" = xdisable; then
6262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6264 # Check whether --enable-apple_ieee was given.
6265 if test "${enable_apple_ieee+set}" = set; then
6266 enableval=$enable_apple_ieee;
6267 if test "$enableval" = yes; then
6268 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6270 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6275 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6280 eval "$wx_cv_use_apple_ieee"
6282 if test x"$enablestring" = xdisable; then
6283 if test $wxUSE_APPLE_IEEE = yes; then
6289 result=$wxUSE_APPLE_IEEE
6292 { echo "$as_me:$LINENO: result
: $result" >&5
6293 echo "${ECHO_T}$result" >&6; }
6297 defaultval=$wxUSE_ALL_FEATURES
6298 if test -z "$defaultval"; then
6299 if test x"$enablestring" = xdisable; then
6306 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6307 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6308 # Check whether --enable-arcstream was given.
6309 if test "${enable_arcstream+set}" = set; then
6310 enableval=$enable_arcstream;
6311 if test "$enableval" = yes; then
6312 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6314 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6319 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6324 eval "$wx_cv_use_arcstream"
6326 if test x
"$enablestring" = xdisable
; then
6327 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6333 result
=$wxUSE_ARCHIVE_STREAMS
6336 { echo "$as_me:$LINENO: result: $result" >&5
6337 echo "${ECHO_T}$result" >&6; }
6341 defaultval
=$wxUSE_ALL_FEATURES
6342 if test -z "$defaultval"; then
6343 if test x
"$enablestring" = xdisable
; then
6350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6351 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6352 # Check whether --enable-base64 was given.
6353 if test "${enable_base64+set}" = set; then
6354 enableval
=$enable_base64;
6355 if test "$enableval" = yes; then
6356 wx_cv_use_base64
='wxUSE_BASE64=yes'
6358 wx_cv_use_base64
='wxUSE_BASE64=no'
6363 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6368 eval "$wx_cv_use_base64"
6370 if test x"$enablestring" = xdisable; then
6371 if test $wxUSE_BASE64 = yes; then
6377 result=$wxUSE_BASE64
6380 { echo "$as_me:$LINENO: result: $result" >&5
6381 echo "${ECHO_T}$result" >&6; }
6385 defaultval=$wxUSE_ALL_FEATURES
6386 if test -z "$defaultval"; then
6387 if test x"$enablestring" = xdisable; then
6394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6395 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6396 # Check whether --enable-backtrace was given.
6397 if test "${enable_backtrace+set}" = set; then
6398 enableval=$enable_backtrace;
6399 if test "$enableval" = yes; then
6400 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6402 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6407 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6412 eval "$wx_cv_use_backtrace"
6414 if test x"$enablestring" = xdisable; then
6415 if test $wxUSE_STACKWALKER = yes; then
6421 result=$wxUSE_STACKWALKER
6424 { echo "$as_me:$LINENO: result
: $result" >&5
6425 echo "${ECHO_T}$result" >&6; }
6429 defaultval=$wxUSE_ALL_FEATURES
6430 if test -z "$defaultval"; then
6431 if test x"$enablestring" = xdisable; then
6438 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6439 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6440 # Check whether --enable-catch_segvs was given.
6441 if test "${enable_catch_segvs+set}" = set; then
6442 enableval=$enable_catch_segvs;
6443 if test "$enableval" = yes; then
6444 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6446 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6451 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6456 eval "$wx_cv_use_catch_segvs"
6458 if test x
"$enablestring" = xdisable
; then
6459 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6465 result
=$wxUSE_ON_FATAL_EXCEPTION
6468 { echo "$as_me:$LINENO: result: $result" >&5
6469 echo "${ECHO_T}$result" >&6; }
6473 defaultval
=$wxUSE_ALL_FEATURES
6474 if test -z "$defaultval"; then
6475 if test x
"$enablestring" = xdisable
; then
6482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6484 # Check whether --enable-cmdline was given.
6485 if test "${enable_cmdline+set}" = set; then
6486 enableval
=$enable_cmdline;
6487 if test "$enableval" = yes; then
6488 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6490 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6495 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6500 eval "$wx_cv_use_cmdline"
6502 if test x"$enablestring" = xdisable; then
6503 if test $wxUSE_CMDLINE_PARSER = yes; then
6509 result=$wxUSE_CMDLINE_PARSER
6512 { echo "$as_me:$LINENO: result: $result" >&5
6513 echo "${ECHO_T}$result" >&6; }
6517 defaultval=$wxUSE_ALL_FEATURES
6518 if test -z "$defaultval"; then
6519 if test x"$enablestring" = xdisable; then
6526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6528 # Check whether --enable-datetime was given.
6529 if test "${enable_datetime+set}" = set; then
6530 enableval=$enable_datetime;
6531 if test "$enableval" = yes; then
6532 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6534 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6539 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6544 eval "$wx_cv_use_datetime"
6546 if test x"$enablestring" = xdisable; then
6547 if test $wxUSE_DATETIME = yes; then
6553 result=$wxUSE_DATETIME
6556 { echo "$as_me:$LINENO: result
: $result" >&5
6557 echo "${ECHO_T}$result" >&6; }
6561 defaultval=$wxUSE_ALL_FEATURES
6562 if test -z "$defaultval"; then
6563 if test x"$enablestring" = xdisable; then
6570 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6571 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6572 # Check whether --enable-debugreport was given.
6573 if test "${enable_debugreport+set}" = set; then
6574 enableval=$enable_debugreport;
6575 if test "$enableval" = yes; then
6576 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6578 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6583 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6588 eval "$wx_cv_use_debugreport"
6590 if test x
"$enablestring" = xdisable
; then
6591 if test $wxUSE_DEBUGREPORT = yes; then
6597 result
=$wxUSE_DEBUGREPORT
6600 { echo "$as_me:$LINENO: result: $result" >&5
6601 echo "${ECHO_T}$result" >&6; }
6605 defaultval
=$wxUSE_ALL_FEATURES
6606 if test -z "$defaultval"; then
6607 if test x
"$enablestring" = xdisable
; then
6614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6616 # Check whether --enable-dialupman was given.
6617 if test "${enable_dialupman+set}" = set; then
6618 enableval
=$enable_dialupman;
6619 if test "$enableval" = yes; then
6620 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6622 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6627 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6632 eval "$wx_cv_use_dialupman"
6634 if test x"$enablestring" = xdisable; then
6635 if test $wxUSE_DIALUP_MANAGER = yes; then
6641 result=$wxUSE_DIALUP_MANAGER
6644 { echo "$as_me:$LINENO: result: $result" >&5
6645 echo "${ECHO_T}$result" >&6; }
6649 defaultval=$wxUSE_ALL_FEATURES
6650 if test -z "$defaultval"; then
6651 if test x"$enablestring" = xdisable; then
6658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6660 # Check whether --enable-dynlib was given.
6661 if test "${enable_dynlib+set}" = set; then
6662 enableval=$enable_dynlib;
6663 if test "$enableval" = yes; then
6664 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6666 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6671 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6676 eval "$wx_cv_use_dynlib"
6678 if test x"$enablestring" = xdisable; then
6679 if test $wxUSE_DYNLIB_CLASS = yes; then
6685 result=$wxUSE_DYNLIB_CLASS
6688 { echo "$as_me:$LINENO: result
: $result" >&5
6689 echo "${ECHO_T}$result" >&6; }
6693 defaultval=$wxUSE_ALL_FEATURES
6694 if test -z "$defaultval"; then
6695 if test x"$enablestring" = xdisable; then
6702 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6703 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6704 # Check whether --enable-dynamicloader was given.
6705 if test "${enable_dynamicloader+set}" = set; then
6706 enableval=$enable_dynamicloader;
6707 if test "$enableval" = yes; then
6708 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6710 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6715 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6720 eval "$wx_cv_use_dynamicloader"
6722 if test x
"$enablestring" = xdisable
; then
6723 if test $wxUSE_DYNAMIC_LOADER = yes; then
6729 result
=$wxUSE_DYNAMIC_LOADER
6732 { echo "$as_me:$LINENO: result: $result" >&5
6733 echo "${ECHO_T}$result" >&6; }
6737 defaultval
=$wxUSE_ALL_FEATURES
6738 if test -z "$defaultval"; then
6739 if test x
"$enablestring" = xdisable
; then
6746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6748 # Check whether --enable-exceptions was given.
6749 if test "${enable_exceptions+set}" = set; then
6750 enableval
=$enable_exceptions;
6751 if test "$enableval" = yes; then
6752 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6754 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6759 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6764 eval "$wx_cv_use_exceptions"
6766 if test x"$enablestring" = xdisable; then
6767 if test $wxUSE_EXCEPTIONS = yes; then
6773 result=$wxUSE_EXCEPTIONS
6776 { echo "$as_me:$LINENO: result: $result" >&5
6777 echo "${ECHO_T}$result" >&6; }
6781 defaultval=$wxUSE_ALL_FEATURES
6782 if test -z "$defaultval"; then
6783 if test x"$enablestring" = xdisable; then
6790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6792 # Check whether --enable-ffile was given.
6793 if test "${enable_ffile+set}" = set; then
6794 enableval=$enable_ffile;
6795 if test "$enableval" = yes; then
6796 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6798 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6803 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6808 eval "$wx_cv_use_ffile"
6810 if test x"$enablestring" = xdisable; then
6811 if test $wxUSE_FFILE = yes; then
6820 { echo "$as_me:$LINENO: result
: $result" >&5
6821 echo "${ECHO_T}$result" >&6; }
6825 defaultval=$wxUSE_ALL_FEATURES
6826 if test -z "$defaultval"; then
6827 if test x"$enablestring" = xdisable; then
6834 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6835 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6836 # Check whether --enable-file was given.
6837 if test "${enable_file+set}" = set; then
6838 enableval=$enable_file;
6839 if test "$enableval" = yes; then
6840 wx_cv_use_file='wxUSE_FILE=yes'
6842 wx_cv_use_file='wxUSE_FILE=no'
6847 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6852 eval "$wx_cv_use_file"
6854 if test x
"$enablestring" = xdisable
; then
6855 if test $wxUSE_FILE = yes; then
6864 { echo "$as_me:$LINENO: result: $result" >&5
6865 echo "${ECHO_T}$result" >&6; }
6869 defaultval
=$wxUSE_ALL_FEATURES
6870 if test -z "$defaultval"; then
6871 if test x
"$enablestring" = xdisable
; then
6878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6880 # Check whether --enable-filesystem was given.
6881 if test "${enable_filesystem+set}" = set; then
6882 enableval
=$enable_filesystem;
6883 if test "$enableval" = yes; then
6884 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6886 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6891 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6896 eval "$wx_cv_use_filesystem"
6898 if test x"$enablestring" = xdisable; then
6899 if test $wxUSE_FILESYSTEM = yes; then
6905 result=$wxUSE_FILESYSTEM
6908 { echo "$as_me:$LINENO: result: $result" >&5
6909 echo "${ECHO_T}$result" >&6; }
6913 defaultval=$wxUSE_ALL_FEATURES
6914 if test -z "$defaultval"; then
6915 if test x"$enablestring" = xdisable; then
6922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6924 # Check whether --enable-fontenum was given.
6925 if test "${enable_fontenum+set}" = set; then
6926 enableval=$enable_fontenum;
6927 if test "$enableval" = yes; then
6928 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6930 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6935 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6940 eval "$wx_cv_use_fontenum"
6942 if test x"$enablestring" = xdisable; then
6943 if test $wxUSE_FONTENUM = yes; then
6949 result=$wxUSE_FONTENUM
6952 { echo "$as_me:$LINENO: result
: $result" >&5
6953 echo "${ECHO_T}$result" >&6; }
6957 defaultval=$wxUSE_ALL_FEATURES
6958 if test -z "$defaultval"; then
6959 if test x"$enablestring" = xdisable; then
6966 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6967 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6968 # Check whether --enable-fontmap was given.
6969 if test "${enable_fontmap+set}" = set; then
6970 enableval=$enable_fontmap;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6974 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6979 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6984 eval "$wx_cv_use_fontmap"
6986 if test x
"$enablestring" = xdisable
; then
6987 if test $wxUSE_FONTMAP = yes; then
6993 result
=$wxUSE_FONTMAP
6996 { echo "$as_me:$LINENO: result: $result" >&5
6997 echo "${ECHO_T}$result" >&6; }
7001 defaultval
=$wxUSE_ALL_FEATURES
7002 if test -z "$defaultval"; then
7003 if test x
"$enablestring" = xdisable
; then
7010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7012 # Check whether --enable-fs_archive was given.
7013 if test "${enable_fs_archive+set}" = set; then
7014 enableval
=$enable_fs_archive;
7015 if test "$enableval" = yes; then
7016 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7018 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7023 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7028 eval "$wx_cv_use_fs_archive"
7030 if test x"$enablestring" = xdisable; then
7031 if test $wxUSE_FS_ARCHIVE = yes; then
7037 result=$wxUSE_FS_ARCHIVE
7040 { echo "$as_me:$LINENO: result: $result" >&5
7041 echo "${ECHO_T}$result" >&6; }
7045 defaultval=$wxUSE_ALL_FEATURES
7046 if test -z "$defaultval"; then
7047 if test x"$enablestring" = xdisable; then
7054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7055 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7056 # Check whether --enable-fs_inet was given.
7057 if test "${enable_fs_inet+set}" = set; then
7058 enableval=$enable_fs_inet;
7059 if test "$enableval" = yes; then
7060 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7062 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7067 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7072 eval "$wx_cv_use_fs_inet"
7074 if test x"$enablestring" = xdisable; then
7075 if test $wxUSE_FS_INET = yes; then
7081 result=$wxUSE_FS_INET
7084 { echo "$as_me:$LINENO: result
: $result" >&5
7085 echo "${ECHO_T}$result" >&6; }
7089 defaultval=$wxUSE_ALL_FEATURES
7090 if test -z "$defaultval"; then
7091 if test x"$enablestring" = xdisable; then
7098 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7099 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7100 # Check whether --enable-fs_zip was given.
7101 if test "${enable_fs_zip+set}" = set; then
7102 enableval=$enable_fs_zip;
7103 if test "$enableval" = yes; then
7104 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7106 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7111 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7116 eval "$wx_cv_use_fs_zip"
7118 if test x
"$enablestring" = xdisable
; then
7119 if test $wxUSE_FS_ZIP = yes; then
7125 result
=$wxUSE_FS_ZIP
7128 { echo "$as_me:$LINENO: result: $result" >&5
7129 echo "${ECHO_T}$result" >&6; }
7133 defaultval
=$wxUSE_ALL_FEATURES
7134 if test -z "$defaultval"; then
7135 if test x
"$enablestring" = xdisable
; then
7142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7144 # Check whether --enable-geometry was given.
7145 if test "${enable_geometry+set}" = set; then
7146 enableval
=$enable_geometry;
7147 if test "$enableval" = yes; then
7148 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7150 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7155 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7160 eval "$wx_cv_use_geometry"
7162 if test x"$enablestring" = xdisable; then
7163 if test $wxUSE_GEOMETRY = yes; then
7169 result=$wxUSE_GEOMETRY
7172 { echo "$as_me:$LINENO: result: $result" >&5
7173 echo "${ECHO_T}$result" >&6; }
7177 defaultval=$wxUSE_ALL_FEATURES
7178 if test -z "$defaultval"; then
7179 if test x"$enablestring" = xdisable; then
7186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7187 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7188 # Check whether --enable-log was given.
7189 if test "${enable_log+set}" = set; then
7190 enableval=$enable_log;
7191 if test "$enableval" = yes; then
7192 wx_cv_use_log='wxUSE_LOG
=yes'
7194 wx_cv_use_log='wxUSE_LOG
=no
'
7199 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7204 eval "$wx_cv_use_log"
7206 if test x"$enablestring" = xdisable; then
7207 if test $wxUSE_LOG = yes; then
7216 { echo "$as_me:$LINENO: result
: $result" >&5
7217 echo "${ECHO_T}$result" >&6; }
7221 defaultval=$wxUSE_ALL_FEATURES
7222 if test -z "$defaultval"; then
7223 if test x"$enablestring" = xdisable; then
7230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7231 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7232 # Check whether --enable-longlong was given.
7233 if test "${enable_longlong+set}" = set; then
7234 enableval=$enable_longlong;
7235 if test "$enableval" = yes; then
7236 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7238 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7243 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7248 eval "$wx_cv_use_longlong"
7250 if test x
"$enablestring" = xdisable
; then
7251 if test $wxUSE_LONGLONG = yes; then
7257 result
=$wxUSE_LONGLONG
7260 { echo "$as_me:$LINENO: result: $result" >&5
7261 echo "${ECHO_T}$result" >&6; }
7265 defaultval
=$wxUSE_ALL_FEATURES
7266 if test -z "$defaultval"; then
7267 if test x
"$enablestring" = xdisable
; then
7274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7276 # Check whether --enable-mimetype was given.
7277 if test "${enable_mimetype+set}" = set; then
7278 enableval
=$enable_mimetype;
7279 if test "$enableval" = yes; then
7280 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7282 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7287 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7292 eval "$wx_cv_use_mimetype"
7294 if test x"$enablestring" = xdisable; then
7295 if test $wxUSE_MIMETYPE = yes; then
7301 result=$wxUSE_MIMETYPE
7304 { echo "$as_me:$LINENO: result: $result" >&5
7305 echo "${ECHO_T}$result" >&6; }
7309 defaultval=$wxUSE_ALL_FEATURES
7310 if test -z "$defaultval"; then
7311 if test x"$enablestring" = xdisable; then
7318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7319 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7320 # Check whether --enable-printfposparam was given.
7321 if test "${enable_printfposparam+set}" = set; then
7322 enableval=$enable_printfposparam;
7323 if test "$enableval" = yes; then
7324 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7326 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7331 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7336 eval "$wx_cv_use_printfposparam"
7338 if test x"$enablestring" = xdisable; then
7339 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7345 result=$wxUSE_PRINTF_POS_PARAMS
7348 { echo "$as_me:$LINENO: result
: $result" >&5
7349 echo "${ECHO_T}$result" >&6; }
7353 defaultval=$wxUSE_ALL_FEATURES
7354 if test -z "$defaultval"; then
7355 if test x"$enablestring" = xdisable; then
7362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7363 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7364 # Check whether --enable-snglinst was given.
7365 if test "${enable_snglinst+set}" = set; then
7366 enableval=$enable_snglinst;
7367 if test "$enableval" = yes; then
7368 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7370 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7375 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7380 eval "$wx_cv_use_snglinst"
7382 if test x
"$enablestring" = xdisable
; then
7383 if test $wxUSE_SNGLINST_CHECKER = yes; then
7389 result
=$wxUSE_SNGLINST_CHECKER
7392 { echo "$as_me:$LINENO: result: $result" >&5
7393 echo "${ECHO_T}$result" >&6; }
7397 defaultval
=$wxUSE_ALL_FEATURES
7398 if test -z "$defaultval"; then
7399 if test x
"$enablestring" = xdisable
; then
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7408 # Check whether --enable-sound was given.
7409 if test "${enable_sound+set}" = set; then
7410 enableval
=$enable_sound;
7411 if test "$enableval" = yes; then
7412 wx_cv_use_sound
='wxUSE_SOUND=yes'
7414 wx_cv_use_sound
='wxUSE_SOUND=no'
7419 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7424 eval "$wx_cv_use_sound"
7426 if test x"$enablestring" = xdisable; then
7427 if test $wxUSE_SOUND = yes; then
7436 { echo "$as_me:$LINENO: result: $result" >&5
7437 echo "${ECHO_T}$result" >&6; }
7441 defaultval=$wxUSE_ALL_FEATURES
7442 if test -z "$defaultval"; then
7443 if test x"$enablestring" = xdisable; then
7450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7451 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7452 # Check whether --enable-stdpaths was given.
7453 if test "${enable_stdpaths+set}" = set; then
7454 enableval=$enable_stdpaths;
7455 if test "$enableval" = yes; then
7456 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7458 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7463 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7468 eval "$wx_cv_use_stdpaths"
7470 if test x"$enablestring" = xdisable; then
7471 if test $wxUSE_STDPATHS = yes; then
7477 result=$wxUSE_STDPATHS
7480 { echo "$as_me:$LINENO: result
: $result" >&5
7481 echo "${ECHO_T}$result" >&6; }
7485 defaultval=$wxUSE_ALL_FEATURES
7486 if test -z "$defaultval"; then
7487 if test x"$enablestring" = xdisable; then
7494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7495 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7496 # Check whether --enable-stopwatch was given.
7497 if test "${enable_stopwatch+set}" = set; then
7498 enableval=$enable_stopwatch;
7499 if test "$enableval" = yes; then
7500 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7502 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7507 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7512 eval "$wx_cv_use_stopwatch"
7514 if test x
"$enablestring" = xdisable
; then
7515 if test $wxUSE_STOPWATCH = yes; then
7521 result
=$wxUSE_STOPWATCH
7524 { echo "$as_me:$LINENO: result: $result" >&5
7525 echo "${ECHO_T}$result" >&6; }
7529 defaultval
=$wxUSE_ALL_FEATURES
7530 if test -z "$defaultval"; then
7531 if test x
"$enablestring" = xdisable
; then
7538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7540 # Check whether --enable-streams was given.
7541 if test "${enable_streams+set}" = set; then
7542 enableval
=$enable_streams;
7543 if test "$enableval" = yes; then
7544 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7546 wx_cv_use_streams
='wxUSE_STREAMS=no'
7551 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7556 eval "$wx_cv_use_streams"
7558 if test x"$enablestring" = xdisable; then
7559 if test $wxUSE_STREAMS = yes; then
7565 result=$wxUSE_STREAMS
7568 { echo "$as_me:$LINENO: result: $result" >&5
7569 echo "${ECHO_T}$result" >&6; }
7573 defaultval=$wxUSE_ALL_FEATURES
7574 if test -z "$defaultval"; then
7575 if test x"$enablestring" = xdisable; then
7582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7584 # Check whether --enable-system_options was given.
7585 if test "${enable_system_options+set}" = set; then
7586 enableval=$enable_system_options;
7587 if test "$enableval" = yes; then
7588 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7590 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7595 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7600 eval "$wx_cv_use_system_options"
7602 if test x"$enablestring" = xdisable; then
7603 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7609 result=$wxUSE_SYSTEM_OPTIONS
7612 { echo "$as_me:$LINENO: result
: $result" >&5
7613 echo "${ECHO_T}$result" >&6; }
7617 defaultval=$wxUSE_ALL_FEATURES
7618 if test -z "$defaultval"; then
7619 if test x"$enablestring" = xdisable; then
7626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7627 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7628 # Check whether --enable-tarstream was given.
7629 if test "${enable_tarstream+set}" = set; then
7630 enableval=$enable_tarstream;
7631 if test "$enableval" = yes; then
7632 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7634 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7639 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7644 eval "$wx_cv_use_tarstream"
7646 if test x
"$enablestring" = xdisable
; then
7647 if test $wxUSE_TARSTREAM = yes; then
7653 result
=$wxUSE_TARSTREAM
7656 { echo "$as_me:$LINENO: result: $result" >&5
7657 echo "${ECHO_T}$result" >&6; }
7661 defaultval
=$wxUSE_ALL_FEATURES
7662 if test -z "$defaultval"; then
7663 if test x
"$enablestring" = xdisable
; then
7670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7671 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7672 # Check whether --enable-textbuf was given.
7673 if test "${enable_textbuf+set}" = set; then
7674 enableval
=$enable_textbuf;
7675 if test "$enableval" = yes; then
7676 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7678 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7683 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7688 eval "$wx_cv_use_textbuf"
7690 if test x"$enablestring" = xdisable; then
7691 if test $wxUSE_TEXTBUFFER = yes; then
7697 result=$wxUSE_TEXTBUFFER
7700 { echo "$as_me:$LINENO: result: $result" >&5
7701 echo "${ECHO_T}$result" >&6; }
7705 defaultval=$wxUSE_ALL_FEATURES
7706 if test -z "$defaultval"; then
7707 if test x"$enablestring" = xdisable; then
7714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7716 # Check whether --enable-textfile was given.
7717 if test "${enable_textfile+set}" = set; then
7718 enableval=$enable_textfile;
7719 if test "$enableval" = yes; then
7720 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7722 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7727 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7732 eval "$wx_cv_use_textfile"
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_TEXTFILE = yes; then
7741 result=$wxUSE_TEXTFILE
7744 { echo "$as_me:$LINENO: result
: $result" >&5
7745 echo "${ECHO_T}$result" >&6; }
7749 defaultval=$wxUSE_ALL_FEATURES
7750 if test -z "$defaultval"; then
7751 if test x"$enablestring" = xdisable; then
7758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7759 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7760 # Check whether --enable-timer was given.
7761 if test "${enable_timer+set}" = set; then
7762 enableval=$enable_timer;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_timer='wxUSE_TIMER=yes'
7766 wx_cv_use_timer='wxUSE_TIMER=no'
7771 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7776 eval "$wx_cv_use_timer"
7778 if test x
"$enablestring" = xdisable
; then
7779 if test $wxUSE_TIMER = yes; then
7788 { echo "$as_me:$LINENO: result: $result" >&5
7789 echo "${ECHO_T}$result" >&6; }
7793 defaultval
=$wxUSE_ALL_FEATURES
7794 if test -z "$defaultval"; then
7795 if test x
"$enablestring" = xdisable
; then
7802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7804 # Check whether --enable-variant was given.
7805 if test "${enable_variant+set}" = set; then
7806 enableval
=$enable_variant;
7807 if test "$enableval" = yes; then
7808 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7810 wx_cv_use_variant
='wxUSE_VARIANT=no'
7815 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7820 eval "$wx_cv_use_variant"
7822 if test x"$enablestring" = xdisable; then
7823 if test $wxUSE_VARIANT = yes; then
7829 result=$wxUSE_VARIANT
7832 { echo "$as_me:$LINENO: result: $result" >&5
7833 echo "${ECHO_T}$result" >&6; }
7837 defaultval=$wxUSE_ALL_FEATURES
7838 if test -z "$defaultval"; then
7839 if test x"$enablestring" = xdisable; then
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7848 # Check whether --enable-zipstream was given.
7849 if test "${enable_zipstream+set}" = set; then
7850 enableval=$enable_zipstream;
7851 if test "$enableval" = yes; then
7852 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7854 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7859 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7864 eval "$wx_cv_use_zipstream"
7866 if test x"$enablestring" = xdisable; then
7867 if test $wxUSE_ZIPSTREAM = yes; then
7873 result=$wxUSE_ZIPSTREAM
7876 { echo "$as_me:$LINENO: result
: $result" >&5
7877 echo "${ECHO_T}$result" >&6; }
7882 defaultval=$wxUSE_ALL_FEATURES
7883 if test -z "$defaultval"; then
7884 if test x"$enablestring" = xdisable; then
7891 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7892 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7893 # Check whether --enable-url was given.
7894 if test "${enable_url+set}" = set; then
7895 enableval=$enable_url;
7896 if test "$enableval" = yes; then
7897 wx_cv_use_url='wxUSE_URL=yes'
7899 wx_cv_use_url='wxUSE_URL=no'
7904 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7909 eval "$wx_cv_use_url"
7911 if test x
"$enablestring" = xdisable
; then
7912 if test $wxUSE_URL = yes; then
7921 { echo "$as_me:$LINENO: result: $result" >&5
7922 echo "${ECHO_T}$result" >&6; }
7926 defaultval
=$wxUSE_ALL_FEATURES
7927 if test -z "$defaultval"; then
7928 if test x
"$enablestring" = xdisable
; then
7935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7937 # Check whether --enable-protocol was given.
7938 if test "${enable_protocol+set}" = set; then
7939 enableval
=$enable_protocol;
7940 if test "$enableval" = yes; then
7941 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7943 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7948 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7953 eval "$wx_cv_use_protocol"
7955 if test x"$enablestring" = xdisable; then
7956 if test $wxUSE_PROTOCOL = yes; then
7962 result=$wxUSE_PROTOCOL
7965 { echo "$as_me:$LINENO: result: $result" >&5
7966 echo "${ECHO_T}$result" >&6; }
7970 defaultval=$wxUSE_ALL_FEATURES
7971 if test -z "$defaultval"; then
7972 if test x"$enablestring" = xdisable; then
7979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7980 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7981 # Check whether --enable-protocol_http was given.
7982 if test "${enable_protocol_http+set}" = set; then
7983 enableval=$enable_protocol_http;
7984 if test "$enableval" = yes; then
7985 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7987 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7992 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7997 eval "$wx_cv_use_protocol_http"
7999 if test x"$enablestring" = xdisable; then
8000 if test $wxUSE_PROTOCOL_HTTP = yes; then
8006 result=$wxUSE_PROTOCOL_HTTP
8009 { echo "$as_me:$LINENO: result
: $result" >&5
8010 echo "${ECHO_T}$result" >&6; }
8014 defaultval=$wxUSE_ALL_FEATURES
8015 if test -z "$defaultval"; then
8016 if test x"$enablestring" = xdisable; then
8023 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8024 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8025 # Check whether --enable-protocol_ftp was given.
8026 if test "${enable_protocol_ftp+set}" = set; then
8027 enableval=$enable_protocol_ftp;
8028 if test "$enableval" = yes; then
8029 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8031 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8036 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8041 eval "$wx_cv_use_protocol_ftp"
8043 if test x
"$enablestring" = xdisable
; then
8044 if test $wxUSE_PROTOCOL_FTP = yes; then
8050 result
=$wxUSE_PROTOCOL_FTP
8053 { echo "$as_me:$LINENO: result: $result" >&5
8054 echo "${ECHO_T}$result" >&6; }
8058 defaultval
=$wxUSE_ALL_FEATURES
8059 if test -z "$defaultval"; then
8060 if test x
"$enablestring" = xdisable
; then
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8069 # Check whether --enable-protocol_file was given.
8070 if test "${enable_protocol_file+set}" = set; then
8071 enableval
=$enable_protocol_file;
8072 if test "$enableval" = yes; then
8073 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8075 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8080 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8085 eval "$wx_cv_use_protocol_file"
8087 if test x"$enablestring" = xdisable; then
8088 if test $wxUSE_PROTOCOL_FILE = yes; then
8094 result=$wxUSE_PROTOCOL_FILE
8097 { echo "$as_me:$LINENO: result: $result" >&5
8098 echo "${ECHO_T}$result" >&6; }
8103 defaultval=$wxUSE_ALL_FEATURES
8104 if test -z "$defaultval"; then
8105 if test x"$enablestring" = xdisable; then
8112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8114 # Check whether --enable-threads was given.
8115 if test "${enable_threads+set}" = set; then
8116 enableval=$enable_threads;
8117 if test "$enableval" = yes; then
8118 wx_cv_use_threads='wxUSE_THREADS
=yes'
8120 wx_cv_use_threads='wxUSE_THREADS
=no
'
8125 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8130 eval "$wx_cv_use_threads"
8132 if test x"$enablestring" = xdisable; then
8133 if test $wxUSE_THREADS = yes; then
8139 result=$wxUSE_THREADS
8142 { echo "$as_me:$LINENO: result
: $result" >&5
8143 echo "${ECHO_T}$result" >&6; }
8149 if test -z "$defaultval"; then
8150 if test x"$enablestring" = xdisable; then
8157 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8158 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8159 # Check whether --enable-iniconf was given.
8160 if test "${enable_iniconf+set}" = set; then
8161 enableval=$enable_iniconf;
8162 if test "$enableval" = yes; then
8163 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8165 wx_cv_use_iniconf='wxUSE_INICONF=no'
8170 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8175 eval "$wx_cv_use_iniconf"
8177 if test x
"$enablestring" = xdisable
; then
8178 if test $wxUSE_INICONF = yes; then
8184 result
=$wxUSE_INICONF
8187 { echo "$as_me:$LINENO: result: $result" >&5
8188 echo "${ECHO_T}$result" >&6; }
8192 defaultval
=$wxUSE_ALL_FEATURES
8193 if test -z "$defaultval"; then
8194 if test x
"$enablestring" = xdisable
; then
8201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8203 # Check whether --enable-regkey was given.
8204 if test "${enable_regkey+set}" = set; then
8205 enableval
=$enable_regkey;
8206 if test "$enableval" = yes; then
8207 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8209 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8214 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8219 eval "$wx_cv_use_regkey"
8221 if test x"$enablestring" = xdisable; then
8222 if test $wxUSE_REGKEY = yes; then
8228 result=$wxUSE_REGKEY
8231 { echo "$as_me:$LINENO: result: $result" >&5
8232 echo "${ECHO_T}$result" >&6; }
8235 if test "$wxUSE_GUI" = "yes"; then
8240 defaultval=$wxUSE_ALL_FEATURES
8241 if test -z "$defaultval"; then
8242 if test x"$enablestring" = xdisable; then
8249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8250 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8251 # Check whether --enable-docview was given.
8252 if test "${enable_docview+set}" = set; then
8253 enableval=$enable_docview;
8254 if test "$enableval" = yes; then
8255 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8257 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8262 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8267 eval "$wx_cv_use_docview"
8269 if test x"$enablestring" = xdisable; then
8270 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8276 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8279 { echo "$as_me:$LINENO: result
: $result" >&5
8280 echo "${ECHO_T}$result" >&6; }
8284 defaultval=$wxUSE_ALL_FEATURES
8285 if test -z "$defaultval"; then
8286 if test x"$enablestring" = xdisable; then
8293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8294 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8295 # Check whether --enable-help was given.
8296 if test "${enable_help+set}" = set; then
8297 enableval=$enable_help;
8298 if test "$enableval" = yes; then
8299 wx_cv_use_help='wxUSE_HELP=yes'
8301 wx_cv_use_help='wxUSE_HELP=no'
8306 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8311 eval "$wx_cv_use_help"
8313 if test x
"$enablestring" = xdisable
; then
8314 if test $wxUSE_HELP = yes; then
8323 { echo "$as_me:$LINENO: result: $result" >&5
8324 echo "${ECHO_T}$result" >&6; }
8328 defaultval
=$wxUSE_ALL_FEATURES
8329 if test -z "$defaultval"; then
8330 if test x
"$enablestring" = xdisable
; then
8337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8339 # Check whether --enable-mshtmlhelp was given.
8340 if test "${enable_mshtmlhelp+set}" = set; then
8341 enableval
=$enable_mshtmlhelp;
8342 if test "$enableval" = yes; then
8343 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8345 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8350 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8355 eval "$wx_cv_use_mshtmlhelp"
8357 if test x"$enablestring" = xdisable; then
8358 if test $wxUSE_MS_HTML_HELP = yes; then
8364 result=$wxUSE_MS_HTML_HELP
8367 { echo "$as_me:$LINENO: result: $result" >&5
8368 echo "${ECHO_T}$result" >&6; }
8372 defaultval=$wxUSE_ALL_FEATURES
8373 if test -z "$defaultval"; then
8374 if test x"$enablestring" = xdisable; then
8381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8382 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8383 # Check whether --enable-html was given.
8384 if test "${enable_html+set}" = set; then
8385 enableval=$enable_html;
8386 if test "$enableval" = yes; then
8387 wx_cv_use_html='wxUSE_HTML
=yes'
8389 wx_cv_use_html='wxUSE_HTML
=no
'
8394 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8399 eval "$wx_cv_use_html"
8401 if test x"$enablestring" = xdisable; then
8402 if test $wxUSE_HTML = yes; then
8411 { echo "$as_me:$LINENO: result
: $result" >&5
8412 echo "${ECHO_T}$result" >&6; }
8416 defaultval=$wxUSE_ALL_FEATURES
8417 if test -z "$defaultval"; then
8418 if test x"$enablestring" = xdisable; then
8425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8426 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8427 # Check whether --enable-htmlhelp was given.
8428 if test "${enable_htmlhelp+set}" = set; then
8429 enableval=$enable_htmlhelp;
8430 if test "$enableval" = yes; then
8431 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8433 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8438 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8443 eval "$wx_cv_use_htmlhelp"
8445 if test x
"$enablestring" = xdisable
; then
8446 if test $wxUSE_WXHTML_HELP = yes; then
8452 result
=$wxUSE_WXHTML_HELP
8455 { echo "$as_me:$LINENO: result: $result" >&5
8456 echo "${ECHO_T}$result" >&6; }
8460 defaultval
=$wxUSE_ALL_FEATURES
8461 if test -z "$defaultval"; then
8462 if test x
"$enablestring" = xdisable
; then
8469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8471 # Check whether --enable-xrc was given.
8472 if test "${enable_xrc+set}" = set; then
8473 enableval
=$enable_xrc;
8474 if test "$enableval" = yes; then
8475 wx_cv_use_xrc
='wxUSE_XRC=yes'
8477 wx_cv_use_xrc
='wxUSE_XRC=no'
8482 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8487 eval "$wx_cv_use_xrc"
8489 if test x"$enablestring" = xdisable; then
8490 if test $wxUSE_XRC = yes; then
8499 { echo "$as_me:$LINENO: result: $result" >&5
8500 echo "${ECHO_T}$result" >&6; }
8504 defaultval=$wxUSE_ALL_FEATURES
8505 if test -z "$defaultval"; then
8506 if test x"$enablestring" = xdisable; then
8513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8514 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8515 # Check whether --enable-aui was given.
8516 if test "${enable_aui+set}" = set; then
8517 enableval=$enable_aui;
8518 if test "$enableval" = yes; then
8519 wx_cv_use_aui='wxUSE_AUI
=yes'
8521 wx_cv_use_aui='wxUSE_AUI
=no
'
8526 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8531 eval "$wx_cv_use_aui"
8533 if test x"$enablestring" = xdisable; then
8534 if test $wxUSE_AUI = yes; then
8543 { echo "$as_me:$LINENO: result
: $result" >&5
8544 echo "${ECHO_T}$result" >&6; }
8548 defaultval=$wxUSE_ALL_FEATURES
8549 if test -z "$defaultval"; then
8550 if test x"$enablestring" = xdisable; then
8557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8558 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8559 # Check whether --enable-propgrid was given.
8560 if test "${enable_propgrid+set}" = set; then
8561 enableval=$enable_propgrid;
8562 if test "$enableval" = yes; then
8563 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8565 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8570 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8575 eval "$wx_cv_use_propgrid"
8577 if test x
"$enablestring" = xdisable
; then
8578 if test $wxUSE_PROPGRID = yes; then
8584 result
=$wxUSE_PROPGRID
8587 { echo "$as_me:$LINENO: result: $result" >&5
8588 echo "${ECHO_T}$result" >&6; }
8592 defaultval
=$wxUSE_ALL_FEATURES
8593 if test -z "$defaultval"; then
8594 if test x
"$enablestring" = xdisable
; then
8601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8603 # Check whether --enable-stc was given.
8604 if test "${enable_stc+set}" = set; then
8605 enableval
=$enable_stc;
8606 if test "$enableval" = yes; then
8607 wx_cv_use_stc
='wxUSE_STC=yes'
8609 wx_cv_use_stc
='wxUSE_STC=no'
8614 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8619 eval "$wx_cv_use_stc"
8621 if test x"$enablestring" = xdisable; then
8622 if test $wxUSE_STC = yes; then
8631 { echo "$as_me:$LINENO: result: $result" >&5
8632 echo "${ECHO_T}$result" >&6; }
8636 defaultval=$wxUSE_ALL_FEATURES
8637 if test -z "$defaultval"; then
8638 if test x"$enablestring" = xdisable; then
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8647 # Check whether --enable-constraints was given.
8648 if test "${enable_constraints+set}" = set; then
8649 enableval=$enable_constraints;
8650 if test "$enableval" = yes; then
8651 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8653 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8658 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8663 eval "$wx_cv_use_constraints"
8665 if test x"$enablestring" = xdisable; then
8666 if test $wxUSE_CONSTRAINTS = yes; then
8672 result=$wxUSE_CONSTRAINTS
8675 { echo "$as_me:$LINENO: result
: $result" >&5
8676 echo "${ECHO_T}$result" >&6; }
8680 defaultval=$wxUSE_ALL_FEATURES
8681 if test -z "$defaultval"; then
8682 if test x"$enablestring" = xdisable; then
8689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8690 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8691 # Check whether --enable-loggui was given.
8692 if test "${enable_loggui+set}" = set; then
8693 enableval=$enable_loggui;
8694 if test "$enableval" = yes; then
8695 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8697 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8702 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8707 eval "$wx_cv_use_loggui"
8709 if test x
"$enablestring" = xdisable
; then
8710 if test $wxUSE_LOGGUI = yes; then
8716 result
=$wxUSE_LOGGUI
8719 { echo "$as_me:$LINENO: result: $result" >&5
8720 echo "${ECHO_T}$result" >&6; }
8724 defaultval
=$wxUSE_ALL_FEATURES
8725 if test -z "$defaultval"; then
8726 if test x
"$enablestring" = xdisable
; then
8733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8735 # Check whether --enable-logwin was given.
8736 if test "${enable_logwin+set}" = set; then
8737 enableval
=$enable_logwin;
8738 if test "$enableval" = yes; then
8739 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8741 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8746 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8751 eval "$wx_cv_use_logwin"
8753 if test x"$enablestring" = xdisable; then
8754 if test $wxUSE_LOGWINDOW = yes; then
8760 result=$wxUSE_LOGWINDOW
8763 { echo "$as_me:$LINENO: result: $result" >&5
8764 echo "${ECHO_T}$result" >&6; }
8768 defaultval=$wxUSE_ALL_FEATURES
8769 if test -z "$defaultval"; then
8770 if test x"$enablestring" = xdisable; then
8777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8779 # Check whether --enable-logdialog was given.
8780 if test "${enable_logdialog+set}" = set; then
8781 enableval=$enable_logdialog;
8782 if test "$enableval" = yes; then
8783 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8785 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8790 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8795 eval "$wx_cv_use_logdialog"
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_LOGDIALOG = yes; then
8804 result=$wxUSE_LOGDIALOG
8807 { echo "$as_me:$LINENO: result
: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8822 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8823 # Check whether --enable-mdi was given.
8824 if test "${enable_mdi+set}" = set; then
8825 enableval=$enable_mdi;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_mdi='wxUSE_MDI=yes'
8829 wx_cv_use_mdi='wxUSE_MDI=no'
8834 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8839 eval "$wx_cv_use_mdi"
8841 if test x
"$enablestring" = xdisable
; then
8842 if test $wxUSE_MDI = yes; then
8851 { echo "$as_me:$LINENO: result: $result" >&5
8852 echo "${ECHO_T}$result" >&6; }
8856 defaultval
=$wxUSE_ALL_FEATURES
8857 if test -z "$defaultval"; then
8858 if test x
"$enablestring" = xdisable
; then
8865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8866 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8867 # Check whether --enable-mdidoc was given.
8868 if test "${enable_mdidoc+set}" = set; then
8869 enableval
=$enable_mdidoc;
8870 if test "$enableval" = yes; then
8871 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8873 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8878 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8883 eval "$wx_cv_use_mdidoc"
8885 if test x"$enablestring" = xdisable; then
8886 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8892 result=$wxUSE_MDI_ARCHITECTURE
8895 { echo "$as_me:$LINENO: result: $result" >&5
8896 echo "${ECHO_T}$result" >&6; }
8900 defaultval=$wxUSE_ALL_FEATURES
8901 if test -z "$defaultval"; then
8902 if test x"$enablestring" = xdisable; then
8909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8910 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8911 # Check whether --enable-mediactrl was given.
8912 if test "${enable_mediactrl+set}" = set; then
8913 enableval=$enable_mediactrl;
8914 if test "$enableval" = yes; then
8915 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8917 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8922 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8927 eval "$wx_cv_use_mediactrl"
8929 if test x"$enablestring" = xdisable; then
8930 if test $wxUSE_MEDIACTRL = yes; then
8936 result=$wxUSE_MEDIACTRL
8939 { echo "$as_me:$LINENO: result
: $result" >&5
8940 echo "${ECHO_T}$result" >&6; }
8944 defaultval=$wxUSE_ALL_FEATURES
8945 if test -z "$defaultval"; then
8946 if test x"$enablestring" = xdisable; then
8953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8954 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8955 # Check whether --enable-gstreamer8 was given.
8956 if test "${enable_gstreamer8+set}" = set; then
8957 enableval=$enable_gstreamer8;
8958 if test "$enableval" = yes; then
8959 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8961 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8966 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8971 eval "$wx_cv_use_gstreamer8"
8973 if test x
"$enablestring" = xdisable
; then
8974 if test $wxUSE_GSTREAMER8 = yes; then
8980 result
=$wxUSE_GSTREAMER8
8983 { echo "$as_me:$LINENO: result: $result" >&5
8984 echo "${ECHO_T}$result" >&6; }
8988 defaultval
=$wxUSE_ALL_FEATURES
8989 if test -z "$defaultval"; then
8990 if test x
"$enablestring" = xdisable
; then
8997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8999 # Check whether --enable-webkit was given.
9000 if test "${enable_webkit+set}" = set; then
9001 enableval
=$enable_webkit;
9002 if test "$enableval" = yes; then
9003 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9005 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9010 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9015 eval "$wx_cv_use_webkit"
9017 if test x"$enablestring" = xdisable; then
9018 if test $wxUSE_WEBKIT = yes; then
9024 result=$wxUSE_WEBKIT
9027 { echo "$as_me:$LINENO: result: $result" >&5
9028 echo "${ECHO_T}$result" >&6; }
9032 defaultval=$wxUSE_ALL_FEATURES
9033 if test -z "$defaultval"; then
9034 if test x"$enablestring" = xdisable; then
9041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9043 # Check whether --enable-richtext was given.
9044 if test "${enable_richtext+set}" = set; then
9045 enableval=$enable_richtext;
9046 if test "$enableval" = yes; then
9047 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9049 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9054 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9059 eval "$wx_cv_use_richtext"
9061 if test x"$enablestring" = xdisable; then
9062 if test $wxUSE_RICHTEXT = yes; then
9068 result=$wxUSE_RICHTEXT
9071 { echo "$as_me:$LINENO: result
: $result" >&5
9072 echo "${ECHO_T}$result" >&6; }
9076 defaultval=$wxUSE_ALL_FEATURES
9077 if test -z "$defaultval"; then
9078 if test x"$enablestring" = xdisable; then
9085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9086 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9087 # Check whether --enable-graphics_ctx was given.
9088 if test "${enable_graphics_ctx+set}" = set; then
9089 enableval=$enable_graphics_ctx;
9090 if test "$enableval" = yes; then
9091 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9093 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9098 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9103 eval "$wx_cv_use_graphics_ctx"
9105 if test x
"$enablestring" = xdisable
; then
9106 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9112 result
=$wxUSE_GRAPHICS_CONTEXT
9115 { echo "$as_me:$LINENO: result: $result" >&5
9116 echo "${ECHO_T}$result" >&6; }
9120 defaultval
=$wxUSE_ALL_FEATURES
9121 if test -z "$defaultval"; then
9122 if test x
"$enablestring" = xdisable
; then
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9131 # Check whether --enable-postscript was given.
9132 if test "${enable_postscript+set}" = set; then
9133 enableval
=$enable_postscript;
9134 if test "$enableval" = yes; then
9135 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9137 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9142 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9147 eval "$wx_cv_use_postscript"
9149 if test x"$enablestring" = xdisable; then
9150 if test $wxUSE_POSTSCRIPT = yes; then
9156 result=$wxUSE_POSTSCRIPT
9159 { echo "$as_me:$LINENO: result: $result" >&5
9160 echo "${ECHO_T}$result" >&6; }
9164 defaultval=$wxUSE_ALL_FEATURES
9165 if test -z "$defaultval"; then
9166 if test x"$enablestring" = xdisable; then
9173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9174 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9175 # Check whether --enable-printarch was given.
9176 if test "${enable_printarch+set}" = set; then
9177 enableval=$enable_printarch;
9178 if test "$enableval" = yes; then
9179 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9181 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9186 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9191 eval "$wx_cv_use_printarch"
9193 if test x"$enablestring" = xdisable; then
9194 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9200 result=$wxUSE_PRINTING_ARCHITECTURE
9203 { echo "$as_me:$LINENO: result
: $result" >&5
9204 echo "${ECHO_T}$result" >&6; }
9208 defaultval=$wxUSE_ALL_FEATURES
9209 if test -z "$defaultval"; then
9210 if test x"$enablestring" = xdisable; then
9217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9218 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9219 # Check whether --enable-svg was given.
9220 if test "${enable_svg+set}" = set; then
9221 enableval=$enable_svg;
9222 if test "$enableval" = yes; then
9223 wx_cv_use_svg='wxUSE_SVG=yes'
9225 wx_cv_use_svg='wxUSE_SVG=no'
9230 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9235 eval "$wx_cv_use_svg"
9237 if test x
"$enablestring" = xdisable
; then
9238 if test $wxUSE_SVG = yes; then
9247 { echo "$as_me:$LINENO: result: $result" >&5
9248 echo "${ECHO_T}$result" >&6; }
9254 defaultval
=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x
"$enablestring" = xdisable
; then
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9265 # Check whether --enable-clipboard was given.
9266 if test "${enable_clipboard+set}" = set; then
9267 enableval
=$enable_clipboard;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9271 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9276 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9281 eval "$wx_cv_use_clipboard"
9283 if test x"$enablestring" = xdisable; then
9284 if test $wxUSE_CLIPBOARD = yes; then
9290 result=$wxUSE_CLIPBOARD
9293 { echo "$as_me:$LINENO: result: $result" >&5
9294 echo "${ECHO_T}$result" >&6; }
9298 defaultval=$wxUSE_ALL_FEATURES
9299 if test -z "$defaultval"; then
9300 if test x"$enablestring" = xdisable; then
9307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9309 # Check whether --enable-dnd was given.
9310 if test "${enable_dnd+set}" = set; then
9311 enableval=$enable_dnd;
9312 if test "$enableval" = yes; then
9313 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9315 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9320 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9325 eval "$wx_cv_use_dnd"
9327 if test x"$enablestring" = xdisable; then
9328 if test $wxUSE_DRAG_AND_DROP = yes; then
9334 result=$wxUSE_DRAG_AND_DROP
9337 { echo "$as_me:$LINENO: result
: $result" >&5
9338 echo "${ECHO_T}$result" >&6; }
9342 defaultval=$wxUSE_ALL_FEATURES
9343 if test -z "$defaultval"; then
9344 if test x"$enablestring" = xdisable; then
9351 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9352 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9353 # Check whether --enable-metafile was given.
9354 if test "${enable_metafile+set}" = set; then
9355 enableval=$enable_metafile;
9356 if test "$enableval" = yes; then
9357 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9359 wx_cv_use_metafile='wxUSE_METAFILE=no'
9364 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9369 eval "$wx_cv_use_metafile"
9371 if test x
"$enablestring" = xdisable
; then
9372 if test $wxUSE_METAFILE = yes; then
9378 result
=$wxUSE_METAFILE
9381 { echo "$as_me:$LINENO: result: $result" >&5
9382 echo "${ECHO_T}$result" >&6; }
9386 DEFAULT_wxUSE_CONTROLS
=none
9388 enablestring
=disable
9390 if test -z "$defaultval"; then
9391 if test x
"$enablestring" = xdisable
; then
9398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9399 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9400 # Check whether --enable-controls was given.
9401 if test "${enable_controls+set}" = set; then
9402 enableval
=$enable_controls;
9403 if test "$enableval" = yes; then
9404 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9406 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9411 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9416 eval "$wx_cv_use_controls"
9418 if test x"$enablestring" = xdisable; then
9419 if test $wxUSE_CONTROLS = yes; then
9425 result=$wxUSE_CONTROLS
9428 { echo "$as_me:$LINENO: result: $result" >&5
9429 echo "${ECHO_T}$result" >&6; }
9432 if test "$wxUSE_CONTROLS" = "no"; then
9433 DEFAULT_wxUSE_ACCEL=no
9434 DEFAULT_wxUSE_ANIMATIONCTRL=no
9435 DEFAULT_wxUSE_BMPBUTTON=no
9436 DEFAULT_wxUSE_BUTTON=no
9437 DEFAULT_wxUSE_CALCTRL=no
9438 DEFAULT_wxUSE_CARET=no
9439 DEFAULT_wxUSE_CHECKBOX=no
9440 DEFAULT_wxUSE_CHECKLISTBOX=no
9441 DEFAULT_wxUSE_CHOICE=no
9442 DEFAULT_wxUSE_CHOICEBOOK=no
9443 DEFAULT_wxUSE_COLLPANE=no
9444 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9445 DEFAULT_wxUSE_COMBOBOX=no
9446 DEFAULT_wxUSE_COMBOBOX=no
9447 DEFAULT_wxUSE_DATAVIEWCTRL=no
9448 DEFAULT_wxUSE_DATEPICKCTRL=no
9449 DEFAULT_wxUSE_DETECT_SM=no
9450 DEFAULT_wxUSE_DIRPICKERCTRL=no
9451 DEFAULT_wxUSE_DISPLAY=no
9452 DEFAULT_wxUSE_FILECTRL=no
9453 DEFAULT_wxUSE_FILEPICKERCTRL=no
9454 DEFAULT_wxUSE_FONTPICKERCTRL=no
9455 DEFAULT_wxUSE_GAUGE=no
9456 DEFAULT_wxUSE_GRID=no
9457 DEFAULT_wxUSE_HEADERCTRL=no
9458 DEFAULT_wxUSE_HYPERLINKCTRL=no
9459 DEFAULT_wxUSE_IMAGLIST=no
9460 DEFAULT_wxUSE_LISTBOOK=no
9461 DEFAULT_wxUSE_LISTBOX=no
9462 DEFAULT_wxUSE_LISTCTRL=no
9463 DEFAULT_wxUSE_NOTEBOOK=no
9464 DEFAULT_wxUSE_POPUPWIN=no
9465 DEFAULT_wxUSE_RADIOBOX=no
9466 DEFAULT_wxUSE_RADIOBTN=no
9467 DEFAULT_wxUSE_REARRANGECTRL=no
9468 DEFAULT_wxUSE_SASH=no
9469 DEFAULT_wxUSE_SCROLLBAR=no
9470 DEFAULT_wxUSE_SEARCHCTRL=no
9471 DEFAULT_wxUSE_SLIDER=no
9472 DEFAULT_wxUSE_SPINBTN=no
9473 DEFAULT_wxUSE_SPINCTRL=no
9474 DEFAULT_wxUSE_SPLITTER=no
9475 DEFAULT_wxUSE_STATBMP=no
9476 DEFAULT_wxUSE_STATBOX=no
9477 DEFAULT_wxUSE_STATLINE=no
9478 DEFAULT_wxUSE_STATUSBAR=no
9479 DEFAULT_wxUSE_TIPWINDOW=no
9480 DEFAULT_wxUSE_TOGGLEBTN=no
9481 DEFAULT_wxUSE_TOOLBAR=no
9482 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9483 DEFAULT_wxUSE_TOOLBOOK=no
9484 DEFAULT_wxUSE_TOOLTIPS=no
9485 DEFAULT_wxUSE_TREEBOOK=no
9486 DEFAULT_wxUSE_TREECTRL=no
9491 defaultval=$wxUSE_ALL_FEATURES
9492 if test -z "$defaultval"; then
9493 if test x"$enablestring" = xdisable; then
9500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9501 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9502 # Check whether --enable-accel was given.
9503 if test "${enable_accel+set}" = set; then
9504 enableval=$enable_accel;
9505 if test "$enableval" = yes; then
9506 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9508 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9513 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9518 eval "$wx_cv_use_accel"
9520 if test x"$enablestring" = xdisable; then
9521 if test $wxUSE_ACCEL = yes; then
9530 { echo "$as_me:$LINENO: result
: $result" >&5
9531 echo "${ECHO_T}$result" >&6; }
9535 defaultval=$wxUSE_ALL_FEATURES
9536 if test -z "$defaultval"; then
9537 if test x"$enablestring" = xdisable; then
9544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9545 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9546 # Check whether --enable-animatectrl was given.
9547 if test "${enable_animatectrl+set}" = set; then
9548 enableval=$enable_animatectrl;
9549 if test "$enableval" = yes; then
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9552 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9557 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9562 eval "$wx_cv_use_animatectrl"
9564 if test x
"$enablestring" = xdisable
; then
9565 if test $wxUSE_ANIMATIONCTRL = yes; then
9571 result
=$wxUSE_ANIMATIONCTRL
9574 { echo "$as_me:$LINENO: result: $result" >&5
9575 echo "${ECHO_T}$result" >&6; }
9579 defaultval
=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x
"$enablestring" = xdisable
; then
9588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9590 # Check whether --enable-bmpbutton was given.
9591 if test "${enable_bmpbutton+set}" = set; then
9592 enableval
=$enable_bmpbutton;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9596 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9601 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9606 eval "$wx_cv_use_bmpbutton"
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_BMPBUTTON = yes; then
9615 result=$wxUSE_BMPBUTTON
9618 { echo "$as_me:$LINENO: result: $result" >&5
9619 echo "${ECHO_T}$result" >&6; }
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9634 # Check whether --enable-bmpcombobox was given.
9635 if test "${enable_bmpcombobox+set}" = set; then
9636 enableval=$enable_bmpcombobox;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9640 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9645 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9650 eval "$wx_cv_use_bmpcombobox"
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9659 result=$wxUSE_BITMAPCOMBOBOX
9662 { echo "$as_me:$LINENO: result
: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9676 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9677 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9678 # Check whether --enable-button was given.
9679 if test "${enable_button+set}" = set; then
9680 enableval=$enable_button;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_button='wxUSE_BUTTON=yes'
9684 wx_cv_use_button='wxUSE_BUTTON=no'
9689 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9694 eval "$wx_cv_use_button"
9696 if test x
"$enablestring" = xdisable
; then
9697 if test $wxUSE_BUTTON = yes; then
9703 result
=$wxUSE_BUTTON
9706 { echo "$as_me:$LINENO: result: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9711 defaultval
=$wxUSE_ALL_FEATURES
9712 if test -z "$defaultval"; then
9713 if test x
"$enablestring" = xdisable
; then
9720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9722 # Check whether --enable-calendar was given.
9723 if test "${enable_calendar+set}" = set; then
9724 enableval
=$enable_calendar;
9725 if test "$enableval" = yes; then
9726 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9728 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9733 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9738 eval "$wx_cv_use_calendar"
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_CALCTRL = yes; then
9747 result=$wxUSE_CALCTRL
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9755 defaultval=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x"$enablestring" = xdisable; then
9764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9766 # Check whether --enable-caret was given.
9767 if test "${enable_caret+set}" = set; then
9768 enableval=$enable_caret;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_caret='wxUSE_CARET
=yes'
9772 wx_cv_use_caret='wxUSE_CARET
=no
'
9777 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9782 eval "$wx_cv_use_caret"
9784 if test x"$enablestring" = xdisable; then
9785 if test $wxUSE_CARET = yes; then
9794 { echo "$as_me:$LINENO: result
: $result" >&5
9795 echo "${ECHO_T}$result" >&6; }
9799 defaultval=$wxUSE_ALL_FEATURES
9800 if test -z "$defaultval"; then
9801 if test x"$enablestring" = xdisable; then
9808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9809 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9810 # Check whether --enable-checkbox was given.
9811 if test "${enable_checkbox+set}" = set; then
9812 enableval=$enable_checkbox;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9816 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9821 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9826 eval "$wx_cv_use_checkbox"
9828 if test x
"$enablestring" = xdisable
; then
9829 if test $wxUSE_CHECKBOX = yes; then
9835 result
=$wxUSE_CHECKBOX
9838 { echo "$as_me:$LINENO: result: $result" >&5
9839 echo "${ECHO_T}$result" >&6; }
9843 defaultval
=$wxUSE_ALL_FEATURES
9844 if test -z "$defaultval"; then
9845 if test x
"$enablestring" = xdisable
; then
9852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9854 # Check whether --enable-checklst was given.
9855 if test "${enable_checklst+set}" = set; then
9856 enableval
=$enable_checklst;
9857 if test "$enableval" = yes; then
9858 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9860 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9865 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9870 eval "$wx_cv_use_checklst"
9872 if test x"$enablestring" = xdisable; then
9873 if test $wxUSE_CHECKLST = yes; then
9879 result=$wxUSE_CHECKLST
9882 { echo "$as_me:$LINENO: result: $result" >&5
9883 echo "${ECHO_T}$result" >&6; }
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9898 # Check whether --enable-choice was given.
9899 if test "${enable_choice+set}" = set; then
9900 enableval=$enable_choice;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9904 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9909 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9914 eval "$wx_cv_use_choice"
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_CHOICE = yes; then
9923 result=$wxUSE_CHOICE
9926 { echo "$as_me:$LINENO: result
: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9941 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9942 # Check whether --enable-choicebook was given.
9943 if test "${enable_choicebook+set}" = set; then
9944 enableval=$enable_choicebook;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9948 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9953 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9958 eval "$wx_cv_use_choicebook"
9960 if test x
"$enablestring" = xdisable
; then
9961 if test $wxUSE_CHOICEBOOK = yes; then
9967 result
=$wxUSE_CHOICEBOOK
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9975 defaultval
=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x
"$enablestring" = xdisable
; then
9984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9985 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9986 # Check whether --enable-collpane was given.
9987 if test "${enable_collpane+set}" = set; then
9988 enableval
=$enable_collpane;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9992 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9997 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10002 eval "$wx_cv_use_collpane"
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_COLLPANE = yes; then
10011 result=$wxUSE_COLLPANE
10014 { echo "$as_me:$LINENO: result: $result" >&5
10015 echo "${ECHO_T}$result" >&6; }
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10030 # Check whether --enable-colourpicker was given.
10031 if test "${enable_colourpicker+set}" = set; then
10032 enableval=$enable_colourpicker;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10036 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10041 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10046 eval "$wx_cv_use_colourpicker"
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_COLOURPICKERCTRL = yes; then
10055 result=$wxUSE_COLOURPICKERCTRL
10058 { echo "$as_me:$LINENO: result
: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10073 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10074 # Check whether --enable-combobox was given.
10075 if test "${enable_combobox+set}" = set; then
10076 enableval=$enable_combobox;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10080 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10085 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10090 eval "$wx_cv_use_combobox"
10092 if test x
"$enablestring" = xdisable
; then
10093 if test $wxUSE_COMBOBOX = yes; then
10099 result
=$wxUSE_COMBOBOX
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10107 defaultval
=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x
"$enablestring" = xdisable
; then
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10118 # Check whether --enable-comboctrl was given.
10119 if test "${enable_comboctrl+set}" = set; then
10120 enableval
=$enable_comboctrl;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10124 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10129 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10134 eval "$wx_cv_use_comboctrl"
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_COMBOCTRL = yes; then
10143 result=$wxUSE_COMBOCTRL
10146 { echo "$as_me:$LINENO: result: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10162 # Check whether --enable-dataviewctrl was given.
10163 if test "${enable_dataviewctrl+set}" = set; then
10164 enableval=$enable_dataviewctrl;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10168 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10173 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10178 eval "$wx_cv_use_dataviewctrl"
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_DATAVIEWCTRL = yes; then
10187 result=$wxUSE_DATAVIEWCTRL
10190 { echo "$as_me:$LINENO: result
: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10205 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10206 # Check whether --enable-datepick was given.
10207 if test "${enable_datepick+set}" = set; then
10208 enableval=$enable_datepick;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10212 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10217 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10222 eval "$wx_cv_use_datepick"
10224 if test x
"$enablestring" = xdisable
; then
10225 if test $wxUSE_DATEPICKCTRL = yes; then
10231 result
=$wxUSE_DATEPICKCTRL
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10239 defaultval
=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x
"$enablestring" = xdisable
; then
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10250 # Check whether --enable-detect_sm was given.
10251 if test "${enable_detect_sm+set}" = set; then
10252 enableval
=$enable_detect_sm;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10256 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10261 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10266 eval "$wx_cv_use_detect_sm"
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_DETECT_SM = yes; then
10275 result=$wxUSE_DETECT_SM
10278 { echo "$as_me:$LINENO: result: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10294 # Check whether --enable-dirpicker was given.
10295 if test "${enable_dirpicker+set}" = set; then
10296 enableval=$enable_dirpicker;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10300 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10305 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10310 eval "$wx_cv_use_dirpicker"
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_DIRPICKERCTRL = yes; then
10319 result=$wxUSE_DIRPICKERCTRL
10322 { echo "$as_me:$LINENO: result
: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10336 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10337 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10338 # Check whether --enable-display was given.
10339 if test "${enable_display+set}" = set; then
10340 enableval=$enable_display;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_display='wxUSE_DISPLAY=yes'
10344 wx_cv_use_display='wxUSE_DISPLAY=no'
10349 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10354 eval "$wx_cv_use_display"
10356 if test x
"$enablestring" = xdisable
; then
10357 if test $wxUSE_DISPLAY = yes; then
10363 result
=$wxUSE_DISPLAY
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10371 defaultval
=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x
"$enablestring" = xdisable
; then
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10382 # Check whether --enable-editablebox was given.
10383 if test "${enable_editablebox+set}" = set; then
10384 enableval
=$enable_editablebox;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10388 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10393 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10398 eval "$wx_cv_use_editablebox"
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_EDITABLELISTBOX = yes; then
10407 result=$wxUSE_EDITABLELISTBOX
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10426 # Check whether --enable-filectrl was given.
10427 if test "${enable_filectrl+set}" = set; then
10428 enableval=$enable_filectrl;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10432 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10437 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10442 eval "$wx_cv_use_filectrl"
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_FILECTRL = yes; then
10451 result=$wxUSE_FILECTRL
10454 { echo "$as_me:$LINENO: result
: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10468 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10469 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10470 # Check whether --enable-filepicker was given.
10471 if test "${enable_filepicker+set}" = set; then
10472 enableval=$enable_filepicker;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10476 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10481 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10486 eval "$wx_cv_use_filepicker"
10488 if test x
"$enablestring" = xdisable
; then
10489 if test $wxUSE_FILEPICKERCTRL = yes; then
10495 result
=$wxUSE_FILEPICKERCTRL
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10503 defaultval
=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x
"$enablestring" = xdisable
; then
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10514 # Check whether --enable-fontpicker was given.
10515 if test "${enable_fontpicker+set}" = set; then
10516 enableval
=$enable_fontpicker;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10520 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10525 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10530 eval "$wx_cv_use_fontpicker"
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_FONTPICKERCTRL = yes; then
10539 result=$wxUSE_FONTPICKERCTRL
10542 { echo "$as_me:$LINENO: result: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10558 # Check whether --enable-gauge was given.
10559 if test "${enable_gauge+set}" = set; then
10560 enableval=$enable_gauge;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10564 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10569 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10574 eval "$wx_cv_use_gauge"
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_GAUGE = yes; then
10583 result=$wxUSE_GAUGE
10586 { echo "$as_me:$LINENO: result
: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10600 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10601 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10602 # Check whether --enable-grid was given.
10603 if test "${enable_grid+set}" = set; then
10604 enableval=$enable_grid;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_grid='wxUSE_GRID=yes'
10608 wx_cv_use_grid='wxUSE_GRID=no'
10613 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10618 eval "$wx_cv_use_grid"
10620 if test x
"$enablestring" = xdisable
; then
10621 if test $wxUSE_GRID = yes; then
10630 { echo "$as_me:$LINENO: result: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10635 defaultval
=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x
"$enablestring" = xdisable
; then
10644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10646 # Check whether --enable-headerctrl was given.
10647 if test "${enable_headerctrl+set}" = set; then
10648 enableval
=$enable_headerctrl;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10652 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10657 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10662 eval "$wx_cv_use_headerctrl"
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_HEADERCTRL = yes; then
10671 result=$wxUSE_HEADERCTRL
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10690 # Check whether --enable-hyperlink was given.
10691 if test "${enable_hyperlink+set}" = set; then
10692 enableval=$enable_hyperlink;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10696 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10701 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10706 eval "$wx_cv_use_hyperlink"
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_HYPERLINKCTRL = yes; then
10715 result=$wxUSE_HYPERLINKCTRL
10718 { echo "$as_me:$LINENO: result
: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10733 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10734 # Check whether --enable-imaglist was given.
10735 if test "${enable_imaglist+set}" = set; then
10736 enableval=$enable_imaglist;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10740 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10745 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10750 eval "$wx_cv_use_imaglist"
10752 if test x
"$enablestring" = xdisable
; then
10753 if test $wxUSE_IMAGLIST = yes; then
10759 result
=$wxUSE_IMAGLIST
10762 { echo "$as_me:$LINENO: result: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10767 defaultval
=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x
"$enablestring" = xdisable
; then
10776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10778 # Check whether --enable-listbook was given.
10779 if test "${enable_listbook+set}" = set; then
10780 enableval
=$enable_listbook;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10784 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10789 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10794 eval "$wx_cv_use_listbook"
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_LISTBOOK = yes; then
10803 result=$wxUSE_LISTBOOK
10806 { echo "$as_me:$LINENO: result: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10822 # Check whether --enable-listbox was given.
10823 if test "${enable_listbox+set}" = set; then
10824 enableval=$enable_listbox;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10828 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10833 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10838 eval "$wx_cv_use_listbox"
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_LISTBOX = yes; then
10847 result=$wxUSE_LISTBOX
10850 { echo "$as_me:$LINENO: result
: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10864 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10865 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10866 # Check whether --enable-listctrl was given.
10867 if test "${enable_listctrl+set}" = set; then
10868 enableval=$enable_listctrl;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10872 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10877 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10882 eval "$wx_cv_use_listctrl"
10884 if test x
"$enablestring" = xdisable
; then
10885 if test $wxUSE_LISTCTRL = yes; then
10891 result
=$wxUSE_LISTCTRL
10894 { echo "$as_me:$LINENO: result: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10899 defaultval
=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x
"$enablestring" = xdisable
; then
10908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10909 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10910 # Check whether --enable-notebook was given.
10911 if test "${enable_notebook+set}" = set; then
10912 enableval
=$enable_notebook;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10916 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10921 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10926 eval "$wx_cv_use_notebook"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_NOTEBOOK = yes; then
10935 result=$wxUSE_NOTEBOOK
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10954 # Check whether --enable-notifmsg was given.
10955 if test "${enable_notifmsg+set}" = set; then
10956 enableval=$enable_notifmsg;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10960 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10965 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10970 eval "$wx_cv_use_notifmsg"
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10979 result=$wxUSE_NOTIFICATION_MESSAGE
10982 { echo "$as_me:$LINENO: result
: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10996 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10997 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10998 # Check whether --enable-odcombobox was given.
10999 if test "${enable_odcombobox+set}" = set; then
11000 enableval=$enable_odcombobox;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11004 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11009 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11014 eval "$wx_cv_use_odcombobox"
11016 if test x
"$enablestring" = xdisable
; then
11017 if test $wxUSE_ODCOMBOBOX = yes; then
11023 result
=$wxUSE_ODCOMBOBOX
11026 { echo "$as_me:$LINENO: result: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11031 defaultval
=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x
"$enablestring" = xdisable
; then
11040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11042 # Check whether --enable-popupwin was given.
11043 if test "${enable_popupwin+set}" = set; then
11044 enableval
=$enable_popupwin;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11048 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11053 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11058 eval "$wx_cv_use_popupwin"
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_POPUPWIN = yes; then
11067 result=$wxUSE_POPUPWIN
11070 { echo "$as_me:$LINENO: result: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11086 # Check whether --enable-radiobox was given.
11087 if test "${enable_radiobox+set}" = set; then
11088 enableval=$enable_radiobox;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11092 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11097 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11102 eval "$wx_cv_use_radiobox"
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_RADIOBOX = yes; then
11111 result=$wxUSE_RADIOBOX
11114 { echo "$as_me:$LINENO: result
: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11128 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11129 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11130 # Check whether --enable-radiobtn was given.
11131 if test "${enable_radiobtn+set}" = set; then
11132 enableval=$enable_radiobtn;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11136 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11141 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11146 eval "$wx_cv_use_radiobtn"
11148 if test x
"$enablestring" = xdisable
; then
11149 if test $wxUSE_RADIOBTN = yes; then
11155 result
=$wxUSE_RADIOBTN
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval
=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x
"$enablestring" = xdisable
; then
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11174 # Check whether --enable-rearrangectrl was given.
11175 if test "${enable_rearrangectrl+set}" = set; then
11176 enableval
=$enable_rearrangectrl;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11180 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11185 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11190 eval "$wx_cv_use_rearrangectrl"
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_REARRANGECTRL = yes; then
11199 result=$wxUSE_REARRANGECTRL
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11218 # Check whether --enable-sash was given.
11219 if test "${enable_sash+set}" = set; then
11220 enableval=$enable_sash;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_sash='wxUSE_SASH
=yes'
11224 wx_cv_use_sash='wxUSE_SASH
=no
'
11229 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11234 eval "$wx_cv_use_sash"
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_SASH = yes; then
11246 { echo "$as_me:$LINENO: result
: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11261 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11262 # Check whether --enable-scrollbar was given.
11263 if test "${enable_scrollbar+set}" = set; then
11264 enableval=$enable_scrollbar;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11268 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11273 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11278 eval "$wx_cv_use_scrollbar"
11280 if test x
"$enablestring" = xdisable
; then
11281 if test $wxUSE_SCROLLBAR = yes; then
11287 result
=$wxUSE_SCROLLBAR
11290 { echo "$as_me:$LINENO: result: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11295 defaultval
=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x
"$enablestring" = xdisable
; then
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11306 # Check whether --enable-searchctrl was given.
11307 if test "${enable_searchctrl+set}" = set; then
11308 enableval
=$enable_searchctrl;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11312 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11317 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11322 eval "$wx_cv_use_searchctrl"
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_SEARCHCTRL = yes; then
11331 result=$wxUSE_SEARCHCTRL
11334 { echo "$as_me:$LINENO: result: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11349 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11350 # Check whether --enable-slider was given.
11351 if test "${enable_slider+set}" = set; then
11352 enableval=$enable_slider;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11356 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11361 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11366 eval "$wx_cv_use_slider"
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_SLIDER = yes; then
11375 result=$wxUSE_SLIDER
11378 { echo "$as_me:$LINENO: result
: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11393 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11394 # Check whether --enable-spinbtn was given.
11395 if test "${enable_spinbtn+set}" = set; then
11396 enableval=$enable_spinbtn;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11400 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11405 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11410 eval "$wx_cv_use_spinbtn"
11412 if test x
"$enablestring" = xdisable
; then
11413 if test $wxUSE_SPINBTN = yes; then
11419 result
=$wxUSE_SPINBTN
11422 { echo "$as_me:$LINENO: result: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11427 defaultval
=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x
"$enablestring" = xdisable
; then
11436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11437 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11438 # Check whether --enable-spinctrl was given.
11439 if test "${enable_spinctrl+set}" = set; then
11440 enableval
=$enable_spinctrl;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11444 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11449 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11454 eval "$wx_cv_use_spinctrl"
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_SPINCTRL = yes; then
11463 result=$wxUSE_SPINCTRL
11466 { echo "$as_me:$LINENO: result: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11482 # Check whether --enable-splitter was given.
11483 if test "${enable_splitter+set}" = set; then
11484 enableval=$enable_splitter;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11488 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11493 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11498 eval "$wx_cv_use_splitter"
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_SPLITTER = yes; then
11507 result=$wxUSE_SPLITTER
11510 { echo "$as_me:$LINENO: result
: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11525 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11526 # Check whether --enable-statbmp was given.
11527 if test "${enable_statbmp+set}" = set; then
11528 enableval=$enable_statbmp;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11532 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11537 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11542 eval "$wx_cv_use_statbmp"
11544 if test x
"$enablestring" = xdisable
; then
11545 if test $wxUSE_STATBMP = yes; then
11551 result
=$wxUSE_STATBMP
11554 { echo "$as_me:$LINENO: result: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11559 defaultval
=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x
"$enablestring" = xdisable
; then
11568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11570 # Check whether --enable-statbox was given.
11571 if test "${enable_statbox+set}" = set; then
11572 enableval
=$enable_statbox;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11576 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11581 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11586 eval "$wx_cv_use_statbox"
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_STATBOX = yes; then
11595 result=$wxUSE_STATBOX
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11614 # Check whether --enable-statline was given.
11615 if test "${enable_statline+set}" = set; then
11616 enableval=$enable_statline;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11620 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11625 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11630 eval "$wx_cv_use_statline"
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_STATLINE = yes; then
11639 result=$wxUSE_STATLINE
11642 { echo "$as_me:$LINENO: result
: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11656 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11657 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11658 # Check whether --enable-stattext was given.
11659 if test "${enable_stattext+set}" = set; then
11660 enableval=$enable_stattext;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11664 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11669 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11674 eval "$wx_cv_use_stattext"
11676 if test x
"$enablestring" = xdisable
; then
11677 if test $wxUSE_STATTEXT = yes; then
11683 result
=$wxUSE_STATTEXT
11686 { echo "$as_me:$LINENO: result: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11691 defaultval
=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x
"$enablestring" = xdisable
; then
11700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11702 # Check whether --enable-statusbar was given.
11703 if test "${enable_statusbar+set}" = set; then
11704 enableval
=$enable_statusbar;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11708 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11713 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11718 eval "$wx_cv_use_statusbar"
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_STATUSBAR = yes; then
11727 result=$wxUSE_STATUSBAR
11730 { echo "$as_me:$LINENO: result: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11745 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11746 # Check whether --enable-taskbaricon was given.
11747 if test "${enable_taskbaricon+set}" = set; then
11748 enableval=$enable_taskbaricon;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11752 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11757 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11762 eval "$wx_cv_use_taskbaricon"
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_TASKBARICON = yes; then
11771 result=$wxUSE_TASKBARICON
11774 { echo "$as_me:$LINENO: result
: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11788 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11789 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11790 # Check whether --enable-tbarnative was given.
11791 if test "${enable_tbarnative+set}" = set; then
11792 enableval=$enable_tbarnative;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11796 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11801 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11806 eval "$wx_cv_use_tbarnative"
11808 if test x
"$enablestring" = xdisable
; then
11809 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11815 result
=$wxUSE_TOOLBAR_NATIVE
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11823 defaultval
=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x
"$enablestring" = xdisable
; then
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11834 # Check whether --enable-textctrl was given.
11835 if test "${enable_textctrl+set}" = set; then
11836 enableval
=$enable_textctrl;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11840 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11845 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11850 eval "$wx_cv_use_textctrl"
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_TEXTCTRL = yes; then
11859 result=$wxUSE_TEXTCTRL
11862 { echo "$as_me:$LINENO: result: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11877 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11878 # Check whether --enable-tipwindow was given.
11879 if test "${enable_tipwindow+set}" = set; then
11880 enableval=$enable_tipwindow;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11884 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11889 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11894 eval "$wx_cv_use_tipwindow"
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_TIPWINDOW = yes; then
11903 result=$wxUSE_TIPWINDOW
11906 { echo "$as_me:$LINENO: result
: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11920 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11921 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11922 # Check whether --enable-togglebtn was given.
11923 if test "${enable_togglebtn+set}" = set; then
11924 enableval=$enable_togglebtn;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11928 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11933 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11938 eval "$wx_cv_use_togglebtn"
11940 if test x
"$enablestring" = xdisable
; then
11941 if test $wxUSE_TOGGLEBTN = yes; then
11947 result
=$wxUSE_TOGGLEBTN
11950 { echo "$as_me:$LINENO: result: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11955 defaultval
=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x
"$enablestring" = xdisable
; then
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11966 # Check whether --enable-toolbar was given.
11967 if test "${enable_toolbar+set}" = set; then
11968 enableval
=$enable_toolbar;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11972 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11977 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11982 eval "$wx_cv_use_toolbar"
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_TOOLBAR = yes; then
11991 result=$wxUSE_TOOLBAR
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12010 # Check whether --enable-toolbook was given.
12011 if test "${enable_toolbook+set}" = set; then
12012 enableval=$enable_toolbook;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12016 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12021 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12026 eval "$wx_cv_use_toolbook"
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_TOOLBOOK = yes; then
12035 result=$wxUSE_TOOLBOOK
12038 { echo "$as_me:$LINENO: result
: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12053 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12054 # Check whether --enable-treebook was given.
12055 if test "${enable_treebook+set}" = set; then
12056 enableval=$enable_treebook;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12060 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12065 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12070 eval "$wx_cv_use_treebook"
12072 if test x
"$enablestring" = xdisable
; then
12073 if test $wxUSE_TREEBOOK = yes; then
12079 result
=$wxUSE_TREEBOOK
12082 { echo "$as_me:$LINENO: result: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12087 defaultval
=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x
"$enablestring" = xdisable
; then
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12098 # Check whether --enable-treectrl was given.
12099 if test "${enable_treectrl+set}" = set; then
12100 enableval
=$enable_treectrl;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12104 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12109 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12114 eval "$wx_cv_use_treectrl"
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_TREECTRL = yes; then
12123 result=$wxUSE_TREECTRL
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12133 defaultval=$wxUSE_ALL_FEATURES
12134 if test -z "$defaultval"; then
12135 if test x"$enablestring" = xdisable; then
12142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12143 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12144 # Check whether --enable-commondlg was given.
12145 if test "${enable_commondlg+set}" = set; then
12146 enableval=$enable_commondlg;
12147 if test "$enableval" = yes; then
12148 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12150 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12155 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12160 eval "$wx_cv_use_commondlg"
12162 if test x"$enablestring" = xdisable; then
12163 if test $wxUSE_COMMONDLGS = yes; then
12169 result=$wxUSE_COMMONDLGS
12172 { echo "$as_me:$LINENO: result
: $result" >&5
12173 echo "${ECHO_T}$result" >&6; }
12177 defaultval=$wxUSE_ALL_FEATURES
12178 if test -z "$defaultval"; then
12179 if test x"$enablestring" = xdisable; then
12186 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12187 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12188 # Check whether --enable-aboutdlg was given.
12189 if test "${enable_aboutdlg+set}" = set; then
12190 enableval=$enable_aboutdlg;
12191 if test "$enableval" = yes; then
12192 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12194 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12199 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12204 eval "$wx_cv_use_aboutdlg"
12206 if test x
"$enablestring" = xdisable
; then
12207 if test $wxUSE_ABOUTDLG = yes; then
12213 result
=$wxUSE_ABOUTDLG
12216 { echo "$as_me:$LINENO: result: $result" >&5
12217 echo "${ECHO_T}$result" >&6; }
12221 defaultval
=$wxUSE_ALL_FEATURES
12222 if test -z "$defaultval"; then
12223 if test x
"$enablestring" = xdisable
; then
12230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12231 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12232 # Check whether --enable-choicedlg was given.
12233 if test "${enable_choicedlg+set}" = set; then
12234 enableval
=$enable_choicedlg;
12235 if test "$enableval" = yes; then
12236 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12238 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12243 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12248 eval "$wx_cv_use_choicedlg"
12250 if test x"$enablestring" = xdisable; then
12251 if test $wxUSE_CHOICEDLG = yes; then
12257 result=$wxUSE_CHOICEDLG
12260 { echo "$as_me:$LINENO: result: $result" >&5
12261 echo "${ECHO_T}$result" >&6; }
12265 defaultval=$wxUSE_ALL_FEATURES
12266 if test -z "$defaultval"; then
12267 if test x"$enablestring" = xdisable; then
12274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12275 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12276 # Check whether --enable-coldlg was given.
12277 if test "${enable_coldlg+set}" = set; then
12278 enableval=$enable_coldlg;
12279 if test "$enableval" = yes; then
12280 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12282 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12287 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12292 eval "$wx_cv_use_coldlg"
12294 if test x"$enablestring" = xdisable; then
12295 if test $wxUSE_COLOURDLG = yes; then
12301 result=$wxUSE_COLOURDLG
12304 { echo "$as_me:$LINENO: result
: $result" >&5
12305 echo "${ECHO_T}$result" >&6; }
12309 defaultval=$wxUSE_ALL_FEATURES
12310 if test -z "$defaultval"; then
12311 if test x"$enablestring" = xdisable; then
12318 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12319 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12320 # Check whether --enable-filedlg was given.
12321 if test "${enable_filedlg+set}" = set; then
12322 enableval=$enable_filedlg;
12323 if test "$enableval" = yes; then
12324 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12326 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12331 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12336 eval "$wx_cv_use_filedlg"
12338 if test x
"$enablestring" = xdisable
; then
12339 if test $wxUSE_FILEDLG = yes; then
12345 result
=$wxUSE_FILEDLG
12348 { echo "$as_me:$LINENO: result: $result" >&5
12349 echo "${ECHO_T}$result" >&6; }
12353 defaultval
=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x
"$enablestring" = xdisable
; then
12362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12363 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12364 # Check whether --enable-finddlg was given.
12365 if test "${enable_finddlg+set}" = set; then
12366 enableval
=$enable_finddlg;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12370 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12375 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12380 eval "$wx_cv_use_finddlg"
12382 if test x"$enablestring" = xdisable; then
12383 if test $wxUSE_FINDREPLDLG = yes; then
12389 result=$wxUSE_FINDREPLDLG
12392 { echo "$as_me:$LINENO: result: $result" >&5
12393 echo "${ECHO_T}$result" >&6; }
12397 defaultval=$wxUSE_ALL_FEATURES
12398 if test -z "$defaultval"; then
12399 if test x"$enablestring" = xdisable; then
12406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12407 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12408 # Check whether --enable-fontdlg was given.
12409 if test "${enable_fontdlg+set}" = set; then
12410 enableval=$enable_fontdlg;
12411 if test "$enableval" = yes; then
12412 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12414 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12419 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12424 eval "$wx_cv_use_fontdlg"
12426 if test x"$enablestring" = xdisable; then
12427 if test $wxUSE_FONTDLG = yes; then
12433 result=$wxUSE_FONTDLG
12436 { echo "$as_me:$LINENO: result
: $result" >&5
12437 echo "${ECHO_T}$result" >&6; }
12441 defaultval=$wxUSE_ALL_FEATURES
12442 if test -z "$defaultval"; then
12443 if test x"$enablestring" = xdisable; then
12450 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12451 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12452 # Check whether --enable-dirdlg was given.
12453 if test "${enable_dirdlg+set}" = set; then
12454 enableval=$enable_dirdlg;
12455 if test "$enableval" = yes; then
12456 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12458 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12463 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12468 eval "$wx_cv_use_dirdlg"
12470 if test x
"$enablestring" = xdisable
; then
12471 if test $wxUSE_DIRDLG = yes; then
12477 result
=$wxUSE_DIRDLG
12480 { echo "$as_me:$LINENO: result: $result" >&5
12481 echo "${ECHO_T}$result" >&6; }
12485 defaultval
=$wxUSE_ALL_FEATURES
12486 if test -z "$defaultval"; then
12487 if test x
"$enablestring" = xdisable
; then
12494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12495 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12496 # Check whether --enable-msgdlg was given.
12497 if test "${enable_msgdlg+set}" = set; then
12498 enableval
=$enable_msgdlg;
12499 if test "$enableval" = yes; then
12500 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12502 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12507 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12512 eval "$wx_cv_use_msgdlg"
12514 if test x"$enablestring" = xdisable; then
12515 if test $wxUSE_MSGDLG = yes; then
12521 result=$wxUSE_MSGDLG
12524 { echo "$as_me:$LINENO: result: $result" >&5
12525 echo "${ECHO_T}$result" >&6; }
12529 defaultval=$wxUSE_ALL_FEATURES
12530 if test -z "$defaultval"; then
12531 if test x"$enablestring" = xdisable; then
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12540 # Check whether --enable-numberdlg was given.
12541 if test "${enable_numberdlg+set}" = set; then
12542 enableval=$enable_numberdlg;
12543 if test "$enableval" = yes; then
12544 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12546 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12551 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12556 eval "$wx_cv_use_numberdlg"
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_NUMBERDLG = yes; then
12565 result=$wxUSE_NUMBERDLG
12568 { echo "$as_me:$LINENO: result
: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12582 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12583 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12584 # Check whether --enable-splash was given.
12585 if test "${enable_splash+set}" = set; then
12586 enableval=$enable_splash;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_splash='wxUSE_SPLASH=yes'
12590 wx_cv_use_splash='wxUSE_SPLASH=no'
12595 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12600 eval "$wx_cv_use_splash"
12602 if test x
"$enablestring" = xdisable
; then
12603 if test $wxUSE_SPLASH = yes; then
12609 result
=$wxUSE_SPLASH
12612 { echo "$as_me:$LINENO: result: $result" >&5
12613 echo "${ECHO_T}$result" >&6; }
12617 defaultval
=$wxUSE_ALL_FEATURES
12618 if test -z "$defaultval"; then
12619 if test x
"$enablestring" = xdisable
; then
12626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12627 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12628 # Check whether --enable-textdlg was given.
12629 if test "${enable_textdlg+set}" = set; then
12630 enableval
=$enable_textdlg;
12631 if test "$enableval" = yes; then
12632 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12634 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12639 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12644 eval "$wx_cv_use_textdlg"
12646 if test x"$enablestring" = xdisable; then
12647 if test $wxUSE_TEXTDLG = yes; then
12653 result=$wxUSE_TEXTDLG
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12661 defaultval=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x"$enablestring" = xdisable; then
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12672 # Check whether --enable-tipdlg was given.
12673 if test "${enable_tipdlg+set}" = set; then
12674 enableval=$enable_tipdlg;
12675 if test "$enableval" = yes; then
12676 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12678 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12683 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12688 eval "$wx_cv_use_tipdlg"
12690 if test x"$enablestring" = xdisable; then
12691 if test $wxUSE_STARTUP_TIPS = yes; then
12697 result=$wxUSE_STARTUP_TIPS
12700 { echo "$as_me:$LINENO: result
: $result" >&5
12701 echo "${ECHO_T}$result" >&6; }
12705 defaultval=$wxUSE_ALL_FEATURES
12706 if test -z "$defaultval"; then
12707 if test x"$enablestring" = xdisable; then
12714 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12715 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12716 # Check whether --enable-progressdlg was given.
12717 if test "${enable_progressdlg+set}" = set; then
12718 enableval=$enable_progressdlg;
12719 if test "$enableval" = yes; then
12720 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12722 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12727 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12732 eval "$wx_cv_use_progressdlg"
12734 if test x
"$enablestring" = xdisable
; then
12735 if test $wxUSE_PROGRESSDLG = yes; then
12741 result
=$wxUSE_PROGRESSDLG
12744 { echo "$as_me:$LINENO: result: $result" >&5
12745 echo "${ECHO_T}$result" >&6; }
12749 defaultval
=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x
"$enablestring" = xdisable
; then
12758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12759 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12760 # Check whether --enable-wizarddlg was given.
12761 if test "${enable_wizarddlg+set}" = set; then
12762 enableval
=$enable_wizarddlg;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12766 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12771 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12776 eval "$wx_cv_use_wizarddlg"
12778 if test x"$enablestring" = xdisable; then
12779 if test $wxUSE_WIZARDDLG = yes; then
12785 result=$wxUSE_WIZARDDLG
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12795 defaultval=$wxUSE_ALL_FEATURES
12796 if test -z "$defaultval"; then
12797 if test x"$enablestring" = xdisable; then
12804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12805 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12806 # Check whether --enable-menus was given.
12807 if test "${enable_menus+set}" = set; then
12808 enableval=$enable_menus;
12809 if test "$enableval" = yes; then
12810 wx_cv_use_menus='wxUSE_MENUS
=yes'
12812 wx_cv_use_menus='wxUSE_MENUS
=no
'
12817 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12822 eval "$wx_cv_use_menus"
12824 if test x"$enablestring" = xdisable; then
12825 if test $wxUSE_MENUS = yes; then
12831 result=$wxUSE_MENUS
12834 { echo "$as_me:$LINENO: result
: $result" >&5
12835 echo "${ECHO_T}$result" >&6; }
12839 defaultval=$wxUSE_ALL_FEATURES
12840 if test -z "$defaultval"; then
12841 if test x"$enablestring" = xdisable; then
12848 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12849 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12850 # Check whether --enable-miniframe was given.
12851 if test "${enable_miniframe+set}" = set; then
12852 enableval=$enable_miniframe;
12853 if test "$enableval" = yes; then
12854 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12856 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12861 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12866 eval "$wx_cv_use_miniframe"
12868 if test x
"$enablestring" = xdisable
; then
12869 if test $wxUSE_MINIFRAME = yes; then
12875 result
=$wxUSE_MINIFRAME
12878 { echo "$as_me:$LINENO: result: $result" >&5
12879 echo "${ECHO_T}$result" >&6; }
12883 defaultval
=$wxUSE_ALL_FEATURES
12884 if test -z "$defaultval"; then
12885 if test x
"$enablestring" = xdisable
; then
12892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12893 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12894 # Check whether --enable-tooltips was given.
12895 if test "${enable_tooltips+set}" = set; then
12896 enableval
=$enable_tooltips;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12900 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12905 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12910 eval "$wx_cv_use_tooltips"
12912 if test x"$enablestring" = xdisable; then
12913 if test $wxUSE_TOOLTIPS = yes; then
12919 result=$wxUSE_TOOLTIPS
12922 { echo "$as_me:$LINENO: result: $result" >&5
12923 echo "${ECHO_T}$result" >&6; }
12927 defaultval=$wxUSE_ALL_FEATURES
12928 if test -z "$defaultval"; then
12929 if test x"$enablestring" = xdisable; then
12936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12937 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12938 # Check whether --enable-splines was given.
12939 if test "${enable_splines+set}" = set; then
12940 enableval=$enable_splines;
12941 if test "$enableval" = yes; then
12942 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12944 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12949 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12954 eval "$wx_cv_use_splines"
12956 if test x"$enablestring" = xdisable; then
12957 if test $wxUSE_SPLINES = yes; then
12963 result=$wxUSE_SPLINES
12966 { echo "$as_me:$LINENO: result
: $result" >&5
12967 echo "${ECHO_T}$result" >&6; }
12971 defaultval=$wxUSE_ALL_FEATURES
12972 if test -z "$defaultval"; then
12973 if test x"$enablestring" = xdisable; then
12980 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12981 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12982 # Check whether --enable-mousewheel was given.
12983 if test "${enable_mousewheel+set}" = set; then
12984 enableval=$enable_mousewheel;
12985 if test "$enableval" = yes; then
12986 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12988 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12993 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12998 eval "$wx_cv_use_mousewheel"
13000 if test x
"$enablestring" = xdisable
; then
13001 if test $wxUSE_MOUSEWHEEL = yes; then
13007 result
=$wxUSE_MOUSEWHEEL
13010 { echo "$as_me:$LINENO: result: $result" >&5
13011 echo "${ECHO_T}$result" >&6; }
13015 defaultval
=$wxUSE_ALL_FEATURES
13016 if test -z "$defaultval"; then
13017 if test x
"$enablestring" = xdisable
; then
13024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13025 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13026 # Check whether --enable-validators was given.
13027 if test "${enable_validators+set}" = set; then
13028 enableval
=$enable_validators;
13029 if test "$enableval" = yes; then
13030 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13032 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13037 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13042 eval "$wx_cv_use_validators"
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_VALIDATORS = yes; then
13051 result=$wxUSE_VALIDATORS
13054 { echo "$as_me:$LINENO: result: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13069 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13070 # Check whether --enable-busyinfo was given.
13071 if test "${enable_busyinfo+set}" = set; then
13072 enableval=$enable_busyinfo;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13076 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13081 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13086 eval "$wx_cv_use_busyinfo"
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_BUSYINFO = yes; then
13095 result=$wxUSE_BUSYINFO
13098 { echo "$as_me:$LINENO: result
: $result" >&5
13099 echo "${ECHO_T}$result" >&6; }
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13112 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13113 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13114 # Check whether --enable-joystick was given.
13115 if test "${enable_joystick+set}" = set; then
13116 enableval=$enable_joystick;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13120 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13125 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13130 eval "$wx_cv_use_joystick"
13132 if test x
"$enablestring" = xdisable
; then
13133 if test $wxUSE_JOYSTICK = yes; then
13139 result
=$wxUSE_JOYSTICK
13142 { echo "$as_me:$LINENO: result: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13147 defaultval
=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x
"$enablestring" = xdisable
; then
13156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13157 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13158 # Check whether --enable-metafile was given.
13159 if test "${enable_metafile+set}" = set; then
13160 enableval
=$enable_metafile;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13164 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13169 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13174 eval "$wx_cv_use_metafile"
13176 if test x"$enablestring" = xdisable; then
13177 if test $wxUSE_METAFILE = yes; then
13183 result=$wxUSE_METAFILE
13186 { echo "$as_me:$LINENO: result: $result" >&5
13187 echo "${ECHO_T}$result" >&6; }
13191 defaultval=$wxUSE_ALL_FEATURES
13192 if test -z "$defaultval"; then
13193 if test x"$enablestring" = xdisable; then
13200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13201 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13202 # Check whether --enable-dragimage was given.
13203 if test "${enable_dragimage+set}" = set; then
13204 enableval=$enable_dragimage;
13205 if test "$enableval" = yes; then
13206 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13208 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13213 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13218 eval "$wx_cv_use_dragimage"
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_DRAGIMAGE = yes; then
13227 result=$wxUSE_DRAGIMAGE
13230 { echo "$as_me:$LINENO: result
: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13244 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13245 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13246 # Check whether --enable-accessibility was given.
13247 if test "${enable_accessibility+set}" = set; then
13248 enableval=$enable_accessibility;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13252 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13257 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13262 eval "$wx_cv_use_accessibility"
13264 if test x
"$enablestring" = xdisable
; then
13265 if test $wxUSE_ACCESSIBILITY = yes; then
13271 result
=$wxUSE_ACCESSIBILITY
13274 { echo "$as_me:$LINENO: result: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13281 defaultval
=$wxUSE_ALL_FEATURES
13282 if test -z "$defaultval"; then
13283 if test x
"$enablestring" = xdisable
; then
13290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13291 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13292 # Check whether --enable-palette was given.
13293 if test "${enable_palette+set}" = set; then
13294 enableval
=$enable_palette;
13295 if test "$enableval" = yes; then
13296 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13298 wx_cv_use_palette
='wxUSE_PALETTE=no'
13303 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13308 eval "$wx_cv_use_palette"
13310 if test x"$enablestring" = xdisable; then
13311 if test $wxUSE_PALETTE = yes; then
13317 result=$wxUSE_PALETTE
13320 { echo "$as_me:$LINENO: result: $result" >&5
13321 echo "${ECHO_T}$result" >&6; }
13325 defaultval=$wxUSE_ALL_FEATURES
13326 if test -z "$defaultval"; then
13327 if test x"$enablestring" = xdisable; then
13334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13335 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13336 # Check whether --enable-image was given.
13337 if test "${enable_image+set}" = set; then
13338 enableval=$enable_image;
13339 if test "$enableval" = yes; then
13340 wx_cv_use_image='wxUSE_IMAGE
=yes'
13342 wx_cv_use_image='wxUSE_IMAGE
=no
'
13347 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13352 eval "$wx_cv_use_image"
13354 if test x"$enablestring" = xdisable; then
13355 if test $wxUSE_IMAGE = yes; then
13361 result=$wxUSE_IMAGE
13364 { echo "$as_me:$LINENO: result
: $result" >&5
13365 echo "${ECHO_T}$result" >&6; }
13369 defaultval=$wxUSE_ALL_FEATURES
13370 if test -z "$defaultval"; then
13371 if test x"$enablestring" = xdisable; then
13378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13379 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13380 # Check whether --enable-gif was given.
13381 if test "${enable_gif+set}" = set; then
13382 enableval=$enable_gif;
13383 if test "$enableval" = yes; then
13384 wx_cv_use_gif='wxUSE_GIF=yes'
13386 wx_cv_use_gif='wxUSE_GIF=no'
13391 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13396 eval "$wx_cv_use_gif"
13398 if test x
"$enablestring" = xdisable
; then
13399 if test $wxUSE_GIF = yes; then
13408 { echo "$as_me:$LINENO: result: $result" >&5
13409 echo "${ECHO_T}$result" >&6; }
13413 defaultval
=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x
"$enablestring" = xdisable
; then
13422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13423 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13424 # Check whether --enable-pcx was given.
13425 if test "${enable_pcx+set}" = set; then
13426 enableval
=$enable_pcx;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_pcx
='wxUSE_PCX=yes'
13430 wx_cv_use_pcx
='wxUSE_PCX=no'
13435 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13440 eval "$wx_cv_use_pcx"
13442 if test x"$enablestring" = xdisable; then
13443 if test $wxUSE_PCX = yes; then
13452 { echo "$as_me:$LINENO: result: $result" >&5
13453 echo "${ECHO_T}$result" >&6; }
13457 defaultval=$wxUSE_ALL_FEATURES
13458 if test -z "$defaultval"; then
13459 if test x"$enablestring" = xdisable; then
13466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13467 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13468 # Check whether --enable-tga was given.
13469 if test "${enable_tga+set}" = set; then
13470 enableval=$enable_tga;
13471 if test "$enableval" = yes; then
13472 wx_cv_use_tga='wxUSE_TGA
=yes'
13474 wx_cv_use_tga='wxUSE_TGA
=no
'
13479 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13484 eval "$wx_cv_use_tga"
13486 if test x"$enablestring" = xdisable; then
13487 if test $wxUSE_TGA = yes; then
13496 { echo "$as_me:$LINENO: result
: $result" >&5
13497 echo "${ECHO_T}$result" >&6; }
13501 defaultval=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x"$enablestring" = xdisable; then
13510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13511 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13512 # Check whether --enable-iff was given.
13513 if test "${enable_iff+set}" = set; then
13514 enableval=$enable_iff;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_iff='wxUSE_IFF=yes'
13518 wx_cv_use_iff='wxUSE_IFF=no'
13523 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13528 eval "$wx_cv_use_iff"
13530 if test x
"$enablestring" = xdisable
; then
13531 if test $wxUSE_IFF = yes; then
13540 { echo "$as_me:$LINENO: result: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13545 defaultval
=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x
"$enablestring" = xdisable
; then
13554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13555 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13556 # Check whether --enable-pnm was given.
13557 if test "${enable_pnm+set}" = set; then
13558 enableval
=$enable_pnm;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_pnm
='wxUSE_PNM=yes'
13562 wx_cv_use_pnm
='wxUSE_PNM=no'
13567 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13572 eval "$wx_cv_use_pnm"
13574 if test x"$enablestring" = xdisable; then
13575 if test $wxUSE_PNM = yes; then
13584 { echo "$as_me:$LINENO: result: $result" >&5
13585 echo "${ECHO_T}$result" >&6; }
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13599 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13600 # Check whether --enable-xpm was given.
13601 if test "${enable_xpm+set}" = set; then
13602 enableval=$enable_xpm;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_xpm='wxUSE_XPM
=yes'
13606 wx_cv_use_xpm='wxUSE_XPM
=no
'
13611 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13616 eval "$wx_cv_use_xpm"
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_XPM = yes; then
13628 { echo "$as_me:$LINENO: result
: $result" >&5
13629 echo "${ECHO_T}$result" >&6; }
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13643 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13644 # Check whether --enable-ico_cur was given.
13645 if test "${enable_ico_cur+set}" = set; then
13646 enableval=$enable_ico_cur;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13650 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13655 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13660 eval "$wx_cv_use_ico_cur"
13662 if test x
"$enablestring" = xdisable
; then
13663 if test $wxUSE_ICO_CUR = yes; then
13669 result
=$wxUSE_ICO_CUR
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13679 defaultval
=$wxUSE_ALL_FEATURES
13680 if test -z "$defaultval"; then
13681 if test x
"$enablestring" = xdisable
; then
13688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13689 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13690 # Check whether --enable-dccache was given.
13691 if test "${enable_dccache+set}" = set; then
13692 enableval
=$enable_dccache;
13693 if test "$enableval" = yes; then
13694 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13696 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13701 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13706 eval "$wx_cv_use_dccache"
13708 if test x"$enablestring" = xdisable; then
13709 if test $wxUSE_DC_CACHEING = yes; then
13715 result=$wxUSE_DC_CACHEING
13718 { echo "$as_me:$LINENO: result: $result" >&5
13719 echo "${ECHO_T}$result" >&6; }
13723 defaultval=$wxUSE_ALL_FEATURES
13724 if test -z "$defaultval"; then
13725 if test x"$enablestring" = xdisable; then
13732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13733 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13734 # Check whether --enable-ps-in-msw was given.
13735 if test "${enable_ps_in_msw+set}" = set; then
13736 enableval=$enable_ps_in_msw;
13737 if test "$enableval" = yes; then
13738 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13740 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13745 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13750 eval "$wx_cv_use_ps_in_msw"
13752 if test x"$enablestring" = xdisable; then
13753 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13759 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13762 { echo "$as_me:$LINENO: result
: $result" >&5
13763 echo "${ECHO_T}$result" >&6; }
13767 defaultval=$wxUSE_ALL_FEATURES
13768 if test -z "$defaultval"; then
13769 if test x"$enablestring" = xdisable; then
13776 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13777 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13778 # Check whether --enable-ownerdrawn was given.
13779 if test "${enable_ownerdrawn+set}" = set; then
13780 enableval=$enable_ownerdrawn;
13781 if test "$enableval" = yes; then
13782 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13784 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13789 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13794 eval "$wx_cv_use_ownerdrawn"
13796 if test x
"$enablestring" = xdisable
; then
13797 if test $wxUSE_OWNER_DRAWN = yes; then
13803 result
=$wxUSE_OWNER_DRAWN
13806 { echo "$as_me:$LINENO: result: $result" >&5
13807 echo "${ECHO_T}$result" >&6; }
13811 defaultval
=$wxUSE_ALL_FEATURES
13812 if test -z "$defaultval"; then
13813 if test x
"$enablestring" = xdisable
; then
13820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13821 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13822 # Check whether --enable-uxtheme was given.
13823 if test "${enable_uxtheme+set}" = set; then
13824 enableval
=$enable_uxtheme;
13825 if test "$enableval" = yes; then
13826 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13828 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13833 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13838 eval "$wx_cv_use_uxtheme"
13840 if test x"$enablestring" = xdisable; then
13841 if test $wxUSE_UXTHEME = yes; then
13847 result=$wxUSE_UXTHEME
13850 { echo "$as_me:$LINENO: result: $result" >&5
13851 echo "${ECHO_T}$result" >&6; }
13855 defaultval=$wxUSE_ALL_FEATURES
13856 if test -z "$defaultval"; then
13857 if test x"$enablestring" = xdisable; then
13864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13865 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13866 # Check whether --enable-wxdib was given.
13867 if test "${enable_wxdib+set}" = set; then
13868 enableval=$enable_wxdib;
13869 if test "$enableval" = yes; then
13870 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13872 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13877 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13882 eval "$wx_cv_use_wxdib"
13884 if test x"$enablestring" = xdisable; then
13885 if test $wxUSE_DIB = yes; then
13894 { echo "$as_me:$LINENO: result
: $result" >&5
13895 echo "${ECHO_T}$result" >&6; }
13898 if test "$wxUSE_MSW" != 1; then
13899 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13904 defaultval=$wxUSE_ALL_FEATURES
13905 if test -z "$defaultval"; then
13906 if test x"$enablestring" = xdisable; then
13913 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13914 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13915 # Check whether --enable-autoidman was given.
13916 if test "${enable_autoidman+set}" = set; then
13917 enableval=$enable_autoidman;
13918 if test "$enableval" = yes; then
13919 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13921 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13926 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13931 eval "$wx_cv_use_autoidman"
13933 if test x
"$enablestring" = xdisable
; then
13934 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13940 result
=$wxUSE_AUTOID_MANAGEMENT
13943 { echo "$as_me:$LINENO: result: $result" >&5
13944 echo "${ECHO_T}$result" >&6; }
13950 cat >confcache
<<\_ACEOF
13951 # This file is a shell script that caches the results of configure
13952 # tests run on this system so they can be shared between configure
13953 # scripts and configure runs, see configure's option --config-cache.
13954 # It is not useful on other systems. If it contains results you don't
13955 # want to keep, you may remove or edit it.
13957 # config.status only pays attention to the cache file if you give it
13958 # the --recheck option to rerun configure.
13960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13962 # following values.
13966 # The following way of writing the cache mishandles newlines in values,
13967 # but we know of no workaround that is simple, portable, and efficient.
13968 # So, we kill variables containing newlines.
13969 # Ultrix sh set writes to stderr and can't be redirected directly,
13970 # and sets the high bit in the cache file unless we assign to the vars.
13972 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13973 eval ac_val
=\$
$ac_var
13977 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13978 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13981 _
| IFS
| as_nl
) ;; #(
13982 *) $as_unset $ac_var ;;
13988 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13989 *${as_nl}ac_space
=\
*)
13990 # `set' does not quote correctly, so add quotes (double-quote
13991 # substitution turns \\\\ into \\, and sed turns \\ into \).
13994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13997 # `set' quotes correctly as required by POSIX, so do not add quotes.
13998 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14009 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14011 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14012 if test -w "$cache_file"; then
14013 test "x$cache_file" != "x/dev/null" &&
14014 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14015 echo "$as_me: updating cache $cache_file" >&6;}
14016 cat confcache
>$cache_file
14018 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14019 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14029 ac_cpp
='$CPP $CPPFLAGS'
14030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14033 if test -n "$ac_tool_prefix"; then
14034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14035 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14038 if test "${ac_cv_prog_CC+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 if test -n "$CC"; then
14042 ac_cv_prog_CC
="$CC" # Let the user override the test.
14044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14045 for as_dir
in $PATH
14048 test -z "$as_dir" && as_dir
=.
14049 for ac_exec_ext
in '' $ac_executable_extensions; do
14050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14051 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 if test -n "$CC"; then
14063 { echo "$as_me:$LINENO: result: $CC" >&5
14064 echo "${ECHO_T}$CC" >&6; }
14066 { echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6; }
14072 if test -z "$ac_cv_prog_CC"; then
14074 # Extract the first word of "gcc", so it can be a program name with args.
14075 set dummy gcc
; ac_word
=$2
14076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 if test -n "$ac_ct_CC"; then
14082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14085 for as_dir
in $PATH
14088 test -z "$as_dir" && as_dir
=.
14089 for ac_exec_ext
in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 ac_cv_prog_ac_ct_CC
="gcc"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14102 if test -n "$ac_ct_CC"; then
14103 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14104 echo "${ECHO_T}$ac_ct_CC" >&6; }
14106 { echo "$as_me:$LINENO: result: no" >&5
14107 echo "${ECHO_T}no" >&6; }
14110 if test "x$ac_ct_CC" = x
; then
14113 case $cross_compiling:$ac_tool_warned in
14115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14116 whose name does not start with the host triplet. If you think this
14117 configuration is useful to you, please write to autoconf@gnu.org." >&5
14118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14119 whose name does not start with the host triplet. If you think this
14120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14121 ac_tool_warned
=yes ;;
14126 CC
="$ac_cv_prog_CC"
14129 if test -z "$CC"; then
14130 if test -n "$ac_tool_prefix"; then
14131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14132 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14135 if test "${ac_cv_prog_CC+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 if test -n "$CC"; then
14139 ac_cv_prog_CC
="$CC" # Let the user override the test.
14141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14142 for as_dir
in $PATH
14145 test -z "$as_dir" && as_dir
=.
14146 for ac_exec_ext
in '' $ac_executable_extensions; do
14147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14148 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 if test -n "$CC"; then
14160 { echo "$as_me:$LINENO: result: $CC" >&5
14161 echo "${ECHO_T}$CC" >&6; }
14163 { echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6; }
14170 if test -z "$CC"; then
14171 # Extract the first word of "cc", so it can be a program name with args.
14172 set dummy cc
; ac_word
=$2
14173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14175 if test "${ac_cv_prog_CC+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 if test -n "$CC"; then
14179 ac_cv_prog_CC
="$CC" # Let the user override the test.
14181 ac_prog_rejected
=no
14182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14183 for as_dir
in $PATH
14186 test -z "$as_dir" && as_dir
=.
14187 for ac_exec_ext
in '' $ac_executable_extensions; do
14188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14190 ac_prog_rejected
=yes
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14201 if test $ac_prog_rejected = yes; then
14202 # We found a bogon in the path, so make sure we never use it.
14203 set dummy
$ac_cv_prog_CC
14205 if test $# != 0; then
14206 # We chose a different compiler from the bogus one.
14207 # However, it has the same basename, so the bogon will be chosen
14208 # first if we set CC to just the basename; use the full file name.
14210 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14216 if test -n "$CC"; then
14217 { echo "$as_me:$LINENO: result: $CC" >&5
14218 echo "${ECHO_T}$CC" >&6; }
14220 { echo "$as_me:$LINENO: result: no" >&5
14221 echo "${ECHO_T}no" >&6; }
14226 if test -z "$CC"; then
14227 if test -n "$ac_tool_prefix"; then
14228 for ac_prog
in cl.exe
14230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14231 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14234 if test "${ac_cv_prog_CC+set}" = set; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 if test -n "$CC"; then
14238 ac_cv_prog_CC
="$CC" # Let the user override the test.
14240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14241 for as_dir
in $PATH
14244 test -z "$as_dir" && as_dir
=.
14245 for ac_exec_ext
in '' $ac_executable_extensions; do
14246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14247 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14258 if test -n "$CC"; then
14259 { echo "$as_me:$LINENO: result: $CC" >&5
14260 echo "${ECHO_T}$CC" >&6; }
14262 { echo "$as_me:$LINENO: result: no" >&5
14263 echo "${ECHO_T}no" >&6; }
14267 test -n "$CC" && break
14270 if test -z "$CC"; then
14272 for ac_prog
in cl.exe
14274 # Extract the first word of "$ac_prog", so it can be a program name with args.
14275 set dummy
$ac_prog; ac_word
=$2
14276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14279 echo $ECHO_N "(cached) $ECHO_C" >&6
14281 if test -n "$ac_ct_CC"; then
14282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14285 for as_dir
in $PATH
14288 test -z "$as_dir" && as_dir
=.
14289 for ac_exec_ext
in '' $ac_executable_extensions; do
14290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14291 ac_cv_prog_ac_ct_CC
="$ac_prog"
14292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14301 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14302 if test -n "$ac_ct_CC"; then
14303 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14304 echo "${ECHO_T}$ac_ct_CC" >&6; }
14306 { echo "$as_me:$LINENO: result: no" >&5
14307 echo "${ECHO_T}no" >&6; }
14311 test -n "$ac_ct_CC" && break
14314 if test "x$ac_ct_CC" = x
; then
14317 case $cross_compiling:$ac_tool_warned in
14319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14320 whose name does not start with the host triplet. If you think this
14321 configuration is useful to you, please write to autoconf@gnu.org." >&5
14322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14323 whose name does not start with the host triplet. If you think this
14324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14325 ac_tool_warned
=yes ;;
14334 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14335 See \`config.log' for more details." >&5
14336 echo "$as_me: error: no acceptable C compiler found in \$PATH
14337 See \`config.log' for more details." >&2;}
14338 { (exit 1); exit 1; }; }
14340 # Provide some information about the compiler.
14341 echo "$as_me:$LINENO: checking for C compiler version" >&5
14342 ac_compiler
=`set X $ac_compile; echo $2`
14343 { (ac_try
="$ac_compiler --version >&5"
14344 case "(($ac_try" in
14345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14346 *) ac_try_echo=$ac_try;;
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_compiler --version >&5") 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }
14353 { (ac_try="$ac_compiler -v >&5"
14354 case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14356 *) ac_try_echo
=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_compiler -v >&5") 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }
14363 { (ac_try
="$ac_compiler -V >&5"
14364 case "(($ac_try" in
14365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_compiler -V >&5") 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }
14374 cat >conftest.$ac_ext <<_ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14389 ac_clean_files_save=$ac_clean_files
14390 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14391 # Try to create an executable without -o first, disregard a.out.
14392 # It will help us diagnose broken compilers, and finding out an intuition
14394 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14395 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14396 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14398 # List of possible output files, starting from the most likely.
14399 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14400 # only as a last resort. b.out is created by i960 compilers.
14401 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14403 # The IRIX 6 linker writes into existing files which may not be
14404 # executable, retaining their permissions. Remove them first so a
14405 # subsequent execution test works.
14407 for ac_file in $ac_files
14410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14411 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14416 if { (ac_try="$ac_link_default"
14417 case "(($ac_try" in
14418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14419 *) ac_try_echo=$ac_try;;
14421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14422 (eval "$ac_link_default") 2>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; then
14426 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14427 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14428 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14429 # so that the user can short-circuit this test for compilers unknown to
14431 for ac_file
in $ac_files ''
14433 test -f "$ac_file" || continue
14435 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14438 # We found the default executable, but exeext='' is most
14442 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14444 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14446 # We set ac_cv_exeext here because the later test for it is not
14447 # safe: cross compilers may not add the suffix if given an `-o'
14448 # argument, so we may need to know it at that point already.
14449 # Even if this section looks crufty: it has the advantage of
14450 # actually working.
14456 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14462 { echo "$as_me:$LINENO: result: $ac_file" >&5
14463 echo "${ECHO_T}$ac_file" >&6; }
14464 if test -z "$ac_file"; then
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.
$ac_ext >&5
14468 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14469 See \`config.log' for more details." >&5
14470 echo "$as_me: error: C compiler cannot create executables
14471 See \`config.log' for more details." >&2;}
14472 { (exit 77); exit 77; }; }
14475 ac_exeext
=$ac_cv_exeext
14477 # Check that the compiler produces executables we can run. If not, either
14478 # the compiler is broken, or we cross compile.
14479 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14480 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14481 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14482 # If not cross compiling, check that we can run a simple program.
14483 if test "$cross_compiling" != yes; then
14484 if { ac_try
='./$ac_file'
14485 { (case "(($ac_try" in
14486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_try") 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; }; then
14496 if test "$cross_compiling" = maybe; then
14497 cross_compiling=yes
14499 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14500 If you meant to cross compile, use \`--host'.
14501 See \`config.log' for more details.
" >&5
14502 echo "$as_me: error
: cannot run C compiled programs.
14503 If you meant to cross compile
, use \
`--host'.
14504 See \`config.log
' for more details." >&2;}
14505 { (exit 1); exit 1; }; }
14509 { echo "$as_me:$LINENO: result: yes" >&5
14510 echo "${ECHO_T}yes" >&6; }
14512 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14513 ac_clean_files=$ac_clean_files_save
14514 # Check that the compiler produces executables we can run. If not, either
14515 # the compiler is broken, or we cross compile.
14516 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14517 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14518 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14519 echo "${ECHO_T}$cross_compiling" >&6; }
14521 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14522 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14523 if { (ac_try="$ac_link"
14524 case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_link") 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; then
14533 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14534 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14535 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14537 for ac_file
in conftest.exe conftest conftest.
*; do
14538 test -f "$ac_file" || continue
14540 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14541 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14547 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14548 See \`config.log' for more details." >&5
14549 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14550 See \`config.log' for more details." >&2;}
14551 { (exit 1); exit 1; }; }
14554 rm -f conftest
$ac_cv_exeext
14555 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14556 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14558 rm -f conftest.
$ac_ext
14559 EXEEXT
=$ac_cv_exeext
14561 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14562 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14563 if test "${ac_cv_objext+set}" = set; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 cat >conftest.
$ac_ext <<_ACEOF
14569 cat confdefs.h
>>conftest.
$ac_ext
14570 cat >>conftest.
$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14581 rm -f conftest.o conftest.obj
14582 if { (ac_try
="$ac_compile"
14583 case "(($ac_try" in
14584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_compile") 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; then
14592 for ac_file in conftest.o conftest.obj conftest.*; do
14593 test -f "$ac_file" || continue;
14595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14596 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14604 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14605 See \`config.log
' for more details." >&5
14606 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14607 See \`config.log' for more details.
" >&2;}
14608 { (exit 1); exit 1; }; }
14611 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14613 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14614 echo "${ECHO_T}$ac_cv_objext" >&6; }
14615 OBJEXT=$ac_cv_objext
14617 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14618 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14619 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14620 echo $ECHO_N "(cached
) $ECHO_C" >&6
14622 cat >conftest.$ac_ext <<_ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14640 rm -f conftest.$ac_objext
14641 if { (ac_try="$ac_compile"
14642 case "(($ac_try" in
14643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14644 *) ac_try_echo=$ac_try;;
14646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_compile") 2>conftest.er1
14649 grep -v '^ *+' conftest.er1 >conftest.err
14651 cat conftest.err >&5
14652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest.$ac_objext; then
14657 ac_compiler_gnu=yes
14659 echo "$as_me: failed program was
:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14669 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14670 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14671 GCC=`test $ac_compiler_gnu = yes && echo yes`
14672 ac_test_CFLAGS=${CFLAGS+set}
14673 ac_save_CFLAGS=$CFLAGS
14674 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14675 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14676 if test "${ac_cv_prog_cc_g+set}" = set; then
14677 echo $ECHO_N "(cached
) $ECHO_C" >&6
14679 ac_save_c_werror_flag=$ac_c_werror_flag
14680 ac_c_werror_flag=yes
14683 cat >conftest.$ac_ext <<_ACEOF
14686 cat confdefs.h >>conftest.$ac_ext
14687 cat >>conftest.$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14698 rm -f conftest.$ac_objext
14699 if { (ac_try="$ac_compile"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_compile") 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest.$ac_objext; then
14715 ac_cv_prog_cc_g=yes
14717 echo "$as_me: failed program was
:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14721 cat >conftest.$ac_ext <<_ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14736 rm -f conftest.$ac_objext
14737 if { (ac_try="$ac_compile"
14738 case "(($ac_try" in
14739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14740 *) ac_try_echo=$ac_try;;
14742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14743 (eval "$ac_compile") 2>conftest.er1
14745 grep -v '^ *+' conftest.er1 >conftest.err
14747 cat conftest.err >&5
14748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14749 (exit $ac_status); } && {
14750 test -z "$ac_c_werror_flag" ||
14751 test ! -s conftest.err
14752 } && test -s conftest.$ac_objext; then
14755 echo "$as_me: failed program was
:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14758 ac_c_werror_flag=$ac_save_c_werror_flag
14760 cat >conftest.$ac_ext <<_ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14784 grep -v '^ *+' conftest.er1 >conftest.err
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14792 ac_cv_prog_cc_g=yes
14794 echo "$as_me: failed program was
:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14807 ac_c_werror_flag=$ac_save_c_werror_flag
14809 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14810 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14811 if test "$ac_test_CFLAGS" = set; then
14812 CFLAGS=$ac_save_CFLAGS
14813 elif test $ac_cv_prog_cc_g = yes; then
14814 if test "$GCC" = yes; then
14820 if test "$GCC" = yes; then
14826 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14827 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14828 if test "${ac_cv_prog_cc_c89+set}" = set; then
14829 echo $ECHO_N "(cached
) $ECHO_C" >&6
14831 ac_cv_prog_cc_c89=no
14833 cat >conftest.$ac_ext <<_ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 #include <stdarg.h>
14841 #include <sys/types.h>
14842 #include <sys/stat.h>
14843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14844 struct buf { int x; };
14845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14846 static char *e (p, i)
14852 static char *f (char * (*g) (char **, int), char **p, ...)
14857 s = g (p, va_arg (v,int));
14862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14863 function prototypes and stuff, but not '\xHH' hex character constants.
14864 These don't provoke an error unfortunately, instead are silently treated
14865 as 'x'. The following induces an error, until -std is added to get
14866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14867 array size at least. It's necessary to write '\x00'==0 to get something
14868 that's true only with -std. */
14869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14872 inside strings and character constants. */
14874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14876 int test (int i, double x);
14877 struct s1 {int (*f) (int a);};
14878 struct s2 {int (*f) (double a);};
14879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14893 CC="$ac_save_CC $ac_arg"
14894 rm -f conftest.$ac_objext
14895 if { (ac_try="$ac_compile"
14896 case "(($ac_try" in
14897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14898 *) ac_try_echo=$ac_try;;
14900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14901 (eval "$ac_compile") 2>conftest.er1
14903 grep -v '^ *+' conftest.er1 >conftest.err
14905 cat conftest.err >&5
14906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14907 (exit $ac_status); } && {
14908 test -z "$ac_c_werror_flag" ||
14909 test ! -s conftest.err
14910 } && test -s conftest.$ac_objext; then
14911 ac_cv_prog_cc_c89=$ac_arg
14913 echo "$as_me: failed program was
:" >&5
14914 sed 's/^/| /' conftest.$ac_ext >&5
14919 rm -f core conftest.err conftest.$ac_objext
14920 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14922 rm -f conftest.$ac_ext
14927 case "x
$ac_cv_prog_cc_c89" in
14929 { echo "$as_me:$LINENO: result
: none needed
" >&5
14930 echo "${ECHO_T}none needed
" >&6; } ;;
14932 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14933 echo "${ECHO_T}unsupported
" >&6; } ;;
14935 CC="$CC $ac_cv_prog_cc_c89"
14936 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14937 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14951 ac_cpp='$CPP $CPPFLAGS'
14952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14956 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14957 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14958 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14959 echo $ECHO_N "(cached
) $ECHO_C" >&6
14961 cat >conftest.$ac_ext <<_ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14972 #ifndef __INTEL_COMPILER
14980 rm -f conftest.$ac_objext
14981 if { (ac_try="$ac_compile"
14982 case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_compile") 2>conftest.er1
14989 grep -v '^ *+' conftest.er1 >conftest.err
14991 cat conftest.err >&5
14992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14993 (exit $ac_status); } && {
14994 test -z "$ac_c_werror_flag" ||
14995 test ! -s conftest.err
14996 } && test -s conftest.$ac_objext; then
14997 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14999 echo "$as_me: failed program was
:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15002 bakefile_cv_c_compiler___INTEL_COMPILER=no
15006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15010 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15011 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15012 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15018 ac_cpp='$CPP $CPPFLAGS'
15019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15026 if test "$INTELCC" = "yes"; then
15030 ac_cpp='$CPP $CPPFLAGS'
15031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15035 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15036 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15037 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15038 echo $ECHO_N "(cached
) $ECHO_C" >&6
15040 cat >conftest.$ac_ext <<_ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15051 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15059 rm -f conftest.$ac_objext
15060 if { (ac_try="$ac_compile"
15061 case "(($ac_try" in
15062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15063 *) ac_try_echo=$ac_try;;
15065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_compile") 2>conftest.er1
15068 grep -v '^ *+' conftest.er1 >conftest.err
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15072 (exit $ac_status); } && {
15073 test -z "$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15075 } && test -s conftest.$ac_objext; then
15076 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15078 echo "$as_me: failed program was
:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15081 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15090 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15091 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15097 ac_cpp='$CPP $CPPFLAGS'
15098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15112 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15113 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15114 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15115 echo $ECHO_N "(cached
) $ECHO_C" >&6
15117 cat >conftest.$ac_ext <<_ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15128 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15136 rm -f conftest.$ac_objext
15137 if { (ac_try="$ac_compile"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_compile") 2>conftest.er1
15145 grep -v '^ *+' conftest.er1 >conftest.err
15147 cat conftest.err >&5
15148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15149 (exit $ac_status); } && {
15150 test -z "$ac_c_werror_flag" ||
15151 test ! -s conftest.err
15152 } && test -s conftest.$ac_objext; then
15153 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15155 echo "$as_me: failed program was
:" >&5
15156 sed 's/^/| /' conftest.$ac_ext >&5
15158 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15167 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15168 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15174 ac_cpp='$CPP $CPPFLAGS'
15175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15183 if test "x
$GCC" != "xyes
"; then
15184 if test "xCC
" = "xC
"; then
15185 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15186 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15187 if test "${bakefile_cv_c_exto+set}" = set; then
15188 echo $ECHO_N "(cached
) $ECHO_C" >&6
15190 cat >conftest.$ac_ext <<_ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15205 rm -f conftest.$ac_objext conftest.$ac_ext.o
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207 (eval $ac_compile) 2>&5
15209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15210 (exit $ac_status); }; then
15211 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15213 conftest.$ac_ext.o)
15214 bakefile_cv_c_exto="-ext o
"
15221 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15222 See \
`config.log' for more details." >&5
15223 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15224 See \`config.log
' for more details." >&2;}
15225 { (exit 1); exit 1; }; }
15229 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15232 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15233 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15234 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15235 if test "c" = "c"; then
15236 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15238 if test "c" = "cxx"; then
15239 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15243 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15244 unset ac_cv_prog_cc_g
15245 ac_test_CFLAGS=${CFLAGS+set}
15246 ac_save_CFLAGS=$CFLAGS
15247 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15248 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15249 if test "${ac_cv_prog_cc_g+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 ac_save_c_werror_flag=$ac_c_werror_flag
15253 ac_c_werror_flag=yes
15256 cat >conftest.$ac_ext <<_ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15280 grep -v '^
*+' conftest.er1 >conftest.err
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 ac_cv_prog_cc_g=yes
15290 echo "$as_me: failed program was:" >&5
15291 sed 's
/^
/| /' conftest.$ac_ext >&5
15294 cat >conftest.$ac_ext <<_ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15309 rm -f conftest.$ac_objext
15310 if { (ac_try="$ac_compile"
15311 case "(($ac_try" in
15312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15313 *) ac_try_echo=$ac_try;;
15315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15316 (eval "$ac_compile") 2>conftest.er1
15318 grep -v '^
*+' conftest.er1 >conftest.err
15320 cat conftest.err >&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } && {
15323 test -z "$ac_c_werror_flag" ||
15324 test ! -s conftest.err
15325 } && test -s conftest.$ac_objext; then
15328 echo "$as_me: failed program was:" >&5
15329 sed 's
/^
/| /' conftest.$ac_ext >&5
15331 ac_c_werror_flag=$ac_save_c_werror_flag
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^
*+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 ac_cv_prog_cc_g=yes
15367 echo "$as_me: failed program was:" >&5
15368 sed 's
/^
/| /' conftest.$ac_ext >&5
15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 ac_c_werror_flag=$ac_save_c_werror_flag
15382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15384 if test "$ac_test_CFLAGS" = set; then
15385 CFLAGS=$ac_save_CFLAGS
15386 elif test $ac_cv_prog_cc_g = yes; then
15387 if test "$GCC" = yes; then
15393 if test "$GCC" = yes; then
15407 ac_cpp='$CPP $CPPFLAGS'
15408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15409 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15412 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15413 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15414 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 cat >conftest.$ac_ext <<_ACEOF
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15436 rm -f conftest.$ac_objext
15437 if { (ac_try="$ac_compile"
15438 case "(($ac_try" in
15439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15440 *) ac_try_echo=$ac_try;;
15442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15443 (eval "$ac_compile") 2>conftest.er1
15445 grep -v '^
*+' conftest.er1 >conftest.err
15447 cat conftest.err >&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } && {
15450 test -z "$ac_c_werror_flag" ||
15451 test ! -s conftest.err
15452 } && test -s conftest.$ac_objext; then
15453 bakefile_cv_c_compiler___xlC__=yes
15455 echo "$as_me: failed program was:" >&5
15456 sed 's
/^
/| /' conftest.$ac_ext >&5
15458 bakefile_cv_c_compiler___xlC__=no
15462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15466 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15467 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15468 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15474 ac_cpp='$CPP $CPPFLAGS'
15475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487 ac_cpp='$CPP $CPPFLAGS'
15488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15489 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15492 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15493 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15494 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 cat >conftest.$ac_ext <<_ACEOF
15500 cat confdefs.h >>conftest.$ac_ext
15501 cat >>conftest.$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15516 rm -f conftest.$ac_objext
15517 if { (ac_try="$ac_compile"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_compile") 2>conftest.er1
15525 grep -v '^
*+' conftest.er1 >conftest.err
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest.$ac_objext; then
15533 bakefile_cv_c_compiler___MWERKS__=yes
15535 echo "$as_me: failed program was:" >&5
15536 sed 's
/^
/| /' conftest.$ac_ext >&5
15538 bakefile_cv_c_compiler___MWERKS__=no
15542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15547 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15548 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15554 ac_cpp='$CPP $CPPFLAGS'
15555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15556 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561 if test "$MWCC" != "yes"; then
15565 ac_cpp='$CPP $CPPFLAGS'
15566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15567 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15570 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15571 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15572 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 cat >conftest.$ac_ext <<_ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15594 rm -f conftest.$ac_objext
15595 if { (ac_try="$ac_compile"
15596 case "(($ac_try" in
15597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15598 *) ac_try_echo=$ac_try;;
15600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15601 (eval "$ac_compile") 2>conftest.er1
15603 grep -v '^
*+' conftest.er1 >conftest.err
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } && {
15608 test -z "$ac_c_werror_flag" ||
15609 test ! -s conftest.err
15610 } && test -s conftest.$ac_objext; then
15611 bakefile_cv_c_compiler___xlC__=yes
15613 echo "$as_me: failed program was:" >&5
15614 sed 's
/^
/| /' conftest.$ac_ext >&5
15616 bakefile_cv_c_compiler___xlC__=no
15620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15625 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15626 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15632 ac_cpp='$CPP $CPPFLAGS'
15633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15634 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646 ac_cpp='$CPP $CPPFLAGS'
15647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15648 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15651 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15652 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15653 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 cat >conftest.$ac_ext <<_ACEOF
15659 cat confdefs.h >>conftest.$ac_ext
15660 cat >>conftest.$ac_ext <<_ACEOF
15661 /* end confdefs.h. */
15667 #ifndef _SGI_COMPILER_VERSION
15675 rm -f conftest.$ac_objext
15676 if { (ac_try="$ac_compile"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15679 *) ac_try_echo=$ac_try;;
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_compile") 2>conftest.er1
15684 grep -v '^
*+' conftest.er1 >conftest.err
15686 cat conftest.err >&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_c_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest.$ac_objext; then
15692 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15694 echo "$as_me: failed program was:" >&5
15695 sed 's
/^
/| /' conftest.$ac_ext >&5
15697 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15705 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15706 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15707 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15713 ac_cpp='$CPP $CPPFLAGS'
15714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15715 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15723 if test "$INTELCC" != "yes"; then
15727 ac_cpp='$CPP $CPPFLAGS'
15728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15729 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15732 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15733 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15734 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 cat >conftest.$ac_ext <<_ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15756 rm -f conftest.$ac_objext
15757 if { (ac_try="$ac_compile"
15758 case "(($ac_try" in
15759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15760 *) ac_try_echo=$ac_try;;
15762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763 (eval "$ac_compile") 2>conftest.er1
15765 grep -v '^
*+' conftest.er1 >conftest.err
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } && {
15770 test -z "$ac_c_werror_flag" ||
15771 test ! -s conftest.err
15772 } && test -s conftest.$ac_objext; then
15773 bakefile_cv_c_compiler___SUNPRO_C=yes
15775 echo "$as_me: failed program was:" >&5
15776 sed 's
/^
/| /' conftest.$ac_ext >&5
15778 bakefile_cv_c_compiler___SUNPRO_C=no
15782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15786 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15787 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15788 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15794 ac_cpp='$CPP $CPPFLAGS'
15795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15796 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808 ac_cpp='$CPP $CPPFLAGS'
15809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15810 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15814 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15815 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 cat >conftest.$ac_ext <<_ACEOF
15821 cat confdefs.h >>conftest.$ac_ext
15822 cat >>conftest.$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15846 grep -v '^
*+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 bakefile_cv_c_compiler___HP_cc=yes
15856 echo "$as_me: failed program was:" >&5
15857 sed 's
/^
/| /' conftest.$ac_ext >&5
15859 bakefile_cv_c_compiler___HP_cc=no
15863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15867 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15868 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15869 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15875 ac_cpp='$CPP $CPPFLAGS'
15876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15877 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15888 ac_cpp='$CPP $CPPFLAGS'
15889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15890 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15893 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15894 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15895 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15896 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 cat >conftest.$ac_ext <<_ACEOF
15901 cat confdefs.h >>conftest.$ac_ext
15902 cat >>conftest.$ac_ext <<_ACEOF
15903 /* end confdefs.h. */
15917 rm -f conftest.$ac_objext
15918 if { (ac_try="$ac_compile"
15919 case "(($ac_try" in
15920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15921 *) ac_try_echo=$ac_try;;
15923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15924 (eval "$ac_compile") 2>conftest.er1
15926 grep -v '^
*+' conftest.er1 >conftest.err
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } && {
15931 test -z "$ac_c_werror_flag" ||
15932 test ! -s conftest.err
15933 } && test -s conftest.$ac_objext; then
15934 bakefile_cv_c_compiler___DECC=yes
15936 echo "$as_me: failed program was:" >&5
15937 sed 's
/^
/| /' conftest.$ac_ext >&5
15939 bakefile_cv_c_compiler___DECC=no
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15948 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15949 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15955 ac_cpp='$CPP $CPPFLAGS'
15956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15957 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15968 ac_cpp='$CPP $CPPFLAGS'
15969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15970 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15973 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15974 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15975 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 cat >conftest.$ac_ext <<_ACEOF
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15997 rm -f conftest.$ac_objext
15998 if { (ac_try="$ac_compile"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_compile") 2>conftest.er1
16006 grep -v '^
*+' conftest.er1 >conftest.err
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_c_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest.$ac_objext; then
16014 bakefile_cv_c_compiler___SUNPRO_C=yes
16016 echo "$as_me: failed program was:" >&5
16017 sed 's
/^
/| /' conftest.$ac_ext >&5
16019 bakefile_cv_c_compiler___SUNPRO_C=no
16023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16027 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16028 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16029 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16035 ac_cpp='$CPP $CPPFLAGS'
16036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16037 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 ac_cpp='$CPP $CPPFLAGS'
16050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16051 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16053 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16054 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16055 # On Suns, sometimes $CPP names a directory.
16056 if test -n "$CPP" && test -d "$CPP"; then
16059 if test -z "$CPP"; then
16060 if test "${ac_cv_prog_CPP+set}" = set; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 # Double quotes because CPP needs to be expanded
16064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16066 ac_preproc_ok=false
16067 for ac_c_preproc_warn_flag in '' yes
16069 # Use a header file that comes with gcc, so configuring glibc
16070 # with a fresh cross-compiler works.
16071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16072 # <limits.h> exists even on freestanding compilers.
16073 # On the NeXT, cc -E runs the code through the compiler's parser
,
16074 # not just through cpp. "Syntax error" is here to catch this case.
16075 cat >conftest.
$ac_ext <<_ACEOF
16078 cat confdefs.h
>>conftest.
$ac_ext
16079 cat >>conftest.
$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16082 # include <limits.h>
16084 # include <assert.h>
16088 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16089 case "(($ac_try" in
16090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16091 *) ac_try_echo=$ac_try;;
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16096 grep -v '^ *+' conftest.er1 >conftest.err
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } >/dev/null && {
16101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16102 test ! -s conftest.err
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16109 # Broken: fails on valid input.
16113 rm -f conftest.err conftest.$ac_ext
16115 # OK, works on sane cases. Now check whether nonexistent headers
16116 # can be detected and how.
16117 cat >conftest.$ac_ext <<_ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 #include <ac_nonexistent.h>
16125 if { (ac_try="$ac_cpp conftest.$ac_ext"
16126 case "(($ac_try" in
16127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16128 *) ac_try_echo
=$ac_try;;
16130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16133 grep -v '^ *+' conftest.er1
>conftest.err
16135 cat conftest.err
>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } >/dev
/null
&& {
16138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16139 test ! -s conftest.err
16141 # Broken: success on invalid input.
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 # Passes both tests.
16152 rm -f conftest.err conftest.
$ac_ext
16155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16156 rm -f conftest.err conftest.
$ac_ext
16157 if $ac_preproc_ok; then
16162 ac_cv_prog_CPP
=$CPP
16165 CPP
=$ac_cv_prog_CPP
16167 ac_cv_prog_CPP
=$CPP
16169 { echo "$as_me:$LINENO: result: $CPP" >&5
16170 echo "${ECHO_T}$CPP" >&6; }
16171 ac_preproc_ok
=false
16172 for ac_c_preproc_warn_flag
in '' yes
16174 # Use a header file that comes with gcc, so configuring glibc
16175 # with a fresh cross-compiler works.
16176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16177 # <limits.h> exists even on freestanding compilers.
16178 # On the NeXT, cc -E runs the code through the compiler's parser,
16179 # not just through cpp. "Syntax error" is here to catch this case.
16180 cat >conftest.
$ac_ext <<_ACEOF
16183 cat confdefs.h
>>conftest.
$ac_ext
16184 cat >>conftest.
$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16187 # include <limits.h>
16189 # include <assert.h>
16193 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16194 case "(($ac_try" in
16195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16196 *) ac_try_echo=$ac_try;;
16198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16201 grep -v '^ *+' conftest.er1 >conftest.err
16203 cat conftest.err >&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } >/dev/null && {
16206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16207 test ! -s conftest.err
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16214 # Broken: fails on valid input.
16218 rm -f conftest.err conftest.$ac_ext
16220 # OK, works on sane cases. Now check whether nonexistent headers
16221 # can be detected and how.
16222 cat >conftest.$ac_ext <<_ACEOF
16225 cat confdefs.h >>conftest.$ac_ext
16226 cat >>conftest.$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 #include <ac_nonexistent.h>
16230 if { (ac_try="$ac_cpp conftest.$ac_ext"
16231 case "(($ac_try" in
16232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16233 *) ac_try_echo
=$ac_try;;
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16238 grep -v '^ *+' conftest.er1
>conftest.err
16240 cat conftest.err
>&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } >/dev
/null
&& {
16243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16244 test ! -s conftest.err
16246 # Broken: success on invalid input.
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.
$ac_ext >&5
16252 # Passes both tests.
16257 rm -f conftest.err conftest.
$ac_ext
16260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16261 rm -f conftest.err conftest.
$ac_ext
16262 if $ac_preproc_ok; then
16265 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16266 See \`config.log' for more details." >&5
16267 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16268 See \`config.log' for more details." >&2;}
16269 { (exit 1); exit 1; }; }
16273 ac_cpp
='$CPP $CPPFLAGS'
16274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16279 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16280 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16281 if test "${ac_cv_path_GREP+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 # Extract the first word of "grep ggrep" to use in msg output
16285 if test -z "$GREP"; then
16286 set dummy
grep ggrep
; ac_prog_name
=$2
16287 if test "${ac_cv_path_GREP+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 ac_path_GREP_found
=false
16291 # Loop through the user's path and test for each of PROGNAME-LIST
16292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16293 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16296 test -z "$as_dir" && as_dir
=.
16297 for ac_prog
in grep ggrep
; do
16298 for ac_exec_ext
in '' $ac_executable_extensions; do
16299 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16300 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16301 # Check for GNU ac_path_GREP and select it if it is found.
16302 # Check for GNU $ac_path_GREP
16303 case `"$ac_path_GREP" --version 2>&1` in
16305 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16308 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16311 cat "conftest.in" "conftest.in" >"conftest.tmp"
16312 mv "conftest.tmp" "conftest.in"
16313 cp "conftest.in" "conftest.nl"
16314 echo 'GREP' >> "conftest.nl"
16315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16316 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16317 ac_count
=`expr $ac_count + 1`
16318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16319 # Best one so far, save it but keep looking for a better one
16320 ac_cv_path_GREP
="$ac_path_GREP"
16321 ac_path_GREP_max
=$ac_count
16323 # 10*(2^10) chars as input seems more than enough
16324 test $ac_count -gt 10 && break
16326 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16330 $ac_path_GREP_found && break 3
16340 GREP
="$ac_cv_path_GREP"
16341 if test -z "$GREP"; then
16342 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16343 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16344 { (exit 1); exit 1; }; }
16348 ac_cv_path_GREP
=$GREP
16353 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16354 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16355 GREP
="$ac_cv_path_GREP"
16358 { echo "$as_me:$LINENO: checking for egrep" >&5
16359 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16360 if test "${ac_cv_path_EGREP+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16364 then ac_cv_path_EGREP
="$GREP -E"
16366 # Extract the first word of "egrep" to use in msg output
16367 if test -z "$EGREP"; then
16368 set dummy
egrep; ac_prog_name
=$2
16369 if test "${ac_cv_path_EGREP+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 ac_path_EGREP_found
=false
16373 # Loop through the user's path and test for each of PROGNAME-LIST
16374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16375 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16378 test -z "$as_dir" && as_dir
=.
16379 for ac_prog
in egrep; do
16380 for ac_exec_ext
in '' $ac_executable_extensions; do
16381 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16382 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16383 # Check for GNU ac_path_EGREP and select it if it is found.
16384 # Check for GNU $ac_path_EGREP
16385 case `"$ac_path_EGREP" --version 2>&1` in
16387 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16390 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16393 cat "conftest.in" "conftest.in" >"conftest.tmp"
16394 mv "conftest.tmp" "conftest.in"
16395 cp "conftest.in" "conftest.nl"
16396 echo 'EGREP' >> "conftest.nl"
16397 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16399 ac_count
=`expr $ac_count + 1`
16400 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16401 # Best one so far, save it but keep looking for a better one
16402 ac_cv_path_EGREP
="$ac_path_EGREP"
16403 ac_path_EGREP_max
=$ac_count
16405 # 10*(2^10) chars as input seems more than enough
16406 test $ac_count -gt 10 && break
16408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16412 $ac_path_EGREP_found && break 3
16422 EGREP
="$ac_cv_path_EGREP"
16423 if test -z "$EGREP"; then
16424 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16425 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16426 { (exit 1); exit 1; }; }
16430 ac_cv_path_EGREP
=$EGREP
16436 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16437 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16438 EGREP
="$ac_cv_path_EGREP"
16441 if test $ac_cv_c_compiler_gnu = yes; then
16442 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16443 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16444 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 ac_pattern
="Autoconf.*'x'"
16448 cat >conftest.
$ac_ext <<_ACEOF
16451 cat confdefs.h
>>conftest.
$ac_ext
16452 cat >>conftest.
$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16458 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16459 ac_cv_prog_gcc_traditional
=yes
16461 ac_cv_prog_gcc_traditional
=no
16466 if test $ac_cv_prog_gcc_traditional = no
; then
16467 cat >conftest.
$ac_ext <<_ACEOF
16470 cat confdefs.h
>>conftest.
$ac_ext
16471 cat >>conftest.
$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 #include <termio.h>
16476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16478 ac_cv_prog_gcc_traditional
=yes
16484 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16485 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16486 if test $ac_cv_prog_gcc_traditional = yes; then
16487 CC
="$CC -traditional"
16492 CXXFLAGS
=${CXXFLAGS:=}
16497 ac_cpp
='$CXXCPP $CPPFLAGS'
16498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16501 if test -z "$CXX"; then
16502 if test -n "$CCC"; then
16505 if test -n "$ac_tool_prefix"; then
16506 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16509 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16512 if test "${ac_cv_prog_CXX+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 if test -n "$CXX"; then
16516 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16519 for as_dir
in $PATH
16522 test -z "$as_dir" && as_dir
=.
16523 for ac_exec_ext
in '' $ac_executable_extensions; do
16524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16525 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16535 CXX
=$ac_cv_prog_CXX
16536 if test -n "$CXX"; then
16537 { echo "$as_me:$LINENO: result: $CXX" >&5
16538 echo "${ECHO_T}$CXX" >&6; }
16540 { echo "$as_me:$LINENO: result: no" >&5
16541 echo "${ECHO_T}no" >&6; }
16545 test -n "$CXX" && break
16548 if test -z "$CXX"; then
16550 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16552 # Extract the first word of "$ac_prog", so it can be a program name with args.
16553 set dummy
$ac_prog; ac_word
=$2
16554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16556 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 if test -n "$ac_ct_CXX"; then
16560 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16563 for as_dir
in $PATH
16566 test -z "$as_dir" && as_dir
=.
16567 for ac_exec_ext
in '' $ac_executable_extensions; do
16568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16569 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16579 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16580 if test -n "$ac_ct_CXX"; then
16581 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16582 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16584 { echo "$as_me:$LINENO: result: no" >&5
16585 echo "${ECHO_T}no" >&6; }
16589 test -n "$ac_ct_CXX" && break
16592 if test "x$ac_ct_CXX" = x
; then
16595 case $cross_compiling:$ac_tool_warned in
16597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16598 whose name does not start with the host triplet. If you think this
16599 configuration is useful to you, please write to autoconf@gnu.org." >&5
16600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16601 whose name does not start with the host triplet. If you think this
16602 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16603 ac_tool_warned
=yes ;;
16611 # Provide some information about the compiler.
16612 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16613 ac_compiler
=`set X $ac_compile; echo $2`
16614 { (ac_try
="$ac_compiler --version >&5"
16615 case "(($ac_try" in
16616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16620 (eval "$ac_compiler --version >&5") 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }
16624 { (ac_try="$ac_compiler -v >&5"
16625 case "(($ac_try" in
16626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16627 *) ac_try_echo
=$ac_try;;
16629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16630 (eval "$ac_compiler -v >&5") 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }
16634 { (ac_try
="$ac_compiler -V >&5"
16635 case "(($ac_try" in
16636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compiler -V >&5") 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }
16645 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16646 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16647 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.$ac_ext <<_ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16668 rm -f conftest.$ac_objext
16669 if { (ac_try="$ac_compile"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16672 *) ac_try_echo
=$ac_try;;
16674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16675 (eval "$ac_compile") 2>conftest.er1
16677 grep -v '^ *+' conftest.er1
>conftest.err
16679 cat conftest.err
>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && {
16682 test -z "$ac_cxx_werror_flag" ||
16683 test ! -s conftest.err
16684 } && test -s conftest.
$ac_objext; then
16685 ac_compiler_gnu
=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16694 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16697 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16698 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16699 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16700 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16701 ac_save_CXXFLAGS
=$CXXFLAGS
16702 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16703 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16704 if test "${ac_cv_prog_cxx_g+set}" = set; then
16705 echo $ECHO_N "(cached) $ECHO_C" >&6
16707 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16708 ac_cxx_werror_flag
=yes
16709 ac_cv_prog_cxx_g
=no
16711 cat >conftest.
$ac_ext <<_ACEOF
16714 cat confdefs.h
>>conftest.
$ac_ext
16715 cat >>conftest.
$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16726 rm -f conftest.
$ac_objext
16727 if { (ac_try
="$ac_compile"
16728 case "(($ac_try" in
16729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16733 (eval "$ac_compile") 2>conftest.er1
16735 grep -v '^ *+' conftest.er1 >conftest.err
16737 cat conftest.err >&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } && {
16740 test -z "$ac_cxx_werror_flag" ||
16741 test ! -s conftest.err
16742 } && test -s conftest.$ac_objext; then
16743 ac_cv_prog_cxx_g=yes
16745 echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.$ac_ext >&5
16749 cat >conftest.$ac_ext <<_ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16764 rm -f conftest.$ac_objext
16765 if { (ac_try="$ac_compile"
16766 case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16768 *) ac_try_echo
=$ac_try;;
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_compile") 2>conftest.er1
16773 grep -v '^ *+' conftest.er1
>conftest.err
16775 cat conftest.err
>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && {
16778 test -z "$ac_cxx_werror_flag" ||
16779 test ! -s conftest.err
16780 } && test -s conftest.
$ac_objext; then
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16803 rm -f conftest.
$ac_objext
16804 if { (ac_try
="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16812 grep -v '^ *+' conftest.er1 >conftest.err
16814 cat conftest.err >&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.$ac_objext; then
16820 ac_cv_prog_cxx_g=yes
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16835 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16837 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16838 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16839 if test "$ac_test_CXXFLAGS" = set; then
16840 CXXFLAGS=$ac_save_CXXFLAGS
16841 elif test $ac_cv_prog_cxx_g = yes; then
16842 if test "$GXX" = yes; then
16848 if test "$GXX" = yes; then
16855 ac_cpp='$CPP $CPPFLAGS'
16856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16864 ac_cpp='$CXXCPP $CPPFLAGS'
16865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16869 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16870 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16871 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 cat >conftest.$ac_ext <<_ACEOF
16877 cat confdefs.h >>conftest.$ac_ext
16878 cat >>conftest.$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16885 #ifndef __INTEL_COMPILER
16893 rm -f conftest.$ac_objext
16894 if { (ac_try="$ac_compile"
16895 case "(($ac_try" in
16896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16897 *) ac_try_echo
=$ac_try;;
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_compile") 2>conftest.er1
16902 grep -v '^ *+' conftest.er1
>conftest.err
16904 cat conftest.err
>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } && {
16907 test -z "$ac_cxx_werror_flag" ||
16908 test ! -s conftest.err
16909 } && test -s conftest.
$ac_objext; then
16910 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16923 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16924 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16925 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16931 ac_cpp
='$CPP $CPPFLAGS'
16932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16939 if test "$INTELCXX" = "yes"; then
16943 ac_cpp
='$CXXCPP $CPPFLAGS'
16944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16948 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16949 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16950 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16964 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16972 rm -f conftest.
$ac_objext
16973 if { (ac_try
="$ac_compile"
16974 case "(($ac_try" in
16975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16976 *) ac_try_echo=$ac_try;;
16978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16979 (eval "$ac_compile") 2>conftest.er1
16981 grep -v '^ *+' conftest.er1 >conftest.err
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } && {
16986 test -z "$ac_cxx_werror_flag" ||
16987 test ! -s conftest.err
16988 } && test -s conftest.$ac_objext; then
16989 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16994 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17003 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17004 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17010 ac_cpp='$CPP $CPPFLAGS'
17011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17020 ac_cpp='$CXXCPP $CPPFLAGS'
17021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17025 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17026 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17027 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 cat >conftest.$ac_ext <<_ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17041 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17049 rm -f conftest.$ac_objext
17050 if { (ac_try="$ac_compile"
17051 case "(($ac_try" in
17052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17053 *) ac_try_echo
=$ac_try;;
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_compile") 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } && {
17063 test -z "$ac_cxx_werror_flag" ||
17064 test ! -s conftest.err
17065 } && test -s conftest.
$ac_objext; then
17066 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.
$ac_ext >&5
17071 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17079 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17080 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17081 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17087 ac_cpp
='$CPP $CPPFLAGS'
17088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17096 if test "x$GCXX" != "xyes"; then
17097 if test "xCXX" = "xC"; then
17098 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17099 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17100 if test "${bakefile_cv_c_exto+set}" = set; then
17101 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 cat >conftest.
$ac_ext <<_ACEOF
17106 cat confdefs.h
>>conftest.
$ac_ext
17107 cat >>conftest.
$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17118 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17120 (eval $ac_compile) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; then
17124 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17126 conftest.
$ac_ext.o
)
17127 bakefile_cv_c_exto
="-ext o"
17134 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17135 See \`config.log' for more details." >&5
17136 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17137 See \`config.log' for more details." >&2;}
17138 { (exit 1); exit 1; }; }
17142 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17145 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17146 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17147 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17148 if test "c" = "c"; then
17149 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17151 if test "c" = "cxx"; then
17152 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17156 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17157 unset ac_cv_prog_cc_g
17158 ac_test_CFLAGS
=${CFLAGS+set}
17159 ac_save_CFLAGS
=$CFLAGS
17160 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17161 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17162 if test "${ac_cv_prog_cc_g+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 ac_save_c_werror_flag
=$ac_c_werror_flag
17166 ac_c_werror_flag
=yes
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17184 rm -f conftest.
$ac_objext
17185 if { (ac_try
="$ac_compile"
17186 case "(($ac_try" in
17187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17188 *) ac_try_echo=$ac_try;;
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_compile") 2>conftest.er1
17193 grep -v '^ *+' conftest.er1 >conftest.err
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && {
17198 test -z "$ac_c_werror_flag" ||
17199 test ! -s conftest.err
17200 } && test -s conftest.$ac_objext; then
17201 ac_cv_prog_cc_g=yes
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17207 cat >conftest.$ac_ext <<_ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17222 rm -f conftest.$ac_objext
17223 if { (ac_try="$ac_compile"
17224 case "(($ac_try" in
17225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17226 *) ac_try_echo
=$ac_try;;
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_compile") 2>conftest.er1
17231 grep -v '^ *+' conftest.er1
>conftest.err
17233 cat conftest.err
>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } && {
17236 test -z "$ac_c_werror_flag" ||
17237 test ! -s conftest.err
17238 } && test -s conftest.
$ac_objext; then
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.
$ac_ext >&5
17244 ac_c_werror_flag
=$ac_save_c_werror_flag
17246 cat >conftest.
$ac_ext <<_ACEOF
17249 cat confdefs.h
>>conftest.
$ac_ext
17250 cat >>conftest.
$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17261 rm -f conftest.
$ac_objext
17262 if { (ac_try
="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1 >conftest.err
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.$ac_objext; then
17278 ac_cv_prog_cc_g=yes
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 ac_c_werror_flag=$ac_save_c_werror_flag
17295 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17296 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17297 if test "$ac_test_CFLAGS" = set; then
17298 CFLAGS=$ac_save_CFLAGS
17299 elif test $ac_cv_prog_cc_g = yes; then
17300 if test "$GCC" = yes; then
17306 if test "$GCC" = yes; then
17320 ac_cpp='$CXXCPP $CPPFLAGS'
17321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17325 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17326 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17327 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17349 rm -f conftest.$ac_objext
17350 if { (ac_try="$ac_compile"
17351 case "(($ac_try" in
17352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17353 *) ac_try_echo
=$ac_try;;
17355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_compile") 2>conftest.er1
17358 grep -v '^ *+' conftest.er1
>conftest.err
17360 cat conftest.err
>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } && {
17363 test -z "$ac_cxx_werror_flag" ||
17364 test ! -s conftest.err
17365 } && test -s conftest.
$ac_objext; then
17366 bakefile_cv_cxx_compiler___xlC__
=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 bakefile_cv_cxx_compiler___xlC__
=no
17375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17379 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17381 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17387 ac_cpp
='$CPP $CPPFLAGS'
17388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17400 ac_cpp
='$CXXCPP $CPPFLAGS'
17401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17405 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17406 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17407 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 cat >conftest.
$ac_ext <<_ACEOF
17413 cat confdefs.h
>>conftest.
$ac_ext
17414 cat >>conftest.
$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17429 rm -f conftest.
$ac_objext
17430 if { (ac_try
="$ac_compile"
17431 case "(($ac_try" in
17432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_compile") 2>conftest.er1
17438 grep -v '^ *+' conftest.er1 >conftest.err
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } && {
17443 test -z "$ac_cxx_werror_flag" ||
17444 test ! -s conftest.err
17445 } && test -s conftest.$ac_objext; then
17446 bakefile_cv_cxx_compiler___MWERKS__=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17451 bakefile_cv_cxx_compiler___MWERKS__=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17460 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17461 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17467 ac_cpp='$CPP $CPPFLAGS'
17468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17474 if test "$MWCXX" != "yes"; then
17478 ac_cpp='$CXXCPP $CPPFLAGS'
17479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17483 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17484 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17485 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17486 echo $ECHO_N "(cached) $ECHO_C" >&6
17488 cat >conftest.$ac_ext <<_ACEOF
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17507 rm -f conftest.$ac_objext
17508 if { (ac_try="$ac_compile"
17509 case "(($ac_try" in
17510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17511 *) ac_try_echo
=$ac_try;;
17513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17514 (eval "$ac_compile") 2>conftest.er1
17516 grep -v '^ *+' conftest.er1
>conftest.err
17518 cat conftest.err
>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } && {
17521 test -z "$ac_cxx_werror_flag" ||
17522 test ! -s conftest.err
17523 } && test -s conftest.
$ac_objext; then
17524 bakefile_cv_cxx_compiler___xlC__
=yes
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.
$ac_ext >&5
17529 bakefile_cv_cxx_compiler___xlC__
=no
17533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17537 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17538 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17539 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17545 ac_cpp
='$CPP $CPPFLAGS'
17546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17559 ac_cpp
='$CXXCPP $CPPFLAGS'
17560 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17561 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17562 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17564 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17565 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17566 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17567 echo $ECHO_N "(cached) $ECHO_C" >&6
17569 cat >conftest.
$ac_ext <<_ACEOF
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17580 #ifndef _SGI_COMPILER_VERSION
17588 rm -f conftest.
$ac_objext
17589 if { (ac_try
="$ac_compile"
17590 case "(($ac_try" in
17591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17592 *) ac_try_echo=$ac_try;;
17594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17595 (eval "$ac_compile") 2>conftest.er1
17597 grep -v '^ *+' conftest.er1 >conftest.err
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } && {
17602 test -z "$ac_cxx_werror_flag" ||
17603 test ! -s conftest.err
17604 } && test -s conftest.$ac_objext; then
17605 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17610 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17618 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17619 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17620 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17636 if test "$INTELCXX" != "yes"; then
17640 ac_cpp='$CXXCPP $CPPFLAGS'
17641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17645 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17646 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17647 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 cat >conftest.$ac_ext <<_ACEOF
17653 cat confdefs.h >>conftest.$ac_ext
17654 cat >>conftest.$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17661 #ifndef __SUNPRO_CC
17669 rm -f conftest.$ac_objext
17670 if { (ac_try="$ac_compile"
17671 case "(($ac_try" in
17672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17673 *) ac_try_echo
=$ac_try;;
17675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17676 (eval "$ac_compile") 2>conftest.er1
17678 grep -v '^ *+' conftest.er1
>conftest.err
17680 cat conftest.err
>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } && {
17683 test -z "$ac_cxx_werror_flag" ||
17684 test ! -s conftest.err
17685 } && test -s conftest.
$ac_objext; then
17686 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.
$ac_ext >&5
17691 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17699 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17700 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17701 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17707 ac_cpp
='$CPP $CPPFLAGS'
17708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17721 ac_cpp
='$CXXCPP $CPPFLAGS'
17722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17726 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17727 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17728 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17750 rm -f conftest.
$ac_objext
17751 if { (ac_try
="$ac_compile"
17752 case "(($ac_try" in
17753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17754 *) ac_try_echo=$ac_try;;
17756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17757 (eval "$ac_compile") 2>conftest.er1
17759 grep -v '^ *+' conftest.er1 >conftest.err
17761 cat conftest.err >&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } && {
17764 test -z "$ac_cxx_werror_flag" ||
17765 test ! -s conftest.err
17766 } && test -s conftest.$ac_objext; then
17767 bakefile_cv_cxx_compiler___HP_aCC=yes
17769 echo "$as_me: failed program was:" >&5
17770 sed 's/^/| /' conftest.$ac_ext >&5
17772 bakefile_cv_cxx_compiler___HP_aCC=no
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17781 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17782 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17788 ac_cpp='$CPP $CPPFLAGS'
17789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17801 ac_cpp='$CXXCPP $CPPFLAGS'
17802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17806 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17807 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17808 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17834 *) ac_try_echo
=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_cxx_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.
$ac_objext; then
17847 bakefile_cv_cxx_compiler___DECCXX
=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.
$ac_ext >&5
17852 bakefile_cv_cxx_compiler___DECCXX
=no
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17861 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17862 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17868 ac_cpp
='$CPP $CPPFLAGS'
17869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17881 ac_cpp
='$CXXCPP $CPPFLAGS'
17882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17886 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17887 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17888 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 cat >conftest.
$ac_ext <<_ACEOF
17894 cat confdefs.h
>>conftest.
$ac_ext
17895 cat >>conftest.
$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17902 #ifndef __SUNPRO_CC
17910 rm -f conftest.
$ac_objext
17911 if { (ac_try
="$ac_compile"
17912 case "(($ac_try" in
17913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_compile") 2>conftest.er1
17919 grep -v '^ *+' conftest.er1 >conftest.err
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_cxx_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest.$ac_objext; then
17927 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17932 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17941 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17942 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17961 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17962 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17963 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17964 { (exit 1); exit 1; }; }
17967 if test "x$SUNCXX" != xyes; then
17968 if test -n "$ac_tool_prefix"; then
17969 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17970 set dummy ${ac_tool_prefix}ar; ac_word=$2
17971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17973 if test "${ac_cv_prog_AR+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 if test -n "$AR"; then
17977 ac_cv_prog_AR="$AR" # Let the user override the test.
17979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17980 for as_dir in $PATH
17983 test -z "$as_dir" && as_dir=.
17984 for ac_exec_ext in '' $ac_executable_extensions; do
17985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17986 ac_cv_prog_AR="${ac_tool_prefix}ar"
17987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17997 if test -n "$AR"; then
17998 { echo "$as_me:$LINENO: result: $AR" >&5
17999 echo "${ECHO_T}$AR" >&6; }
18001 { echo "$as_me:$LINENO: result: no" >&5
18002 echo "${ECHO_T}no" >&6; }
18007 if test -z "$ac_cv_prog_AR"; then
18009 # Extract the first word of "ar", so it can be a program name with args.
18010 set dummy ar; ac_word=$2
18011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18013 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 if test -n "$ac_ct_AR"; then
18017 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18020 for as_dir in $PATH
18023 test -z "$as_dir" && as_dir=.
18024 for ac_exec_ext in '' $ac_executable_extensions; do
18025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18026 ac_cv_prog_ac_ct_AR="ar"
18027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18036 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18037 if test -n "$ac_ct_AR"; then
18038 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18039 echo "${ECHO_T}$ac_ct_AR" >&6; }
18041 { echo "$as_me:$LINENO: result: no" >&5
18042 echo "${ECHO_T}no" >&6; }
18045 if test "x$ac_ct_AR" = x; then
18048 case $cross_compiling:$ac_tool_warned in
18050 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18051 whose name does not start with the host triplet. If you think this
18052 configuration is useful to you, please write to autoconf@gnu.org." >&5
18053 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18054 whose name does not start with the host triplet. If you think this
18055 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18056 ac_tool_warned=yes ;;
18061 AR="$ac_cv_prog_AR"
18064 if test "x$AR" = "x" ; then
18065 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18066 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18067 { (exit 1); exit 1; }; }
18071 retest_macosx_linking=no
18073 #if test "$wxUSE_MAC" = 1; then
18074 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18075 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18076 # Implicitly turn on the new --with-macosx-sdk using the default
18077 # SDK which provides the behavior this option has always had.
18078 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18079 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18080 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18081 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18082 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18083 wxUSE_MACOSX_SDK=yes
18086 # Complain to user if he specified an argument to --enable-universal_binary
18087 # and also 1) specified --with-macosx-sdk using the default (yes) or
18088 # 2) specified --with-macosx-sdk using a path or 3) specified
18089 # --without-macosx-sdk (no).
18090 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18091 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18092 See \`config.log
' for more details." >&5
18093 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18094 See \`config.log' for more details.
" >&2;}
18095 { (exit 1); exit 1; }; }
18097 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18098 # special-case the empty string because the below test simply
18099 # converts "no
" to the empty string anyway.
18100 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18101 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18102 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18105 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18106 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18107 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18108 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18109 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18110 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18111 retest_macosx_linking=yes
18113 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18114 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18119 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18121 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18122 # TODO: Search for most recent SDK and use it.
18123 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18127 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18128 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18129 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18130 if ! test -d "$wxUSE_MACOSX_SDK"; then
18131 { { echo "$as_me:$LINENO: error
: not found
18132 See \
`config.log' for more details." >&5
18133 echo "$as_me: error: not found
18134 See \`config.log
' for more details." >&2;}
18135 { (exit 1); exit 1; }; }
18137 { echo "$as_me:$LINENO: result: exists" >&5
18138 echo "${ECHO_T}exists" >&6; }
18140 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18141 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18142 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18143 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18144 retest_macosx_linking=yes
18147 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18148 wxUSE_MACOSX_VERSION_MIN=
18149 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18150 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18151 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18152 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18154 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/'`
18156 # If that failed, try again with the new key
18157 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18159 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/'`
18163 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18164 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18165 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18166 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18168 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18169 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18170 wxUSE_MACOSX_VERSION_MIN=
18173 wxUSE_MACOSX_VERSION_MIN=
18175 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18176 if test "$wxUSE_MAC" = 1; then
18177 # otherwise configure stops on leopard for universal_binary
18178 wxUSE_MACOSX_VERSION_MIN=10.4
18182 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18183 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18184 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18185 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18186 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18187 retest_macosx_linking=yes
18190 if test "x$retest_macosx_linking" = "xyes"; then
18192 ac_cpp='$CPP $CPPFLAGS'
18193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18194 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18197 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18198 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18199 cat >conftest.$ac_ext <<_ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18214 rm -f conftest.$ac_objext conftest$ac_exeext
18215 if { (ac_try="$ac_link"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_link") 2>conftest.er1
18223 grep -v '^
*+' conftest.er1 >conftest.err
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_c_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest$ac_exeext &&
18231 $as_test_x conftest$ac_exeext; then
18232 { echo "$as_me:$LINENO: result: yes" >&5
18233 echo "${ECHO_T}yes" >&6; }
18235 echo "$as_me: failed program was:" >&5
18236 sed 's
/^
/| /' conftest.$ac_ext >&5
18238 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18239 See \`config.log' for more details.
" >&5
18240 echo "$as_me: error
: no. Try a different SDK
18241 See \
`config.log' for more details." >&2;}
18242 { (exit 1); exit 1; }; }; exit 1
18245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18246 conftest$ac_exeext conftest.$ac_ext
18248 ac_cpp='$CPP $CPPFLAGS'
18249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18255 ac_cpp='$CXXCPP $CPPFLAGS'
18256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18260 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18261 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18277 rm -f conftest.$ac_objext conftest$ac_exeext
18278 if { (ac_try="$ac_link"
18279 case "(($ac_try" in
18280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18281 *) ac_try_echo
=$ac_try;;
18283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18284 (eval "$ac_link") 2>conftest.er1
18286 grep -v '^ *+' conftest.er1
>conftest.err
18288 cat conftest.err
>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); } && {
18291 test -z "$ac_cxx_werror_flag" ||
18292 test ! -s conftest.err
18293 } && test -s conftest
$ac_exeext &&
18294 $as_test_x conftest
$ac_exeext; then
18295 { echo "$as_me:$LINENO: result: yes" >&5
18296 echo "${ECHO_T}yes" >&6; }
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.
$ac_ext >&5
18301 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18302 See \`config.log' for more details." >&5
18303 echo "$as_me: error: no. Try a different SDK
18304 See \`config.log' for more details." >&2;}
18305 { (exit 1); exit 1; }; }; exit 1
18308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18309 conftest
$ac_exeext conftest.
$ac_ext
18311 ac_cpp
='$CPP $CPPFLAGS'
18312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18322 INSTALL_PROGRAM
="cp -fp"
18323 INSTALL_DATA
="cp -fp"
18330 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18331 CXXFLAGS
="-qunique $CXXFLAGS"
18335 powerpc
-*-darwin* )
18336 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18337 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18338 cat >conftest.
$ac_ext <<_ACEOF
18341 cat confdefs.h
>>conftest.
$ac_ext
18342 cat >>conftest.
$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18348 #ifndef __POWERPC__
18349 choke me for lack of PowerPC
18356 rm -f conftest.
$ac_objext
18357 if { (ac_try
="$ac_compile"
18358 case "(($ac_try" in
18359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_compile") 2>conftest.er1
18365 grep -v '^ *+' conftest.er1 >conftest.err
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } && {
18370 test -z "$ac_c_werror_flag" ||
18371 test ! -s conftest.err
18372 } && test -s conftest.$ac_objext; then
18373 { echo "$as_me:$LINENO: result: yes" >&5
18374 echo "${ECHO_T}yes" >&6; }
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 { echo "$as_me:$LINENO: result: no" >&5
18380 echo "${ECHO_T}no" >&6; }
18381 cat >>confdefs.h <<\_ACEOF
18382 #define __POWERPC__ 1
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18395 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18396 cat >conftest.$ac_ext <<_ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 #include <CoreFoundation/CFBase.h>
18412 rm -f conftest.$ac_objext
18413 if { (ac_try="$ac_compile"
18414 case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18416 *) ac_try_echo
=$ac_try;;
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_compile") 2>conftest.er1
18421 grep -v '^ *+' conftest.er1
>conftest.err
18423 cat conftest.err
>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && {
18426 test -z "$ac_c_werror_flag" ||
18427 test ! -s conftest.err
18428 } && test -s conftest.
$ac_objext; then
18429 { echo "$as_me:$LINENO: result: yes" >&5
18430 echo "${ECHO_T}yes" >&6; }
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 { echo "$as_me:$LINENO: result: no" >&5
18436 echo "${ECHO_T}no" >&6; }
18437 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18438 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18439 cat >conftest.
$ac_ext <<_ACEOF
18442 cat confdefs.h
>>conftest.
$ac_ext
18443 cat >>conftest.
$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18445 #define __CF_USE_FRAMEWORK_INCLUDES__
18446 #include <CoreFoundation/CFBase.h>
18456 rm -f conftest.
$ac_objext
18457 if { (ac_try
="$ac_compile"
18458 case "(($ac_try" in
18459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18460 *) ac_try_echo=$ac_try;;
18462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18463 (eval "$ac_compile") 2>conftest.er1
18465 grep -v '^ *+' conftest.er1 >conftest.err
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } && {
18470 test -z "$ac_c_werror_flag" ||
18471 test ! -s conftest.err
18472 } && test -s conftest.$ac_objext; then
18473 { echo "$as_me:$LINENO: result: yes" >&5
18474 echo "${ECHO_T}yes" >&6; }
18475 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.$ac_ext >&5
18480 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18481 See \`config.log
' for more details." >&5
18482 echo "$as_me: error: no. CoreFoundation not available.
18483 See \`config.log' for more details.
" >&2;}
18484 { (exit 1); exit 1; }; }
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 doesnt_want_win32=0
18501 if test "$wxUSE_MSW" = 1 ; then
18504 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18505 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18506 if test "${wx_cv_nocygwin+set}" = set; then
18507 echo $ECHO_N "(cached
) $ECHO_C" >&6
18510 cat >conftest.$ac_ext <<_ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18548 echo "$as_me: failed program was
:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18560 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18562 if test "$wx_cv_nocygwin" = "yes"; then
18565 doesnt_want_win32=1
18568 if test "$wants_win32" = 1 ; then
18569 BAKEFILE_FORCE_PLATFORM=win32
18577 if test "$wxUSE_WINE" = "yes"; then
18579 LDFLAGS_GUI="-mwindows"
18582 if test "$wants_win32" = 1 ; then
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WIN32__ 1
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __WIN95__ 1
18593 cat >>confdefs.h <<\_ACEOF
18594 #define __WINDOWS__ 1
18597 cat >>confdefs.h <<\_ACEOF
18598 #define __GNUWIN32__ 1
18601 cat >>confdefs.h <<\_ACEOF
18606 if test "$doesnt_want_win32" = 1 ; then
18611 if test "$USE_UNIX" = 1 ; then
18613 cat >>confdefs.h <<\_ACEOF
18620 *-pc-os2_emx | *-pc-os2-emx )
18621 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18622 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18623 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18624 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18625 echo $ECHO_N "(cached
) $ECHO_C" >&6
18627 ac_check_lib_save_LIBS=$LIBS
18628 LIBS="-lcExt $LIBS"
18629 cat >conftest.$ac_ext <<_ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18636 /* Override any GCC internal prototype to avoid an error.
18637 Use char because int might match the return type of a GCC
18638 builtin and then its argument prototype would still apply. */
18651 rm -f conftest.$ac_objext conftest$ac_exeext
18652 if { (ac_try="$ac_link"
18653 case "(($ac_try" in
18654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18655 *) ac_try_echo=$ac_try;;
18657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18658 (eval "$ac_link") 2>conftest.er1
18660 grep -v '^ *+' conftest.er1 >conftest.err
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18664 (exit $ac_status); } && {
18665 test -z "$ac_c_werror_flag" ||
18666 test ! -s conftest.err
18667 } && test -s conftest$ac_exeext &&
18668 $as_test_x conftest$ac_exeext; then
18669 ac_cv_lib_cExt_drand48=yes
18671 echo "$as_me: failed program was
:" >&5
18672 sed 's/^/| /' conftest.$ac_ext >&5
18674 ac_cv_lib_cExt_drand48=no
18677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18678 conftest$ac_exeext conftest.$ac_ext
18679 LIBS=$ac_check_lib_save_LIBS
18681 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18682 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18683 if test $ac_cv_lib_cExt_drand48 = yes; then
18684 LIBS="$LIBS -lcExt"
18688 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18690 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18691 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18692 if test "${wx_cv_gccversion+set}" = set; then
18693 echo $ECHO_N "(cached
) $ECHO_C" >&6
18696 if test "$cross_compiling" = yes; then
18697 wx_cv_gccversion="EMX2
"
18700 cat >conftest.$ac_ext <<_ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18711 FILE *f=fopen("conftestval
", "w
");
18716 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18718 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18728 rm -f conftest$ac_exeext
18729 if { (ac_try="$ac_link"
18730 case "(($ac_try" in
18731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18732 *) ac_try_echo=$ac_try;;
18734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_link") 2>&5
18737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18739 { (case "(($ac_try" in
18740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18741 *) ac_try_echo=$ac_try;;
18743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18744 (eval "$ac_try") 2>&5
18746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18747 (exit $ac_status); }; }; then
18748 wx_cv_gccversion=`cat conftestval`
18750 echo "$as_me: program exited with status
$ac_status" >&5
18751 echo "$as_me: failed program was
:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 ( exit $ac_status )
18755 wx_cv_gccversion="EMX2
"
18757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18763 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18764 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18765 if test "$wx_cv_gccversion" = "EMX2
"; then
18766 LIBS="$LIBS -lstdcpp"
18767 LDFLAGS="$LDFLAGS -Zsysv-signals"
18769 if test "$wx_cv_gccversion" = "EMX3
"; then
18770 LIBS="$LIBS -lstdcxx -lgcc"
18771 LDFLAGS="$LDFLAGS -Zsysv-signals"
18773 LIBS="$LIBS -lstdc++"
18776 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18777 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18778 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18785 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18786 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18787 if test "${ac_cv_string_strcasecmp+set}" = set; then
18788 echo $ECHO_N "(cached
) $ECHO_C" >&6
18791 cat >conftest.$ac_ext <<_ACEOF
18794 cat confdefs.h >>conftest.$ac_ext
18795 cat >>conftest.$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18798 #include <string.h>
18804 strcasecmp("foo
", "bar
");
18810 rm -f conftest.$ac_objext conftest$ac_exeext
18811 if { (ac_try="$ac_link"
18812 case "(($ac_try" in
18813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_link") 2>conftest.er1
18819 grep -v '^ *+' conftest.er1 >conftest.err
18821 cat conftest.err >&5
18822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18823 (exit $ac_status); } && {
18824 test -z "$ac_c_werror_flag" ||
18825 test ! -s conftest.err
18826 } && test -s conftest$ac_exeext &&
18827 $as_test_x conftest$ac_exeext; then
18828 ac_cv_string_strcasecmp=yes
18830 echo "$as_me: failed program was
:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18833 ac_cv_string_strcasecmp=no
18837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18838 conftest$ac_exeext conftest.$ac_ext
18841 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18842 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18844 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18845 cat >>confdefs.h <<\_ACEOF
18846 #define HAVE_STRCASECMP_IN_STRING_H 1
18850 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18851 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18852 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18853 echo $ECHO_N "(cached
) $ECHO_C" >&6
18856 cat >conftest.$ac_ext <<_ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18863 #include <strings.h>
18869 strcasecmp("foo
", "bar
");
18875 rm -f conftest.$ac_objext conftest$ac_exeext
18876 if { (ac_try="$ac_link"
18877 case "(($ac_try" in
18878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18882 (eval "$ac_link") 2>conftest.er1
18884 grep -v '^ *+' conftest.er1 >conftest.err
18886 cat conftest.err >&5
18887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18888 (exit $ac_status); } && {
18889 test -z "$ac_c_werror_flag" ||
18890 test ! -s conftest.err
18891 } && test -s conftest$ac_exeext &&
18892 $as_test_x conftest$ac_exeext; then
18893 ac_cv_strings_strcasecmp=yes
18895 echo "$as_me: failed program was
:" >&5
18896 sed 's/^/| /' conftest.$ac_ext >&5
18898 ac_cv_strings_strcasecmp=no
18902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18903 conftest$ac_exeext conftest.$ac_ext
18906 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18907 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18909 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18910 cat >>confdefs.h <<\_ACEOF
18911 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18915 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18916 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18917 { (exit 1); exit 1; }; }
18925 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18926 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18927 if test "${ac_cv_header_stdc+set}" = set; then
18928 echo $ECHO_N "(cached
) $ECHO_C" >&6
18930 cat >conftest.$ac_ext <<_ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #include <stdlib.h>
18937 #include <stdarg.h>
18938 #include <string.h>
18949 rm -f conftest.$ac_objext
18950 if { (ac_try="$ac_compile"
18951 case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_compile") 2>conftest.er1
18958 grep -v '^ *+' conftest.er1 >conftest.err
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18962 (exit $ac_status); } && {
18963 test -z "$ac_c_werror_flag" ||
18964 test ! -s conftest.err
18965 } && test -s conftest.$ac_objext; then
18966 ac_cv_header_stdc=yes
18968 echo "$as_me: failed program was
:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 ac_cv_header_stdc=no
18974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18976 if test $ac_cv_header_stdc = yes; then
18977 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18978 cat >conftest.$ac_ext <<_ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <string.h>
18987 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18988 $EGREP "memchr
" >/dev/null 2>&1; then
18991 ac_cv_header_stdc=no
18997 if test $ac_cv_header_stdc = yes; then
18998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18999 cat >conftest.$ac_ext <<_ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 #include <stdlib.h>
19008 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19009 $EGREP "free
" >/dev/null 2>&1; then
19012 ac_cv_header_stdc=no
19018 if test $ac_cv_header_stdc = yes; then
19019 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19020 if test "$cross_compiling" = yes; then
19023 cat >conftest.$ac_ext <<_ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19030 #include <stdlib.h>
19031 #if ((' ' & 0x0FF) == 0x020)
19032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19035 # define ISLOWER(c) \
19036 (('a' <= (c) && (c) <= 'i') \
19037 || ('j' <= (c) && (c) <= 'r') \
19038 || ('s' <= (c) && (c) <= 'z'))
19039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19047 for (i = 0; i < 256; i++)
19048 if (XOR (islower (i), ISLOWER (i))
19049 || toupper (i) != TOUPPER (i))
19054 rm -f conftest$ac_exeext
19055 if { (ac_try="$ac_link"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_link") 2>&5
19063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19065 { (case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_try") 2>&5
19072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19073 (exit $ac_status); }; }; then
19076 echo "$as_me: program exited with status
$ac_status" >&5
19077 echo "$as_me: failed program was
:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 ( exit $ac_status )
19081 ac_cv_header_stdc=no
19083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19089 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19090 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19091 if test $ac_cv_header_stdc = yes; then
19093 cat >>confdefs.h <<\_ACEOF
19094 #define STDC_HEADERS 1
19099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19110 inttypes.h stdint.h unistd.h
19112 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19113 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19114 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19115 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19116 echo $ECHO_N "(cached
) $ECHO_C" >&6
19118 cat >conftest.$ac_ext <<_ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 $ac_includes_default
19126 #include <$ac_header>
19128 rm -f conftest.$ac_objext
19129 if { (ac_try="$ac_compile"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19145 eval "$as_ac_Header=yes"
19147 echo "$as_me: failed program was
:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 eval "$as_ac_Header=no
"
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155 ac_res=`eval echo '${'$as_ac_Header'}'`
19156 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19157 echo "${ECHO_T}$ac_res" >&6; }
19158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19159 cat >>confdefs.h <<_ACEOF
19160 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19170 for ac_header in langinfo.h wchar.h
19172 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19173 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19174 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19175 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19176 echo $ECHO_N "(cached
) $ECHO_C" >&6
19178 cat >conftest.$ac_ext <<_ACEOF
19181 cat confdefs.h >>conftest.$ac_ext
19182 cat >>conftest.$ac_ext <<_ACEOF
19183 /* end confdefs.h. */
19184 $ac_includes_default
19186 #include <$ac_header>
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19197 grep -v '^ *+' conftest.er1 >conftest.err
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19205 eval "$as_ac_Header=yes"
19207 echo "$as_me: failed program was
:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19210 eval "$as_ac_Header=no
"
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 ac_res=`eval echo '${'$as_ac_Header'}'`
19216 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19217 echo "${ECHO_T}$ac_res" >&6; }
19218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19219 cat >>confdefs.h <<_ACEOF
19220 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19228 if test "$ac_cv_header_wchar_h" != "yes"; then
19230 for ac_header in wcstr.h
19232 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19233 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19234 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19235 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19236 echo $ECHO_N "(cached
) $ECHO_C" >&6
19238 cat >conftest.$ac_ext <<_ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 $ac_includes_default
19246 #include <$ac_header>
19248 rm -f conftest.$ac_objext
19249 if { (ac_try="$ac_compile"
19250 case "(($ac_try" in
19251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_compile") 2>conftest.er1
19257 grep -v '^ *+' conftest.er1 >conftest.err
19259 cat conftest.err >&5
19260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19261 (exit $ac_status); } && {
19262 test -z "$ac_c_werror_flag" ||
19263 test ! -s conftest.err
19264 } && test -s conftest.$ac_objext; then
19265 eval "$as_ac_Header=yes"
19267 echo "$as_me: failed program was
:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19270 eval "$as_ac_Header=no
"
19273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19275 ac_res=`eval echo '${'$as_ac_Header'}'`
19276 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19277 echo "${ECHO_T}$ac_res" >&6; }
19278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19279 cat >>confdefs.h <<_ACEOF
19280 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19290 *-pc-os2_emx | *-pc-os2-emx )
19291 if test $ac_cv_header_langinfo_h = "yes" \
19292 -a \( "$wx_cv_gccversion" = "EMX2
" \
19293 -o "$wx_cv_gccversion" = "EMX3
" \
19294 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19295 LIBS="$LIBS -lintl"
19300 if test "$USE_UNIX" = 1 ; then
19302 for ac_header in sys/select.h
19304 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19305 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19306 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19307 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19308 echo $ECHO_N "(cached
) $ECHO_C" >&6
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19318 #include <$ac_header>
19320 rm -f conftest.$ac_objext
19321 if { (ac_try="$ac_compile"
19322 case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_compile") 2>conftest.er1
19329 grep -v '^ *+' conftest.er1 >conftest.err
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19333 (exit $ac_status); } && {
19334 test -z "$ac_c_werror_flag" ||
19335 test ! -s conftest.err
19336 } && test -s conftest.$ac_objext; then
19337 eval "$as_ac_Header=yes"
19339 echo "$as_me: failed program was
:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19342 eval "$as_ac_Header=no
"
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 ac_res=`eval echo '${'$as_ac_Header'}'`
19348 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19349 echo "${ECHO_T}$ac_res" >&6; }
19350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19351 cat >>confdefs.h <<_ACEOF
19352 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19362 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19363 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19364 if test "${ac_cv_c_const+set}" = set; then
19365 echo $ECHO_N "(cached
) $ECHO_C" >&6
19367 cat >conftest.$ac_ext <<_ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19377 /* FIXME: Include the comments suggested by Paul. */
19378 #ifndef __cplusplus
19379 /* Ultrix mips cc rejects this. */
19380 typedef int charset[2];
19382 /* SunOS 4.1.1 cc rejects this. */
19383 char const *const *pcpcc;
19385 /* NEC SVR4.0.2 mips cc rejects this. */
19386 struct point {int x, y;};
19387 static struct point const zero = {0,0};
19388 /* AIX XL C 1.02.0.0 rejects this.
19389 It does not let you subtract one const X* pointer from another in
19390 an arm of an if-expression whose if-part is not a constant
19392 const char *g = "string
";
19393 pcpcc = &g + (g ? g-g : 0);
19394 /* HPUX 7.0 cc rejects these. */
19396 ppc = (char**) pcpcc;
19397 pcpcc = (char const *const *) ppc;
19398 { /* SCO 3.2v4 cc rejects this. */
19400 char const *s = 0 ? (char *) 0 : (char const *) 0;
19405 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19406 int x[] = {25, 17};
19407 const int *foo = &x[0];
19410 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19411 typedef const int *iptr;
19415 { /* AIX XL C 1.02.0.0 rejects this saying
19416 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19417 struct s { int j; const int *ap[3]; };
19418 struct s *b; b->j = 5;
19420 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19421 const int foo = 10;
19422 if (!foo) return 0;
19424 return !cs[0] && !zero.x;
19431 rm -f conftest.$ac_objext
19432 if { (ac_try="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19435 *) ac_try_echo=$ac_try;;
19437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19440 grep -v '^ *+' conftest.er1 >conftest.err
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19444 (exit $ac_status); } && {
19445 test -z "$ac_c_werror_flag" ||
19446 test ! -s conftest.err
19447 } && test -s conftest.$ac_objext; then
19450 echo "$as_me: failed program was
:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19459 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19460 if test $ac_cv_c_const = no; then
19462 cat >>confdefs.h <<\_ACEOF
19468 { echo "$as_me:$LINENO: checking
for inline
" >&5
19469 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19470 if test "${ac_cv_c_inline+set}" = set; then
19471 echo $ECHO_N "(cached
) $ECHO_C" >&6
19474 for ac_kw in inline __inline__ __inline; do
19475 cat >conftest.$ac_ext <<_ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 #ifndef __cplusplus
19483 static $ac_kw foo_t static_foo () {return 0; }
19484 $ac_kw foo_t foo () {return 0; }
19488 rm -f conftest.$ac_objext
19489 if { (ac_try="$ac_compile"
19490 case "(($ac_try" in
19491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19492 *) ac_try_echo=$ac_try;;
19494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19495 (eval "$ac_compile") 2>conftest.er1
19497 grep -v '^ *+' conftest.er1 >conftest.err
19499 cat conftest.err >&5
19500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19501 (exit $ac_status); } && {
19502 test -z "$ac_c_werror_flag" ||
19503 test ! -s conftest.err
19504 } && test -s conftest.$ac_objext; then
19505 ac_cv_c_inline=$ac_kw
19507 echo "$as_me: failed program was
:" >&5
19508 sed 's/^/| /' conftest.$ac_ext >&5
19513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 test "$ac_cv_c_inline" != no && break
19518 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19519 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19522 case $ac_cv_c_inline in
19525 case $ac_cv_c_inline in
19527 *) ac_val=$ac_cv_c_inline;;
19529 cat >>confdefs.h <<_ACEOF
19530 #ifndef __cplusplus
19531 #define inline $ac_val
19538 { echo "$as_me:$LINENO: checking
for short
" >&5
19539 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19540 if test "${ac_cv_type_short+set}" = set; then
19541 echo $ECHO_N "(cached
) $ECHO_C" >&6
19543 cat >conftest.$ac_ext <<_ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19550 typedef short ac__type_new_;
19554 if ((ac__type_new_ *) 0)
19556 if (sizeof (ac__type_new_))
19562 rm -f conftest.$ac_objext
19563 if { (ac_try="$ac_compile"
19564 case "(($ac_try" in
19565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566 *) ac_try_echo=$ac_try;;
19568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19569 (eval "$ac_compile") 2>conftest.er1
19571 grep -v '^ *+' conftest.er1 >conftest.err
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19575 (exit $ac_status); } && {
19576 test -z "$ac_c_werror_flag" ||
19577 test ! -s conftest.err
19578 } && test -s conftest.$ac_objext; then
19579 ac_cv_type_short=yes
19581 echo "$as_me: failed program was
:" >&5
19582 sed 's/^/| /' conftest.$ac_ext >&5
19584 ac_cv_type_short=no
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19590 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19592 # The cast to long int works around a bug in the HP C Compiler
19593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19595 # This bug is HP SR number 8606223364.
19596 { echo "$as_me:$LINENO: checking size of short
" >&5
19597 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19598 if test "${ac_cv_sizeof_short+set}" = set; then
19599 echo $ECHO_N "(cached
) $ECHO_C" >&6
19601 if test "$cross_compiling" = yes; then
19602 # Depending upon the size, compute the lo and hi bounds.
19603 cat >conftest.$ac_ext <<_ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 typedef short ac__type_sizeof_;
19614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19630 grep -v '^ *+' conftest.er1 >conftest.err
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19640 cat >conftest.$ac_ext <<_ACEOF
19643 cat confdefs.h >>conftest.$ac_ext
19644 cat >>conftest.$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 $ac_includes_default
19647 typedef short ac__type_sizeof_;
19651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19667 grep -v '^ *+' conftest.er1 >conftest.err
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19675 ac_hi=$ac_mid; break
19677 echo "$as_me: failed program was
:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ac_lo=`expr $ac_mid + 1`
19681 if test $ac_lo -le $ac_mid; then
19685 ac_mid=`expr 2 '*' $ac_mid + 1`
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 echo "$as_me: failed program was
:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 cat >conftest.$ac_ext <<_ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19701 typedef short ac__type_sizeof_;
19705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19731 cat >conftest.$ac_ext <<_ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef short ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_lo=$ac_mid; break
19768 echo "$as_me: failed program was
:" >&5
19769 sed 's/^/| /' conftest.$ac_ext >&5
19771 ac_hi=`expr '(' $ac_mid ')' - 1`
19772 if test $ac_mid -le $ac_hi; then
19776 ac_mid=`expr 2 '*' $ac_mid`
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19782 echo "$as_me: failed program was
:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 # Binary search between lo and hi bounds.
19793 while test "x
$ac_lo" != "x
$ac_hi"; do
19794 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19795 cat >conftest.$ac_ext <<_ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19802 typedef short ac__type_sizeof_;
19806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19813 rm -f conftest.$ac_objext
19814 if { (ac_try="$ac_compile"
19815 case "(($ac_try" in
19816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19817 *) ac_try_echo=$ac_try;;
19819 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19820 (eval "$ac_compile") 2>conftest.er1
19822 grep -v '^ *+' conftest.er1 >conftest.err
19824 cat conftest.err >&5
19825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19826 (exit $ac_status); } && {
19827 test -z "$ac_c_werror_flag" ||
19828 test ! -s conftest.err
19829 } && test -s conftest.$ac_objext; then
19832 echo "$as_me: failed program was
:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 ac_lo=`expr '(' $ac_mid ')' + 1`
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19841 ?*) ac_cv_sizeof_short=$ac_lo;;
19842 '') if test "$ac_cv_type_short" = yes; then
19843 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19844 See \
`config.log' for more details." >&5
19845 echo "$as_me: error: cannot compute sizeof (short)
19846 See \`config.log
' for more details." >&2;}
19847 { (exit 77); exit 77; }; }
19849 ac_cv_sizeof_short=0
19853 cat >conftest.$ac_ext <<_ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 typedef short ac__type_sizeof_;
19861 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19862 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19864 #include <stdlib.h>
19869 FILE *f = fopen ("conftest.val", "w");
19872 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19874 long int i = longval ();
19875 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19877 fprintf (f, "%ld\n", i);
19881 unsigned long int i = ulongval ();
19882 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19884 fprintf (f, "%lu\n", i);
19886 return ferror (f) || fclose (f) != 0;
19892 rm -f conftest$ac_exeext
19893 if { (ac_try="$ac_link"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_link") 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19903 { (case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_try") 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19912 ac_cv_sizeof_short=`cat conftest.val`
19914 echo "$as_me: program exited with status $ac_status" >&5
19915 echo "$as_me: failed program was:" >&5
19916 sed 's
/^
/| /' conftest.$ac_ext >&5
19918 ( exit $ac_status )
19919 if test "$ac_cv_type_short" = yes; then
19920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19921 See \`config.log' for more details.
" >&5
19922 echo "$as_me: error
: cannot compute sizeof
(short
)
19923 See \
`config.log' for more details." >&2;}
19924 { (exit 77); exit 77; }; }
19926 ac_cv_sizeof_short=0
19929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19933 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19934 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19938 cat >>confdefs.h <<_ACEOF
19939 #define SIZEOF_SHORT $ac_cv_sizeof_short
19943 { echo "$as_me:$LINENO: checking for void *" >&5
19944 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19945 if test "${ac_cv_type_void_p+set}" = set; then
19946 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef void * ac__type_new_;
19959 if ((ac__type_new_ *) 0)
19961 if (sizeof (ac__type_new_))
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19971 *) ac_try_echo
=$ac_try;;
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19976 grep -v '^ *+' conftest.er1
>conftest.err
19978 cat conftest.err
>&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.
$ac_objext; then
19984 ac_cv_type_void_p
=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19989 ac_cv_type_void_p
=no
19992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19994 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19995 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19997 # The cast to long int works around a bug in the HP C Compiler
19998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20000 # This bug is HP SR number 8606223364.
20001 { echo "$as_me:$LINENO: checking size of void *" >&5
20002 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20003 if test "${ac_cv_sizeof_void_p+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 if test "$cross_compiling" = yes; then
20007 # Depending upon the size, compute the lo and hi bounds.
20008 cat >conftest.
$ac_ext <<_ACEOF
20011 cat confdefs.h
>>conftest.
$ac_ext
20012 cat >>conftest.
$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 $ac_includes_default
20015 typedef void * ac__type_sizeof_;
20019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20026 rm -f conftest.
$ac_objext
20027 if { (ac_try
="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20035 grep -v '^ *+' conftest.er1 >conftest.err
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20045 cat >conftest.$ac_ext <<_ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 typedef void * ac__type_sizeof_;
20056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20067 *) ac_try_echo
=$ac_try;;
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20072 grep -v '^ *+' conftest.er1
>conftest.err
20074 cat conftest.err
>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.
$ac_objext; then
20080 ac_hi
=$ac_mid; break
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.
$ac_ext >&5
20085 ac_lo
=`expr $ac_mid + 1`
20086 if test $ac_lo -le $ac_mid; then
20090 ac_mid
=`expr 2 '*' $ac_mid + 1`
20093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20096 echo "$as_me: failed program was:" >&5
20097 sed 's/^/| /' conftest.
$ac_ext >&5
20099 cat >conftest.
$ac_ext <<_ACEOF
20102 cat confdefs.h
>>conftest.
$ac_ext
20103 cat >>conftest.
$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105 $ac_includes_default
20106 typedef void * ac__type_sizeof_;
20110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20117 rm -f conftest.
$ac_objext
20118 if { (ac_try
="$ac_compile"
20119 case "(($ac_try" in
20120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20121 *) ac_try_echo=$ac_try;;
20123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20124 (eval "$ac_compile") 2>conftest.er1
20126 grep -v '^ *+' conftest.er1 >conftest.err
20128 cat conftest.err >&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } && {
20131 test -z "$ac_c_werror_flag" ||
20132 test ! -s conftest.err
20133 } && test -s conftest.$ac_objext; then
20136 cat >conftest.$ac_ext <<_ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef void * ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20158 *) ac_try_echo
=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1
>conftest.err
20165 cat conftest.err
>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.
$ac_objext; then
20171 ac_lo
=$ac_mid; break
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.
$ac_ext >&5
20176 ac_hi
=`expr '(' $ac_mid ')' - 1`
20177 if test $ac_mid -le $ac_hi; then
20181 ac_mid
=`expr 2 '*' $ac_mid`
20184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.
$ac_ext >&5
20193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20197 # Binary search between lo and hi bounds.
20198 while test "x$ac_lo" != "x$ac_hi"; do
20199 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20200 cat >conftest.
$ac_ext <<_ACEOF
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20207 typedef void * ac__type_sizeof_;
20211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20218 rm -f conftest.
$ac_objext
20219 if { (ac_try
="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225 (eval "$ac_compile") 2>conftest.er1
20227 grep -v '^ *+' conftest.er1 >conftest.err
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && {
20232 test -z "$ac_c_werror_flag" ||
20233 test ! -s conftest.err
20234 } && test -s conftest.$ac_objext; then
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_lo=`expr '(' $ac_mid ')' + 1`
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20247 '') if test "$ac_cv_type_void_p" = yes; then
20248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20249 See \`config.log
' for more details." >&5
20250 echo "$as_me: error: cannot compute sizeof (void *)
20251 See \`config.log' for more details.
" >&2;}
20252 { (exit 77); exit 77; }; }
20254 ac_cv_sizeof_void_p=0
20258 cat >conftest.$ac_ext <<_ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 typedef void * ac__type_sizeof_;
20266 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20267 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20269 #include <stdlib.h>
20274 FILE *f = fopen ("conftest.val
", "w
");
20277 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20279 long int i = longval ();
20280 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20282 fprintf (f, "%ld
\n", i);
20286 unsigned long int i = ulongval ();
20287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20289 fprintf (f, "%lu
\n", i);
20291 return ferror (f) || fclose (f) != 0;
20297 rm -f conftest$ac_exeext
20298 if { (ac_try="$ac_link"
20299 case "(($ac_try" in
20300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301 *) ac_try_echo=$ac_try;;
20303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20304 (eval "$ac_link") 2>&5
20306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20308 { (case "(($ac_try" in
20309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20310 *) ac_try_echo=$ac_try;;
20312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20313 (eval "$ac_try") 2>&5
20315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_cv_sizeof_void_p=`cat conftest.val`
20319 echo "$as_me: program exited with status
$ac_status" >&5
20320 echo "$as_me: failed program was
:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20323 ( exit $ac_status )
20324 if test "$ac_cv_type_void_p" = yes; then
20325 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20326 See \
`config.log' for more details." >&5
20327 echo "$as_me: error: cannot compute sizeof (void *)
20328 See \`config.log
' for more details." >&2;}
20329 { (exit 77); exit 77; }; }
20331 ac_cv_sizeof_void_p=0
20334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20338 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20339 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20343 cat >>confdefs.h <<_ACEOF
20344 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20348 { echo "$as_me:$LINENO: checking for int" >&5
20349 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20350 if test "${ac_cv_type_int+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 cat >conftest.$ac_ext <<_ACEOF
20356 cat confdefs.h >>conftest.$ac_ext
20357 cat >>conftest.$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20359 $ac_includes_default
20360 typedef int ac__type_new_;
20364 if ((ac__type_new_ *) 0)
20366 if (sizeof (ac__type_new_))
20372 rm -f conftest.$ac_objext
20373 if { (ac_try="$ac_compile"
20374 case "(($ac_try" in
20375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 *) ac_try_echo=$ac_try;;
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_compile") 2>conftest.er1
20381 grep -v '^
*+' conftest.er1 >conftest.err
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } && {
20386 test -z "$ac_c_werror_flag" ||
20387 test ! -s conftest.err
20388 } && test -s conftest.$ac_objext; then
20391 echo "$as_me: failed program was:" >&5
20392 sed 's
/^
/| /' conftest.$ac_ext >&5
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20399 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20400 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20402 # The cast to long int works around a bug in the HP C Compiler
20403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20405 # This bug is HP SR number 8606223364.
20406 { echo "$as_me:$LINENO: checking size of int" >&5
20407 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20408 if test "${ac_cv_sizeof_int+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 if test "$cross_compiling" = yes; then
20412 # Depending upon the size, compute the lo and hi bounds.
20413 cat >conftest.
$ac_ext <<_ACEOF
20416 cat confdefs.h
>>conftest.
$ac_ext
20417 cat >>conftest.
$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20420 typedef int ac__type_sizeof_;
20424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20431 rm -f conftest.
$ac_objext
20432 if { (ac_try
="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1 >conftest.err
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.$ac_objext; then
20450 cat >conftest.$ac_ext <<_ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20457 typedef int ac__type_sizeof_;
20461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20468 rm -f conftest.$ac_objext
20469 if { (ac_try="$ac_compile"
20470 case "(($ac_try" in
20471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20472 *) ac_try_echo
=$ac_try;;
20474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20475 (eval "$ac_compile") 2>conftest.er1
20477 grep -v '^ *+' conftest.er1
>conftest.err
20479 cat conftest.err
>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } && {
20482 test -z "$ac_c_werror_flag" ||
20483 test ! -s conftest.err
20484 } && test -s conftest.
$ac_objext; then
20485 ac_hi
=$ac_mid; break
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.
$ac_ext >&5
20490 ac_lo
=`expr $ac_mid + 1`
20491 if test $ac_lo -le $ac_mid; then
20495 ac_mid
=`expr 2 '*' $ac_mid + 1`
20498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20501 echo "$as_me: failed program was:" >&5
20502 sed 's/^/| /' conftest.
$ac_ext >&5
20504 cat >conftest.
$ac_ext <<_ACEOF
20507 cat confdefs.h
>>conftest.
$ac_ext
20508 cat >>conftest.
$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20511 typedef int ac__type_sizeof_;
20515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20522 rm -f conftest.
$ac_objext
20523 if { (ac_try
="$ac_compile"
20524 case "(($ac_try" in
20525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_compile") 2>conftest.er1
20531 grep -v '^ *+' conftest.er1 >conftest.err
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && {
20536 test -z "$ac_c_werror_flag" ||
20537 test ! -s conftest.err
20538 } && test -s conftest.$ac_objext; then
20541 cat >conftest.$ac_ext <<_ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef int ac__type_sizeof_;
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20563 *) ac_try_echo
=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1
>conftest.err
20570 cat conftest.err
>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.
$ac_objext; then
20576 ac_lo
=$ac_mid; break
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.
$ac_ext >&5
20581 ac_hi
=`expr '(' $ac_mid ')' - 1`
20582 if test $ac_mid -le $ac_hi; then
20586 ac_mid
=`expr 2 '*' $ac_mid`
20589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.
$ac_ext >&5
20598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20602 # Binary search between lo and hi bounds.
20603 while test "x$ac_lo" != "x$ac_hi"; do
20604 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20605 cat >conftest.
$ac_ext <<_ACEOF
20608 cat confdefs.h
>>conftest.
$ac_ext
20609 cat >>conftest.
$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 $ac_includes_default
20612 typedef int ac__type_sizeof_;
20616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20623 rm -f conftest.
$ac_objext
20624 if { (ac_try
="$ac_compile"
20625 case "(($ac_try" in
20626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20627 *) ac_try_echo=$ac_try;;
20629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_compile") 2>conftest.er1
20632 grep -v '^ *+' conftest.er1 >conftest.err
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } && {
20637 test -z "$ac_c_werror_flag" ||
20638 test ! -s conftest.err
20639 } && test -s conftest.$ac_objext; then
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20645 ac_lo=`expr '(' $ac_mid ')' + 1`
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651 ?*) ac_cv_sizeof_int=$ac_lo;;
20652 '') if test "$ac_cv_type_int" = yes; then
20653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20654 See \`config.log
' for more details." >&5
20655 echo "$as_me: error: cannot compute sizeof (int)
20656 See \`config.log' for more details.
" >&2;}
20657 { (exit 77); exit 77; }; }
20663 cat >conftest.$ac_ext <<_ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 $ac_includes_default
20670 typedef int ac__type_sizeof_;
20671 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20672 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20674 #include <stdlib.h>
20679 FILE *f = fopen ("conftest.val
", "w
");
20682 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20684 long int i = longval ();
20685 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20687 fprintf (f, "%ld
\n", i);
20691 unsigned long int i = ulongval ();
20692 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20694 fprintf (f, "%lu
\n", i);
20696 return ferror (f) || fclose (f) != 0;
20702 rm -f conftest$ac_exeext
20703 if { (ac_try="$ac_link"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_link") 2>&5
20711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20713 { (case "(($ac_try" in
20714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20715 *) ac_try_echo=$ac_try;;
20717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20718 (eval "$ac_try") 2>&5
20720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20721 (exit $ac_status); }; }; then
20722 ac_cv_sizeof_int=`cat conftest.val`
20724 echo "$as_me: program exited with status
$ac_status" >&5
20725 echo "$as_me: failed program was
:" >&5
20726 sed 's/^/| /' conftest.$ac_ext >&5
20728 ( exit $ac_status )
20729 if test "$ac_cv_type_int" = yes; then
20730 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20731 See \
`config.log' for more details." >&5
20732 echo "$as_me: error: cannot compute sizeof (int)
20733 See \`config.log
' for more details." >&2;}
20734 { (exit 77); exit 77; }; }
20739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20744 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20748 cat >>confdefs.h <<_ACEOF
20749 #define SIZEOF_INT $ac_cv_sizeof_int
20753 { echo "$as_me:$LINENO: checking for long" >&5
20754 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20755 if test "${ac_cv_type_long+set}" = set; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef long ac__type_new_;
20769 if ((ac__type_new_ *) 0)
20771 if (sizeof (ac__type_new_))
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20786 grep -v '^
*+' conftest.er1 >conftest.err
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_cv_type_long=yes
20796 echo "$as_me: failed program was:" >&5
20797 sed 's
/^
/| /' conftest.$ac_ext >&5
20802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20805 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20807 # The cast to long int works around a bug in the HP C Compiler
20808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20810 # This bug is HP SR number 8606223364.
20811 { echo "$as_me:$LINENO: checking size of long" >&5
20812 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20813 if test "${ac_cv_sizeof_long+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 if test "$cross_compiling" = yes; then
20817 # Depending upon the size, compute the lo and hi bounds.
20818 cat >conftest.
$ac_ext <<_ACEOF
20821 cat confdefs.h
>>conftest.
$ac_ext
20822 cat >>conftest.
$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 $ac_includes_default
20825 typedef long ac__type_sizeof_;
20829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20836 rm -f conftest.
$ac_objext
20837 if { (ac_try
="$ac_compile"
20838 case "(($ac_try" in
20839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_compile") 2>conftest.er1
20845 grep -v '^ *+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest.$ac_objext; then
20855 cat >conftest.$ac_ext <<_ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 typedef long ac__type_sizeof_;
20866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20873 rm -f conftest.$ac_objext
20874 if { (ac_try="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20877 *) ac_try_echo
=$ac_try;;
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.
$ac_objext; then
20890 ac_hi
=$ac_mid; break
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.
$ac_ext >&5
20895 ac_lo
=`expr $ac_mid + 1`
20896 if test $ac_lo -le $ac_mid; then
20900 ac_mid
=`expr 2 '*' $ac_mid + 1`
20903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20909 cat >conftest.
$ac_ext <<_ACEOF
20912 cat confdefs.h
>>conftest.
$ac_ext
20913 cat >>conftest.
$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 typedef long ac__type_sizeof_;
20920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20927 rm -f conftest.
$ac_objext
20928 if { (ac_try
="$ac_compile"
20929 case "(($ac_try" in
20930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20931 *) ac_try_echo=$ac_try;;
20933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20934 (eval "$ac_compile") 2>conftest.er1
20936 grep -v '^ *+' conftest.er1 >conftest.err
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } && {
20941 test -z "$ac_c_werror_flag" ||
20942 test ! -s conftest.err
20943 } && test -s conftest.$ac_objext; then
20946 cat >conftest.$ac_ext <<_ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef long ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20968 *) ac_try_echo
=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1
>conftest.err
20975 cat conftest.err
>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.
$ac_objext; then
20981 ac_lo
=$ac_mid; break
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.
$ac_ext >&5
20986 ac_hi
=`expr '(' $ac_mid ')' - 1`
20987 if test $ac_mid -le $ac_hi; then
20991 ac_mid
=`expr 2 '*' $ac_mid`
20994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.
$ac_ext >&5
21003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21007 # Binary search between lo and hi bounds.
21008 while test "x$ac_lo" != "x$ac_hi"; do
21009 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21010 cat >conftest.
$ac_ext <<_ACEOF
21013 cat confdefs.h
>>conftest.
$ac_ext
21014 cat >>conftest.
$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 $ac_includes_default
21017 typedef long ac__type_sizeof_;
21021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21028 rm -f conftest.
$ac_objext
21029 if { (ac_try
="$ac_compile"
21030 case "(($ac_try" in
21031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21032 *) ac_try_echo=$ac_try;;
21034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21035 (eval "$ac_compile") 2>conftest.er1
21037 grep -v '^ *+' conftest.er1 >conftest.err
21039 cat conftest.err >&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } && {
21042 test -z "$ac_c_werror_flag" ||
21043 test ! -s conftest.err
21044 } && test -s conftest.$ac_objext; then
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21050 ac_lo=`expr '(' $ac_mid ')' + 1`
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 ?*) ac_cv_sizeof_long=$ac_lo;;
21057 '') if test "$ac_cv_type_long" = yes; then
21058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21059 See \`config.log
' for more details." >&5
21060 echo "$as_me: error: cannot compute sizeof (long)
21061 See \`config.log' for more details.
" >&2;}
21062 { (exit 77); exit 77; }; }
21064 ac_cv_sizeof_long=0
21068 cat >conftest.$ac_ext <<_ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 typedef long ac__type_sizeof_;
21076 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21077 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21079 #include <stdlib.h>
21084 FILE *f = fopen ("conftest.val
", "w
");
21087 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21089 long int i = longval ();
21090 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21092 fprintf (f, "%ld
\n", i);
21096 unsigned long int i = ulongval ();
21097 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21099 fprintf (f, "%lu
\n", i);
21101 return ferror (f) || fclose (f) != 0;
21107 rm -f conftest$ac_exeext
21108 if { (ac_try="$ac_link"
21109 case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;;
21113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_link") 2>&5
21116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21118 { (case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_try") 2>&5
21125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21126 (exit $ac_status); }; }; then
21127 ac_cv_sizeof_long=`cat conftest.val`
21129 echo "$as_me: program exited with status
$ac_status" >&5
21130 echo "$as_me: failed program was
:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 ( exit $ac_status )
21134 if test "$ac_cv_type_long" = yes; then
21135 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21136 See \
`config.log' for more details." >&5
21137 echo "$as_me: error: cannot compute sizeof (long)
21138 See \`config.log
' for more details." >&2;}
21139 { (exit 77); exit 77; }; }
21141 ac_cv_sizeof_long=0
21144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21148 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21149 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21153 cat >>confdefs.h <<_ACEOF
21154 #define SIZEOF_LONG $ac_cv_sizeof_long
21158 { echo "$as_me:$LINENO: checking for size_t" >&5
21159 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21160 if test "${ac_cv_type_size_t+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 cat >conftest.$ac_ext <<_ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef size_t ac__type_new_;
21174 if ((ac__type_new_ *) 0)
21176 if (sizeof (ac__type_new_))
21182 rm -f conftest.$ac_objext
21183 if { (ac_try="$ac_compile"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_compile") 2>conftest.er1
21191 grep -v '^
*+' conftest.er1 >conftest.err
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && {
21196 test -z "$ac_c_werror_flag" ||
21197 test ! -s conftest.err
21198 } && test -s conftest.$ac_objext; then
21199 ac_cv_type_size_t=yes
21201 echo "$as_me: failed program was:" >&5
21202 sed 's
/^
/| /' conftest.$ac_ext >&5
21204 ac_cv_type_size_t=no
21207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21210 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21212 # The cast to long int works around a bug in the HP C Compiler
21213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21215 # This bug is HP SR number 8606223364.
21216 { echo "$as_me:$LINENO: checking size of size_t" >&5
21217 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21218 if test "${ac_cv_sizeof_size_t+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 if test "$cross_compiling" = yes; then
21222 # Depending upon the size, compute the lo and hi bounds.
21223 cat >conftest.
$ac_ext <<_ACEOF
21226 cat confdefs.h
>>conftest.
$ac_ext
21227 cat >>conftest.
$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 $ac_includes_default
21230 typedef size_t ac__type_sizeof_;
21234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21241 rm -f conftest.
$ac_objext
21242 if { (ac_try
="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21250 grep -v '^ *+' conftest.er1 >conftest.err
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.$ac_objext; then
21260 cat >conftest.$ac_ext <<_ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 $ac_includes_default
21267 typedef size_t ac__type_sizeof_;
21271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21278 rm -f conftest.$ac_objext
21279 if { (ac_try="$ac_compile"
21280 case "(($ac_try" in
21281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21282 *) ac_try_echo
=$ac_try;;
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21285 (eval "$ac_compile") 2>conftest.er1
21287 grep -v '^ *+' conftest.er1
>conftest.err
21289 cat conftest.err
>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } && {
21292 test -z "$ac_c_werror_flag" ||
21293 test ! -s conftest.err
21294 } && test -s conftest.
$ac_objext; then
21295 ac_hi
=$ac_mid; break
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.
$ac_ext >&5
21300 ac_lo
=`expr $ac_mid + 1`
21301 if test $ac_lo -le $ac_mid; then
21305 ac_mid
=`expr 2 '*' $ac_mid + 1`
21308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21314 cat >conftest.
$ac_ext <<_ACEOF
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 $ac_includes_default
21321 typedef size_t ac__type_sizeof_;
21325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21332 rm -f conftest.
$ac_objext
21333 if { (ac_try
="$ac_compile"
21334 case "(($ac_try" in
21335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21339 (eval "$ac_compile") 2>conftest.er1
21341 grep -v '^ *+' conftest.er1 >conftest.err
21343 cat conftest.err >&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); } && {
21346 test -z "$ac_c_werror_flag" ||
21347 test ! -s conftest.err
21348 } && test -s conftest.$ac_objext; then
21351 cat >conftest.$ac_ext <<_ACEOF
21354 cat confdefs.h >>conftest.$ac_ext
21355 cat >>conftest.$ac_ext <<_ACEOF
21356 /* end confdefs.h. */
21357 $ac_includes_default
21358 typedef size_t ac__type_sizeof_;
21362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21369 rm -f conftest.$ac_objext
21370 if { (ac_try="$ac_compile"
21371 case "(($ac_try" in
21372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21373 *) ac_try_echo
=$ac_try;;
21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376 (eval "$ac_compile") 2>conftest.er1
21378 grep -v '^ *+' conftest.er1
>conftest.err
21380 cat conftest.err
>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } && {
21383 test -z "$ac_c_werror_flag" ||
21384 test ! -s conftest.err
21385 } && test -s conftest.
$ac_objext; then
21386 ac_lo
=$ac_mid; break
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.
$ac_ext >&5
21391 ac_hi
=`expr '(' $ac_mid ')' - 1`
21392 if test $ac_mid -le $ac_hi; then
21396 ac_mid
=`expr 2 '*' $ac_mid`
21399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21402 echo "$as_me: failed program was:" >&5
21403 sed 's/^/| /' conftest.
$ac_ext >&5
21408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21412 # Binary search between lo and hi bounds.
21413 while test "x$ac_lo" != "x$ac_hi"; do
21414 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21415 cat >conftest.
$ac_ext <<_ACEOF
21418 cat confdefs.h
>>conftest.
$ac_ext
21419 cat >>conftest.
$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef size_t ac__type_sizeof_;
21426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21433 rm -f conftest.
$ac_objext
21434 if { (ac_try
="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21442 grep -v '^ *+' conftest.er1 >conftest.err
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 ac_lo=`expr '(' $ac_mid ')' + 1`
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21462 '') if test "$ac_cv_type_size_t" = yes; then
21463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21464 See \`config.log
' for more details." >&5
21465 echo "$as_me: error: cannot compute sizeof (size_t)
21466 See \`config.log' for more details.
" >&2;}
21467 { (exit 77); exit 77; }; }
21469 ac_cv_sizeof_size_t=0
21473 cat >conftest.$ac_ext <<_ACEOF
21476 cat confdefs.h >>conftest.$ac_ext
21477 cat >>conftest.$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 $ac_includes_default
21480 typedef size_t ac__type_sizeof_;
21481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21484 #include <stdlib.h>
21489 FILE *f = fopen ("conftest.val
", "w
");
21492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21494 long int i = longval ();
21495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21497 fprintf (f, "%ld
\n", i);
21501 unsigned long int i = ulongval ();
21502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21504 fprintf (f, "%lu
\n", i);
21506 return ferror (f) || fclose (f) != 0;
21512 rm -f conftest$ac_exeext
21513 if { (ac_try="$ac_link"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_link") 2>&5
21521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21523 { (case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21525 *) ac_try_echo=$ac_try;;
21527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_try") 2>&5
21530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21531 (exit $ac_status); }; }; then
21532 ac_cv_sizeof_size_t=`cat conftest.val`
21534 echo "$as_me: program exited with status
$ac_status" >&5
21535 echo "$as_me: failed program was
:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21538 ( exit $ac_status )
21539 if test "$ac_cv_type_size_t" = yes; then
21540 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21541 See \
`config.log' for more details." >&5
21542 echo "$as_me: error: cannot compute sizeof (size_t)
21543 See \`config.log
' for more details." >&2;}
21544 { (exit 77); exit 77; }; }
21546 ac_cv_sizeof_size_t=0
21549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21554 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21558 cat >>confdefs.h <<_ACEOF
21559 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21566 { echo "$as_me:$LINENO: checking for long long" >&5
21567 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21568 if test "${ac_cv_type_long_long+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 cat >conftest.$ac_ext <<_ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 $ac_includes_default
21578 typedef long long ac__type_new_;
21582 if ((ac__type_new_ *) 0)
21584 if (sizeof (ac__type_new_))
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21599 grep -v '^
*+' conftest.er1 >conftest.err
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } && {
21604 test -z "$ac_c_werror_flag" ||
21605 test ! -s conftest.err
21606 } && test -s conftest.$ac_objext; then
21607 ac_cv_type_long_long=yes
21609 echo "$as_me: failed program was:" >&5
21610 sed 's
/^
/| /' conftest.$ac_ext >&5
21612 ac_cv_type_long_long=no
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21618 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21620 # The cast to long int works around a bug in the HP C Compiler
21621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21623 # This bug is HP SR number 8606223364.
21624 { echo "$as_me:$LINENO: checking size of long long" >&5
21625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21626 if test "${ac_cv_sizeof_long_long+set}" = set; then
21627 echo $ECHO_N "(cached) $ECHO_C" >&6
21629 if test "$cross_compiling" = yes; then
21630 # Depending upon the size, compute the lo and hi bounds.
21631 cat >conftest.
$ac_ext <<_ACEOF
21634 cat confdefs.h
>>conftest.
$ac_ext
21635 cat >>conftest.
$ac_ext <<_ACEOF
21636 /* end confdefs.h. */
21637 $ac_includes_default
21638 typedef long long ac__type_sizeof_;
21642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21649 rm -f conftest.
$ac_objext
21650 if { (ac_try
="$ac_compile"
21651 case "(($ac_try" in
21652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_compile") 2>conftest.er1
21658 grep -v '^ *+' conftest.er1 >conftest.err
21660 cat conftest.err >&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); } && {
21663 test -z "$ac_c_werror_flag" ||
21664 test ! -s conftest.err
21665 } && test -s conftest.$ac_objext; then
21668 cat >conftest.$ac_ext <<_ACEOF
21671 cat confdefs.h >>conftest.$ac_ext
21672 cat >>conftest.$ac_ext <<_ACEOF
21673 /* end confdefs.h. */
21674 $ac_includes_default
21675 typedef long long ac__type_sizeof_;
21679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21686 rm -f conftest.$ac_objext
21687 if { (ac_try="$ac_compile"
21688 case "(($ac_try" in
21689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21690 *) ac_try_echo
=$ac_try;;
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21693 (eval "$ac_compile") 2>conftest.er1
21695 grep -v '^ *+' conftest.er1
>conftest.err
21697 cat conftest.err
>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } && {
21700 test -z "$ac_c_werror_flag" ||
21701 test ! -s conftest.err
21702 } && test -s conftest.
$ac_objext; then
21703 ac_hi
=$ac_mid; break
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 ac_lo
=`expr $ac_mid + 1`
21709 if test $ac_lo -le $ac_mid; then
21713 ac_mid
=`expr 2 '*' $ac_mid + 1`
21716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.
$ac_ext >&5
21722 cat >conftest.
$ac_ext <<_ACEOF
21725 cat confdefs.h
>>conftest.
$ac_ext
21726 cat >>conftest.
$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef long long ac__type_sizeof_;
21733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21740 rm -f conftest.
$ac_objext
21741 if { (ac_try
="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21749 grep -v '^ *+' conftest.er1 >conftest.err
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } && {
21754 test -z "$ac_c_werror_flag" ||
21755 test ! -s conftest.err
21756 } && test -s conftest.$ac_objext; then
21759 cat >conftest.$ac_ext <<_ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765 $ac_includes_default
21766 typedef long long ac__type_sizeof_;
21770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21781 *) ac_try_echo
=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21786 grep -v '^ *+' conftest.er1
>conftest.err
21788 cat conftest.err
>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.
$ac_objext; then
21794 ac_lo
=$ac_mid; break
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.
$ac_ext >&5
21799 ac_hi
=`expr '(' $ac_mid ')' - 1`
21800 if test $ac_mid -le $ac_hi; then
21804 ac_mid
=`expr 2 '*' $ac_mid`
21807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21810 echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.
$ac_ext >&5
21816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21820 # Binary search between lo and hi bounds.
21821 while test "x$ac_lo" != "x$ac_hi"; do
21822 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21823 cat >conftest.
$ac_ext <<_ACEOF
21826 cat confdefs.h
>>conftest.
$ac_ext
21827 cat >>conftest.
$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef long long ac__type_sizeof_;
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21841 rm -f conftest.
$ac_objext
21842 if { (ac_try
="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } && {
21855 test -z "$ac_c_werror_flag" ||
21856 test ! -s conftest.err
21857 } && test -s conftest.$ac_objext; then
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21863 ac_lo=`expr '(' $ac_mid ')' + 1`
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21870 '') if test "$ac_cv_type_long_long" = yes; then
21871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21872 See \`config.log
' for more details." >&5
21873 echo "$as_me: error: cannot compute sizeof (long long)
21874 See \`config.log' for more details.
" >&2;}
21875 { (exit 77); exit 77; }; }
21877 ac_cv_sizeof_long_long=0
21881 cat >conftest.$ac_ext <<_ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 $ac_includes_default
21888 typedef long long ac__type_sizeof_;
21889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21892 #include <stdlib.h>
21897 FILE *f = fopen ("conftest.val
", "w
");
21900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21902 long int i = longval ();
21903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21905 fprintf (f, "%ld
\n", i);
21909 unsigned long int i = ulongval ();
21910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21912 fprintf (f, "%lu
\n", i);
21914 return ferror (f) || fclose (f) != 0;
21920 rm -f conftest$ac_exeext
21921 if { (ac_try="$ac_link"
21922 case "(($ac_try" in
21923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21924 *) ac_try_echo=$ac_try;;
21926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21927 (eval "$ac_link") 2>&5
21929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21931 { (case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_try") 2>&5
21938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 ac_cv_sizeof_long_long=`cat conftest.val`
21942 echo "$as_me: program exited with status
$ac_status" >&5
21943 echo "$as_me: failed program was
:" >&5
21944 sed 's/^/| /' conftest.$ac_ext >&5
21946 ( exit $ac_status )
21947 if test "$ac_cv_type_long_long" = yes; then
21948 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21949 See \
`config.log' for more details." >&5
21950 echo "$as_me: error: cannot compute sizeof (long long)
21951 See \`config.log
' for more details." >&2;}
21952 { (exit 77); exit 77; }; }
21954 ac_cv_sizeof_long_long=0
21957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21962 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21966 cat >>confdefs.h <<_ACEOF
21967 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21973 { echo "$as_me:$LINENO: checking for long long" >&5
21974 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21975 if test "${ac_cv_type_long_long+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 cat >conftest.$ac_ext <<_ACEOF
21981 cat confdefs.h >>conftest.$ac_ext
21982 cat >>conftest.$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 $ac_includes_default
21985 typedef long long ac__type_new_;
21989 if ((ac__type_new_ *) 0)
21991 if (sizeof (ac__type_new_))
21997 rm -f conftest.$ac_objext
21998 if { (ac_try="$ac_compile"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_compile") 2>conftest.er1
22006 grep -v '^
*+' conftest.er1 >conftest.err
22008 cat conftest.err >&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } && {
22011 test -z "$ac_c_werror_flag" ||
22012 test ! -s conftest.err
22013 } && test -s conftest.$ac_objext; then
22014 ac_cv_type_long_long=yes
22016 echo "$as_me: failed program was:" >&5
22017 sed 's
/^
/| /' conftest.$ac_ext >&5
22019 ac_cv_type_long_long=no
22022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22025 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22027 # The cast to long int works around a bug in the HP C Compiler
22028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22030 # This bug is HP SR number 8606223364.
22031 { echo "$as_me:$LINENO: checking size of long long" >&5
22032 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22033 if test "${ac_cv_sizeof_long_long+set}" = set; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22036 if test "$cross_compiling" = yes; then
22037 # Depending upon the size, compute the lo and hi bounds.
22038 cat >conftest.
$ac_ext <<_ACEOF
22041 cat confdefs.h
>>conftest.
$ac_ext
22042 cat >>conftest.
$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 $ac_includes_default
22045 typedef long long ac__type_sizeof_;
22049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22056 rm -f conftest.
$ac_objext
22057 if { (ac_try
="$ac_compile"
22058 case "(($ac_try" in
22059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22060 *) ac_try_echo=$ac_try;;
22062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22063 (eval "$ac_compile") 2>conftest.er1
22065 grep -v '^ *+' conftest.er1 >conftest.err
22067 cat conftest.err >&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); } && {
22070 test -z "$ac_c_werror_flag" ||
22071 test ! -s conftest.err
22072 } && test -s conftest.$ac_objext; then
22075 cat >conftest.$ac_ext <<_ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 $ac_includes_default
22082 typedef long long ac__type_sizeof_;
22086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22093 rm -f conftest.$ac_objext
22094 if { (ac_try="$ac_compile"
22095 case "(($ac_try" in
22096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22097 *) ac_try_echo
=$ac_try;;
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_compile") 2>conftest.er1
22102 grep -v '^ *+' conftest.er1
>conftest.err
22104 cat conftest.err
>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } && {
22107 test -z "$ac_c_werror_flag" ||
22108 test ! -s conftest.err
22109 } && test -s conftest.
$ac_objext; then
22110 ac_hi
=$ac_mid; break
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.
$ac_ext >&5
22115 ac_lo
=`expr $ac_mid + 1`
22116 if test $ac_lo -le $ac_mid; then
22120 ac_mid
=`expr 2 '*' $ac_mid + 1`
22123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.
$ac_ext >&5
22129 cat >conftest.
$ac_ext <<_ACEOF
22132 cat confdefs.h
>>conftest.
$ac_ext
22133 cat >>conftest.
$ac_ext <<_ACEOF
22134 /* end confdefs.h. */
22135 $ac_includes_default
22136 typedef long long ac__type_sizeof_;
22140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22147 rm -f conftest.
$ac_objext
22148 if { (ac_try
="$ac_compile"
22149 case "(($ac_try" in
22150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22151 *) ac_try_echo=$ac_try;;
22153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22154 (eval "$ac_compile") 2>conftest.er1
22156 grep -v '^ *+' conftest.er1 >conftest.err
22158 cat conftest.err >&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } && {
22161 test -z "$ac_c_werror_flag" ||
22162 test ! -s conftest.err
22163 } && test -s conftest.$ac_objext; then
22166 cat >conftest.$ac_ext <<_ACEOF
22169 cat confdefs.h >>conftest.$ac_ext
22170 cat >>conftest.$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172 $ac_includes_default
22173 typedef long long ac__type_sizeof_;
22177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22188 *) ac_try_echo
=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22193 grep -v '^ *+' conftest.er1
>conftest.err
22195 cat conftest.err
>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.
$ac_objext; then
22201 ac_lo
=$ac_mid; break
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.
$ac_ext >&5
22206 ac_hi
=`expr '(' $ac_mid ')' - 1`
22207 if test $ac_mid -le $ac_hi; then
22211 ac_mid
=`expr 2 '*' $ac_mid`
22214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22217 echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.
$ac_ext >&5
22223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22227 # Binary search between lo and hi bounds.
22228 while test "x$ac_lo" != "x$ac_hi"; do
22229 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22230 cat >conftest.
$ac_ext <<_ACEOF
22233 cat confdefs.h
>>conftest.
$ac_ext
22234 cat >>conftest.
$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 $ac_includes_default
22237 typedef long long ac__type_sizeof_;
22241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22248 rm -f conftest.
$ac_objext
22249 if { (ac_try
="$ac_compile"
22250 case "(($ac_try" in
22251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22252 *) ac_try_echo=$ac_try;;
22254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22255 (eval "$ac_compile") 2>conftest.er1
22257 grep -v '^ *+' conftest.er1 >conftest.err
22259 cat conftest.err >&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); } && {
22262 test -z "$ac_c_werror_flag" ||
22263 test ! -s conftest.err
22264 } && test -s conftest.$ac_objext; then
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22270 ac_lo=`expr '(' $ac_mid ')' + 1`
22273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22277 '') if test "$ac_cv_type_long_long" = yes; then
22278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22279 See \`config.log
' for more details." >&5
22280 echo "$as_me: error: cannot compute sizeof (long long)
22281 See \`config.log' for more details.
" >&2;}
22282 { (exit 77); exit 77; }; }
22284 ac_cv_sizeof_long_long=0
22288 cat >conftest.$ac_ext <<_ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22295 typedef long long ac__type_sizeof_;
22296 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22297 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22299 #include <stdlib.h>
22304 FILE *f = fopen ("conftest.val
", "w
");
22307 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22309 long int i = longval ();
22310 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22312 fprintf (f, "%ld
\n", i);
22316 unsigned long int i = ulongval ();
22317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22319 fprintf (f, "%lu
\n", i);
22321 return ferror (f) || fclose (f) != 0;
22327 rm -f conftest$ac_exeext
22328 if { (ac_try="$ac_link"
22329 case "(($ac_try" in
22330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22331 *) ac_try_echo=$ac_try;;
22333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22334 (eval "$ac_link") 2>&5
22336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22338 { (case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_try") 2>&5
22345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22346 (exit $ac_status); }; }; then
22347 ac_cv_sizeof_long_long=`cat conftest.val`
22349 echo "$as_me: program exited with status
$ac_status" >&5
22350 echo "$as_me: failed program was
:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22353 ( exit $ac_status )
22354 if test "$ac_cv_type_long_long" = yes; then
22355 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22356 See \
`config.log' for more details." >&5
22357 echo "$as_me: error: cannot compute sizeof (long long)
22358 See \`config.log
' for more details." >&2;}
22359 { (exit 77); exit 77; }; }
22361 ac_cv_sizeof_long_long=0
22364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22368 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22369 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22373 cat >>confdefs.h <<_ACEOF
22374 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22378 if test "$ac_cv_sizeof_long_long" != 0; then
22379 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22383 { echo "$as_me:$LINENO: checking for long long" >&5
22384 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22385 if test "${ac_cv_type_long_long+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 cat >conftest.$ac_ext <<_ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 $ac_includes_default
22395 typedef long long ac__type_new_;
22399 if ((ac__type_new_ *) 0)
22401 if (sizeof (ac__type_new_))
22407 rm -f conftest.$ac_objext
22408 if { (ac_try="$ac_compile"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_compile") 2>conftest.er1
22416 grep -v '^
*+' conftest.er1 >conftest.err
22418 cat conftest.err >&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); } && {
22421 test -z "$ac_c_werror_flag" ||
22422 test ! -s conftest.err
22423 } && test -s conftest.$ac_objext; then
22424 ac_cv_type_long_long=yes
22426 echo "$as_me: failed program was:" >&5
22427 sed 's
/^
/| /' conftest.$ac_ext >&5
22429 ac_cv_type_long_long=no
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22435 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22437 # The cast to long int works around a bug in the HP C Compiler
22438 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22439 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22440 # This bug is HP SR number 8606223364.
22441 { echo "$as_me:$LINENO: checking size of long long" >&5
22442 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22443 if test "${ac_cv_sizeof_long_long+set}" = set; then
22444 echo $ECHO_N "(cached) $ECHO_C" >&6
22446 if test "$cross_compiling" = yes; then
22447 # Depending upon the size, compute the lo and hi bounds.
22448 cat >conftest.
$ac_ext <<_ACEOF
22451 cat confdefs.h
>>conftest.
$ac_ext
22452 cat >>conftest.
$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 $ac_includes_default
22455 typedef long long ac__type_sizeof_;
22459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22466 rm -f conftest.
$ac_objext
22467 if { (ac_try
="$ac_compile"
22468 case "(($ac_try" in
22469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22470 *) ac_try_echo=$ac_try;;
22472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22473 (eval "$ac_compile") 2>conftest.er1
22475 grep -v '^ *+' conftest.er1 >conftest.err
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } && {
22480 test -z "$ac_c_werror_flag" ||
22481 test ! -s conftest.err
22482 } && test -s conftest.$ac_objext; then
22485 cat >conftest.$ac_ext <<_ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 $ac_includes_default
22492 typedef long long ac__type_sizeof_;
22496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22503 rm -f conftest.$ac_objext
22504 if { (ac_try="$ac_compile"
22505 case "(($ac_try" in
22506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22507 *) ac_try_echo
=$ac_try;;
22509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22510 (eval "$ac_compile") 2>conftest.er1
22512 grep -v '^ *+' conftest.er1
>conftest.err
22514 cat conftest.err
>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } && {
22517 test -z "$ac_c_werror_flag" ||
22518 test ! -s conftest.err
22519 } && test -s conftest.
$ac_objext; then
22520 ac_hi
=$ac_mid; break
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.
$ac_ext >&5
22525 ac_lo
=`expr $ac_mid + 1`
22526 if test $ac_lo -le $ac_mid; then
22530 ac_mid
=`expr 2 '*' $ac_mid + 1`
22533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.
$ac_ext >&5
22539 cat >conftest.
$ac_ext <<_ACEOF
22542 cat confdefs.h
>>conftest.
$ac_ext
22543 cat >>conftest.
$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long long ac__type_sizeof_;
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22557 rm -f conftest.
$ac_objext
22558 if { (ac_try
="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22566 grep -v '^ *+' conftest.er1 >conftest.err
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22576 cat >conftest.$ac_ext <<_ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 $ac_includes_default
22583 typedef long long ac__type_sizeof_;
22587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22598 *) ac_try_echo
=$ac_try;;
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22603 grep -v '^ *+' conftest.er1
>conftest.err
22605 cat conftest.err
>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.
$ac_objext; then
22611 ac_lo
=$ac_mid; break
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.
$ac_ext >&5
22616 ac_hi
=`expr '(' $ac_mid ')' - 1`
22617 if test $ac_mid -le $ac_hi; then
22621 ac_mid
=`expr 2 '*' $ac_mid`
22624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.
$ac_ext >&5
22633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22637 # Binary search between lo and hi bounds.
22638 while test "x$ac_lo" != "x$ac_hi"; do
22639 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22640 cat >conftest.
$ac_ext <<_ACEOF
22643 cat confdefs.h
>>conftest.
$ac_ext
22644 cat >>conftest.
$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef long long ac__type_sizeof_;
22651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22658 rm -f conftest.
$ac_objext
22659 if { (ac_try
="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22667 grep -v '^ *+' conftest.er1 >conftest.err
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_c_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22680 ac_lo=`expr '(' $ac_mid ')' + 1`
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22687 '') if test "$ac_cv_type_long_long" = yes; then
22688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22689 See \`config.log
' for more details." >&5
22690 echo "$as_me: error: cannot compute sizeof (long long)
22691 See \`config.log' for more details.
" >&2;}
22692 { (exit 77); exit 77; }; }
22694 ac_cv_sizeof_long_long=0
22698 cat >conftest.$ac_ext <<_ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef long long ac__type_sizeof_;
22706 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22707 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22709 #include <stdlib.h>
22714 FILE *f = fopen ("conftest.val
", "w
");
22717 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22719 long int i = longval ();
22720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22722 fprintf (f, "%ld
\n", i);
22726 unsigned long int i = ulongval ();
22727 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22729 fprintf (f, "%lu
\n", i);
22731 return ferror (f) || fclose (f) != 0;
22737 rm -f conftest$ac_exeext
22738 if { (ac_try="$ac_link"
22739 case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_link") 2>&5
22746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22748 { (case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22753 (eval "$ac_try") 2>&5
22755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 ac_cv_sizeof_long_long=`cat conftest.val`
22759 echo "$as_me: program exited with status
$ac_status" >&5
22760 echo "$as_me: failed program was
:" >&5
22761 sed 's/^/| /' conftest.$ac_ext >&5
22763 ( exit $ac_status )
22764 if test "$ac_cv_type_long_long" = yes; then
22765 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22766 See \
`config.log' for more details." >&5
22767 echo "$as_me: error: cannot compute sizeof (long long)
22768 See \`config.log
' for more details." >&2;}
22769 { (exit 77); exit 77; }; }
22771 ac_cv_sizeof_long_long=0
22774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22778 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22779 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22783 cat >>confdefs.h <<_ACEOF
22784 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22790 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22791 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22792 if test "${ac_cv_type_wchar_t+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22802 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22803 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22804 # error "fake wchar_t"
22806 #ifdef HAVE_WCHAR_H
22808 # include <stddef.h>
22810 # include <wchar.h>
22812 #ifdef HAVE_STDLIB_H
22813 # include <stdlib.h>
22819 typedef wchar_t ac__type_new_
;
22823 if ((ac__type_new_
*) 0)
22825 if (sizeof
(ac__type_new_
))
22831 rm -f conftest.
$ac_objext
22832 if { (ac_try
="$ac_compile"
22833 case "(($ac_try" in
22834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_compile") 2>conftest.er1
22840 grep -v '^ *+' conftest.er1 >conftest.err
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } && {
22845 test -z "$ac_c_werror_flag" ||
22846 test ! -s conftest.err
22847 } && test -s conftest.$ac_objext; then
22848 ac_cv_type_wchar_t=yes
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22853 ac_cv_type_wchar_t=no
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22859 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22861 # The cast to long int works around a bug in the HP C Compiler
22862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22863 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22864 # This bug is HP SR number 8606223364.
22865 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22866 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22867 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22870 if test "$cross_compiling" = yes; then
22871 # Depending upon the size, compute the lo and hi bounds.
22872 cat >conftest.$ac_ext <<_ACEOF
22875 cat confdefs.h >>conftest.$ac_ext
22876 cat >>conftest.$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22879 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22880 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22881 # error "fake wchar_t"
22883 #ifdef HAVE_WCHAR_H
22885 # include <stddef.h>
22887 # include <wchar.h>
22889 #ifdef HAVE_STDLIB_H
22890 # include <stdlib.h>
22896 typedef wchar_t ac__type_sizeof_
;
22900 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22907 rm -f conftest.
$ac_objext
22908 if { (ac_try
="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22916 grep -v '^ *+' conftest.er1 >conftest.err
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22926 cat >conftest.$ac_ext <<_ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22933 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22934 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22935 # error "fake wchar_t"
22937 #ifdef HAVE_WCHAR_H
22939 # include <stddef.h>
22941 # include <wchar.h>
22943 #ifdef HAVE_STDLIB_H
22944 # include <stdlib.h>
22950 typedef wchar_t ac__type_sizeof_;
22954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22961 rm -f conftest.$ac_objext
22962 if { (ac_try="$ac_compile"
22963 case "(($ac_try" in
22964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22965 *) ac_try_echo
=$ac_try;;
22967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22968 (eval "$ac_compile") 2>conftest.er1
22970 grep -v '^ *+' conftest.er1
>conftest.err
22972 cat conftest.err
>&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } && {
22975 test -z "$ac_c_werror_flag" ||
22976 test ! -s conftest.err
22977 } && test -s conftest.
$ac_objext; then
22978 ac_hi
=$ac_mid; break
22980 echo "$as_me: failed program was:" >&5
22981 sed 's/^/| /' conftest.
$ac_ext >&5
22983 ac_lo
=`expr $ac_mid + 1`
22984 if test $ac_lo -le $ac_mid; then
22988 ac_mid
=`expr 2 '*' $ac_mid + 1`
22991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.
$ac_ext >&5
22997 cat >conftest.
$ac_ext <<_ACEOF
23000 cat confdefs.h
>>conftest.
$ac_ext
23001 cat >>conftest.
$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23004 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23005 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23006 # error "fake wchar_t"
23008 #ifdef HAVE_WCHAR_H
23010 # include <stddef.h>
23012 # include <wchar.h>
23014 #ifdef HAVE_STDLIB_H
23015 # include <stdlib.h>
23021 typedef wchar_t ac__type_sizeof_;
23025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23032 rm -f conftest.
$ac_objext
23033 if { (ac_try
="$ac_compile"
23034 case "(($ac_try" in
23035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23036 *) ac_try_echo=$ac_try;;
23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_compile") 2>conftest.er1
23041 grep -v '^ *+' conftest.er1 >conftest.err
23043 cat conftest.err >&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } && {
23046 test -z "$ac_c_werror_flag" ||
23047 test ! -s conftest.err
23048 } && test -s conftest.$ac_objext; then
23051 cat >conftest.$ac_ext <<_ACEOF
23054 cat confdefs.h >>conftest.$ac_ext
23055 cat >>conftest.$ac_ext <<_ACEOF
23056 /* end confdefs.h. */
23058 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23059 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23060 # error "fake wchar_t"
23062 #ifdef HAVE_WCHAR_H
23064 # include <stddef.h>
23066 # include <wchar.h>
23068 #ifdef HAVE_STDLIB_H
23069 # include <stdlib.h>
23075 typedef wchar_t ac__type_sizeof_;
23079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23086 rm -f conftest.$ac_objext
23087 if { (ac_try="$ac_compile"
23088 case "(($ac_try" in
23089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23090 *) ac_try_echo
=$ac_try;;
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23093 (eval "$ac_compile") 2>conftest.er1
23095 grep -v '^ *+' conftest.er1
>conftest.err
23097 cat conftest.err
>&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); } && {
23100 test -z "$ac_c_werror_flag" ||
23101 test ! -s conftest.err
23102 } && test -s conftest.
$ac_objext; then
23103 ac_lo
=$ac_mid; break
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ac_hi
=`expr '(' $ac_mid ')' - 1`
23109 if test $ac_mid -le $ac_hi; then
23113 ac_mid
=`expr 2 '*' $ac_mid`
23116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23119 echo "$as_me: failed program was:" >&5
23120 sed 's/^/| /' conftest.
$ac_ext >&5
23125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23129 # Binary search between lo and hi bounds.
23130 while test "x$ac_lo" != "x$ac_hi"; do
23131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23132 cat >conftest.
$ac_ext <<_ACEOF
23135 cat confdefs.h
>>conftest.
$ac_ext
23136 cat >>conftest.
$ac_ext <<_ACEOF
23137 /* end confdefs.h. */
23139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23141 # error "fake wchar_t"
23143 #ifdef HAVE_WCHAR_H
23145 # include <stddef.h>
23147 # include <wchar.h>
23149 #ifdef HAVE_STDLIB_H
23150 # include <stdlib.h>
23156 typedef wchar_t ac__type_sizeof_;
23160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23167 rm -f conftest.
$ac_objext
23168 if { (ac_try
="$ac_compile"
23169 case "(($ac_try" in
23170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23171 *) ac_try_echo=$ac_try;;
23173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23174 (eval "$ac_compile") 2>conftest.er1
23176 grep -v '^ *+' conftest.er1 >conftest.err
23178 cat conftest.err >&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } && {
23181 test -z "$ac_c_werror_flag" ||
23182 test ! -s conftest.err
23183 } && test -s conftest.$ac_objext; then
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.$ac_ext >&5
23189 ac_lo=`expr '(' $ac_mid ')' + 1`
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23196 '') if test "$ac_cv_type_wchar_t" = yes; then
23197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23198 See \`config.log
' for more details." >&5
23199 echo "$as_me: error: cannot compute sizeof (wchar_t)
23200 See \`config.log' for more details.
" >&2;}
23201 { (exit 77); exit 77; }; }
23203 ac_cv_sizeof_wchar_t=0
23207 cat >conftest.$ac_ext <<_ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23214 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23215 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23216 # error "fake wchar_t
"
23218 #ifdef HAVE_WCHAR_H
23220 # include <stddef.h>
23222 # include <wchar.h>
23224 #ifdef HAVE_STDLIB_H
23225 # include <stdlib.h>
23231 typedef wchar_t ac__type_sizeof_;
23232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23235 #include <stdlib.h>
23240 FILE *f = fopen ("conftest.val
", "w
");
23243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23245 long int i = longval ();
23246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23248 fprintf (f, "%ld
\n", i);
23252 unsigned long int i = ulongval ();
23253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23255 fprintf (f, "%lu
\n", i);
23257 return ferror (f) || fclose (f) != 0;
23263 rm -f conftest$ac_exeext
23264 if { (ac_try="$ac_link"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_link") 2>&5
23272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23274 { (case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_try") 2>&5
23281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 ac_cv_sizeof_wchar_t=`cat conftest.val`
23285 echo "$as_me: program exited with status
$ac_status" >&5
23286 echo "$as_me: failed program was
:" >&5
23287 sed 's/^/| /' conftest.$ac_ext >&5
23289 ( exit $ac_status )
23290 if test "$ac_cv_type_wchar_t" = yes; then
23291 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23292 See \
`config.log' for more details." >&5
23293 echo "$as_me: error: cannot compute sizeof (wchar_t)
23294 See \`config.log
' for more details." >&2;}
23295 { (exit 77); exit 77; }; }
23297 ac_cv_sizeof_wchar_t=0
23300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23304 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23305 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23309 cat >>confdefs.h <<_ACEOF
23310 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23314 if test "$ac_cv_sizeof_wchar_t" != 0; then
23320 { echo "$as_me:$LINENO: checking for va_copy" >&5
23321 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23322 if test "${wx_cv_func_va_copy+set}" = set; then
23323 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23329 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23332 cat >conftest.$ac_ext <<_ACEOF
23334 #include <stdarg.h>
23335 void foo(char *f, ...)
23349 rm -f conftest.$ac_objext conftest$ac_exeext
23350 if { (ac_try="$ac_link"
23351 case "(($ac_try" in
23352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23353 *) ac_try_echo=$ac_try;;
23355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23356 (eval "$ac_link") 2>conftest.er1
23358 grep -v '^
*+' conftest.er1 >conftest.err
23360 cat conftest.err >&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } && {
23363 test -z "$ac_cxx_werror_flag" ||
23364 test ! -s conftest.err
23365 } && test -s conftest$ac_exeext &&
23366 $as_test_x conftest$ac_exeext; then
23367 wx_cv_func_va_copy=yes
23369 echo "$as_me: failed program was:" >&5
23370 sed 's
/^
/| /' conftest.$ac_ext >&5
23372 wx_cv_func_va_copy=no
23376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23377 conftest$ac_exeext conftest.$ac_ext
23379 ac_cpp='$CPP $CPPFLAGS'
23380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23381 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23387 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23388 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23390 if test $wx_cv_func_va_copy = "yes"; then
23391 cat >>confdefs.h <<\_ACEOF
23392 #define HAVE_VA_COPY 1
23396 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23397 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23398 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23399 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 if test "$cross_compiling" = yes; then
23403 wx_cv_type_va_list_lvalue=yes
23406 cat >conftest.$ac_ext <<_ACEOF
23408 #include <stdarg.h>
23409 int foo(char *f, ...)
23414 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23422 return foo("hi", 17);
23425 rm -f conftest$ac_exeext
23426 if { (ac_try="$ac_link"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_link") 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23436 { (case "(($ac_try" in
23437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23438 *) ac_try_echo=$ac_try;;
23440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23441 (eval "$ac_try") 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 wx_cv_type_va_list_lvalue=yes
23447 echo "$as_me: program exited with status $ac_status" >&5
23448 echo "$as_me: failed program was:" >&5
23449 sed 's
/^
/| /' conftest.$ac_ext >&5
23451 ( exit $ac_status )
23452 wx_cv_type_va_list_lvalue=no
23454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23461 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23462 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23464 if test $wx_cv_type_va_list_lvalue != "yes"; then
23465 cat >>confdefs.h <<\_ACEOF
23466 #define VA_LIST_IS_ARRAY 1
23472 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23474 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23475 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23476 if test "${wx_cv_have_variadic_macros+set}" = set; then
23477 echo $ECHO_N "(cached) $ECHO_C" >&6
23481 ac_cpp='$CXXCPP $CPPFLAGS'
23482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23483 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23486 cat >conftest.$ac_ext <<_ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23494 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23500 test("%s %d %p", "test", 1, 0);
23507 rm -f conftest.$ac_objext
23508 if { (ac_try="$ac_compile"
23509 case "(($ac_try" in
23510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23511 *) ac_try_echo=$ac_try;;
23513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23514 (eval "$ac_compile") 2>conftest.er1
23516 grep -v '^
*+' conftest.er1 >conftest.err
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } && {
23521 test -z "$ac_cxx_werror_flag" ||
23522 test ! -s conftest.err
23523 } && test -s conftest.$ac_objext; then
23524 wx_cv_have_variadic_macros=yes
23526 echo "$as_me: failed program was:" >&5
23527 sed 's
/^
/| /' conftest.$ac_ext >&5
23529 wx_cv_have_variadic_macros=no
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 ac_cpp='$CPP $CPPFLAGS'
23536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23537 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23544 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23546 if test $wx_cv_have_variadic_macros = "yes"; then
23547 cat >>confdefs.h <<\_ACEOF
23548 #define HAVE_VARIADIC_MACROS 1
23555 LARGEFILE_CPPFLAGS=
23556 # Check whether --enable-largefile was given.
23557 if test "${enable_largefile+set}" = set; then
23558 enableval=$enable_largefile;
23561 if test "$enable_largefile" != no; then
23564 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23565 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23566 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23567 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 cat >conftest.$ac_ext <<_ACEOF
23573 cat confdefs.h >>conftest.$ac_ext
23574 cat >>conftest.$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 #define _FILE_OFFSET_BITS 64
23577 #include <sys/types.h>
23582 unsigned int field: sizeof(off_t) == 8;
23589 rm -f conftest.$ac_objext
23590 if { (ac_try="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23598 grep -v '^
*+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_c_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23606 ac_cv_sys_file_offset_bits=64
23608 echo "$as_me: failed program was:" >&5
23609 sed 's
/^
/| /' conftest.$ac_ext >&5
23611 ac_cv_sys_file_offset_bits=no
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23619 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23621 if test "$ac_cv_sys_file_offset_bits" != no; then
23623 cat >>confdefs.h <<_ACEOF
23624 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23629 if test "x$wx_largefile" != "xyes"; then
23631 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23632 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23633 if test "${ac_cv_sys_large_files+set}" = set; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 cat >conftest.$ac_ext <<_ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 #define _LARGE_FILES 1
23644 #include <sys/types.h>
23649 unsigned int field: sizeof(off_t) == 8;
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23665 grep -v '^
*+' conftest.er1 >conftest.err
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_cv_sys_large_files=1
23675 echo "$as_me: failed program was:" >&5
23676 sed 's
/^
/| /' conftest.$ac_ext >&5
23678 ac_cv_sys_large_files=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23686 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23688 if test "$ac_cv_sys_large_files" != no; then
23690 cat >>confdefs.h <<_ACEOF
23691 #define _LARGE_FILES $ac_cv_sys_large_files
23698 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23699 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23700 if test "x$wx_largefile" = "xyes"; then
23701 cat >>confdefs.h <<\_ACEOF
23702 #define HAVE_LARGEFILE_SUPPORT 1
23706 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23707 echo "${ECHO_T}$wx_largefile" >&6; }
23710 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23711 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23712 elif test "$ac_cv_sys_large_files" = 1; then
23713 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23716 if test -n "$LARGEFILE_CPPFLAGS"; then
23717 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23719 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23720 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23721 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23722 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 ac_cpp='$CXXCPP $CPPFLAGS'
23728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23729 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23743 #ifndef __STDC_EXT__
23751 rm -f conftest.$ac_objext
23752 if { (ac_try="$ac_compile"
23753 case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755 *) ac_try_echo=$ac_try;;
23757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23758 (eval "$ac_compile") 2>conftest.er1
23760 grep -v '^
*+' conftest.er1 >conftest.err
23762 cat conftest.err >&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); } && {
23765 test -z "$ac_cxx_werror_flag" ||
23766 test ! -s conftest.err
23767 } && test -s conftest.$ac_objext; then
23768 wx_cv_STDC_EXT_required=no
23770 echo "$as_me: failed program was:" >&5
23771 sed 's
/^
/| /' conftest.$ac_ext >&5
23773 wx_cv_STDC_EXT_required=yes
23777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23779 ac_cpp='$CPP $CPPFLAGS'
23780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23781 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23787 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23788 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23789 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23790 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23796 ac_cpp='$CXXCPP $CPPFLAGS'
23797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23798 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23801 old_CPPFLAGS="$CPPFLAGS"
23802 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23803 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23804 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23805 if test "${ac_cv_sys_largefile_source+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 cat >conftest.$ac_ext <<_ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23815 #include <sys/types.h> /* for off_t */
23820 int (*fp) (FILE *, off_t, int) = fseeko;
23821 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23826 rm -f conftest.$ac_objext conftest$ac_exeext
23827 if { (ac_try="$ac_link"
23828 case "(($ac_try" in
23829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23830 *) ac_try_echo=$ac_try;;
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_link") 2>conftest.er1
23835 grep -v '^
*+' conftest.er1 >conftest.err
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } && {
23840 test -z "$ac_cxx_werror_flag" ||
23841 test ! -s conftest.err
23842 } && test -s conftest$ac_exeext &&
23843 $as_test_x conftest$ac_exeext; then
23844 ac_cv_sys_largefile_source=no; break
23846 echo "$as_me: failed program was:" >&5
23847 sed 's
/^
/| /' conftest.$ac_ext >&5
23852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23853 conftest$ac_exeext conftest.$ac_ext
23854 cat >conftest.$ac_ext <<_ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h. */
23860 #define _LARGEFILE_SOURCE 1
23861 #include <sys/types.h> /* for off_t */
23866 int (*fp) (FILE *, off_t, int) = fseeko;
23867 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23872 rm -f conftest.$ac_objext conftest$ac_exeext
23873 if { (ac_try="$ac_link"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_link") 2>conftest.er1
23881 grep -v '^
*+' conftest.er1 >conftest.err
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest$ac_exeext &&
23889 $as_test_x conftest$ac_exeext; then
23890 ac_cv_sys_largefile_source=1; break
23892 echo "$as_me: failed program was:" >&5
23893 sed 's
/^
/| /' conftest.$ac_ext >&5
23898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23899 conftest$ac_exeext conftest.$ac_ext
23900 ac_cv_sys_largefile_source=unknown
23904 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23905 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23906 case $ac_cv_sys_largefile_source in #(
23909 cat >>confdefs.h <<_ACEOF
23910 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23916 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23917 # in glibc 2.1.3, but that breaks too many other things.
23918 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23919 if test $ac_cv_sys_largefile_source != unknown; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_FSEEKO 1
23927 CPPFLAGS="$old_CPPFLAGS"
23929 ac_cpp='$CPP $CPPFLAGS'
23930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23931 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23934 if test "$ac_cv_sys_largefile_source" != no; then
23935 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23938 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23939 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23940 if test "${ac_cv_c_bigendian+set}" = set; then
23941 echo $ECHO_N "(cached) $ECHO_C" >&6
23943 ac_cv_c_bigendian=unknown
23944 # See if sys/param.h defines the BYTE_ORDER macro.
23945 cat >conftest.$ac_ext <<_ACEOF
23948 cat confdefs.h >>conftest.$ac_ext
23949 cat >>conftest.$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #include <sys/types.h>
23952 #include <sys/param.h>
23957 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23958 bogus endian macros
23964 rm -f conftest.$ac_objext
23965 if { (ac_try="$ac_compile"
23966 case "(($ac_try" in
23967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23968 *) ac_try_echo=$ac_try;;
23970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23971 (eval "$ac_compile") 2>conftest.er1
23973 grep -v '^
*+' conftest.er1 >conftest.err
23975 cat conftest.err >&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } && {
23978 test -z "$ac_c_werror_flag" ||
23979 test ! -s conftest.err
23980 } && test -s conftest.$ac_objext; then
23981 # It does; now see whether it defined to BIG_ENDIAN or not.
23982 cat >conftest.$ac_ext <<_ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <sys/types.h>
23989 #include <sys/param.h>
23994 #if BYTE_ORDER != BIG_ENDIAN
24001 rm -f conftest.$ac_objext
24002 if { (ac_try="$ac_compile"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_compile") 2>conftest.er1
24010 grep -v '^
*+' conftest.er1 >conftest.err
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } && {
24015 test -z "$ac_c_werror_flag" ||
24016 test ! -s conftest.err
24017 } && test -s conftest.$ac_objext; then
24018 ac_cv_c_bigendian=yes
24020 echo "$as_me: failed program was:" >&5
24021 sed 's
/^
/| /' conftest.$ac_ext >&5
24023 ac_cv_c_bigendian=no
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24028 echo "$as_me: failed program was:" >&5
24029 sed 's
/^
/| /' conftest.$ac_ext >&5
24034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24035 if test $ac_cv_c_bigendian = unknown; then
24036 if test "$cross_compiling" = yes; then
24037 ac_cv_c_bigendian=unknown
24039 cat >conftest.$ac_ext <<_ACEOF
24042 cat confdefs.h >>conftest.$ac_ext
24043 cat >>conftest.$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24046 /* Are we little or big endian? From Harbison&Steele. */
24050 char c[sizeof (long)];
24053 exit (u.c[sizeof (long) - 1] == 1);
24056 rm -f conftest$ac_exeext
24057 if { (ac_try="$ac_link"
24058 case "(($ac_try" in
24059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24060 *) ac_try_echo=$ac_try;;
24062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24063 (eval "$ac_link") 2>&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24067 { (case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24072 (eval "$ac_try") 2>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; }; then
24076 ac_cv_c_bigendian=no
24078 echo "$as_me: program exited with status $ac_status" >&5
24079 echo "$as_me: failed program was:" >&5
24080 sed 's
/^
/| /' conftest.$ac_ext >&5
24082 ( exit $ac_status )
24083 ac_cv_c_bigendian=yes
24085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24091 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24092 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24093 if test $ac_cv_c_bigendian = unknown; then
24094 { 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
24095 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;}
24097 if test $ac_cv_c_bigendian = yes; then
24098 cat >>confdefs.h <<\_ACEOF
24099 #define WORDS_BIGENDIAN 1
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24110 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24115 for ac_header in iostream
24117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 cat >conftest.$ac_ext <<_ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24131 #include <$ac_header>
24133 rm -f conftest.$ac_objext
24134 if { (ac_try="$ac_compile"
24135 case "(($ac_try" in
24136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24137 *) ac_try_echo=$ac_try;;
24139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24140 (eval "$ac_compile") 2>conftest.er1
24142 grep -v '^
*+' conftest.er1 >conftest.err
24144 cat conftest.err >&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } && {
24147 test -z "$ac_cxx_werror_flag" ||
24148 test ! -s conftest.err
24149 } && test -s conftest.$ac_objext; then
24150 eval "$as_ac_Header=yes"
24152 echo "$as_me: failed program was:" >&5
24153 sed 's
/^
/| /' conftest.$ac_ext >&5
24155 eval "$as_ac_Header=no"
24158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24160 ac_res=`eval echo '${'$as_ac_Header'}'`
24161 { echo "$as_me:$LINENO: result: $ac_res" >&5
24162 echo "${ECHO_T}$ac_res" >&6; }
24163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24164 cat >>confdefs.h <<_ACEOF
24165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24173 if test "$ac_cv_header_iostream" = "yes" ; then
24176 cat >>confdefs.h <<\_ACEOF
24177 #define wxUSE_IOSTREAMH 1
24183 ac_cpp='$CPP $CPPFLAGS'
24184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24191 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24192 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24193 if test "${wx_cv_explicit+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24201 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24205 cat >conftest.$ac_ext <<_ACEOF
24208 cat confdefs.h >>conftest.$ac_ext
24209 cat >>conftest.$ac_ext <<_ACEOF
24210 /* end confdefs.h. */
24212 class Foo { public: explicit Foo(int) {} };
24224 rm -f conftest.$ac_objext
24225 if { (ac_try="$ac_compile"
24226 case "(($ac_try" in
24227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_compile") 2>conftest.er1
24233 grep -v '^
*+' conftest.er1 >conftest.err
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } && {
24238 test -z "$ac_cxx_werror_flag" ||
24239 test ! -s conftest.err
24240 } && test -s conftest.$ac_objext; then
24242 cat >conftest.$ac_ext <<_ACEOF
24245 cat confdefs.h >>conftest.$ac_ext
24246 cat >>conftest.$ac_ext <<_ACEOF
24247 /* end confdefs.h. */
24249 class Foo { public: explicit Foo(int) {} };
24250 static void TakeFoo(const Foo& foo) { }
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24272 grep -v '^
*+' conftest.er1 >conftest.err
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_cxx_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24282 echo "$as_me: failed program was:" >&5
24283 sed 's
/^
/| /' conftest.$ac_ext >&5
24289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 echo "$as_me: failed program was:" >&5
24293 sed 's
/^
/| /' conftest.$ac_ext >&5
24299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24310 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24312 if test "$wx_cv_explicit" = "yes"; then
24313 cat >>confdefs.h <<\_ACEOF
24314 #define HAVE_EXPLICIT 1
24320 if test "x$SUNCXX" = xyes; then
24321 CXXFLAGS="-features=tmplife $CXXFLAGS"
24324 if test "x$SUNCC" = xyes; then
24325 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24328 if test "x$SGICC" = "xyes"; then
24329 CFLAGS="-woff 3970 $CFLAGS"
24331 if test "x$SGICXX" = "xyes"; then
24332 CXXFLAGS="-woff 3970 $CXXFLAGS"
24335 if test "x$HPCC" = "xyes"; then
24336 CFLAGS="+W 2011,2450 $CFLAGS"
24338 if test "x$HPCXX" = "xyes"; then
24339 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24342 if test "x$COMPAQCXX" = "xyes"; then
24343 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24349 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24353 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24354 if test "$wxUSE_UNICODE" = "yes"; then
24355 std_string="std::wstring"
24356 char_type="wchar_t"
24358 std_string="std::string"
24362 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24363 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24364 if test "${wx_cv_class_stdstring+set}" = set; then
24365 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 cat >conftest.$ac_ext <<_ACEOF
24371 cat confdefs.h >>conftest.$ac_ext
24372 cat >>conftest.$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24383 rm -f conftest.$ac_objext
24384 if { (ac_try="$ac_compile"
24385 case "(($ac_try" in
24386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24387 *) ac_try_echo=$ac_try;;
24389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24390 (eval "$ac_compile") 2>conftest.er1
24392 grep -v '^
*+' conftest.er1 >conftest.err
24394 cat conftest.err >&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); } && {
24397 test -z "$ac_cxx_werror_flag" ||
24398 test ! -s conftest.err
24399 } && test -s conftest.$ac_objext; then
24400 wx_cv_class_stdstring=yes
24402 echo "$as_me: failed program was:" >&5
24403 sed 's
/^
/| /' conftest.$ac_ext >&5
24405 wx_cv_class_stdstring=no
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24414 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24416 if test "$wx_cv_class_stdstring" = yes; then
24417 if test "$wxUSE_UNICODE" = "yes"; then
24418 cat >>confdefs.h <<\_ACEOF
24419 #define HAVE_STD_WSTRING 1
24424 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24425 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24426 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24430 cat >conftest.$ac_ext <<_ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h. */
24437 #ifdef HAVE_WCHAR_H
24439 # include <stddef.h>
24441 # include <wchar.h>
24443 #ifdef HAVE_STDLIB_H
24444 # include <stdlib.h>
24452 std::basic_string<$char_type> foo;
24453 const $char_type* dummy = foo.c_str();
24458 rm -f conftest.$ac_objext
24459 if { (ac_try="$ac_compile"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_compile") 2>conftest.er1
24467 grep -v '^
*+' conftest.er1 >conftest.err
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_cxx_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest.$ac_objext; then
24475 wx_cv_class_stdbasicstring=yes
24477 echo "$as_me: failed program was:" >&5
24478 sed 's
/^
/| /' conftest.$ac_ext >&5
24480 wx_cv_class_stdbasicstring=no
24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24489 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24491 if test "$wx_cv_class_stdbasicstring" != yes; then
24492 if test "$wxUSE_STL" = "yes"; then
24493 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24494 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24495 { (exit 1); exit 1; }; }
24496 elif test "$wxUSE_STD_STRING" = "yes"; then
24497 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24498 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24499 { (exit 1); exit 1; }; }
24501 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24502 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24503 wxUSE_STD_STRING=no
24509 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24510 { echo "$as_me:$LINENO: checking for std::istream" >&5
24511 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24512 if test "${ac_cv_type_std__istream+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 cat >conftest.$ac_ext <<_ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24521 #include <iostream>
24523 typedef std::istream ac__type_new_;
24527 if ((ac__type_new_ *) 0)
24529 if (sizeof (ac__type_new_))
24535 rm -f conftest.$ac_objext
24536 if { (ac_try="$ac_compile"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_compile") 2>conftest.er1
24544 grep -v '^
*+' conftest.er1 >conftest.err
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && {
24549 test -z "$ac_cxx_werror_flag" ||
24550 test ! -s conftest.err
24551 } && test -s conftest.$ac_objext; then
24552 ac_cv_type_std__istream=yes
24554 echo "$as_me: failed program was:" >&5
24555 sed 's
/^
/| /' conftest.$ac_ext >&5
24557 ac_cv_type_std__istream=no
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24562 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24563 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24564 if test $ac_cv_type_std__istream = yes; then
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE_STD__ISTREAM 1
24572 wxUSE_STD_IOSTREAM=no
24574 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24575 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24576 if test "${ac_cv_type_std__ostream+set}" = set; then
24577 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 cat >conftest.$ac_ext <<_ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 #include <iostream>
24587 typedef std::ostream ac__type_new_;
24591 if ((ac__type_new_ *) 0)
24593 if (sizeof (ac__type_new_))
24599 rm -f conftest.$ac_objext
24600 if { (ac_try="$ac_compile"
24601 case "(($ac_try" in
24602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24603 *) ac_try_echo=$ac_try;;
24605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24606 (eval "$ac_compile") 2>conftest.er1
24608 grep -v '^
*+' conftest.er1 >conftest.err
24610 cat conftest.err >&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } && {
24613 test -z "$ac_cxx_werror_flag" ||
24614 test ! -s conftest.err
24615 } && test -s conftest.$ac_objext; then
24616 ac_cv_type_std__ostream=yes
24618 echo "$as_me: failed program was:" >&5
24619 sed 's
/^
/| /' conftest.$ac_ext >&5
24621 ac_cv_type_std__ostream=no
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24626 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24627 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24628 if test $ac_cv_type_std__ostream = yes; then
24630 cat >>confdefs.h <<_ACEOF
24631 #define HAVE_STD__OSTREAM 1
24636 wxUSE_STD_IOSTREAM=no
24640 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24641 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24642 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24643 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24644 { (exit 1); exit 1; }; }
24646 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24647 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24652 if test "$wxUSE_STL" = "yes"; then
24653 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24654 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24655 if test "${wx_cv_lib_stl+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 cat >conftest.$ac_ext <<_ACEOF
24661 cat confdefs.h >>conftest.$ac_ext
24662 cat >>conftest.$ac_ext <<_ACEOF
24663 /* end confdefs.h. */
24665 #include <functional>
24666 #include <algorithm>
24672 std::vector<int> moo;
24673 std::list<int> foo;
24674 std::vector<int>::iterator it =
24675 std::find_if(moo.begin(), moo.end(),
24676 std::bind2nd(std::less<int>(), 3));
24681 rm -f conftest.$ac_objext
24682 if { (ac_try="$ac_compile"
24683 case "(($ac_try" in
24684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_compile") 2>conftest.er1
24690 grep -v '^
*+' conftest.er1 >conftest.err
24692 cat conftest.err >&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); } && {
24695 test -z "$ac_cxx_werror_flag" ||
24696 test ! -s conftest.err
24697 } && test -s conftest.$ac_objext; then
24700 echo "$as_me: failed program was:" >&5
24701 sed 's
/^
/| /' conftest.$ac_ext >&5
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24710 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24711 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24713 if test "$wx_cv_lib_stl" != yes; then
24714 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24715 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24716 { (exit 1); exit 1; }; }
24719 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24720 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24721 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24722 echo $ECHO_N "(cached) $ECHO_C" >&6
24724 cat >conftest.$ac_ext <<_ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h. */
24734 std::string foo, bar;
24736 foo.compare(1, 1, bar);
24737 foo.compare(1, 1, bar, 1, 1);
24739 foo.compare(1, 1, "");
24740 foo.compare(1, 1, "", 2);
24745 rm -f conftest.$ac_objext
24746 if { (ac_try="$ac_compile"
24747 case "(($ac_try" in
24748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24749 *) ac_try_echo=$ac_try;;
24751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24752 (eval "$ac_compile") 2>conftest.er1
24754 grep -v '^
*+' conftest.er1 >conftest.err
24756 cat conftest.err >&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); } && {
24759 test -z "$ac_cxx_werror_flag" ||
24760 test ! -s conftest.err
24761 } && test -s conftest.$ac_objext; then
24762 wx_cv_func_stdstring_compare=yes
24764 echo "$as_me: failed program was:" >&5
24765 sed 's
/^
/| /' conftest.$ac_ext >&5
24767 wx_cv_func_stdstring_compare=no
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24774 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24775 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24777 if test "$wx_cv_func_stdstring_compare" = yes; then
24778 cat >>confdefs.h <<\_ACEOF
24779 #define HAVE_STD_STRING_COMPARE 1
24784 if test "$wx_cv_class_gnuhashmapset" = yes; then
24785 cat >>confdefs.h <<\_ACEOF
24786 #define HAVE_EXT_HASH_MAP 1
24789 cat >>confdefs.h <<\_ACEOF
24790 #define HAVE_GNU_CXX_HASH_MAP 1
24795 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24796 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24797 if test "${ac_cv_header_unordered_map+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24800 cat >conftest.$ac_ext <<_ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24809 #include <unordered_map>
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24820 grep -v '^
*+' conftest.er1 >conftest.err
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_cxx_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24828 ac_cv_header_unordered_map=yes
24830 echo "$as_me: failed program was:" >&5
24831 sed 's
/^
/| /' conftest.$ac_ext >&5
24833 ac_cv_header_unordered_map=no
24836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24839 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24840 if test $ac_cv_header_unordered_map = yes; then
24841 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24842 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24843 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 cat >conftest.$ac_ext <<_ACEOF
24849 cat confdefs.h >>conftest.$ac_ext
24850 cat >>conftest.$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852 #include <unordered_map>
24853 #include <unordered_set>
24857 std::unordered_map<double*, char*> test1;
24858 std::unordered_set<char*> test2;
24863 rm -f conftest.$ac_objext
24864 if { (ac_try="$ac_compile"
24865 case "(($ac_try" in
24866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24867 *) ac_try_echo=$ac_try;;
24869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24870 (eval "$ac_compile") 2>conftest.er1
24872 grep -v '^
*+' conftest.er1 >conftest.err
24874 cat conftest.err >&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } && {
24877 test -z "$ac_cxx_werror_flag" ||
24878 test ! -s conftest.err
24879 } && test -s conftest.$ac_objext; then
24880 wx_cv_class_stdunorderedmapset=yes
24882 echo "$as_me: failed program was:" >&5
24883 sed 's
/^
/| /' conftest.$ac_ext >&5
24885 wx_cv_class_stdunorderedmapset=no
24888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24893 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24898 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_STD_UNORDERED_MAP 1
24903 cat >>confdefs.h <<\_ACEOF
24904 #define HAVE_STD_UNORDERED_SET 1
24908 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24909 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24910 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24911 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 cat >conftest.$ac_ext <<_ACEOF
24916 cat confdefs.h >>conftest.$ac_ext
24917 cat >>conftest.$ac_ext <<_ACEOF
24918 /* end confdefs.h. */
24922 #include <tr1/unordered_map>
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24933 grep -v '^
*+' conftest.er1 >conftest.err
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_cxx_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 ac_cv_header_tr1_unordered_map=yes
24943 echo "$as_me: failed program was:" >&5
24944 sed 's
/^
/| /' conftest.$ac_ext >&5
24946 ac_cv_header_tr1_unordered_map=no
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24952 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24953 if test $ac_cv_header_tr1_unordered_map = yes; then
24954 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24955 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24956 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24959 cat >conftest.$ac_ext <<_ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 #include <tr1/unordered_map>
24966 #include <tr1/unordered_set>
24970 std::tr1::unordered_map<double*, char*> test1;
24971 std::tr1::unordered_set<char*> test2;
24972 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24973 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24979 rm -f conftest.
$ac_objext
24980 if { (ac_try
="$ac_compile"
24981 case "(($ac_try" in
24982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24983 *) ac_try_echo=$ac_try;;
24985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24986 (eval "$ac_compile") 2>conftest.er1
24988 grep -v '^ *+' conftest.er1 >conftest.err
24990 cat conftest.err >&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); } && {
24993 test -z "$ac_cxx_werror_flag" ||
24994 test ! -s conftest.err
24995 } && test -s conftest.$ac_objext; then
24996 wx_cv_class_tr1unorderedmapset=yes
24998 echo "$as_me: failed program was:" >&5
24999 sed 's/^/| /' conftest.$ac_ext >&5
25001 wx_cv_class_tr1unorderedmapset=no
25004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25008 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25009 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25014 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25015 cat >>confdefs.h <<\_ACEOF
25016 #define HAVE_TR1_UNORDERED_MAP 1
25019 cat >>confdefs.h <<\_ACEOF
25020 #define HAVE_TR1_UNORDERED_SET 1
25024 { echo "$as_me:$LINENO: checking for hash_map" >&5
25025 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25026 if test "${ac_cv_header_hash_map+set}" = set; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25029 cat >conftest.$ac_ext <<_ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25038 #include <hash_map>
25040 rm -f conftest.$ac_objext
25041 if { (ac_try="$ac_compile"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25044 *) ac_try_echo
=$ac_try;;
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_compile") 2>conftest.er1
25049 grep -v '^ *+' conftest.er1
>conftest.err
25051 cat conftest.err
>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && {
25054 test -z "$ac_cxx_werror_flag" ||
25055 test ! -s conftest.err
25056 } && test -s conftest.
$ac_objext; then
25057 ac_cv_header_hash_map
=yes
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.
$ac_ext >&5
25062 ac_cv_header_hash_map
=no
25065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25067 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25068 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25069 if test $ac_cv_header_hash_map = yes; then
25070 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25071 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25072 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25073 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 cat >conftest.
$ac_ext <<_ACEOF
25078 cat confdefs.h
>>conftest.
$ac_ext
25079 cat >>conftest.
$ac_ext <<_ACEOF
25080 /* end confdefs.h. */
25081 #include <hash_map>
25082 #include <hash_set>
25086 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25087 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25092 rm -f conftest.
$ac_objext
25093 if { (ac_try
="$ac_compile"
25094 case "(($ac_try" in
25095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;;
25098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099 (eval "$ac_compile") 2>conftest.er1
25101 grep -v '^ *+' conftest.er1 >conftest.err
25103 cat conftest.err >&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } && {
25106 test -z "$ac_cxx_werror_flag" ||
25107 test ! -s conftest.err
25108 } && test -s conftest.$ac_objext; then
25109 wx_cv_class_stdhashmapset=yes
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25114 wx_cv_class_stdhashmapset=no
25117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25121 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25122 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25127 if test "$wx_cv_class_stdhashmapset" = yes; then
25128 cat >>confdefs.h <<\_ACEOF
25129 #define HAVE_HASH_MAP 1
25132 cat >>confdefs.h <<\_ACEOF
25133 #define HAVE_STD_HASH_MAP 1
25138 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25139 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25140 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 cat >conftest.$ac_ext <<_ACEOF
25146 cat confdefs.h >>conftest.$ac_ext
25147 cat >>conftest.$ac_ext <<_ACEOF
25148 /* end confdefs.h. */
25152 #include <ext/hash_map>
25154 rm -f conftest.$ac_objext
25155 if { (ac_try="$ac_compile"
25156 case "(($ac_try" in
25157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25158 *) ac_try_echo
=$ac_try;;
25160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25161 (eval "$ac_compile") 2>conftest.er1
25163 grep -v '^ *+' conftest.er1
>conftest.err
25165 cat conftest.err
>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); } && {
25168 test -z "$ac_cxx_werror_flag" ||
25169 test ! -s conftest.err
25170 } && test -s conftest.
$ac_objext; then
25171 ac_cv_header_ext_hash_map
=yes
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.
$ac_ext >&5
25176 ac_cv_header_ext_hash_map
=no
25179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25181 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25182 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25183 if test $ac_cv_header_ext_hash_map = yes; then
25184 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25185 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25186 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 cat >conftest.
$ac_ext <<_ACEOF
25192 cat confdefs.h
>>conftest.
$ac_ext
25193 cat >>conftest.
$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 #include <ext/hash_map>
25196 #include <ext/hash_set>
25200 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25201 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25206 rm -f conftest.
$ac_objext
25207 if { (ac_try
="$ac_compile"
25208 case "(($ac_try" in
25209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25210 *) ac_try_echo=$ac_try;;
25212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25213 (eval "$ac_compile") 2>conftest.er1
25215 grep -v '^ *+' conftest.er1 >conftest.err
25217 cat conftest.err >&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } && {
25220 test -z "$ac_cxx_werror_flag" ||
25221 test ! -s conftest.err
25222 } && test -s conftest.$ac_objext; then
25223 wx_cv_class_gnuhashmapset=yes
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25228 wx_cv_class_gnuhashmapset=no
25231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25236 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25247 if test -n "$GCC"; then
25248 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25249 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25250 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25251 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 cat >conftest.$ac_ext <<_ACEOF
25257 cat confdefs.h >>conftest.$ac_ext
25258 cat >>conftest.$ac_ext <<_ACEOF
25259 /* end confdefs.h. */
25265 unsigned int value=0;
25266 /* wxAtomicInc doesn't use return value here */
25267 __sync_fetch_and_add(&value, 2);
25268 __sync_sub_and_fetch(&value, 1);
25269 /* but wxAtomicDec does, so mimic that: */
25270 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25276 rm -f conftest.$ac_objext conftest$ac_exeext
25277 if { (ac_try="$ac_link"
25278 case "(($ac_try" in
25279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25280 *) ac_try_echo
=$ac_try;;
25282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25283 (eval "$ac_link") 2>conftest.er1
25285 grep -v '^ *+' conftest.er1
>conftest.err
25287 cat conftest.err
>&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } && {
25290 test -z "$ac_cxx_werror_flag" ||
25291 test ! -s conftest.err
25292 } && test -s conftest
$ac_exeext &&
25293 $as_test_x conftest
$ac_exeext; then
25294 wx_cv_cc_gcc_atomic_builtins
=yes
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.
$ac_ext >&5
25299 wx_cv_cc_gcc_atomic_builtins
=no
25302 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25303 conftest
$ac_exeext conftest.
$ac_ext
25307 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25308 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25309 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25310 cat >>confdefs.h
<<\_ACEOF
25311 #define HAVE_GCC_ATOMIC_BUILTINS 1
25319 ac_cpp
='$CPP $CPPFLAGS'
25320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25327 /usr/local/include \
25328 /usr/local/X11/include \
25329 /usr/local/include/X11 \
25330 /usr/local/X11R6/include \
25331 /usr/local/include/X11R6 \
25333 /usr/Motif-2.1/include \
25334 /usr/Motif-1.2/include \
25335 /usr/include/Motif1.2 \
25338 /usr/openwin/include \
25342 /usr/X11R6/include \
25343 /usr/X11R6.4/include \
25345 /usr/include/X11R6 \
25350 /usr/XFree86/include/X11 \
25353 /usr/local/X1R5/include \
25354 /usr/local/include/X11R5 \
25355 /usr/X11R5/include \
25356 /usr/include/X11R5 \
25358 /usr/local/X11R4/include \
25359 /usr/local/include/X11R4 \
25360 /usr/X11R4/include \
25361 /usr/include/X11R4 \
25363 /usr/openwin/share/include"
25365 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25366 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25370 if test "${wx_cv_std_libpath+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25375 for e
in a so sl dylib dll.a
; do
25377 if test -f $libc; then
25380 cat >conftest.
$ac_ext <<_ACEOF
25381 int main() { return 0; }
25383 rm -f conftest.
$ac_objext conftest
$ac_exeext
25384 if { (ac_try
="$ac_link"
25385 case "(($ac_try" in
25386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_link") 2>conftest.er1
25392 grep -v '^ *+' conftest.er1 >conftest.err
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_c_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest$ac_exeext &&
25400 $as_test_x conftest$ac_exeext; then
25401 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25410 conftest$ac_exeext conftest.$ac_ext
25412 if test "x$wx_cv_std_libpath" != "x"; then
25418 if test "x$wx_cv_std_libpath" = "x"; then
25419 wx_cv_std_libpath="lib"
25428 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25429 wx_cv_std_libpath="lib/64"
25431 wx_cv_std_libpath="lib"
25436 if test "$ac_cv_sizeof_void_p" = 8 -a \
25437 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25438 wx_cv_std_libpath="lib64"
25440 wx_cv_std_libpath="lib"
25445 wx_cv_std_libpath="lib";
25449 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25450 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25452 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25454 if test "$build" != "$host" -a "$GCC" = yes; then
25455 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25456 cross_root=`dirname $cross_root`
25457 cross_root=`dirname $cross_root`
25459 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25460 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25461 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25463 if test -z "$PKG_CONFIG_PATH"; then
25464 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25465 export PKG_CONFIG_PATH
25468 if test -z "$x_includes" -o "$x_includes" = NONE; then
25471 for ac_dir in $SEARCH_INCLUDE /usr/include;
25473 if test -f "$ac_dir/X11/Intrinsic.h"; then
25474 ac_find_includes=$ac_dir
25479 x_includes=$ac_find_includes
25481 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25484 for ac_dir in $SEARCH_LIB;
25486 for ac_extension in a so sl dylib dll.a; do
25487 if test -f "$ac_dir/libXt.$ac_extension"; then
25488 ac_find_libraries=$ac_dir
25494 x_libraries=$ac_find_libraries
25500 cat >confcache <<\_ACEOF
25501 # This file is a shell script that caches the results of configure
25502 # tests run on this system so they can be shared between configure
25503 # scripts and configure runs, see configure's option --config-cache.
25504 # It is not useful on other systems. If it contains results you don't
25505 # want to keep, you may remove or edit it.
25507 # config.status only pays attention to the cache file if you give it
25508 # the --recheck option to rerun configure.
25510 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25512 # following values.
25516 # The following way of writing the cache mishandles newlines in values,
25517 # but we know of no workaround that is simple, portable, and efficient.
25518 # So, we kill variables containing newlines.
25519 # Ultrix sh set writes to stderr and can't be redirected directly,
25520 # and sets the high bit in the cache file unless we assign to the vars.
25522 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25523 eval ac_val
=\$
$ac_var
25527 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25528 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25531 _
| IFS
| as_nl
) ;; #(
25532 *) $as_unset $ac_var ;;
25538 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25539 *${as_nl}ac_space
=\
*)
25540 # `set' does not quote correctly, so add quotes (double-quote
25541 # substitution turns \\\\ into \\, and sed turns \\ into \).
25544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25547 # `set' quotes correctly as required by POSIX, so do not add quotes.
25548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25559 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25561 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25562 if test -w "$cache_file"; then
25563 test "x$cache_file" != "x/dev/null" &&
25564 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25565 echo "$as_me: updating cache $cache_file" >&6;}
25566 cat confcache
>$cache_file
25568 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25569 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25574 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25575 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25576 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25577 if test "${wx_cv_lib_glibc21+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 cat >conftest.
$ac_ext <<_ACEOF
25584 cat confdefs.h
>>conftest.
$ac_ext
25585 cat >>conftest.
$ac_ext <<_ACEOF
25586 /* end confdefs.h. */
25587 #include <features.h>
25592 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25600 rm -f conftest.
$ac_objext
25601 if { (ac_try
="$ac_compile"
25602 case "(($ac_try" in
25603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25604 *) ac_try_echo=$ac_try;;
25606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25607 (eval "$ac_compile") 2>conftest.er1
25609 grep -v '^ *+' conftest.er1 >conftest.err
25611 cat conftest.err >&5
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); } && {
25614 test -z "$ac_c_werror_flag" ||
25615 test ! -s conftest.err
25616 } && test -s conftest.$ac_objext; then
25618 wx_cv_lib_glibc21=yes
25621 echo "$as_me: failed program was:" >&5
25622 sed 's/^/| /' conftest.$ac_ext >&5
25625 wx_cv_lib_glibc21=no
25630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25633 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25634 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25635 if test "$wx_cv_lib_glibc21" = "yes"; then
25636 cat >>confdefs.h <<\_ACEOF
25637 #define wxHAVE_GLIBC2 1
25643 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25644 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25645 cat >>confdefs.h <<\_ACEOF
25646 #define _GNU_SOURCE 1
25657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25661 echo $ECHO_N "(cached) $ECHO_C" >&6
25663 cat >conftest.$ac_ext <<_ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25671 #define $ac_func innocuous_$ac_func
25673 /* System header to define __stub macros and hopefully few prototypes,
25674 which can conflict with char $ac_func (); below.
25675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25676 <limits.h> exists even on freestanding compilers. */
25679 # include <limits.h>
25681 # include <assert.h>
25686 /* Override any GCC internal prototype to avoid an error.
25687 Use char because int might match the return type of a GCC
25688 builtin and then its argument prototype would still apply. */
25693 /* The GNU C library defines this for functions which it implements
25694 to always fail with ENOSYS. Some functions are actually named
25695 something starting with __ and the normal name is an alias. */
25696 #if defined __stub_$ac_func || defined __stub___$ac_func
25703 return $ac_func ();
25708 rm -f conftest.$ac_objext conftest$ac_exeext
25709 if { (ac_try="$ac_link"
25710 case "(($ac_try" in
25711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25712 *) ac_try_echo
=$ac_try;;
25714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25715 (eval "$ac_link") 2>conftest.er1
25717 grep -v '^ *+' conftest.er1
>conftest.err
25719 cat conftest.err
>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && {
25722 test -z "$ac_c_werror_flag" ||
25723 test ! -s conftest.err
25724 } && test -s conftest
$ac_exeext &&
25725 $as_test_x conftest
$ac_exeext; then
25726 eval "$as_ac_var=yes"
25728 echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.
$ac_ext >&5
25731 eval "$as_ac_var=no"
25734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25735 conftest
$ac_exeext conftest.
$ac_ext
25737 ac_res
=`eval echo '${'$as_ac_var'}'`
25738 { echo "$as_me:$LINENO: result: $ac_res" >&5
25739 echo "${ECHO_T}$ac_res" >&6; }
25740 if test `eval echo '${'$as_ac_var'}'` = yes; then
25741 cat >>confdefs.h
<<_ACEOF
25742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25749 for ac_func
in floor
25751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25754 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25757 cat >conftest.
$ac_ext <<_ACEOF
25760 cat confdefs.h
>>conftest.
$ac_ext
25761 cat >>conftest.
$ac_ext <<_ACEOF
25762 /* end confdefs.h. */
25763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25765 #define $ac_func innocuous_$ac_func
25767 /* System header to define __stub macros and hopefully few prototypes,
25768 which can conflict with char $ac_func (); below.
25769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25770 <limits.h> exists even on freestanding compilers. */
25773 # include <limits.h>
25775 # include <assert.h>
25780 /* Override any GCC internal prototype to avoid an error.
25781 Use char because int might match the return type of a GCC
25782 builtin and then its argument prototype would still apply. */
25787 /* The GNU C library defines this for functions which it implements
25788 to always fail with ENOSYS. Some functions are actually named
25789 something starting with __ and the normal name is an alias. */
25790 #if defined __stub_$ac_func || defined __stub___$ac_func
25797 return $ac_func ();
25802 rm -f conftest.
$ac_objext conftest
$ac_exeext
25803 if { (ac_try
="$ac_link"
25804 case "(($ac_try" in
25805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25806 *) ac_try_echo=$ac_try;;
25808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25809 (eval "$ac_link") 2>conftest.er1
25811 grep -v '^ *+' conftest.er1 >conftest.err
25813 cat conftest.err >&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } && {
25816 test -z "$ac_c_werror_flag" ||
25817 test ! -s conftest.err
25818 } && test -s conftest$ac_exeext &&
25819 $as_test_x conftest$ac_exeext; then
25820 eval "$as_ac_var=yes"
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.$ac_ext >&5
25825 eval "$as_ac_var=no"
25828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25829 conftest$ac_exeext conftest.$ac_ext
25831 ac_res=`eval echo '${'$as_ac_var'}'`
25832 { echo "$as_me:$LINENO: result: $ac_res" >&5
25833 echo "${ECHO_T}$ac_res" >&6; }
25834 if test `eval echo '${'$as_ac_var'}'` = yes; then
25835 cat >>confdefs.h <<_ACEOF
25836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25842 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25843 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25844 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25845 { echo "$as_me:$LINENO: result: yes" >&5
25846 echo "${ECHO_T}yes" >&6; }
25848 { echo "$as_me:$LINENO: result: no" >&5
25849 echo "${ECHO_T}no" >&6; }
25851 # use different functions to avoid configure caching
25857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25858 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25860 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25861 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 cat >conftest.$ac_ext <<_ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25871 #define $ac_func innocuous_$ac_func
25873 /* System header to define __stub macros and hopefully few prototypes,
25874 which can conflict with char $ac_func (); below.
25875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25876 <limits.h> exists even on freestanding compilers. */
25879 # include <limits.h>
25881 # include <assert.h>
25886 /* Override any GCC internal prototype to avoid an error.
25887 Use char because int might match the return type of a GCC
25888 builtin and then its argument prototype would still apply. */
25893 /* The GNU C library defines this for functions which it implements
25894 to always fail with ENOSYS. Some functions are actually named
25895 something starting with __ and the normal name is an alias. */
25896 #if defined __stub_$ac_func || defined __stub___$ac_func
25903 return $ac_func ();
25908 rm -f conftest.$ac_objext conftest$ac_exeext
25909 if { (ac_try="$ac_link"
25910 case "(($ac_try" in
25911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25912 *) ac_try_echo
=$ac_try;;
25914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25915 (eval "$ac_link") 2>conftest.er1
25917 grep -v '^ *+' conftest.er1
>conftest.err
25919 cat conftest.err
>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } && {
25922 test -z "$ac_c_werror_flag" ||
25923 test ! -s conftest.err
25924 } && test -s conftest
$ac_exeext &&
25925 $as_test_x conftest
$ac_exeext; then
25926 eval "$as_ac_var=yes"
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.
$ac_ext >&5
25931 eval "$as_ac_var=no"
25934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25935 conftest
$ac_exeext conftest.
$ac_ext
25937 ac_res
=`eval echo '${'$as_ac_var'}'`
25938 { echo "$as_me:$LINENO: result: $ac_res" >&5
25939 echo "${ECHO_T}$ac_res" >&6; }
25940 if test `eval echo '${'$as_ac_var'}'` = yes; then
25941 cat >>confdefs.h
<<_ACEOF
25942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25949 for ac_func
in ceil
25951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25954 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25955 echo $ECHO_N "(cached) $ECHO_C" >&6
25957 cat >conftest.
$ac_ext <<_ACEOF
25960 cat confdefs.h
>>conftest.
$ac_ext
25961 cat >>conftest.
$ac_ext <<_ACEOF
25962 /* end confdefs.h. */
25963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25965 #define $ac_func innocuous_$ac_func
25967 /* System header to define __stub macros and hopefully few prototypes,
25968 which can conflict with char $ac_func (); below.
25969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25970 <limits.h> exists even on freestanding compilers. */
25973 # include <limits.h>
25975 # include <assert.h>
25980 /* Override any GCC internal prototype to avoid an error.
25981 Use char because int might match the return type of a GCC
25982 builtin and then its argument prototype would still apply. */
25987 /* The GNU C library defines this for functions which it implements
25988 to always fail with ENOSYS. Some functions are actually named
25989 something starting with __ and the normal name is an alias. */
25990 #if defined __stub_$ac_func || defined __stub___$ac_func
25997 return $ac_func ();
26002 rm -f conftest.
$ac_objext conftest
$ac_exeext
26003 if { (ac_try
="$ac_link"
26004 case "(($ac_try" in
26005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26006 *) ac_try_echo=$ac_try;;
26008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26009 (eval "$ac_link") 2>conftest.er1
26011 grep -v '^ *+' conftest.er1 >conftest.err
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } && {
26016 test -z "$ac_c_werror_flag" ||
26017 test ! -s conftest.err
26018 } && test -s conftest$ac_exeext &&
26019 $as_test_x conftest$ac_exeext; then
26020 eval "$as_ac_var=yes"
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26025 eval "$as_ac_var=no"
26028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26029 conftest$ac_exeext conftest.$ac_ext
26031 ac_res=`eval echo '${'$as_ac_var'}'`
26032 { echo "$as_me:$LINENO: result: $ac_res" >&5
26033 echo "${ECHO_T}$ac_res" >&6; }
26034 if test `eval echo '${'$as_ac_var'}'` = yes; then
26035 cat >>confdefs.h <<_ACEOF
26036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26042 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26043 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26044 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26045 { echo "$as_me:$LINENO: result: yes" >&5
26046 echo "${ECHO_T}yes" >&6; }
26048 { echo "$as_me:$LINENO: result: no" >&5
26049 echo "${ECHO_T}no" >&6; }
26050 # not sure we should warn the user, crash, etc.
26055 ac_cpp='$CXXCPP $CPPFLAGS'
26056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26060 if test "wxUSE_UNICODE" = "yes"; then
26062 for wx_func in wcstoull
26064 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26065 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26066 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26079 $ac_includes_default
26095 rm -f conftest.$ac_objext conftest$ac_exeext
26096 if { (ac_try="$ac_link"
26097 case "(($ac_try" in
26098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26099 *) ac_try_echo
=$ac_try;;
26101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26102 (eval "$ac_link") 2>conftest.er1
26104 grep -v '^ *+' conftest.er1
>conftest.err
26106 cat conftest.err
>&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } && {
26109 test -z "$ac_cxx_werror_flag" ||
26110 test ! -s conftest.err
26111 } && test -s conftest
$ac_exeext &&
26112 $as_test_x conftest
$ac_exeext; then
26113 eval wx_cv_func_
$wx_func=yes
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.
$ac_ext >&5
26118 eval wx_cv_func_
$wx_func=no
26121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26122 conftest
$ac_exeext conftest.
$ac_ext
26125 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26126 { echo "$as_me:$LINENO: result: $ac_res" >&5
26127 echo "${ECHO_T}$ac_res" >&6; }
26129 if eval test \
$wx_cv_func_$wx_func = yes
26131 cat >>confdefs.h
<<_ACEOF
26132 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26144 for wx_func
in strtoull
26146 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26147 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26148 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26152 cat >conftest.
$ac_ext <<_ACEOF
26156 cat confdefs.h
>>conftest.
$ac_ext
26157 cat >>conftest.
$ac_ext <<_ACEOF
26158 /* end confdefs.h. */
26161 $ac_includes_default
26177 rm -f conftest.
$ac_objext conftest
$ac_exeext
26178 if { (ac_try
="$ac_link"
26179 case "(($ac_try" in
26180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26181 *) ac_try_echo=$ac_try;;
26183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26184 (eval "$ac_link") 2>conftest.er1
26186 grep -v '^ *+' conftest.er1 >conftest.err
26188 cat conftest.err >&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } && {
26191 test -z "$ac_cxx_werror_flag" ||
26192 test ! -s conftest.err
26193 } && test -s conftest$ac_exeext &&
26194 $as_test_x conftest$ac_exeext; then
26195 eval wx_cv_func_$wx_func=yes
26197 echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26200 eval wx_cv_func_$wx_func=no
26203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26204 conftest$ac_exeext conftest.$ac_ext
26207 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26208 { echo "$as_me:$LINENO: result: $ac_res" >&5
26209 echo "${ECHO_T}$ac_res" >&6; }
26211 if eval test \$wx_cv_func_$wx_func = yes
26213 cat >>confdefs.h <<_ACEOF
26214 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26234 if test "$wxUSE_REGEX" != "no"; then
26235 cat >>confdefs.h <<\_ACEOF
26236 #define wxUSE_REGEX 1
26240 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26241 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26242 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26243 wxUSE_REGEX=builtin
26246 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26247 { echo "$as_me:$LINENO: checking for regex.h" >&5
26248 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26249 if test "${ac_cv_header_regex_h+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26266 *) ac_try_echo
=$ac_try;;
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26271 grep -v '^ *+' conftest.er1
>conftest.err
26273 cat conftest.err
>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_c_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.
$ac_objext; then
26279 ac_cv_header_regex_h
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_cv_header_regex_h
=no
26287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26289 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26290 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26291 if test $ac_cv_header_regex_h = yes; then
26294 for ac_func
in regcomp re_search
26296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26299 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 cat >conftest.
$ac_ext <<_ACEOF
26305 cat confdefs.h
>>conftest.
$ac_ext
26306 cat >>conftest.
$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26310 #define $ac_func innocuous_$ac_func
26312 /* System header to define __stub macros and hopefully few prototypes,
26313 which can conflict with char $ac_func (); below.
26314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26315 <limits.h> exists even on freestanding compilers. */
26318 # include <limits.h>
26320 # include <assert.h>
26325 /* Override any GCC internal prototype to avoid an error.
26326 Use char because int might match the return type of a GCC
26327 builtin and then its argument prototype would still apply. */
26332 /* The GNU C library defines this for functions which it implements
26333 to always fail with ENOSYS. Some functions are actually named
26334 something starting with __ and the normal name is an alias. */
26335 #if defined __stub_$ac_func || defined __stub___$ac_func
26342 return $ac_func ();
26347 rm -f conftest.
$ac_objext conftest
$ac_exeext
26348 if { (ac_try
="$ac_link"
26349 case "(($ac_try" in
26350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26351 *) ac_try_echo=$ac_try;;
26353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26354 (eval "$ac_link") 2>conftest.er1
26356 grep -v '^ *+' conftest.er1 >conftest.err
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } && {
26361 test -z "$ac_c_werror_flag" ||
26362 test ! -s conftest.err
26363 } && test -s conftest$ac_exeext &&
26364 $as_test_x conftest$ac_exeext; then
26365 eval "$as_ac_var=yes"
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.$ac_ext >&5
26370 eval "$as_ac_var=no"
26373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26374 conftest$ac_exeext conftest.$ac_ext
26376 ac_res=`eval echo '${'$as_ac_var'}'`
26377 { echo "$as_me:$LINENO: result: $ac_res" >&5
26378 echo "${ECHO_T}$ac_res" >&6; }
26379 if test `eval echo '${'$as_ac_var'}'` = yes; then
26380 cat >>confdefs.h <<_ACEOF
26381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26391 if test "x$ac_cv_func_regcomp" != "xyes"; then
26392 if test "$wxUSE_REGEX" = "sys" ; then
26393 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26394 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26395 { (exit 1); exit 1; }; }
26397 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26398 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26399 wxUSE_REGEX=builtin
26403 cat >>confdefs.h <<\_ACEOF
26404 #define WX_NO_REGEX_ADVANCED 1
26413 if test "$wxUSE_ZLIB" != "no" ; then
26414 cat >>confdefs.h <<\_ACEOF
26415 #define wxUSE_ZLIB 1
26419 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26420 if test "$USE_DARWIN" = 1; then
26421 system_zlib_h_ok="yes"
26423 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26424 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26425 if test "${ac_cv_header_zlib_h+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 if test "$cross_compiling" = yes; then
26429 unset ac_cv_header_zlib_h
26432 cat >conftest.$ac_ext <<_ACEOF
26435 cat confdefs.h >>conftest.$ac_ext
26436 cat >>conftest.$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26444 FILE *f=fopen("conftestval", "w");
26447 ZLIB_VERSION[0] == '1' &&
26448 (ZLIB_VERSION[2] > '1' ||
26449 (ZLIB_VERSION[2] == '1' &&
26450 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26455 rm -f conftest$ac_exeext
26456 if { (ac_try="$ac_link"
26457 case "(($ac_try" in
26458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26459 *) ac_try_echo
=$ac_try;;
26461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26462 (eval "$ac_link") 2>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26466 { (case "(($ac_try" in
26467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26468 *) ac_try_echo=$ac_try;;
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_try") 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; }; then
26475 ac_cv_header_zlib_h=`cat conftestval
`
26477 echo "$as_me: program exited with status $ac_status" >&5
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.$ac_ext >&5
26481 ( exit $ac_status )
26482 ac_cv_header_zlib_h=no
26484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26490 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26491 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26492 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26493 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26494 if test "${ac_cv_header_zlib_h+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26497 cat >conftest.$ac_ext <<_ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26507 rm -f conftest.$ac_objext
26508 if { (ac_try="$ac_compile"
26509 case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26511 *) ac_try_echo
=$ac_try;;
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_compile") 2>conftest.er1
26516 grep -v '^ *+' conftest.er1
>conftest.err
26518 cat conftest.err
>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } && {
26521 test -z "$ac_c_werror_flag" ||
26522 test ! -s conftest.err
26523 } && test -s conftest.
$ac_objext; then
26524 ac_cv_header_zlib_h
=yes
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.
$ac_ext >&5
26529 ac_cv_header_zlib_h
=no
26532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26534 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26535 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26539 system_zlib_h_ok
=$ac_cv_header_zlib_h
26542 if test "$system_zlib_h_ok" = "yes"; then
26543 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26544 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26545 if test "${ac_cv_lib_z_deflate+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 ac_check_lib_save_LIBS
=$LIBS
26550 cat >conftest.
$ac_ext <<_ACEOF
26553 cat confdefs.h
>>conftest.
$ac_ext
26554 cat >>conftest.
$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26557 /* Override any GCC internal prototype to avoid an error.
26558 Use char because int might match the return type of a GCC
26559 builtin and then its argument prototype would still apply. */
26572 rm -f conftest.
$ac_objext conftest
$ac_exeext
26573 if { (ac_try
="$ac_link"
26574 case "(($ac_try" in
26575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_link") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1 >conftest.err
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_c_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest$ac_exeext &&
26589 $as_test_x conftest$ac_exeext; then
26590 ac_cv_lib_z_deflate=yes
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.$ac_ext >&5
26595 ac_cv_lib_z_deflate=no
26598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26599 conftest$ac_exeext conftest.$ac_ext
26600 LIBS=$ac_check_lib_save_LIBS
26602 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26603 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26604 if test $ac_cv_lib_z_deflate = yes; then
26610 if test "x$ZLIB_LINK" = "x" ; then
26611 if test "$wxUSE_ZLIB" = "sys" ; then
26612 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26613 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26614 { (exit 1); exit 1; }; }
26616 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26617 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26628 if test "$wxUSE_LIBPNG" != "no" ; then
26629 cat >>confdefs.h <<\_ACEOF
26630 #define wxUSE_LIBPNG 1
26634 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26635 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26636 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26640 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26641 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26642 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26643 wxUSE_LIBPNG=builtin
26646 if test "$wxUSE_MGL" != 1 ; then
26647 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26648 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26649 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26650 if test "${ac_cv_header_png_h+set}" = set; then
26651 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 if test "$cross_compiling" = yes; then
26654 unset ac_cv_header_png_h
26657 cat >conftest.$ac_ext <<_ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26669 FILE *f=fopen("conftestval", "w");
26672 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26677 rm -f conftest$ac_exeext
26678 if { (ac_try="$ac_link"
26679 case "(($ac_try" in
26680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26681 *) ac_try_echo
=$ac_try;;
26683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26684 (eval "$ac_link") 2>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26688 { (case "(($ac_try" in
26689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26690 *) ac_try_echo=$ac_try;;
26692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26693 (eval "$ac_try") 2>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 ac_cv_header_png_h=`cat conftestval
`
26699 echo "$as_me: program exited with status $ac_status" >&5
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.$ac_ext >&5
26703 ( exit $ac_status )
26704 ac_cv_header_png_h=no
26706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26712 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26713 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26714 { echo "$as_me:$LINENO: checking for png.h" >&5
26715 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26716 if test "${ac_cv_header_png_h+set}" = set; then
26717 echo $ECHO_N "(cached) $ECHO_C" >&6
26719 cat >conftest.$ac_ext <<_ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26729 rm -f conftest.$ac_objext
26730 if { (ac_try="$ac_compile"
26731 case "(($ac_try" in
26732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26733 *) ac_try_echo
=$ac_try;;
26735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26736 (eval "$ac_compile") 2>conftest.er1
26738 grep -v '^ *+' conftest.er1
>conftest.err
26740 cat conftest.err
>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); } && {
26743 test -z "$ac_c_werror_flag" ||
26744 test ! -s conftest.err
26745 } && test -s conftest.
$ac_objext; then
26746 ac_cv_header_png_h
=yes
26748 echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.
$ac_ext >&5
26751 ac_cv_header_png_h
=no
26754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26756 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26757 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26761 if test "$ac_cv_header_png_h" = "yes"; then
26762 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26763 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26764 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 ac_check_lib_save_LIBS
=$LIBS
26768 LIBS
="-lpng -lz -lm $LIBS"
26769 cat >conftest.
$ac_ext <<_ACEOF
26772 cat confdefs.h
>>conftest.
$ac_ext
26773 cat >>conftest.
$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26776 /* Override any GCC internal prototype to avoid an error.
26777 Use char because int might match the return type of a GCC
26778 builtin and then its argument prototype would still apply. */
26782 char png_check_sig ();
26786 return png_check_sig ();
26791 rm -f conftest.
$ac_objext conftest
$ac_exeext
26792 if { (ac_try
="$ac_link"
26793 case "(($ac_try" in
26794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_link") 2>conftest.er1
26800 grep -v '^ *+' conftest.er1 >conftest.err
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest$ac_exeext &&
26808 $as_test_x conftest$ac_exeext; then
26809 ac_cv_lib_png_png_check_sig=yes
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26814 ac_cv_lib_png_png_check_sig=no
26817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26818 conftest$ac_exeext conftest.$ac_ext
26819 LIBS=$ac_check_lib_save_LIBS
26821 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26822 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26823 if test $ac_cv_lib_png_png_check_sig = yes; then
26824 PNG_LINK=" -lpng -lz"
26829 if test "x$PNG_LINK" = "x" ; then
26830 if test "$wxUSE_LIBPNG" = "sys" ; then
26831 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26832 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26833 { (exit 1); exit 1; }; }
26835 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26836 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26837 wxUSE_LIBPNG=builtin
26848 if test "$wxUSE_LIBJPEG" != "no" ; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define wxUSE_LIBJPEG 1
26854 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26855 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26856 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26860 if test "$wxUSE_MGL" != 1 ; then
26861 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26862 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26863 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26864 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 cat >conftest.$ac_ext <<_ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 #undef HAVE_STDLIB_H
26876 #include <jpeglib.h>
26887 rm -f conftest.$ac_objext
26888 if { (ac_try="$ac_compile"
26889 case "(($ac_try" in
26890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26891 *) ac_try_echo
=$ac_try;;
26893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26894 (eval "$ac_compile") 2>conftest.er1
26896 grep -v '^ *+' conftest.er1
>conftest.err
26898 cat conftest.err
>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } && {
26901 test -z "$ac_c_werror_flag" ||
26902 test ! -s conftest.err
26903 } && test -s conftest.
$ac_objext; then
26904 ac_cv_header_jpeglib_h
=yes
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.
$ac_ext >&5
26909 ac_cv_header_jpeglib_h
=no
26913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26917 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26918 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26920 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26921 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26922 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26923 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26924 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 ac_check_lib_save_LIBS
=$LIBS
26927 LIBS
="-ljpeg $LIBS"
26928 cat >conftest.
$ac_ext <<_ACEOF
26931 cat confdefs.h
>>conftest.
$ac_ext
26932 cat >>conftest.
$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26935 /* Override any GCC internal prototype to avoid an error.
26936 Use char because int might match the return type of a GCC
26937 builtin and then its argument prototype would still apply. */
26941 char jpeg_read_header ();
26945 return jpeg_read_header ();
26950 rm -f conftest.
$ac_objext conftest
$ac_exeext
26951 if { (ac_try
="$ac_link"
26952 case "(($ac_try" in
26953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26954 *) ac_try_echo=$ac_try;;
26956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26957 (eval "$ac_link") 2>conftest.er1
26959 grep -v '^ *+' conftest.er1 >conftest.err
26961 cat conftest.err >&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } && {
26964 test -z "$ac_c_werror_flag" ||
26965 test ! -s conftest.err
26966 } && test -s conftest$ac_exeext &&
26967 $as_test_x conftest$ac_exeext; then
26968 ac_cv_lib_jpeg_jpeg_read_header=yes
26970 echo "$as_me: failed program was:" >&5
26971 sed 's/^/| /' conftest.$ac_ext >&5
26973 ac_cv_lib_jpeg_jpeg_read_header=no
26976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26977 conftest$ac_exeext conftest.$ac_ext
26978 LIBS=$ac_check_lib_save_LIBS
26980 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26981 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26982 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26983 JPEG_LINK=" -ljpeg"
26988 if test "x$JPEG_LINK" = "x" ; then
26989 if test "$wxUSE_LIBJPEG" = "sys" ; then
26990 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26991 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26992 { (exit 1); exit 1; }; }
26994 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26995 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26996 wxUSE_LIBJPEG=builtin
27001 if test "$wxUSE_MSW" = 1; then
27002 { echo "$as_me:$LINENO: checking for boolean" >&5
27003 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27004 if test "${ac_cv_type_boolean+set}" = set; then
27005 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 cat >conftest.$ac_ext <<_ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h. */
27013 #include <windows.h>
27015 typedef boolean ac__type_new_;
27019 if ((ac__type_new_ *) 0)
27021 if (sizeof (ac__type_new_))
27027 rm -f conftest.$ac_objext
27028 if { (ac_try="$ac_compile"
27029 case "(($ac_try" in
27030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27031 *) ac_try_echo
=$ac_try;;
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_compile") 2>conftest.er1
27036 grep -v '^ *+' conftest.er1
>conftest.err
27038 cat conftest.err
>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_c_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest.
$ac_objext; then
27044 ac_cv_type_boolean
=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 ac_cv_type_boolean
=no
27052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27054 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27055 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27056 if test $ac_cv_type_boolean = yes; then
27058 cat >>confdefs.h
<<_ACEOF
27059 #define HAVE_BOOLEAN 1
27063 { echo "$as_me:$LINENO: checking for boolean" >&5
27064 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27065 if test "${ac_cv_type_boolean+set}" = set; then
27066 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 cat >conftest.
$ac_ext <<_ACEOF
27071 cat confdefs.h
>>conftest.
$ac_ext
27072 cat >>conftest.
$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27075 #undef HAVE_BOOLEAN
27077 #include <jpeglib.h>
27080 typedef boolean ac__type_new_;
27084 if ((ac__type_new_ *) 0)
27086 if (sizeof (ac__type_new_))
27092 rm -f conftest.
$ac_objext
27093 if { (ac_try
="$ac_compile"
27094 case "(($ac_try" in
27095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27096 *) ac_try_echo=$ac_try;;
27098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27099 (eval "$ac_compile") 2>conftest.er1
27101 grep -v '^ *+' conftest.er1 >conftest.err
27103 cat conftest.err >&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); } && {
27106 test -z "$ac_c_werror_flag" ||
27107 test ! -s conftest.err
27108 } && test -s conftest.$ac_objext; then
27109 ac_cv_type_boolean=yes
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27114 ac_cv_type_boolean=no
27117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27119 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27120 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27122 # The cast to long int works around a bug in the HP C Compiler
27123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27124 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27125 # This bug is HP SR number 8606223364.
27126 { echo "$as_me:$LINENO: checking size of boolean" >&5
27127 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27128 if test "${ac_cv_sizeof_boolean+set}" = set; then
27129 echo $ECHO_N "(cached) $ECHO_C" >&6
27131 if test "$cross_compiling" = yes; then
27132 # Depending upon the size, compute the lo and hi bounds.
27133 cat >conftest.$ac_ext <<_ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27140 #undef HAVE_BOOLEAN
27142 #include <jpeglib.h>
27145 typedef boolean ac__type_sizeof_;
27149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27156 rm -f conftest.$ac_objext
27157 if { (ac_try="$ac_compile"
27158 case "(($ac_try" in
27159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27160 *) ac_try_echo=$ac_try;;
27162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27163 (eval "$ac_compile") 2>conftest.er1
27165 grep -v '^
*+' conftest.er1 >conftest.err
27167 cat conftest.err >&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); } && {
27170 test -z "$ac_c_werror_flag" ||
27171 test ! -s conftest.err
27172 } && test -s conftest.$ac_objext; then
27175 cat >conftest.$ac_ext <<_ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27182 #undef HAVE_BOOLEAN
27184 #include <jpeglib.h>
27187 typedef boolean ac__type_sizeof_;
27191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27198 rm -f conftest.$ac_objext
27199 if { (ac_try="$ac_compile"
27200 case "(($ac_try" in
27201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27202 *) ac_try_echo=$ac_try;;
27204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205 (eval "$ac_compile") 2>conftest.er1
27207 grep -v '^
*+' conftest.er1 >conftest.err
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && {
27212 test -z "$ac_c_werror_flag" ||
27213 test ! -s conftest.err
27214 } && test -s conftest.$ac_objext; then
27215 ac_hi=$ac_mid; break
27217 echo "$as_me: failed program was:" >&5
27218 sed 's
/^
/| /' conftest.$ac_ext >&5
27220 ac_lo=`expr $ac_mid + 1`
27221 if test $ac_lo -le $ac_mid; then
27225 ac_mid=`expr 2 '*' $ac_mid + 1`
27228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27231 echo "$as_me: failed program was:" >&5
27232 sed 's
/^
/| /' conftest.$ac_ext >&5
27234 cat >conftest.$ac_ext <<_ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27241 #undef HAVE_BOOLEAN
27243 #include <jpeglib.h>
27246 typedef boolean ac__type_sizeof_;
27250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27257 rm -f conftest.$ac_objext
27258 if { (ac_try="$ac_compile"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_compile") 2>conftest.er1
27266 grep -v '^
*+' conftest.er1 >conftest.err
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_c_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest.$ac_objext; then
27276 cat >conftest.$ac_ext <<_ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27283 #undef HAVE_BOOLEAN
27285 #include <jpeglib.h>
27288 typedef boolean ac__type_sizeof_;
27292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^
*+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_c_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 ac_lo=$ac_mid; break
27318 echo "$as_me: failed program was:" >&5
27319 sed 's
/^
/| /' conftest.$ac_ext >&5
27321 ac_hi=`expr '(' $ac_mid ')' - 1`
27322 if test $ac_mid -le $ac_hi; then
27326 ac_mid=`expr 2 '*' $ac_mid`
27329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27332 echo "$as_me: failed program was:" >&5
27333 sed 's
/^
/| /' conftest.$ac_ext >&5
27338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 # Binary search between lo and hi bounds.
27343 while test "x$ac_lo" != "x$ac_hi"; do
27344 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27345 cat >conftest.$ac_ext <<_ACEOF
27348 cat confdefs.h >>conftest.$ac_ext
27349 cat >>conftest.$ac_ext <<_ACEOF
27350 /* end confdefs.h. */
27352 #undef HAVE_BOOLEAN
27354 #include <jpeglib.h>
27357 typedef boolean ac__type_sizeof_;
27361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27368 rm -f conftest.$ac_objext
27369 if { (ac_try="$ac_compile"
27370 case "(($ac_try" in
27371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27372 *) ac_try_echo=$ac_try;;
27374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27375 (eval "$ac_compile") 2>conftest.er1
27377 grep -v '^
*+' conftest.er1 >conftest.err
27379 cat conftest.err >&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); } && {
27382 test -z "$ac_c_werror_flag" ||
27383 test ! -s conftest.err
27384 } && test -s conftest.$ac_objext; then
27387 echo "$as_me: failed program was:" >&5
27388 sed 's
/^
/| /' conftest.$ac_ext >&5
27390 ac_lo=`expr '(' $ac_mid ')' + 1`
27393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27396 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27397 '') if test "$ac_cv_type_boolean" = yes; then
27398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27399 See \`config.log' for more details.
" >&5
27400 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27401 See \
`config.log' for more details." >&2;}
27402 { (exit 77); exit 77; }; }
27404 ac_cv_sizeof_boolean=0
27408 cat >conftest.$ac_ext <<_ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27415 #undef HAVE_BOOLEAN
27417 #include <jpeglib.h>
27420 typedef boolean ac__type_sizeof_;
27421 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27422 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27424 #include <stdlib.h>
27429 FILE *f = fopen ("conftest.val", "w");
27432 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27434 long int i = longval ();
27435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27437 fprintf (f, "%ld\n", i);
27441 unsigned long int i = ulongval ();
27442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27444 fprintf (f, "%lu\n", i);
27446 return ferror (f) || fclose (f) != 0;
27452 rm -f conftest$ac_exeext
27453 if { (ac_try="$ac_link"
27454 case "(($ac_try" in
27455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27456 *) ac_try_echo
=$ac_try;;
27458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27459 (eval "$ac_link") 2>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27463 { (case "(($ac_try" in
27464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27465 *) ac_try_echo=$ac_try;;
27467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27468 (eval "$ac_try") 2>&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); }; }; then
27472 ac_cv_sizeof_boolean=`cat conftest.val
`
27474 echo "$as_me: program exited with status $ac_status" >&5
27475 echo "$as_me: failed program was:" >&5
27476 sed 's/^/| /' conftest.$ac_ext >&5
27478 ( exit $ac_status )
27479 if test "$ac_cv_type_boolean" = yes; then
27480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27481 See \`config.log
' for more details." >&5
27482 echo "$as_me: error: cannot compute sizeof (boolean)
27483 See \`config.log' for more details.
" >&2;}
27484 { (exit 77); exit 77; }; }
27486 ac_cv_sizeof_boolean=0
27489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27493 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27494 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27498 cat >>confdefs.h <<_ACEOF
27499 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27503 cat >>confdefs.h <<_ACEOF
27504 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27518 TIFF_PREREQ_LINKS=-lm
27519 if test "$wxUSE_LIBTIFF" != "no
" ; then
27520 cat >>confdefs.h <<\_ACEOF
27521 #define wxUSE_LIBTIFF 1
27525 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27526 if test "$wxUSE_LIBJPEG" = "sys
"; then
27527 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27529 if test "$wxUSE_ZLIB" = "sys
"; then
27530 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27532 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27533 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27534 if test "${ac_cv_header_tiffio_h+set}" = set; then
27535 echo $ECHO_N "(cached
) $ECHO_C" >&6
27537 cat >conftest.$ac_ext <<_ACEOF
27540 cat confdefs.h >>conftest.$ac_ext
27541 cat >>conftest.$ac_ext <<_ACEOF
27542 /* end confdefs.h. */
27546 #include <tiffio.h>
27548 rm -f conftest.$ac_objext
27549 if { (ac_try="$ac_compile"
27550 case "(($ac_try" in
27551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27552 *) ac_try_echo=$ac_try;;
27554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27555 (eval "$ac_compile") 2>conftest.er1
27557 grep -v '^ *+' conftest.er1 >conftest.err
27559 cat conftest.err >&5
27560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27561 (exit $ac_status); } && {
27562 test -z "$ac_c_werror_flag" ||
27563 test ! -s conftest.err
27564 } && test -s conftest.$ac_objext; then
27565 ac_cv_header_tiffio_h=yes
27567 echo "$as_me: failed program was
:" >&5
27568 sed 's/^/| /' conftest.$ac_ext >&5
27570 ac_cv_header_tiffio_h=no
27573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27576 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27577 if test $ac_cv_header_tiffio_h = yes; then
27579 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27580 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27581 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27582 echo $ECHO_N "(cached
) $ECHO_C" >&6
27584 ac_check_lib_save_LIBS=$LIBS
27585 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27586 cat >conftest.$ac_ext <<_ACEOF
27589 cat confdefs.h >>conftest.$ac_ext
27590 cat >>conftest.$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27593 /* Override any GCC internal prototype to avoid an error.
27594 Use char because int might match the return type of a GCC
27595 builtin and then its argument prototype would still apply. */
27603 return TIFFError ();
27608 rm -f conftest.$ac_objext conftest$ac_exeext
27609 if { (ac_try="$ac_link"
27610 case "(($ac_try" in
27611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_link") 2>conftest.er1
27617 grep -v '^ *+' conftest.er1 >conftest.err
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest$ac_exeext &&
27625 $as_test_x conftest$ac_exeext; then
27626 ac_cv_lib_tiff_TIFFError=yes
27628 echo "$as_me: failed program was
:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27631 ac_cv_lib_tiff_TIFFError=no
27634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27635 conftest$ac_exeext conftest.$ac_ext
27636 LIBS=$ac_check_lib_save_LIBS
27638 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27639 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27640 if test $ac_cv_lib_tiff_TIFFError = yes; then
27641 TIFF_LINK=" -ltiff"
27649 if test "x
$TIFF_LINK" = "x
" ; then
27650 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27651 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27652 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27653 { (exit 1); exit 1; }; }
27655 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27656 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27657 wxUSE_LIBTIFF=builtin
27663 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27664 if test "$wxUSE_LIBJPEG" = "no
"; then
27665 ac_configure_args="$ac_configure_args --disable-jpeg"
27667 subdirs="$subdirs src
/tiff
"
27673 if test "$wxUSE_WCHAR_T" != "yes"; then
27674 if test "$wxUSE_EXPAT" != "no
"; then
27675 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27676 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27679 if test "$wxUSE_XML" != "no
"; then
27680 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27681 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27686 if test "$wxUSE_EXPAT" != "no
"; then
27688 cat >>confdefs.h <<\_ACEOF
27689 #define wxUSE_EXPAT 1
27692 cat >>confdefs.h <<\_ACEOF
27693 #define wxUSE_XML 1
27697 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27698 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27699 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27700 if test "${ac_cv_header_expat_h+set}" = set; then
27701 echo $ECHO_N "(cached
) $ECHO_C" >&6
27703 cat >conftest.$ac_ext <<_ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27713 rm -f conftest.$ac_objext
27714 if { (ac_try="$ac_compile"
27715 case "(($ac_try" in
27716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717 *) ac_try_echo=$ac_try;;
27719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27720 (eval "$ac_compile") 2>conftest.er1
27722 grep -v '^ *+' conftest.er1 >conftest.err
27724 cat conftest.err >&5
27725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27726 (exit $ac_status); } && {
27727 test -z "$ac_c_werror_flag" ||
27728 test ! -s conftest.err
27729 } && test -s conftest.$ac_objext; then
27730 ac_cv_header_expat_h=yes
27732 echo "$as_me: failed program was
:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27735 ac_cv_header_expat_h=no
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27742 if test $ac_cv_header_expat_h = yes; then
27747 if test "x
$found_expat_h" = "x1
"; then
27748 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27749 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27750 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27751 echo $ECHO_N "(cached
) $ECHO_C" >&6
27755 ac_cpp='$CXXCPP $CPPFLAGS'
27756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27760 cat >conftest.$ac_ext <<_ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27775 rm -f conftest.$ac_objext
27776 if { (ac_try="$ac_compile"
27777 case "(($ac_try" in
27778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27779 *) ac_try_echo=$ac_try;;
27781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27782 (eval "$ac_compile") 2>conftest.er1
27784 grep -v '^ *+' conftest.er1 >conftest.err
27786 cat conftest.err >&5
27787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27788 (exit $ac_status); } && {
27789 test -z "$ac_cxx_werror_flag" ||
27790 test ! -s conftest.err
27791 } && test -s conftest.$ac_objext; then
27792 wx_cv_expat_is_not_broken=yes
27794 echo "$as_me: failed program was
:" >&5
27795 sed 's/^/| /' conftest.$ac_ext >&5
27797 wx_cv_expat_is_not_broken=no
27801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27803 ac_cpp='$CPP $CPPFLAGS'
27804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27811 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27812 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27813 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27814 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27815 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27816 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27817 echo $ECHO_N "(cached
) $ECHO_C" >&6
27819 ac_check_lib_save_LIBS=$LIBS
27820 LIBS="-lexpat $LIBS"
27821 cat >conftest.$ac_ext <<_ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27828 /* Override any GCC internal prototype to avoid an error.
27829 Use char because int might match the return type of a GCC
27830 builtin and then its argument prototype would still apply. */
27834 char XML_ParserCreate ();
27838 return XML_ParserCreate ();
27843 rm -f conftest.$ac_objext conftest$ac_exeext
27844 if { (ac_try="$ac_link"
27845 case "(($ac_try" in
27846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27847 *) ac_try_echo=$ac_try;;
27849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27850 (eval "$ac_link") 2>conftest.er1
27852 grep -v '^ *+' conftest.er1 >conftest.err
27854 cat conftest.err >&5
27855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27856 (exit $ac_status); } && {
27857 test -z "$ac_c_werror_flag" ||
27858 test ! -s conftest.err
27859 } && test -s conftest$ac_exeext &&
27860 $as_test_x conftest$ac_exeext; then
27861 ac_cv_lib_expat_XML_ParserCreate=yes
27863 echo "$as_me: failed program was
:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27866 ac_cv_lib_expat_XML_ParserCreate=no
27869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27870 conftest$ac_exeext conftest.$ac_ext
27871 LIBS=$ac_check_lib_save_LIBS
27873 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27874 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27875 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27876 EXPAT_LINK=" -lexpat"
27881 if test "x
$EXPAT_LINK" = "x
" ; then
27882 if test "$wxUSE_EXPAT" = "sys
" ; then
27883 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27884 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27885 { (exit 1); exit 1; }; }
27887 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27888 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27889 wxUSE_EXPAT=builtin
27895 if test "$wxUSE_EXPAT" = "builtin" ; then
27896 subdirs="$subdirs src
/expat
"
27903 if test "$wxUSE_LIBMSPACK" != "no
"; then
27904 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27905 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27906 if test "${ac_cv_header_mspack_h+set}" = set; then
27907 echo $ECHO_N "(cached
) $ECHO_C" >&6
27909 cat >conftest.$ac_ext <<_ACEOF
27912 cat confdefs.h >>conftest.$ac_ext
27913 cat >>conftest.$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27917 #include <mspack.h>
27919 rm -f conftest.$ac_objext
27920 if { (ac_try="$ac_compile"
27921 case "(($ac_try" in
27922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27923 *) ac_try_echo=$ac_try;;
27925 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27926 (eval "$ac_compile") 2>conftest.er1
27928 grep -v '^ *+' conftest.er1 >conftest.err
27930 cat conftest.err >&5
27931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27932 (exit $ac_status); } && {
27933 test -z "$ac_c_werror_flag" ||
27934 test ! -s conftest.err
27935 } && test -s conftest.$ac_objext; then
27936 ac_cv_header_mspack_h=yes
27938 echo "$as_me: failed program was
:" >&5
27939 sed 's/^/| /' conftest.$ac_ext >&5
27941 ac_cv_header_mspack_h=no
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27947 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27948 if test $ac_cv_header_mspack_h = yes; then
27953 if test "x
$found_mspack_h" = "x1
"; then
27954 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27955 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27956 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27957 echo $ECHO_N "(cached
) $ECHO_C" >&6
27959 ac_check_lib_save_LIBS=$LIBS
27960 LIBS="-lmspack $LIBS"
27961 cat >conftest.$ac_ext <<_ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27968 /* Override any GCC internal prototype to avoid an error.
27969 Use char because int might match the return type of a GCC
27970 builtin and then its argument prototype would still apply. */
27974 char mspack_create_chm_decompressor ();
27978 return mspack_create_chm_decompressor ();
27983 rm -f conftest.$ac_objext conftest$ac_exeext
27984 if { (ac_try="$ac_link"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_link") 2>conftest.er1
27992 grep -v '^ *+' conftest.er1 >conftest.err
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest$ac_exeext &&
28000 $as_test_x conftest$ac_exeext; then
28001 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28003 echo "$as_me: failed program was
:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28006 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28010 conftest$ac_exeext conftest.$ac_ext
28011 LIBS=$ac_check_lib_save_LIBS
28013 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28014 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28015 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28016 MSPACK_LINK=" -lmspack"
28020 if test "x
$MSPACK_LINK" = "x
" ; then
28025 if test "$wxUSE_LIBMSPACK" != "no
"; then
28026 cat >>confdefs.h <<\_ACEOF
28027 #define wxUSE_LIBMSPACK 1
28041 if test "$USE_WIN32" = 1 ; then
28043 for ac_header in w32api.h
28045 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28046 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28047 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28048 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28049 echo $ECHO_N "(cached
) $ECHO_C" >&6
28051 cat >conftest.$ac_ext <<_ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28059 #include <$ac_header>
28061 rm -f conftest.$ac_objext
28062 if { (ac_try="$ac_compile"
28063 case "(($ac_try" in
28064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065 *) ac_try_echo=$ac_try;;
28067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28068 (eval "$ac_compile") 2>conftest.er1
28070 grep -v '^ *+' conftest.er1 >conftest.err
28072 cat conftest.err >&5
28073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28074 (exit $ac_status); } && {
28075 test -z "$ac_c_werror_flag" ||
28076 test ! -s conftest.err
28077 } && test -s conftest.$ac_objext; then
28078 eval "$as_ac_Header=yes"
28080 echo "$as_me: failed program was
:" >&5
28081 sed 's/^/| /' conftest.$ac_ext >&5
28083 eval "$as_ac_Header=no
"
28086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28088 ac_res=`eval echo '${'$as_ac_Header'}'`
28089 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28090 echo "${ECHO_T}$ac_res" >&6; }
28091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28092 cat >>confdefs.h <<_ACEOF
28093 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28100 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28101 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28102 if test "${ac_cv_header_windows_h+set}" = set; then
28103 echo $ECHO_N "(cached
) $ECHO_C" >&6
28105 cat >conftest.$ac_ext <<_ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28113 #include <windows.h>
28115 rm -f conftest.$ac_objext
28116 if { (ac_try="$ac_compile"
28117 case "(($ac_try" in
28118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119 *) ac_try_echo=$ac_try;;
28121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28122 (eval "$ac_compile") 2>conftest.er1
28124 grep -v '^ *+' conftest.er1 >conftest.err
28126 cat conftest.err >&5
28127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28128 (exit $ac_status); } && {
28129 test -z "$ac_c_werror_flag" ||
28130 test ! -s conftest.err
28131 } && test -s conftest.$ac_objext; then
28132 ac_cv_header_windows_h=yes
28134 echo "$as_me: failed program was
:" >&5
28135 sed 's/^/| /' conftest.$ac_ext >&5
28137 ac_cv_header_windows_h=no
28140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28142 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28143 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28144 if test $ac_cv_header_windows_h = yes; then
28148 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28149 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28150 { (exit 1); exit 1; }; }
28157 x86_64-*-mingw32* )
28158 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28161 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28164 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28165 LIBS="$LIBS -loleacc"
28170 LIBS="$LIBS -lkernel32 -luser32"
28173 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28174 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28176 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28178 WIN32INSTALL=win32install
28180 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28181 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28182 if test "${ac_cv_header_pbt_h+set}" = set; then
28183 echo $ECHO_N "(cached
) $ECHO_C" >&6
28185 cat >conftest.$ac_ext <<_ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28195 rm -f conftest.$ac_objext
28196 if { (ac_try="$ac_compile"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_compile") 2>conftest.er1
28204 grep -v '^ *+' conftest.er1 >conftest.err
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest.$ac_objext; then
28212 ac_cv_header_pbt_h=yes
28214 echo "$as_me: failed program was
:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28217 ac_cv_header_pbt_h=no
28220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28222 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28223 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28224 if test $ac_cv_header_pbt_h = yes; then
28227 cat >>confdefs.h <<\_ACEOF
28228 #define NEED_PBT_H 1
28236 if test "$wxUSE_GUI" = "yes"; then
28246 if test "$wxUSE_COCOA" = 1 ; then
28247 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28248 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28249 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28250 wxUSE_PRINTING_ARCHITECTURE=no
28252 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28253 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28254 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28255 wxUSE_DRAG_AND_DROP=no
28257 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28258 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28259 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28264 if test "$wxUSE_MSW" = 1 ; then
28270 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28274 if test "$wxUSE_GTK" = 1; then
28275 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28276 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28278 gtk_version_cached=1
28279 if test "${wx_cv_lib_gtk+set}" = set; then
28280 echo $ECHO_N "(cached
) $ECHO_C" >&6
28283 gtk_version_cached=0
28284 { echo "$as_me:$LINENO: result
: " >&5
28285 echo "${ECHO_T}" >&6; }
28288 if test "$wxUSE_THREADS" = "yes"; then
28289 GTK_MODULES=gthread
28293 if test "x
$wxGTK_VERSION" != "x1
"
28297 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28302 # Check whether --enable-gtktest was given.
28303 if test "${enable_gtktest+set}" = set; then
28304 enableval=$enable_gtktest;
28310 pkg_config_args=gtk+-2.0
28311 for module in . $GTK_MODULES
28315 pkg_config_args="$pkg_config_args gthread
-2.0
"
28322 # Extract the first word of "pkg
-config", so it can be a program name with args.
28323 set dummy pkg-config; ac_word=$2
28324 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28325 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28326 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28327 echo $ECHO_N "(cached
) $ECHO_C" >&6
28329 case $PKG_CONFIG in
28331 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28335 for as_dir in $PATH
28338 test -z "$as_dir" && as_dir=.
28339 for ac_exec_ext in '' $ac_executable_extensions; do
28340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28341 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28342 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28353 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28354 if test -n "$PKG_CONFIG"; then
28355 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28356 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28358 { echo "$as_me:$LINENO: result
: no
" >&5
28359 echo "${ECHO_T}no
" >&6; }
28364 if test x$PKG_CONFIG != xno ; then
28365 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28368 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28376 min_gtk_version=2.4.0
28377 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28378 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28380 if test x$PKG_CONFIG != xno ; then
28381 ## don't try to run the test against uninstalled libtool libs
28382 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28383 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28387 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28394 if test x"$no_gtk" = x ; then
28395 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28396 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28397 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28399 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28401 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28403 if test "x
$enable_gtktest" = "xyes
" ; then
28404 ac_save_CFLAGS="$CFLAGS"
28405 ac_save_LIBS="$LIBS"
28406 CFLAGS="$CFLAGS $GTK_CFLAGS"
28407 LIBS="$GTK_LIBS $LIBS"
28409 if test "$cross_compiling" = yes; then
28410 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28412 cat >conftest.$ac_ext <<_ACEOF
28415 cat confdefs.h >>conftest.$ac_ext
28416 cat >>conftest.$ac_ext <<_ACEOF
28417 /* end confdefs.h. */
28419 #include <gtk/gtk.h>
28421 #include <stdlib.h>
28426 int major, minor, micro;
28429 system ("touch conf.gtktest
");
28431 /* HP/UX 9 (%@#!) writes to sscanf strings */
28432 tmp_version = g_strdup("$min_gtk_version");
28433 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28434 printf("%s
, bad version string
\n", "$min_gtk_version");
28438 if ((gtk_major_version != $gtk_config_major_version) ||
28439 (gtk_minor_version != $gtk_config_minor_version) ||
28440 (gtk_micro_version != $gtk_config_micro_version))
28442 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28443 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28444 gtk_major_version, gtk_minor_version, gtk_micro_version);
28445 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28446 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28447 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28448 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28449 printf("*** required on your system.
\n");
28450 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28451 printf("*** to point to the correct configuration files
\n");
28453 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28454 (gtk_minor_version != GTK_MINOR_VERSION) ||
28455 (gtk_micro_version != GTK_MICRO_VERSION))
28457 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28458 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28459 printf("*** library
(version
%d.
%d.
%d
)\n",
28460 gtk_major_version, gtk_minor_version, gtk_micro_version);
28464 if ((gtk_major_version > major) ||
28465 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28466 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28472 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28473 gtk_major_version, gtk_minor_version, gtk_micro_version);
28474 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28475 major, minor, micro);
28476 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28478 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28479 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28480 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28481 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28482 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28483 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28484 printf("*** so that the correct libraries are found
at run
-time))\n");
28491 rm -f conftest$ac_exeext
28492 if { (ac_try="$ac_link"
28493 case "(($ac_try" in
28494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28495 *) ac_try_echo=$ac_try;;
28497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28498 (eval "$ac_link") 2>&5
28500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28502 { (case "(($ac_try" in
28503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28504 *) ac_try_echo=$ac_try;;
28506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28507 (eval "$ac_try") 2>&5
28509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28510 (exit $ac_status); }; }; then
28513 echo "$as_me: program exited with status
$ac_status" >&5
28514 echo "$as_me: failed program was
:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28517 ( exit $ac_status )
28520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28524 CFLAGS="$ac_save_CFLAGS"
28525 LIBS="$ac_save_LIBS"
28528 if test "x
$no_gtk" = x ; then
28529 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28530 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28533 { echo "$as_me:$LINENO: result
: no
" >&5
28534 echo "${ECHO_T}no
" >&6; }
28535 if test "$PKG_CONFIG" = "no
" ; then
28536 echo "*** A new enough version of pkg
-config was not found.
"
28537 echo "*** See http
://pkgconfig.sourceforge.net
"
28539 if test -f conf.gtktest ; then
28542 echo "*** Could not run GTK
+ test program
, checking why...
"
28543 ac_save_CFLAGS="$CFLAGS"
28544 ac_save_LIBS="$LIBS"
28545 CFLAGS="$CFLAGS $GTK_CFLAGS"
28546 LIBS="$LIBS $GTK_LIBS"
28547 cat >conftest.$ac_ext <<_ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28554 #include <gtk/gtk.h>
28560 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28565 rm -f conftest.$ac_objext conftest$ac_exeext
28566 if { (ac_try="$ac_link"
28567 case "(($ac_try" in
28568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28569 *) ac_try_echo=$ac_try;;
28571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28572 (eval "$ac_link") 2>conftest.er1
28574 grep -v '^ *+' conftest.er1 >conftest.err
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28578 (exit $ac_status); } && {
28579 test -z "$ac_c_werror_flag" ||
28580 test ! -s conftest.err
28581 } && test -s conftest$ac_exeext &&
28582 $as_test_x conftest$ac_exeext; then
28583 echo "*** The
test program compiled
, but did not run. This usually means
"
28584 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28585 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28588 echo "*** is required on your system"
28590 echo "*** If you have an old version installed, it is best to remove it, although"
28591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28593 echo "$as_me: failed program was:" >&5
28594 sed 's
/^
/| /' conftest.$ac_ext >&5
28596 echo "*** The test program failed to compile or link. See the file config.log for the"
28597 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28601 conftest$ac_exeext conftest.$ac_ext
28602 CFLAGS="$ac_save_CFLAGS"
28603 LIBS="$ac_save_LIBS"
28617 if test "$wxUSE_SHARED" != "yes"; then
28618 GTK_LIBS="$GTK_LIBS -lX11"
28623 if test -z "$wx_cv_lib_gtk"; then
28624 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28626 # Check whether --with-gtk-prefix was given.
28627 if test "${with_gtk_prefix+set}" = set; then
28628 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28630 gtk_config_prefix=""
28634 # Check whether --with-gtk-exec-prefix was given.
28635 if test "${with_gtk_exec_prefix+set}" = set; then
28636 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28638 gtk_config_exec_prefix=""
28641 # Check whether --enable-gtktest was given.
28642 if test "${enable_gtktest+set}" = set; then
28643 enableval=$enable_gtktest;
28649 for module in . $GTK_MODULES
28653 gtk_config_args="$gtk_config_args gthread"
28658 if test x$gtk_config_exec_prefix != x ; then
28659 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28660 if test x${GTK_CONFIG+set} != xset ; then
28661 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28664 if test x$gtk_config_prefix != x ; then
28665 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28666 if test x${GTK_CONFIG+set} != xset ; then
28667 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28671 # Extract the first word of "gtk-config", so it can be a program name with args.
28672 set dummy gtk-config; ac_word=$2
28673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28675 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28676 echo $ECHO_N "(cached) $ECHO_C" >&6
28678 case $GTK_CONFIG in
28680 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28684 for as_dir in $PATH
28687 test -z "$as_dir" && as_dir=.
28688 for ac_exec_ext in '' $ac_executable_extensions; do
28689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28690 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28698 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28702 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28703 if test -n "$GTK_CONFIG"; then
28704 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28705 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28707 { echo "$as_me:$LINENO: result: no" >&5
28708 echo "${ECHO_T}no" >&6; }
28712 min_gtk_version=1.2.7
28713 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28714 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28716 if test "$GTK_CONFIG" = "no" ; then
28719 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28720 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28721 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28723 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28724 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28725 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28726 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28727 if test "x$enable_gtktest" = "xyes" ; then
28728 ac_save_CFLAGS="$CFLAGS"
28729 ac_save_LIBS="$LIBS"
28730 CFLAGS="$CFLAGS $GTK_CFLAGS"
28731 LIBS="$GTK_LIBS $LIBS"
28733 if test "$cross_compiling" = yes; then
28734 echo $ac_n "cross compiling; assumed OK... $ac_c"
28736 cat >conftest.$ac_ext <<_ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28743 #include <gtk/gtk.h>
28745 #include <stdlib.h>
28750 int major, minor, micro;
28753 system ("touch conf.gtktest");
28755 /* HP/UX 9 (%@#!) writes to sscanf strings */
28756 tmp_version = g_strdup("$min_gtk_version");
28757 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28758 printf("%s, bad version string\n", "$min_gtk_version");
28762 if ((gtk_major_version != $gtk_config_major_version) ||
28763 (gtk_minor_version != $gtk_config_minor_version) ||
28764 (gtk_micro_version != $gtk_config_micro_version))
28766 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28767 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28768 gtk_major_version, gtk_minor_version, gtk_micro_version);
28769 printf ("*** was found! If gtk-config was correct, then it is best\n");
28770 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28771 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28772 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28773 printf("*** required on your system.\n");
28774 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28775 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28776 printf("*** before re-running configure\n");
28778 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28779 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28780 (gtk_minor_version != GTK_MINOR_VERSION) ||
28781 (gtk_micro_version != GTK_MICRO_VERSION))
28783 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28784 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28785 printf("*** library (version %d.%d.%d)\n",
28786 gtk_major_version, gtk_minor_version, gtk_micro_version);
28788 #endif /* defined (GTK_MAJOR_VERSION) ... */
28791 if ((gtk_major_version > major) ||
28792 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28793 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28799 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28800 gtk_major_version, gtk_minor_version, gtk_micro_version);
28801 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28802 major, minor, micro);
28803 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28805 printf("*** If you have already installed a sufficiently new version, this error\n");
28806 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28807 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28808 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28809 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28810 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28811 printf("*** so that the correct libraries are found at run-time))\n");
28818 rm -f conftest$ac_exeext
28819 if { (ac_try="$ac_link"
28820 case "(($ac_try" in
28821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28822 *) ac_try_echo=$ac_try;;
28824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28825 (eval "$ac_link") 2>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28829 { (case "(($ac_try" in
28830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28831 *) ac_try_echo=$ac_try;;
28833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28834 (eval "$ac_try") 2>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28840 echo "$as_me: program exited with status $ac_status" >&5
28841 echo "$as_me: failed program was:" >&5
28842 sed 's
/^
/| /' conftest.$ac_ext >&5
28844 ( exit $ac_status )
28847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28851 CFLAGS="$ac_save_CFLAGS"
28852 LIBS="$ac_save_LIBS"
28855 if test "x$no_gtk" = x ; then
28856 { echo "$as_me:$LINENO: result: yes" >&5
28857 echo "${ECHO_T}yes" >&6; }
28858 wx_cv_lib_gtk=1.2.7
28860 { echo "$as_me:$LINENO: result: no" >&5
28861 echo "${ECHO_T}no" >&6; }
28862 if test "$GTK_CONFIG" = "no" ; then
28863 echo "*** The gtk-config script installed by GTK could not be found"
28864 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28865 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28866 echo "*** full path to gtk-config."
28868 if test -f conf.gtktest ; then
28871 echo "*** Could not run GTK test program, checking why..."
28872 CFLAGS="$CFLAGS $GTK_CFLAGS"
28873 LIBS="$LIBS $GTK_LIBS"
28874 cat >conftest.$ac_ext <<_ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 #include <gtk/gtk.h>
28887 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28892 rm -f conftest.$ac_objext conftest$ac_exeext
28893 if { (ac_try="$ac_link"
28894 case "(($ac_try" in
28895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28896 *) ac_try_echo=$ac_try;;
28898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28899 (eval "$ac_link") 2>conftest.er1
28901 grep -v '^
*+' conftest.er1 >conftest.err
28903 cat conftest.err >&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } && {
28906 test -z "$ac_c_werror_flag" ||
28907 test ! -s conftest.err
28908 } && test -s conftest$ac_exeext &&
28909 $as_test_x conftest$ac_exeext; then
28910 echo "*** The test program compiled, but did not run. This usually means"
28911 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28912 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28913 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28914 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28915 echo "*** is required on your system
"
28917 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28918 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28920 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28921 echo "*** came with the system with the
command"
28923 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28925 echo "$as_me: failed program was
:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28928 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28929 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28930 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28931 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28935 conftest$ac_exeext conftest.$ac_ext
28936 CFLAGS="$ac_save_CFLAGS"
28937 LIBS="$ac_save_LIBS"
28949 if test -z "$wx_cv_lib_gtk"; then
28951 # Check whether --with-gtk-prefix was given.
28952 if test "${with_gtk_prefix+set}" = set; then
28953 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28955 gtk_config_prefix=""
28959 # Check whether --with-gtk-exec-prefix was given.
28960 if test "${with_gtk_exec_prefix+set}" = set; then
28961 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28963 gtk_config_exec_prefix=""
28966 # Check whether --enable-gtktest was given.
28967 if test "${enable_gtktest+set}" = set; then
28968 enableval=$enable_gtktest;
28974 for module in . $GTK_MODULES
28978 gtk_config_args="$gtk_config_args gthread
"
28983 if test x$gtk_config_exec_prefix != x ; then
28984 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28985 if test x${GTK_CONFIG+set} != xset ; then
28986 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28989 if test x$gtk_config_prefix != x ; then
28990 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28991 if test x${GTK_CONFIG+set} != xset ; then
28992 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28996 # Extract the first word of "gtk
-config", so it can be a program name with args.
28997 set dummy gtk-config; ac_word=$2
28998 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28999 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29000 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29001 echo $ECHO_N "(cached
) $ECHO_C" >&6
29003 case $GTK_CONFIG in
29005 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29009 for as_dir in $PATH
29012 test -z "$as_dir" && as_dir=.
29013 for ac_exec_ext in '' $ac_executable_extensions; do
29014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29015 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29016 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29023 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29027 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29028 if test -n "$GTK_CONFIG"; then
29029 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29030 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29032 { echo "$as_me:$LINENO: result
: no
" >&5
29033 echo "${ECHO_T}no
" >&6; }
29037 min_gtk_version=1.2.3
29038 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29039 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29041 if test "$GTK_CONFIG" = "no
" ; then
29044 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29045 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29046 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29048 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29050 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29052 if test "x
$enable_gtktest" = "xyes
" ; then
29053 ac_save_CFLAGS="$CFLAGS"
29054 ac_save_LIBS="$LIBS"
29055 CFLAGS="$CFLAGS $GTK_CFLAGS"
29056 LIBS="$GTK_LIBS $LIBS"
29058 if test "$cross_compiling" = yes; then
29059 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29061 cat >conftest.$ac_ext <<_ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29068 #include <gtk/gtk.h>
29070 #include <stdlib.h>
29075 int major, minor, micro;
29078 system ("touch conf.gtktest
");
29080 /* HP/UX 9 (%@#!) writes to sscanf strings */
29081 tmp_version = g_strdup("$min_gtk_version");
29082 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29083 printf("%s
, bad version string
\n", "$min_gtk_version");
29087 if ((gtk_major_version != $gtk_config_major_version) ||
29088 (gtk_minor_version != $gtk_config_minor_version) ||
29089 (gtk_micro_version != $gtk_config_micro_version))
29091 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29092 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29093 gtk_major_version, gtk_minor_version, gtk_micro_version);
29094 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29095 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29096 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29097 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29098 printf("*** required on your system.
\n");
29099 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29100 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29101 printf("*** before re
-running configure
\n");
29103 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29104 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29105 (gtk_minor_version != GTK_MINOR_VERSION) ||
29106 (gtk_micro_version != GTK_MICRO_VERSION))
29108 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29109 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29110 printf("*** library
(version
%d.
%d.
%d
)\n",
29111 gtk_major_version, gtk_minor_version, gtk_micro_version);
29113 #endif /* defined (GTK_MAJOR_VERSION) ... */
29116 if ((gtk_major_version > major) ||
29117 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29118 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29124 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29125 gtk_major_version, gtk_minor_version, gtk_micro_version);
29126 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29127 major, minor, micro);
29128 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29130 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29131 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29132 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29133 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29134 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29135 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29136 printf("*** so that the correct libraries are found
at run
-time))\n");
29143 rm -f conftest$ac_exeext
29144 if { (ac_try="$ac_link"
29145 case "(($ac_try" in
29146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29147 *) ac_try_echo=$ac_try;;
29149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29150 (eval "$ac_link") 2>&5
29152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29154 { (case "(($ac_try" in
29155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29156 *) ac_try_echo=$ac_try;;
29158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29159 (eval "$ac_try") 2>&5
29161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29162 (exit $ac_status); }; }; then
29165 echo "$as_me: program exited with status
$ac_status" >&5
29166 echo "$as_me: failed program was
:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29169 ( exit $ac_status )
29172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29176 CFLAGS="$ac_save_CFLAGS"
29177 LIBS="$ac_save_LIBS"
29180 if test "x
$no_gtk" = x ; then
29181 { echo "$as_me:$LINENO: result
: yes" >&5
29182 echo "${ECHO_T}yes" >&6; }
29183 wx_cv_lib_gtk=1.2.3
29185 { echo "$as_me:$LINENO: result
: no
" >&5
29186 echo "${ECHO_T}no
" >&6; }
29187 if test "$GTK_CONFIG" = "no
" ; then
29188 echo "*** The gtk
-config script installed by GTK could not be found
"
29189 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29190 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29191 echo "*** full path to gtk
-config.
"
29193 if test -f conf.gtktest ; then
29196 echo "*** Could not run GTK
test program
, checking why...
"
29197 CFLAGS="$CFLAGS $GTK_CFLAGS"
29198 LIBS="$LIBS $GTK_LIBS"
29199 cat >conftest.$ac_ext <<_ACEOF
29202 cat confdefs.h >>conftest.$ac_ext
29203 cat >>conftest.$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29206 #include <gtk/gtk.h>
29212 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29217 rm -f conftest.$ac_objext conftest$ac_exeext
29218 if { (ac_try="$ac_link"
29219 case "(($ac_try" in
29220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29221 *) ac_try_echo=$ac_try;;
29223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29224 (eval "$ac_link") 2>conftest.er1
29226 grep -v '^ *+' conftest.er1 >conftest.err
29228 cat conftest.err >&5
29229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29230 (exit $ac_status); } && {
29231 test -z "$ac_c_werror_flag" ||
29232 test ! -s conftest.err
29233 } && test -s conftest$ac_exeext &&
29234 $as_test_x conftest$ac_exeext; then
29235 echo "*** The
test program compiled
, but did not run. This usually means
"
29236 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29237 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29238 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29239 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29240 echo "*** is required on your system"
29242 echo "*** If you have an old version installed, it is best to remove it, although"
29243 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29245 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29246 echo "*** came with the system with the command"
29248 echo "*** rpm --erase --nodeps gtk gtk-devel"
29250 echo "$as_me: failed program was:" >&5
29251 sed 's
/^
/| /' conftest.$ac_ext >&5
29253 echo "*** The test program failed to compile or link. See the file config.log for the"
29254 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29255 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29256 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29260 conftest$ac_exeext conftest.$ac_ext
29261 CFLAGS="$ac_save_CFLAGS"
29262 LIBS="$ac_save_LIBS"
29277 if test -z "$wx_cv_lib_gtk"; then
29280 wx_cv_cflags_gtk=$GTK_CFLAGS
29281 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29288 if test "$gtk_version_cached" = 1; then
29289 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29290 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29293 case "$wx_cv_lib_gtk" in
29302 *) { { echo "$as_me:$LINENO: error:
29303 The development files for GTK+ were not found. For GTK+ 2, please
29304 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29305 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29306 and that the version is 1.2.3 or above. Also check that the
29307 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29308 --libs' are in the LD_LIBRARY_PATH or equivalent.
29310 echo "$as_me: error:
29311 The development files for GTK+ were not found. For GTK+ 2, please
29312 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29313 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29314 and that the version is 1.2.3 or above. Also check that the
29315 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29316 --libs' are in the LD_LIBRARY_PATH or equivalent.
29318 { (exit 1); exit 1; }; }
29322 if test "$WXGTK2" = 1; then
29323 save_CFLAGS="$CFLAGS"
29325 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29326 LIBS="$LIBS $wx_cv_libs_gtk"
29328 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29329 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29330 cat >conftest.$ac_ext <<_ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29337 #include <gtk/gtk.h>
29343 #if !GTK_CHECK_VERSION(2,10,0)
29351 rm -f conftest.$ac_objext
29352 if { (ac_try="$ac_compile"
29353 case "(($ac_try" in
29354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29355 *) ac_try_echo=$ac_try;;
29357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29358 (eval "$ac_compile") 2>conftest.er1
29360 grep -v '^
*+' conftest.er1 >conftest.err
29362 cat conftest.err >&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); } && {
29365 test -z "$ac_c_werror_flag" ||
29366 test ! -s conftest.err
29367 } && test -s conftest.$ac_objext; then
29369 cat >>confdefs.h <<\_ACEOF
29370 #define __WXGTK210__ 1
29373 cat >>confdefs.h <<\_ACEOF
29374 #define __WXGTK26__ 1
29377 { echo "$as_me:$LINENO: result: yes" >&5
29378 echo "${ECHO_T}yes" >&6; }
29382 echo "$as_me: failed program was:" >&5
29383 sed 's
/^
/| /' conftest.$ac_ext >&5
29386 { echo "$as_me:$LINENO: result: no" >&5
29387 echo "${ECHO_T}no" >&6; }
29392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29394 if test "$ac_wxgtk210" = 0; then
29395 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29396 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29397 cat >conftest.$ac_ext <<_ACEOF
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29404 #include <gtk/gtk.h>
29410 #if !GTK_CHECK_VERSION(2,6,0)
29418 rm -f conftest.$ac_objext
29419 if { (ac_try="$ac_compile"
29420 case "(($ac_try" in
29421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29422 *) ac_try_echo=$ac_try;;
29424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29425 (eval "$ac_compile") 2>conftest.er1
29427 grep -v '^
*+' conftest.er1 >conftest.err
29429 cat conftest.err >&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } && {
29432 test -z "$ac_c_werror_flag" ||
29433 test ! -s conftest.err
29434 } && test -s conftest.$ac_objext; then
29436 cat >>confdefs.h <<\_ACEOF
29437 #define __WXGTK26__ 1
29440 { echo "$as_me:$LINENO: result: yes" >&5
29441 echo "${ECHO_T}yes" >&6; }
29445 echo "$as_me: failed program was:" >&5
29446 sed 's
/^
/| /' conftest.$ac_ext >&5
29449 { echo "$as_me:$LINENO: result: no" >&5
29450 echo "${ECHO_T}no" >&6; }
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458 CFLAGS="$save_CFLAGS"
29461 if test "$wxUSE_UNICODE" = "yes"; then
29462 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29463 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29467 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29468 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29469 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29470 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 ac_check_lib_save_LIBS=$LIBS
29474 cat >conftest.$ac_ext <<_ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29481 /* Override any GCC internal prototype to avoid an error.
29482 Use char because int might match the return type of a GCC
29483 builtin and then its argument prototype would still apply. */
29487 char gdk_im_open ();
29491 return gdk_im_open ();
29496 rm -f conftest.$ac_objext conftest$ac_exeext
29497 if { (ac_try="$ac_link"
29498 case "(($ac_try" in
29499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29500 *) ac_try_echo=$ac_try;;
29502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29503 (eval "$ac_link") 2>conftest.er1
29505 grep -v '^
*+' conftest.er1 >conftest.err
29507 cat conftest.err >&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); } && {
29510 test -z "$ac_c_werror_flag" ||
29511 test ! -s conftest.err
29512 } && test -s conftest$ac_exeext &&
29513 $as_test_x conftest$ac_exeext; then
29514 ac_cv_lib_gdk_gdk_im_open=yes
29516 echo "$as_me: failed program was:" >&5
29517 sed 's
/^
/| /' conftest.$ac_ext >&5
29519 ac_cv_lib_gdk_gdk_im_open=no
29522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29523 conftest$ac_exeext conftest.$ac_ext
29524 LIBS=$ac_check_lib_save_LIBS
29526 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29527 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29528 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29529 cat >>confdefs.h <<\_ACEOF
29536 if test "$USE_DARWIN" != 1; then
29538 for ac_func in poll
29540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29544 echo $ECHO_N "(cached) $ECHO_C" >&6
29546 cat >conftest.$ac_ext <<_ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29554 #define $ac_func innocuous_$ac_func
29556 /* System header to define __stub macros and hopefully few prototypes,
29557 which can conflict with char $ac_func (); below.
29558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29559 <limits.h> exists even on freestanding compilers. */
29562 # include <limits.h>
29564 # include <assert.h>
29569 /* Override any GCC internal prototype to avoid an error.
29570 Use char because int might match the return type of a GCC
29571 builtin and then its argument prototype would still apply. */
29576 /* The GNU C library defines this for functions which it implements
29577 to always fail with ENOSYS. Some functions are actually named
29578 something starting with __ and the normal name is an alias. */
29579 #if defined __stub_$ac_func || defined __stub___$ac_func
29586 return $ac_func ();
29591 rm -f conftest.$ac_objext conftest$ac_exeext
29592 if { (ac_try="$ac_link"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_link") 2>conftest.er1
29600 grep -v '^
*+' conftest.er1 >conftest.err
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest$ac_exeext &&
29608 $as_test_x conftest$ac_exeext; then
29609 eval "$as_ac_var=yes"
29611 echo "$as_me: failed program was:" >&5
29612 sed 's
/^
/| /' conftest.$ac_ext >&5
29614 eval "$as_ac_var=no"
29617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29618 conftest$ac_exeext conftest.$ac_ext
29620 ac_res=`eval echo '${'$as_ac_var'}'`
29621 { echo "$as_me:$LINENO: result: $ac_res" >&5
29622 echo "${ECHO_T}$ac_res" >&6; }
29623 if test `eval echo '${'$as_ac_var'}'` = yes; then
29624 cat >>confdefs.h <<_ACEOF
29625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29634 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29635 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29637 AFMINSTALL=afminstall
29641 if test "$wxUSE_GPE" = "yes"; then
29642 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29643 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29646 for ac_dir in $SEARCH_LIB;
29648 for ac_extension in a so sl dylib dll.a; do
29649 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29650 ac_find_libraries=$ac_dir
29656 if test "$ac_find_libraries" != "" ; then
29658 if test "$ac_find_libraries" = "default location"; then
29661 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29663 if test $result = 0; then
29666 ac_path_to_link=" -L$ac_find_libraries"
29670 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29672 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29673 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29675 { echo "$as_me:$LINENO: result: not found" >&5
29676 echo "${ECHO_T}not found" >&6; }
29682 if test "$wxUSE_MGL" = 1; then
29683 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29684 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29685 if test "x$MGL_ROOT" = x ; then
29686 { echo "$as_me:$LINENO: result: not found" >&5
29687 echo "${ECHO_T}not found" >&6; }
29688 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29689 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29690 { (exit 1); exit 1; }; }
29692 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29693 echo "${ECHO_T}$MGL_ROOT" >&6; }
29696 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29697 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29700 if test "x$wxUSE_SHARED" = xyes ; then
29701 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29703 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29707 mgl_os_candidates="dos32/dj2"
29710 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29711 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29712 { (exit 1); exit 1; }; }
29718 for mgl_os_i in $mgl_os_candidates ; do
29719 if test "x$mgl_os" = x ; then
29720 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29721 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29722 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29727 if test "x$mgl_lib_type" = x ; then
29728 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29729 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29730 mgl_lib_type=release
29737 if test "x$mgl_os" = x ; then
29738 { echo "$as_me:$LINENO: result: not found" >&5
29739 echo "${ECHO_T}not found" >&6; }
29740 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29741 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29742 { (exit 1); exit 1; }; }
29744 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29745 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29747 wxUSE_UNIVERSAL="yes"
29749 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29750 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29752 AFMINSTALL=afminstall
29757 if test "$wxUSE_DFB" = 1; then
29760 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29761 if test -n "$ac_tool_prefix"; then
29762 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 case $PKG_CONFIG in
29771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29775 for as_dir in $PATH
29778 test -z "$as_dir" && as_dir=.
29779 for ac_exec_ext in '' $ac_executable_extensions; do
29780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29793 if test -n "$PKG_CONFIG"; then
29794 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29795 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29797 { echo "$as_me:$LINENO: result: no" >&5
29798 echo "${ECHO_T}no" >&6; }
29803 if test -z "$ac_cv_path_PKG_CONFIG"; then
29804 ac_pt_PKG_CONFIG=$PKG_CONFIG
29805 # Extract the first word of "pkg-config", so it can be a program name with args.
29806 set dummy pkg-config; ac_word=$2
29807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29809 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 case $ac_pt_PKG_CONFIG in
29814 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29818 for as_dir in $PATH
29821 test -z "$as_dir" && as_dir=.
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29824 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29835 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29836 if test -n "$ac_pt_PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29838 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29840 { echo "$as_me:$LINENO: result: no" >&5
29841 echo "${ECHO_T}no" >&6; }
29844 if test "x$ac_pt_PKG_CONFIG" = x; then
29847 case $cross_compiling:$ac_tool_warned in
29849 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29850 whose name does not start with the host triplet. If you think this
29851 configuration is useful to you, please write to autoconf@gnu.org." >&5
29852 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29853 whose name does not start with the host triplet. If you think this
29854 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29855 ac_tool_warned=yes ;;
29857 PKG_CONFIG=$ac_pt_PKG_CONFIG
29860 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29864 if test -n "$PKG_CONFIG"; then
29865 _pkg_min_version=0.9.0
29866 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29867 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29868 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29869 { echo "$as_me:$LINENO: result: yes" >&5
29870 echo "${ECHO_T}yes" >&6; }
29872 { echo "$as_me:$LINENO: result: no" >&5
29873 echo "${ECHO_T}no" >&6; }
29881 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29882 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29884 if test -n "$PKG_CONFIG"; then
29885 if test -n "$DIRECTFB_CFLAGS"; then
29886 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29888 if test -n "$PKG_CONFIG" && \
29889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29890 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; then
29894 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29902 if test -n "$PKG_CONFIG"; then
29903 if test -n "$DIRECTFB_LIBS"; then
29904 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29906 if test -n "$PKG_CONFIG" && \
29907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29908 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); }; then
29912 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29923 if test $pkg_failed = yes; then
29925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29926 _pkg_short_errors_supported=yes
29928 _pkg_short_errors_supported=no
29930 if test $_pkg_short_errors_supported = yes; then
29931 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29933 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29935 # Put the nasty error message in config.log where it belongs
29936 echo "$DIRECTFB_PKG_ERRORS" >&5
29939 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29940 echo "$as_me: error: DirectFB not found." >&2;}
29941 { (exit 1); exit 1; }; }
29944 elif test $pkg_failed = untried; then
29946 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29947 echo "$as_me: error: DirectFB not found." >&2;}
29948 { (exit 1); exit 1; }; }
29952 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29953 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29954 { echo "$as_me:$LINENO: result: yes" >&5
29955 echo "${ECHO_T}yes" >&6; }
29957 wxUSE_UNIVERSAL="yes"
29958 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29959 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29966 if test "$wxUSE_MICROWIN" = 1; then
29967 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29968 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29969 if test "x$MICROWINDOWS" = x ; then
29970 { echo "$as_me:$LINENO: result: not found" >&5
29971 echo "${ECHO_T}not found" >&6; }
29972 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29973 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29974 { (exit 1); exit 1; }; }
29976 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29977 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29980 if test -f $MICROWINDOWS/lib/libmwin.a; then
29981 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29982 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29984 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29985 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29986 { (exit 1); exit 1; }; }
29989 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29990 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29992 wxUSE_UNIVERSAL="yes"
29994 AFMINSTALL=afminstall
29996 GUIDIST=MICROWIN_DIST
29998 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30001 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30002 { echo "$as_me:$LINENO: checking for X" >&5
30003 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30006 # Check whether --with-x was given.
30007 if test "${with_x+set}" = set; then
30011 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30012 if test "x$with_x" = xno; then
30013 # The user explicitly disabled X.
30016 case $x_includes,$x_libraries in #(
30017 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30018 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30019 { (exit 1); exit 1; }; };; #(
30020 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30021 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 # One or both of the vars are not set, and there is no cached value.
30024 ac_x_includes=no ac_x_libraries=no
30025 rm -f -r conftest.dir
30026 if mkdir conftest.dir; then
30028 cat >Imakefile <<'_ACEOF'
30030 @echo incroot='${INCROOT}'
30032 @echo usrlibdir='${USRLIBDIR}'
30034 @echo libdir='${LIBDIR}'
30036 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30037 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30038 for ac_var in incroot usrlibdir libdir; do
30039 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30041 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30042 for ac_extension in a so sl; do
30043 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30044 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30045 ac_im_usrlibdir=$ac_im_libdir; break
30048 # Screen out bogus values from the imake configuration. They are
30049 # bogus both because they are the default anyway, and because
30050 # using them would break gcc on systems where it needs fixed includes.
30051 case $ac_im_incroot in
30052 /usr/include) ac_x_includes= ;;
30053 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30055 case $ac_im_usrlibdir in
30056 /usr/lib | /lib) ;;
30057 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30061 rm -f -r conftest.dir
30064 # Standard set of common directories for X headers.
30065 # Check X11 before X11Rn because it is often a symlink to the current release.
30077 /usr
/local
/X
11/include
30078 /usr
/local
/X
11R
6/include
30079 /usr
/local
/X
11R
5/include
30080 /usr
/local
/X
11R
4/include
30082 /usr
/local
/include
/X11
30083 /usr
/local
/include
/X11R6
30084 /usr
/local
/include
/X11R5
30085 /usr
/local
/include
/X11R4
30089 /usr
/XFree
86/include
/X11
30093 /usr
/unsupported
/include
30094 /usr
/athena
/include
30095 /usr
/local
/x
11r
5/include
30096 /usr
/lpp
/Xamples
/include
30098 /usr
/openwin
/include
30099 /usr
/openwin
/share
/include
'
30101 if test "$ac_x_includes" = no; then
30102 # Guess where to find include files, by looking for Xlib.h.
30103 # First, try using that file with no special directory specified.
30104 cat >conftest.$ac_ext <<_ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30110 #include <X11/Xlib.h>
30112 if { (ac_try="$ac_cpp conftest.$ac_ext"
30113 case "(($ac_try" in
30114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30115 *) ac_try_echo=$ac_try;;
30117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30120 grep -v '^
*+' conftest.er1 >conftest.err
30122 cat conftest.err >&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } >/dev/null && {
30125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30126 test ! -s conftest.err
30128 # We can compile using X headers with no special include directory.
30131 echo "$as_me: failed program was:" >&5
30132 sed 's
/^
/| /' conftest.$ac_ext >&5
30134 for ac_dir in $ac_x_header_dirs; do
30135 if test -r "$ac_dir/X11/Xlib.h"; then
30136 ac_x_includes=$ac_dir
30142 rm -f conftest.err conftest.$ac_ext
30143 fi # $ac_x_includes = no
30145 if test "$ac_x_libraries" = no; then
30146 # Check for the libraries.
30147 # See if we find them without any special options.
30148 # Don't add to
$LIBS permanently.
30151 cat >conftest.
$ac_ext <<_ACEOF
30154 cat confdefs.h
>>conftest.
$ac_ext
30155 cat >>conftest.
$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30157 #include <X11/Xlib.h>
30166 rm -f conftest.
$ac_objext conftest
$ac_exeext
30167 if { (ac_try
="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30175 grep -v '^ *+' conftest.er1 >conftest.err
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30185 # We can link X programs with no special library path.
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.$ac_ext >&5
30192 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30194 # Don't even attempt the hair of trying to link an X program!
30195 for ac_extension in a so sl; do
30196 if test -r "$ac_dir/libX11.$ac_extension"; then
30197 ac_x_libraries=$ac_dir
30204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30205 conftest$ac_exeext conftest.$ac_ext
30206 fi # $ac_x_libraries = no
30208 case $ac_x_includes,$ac_x_libraries in #(
30209 no,* | *,no | *\'*)
30210 # Didn't find X, or a directory has "'" in its name.
30211 ac_cv_have_x="have_x=no";; #(
30213 # Record where we found X for the cache.
30214 ac_cv_have_x="have_x=yes\
30215 ac_x_includes='$ac_x_includes'\
30216 ac_x_libraries='$ac_x_libraries'"
30222 eval "$ac_cv_have_x"
30225 if test "$have_x" != yes; then
30226 { echo "$as_me:$LINENO: result: $have_x" >&5
30227 echo "${ECHO_T}$have_x" >&6; }
30230 # If each of the values was on the command line, it overrides each guess.
30231 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30232 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30233 # Update the cache value to reflect the command line values.
30234 ac_cv_have_x="have_x=yes\
30235 ac_x_includes='$x_includes'\
30236 ac_x_libraries='$x_libraries'"
30237 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30238 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30241 if test "$no_x" = yes; then
30242 # Not all programs may use this symbol, but it does not hurt to define it.
30244 cat >>confdefs.h <<\_ACEOF
30245 #define X_DISPLAY_MISSING 1
30248 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30250 if test -n "$x_includes"; then
30251 X_CFLAGS="$X_CFLAGS -I$x_includes"
30254 # It would also be nice to do this for all -L options, not just this one.
30255 if test -n "$x_libraries"; then
30256 X_LIBS="$X_LIBS -L$x_libraries"
30257 # For Solaris; some versions of Sun CC require a space after -R and
30258 # others require no space. Words are not sufficient . . . .
30259 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30260 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30261 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30262 ac_xsave_c_werror_flag=$ac_c_werror_flag
30263 ac_c_werror_flag=yes
30264 cat >conftest.$ac_ext <<_ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30279 rm -f conftest.$ac_objext conftest$ac_exeext
30280 if { (ac_try="$ac_link"
30281 case "(($ac_try" in
30282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30283 *) ac_try_echo
=$ac_try;;
30285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30286 (eval "$ac_link") 2>conftest.er1
30288 grep -v '^ *+' conftest.er1
>conftest.err
30290 cat conftest.err
>&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); } && {
30293 test -z "$ac_c_werror_flag" ||
30294 test ! -s conftest.err
30295 } && test -s conftest
$ac_exeext &&
30296 $as_test_x conftest
$ac_exeext; then
30297 { echo "$as_me:$LINENO: result: no" >&5
30298 echo "${ECHO_T}no" >&6; }
30299 X_LIBS
="$X_LIBS -R$x_libraries"
30301 echo "$as_me: failed program was:" >&5
30302 sed 's/^/| /' conftest.
$ac_ext >&5
30304 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30305 cat >conftest.
$ac_ext <<_ACEOF
30308 cat confdefs.h
>>conftest.
$ac_ext
30309 cat >>conftest.
$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30320 rm -f conftest.
$ac_objext conftest
$ac_exeext
30321 if { (ac_try
="$ac_link"
30322 case "(($ac_try" in
30323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30324 *) ac_try_echo=$ac_try;;
30326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30327 (eval "$ac_link") 2>conftest.er1
30329 grep -v '^ *+' conftest.er1 >conftest.err
30331 cat conftest.err >&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } && {
30334 test -z "$ac_c_werror_flag" ||
30335 test ! -s conftest.err
30336 } && test -s conftest$ac_exeext &&
30337 $as_test_x conftest$ac_exeext; then
30338 { echo "$as_me:$LINENO: result: yes" >&5
30339 echo "${ECHO_T}yes" >&6; }
30340 X_LIBS="$X_LIBS -R $x_libraries"
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30345 { echo "$as_me:$LINENO: result: neither works" >&5
30346 echo "${ECHO_T}neither works" >&6; }
30349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30350 conftest$ac_exeext conftest.$ac_ext
30353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30354 conftest$ac_exeext conftest.$ac_ext
30355 ac_c_werror_flag=$ac_xsave_c_werror_flag
30356 LIBS=$ac_xsave_LIBS
30359 # Check for system-dependent libraries X programs must link with.
30360 # Do this before checking for the system-independent R6 libraries
30361 # (-lICE), since we may need -lsocket or whatever for X linking.
30363 if test "$ISC" = yes; then
30364 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30366 # Martyn Johnson says this is needed for Ultrix, if the X
30367 # libraries were built with DECnet support. And Karl Berry says
30368 # the Alpha needs dnet_stub (dnet does not exist).
30369 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30370 cat >conftest.$ac_ext <<_ACEOF
30373 cat confdefs.h >>conftest.$ac_ext
30374 cat >>conftest.$ac_ext <<_ACEOF
30375 /* end confdefs.h. */
30377 /* Override any GCC internal prototype to avoid an error.
30378 Use char because int might match the return type of a GCC
30379 builtin and then its argument prototype would still apply. */
30383 char XOpenDisplay ();
30387 return XOpenDisplay ();
30392 rm -f conftest.$ac_objext conftest$ac_exeext
30393 if { (ac_try="$ac_link"
30394 case "(($ac_try" in
30395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30396 *) ac_try_echo
=$ac_try;;
30398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30399 (eval "$ac_link") 2>conftest.er1
30401 grep -v '^ *+' conftest.er1
>conftest.err
30403 cat conftest.err
>&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } && {
30406 test -z "$ac_c_werror_flag" ||
30407 test ! -s conftest.err
30408 } && test -s conftest
$ac_exeext &&
30409 $as_test_x conftest
$ac_exeext; then
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.
$ac_ext >&5
30415 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30416 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30417 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 ac_check_lib_save_LIBS
=$LIBS
30421 LIBS
="-ldnet $LIBS"
30422 cat >conftest.
$ac_ext <<_ACEOF
30425 cat confdefs.h
>>conftest.
$ac_ext
30426 cat >>conftest.
$ac_ext <<_ACEOF
30427 /* end confdefs.h. */
30429 /* Override any GCC internal prototype to avoid an error.
30430 Use char because int might match the return type of a GCC
30431 builtin and then its argument prototype would still apply. */
30439 return dnet_ntoa ();
30444 rm -f conftest.
$ac_objext conftest
$ac_exeext
30445 if { (ac_try
="$ac_link"
30446 case "(($ac_try" in
30447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30448 *) ac_try_echo=$ac_try;;
30450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30451 (eval "$ac_link") 2>conftest.er1
30453 grep -v '^ *+' conftest.er1 >conftest.err
30455 cat conftest.err >&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); } && {
30458 test -z "$ac_c_werror_flag" ||
30459 test ! -s conftest.err
30460 } && test -s conftest$ac_exeext &&
30461 $as_test_x conftest$ac_exeext; then
30462 ac_cv_lib_dnet_dnet_ntoa=yes
30464 echo "$as_me: failed program was:" >&5
30465 sed 's/^/| /' conftest.$ac_ext >&5
30467 ac_cv_lib_dnet_dnet_ntoa=no
30470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30471 conftest$ac_exeext conftest.$ac_ext
30472 LIBS=$ac_check_lib_save_LIBS
30474 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30475 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30476 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30477 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30480 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30481 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30482 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30483 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30486 ac_check_lib_save_LIBS=$LIBS
30487 LIBS="-ldnet_stub $LIBS"
30488 cat >conftest.$ac_ext <<_ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30495 /* Override any GCC internal prototype to avoid an error.
30496 Use char because int might match the return type of a GCC
30497 builtin and then its argument prototype would still apply. */
30505 return dnet_ntoa ();
30510 rm -f conftest.$ac_objext conftest$ac_exeext
30511 if { (ac_try="$ac_link"
30512 case "(($ac_try" in
30513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30514 *) ac_try_echo
=$ac_try;;
30516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_link") 2>conftest.er1
30519 grep -v '^ *+' conftest.er1
>conftest.err
30521 cat conftest.err
>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } && {
30524 test -z "$ac_c_werror_flag" ||
30525 test ! -s conftest.err
30526 } && test -s conftest
$ac_exeext &&
30527 $as_test_x conftest
$ac_exeext; then
30528 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30530 echo "$as_me: failed program was:" >&5
30531 sed 's/^/| /' conftest.
$ac_ext >&5
30533 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30537 conftest
$ac_exeext conftest.
$ac_ext
30538 LIBS
=$ac_check_lib_save_LIBS
30540 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30541 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30542 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30543 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30549 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30550 conftest
$ac_exeext conftest.
$ac_ext
30551 LIBS
="$ac_xsave_LIBS"
30553 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30554 # to get the SysV transport functions.
30555 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30557 # The nsl library prevents programs from opening the X display
30558 # on Irix 5.2, according to T.E. Dickey.
30559 # The functions gethostbyname, getservbyname, and inet_addr are
30560 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30561 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30562 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30563 if test "${ac_cv_func_gethostbyname+set}" = set; then
30564 echo $ECHO_N "(cached) $ECHO_C" >&6
30566 cat >conftest.
$ac_ext <<_ACEOF
30569 cat confdefs.h
>>conftest.
$ac_ext
30570 cat >>conftest.
$ac_ext <<_ACEOF
30571 /* end confdefs.h. */
30572 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30574 #define gethostbyname innocuous_gethostbyname
30576 /* System header to define __stub macros and hopefully few prototypes,
30577 which can conflict with char gethostbyname (); below.
30578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30579 <limits.h> exists even on freestanding compilers. */
30582 # include <limits.h>
30584 # include <assert.h>
30587 #undef gethostbyname
30589 /* Override any GCC internal prototype to avoid an error.
30590 Use char because int might match the return type of a GCC
30591 builtin and then its argument prototype would still apply. */
30595 char gethostbyname ();
30596 /* The GNU C library defines this for functions which it implements
30597 to always fail with ENOSYS. Some functions are actually named
30598 something starting with __ and the normal name is an alias. */
30599 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30606 return gethostbyname ();
30611 rm -f conftest.
$ac_objext conftest
$ac_exeext
30612 if { (ac_try
="$ac_link"
30613 case "(($ac_try" in
30614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30615 *) ac_try_echo=$ac_try;;
30617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 (eval "$ac_link") 2>conftest.er1
30620 grep -v '^ *+' conftest.er1 >conftest.err
30622 cat conftest.err >&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } && {
30625 test -z "$ac_c_werror_flag" ||
30626 test ! -s conftest.err
30627 } && test -s conftest$ac_exeext &&
30628 $as_test_x conftest$ac_exeext; then
30629 ac_cv_func_gethostbyname=yes
30631 echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30634 ac_cv_func_gethostbyname=no
30637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30638 conftest$ac_exeext conftest.$ac_ext
30640 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30641 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30643 if test $ac_cv_func_gethostbyname = no; then
30644 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30645 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30646 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30647 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 ac_check_lib_save_LIBS=$LIBS
30651 cat >conftest.$ac_ext <<_ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30658 /* Override any GCC internal prototype to avoid an error.
30659 Use char because int might match the return type of a GCC
30660 builtin and then its argument prototype would still apply. */
30664 char gethostbyname ();
30668 return gethostbyname ();
30673 rm -f conftest.$ac_objext conftest$ac_exeext
30674 if { (ac_try="$ac_link"
30675 case "(($ac_try" in
30676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30677 *) ac_try_echo
=$ac_try;;
30679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30680 (eval "$ac_link") 2>conftest.er1
30682 grep -v '^ *+' conftest.er1
>conftest.err
30684 cat conftest.err
>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); } && {
30687 test -z "$ac_c_werror_flag" ||
30688 test ! -s conftest.err
30689 } && test -s conftest
$ac_exeext &&
30690 $as_test_x conftest
$ac_exeext; then
30691 ac_cv_lib_nsl_gethostbyname
=yes
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.
$ac_ext >&5
30696 ac_cv_lib_nsl_gethostbyname
=no
30699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30700 conftest
$ac_exeext conftest.
$ac_ext
30701 LIBS
=$ac_check_lib_save_LIBS
30703 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30704 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30705 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30706 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30709 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30710 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30711 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30712 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30713 echo $ECHO_N "(cached) $ECHO_C" >&6
30715 ac_check_lib_save_LIBS
=$LIBS
30717 cat >conftest.
$ac_ext <<_ACEOF
30720 cat confdefs.h
>>conftest.
$ac_ext
30721 cat >>conftest.
$ac_ext <<_ACEOF
30722 /* end confdefs.h. */
30724 /* Override any GCC internal prototype to avoid an error.
30725 Use char because int might match the return type of a GCC
30726 builtin and then its argument prototype would still apply. */
30730 char gethostbyname ();
30734 return gethostbyname ();
30739 rm -f conftest.
$ac_objext conftest
$ac_exeext
30740 if { (ac_try
="$ac_link"
30741 case "(($ac_try" in
30742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30743 *) ac_try_echo=$ac_try;;
30745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30746 (eval "$ac_link") 2>conftest.er1
30748 grep -v '^ *+' conftest.er1 >conftest.err
30750 cat conftest.err >&5
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); } && {
30753 test -z "$ac_c_werror_flag" ||
30754 test ! -s conftest.err
30755 } && test -s conftest$ac_exeext &&
30756 $as_test_x conftest$ac_exeext; then
30757 ac_cv_lib_bsd_gethostbyname=yes
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30762 ac_cv_lib_bsd_gethostbyname=no
30765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30766 conftest$ac_exeext conftest.$ac_ext
30767 LIBS=$ac_check_lib_save_LIBS
30769 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30770 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30771 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30772 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30778 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30779 # socket/setsockopt and other routines are undefined under SCO ODT
30780 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30781 # on later versions), says Simon Leinen: it contains gethostby*
30782 # variants that don't use the name server (or something). -lsocket
30783 # must be given before -lnsl if both are needed. We assume that
30784 # if connect needs -lnsl, so does gethostbyname.
30785 { echo "$as_me:$LINENO: checking for connect" >&5
30786 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30787 if test "${ac_cv_func_connect+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 cat >conftest.$ac_ext <<_ACEOF
30793 cat confdefs.h >>conftest.$ac_ext
30794 cat >>conftest.$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30796 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30798 #define connect innocuous_connect
30800 /* System header to define __stub macros and hopefully few prototypes,
30801 which can conflict with char connect (); below.
30802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30803 <limits.h> exists even on freestanding compilers. */
30806 # include <limits.h>
30808 # include <assert.h>
30813 /* Override any GCC internal prototype to avoid an error.
30814 Use char because int might match the return type of a GCC
30815 builtin and then its argument prototype would still apply. */
30820 /* The GNU C library defines this for functions which it implements
30821 to always fail with ENOSYS. Some functions are actually named
30822 something starting with __ and the normal name is an alias. */
30823 #if defined __stub_connect || defined __stub___connect
30835 rm -f conftest.$ac_objext conftest$ac_exeext
30836 if { (ac_try="$ac_link"
30837 case "(($ac_try" in
30838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30839 *) ac_try_echo
=$ac_try;;
30841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30842 (eval "$ac_link") 2>conftest.er1
30844 grep -v '^ *+' conftest.er1
>conftest.err
30846 cat conftest.err
>&5
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); } && {
30849 test -z "$ac_c_werror_flag" ||
30850 test ! -s conftest.err
30851 } && test -s conftest
$ac_exeext &&
30852 $as_test_x conftest
$ac_exeext; then
30853 ac_cv_func_connect
=yes
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.
$ac_ext >&5
30858 ac_cv_func_connect
=no
30861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30862 conftest
$ac_exeext conftest.
$ac_ext
30864 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30865 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30867 if test $ac_cv_func_connect = no
; then
30868 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30869 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30870 if test "${ac_cv_lib_socket_connect+set}" = set; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 ac_check_lib_save_LIBS
=$LIBS
30874 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30875 cat >conftest.
$ac_ext <<_ACEOF
30878 cat confdefs.h
>>conftest.
$ac_ext
30879 cat >>conftest.
$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30882 /* Override any GCC internal prototype to avoid an error.
30883 Use char because int might match the return type of a GCC
30884 builtin and then its argument prototype would still apply. */
30897 rm -f conftest.
$ac_objext conftest
$ac_exeext
30898 if { (ac_try
="$ac_link"
30899 case "(($ac_try" in
30900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30901 *) ac_try_echo=$ac_try;;
30903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 (eval "$ac_link") 2>conftest.er1
30906 grep -v '^ *+' conftest.er1 >conftest.err
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } && {
30911 test -z "$ac_c_werror_flag" ||
30912 test ! -s conftest.err
30913 } && test -s conftest$ac_exeext &&
30914 $as_test_x conftest$ac_exeext; then
30915 ac_cv_lib_socket_connect=yes
30917 echo "$as_me: failed program was:" >&5
30918 sed 's/^/| /' conftest.$ac_ext >&5
30920 ac_cv_lib_socket_connect=no
30923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30924 conftest$ac_exeext conftest.$ac_ext
30925 LIBS=$ac_check_lib_save_LIBS
30927 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30928 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30929 if test $ac_cv_lib_socket_connect = yes; then
30930 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30935 # Guillermo Gomez says -lposix is necessary on A/UX.
30936 { echo "$as_me:$LINENO: checking for remove" >&5
30937 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30938 if test "${ac_cv_func_remove+set}" = set; then
30939 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 cat >conftest.$ac_ext <<_ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30947 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30949 #define remove innocuous_remove
30951 /* System header to define __stub macros and hopefully few prototypes,
30952 which can conflict with char remove (); below.
30953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30954 <limits.h> exists even on freestanding compilers. */
30957 # include <limits.h>
30959 # include <assert.h>
30964 /* Override any GCC internal prototype to avoid an error.
30965 Use char because int might match the return type of a GCC
30966 builtin and then its argument prototype would still apply. */
30971 /* The GNU C library defines this for functions which it implements
30972 to always fail with ENOSYS. Some functions are actually named
30973 something starting with __ and the normal name is an alias. */
30974 #if defined __stub_remove || defined __stub___remove
30986 rm -f conftest.$ac_objext conftest$ac_exeext
30987 if { (ac_try="$ac_link"
30988 case "(($ac_try" in
30989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30990 *) ac_try_echo
=$ac_try;;
30992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30993 (eval "$ac_link") 2>conftest.er1
30995 grep -v '^ *+' conftest.er1
>conftest.err
30997 cat conftest.err
>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); } && {
31000 test -z "$ac_c_werror_flag" ||
31001 test ! -s conftest.err
31002 } && test -s conftest
$ac_exeext &&
31003 $as_test_x conftest
$ac_exeext; then
31004 ac_cv_func_remove
=yes
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.
$ac_ext >&5
31009 ac_cv_func_remove
=no
31012 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31013 conftest
$ac_exeext conftest.
$ac_ext
31015 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31016 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31018 if test $ac_cv_func_remove = no
; then
31019 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31020 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31021 if test "${ac_cv_lib_posix_remove+set}" = set; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31024 ac_check_lib_save_LIBS
=$LIBS
31025 LIBS
="-lposix $LIBS"
31026 cat >conftest.
$ac_ext <<_ACEOF
31029 cat confdefs.h
>>conftest.
$ac_ext
31030 cat >>conftest.
$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31033 /* Override any GCC internal prototype to avoid an error.
31034 Use char because int might match the return type of a GCC
31035 builtin and then its argument prototype would still apply. */
31048 rm -f conftest.
$ac_objext conftest
$ac_exeext
31049 if { (ac_try
="$ac_link"
31050 case "(($ac_try" in
31051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31052 *) ac_try_echo=$ac_try;;
31054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31055 (eval "$ac_link") 2>conftest.er1
31057 grep -v '^ *+' conftest.er1 >conftest.err
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } && {
31062 test -z "$ac_c_werror_flag" ||
31063 test ! -s conftest.err
31064 } && test -s conftest$ac_exeext &&
31065 $as_test_x conftest$ac_exeext; then
31066 ac_cv_lib_posix_remove=yes
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31071 ac_cv_lib_posix_remove=no
31074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31075 conftest$ac_exeext conftest.$ac_ext
31076 LIBS=$ac_check_lib_save_LIBS
31078 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31079 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31080 if test $ac_cv_lib_posix_remove = yes; then
31081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31086 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31087 { echo "$as_me:$LINENO: checking for shmat" >&5
31088 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31089 if test "${ac_cv_func_shmat+set}" = set; then
31090 echo $ECHO_N "(cached) $ECHO_C" >&6
31092 cat >conftest.$ac_ext <<_ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31098 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31100 #define shmat innocuous_shmat
31102 /* System header to define __stub macros and hopefully few prototypes,
31103 which can conflict with char shmat (); below.
31104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31105 <limits.h> exists even on freestanding compilers. */
31108 # include <limits.h>
31110 # include <assert.h>
31115 /* Override any GCC internal prototype to avoid an error.
31116 Use char because int might match the return type of a GCC
31117 builtin and then its argument prototype would still apply. */
31122 /* The GNU C library defines this for functions which it implements
31123 to always fail with ENOSYS. Some functions are actually named
31124 something starting with __ and the normal name is an alias. */
31125 #if defined __stub_shmat || defined __stub___shmat
31137 rm -f conftest.$ac_objext conftest$ac_exeext
31138 if { (ac_try="$ac_link"
31139 case "(($ac_try" in
31140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31141 *) ac_try_echo
=$ac_try;;
31143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31144 (eval "$ac_link") 2>conftest.er1
31146 grep -v '^ *+' conftest.er1
>conftest.err
31148 cat conftest.err
>&5
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); } && {
31151 test -z "$ac_c_werror_flag" ||
31152 test ! -s conftest.err
31153 } && test -s conftest
$ac_exeext &&
31154 $as_test_x conftest
$ac_exeext; then
31155 ac_cv_func_shmat
=yes
31157 echo "$as_me: failed program was:" >&5
31158 sed 's/^/| /' conftest.
$ac_ext >&5
31160 ac_cv_func_shmat
=no
31163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31164 conftest
$ac_exeext conftest.
$ac_ext
31166 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31167 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31169 if test $ac_cv_func_shmat = no
; then
31170 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31171 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31172 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 ac_check_lib_save_LIBS
=$LIBS
31177 cat >conftest.
$ac_ext <<_ACEOF
31180 cat confdefs.h
>>conftest.
$ac_ext
31181 cat >>conftest.
$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31184 /* Override any GCC internal prototype to avoid an error.
31185 Use char because int might match the return type of a GCC
31186 builtin and then its argument prototype would still apply. */
31199 rm -f conftest.
$ac_objext conftest
$ac_exeext
31200 if { (ac_try
="$ac_link"
31201 case "(($ac_try" in
31202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31203 *) ac_try_echo=$ac_try;;
31205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31206 (eval "$ac_link") 2>conftest.er1
31208 grep -v '^ *+' conftest.er1 >conftest.err
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } && {
31213 test -z "$ac_c_werror_flag" ||
31214 test ! -s conftest.err
31215 } && test -s conftest$ac_exeext &&
31216 $as_test_x conftest$ac_exeext; then
31217 ac_cv_lib_ipc_shmat=yes
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.$ac_ext >&5
31222 ac_cv_lib_ipc_shmat=no
31225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31226 conftest$ac_exeext conftest.$ac_ext
31227 LIBS=$ac_check_lib_save_LIBS
31229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31230 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31231 if test $ac_cv_lib_ipc_shmat = yes; then
31232 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31238 # Check for libraries that X11R6 Xt/Xaw programs need.
31239 ac_save_LDFLAGS=$LDFLAGS
31240 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31241 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31242 # check for ICE first), but we must link in the order -lSM -lICE or
31243 # we get undefined symbols. So assume we have SM if we have ICE.
31244 # These have to be linked with before -lX11, unlike the other
31245 # libraries we check for below, so use a different variable.
31246 # John Interrante, Karl Berry
31247 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31248 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31249 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 ac_check_lib_save_LIBS=$LIBS
31253 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31254 cat >conftest.$ac_ext <<_ACEOF
31257 cat confdefs.h >>conftest.$ac_ext
31258 cat >>conftest.$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31261 /* Override any GCC internal prototype to avoid an error.
31262 Use char because int might match the return type of a GCC
31263 builtin and then its argument prototype would still apply. */
31267 char IceConnectionNumber ();
31271 return IceConnectionNumber ();
31276 rm -f conftest.$ac_objext conftest$ac_exeext
31277 if { (ac_try="$ac_link"
31278 case "(($ac_try" in
31279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31280 *) ac_try_echo
=$ac_try;;
31282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31283 (eval "$ac_link") 2>conftest.er1
31285 grep -v '^ *+' conftest.er1
>conftest.err
31287 cat conftest.err
>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } && {
31290 test -z "$ac_c_werror_flag" ||
31291 test ! -s conftest.err
31292 } && test -s conftest
$ac_exeext &&
31293 $as_test_x conftest
$ac_exeext; then
31294 ac_cv_lib_ICE_IceConnectionNumber
=yes
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.
$ac_ext >&5
31299 ac_cv_lib_ICE_IceConnectionNumber
=no
31302 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31303 conftest
$ac_exeext conftest.
$ac_ext
31304 LIBS
=$ac_check_lib_save_LIBS
31306 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31307 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31308 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31309 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31312 LDFLAGS
=$ac_save_LDFLAGS
31317 if test "$no_x" = "yes"; then
31318 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31319 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31320 { (exit 1); exit 1; }; }
31323 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31324 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31325 AFMINSTALL
=afminstall
31326 COMPILED_X_PROGRAM
=0
31330 if test "$wxUSE_X11" = 1; then
31331 if test "$wxUSE_NANOX" = "yes"; then
31332 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31333 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31334 if test "x$MICROWIN" = x
; then
31335 { echo "$as_me:$LINENO: result: not found" >&5
31336 echo "${ECHO_T}not found" >&6; }
31337 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31338 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31339 { (exit 1); exit 1; }; }
31341 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31342 echo "${ECHO_T}$MICROWIN" >&6; }
31343 cat >>confdefs.h
<<\_ACEOF
31344 #define wxUSE_NANOX 1
31350 if test "$wxUSE_UNICODE" = "yes"; then
31353 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31354 if test -n "$ac_tool_prefix"; then
31355 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31356 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31359 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31360 echo $ECHO_N "(cached) $ECHO_C" >&6
31362 case $PKG_CONFIG in
31364 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31368 for as_dir
in $PATH
31371 test -z "$as_dir" && as_dir
=.
31372 for ac_exec_ext
in '' $ac_executable_extensions; do
31373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31374 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31385 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31386 if test -n "$PKG_CONFIG"; then
31387 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31388 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31390 { echo "$as_me:$LINENO: result: no" >&5
31391 echo "${ECHO_T}no" >&6; }
31396 if test -z "$ac_cv_path_PKG_CONFIG"; then
31397 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31398 # Extract the first word of "pkg-config", so it can be a program name with args.
31399 set dummy pkg
-config; ac_word
=$2
31400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31402 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 case $ac_pt_PKG_CONFIG in
31407 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31411 for as_dir
in $PATH
31414 test -z "$as_dir" && as_dir
=.
31415 for ac_exec_ext
in '' $ac_executable_extensions; do
31416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31417 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31428 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31429 if test -n "$ac_pt_PKG_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31431 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31437 if test "x$ac_pt_PKG_CONFIG" = x
; then
31440 case $cross_compiling:$ac_tool_warned in
31442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31443 whose name does not start with the host triplet. If you think this
31444 configuration is useful to you, please write to autoconf@gnu.org." >&5
31445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31446 whose name does not start with the host triplet. If you think this
31447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31448 ac_tool_warned
=yes ;;
31450 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31453 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31457 if test -n "$PKG_CONFIG"; then
31458 _pkg_min_version
=0.9.0
31459 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31460 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31461 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31462 { echo "$as_me:$LINENO: result: yes" >&5
31463 echo "${ECHO_T}yes" >&6; }
31465 { echo "$as_me:$LINENO: result: no" >&5
31466 echo "${ECHO_T}no" >&6; }
31474 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31475 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31477 if test -n "$PKG_CONFIG"; then
31478 if test -n "$PANGOX_CFLAGS"; then
31479 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31481 if test -n "$PKG_CONFIG" && \
31482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31483 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; then
31487 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31495 if test -n "$PKG_CONFIG"; then
31496 if test -n "$PANGOX_LIBS"; then
31497 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31499 if test -n "$PKG_CONFIG" && \
31500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31501 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; then
31505 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31516 if test $pkg_failed = yes; then
31518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31519 _pkg_short_errors_supported
=yes
31521 _pkg_short_errors_supported
=no
31523 if test $_pkg_short_errors_supported = yes; then
31524 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31526 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31528 # Put the nasty error message in config.log where it belongs
31529 echo "$PANGOX_PKG_ERRORS" >&5
31532 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31533 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31534 { (exit 1); exit 1; }; }
31537 elif test $pkg_failed = untried
; then
31539 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31540 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31541 { (exit 1); exit 1; }; }
31545 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31546 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31547 { echo "$as_me:$LINENO: result: yes" >&5
31548 echo "${ECHO_T}yes" >&6; }
31550 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31551 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31552 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31557 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31558 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31560 if test -n "$PKG_CONFIG"; then
31561 if test -n "$PANGOFT2_CFLAGS"; then
31562 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31564 if test -n "$PKG_CONFIG" && \
31565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31566 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; then
31570 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31578 if test -n "$PKG_CONFIG"; then
31579 if test -n "$PANGOFT2_LIBS"; then
31580 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31582 if test -n "$PKG_CONFIG" && \
31583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31584 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; then
31588 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31599 if test $pkg_failed = yes; then
31601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31602 _pkg_short_errors_supported
=yes
31604 _pkg_short_errors_supported
=no
31606 if test $_pkg_short_errors_supported = yes; then
31607 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31609 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31611 # Put the nasty error message in config.log where it belongs
31612 echo "$PANGOFT2_PKG_ERRORS" >&5
31615 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31616 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31617 wxUSE_PRINTING_ARCHITECTURE
="no"
31620 elif test $pkg_failed = untried
; then
31622 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31623 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31624 wxUSE_PRINTING_ARCHITECTURE
="no"
31628 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31629 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31630 { echo "$as_me:$LINENO: result: yes" >&5
31631 echo "${ECHO_T}yes" >&6; }
31633 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31634 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31635 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31640 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31641 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31643 if test -n "$PKG_CONFIG"; then
31644 if test -n "$PANGOXFT_CFLAGS"; then
31645 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31647 if test -n "$PKG_CONFIG" && \
31648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31649 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; then
31653 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31661 if test -n "$PKG_CONFIG"; then
31662 if test -n "$PANGOXFT_LIBS"; then
31663 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31665 if test -n "$PKG_CONFIG" && \
31666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31667 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; then
31671 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31682 if test $pkg_failed = yes; then
31684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31685 _pkg_short_errors_supported
=yes
31687 _pkg_short_errors_supported
=no
31689 if test $_pkg_short_errors_supported = yes; then
31690 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31692 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31694 # Put the nasty error message in config.log where it belongs
31695 echo "$PANGOXFT_PKG_ERRORS" >&5
31698 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31699 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31702 elif test $pkg_failed = untried
; then
31704 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31705 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31709 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31710 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31711 { echo "$as_me:$LINENO: result: yes" >&5
31712 echo "${ECHO_T}yes" >&6; }
31714 cat >>confdefs.h
<<\_ACEOF
31715 #define HAVE_PANGO_XFT 1
31718 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31719 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31720 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31724 LIBS
="$LIBS $PANGOX_LIBS"
31726 for ac_func
in pango_font_family_is_monospace
31728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31731 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 cat >conftest.
$ac_ext <<_ACEOF
31737 cat confdefs.h
>>conftest.
$ac_ext
31738 cat >>conftest.
$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31742 #define $ac_func innocuous_$ac_func
31744 /* System header to define __stub macros and hopefully few prototypes,
31745 which can conflict with char $ac_func (); below.
31746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31747 <limits.h> exists even on freestanding compilers. */
31750 # include <limits.h>
31752 # include <assert.h>
31757 /* Override any GCC internal prototype to avoid an error.
31758 Use char because int might match the return type of a GCC
31759 builtin and then its argument prototype would still apply. */
31764 /* The GNU C library defines this for functions which it implements
31765 to always fail with ENOSYS. Some functions are actually named
31766 something starting with __ and the normal name is an alias. */
31767 #if defined __stub_$ac_func || defined __stub___$ac_func
31774 return $ac_func ();
31779 rm -f conftest.
$ac_objext conftest
$ac_exeext
31780 if { (ac_try
="$ac_link"
31781 case "(($ac_try" in
31782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31783 *) ac_try_echo=$ac_try;;
31785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31786 (eval "$ac_link") 2>conftest.er1
31788 grep -v '^ *+' conftest.er1 >conftest.err
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } && {
31793 test -z "$ac_c_werror_flag" ||
31794 test ! -s conftest.err
31795 } && test -s conftest$ac_exeext &&
31796 $as_test_x conftest$ac_exeext; then
31797 eval "$as_ac_var=yes"
31799 echo "$as_me: failed program was:" >&5
31800 sed 's/^/| /' conftest.$ac_ext >&5
31802 eval "$as_ac_var=no"
31805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31806 conftest$ac_exeext conftest.$ac_ext
31808 ac_res=`eval echo '${'$as_ac_var'}'`
31809 { echo "$as_me:$LINENO: result: $ac_res" >&5
31810 echo "${ECHO_T}$ac_res" >&6; }
31811 if test `eval echo '${'$as_ac_var'}'` = yes; then
31812 cat >>confdefs.h <<_ACEOF
31813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31822 wxUSE_UNIVERSAL="yes"
31824 if test "$wxUSE_NANOX" = "yes"; then
31825 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31826 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"
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31836 if test "$wxUSE_MOTIF" = 1; then
31837 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31838 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31841 for ac_dir in $SEARCH_INCLUDE /usr/include;
31843 if test -f "$ac_dir/Xm/Xm.h"; then
31844 ac_find_includes=$ac_dir
31849 if test "$ac_find_includes" != "" ; then
31850 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31851 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31853 if test "x$ac_find_includes" = "x/usr/include"; then
31854 ac_path_to_include=""
31856 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31858 if test $result = 0; then
31859 ac_path_to_include=""
31861 ac_path_to_include=" -I$ac_find_includes"
31865 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31867 save_CFLAGS=$CFLAGS
31868 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31870 cat >conftest.$ac_ext <<_ACEOF
31873 cat confdefs.h >>conftest.$ac_ext
31874 cat >>conftest.$ac_ext <<_ACEOF
31875 /* end confdefs.h. */
31884 version = xmUseVersion;
31890 rm -f conftest.$ac_objext
31891 if { (ac_try="$ac_compile"
31892 case "(($ac_try" in
31893 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31894 *) ac_try_echo
=$ac_try;;
31896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31897 (eval "$ac_compile") 2>conftest.er1
31899 grep -v '^ *+' conftest.er1
>conftest.err
31901 cat conftest.err
>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } && {
31904 test -z "$ac_c_werror_flag" ||
31905 test ! -s conftest.err
31906 } && test -s conftest.
$ac_objext; then
31908 { echo "$as_me:$LINENO: result: found in default search path" >&5
31909 echo "${ECHO_T}found in default search path" >&6; }
31910 COMPILED_X_PROGRAM
=1
31913 echo "$as_me: failed program was:" >&5
31914 sed 's/^/| /' conftest.
$ac_ext >&5
31917 { echo "$as_me:$LINENO: result: no" >&5
31918 echo "${ECHO_T}no" >&6; }
31919 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31920 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31921 { (exit 1); exit 1; }; }
31926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31928 CFLAGS
=$save_CFLAGS
31932 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31933 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31936 for ac_dir
in $SEARCH_LIB;
31938 for ac_extension
in a so sl dylib dll.a
; do
31939 if test -f "$ac_dir/libXm.$ac_extension"; then
31940 ac_find_libraries
=$ac_dir
31947 if test "x$ac_find_libraries" != "x" ; then
31948 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31949 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31952 if test "$ac_find_libraries" = "default location"; then
31955 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31957 if test $result = 0; then
31960 ac_path_to_link
=" -L$ac_find_libraries"
31964 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31966 save_CFLAGS
=$CFLAGS
31967 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31969 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31971 cat >conftest.
$ac_ext <<_ACEOF
31974 cat confdefs.h
>>conftest.
$ac_ext
31975 cat >>conftest.
$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31985 version = xmUseVersion;
31991 rm -f conftest.
$ac_objext conftest
$ac_exeext
31992 if { (ac_try
="$ac_link"
31993 case "(($ac_try" in
31994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31995 *) ac_try_echo=$ac_try;;
31997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31998 (eval "$ac_link") 2>conftest.er1
32000 grep -v '^ *+' conftest.er1 >conftest.err
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } && {
32005 test -z "$ac_c_werror_flag" ||
32006 test ! -s conftest.err
32007 } && test -s conftest$ac_exeext &&
32008 $as_test_x conftest$ac_exeext; then
32010 { echo "$as_me:$LINENO: result: found in default search path" >&5
32011 echo "${ECHO_T}found in default search path" >&6; }
32012 COMPILED_X_PROGRAM=1
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32019 { echo "$as_me:$LINENO: result: no" >&5
32020 echo "${ECHO_T}no" >&6; }
32021 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32022 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32023 { (exit 1); exit 1; }; }
32028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32029 conftest$ac_exeext conftest.$ac_ext
32031 CFLAGS=$save_CFLAGS
32035 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32036 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32040 for libp in "" " -lXp"; do
32041 if test "$libs_found" = 0; then
32042 for libsm_ice in "" " -lSM -lICE"; do
32043 if test "$libs_found" = 0; then
32045 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32046 save_CFLAGS=$CFLAGS
32047 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32049 cat >conftest.$ac_ext <<_ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32057 #include <Xm/List.h>
32063 XmString string = NULL;
32066 XmListAddItem(w, string, position);
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (ac_try="$ac_link"
32074 case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32076 *) ac_try_echo
=$ac_try;;
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_link") 2>conftest.er1
32081 grep -v '^ *+' conftest.er1
>conftest.err
32083 cat conftest.err
>&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest
$ac_exeext &&
32089 $as_test_x conftest
$ac_exeext; then
32092 libsm_ice_link
="$libsm_ice"
32093 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32094 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32098 echo "$as_me: failed program was:" >&5
32099 sed 's/^/| /' conftest.
$ac_ext >&5
32105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32106 conftest
$ac_exeext conftest.
$ac_ext
32109 CFLAGS
=$save_CFLAGS
32115 if test "$libs_found" = 0; then
32116 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32117 echo "${ECHO_T}can't find the right libraries" >&6; }
32118 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32119 echo "$as_me: error: can't link a simple motif program" >&2;}
32120 { (exit 1); exit 1; }; }
32123 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32124 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32125 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32126 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 ac_check_lib_save_LIBS
=$LIBS
32130 cat >conftest.
$ac_ext <<_ACEOF
32133 cat confdefs.h
>>conftest.
$ac_ext
32134 cat >>conftest.
$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32137 /* Override any GCC internal prototype to avoid an error.
32138 Use char because int might match the return type of a GCC
32139 builtin and then its argument prototype would still apply. */
32143 char SgCreateList ();
32147 return SgCreateList ();
32152 rm -f conftest.
$ac_objext conftest
$ac_exeext
32153 if { (ac_try
="$ac_link"
32154 case "(($ac_try" in
32155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32156 *) ac_try_echo=$ac_try;;
32158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32159 (eval "$ac_link") 2>conftest.er1
32161 grep -v '^ *+' conftest.er1 >conftest.err
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } && {
32166 test -z "$ac_c_werror_flag" ||
32167 test ! -s conftest.err
32168 } && test -s conftest$ac_exeext &&
32169 $as_test_x conftest$ac_exeext; then
32170 ac_cv_lib_Sgm_SgCreateList=yes
32172 echo "$as_me: failed program was:" >&5
32173 sed 's/^/| /' conftest.$ac_ext >&5
32175 ac_cv_lib_Sgm_SgCreateList=no
32178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32179 conftest$ac_exeext conftest.$ac_ext
32180 LIBS=$ac_check_lib_save_LIBS
32182 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32183 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32184 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32185 libsgm_link=" -lSgm"
32189 save_CFLAGS=$CFLAGS
32190 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32192 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32193 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32194 if test "${wx_cv_lib_motif2+set}" = set; then
32195 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 cat >conftest.$ac_ext <<_ACEOF
32200 cat confdefs.h >>conftest.$ac_ext
32201 cat >>conftest.$ac_ext <<_ACEOF
32202 /* end confdefs.h. */
32210 #if XmVersion < 2000
32218 rm -f conftest.$ac_objext
32219 if { (ac_try="$ac_compile"
32220 case "(($ac_try" in
32221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32222 *) ac_try_echo
=$ac_try;;
32224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32225 (eval "$ac_compile") 2>conftest.er1
32227 grep -v '^ *+' conftest.er1
>conftest.err
32229 cat conftest.err
>&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); } && {
32232 test -z "$ac_c_werror_flag" ||
32233 test ! -s conftest.err
32234 } && test -s conftest.
$ac_objext; then
32235 wx_cv_lib_motif2
="yes"
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.
$ac_ext >&5
32240 wx_cv_lib_motif2
="no"
32243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32245 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32246 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32247 if test "$wx_cv_lib_motif2" = "yes"; then
32248 cat >>confdefs.h
<<\_ACEOF
32249 #define __WXMOTIF20__ 1
32253 cat >>confdefs.h
<<\_ACEOF
32254 #define __WXMOTIF20__ 0
32259 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32260 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32261 if test "${wx_cv_lib_lesstif+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 cat >conftest.
$ac_ext <<_ACEOF
32267 cat confdefs.h
>>conftest.
$ac_ext
32268 cat >>conftest.
$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32277 #if !defined(LesstifVersion) || LesstifVersion <= 0
32285 rm -f conftest.
$ac_objext
32286 if { (ac_try
="$ac_compile"
32287 case "(($ac_try" in
32288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32289 *) ac_try_echo=$ac_try;;
32291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32292 (eval "$ac_compile") 2>conftest.er1
32294 grep -v '^ *+' conftest.er1 >conftest.err
32296 cat conftest.err >&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } && {
32299 test -z "$ac_c_werror_flag" ||
32300 test ! -s conftest.err
32301 } && test -s conftest.$ac_objext; then
32302 wx_cv_lib_lesstif="yes"
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.$ac_ext >&5
32307 wx_cv_lib_lesstif="no"
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32313 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32314 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32315 if test "$wx_cv_lib_lesstif" = "yes"; then
32316 cat >>confdefs.h <<\_ACEOF
32317 #define __WXLESSTIF__ 1
32321 cat >>confdefs.h <<\_ACEOF
32322 #define __WXLESSTIF__ 0
32327 CFLAGS=$save_CFLAGS
32329 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32334 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32335 if test "$wxUSE_LIBXPM" = "sys"; then
32336 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32337 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32340 for ac_dir in $SEARCH_LIB;
32342 for ac_extension in a so sl dylib dll.a; do
32343 if test -f "$ac_dir/libXpm.$ac_extension"; then
32344 ac_find_libraries=$ac_dir
32350 if test "$ac_find_libraries" != "" ; then
32352 if test "$ac_find_libraries" = "default location"; then
32355 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32357 if test $result = 0; then
32360 ac_path_to_link=" -L$ac_find_libraries"
32364 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32365 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32366 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32368 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32369 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32370 if test "${wx_cv_x11_xpm_h+set}" = set; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 save_CFLAGS=$CFLAGS
32375 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32377 cat >conftest.$ac_ext <<_ACEOF
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32384 #include <X11/xpm.h>
32391 version = XpmLibraryVersion();
32397 rm -f conftest.$ac_objext
32398 if { (ac_try="$ac_compile"
32399 case "(($ac_try" in
32400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32401 *) ac_try_echo
=$ac_try;;
32403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_compile") 2>conftest.er1
32406 grep -v '^ *+' conftest.er1
>conftest.err
32408 cat conftest.err
>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } && {
32411 test -z "$ac_c_werror_flag" ||
32412 test ! -s conftest.err
32413 } && test -s conftest.
$ac_objext; then
32414 wx_cv_x11_xpm_h
=yes
32416 echo "$as_me: failed program was:" >&5
32417 sed 's/^/| /' conftest.
$ac_ext >&5
32423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32425 CFLAGS
=$save_CFLAGS
32429 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32430 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32432 if test $wx_cv_x11_xpm_h = "yes"; then
32433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32434 cat >>confdefs.h
<<\_ACEOF
32435 #define wxHAVE_LIB_XPM 1
32439 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32440 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32446 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32447 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32448 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32449 echo $ECHO_N "(cached) $ECHO_C" >&6
32451 ac_check_lib_save_LIBS
=$LIBS
32452 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32453 cat >conftest.
$ac_ext <<_ACEOF
32456 cat confdefs.h
>>conftest.
$ac_ext
32457 cat >>conftest.
$ac_ext <<_ACEOF
32458 /* end confdefs.h. */
32460 /* Override any GCC internal prototype to avoid an error.
32461 Use char because int might match the return type of a GCC
32462 builtin and then its argument prototype would still apply. */
32466 char XShapeQueryExtension ();
32470 return XShapeQueryExtension ();
32475 rm -f conftest.
$ac_objext conftest
$ac_exeext
32476 if { (ac_try
="$ac_link"
32477 case "(($ac_try" in
32478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32479 *) ac_try_echo=$ac_try;;
32481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32482 (eval "$ac_link") 2>conftest.er1
32484 grep -v '^ *+' conftest.er1 >conftest.err
32486 cat conftest.err >&5
32487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32488 (exit $ac_status); } && {
32489 test -z "$ac_c_werror_flag" ||
32490 test ! -s conftest.err
32491 } && test -s conftest$ac_exeext &&
32492 $as_test_x conftest$ac_exeext; then
32493 ac_cv_lib_Xext_XShapeQueryExtension=yes
32495 echo "$as_me: failed program was:" >&5
32496 sed 's/^/| /' conftest.$ac_ext >&5
32498 ac_cv_lib_Xext_XShapeQueryExtension=no
32501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32502 conftest$ac_exeext conftest.$ac_ext
32503 LIBS=$ac_check_lib_save_LIBS
32505 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32506 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32507 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32515 if test "$wxHAVE_XEXT_LIB" = 1; then
32516 save_CFLAGS="$CFLAGS"
32517 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32519 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32520 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32521 cat >conftest.$ac_ext <<_ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32528 #include <X11/Xlib.h>
32529 #include <X11/extensions/shape.h>
32535 int dummy1, dummy2;
32536 XShapeQueryExtension((Display*)NULL,
32537 (int*)NULL, (int*)NULL);
32543 rm -f conftest.$ac_objext
32544 if { (ac_try="$ac_compile"
32545 case "(($ac_try" in
32546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32547 *) ac_try_echo
=$ac_try;;
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_compile") 2>conftest.er1
32552 grep -v '^ *+' conftest.er1
>conftest.err
32554 cat conftest.err
>&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest.
$ac_objext; then
32561 cat >>confdefs.h
<<\_ACEOF
32562 #define HAVE_XSHAPE 1
32565 { echo "$as_me:$LINENO: result: found" >&5
32566 echo "${ECHO_T}found" >&6; }
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.
$ac_ext >&5
32573 { echo "$as_me:$LINENO: result: not found" >&5
32574 echo "${ECHO_T}not found" >&6; }
32578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32579 CFLAGS
="$save_CFLAGS"
32584 if test "$wxUSE_OSX_CARBON" = 1; then
32585 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32586 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32587 if test "$GCC" = yes; then
32588 { echo "$as_me:$LINENO: result: gcc" >&5
32589 echo "${ECHO_T}gcc" >&6; }
32590 CPPFLAGS_PASCAL
="-fpascal-strings"
32591 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32592 { echo "$as_me:$LINENO: result: xlc" >&5
32593 echo "${ECHO_T}xlc" >&6; }
32594 CPPFLAGS_PASCAL
="-qmacpstr"
32596 { echo "$as_me:$LINENO: result: none" >&5
32597 echo "${ECHO_T}none" >&6; }
32600 if test "x$wxUSE_UNIX" = "xyes"; then
32601 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32603 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32607 GUIDIST
=OSX_CARBON_DIST
32608 WXBASEPORT
="_carbon"
32611 if test "$wxUSE_OSX_COCOA" = 1; then
32613 GUIDIST
=OSX_COCOA_DIST
32616 if test "$wxUSE_COCOA" = 1; then
32621 if test "$wxUSE_PM" = 1; then
32624 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32625 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32626 if test "${wx_cv_spbcdata+set}" = set; then
32627 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 cat >conftest.
$ac_ext <<_ACEOF
32633 cat confdefs.h
>>conftest.
$ac_ext
32634 cat >>conftest.
$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32650 rm -f conftest.
$ac_objext
32651 if { (ac_try
="$ac_compile"
32652 case "(($ac_try" in
32653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32654 *) ac_try_echo=$ac_try;;
32656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32657 (eval "$ac_compile") 2>conftest.er1
32659 grep -v '^ *+' conftest.er1 >conftest.err
32661 cat conftest.err >&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); } && {
32664 test -z "$ac_c_werror_flag" ||
32665 test ! -s conftest.err
32666 } && test -s conftest.$ac_objext; then
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32681 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32683 if test $wx_cv_spbcdata = "yes"; then
32684 cat >>confdefs.h <<\_ACEOF
32685 #define HAVE_SPBCDATA 1
32691 if test "$TOOLKIT" = "PM" ; then
32694 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32697 if test "$wxUSE_UNIVERSAL" = "yes"; then
32698 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32702 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32703 DISTDIR="wx\$(TOOLKIT)"
32709 if test "$USE_WIN32" = 1 ; then
32713 GUIDIST="BASE_DIST"
32719 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32720 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32721 wxUSE_UNICODE_UTF8=yes
32722 elif test "$USE_OS2" = 1 ; then
32723 wxUSE_UNICODE_UTF8=yes
32725 wxUSE_UNICODE_UTF8=no
32730 if test "$wxUSE_GUI" = "yes"; then
32731 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32733 for ac_header in X11/Xlib.h
32735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32739 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 cat >conftest.$ac_ext <<_ACEOF
32744 cat confdefs.h >>conftest.$ac_ext
32745 cat >>conftest.$ac_ext <<_ACEOF
32746 /* end confdefs.h. */
32749 #include <$ac_header>
32751 rm -f conftest.$ac_objext
32752 if { (ac_try="$ac_compile"
32753 case "(($ac_try" in
32754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32755 *) ac_try_echo
=$ac_try;;
32757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32758 (eval "$ac_compile") 2>conftest.er1
32760 grep -v '^ *+' conftest.er1
>conftest.err
32762 cat conftest.err
>&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } && {
32765 test -z "$ac_c_werror_flag" ||
32766 test ! -s conftest.err
32767 } && test -s conftest.
$ac_objext; then
32768 eval "$as_ac_Header=yes"
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.
$ac_ext >&5
32773 eval "$as_ac_Header=no"
32776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32778 ac_res
=`eval echo '${'$as_ac_Header'}'`
32779 { echo "$as_me:$LINENO: result: $ac_res" >&5
32780 echo "${ECHO_T}$ac_res" >&6; }
32781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32782 cat >>confdefs.h
<<_ACEOF
32783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32791 for ac_header
in X
11/XKBlib.h
32793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32796 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32797 echo $ECHO_N "(cached) $ECHO_C" >&6
32799 cat >conftest.
$ac_ext <<_ACEOF
32802 cat confdefs.h
>>conftest.
$ac_ext
32803 cat >>conftest.
$ac_ext <<_ACEOF
32804 /* end confdefs.h. */
32806 #if HAVE_X11_XLIB_H
32807 #include <X11/Xlib.h>
32811 #include <$ac_header>
32813 rm -f conftest.
$ac_objext
32814 if { (ac_try
="$ac_compile"
32815 case "(($ac_try" in
32816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32817 *) ac_try_echo=$ac_try;;
32819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32820 (eval "$ac_compile") 2>conftest.er1
32822 grep -v '^ *+' conftest.er1 >conftest.err
32824 cat conftest.err >&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } && {
32827 test -z "$ac_c_werror_flag" ||
32828 test ! -s conftest.err
32829 } && test -s conftest.$ac_objext; then
32830 eval "$as_ac_Header=yes"
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.$ac_ext >&5
32835 eval "$as_ac_Header=no"
32838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32840 ac_res=`eval echo '${'$as_ac_Header'}'`
32841 { echo "$as_me:$LINENO: result: $ac_res" >&5
32842 echo "${ECHO_T}$ac_res" >&6; }
32843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32844 cat >>confdefs.h <<_ACEOF
32845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32857 if test "$wxUSE_DISPLAY" = "yes"; then
32858 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32859 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32860 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32863 for ac_dir in $SEARCH_LIB;
32865 for ac_extension in a so sl dylib dll.a; do
32866 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32867 ac_find_libraries=$ac_dir
32873 if test "$ac_find_libraries" != "" ; then
32875 if test "$ac_find_libraries" = "default location"; then
32878 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32880 if test $result = 0; then
32883 ac_path_to_link=" -L$ac_find_libraries"
32887 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32888 LDFLAGS="$LDFLAGS $ac_path_to_link"
32890 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32891 { echo "$as_me:$LINENO: result: yes" >&5
32892 echo "${ECHO_T}yes" >&6; }
32894 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32895 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32898 for ac_dir in $SEARCH_LIB;
32900 for ac_extension in a so sl dylib dll.a; do
32901 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32902 ac_find_libraries=$ac_dir
32908 if test "$ac_find_libraries" != "" ; then
32909 { echo "$as_me:$LINENO: result: yes" >&5
32910 echo "${ECHO_T}yes" >&6; }
32912 for ac_header in X11/extensions/xf86vmode.h
32914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32918 echo $ECHO_N "(cached) $ECHO_C" >&6
32920 cat >conftest.$ac_ext <<_ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32927 #if HAVE_X11_XLIB_H
32928 #include <X11/Xlib.h>
32932 #include <$ac_header>
32934 rm -f conftest.$ac_objext
32935 if { (ac_try="$ac_compile"
32936 case "(($ac_try" in
32937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32938 *) ac_try_echo
=$ac_try;;
32940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32941 (eval "$ac_compile") 2>conftest.er1
32943 grep -v '^ *+' conftest.er1
>conftest.err
32945 cat conftest.err
>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } && {
32948 test -z "$ac_c_werror_flag" ||
32949 test ! -s conftest.err
32950 } && test -s conftest.
$ac_objext; then
32951 eval "$as_ac_Header=yes"
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.
$ac_ext >&5
32956 eval "$as_ac_Header=no"
32959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32961 ac_res
=`eval echo '${'$as_ac_Header'}'`
32962 { echo "$as_me:$LINENO: result: $ac_res" >&5
32963 echo "${ECHO_T}$ac_res" >&6; }
32964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32965 cat >>confdefs.h
<<_ACEOF
32966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32969 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32981 { echo "$as_me:$LINENO: result: no" >&5
32982 echo "${ECHO_T}no" >&6; }
32983 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32984 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32987 elif test "$wxUSE_MSW" = 1; then
32988 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32989 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32990 if test "${ac_cv_header_ddraw_h+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 cat >conftest.
$ac_ext <<_ACEOF
32996 cat confdefs.h
>>conftest.
$ac_ext
32997 cat >>conftest.
$ac_ext <<_ACEOF
32998 /* end confdefs.h. */
32999 #include <windows.h>
33003 rm -f conftest.
$ac_objext
33004 if { (ac_try
="$ac_compile"
33005 case "(($ac_try" in
33006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33007 *) ac_try_echo=$ac_try;;
33009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33010 (eval "$ac_compile") 2>conftest.er1
33012 grep -v '^ *+' conftest.er1 >conftest.err
33014 cat conftest.err >&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); } && {
33017 test -z "$ac_c_werror_flag" ||
33018 test ! -s conftest.err
33019 } && test -s conftest.$ac_objext; then
33020 ac_cv_header_ddraw_h=yes
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33025 ac_cv_header_ddraw_h=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33030 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33031 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33037 if test "$wxUSE_DETECT_SM" = "yes"; then
33038 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33039 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33040 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33043 for ac_dir in $SEARCH_LIB;
33045 for ac_extension in a so sl dylib dll.a; do
33046 if test -f "$ac_dir/libSM.$ac_extension"; then
33047 ac_find_libraries=$ac_dir
33053 if test "$ac_find_libraries" != "" ; then
33055 if test "$ac_find_libraries" = "default location"; then
33058 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33060 if test $result = 0; then
33063 ac_path_to_link=" -L$ac_find_libraries"
33067 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33068 LDFLAGS="$LDFLAGS $ac_path_to_link"
33070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33071 { echo "$as_me:$LINENO: result: yes" >&5
33072 echo "${ECHO_T}yes" >&6; }
33074 { echo "$as_me:$LINENO: result: no" >&5
33075 echo "${ECHO_T}no" >&6; }
33076 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33077 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33078 wxUSE_DETECT_SM="no"
33081 wxUSE_DETECT_SM="no"
33088 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33091 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33092 OPENGL_LIBS="-framework OpenGL -framework AGL"
33093 elif test "$wxUSE_MSW" = 1; then
33094 OPENGL_LIBS="-lopengl32 -lglu32"
33095 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33097 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33098 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33101 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33103 if test -f "$ac_dir/GL/gl.h"; then
33104 ac_find_includes=$ac_dir
33109 if test "$ac_find_includes" != "" ; then
33110 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33111 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33113 if test "x$ac_find_includes" = "x/usr/include"; then
33114 ac_path_to_include=""
33116 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33118 if test $result = 0; then
33119 ac_path_to_include=""
33121 ac_path_to_include=" -I$ac_find_includes"
33125 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33127 { echo "$as_me:$LINENO: result: not found" >&5
33128 echo "${ECHO_T}not found" >&6; }
33131 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33132 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33133 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33136 cat >conftest.$ac_ext <<_ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33146 rm -f conftest.$ac_objext
33147 if { (ac_try="$ac_compile"
33148 case "(($ac_try" in
33149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33150 *) ac_try_echo
=$ac_try;;
33152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33153 (eval "$ac_compile") 2>conftest.er1
33155 grep -v '^ *+' conftest.er1
>conftest.err
33157 cat conftest.err
>&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); } && {
33160 test -z "$ac_c_werror_flag" ||
33161 test ! -s conftest.err
33162 } && test -s conftest.
$ac_objext; then
33163 ac_cv_header_GL_gl_h
=yes
33165 echo "$as_me: failed program was:" >&5
33166 sed 's/^/| /' conftest.
$ac_ext >&5
33168 ac_cv_header_GL_gl_h
=no
33171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33173 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33174 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33175 if test $ac_cv_header_GL_gl_h = yes; then
33177 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33178 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33179 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 cat >conftest.
$ac_ext <<_ACEOF
33185 cat confdefs.h
>>conftest.
$ac_ext
33186 cat >>conftest.
$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33190 #include <GL/glu.h>
33192 rm -f conftest.
$ac_objext
33193 if { (ac_try
="$ac_compile"
33194 case "(($ac_try" in
33195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33196 *) ac_try_echo=$ac_try;;
33198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33199 (eval "$ac_compile") 2>conftest.er1
33201 grep -v '^ *+' conftest.er1 >conftest.err
33203 cat conftest.err >&5
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); } && {
33206 test -z "$ac_c_werror_flag" ||
33207 test ! -s conftest.err
33208 } && test -s conftest.$ac_objext; then
33209 ac_cv_header_GL_glu_h=yes
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33214 ac_cv_header_GL_glu_h=no
33217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33220 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33221 if test $ac_cv_header_GL_glu_h = yes; then
33225 { echo "$as_me:$LINENO: checking for -lGL" >&5
33226 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33229 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libGL.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33239 if test "$ac_find_libraries" != "" ; then
33240 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33241 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33244 if test "$ac_find_libraries" = "default location"; then
33247 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33249 if test $result = 0; then
33252 ac_path_to_link=" -L$ac_find_libraries"
33256 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33257 LDFLAGS_GL="$ac_path_to_link"
33260 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33261 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33264 for ac_dir in $SEARCH_LIB;
33266 for ac_extension in a so sl dylib dll.a; do
33267 if test -f "$ac_dir/libGLU.$ac_extension"; then
33268 ac_find_libraries=$ac_dir
33274 if test "$ac_find_libraries" != "" ; then
33276 if test "$ac_find_libraries" = "default location"; then
33279 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33281 if test $result = 0; then
33284 ac_path_to_link=" -L$ac_find_libraries"
33288 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33289 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33290 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33294 OPENGL_LIBS="-lGL -lGLU"
33295 { echo "$as_me:$LINENO: result: yes" >&5
33296 echo "${ECHO_T}yes" >&6; }
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33302 { echo "$as_me:$LINENO: result: no" >&5
33303 echo "${ECHO_T}no" >&6; }
33306 if test "$found_gl" != 1; then
33307 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33308 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33311 for ac_dir in $SEARCH_LIB;
33313 for ac_extension in a so sl dylib dll.a; do
33314 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33315 ac_find_libraries=$ac_dir
33321 if test "$ac_find_libraries" != "" ; then
33323 if test "$ac_find_libraries" = "default location"; then
33326 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33328 if test $result = 0; then
33331 ac_path_to_link=" -L$ac_find_libraries"
33335 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33336 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33337 { echo "$as_me:$LINENO: result: yes" >&5
33338 echo "${ECHO_T}yes" >&6; }
33340 { echo "$as_me:$LINENO: result: no" >&5
33341 echo "${ECHO_T}no" >&6; }
33353 if test "x$OPENGL_LIBS" = "x"; then
33354 if test "$wxUSE_OPENGL" = "yes"; then
33355 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33356 echo "$as_me: error: OpenGL libraries not available" >&2;}
33357 { (exit 1); exit 1; }; }
33359 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33360 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33368 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33369 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33373 if test "$wxUSE_OPENGL" = "yes"; then
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_OPENGL 1
33379 cat >>confdefs.h <<\_ACEOF
33380 #define wxUSE_GLCANVAS 1
33383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33388 if test -n "$TOOLKIT" ; then
33389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33394 if test "$wxUSE_SHARED" = "yes"; then
33398 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33399 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33404 if test "$wxUSE_SHARED" = "yes"; then
33408 *-*-cygwin* | *-*-mingw* )
33409 wx_cv_version_script=no
33413 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33414 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33415 if test "${wx_cv_version_script+set}" = set; then
33416 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 echo "VER_1 { *; };" >conftest.sym
33420 echo "int main() { return 0; }" >conftest.cpp
33423 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33424 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426 (eval $ac_try) 2>&5
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; } ; then
33430 if test -s conftest.stderr ; then
33431 wx_cv_version_script=no
33433 wx_cv_version_script=yes
33436 wx_cv_version_script=no
33439 if test $wx_cv_version_script = yes
33441 echo "struct B { virtual ~B() { } }; \
33442 struct D : public B { }; \
33443 void F() { D d; }" > conftest.cpp
33446 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33447 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; } &&
33454 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33455 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; }
33463 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33464 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; }
33471 wx_cv_version_script=yes
33473 wx_cv_version_script=no
33478 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33479 rm -f conftest1.output conftest2.output conftest3.output
33482 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33483 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33485 if test $wx_cv_version_script = yes ; then
33486 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33492 if test "$wxUSE_VISIBILITY" != "no"; then
33495 if test -n "$GCC"; then
33496 CFLAGS_VISIBILITY="-fvisibility=hidden"
33497 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33498 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33499 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33500 if test "${wx_cv_cc_visibility+set}" = set; then
33501 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 wx_save_CXXFLAGS="$CXXFLAGS"
33505 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33507 ac_cpp='$CXXCPP $CPPFLAGS'
33508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33512 cat >conftest.$ac_ext <<_ACEOF
33515 cat confdefs.h >>conftest.$ac_ext
33516 cat >>conftest.$ac_ext <<_ACEOF
33517 /* end confdefs.h. */
33519 /* we need gcc >= 4.0, older versions with visibility support
33520 didn't have class visibility: */
33521 #if defined(__GNUC__) && __GNUC__ < 4
33522 error this gcc is too old;
33525 /* visibility only makes sense for ELF shared libs: */
33526 #if !defined(__ELF__) && !defined(__APPLE__)
33527 error this platform has no visibility;
33530 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33531 extern __attribute__((__visibility__("default"))) int exportedvar;
33532 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33533 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33534 class __attribute__((__visibility__("default"))) Foo {
33546 rm -f conftest.$ac_objext
33547 if { (ac_try="$ac_compile"
33548 case "(($ac_try" in
33549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33550 *) ac_try_echo
=$ac_try;;
33552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33553 (eval "$ac_compile") 2>conftest.er1
33555 grep -v '^ *+' conftest.er1
>conftest.err
33557 cat conftest.err
>&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } && {
33560 test -z "$ac_cxx_werror_flag" ||
33561 test ! -s conftest.err
33562 } && test -s conftest.
$ac_objext; then
33563 wx_cv_cc_visibility
=yes
33565 echo "$as_me: failed program was:" >&5
33566 sed 's/^/| /' conftest.
$ac_ext >&5
33568 wx_cv_cc_visibility
=no
33571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33573 ac_cpp
='$CPP $CPPFLAGS'
33574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33578 CXXFLAGS
="$wx_save_CXXFLAGS"
33581 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33582 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33583 if test $wx_cv_cc_visibility = yes; then
33584 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33585 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33586 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33587 echo $ECHO_N "(cached) $ECHO_C" >&6
33590 wx_save_CXXFLAGS
="$CXXFLAGS"
33591 wx_save_LDFLAGS
="$LDFLAGS"
33592 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33593 LDFLAGS
="$LDFLAGS -shared -fPIC"
33595 ac_cpp
='$CXXCPP $CPPFLAGS'
33596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33600 cat >conftest.
$ac_ext <<_ACEOF
33603 cat confdefs.h
>>conftest.
$ac_ext
33604 cat >>conftest.
$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33613 std::string s("hello");
33620 rm -f conftest.
$ac_objext conftest
$ac_exeext
33621 if { (ac_try
="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33629 grep -v '^ *+' conftest.er1 >conftest.err
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_cxx_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest$ac_exeext &&
33637 $as_test_x conftest$ac_exeext; then
33638 wx_cv_cc_broken_libstdcxx_visibility=no
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33643 wx_cv_cc_broken_libstdcxx_visibility=yes
33646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33647 conftest$ac_exeext conftest.$ac_ext
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33654 CXXFLAGS="$wx_save_CXXFLAGS"
33655 LDFLAGS="$wx_save_LDFLAGS"
33658 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33659 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33661 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33662 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33663 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33664 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33674 cat >conftest.$ac_ext <<_ACEOF
33677 cat confdefs.h >>conftest.$ac_ext
33678 cat >>conftest.$ac_ext <<_ACEOF
33679 /* end confdefs.h. */
33681 #pragma GCC visibility push(default)
33683 #pragma GCC visibility pop
33689 std::string s("hello");
33696 rm -f conftest.$ac_objext conftest$ac_exeext
33697 if { (ac_try="$ac_link"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33700 *) ac_try_echo
=$ac_try;;
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_link") 2>conftest.er1
33705 grep -v '^ *+' conftest.er1
>conftest.err
33707 cat conftest.err
>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_cxx_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest
$ac_exeext &&
33713 $as_test_x conftest
$ac_exeext; then
33714 wx_cv_cc_visibility_workaround
=no
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.
$ac_ext >&5
33719 wx_cv_cc_visibility_workaround
=yes
33722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33723 conftest
$ac_exeext conftest.
$ac_ext
33725 ac_cpp
='$CPP $CPPFLAGS'
33726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33733 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33734 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33736 if test $wx_cv_cc_visibility_workaround = no
; then
33737 wx_cv_cc_visibility
=no
33742 if test $wx_cv_cc_visibility = yes; then
33743 cat >>confdefs.h
<<\_ACEOF
33744 #define HAVE_VISIBILITY 1
33747 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33748 cat >>confdefs.h
<<\_ACEOF
33749 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33754 CFLAGS_VISIBILITY
=""
33755 CXXFLAGS_VISIBILITY
=""
33763 if test "x$SUNCXX" = xyes
; then
33764 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33765 WXCONFIG_RPATH
="-R\$libdir"
33768 *-*-linux* | *-*-gnu* )
33769 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33770 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33775 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33777 saveLdflags
="$LDFLAGS"
33778 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33779 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33780 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33781 cat >conftest.
$ac_ext <<_ACEOF
33784 cat confdefs.h
>>conftest.
$ac_ext
33785 cat >>conftest.
$ac_ext <<_ACEOF
33786 /* end confdefs.h. */
33796 rm -f conftest.
$ac_objext conftest
$ac_exeext
33797 if { (ac_try
="$ac_link"
33798 case "(($ac_try" in
33799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33800 *) ac_try_echo=$ac_try;;
33802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33803 (eval "$ac_link") 2>conftest.er1
33805 grep -v '^ *+' conftest.er1 >conftest.err
33807 cat conftest.err >&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } && {
33810 test -z "$ac_c_werror_flag" ||
33811 test ! -s conftest.err
33812 } && test -s conftest$ac_exeext &&
33813 $as_test_x conftest$ac_exeext; then
33815 { echo "$as_me:$LINENO: result: yes" >&5
33816 echo "${ECHO_T}yes" >&6; }
33817 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33818 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.$ac_ext >&5
33825 { echo "$as_me:$LINENO: result: no" >&5
33826 echo "${ECHO_T}no" >&6; }
33827 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33828 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33829 LDFLAGS="$saveLdflags -Wl,-R,/"
33830 cat >conftest.$ac_ext <<_ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33845 rm -f conftest.$ac_objext conftest$ac_exeext
33846 if { (ac_try="$ac_link"
33847 case "(($ac_try" in
33848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33849 *) ac_try_echo
=$ac_try;;
33851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33852 (eval "$ac_link") 2>conftest.er1
33854 grep -v '^ *+' conftest.er1
>conftest.err
33856 cat conftest.err
>&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); } && {
33859 test -z "$ac_c_werror_flag" ||
33860 test ! -s conftest.err
33861 } && test -s conftest
$ac_exeext &&
33862 $as_test_x conftest
$ac_exeext; then
33864 { echo "$as_me:$LINENO: result: yes" >&5
33865 echo "${ECHO_T}yes" >&6; }
33866 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33867 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.
$ac_ext >&5
33874 { echo "$as_me:$LINENO: result: no" >&5
33875 echo "${ECHO_T}no" >&6; }
33879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33880 conftest
$ac_exeext conftest.
$ac_ext
33884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33885 conftest
$ac_exeext conftest.
$ac_ext
33886 LDFLAGS
="$saveLdflags"
33890 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33891 if test "$install_name_tool" -a -x "$install_name_tool"; then
33892 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33893 cat <<EOF >change-install-names
33895 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33896 for i in \${libnames} ; do
33897 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33898 for dep in \${libnames} ; do
33899 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33903 chmod +x change
-install-names
33904 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33907 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33910 *-*-cygwin* | *-*-mingw32* )
33914 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33915 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33921 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33923 if test $wxUSE_RPATH = "no"; then
33924 SAMPLES_RPATH_FLAG
=''
33925 DYLIB_PATH_POSTLINK
=''
33933 config_linkage_component
="-static"
33940 lib_unicode_suffix
=
33942 if test "$wxUSE_UNICODE" = "yes"; then
33943 lib_unicode_suffix
=u
33944 WX_CHARTYPE
="unicode"
33949 WX_DEBUGTYPE
="release"
33951 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33953 WX_DEBUGTYPE
="debug"
33957 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33958 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33961 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33965 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33967 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
33969 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33972 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33973 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 if test "${TOOLKIT_DIR}" = "os2"; then
33978 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33980 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33985 if test "$wxUSE_COCOA" = 1; then
33988 ac_cpp
='$CPP $CPPFLAGS'
33989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33995 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33996 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <AppKit/NSEvent.h>
34004 #include <CoreFoundation/CoreFoundation.h>
34014 rm -f conftest.
$ac_objext
34015 if { (ac_try
="$ac_compile"
34016 case "(($ac_try" in
34017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_compile") 2>conftest.er1
34023 grep -v '^ *+' conftest.er1 >conftest.err
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest.$ac_objext; then
34031 { echo "$as_me:$LINENO: result: no" >&5
34032 echo "${ECHO_T}no" >&6; }
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 { echo "$as_me:$LINENO: result: yes" >&5
34038 echo "${ECHO_T}yes" >&6; }
34039 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34040 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34041 cat >conftest.$ac_ext <<_ACEOF
34044 cat confdefs.h >>conftest.$ac_ext
34045 cat >>conftest.$ac_ext <<_ACEOF
34046 /* end confdefs.h. */
34047 #define __Point__ 1
34048 #include <AppKit/NSEvent.h>
34049 #include <CoreFoundation/CoreFoundation.h>
34059 rm -f conftest.$ac_objext
34060 if { (ac_try="$ac_compile"
34061 case "(($ac_try" in
34062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34063 *) ac_try_echo
=$ac_try;;
34065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34066 (eval "$ac_compile") 2>conftest.er1
34068 grep -v '^ *+' conftest.er1
>conftest.err
34070 cat conftest.err
>&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } && {
34073 test -z "$ac_c_werror_flag" ||
34074 test ! -s conftest.err
34075 } && test -s conftest.
$ac_objext; then
34076 { echo "$as_me:$LINENO: result: yes" >&5
34077 echo "${ECHO_T}yes" >&6; }
34078 cat >>confdefs.h
<<\_ACEOF
34079 #define __Point__ 1
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 { { echo "$as_me:$LINENO: error: no
34088 See \`config.log' for more details." >&5
34089 echo "$as_me: error: no
34090 See \`config.log' for more details." >&2;}
34091 { (exit 1); exit 1; }; }
34095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34101 ac_cpp
='$CPP $CPPFLAGS'
34102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34109 { echo "$as_me:$LINENO: checking for mode_t" >&5
34110 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34111 if test "${ac_cv_type_mode_t+set}" = set; then
34112 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 cat >conftest.
$ac_ext <<_ACEOF
34117 cat confdefs.h
>>conftest.
$ac_ext
34118 cat >>conftest.
$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 $ac_includes_default
34121 typedef mode_t ac__type_new_;
34125 if ((ac__type_new_ *) 0)
34127 if (sizeof (ac__type_new_))
34133 rm -f conftest.
$ac_objext
34134 if { (ac_try
="$ac_compile"
34135 case "(($ac_try" in
34136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34137 *) ac_try_echo=$ac_try;;
34139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34140 (eval "$ac_compile") 2>conftest.er1
34142 grep -v '^ *+' conftest.er1 >conftest.err
34144 cat conftest.err >&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); } && {
34147 test -z "$ac_c_werror_flag" ||
34148 test ! -s conftest.err
34149 } && test -s conftest.$ac_objext; then
34150 ac_cv_type_mode_t=yes
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34155 ac_cv_type_mode_t=no
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34161 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34162 if test $ac_cv_type_mode_t = yes; then
34166 cat >>confdefs.h <<_ACEOF
34172 { echo "$as_me:$LINENO: checking for off_t" >&5
34173 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34174 if test "${ac_cv_type_off_t+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 cat >conftest.$ac_ext <<_ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 $ac_includes_default
34184 typedef off_t ac__type_new_;
34188 if ((ac__type_new_ *) 0)
34190 if (sizeof (ac__type_new_))
34196 rm -f conftest.$ac_objext
34197 if { (ac_try="$ac_compile"
34198 case "(($ac_try" in
34199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34200 *) ac_try_echo
=$ac_try;;
34202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34203 (eval "$ac_compile") 2>conftest.er1
34205 grep -v '^ *+' conftest.er1
>conftest.err
34207 cat conftest.err
>&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); } && {
34210 test -z "$ac_c_werror_flag" ||
34211 test ! -s conftest.err
34212 } && test -s conftest.
$ac_objext; then
34213 ac_cv_type_off_t
=yes
34215 echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.
$ac_ext >&5
34218 ac_cv_type_off_t
=no
34221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34223 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34224 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34225 if test $ac_cv_type_off_t = yes; then
34229 cat >>confdefs.h
<<_ACEOF
34230 #define off_t long int
34235 { echo "$as_me:$LINENO: checking for pid_t" >&5
34236 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34237 if test "${ac_cv_type_pid_t+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 cat >conftest.
$ac_ext <<_ACEOF
34243 cat confdefs.h
>>conftest.
$ac_ext
34244 cat >>conftest.
$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 $ac_includes_default
34247 typedef pid_t ac__type_new_;
34251 if ((ac__type_new_ *) 0)
34253 if (sizeof (ac__type_new_))
34259 rm -f conftest.
$ac_objext
34260 if { (ac_try
="$ac_compile"
34261 case "(($ac_try" in
34262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34263 *) ac_try_echo=$ac_try;;
34265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34266 (eval "$ac_compile") 2>conftest.er1
34268 grep -v '^ *+' conftest.er1 >conftest.err
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } && {
34273 test -z "$ac_c_werror_flag" ||
34274 test ! -s conftest.err
34275 } && test -s conftest.$ac_objext; then
34276 ac_cv_type_pid_t=yes
34278 echo "$as_me: failed program was:" >&5
34279 sed 's/^/| /' conftest.$ac_ext >&5
34281 ac_cv_type_pid_t=no
34284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34287 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34288 if test $ac_cv_type_pid_t = yes; then
34292 cat >>confdefs.h <<_ACEOF
34298 { echo "$as_me:$LINENO: checking for size_t" >&5
34299 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34300 if test "${ac_cv_type_size_t+set}" = set; then
34301 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 cat >conftest.$ac_ext <<_ACEOF
34306 cat confdefs.h >>conftest.$ac_ext
34307 cat >>conftest.$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34309 $ac_includes_default
34310 typedef size_t ac__type_new_;
34314 if ((ac__type_new_ *) 0)
34316 if (sizeof (ac__type_new_))
34322 rm -f conftest.$ac_objext
34323 if { (ac_try="$ac_compile"
34324 case "(($ac_try" in
34325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34326 *) ac_try_echo
=$ac_try;;
34328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34329 (eval "$ac_compile") 2>conftest.er1
34331 grep -v '^ *+' conftest.er1
>conftest.err
34333 cat conftest.err
>&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } && {
34336 test -z "$ac_c_werror_flag" ||
34337 test ! -s conftest.err
34338 } && test -s conftest.
$ac_objext; then
34339 ac_cv_type_size_t
=yes
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.
$ac_ext >&5
34344 ac_cv_type_size_t
=no
34347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34349 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34350 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34351 if test $ac_cv_type_size_t = yes; then
34355 cat >>confdefs.h
<<_ACEOF
34356 #define size_t unsigned int
34362 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34363 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34364 if test "${ac_cv_type_ssize_t+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 cat >conftest.
$ac_ext <<_ACEOF
34370 cat confdefs.h
>>conftest.
$ac_ext
34371 cat >>conftest.
$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 $ac_includes_default
34374 typedef ssize_t ac__type_new_;
34378 if ((ac__type_new_ *) 0)
34380 if (sizeof (ac__type_new_))
34386 rm -f conftest.
$ac_objext
34387 if { (ac_try
="$ac_compile"
34388 case "(($ac_try" in
34389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34390 *) ac_try_echo=$ac_try;;
34392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34393 (eval "$ac_compile") 2>conftest.er1
34395 grep -v '^ *+' conftest.er1 >conftest.err
34397 cat conftest.err >&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); } && {
34400 test -z "$ac_c_werror_flag" ||
34401 test ! -s conftest.err
34402 } && test -s conftest.$ac_objext; then
34403 ac_cv_type_ssize_t=yes
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.$ac_ext >&5
34408 ac_cv_type_ssize_t=no
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34413 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34414 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34415 if test $ac_cv_type_ssize_t = yes; then
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_SSIZE_T 1
34426 ac_cpp='$CXXCPP $CPPFLAGS'
34427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34430 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34432 if test "${wx_cv_size_t_is_uint+set}" = set; then
34433 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 cat >conftest.$ac_ext <<_ACEOF
34439 cat confdefs.h >>conftest.$ac_ext
34440 cat >>conftest.$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34442 #include <stddef.h>
34449 struct Foo { void foo(size_t); void foo(unsigned int); };
34457 rm -f conftest.$ac_objext
34458 if { (ac_try="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34461 *) ac_try_echo
=$ac_try;;
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34466 grep -v '^ *+' conftest.er1
>conftest.err
34468 cat conftest.err
>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_cxx_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.
$ac_objext; then
34474 wx_cv_size_t_is_uint
=no
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.
$ac_ext >&5
34479 wx_cv_size_t_is_uint
=yes
34483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34487 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34488 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34490 if test "$wx_cv_size_t_is_uint" = "yes"; then
34491 cat >>confdefs.h
<<\_ACEOF
34492 #define wxSIZE_T_IS_UINT 1
34496 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34497 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34498 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 cat >conftest.
$ac_ext <<_ACEOF
34504 cat confdefs.h
>>conftest.
$ac_ext
34505 cat >>conftest.
$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 #include <stddef.h>
34514 struct Foo { void foo(size_t); void foo(unsigned long); };
34522 rm -f conftest.
$ac_objext
34523 if { (ac_try
="$ac_compile"
34524 case "(($ac_try" in
34525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_compile") 2>conftest.er1
34531 grep -v '^ *+' conftest.er1 >conftest.err
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_cxx_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest.$ac_objext; then
34539 wx_cv_size_t_is_ulong=no
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34544 wx_cv_size_t_is_ulong=yes
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34551 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34552 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34554 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxSIZE_T_IS_ULONG 1
34562 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34563 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34564 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 cat >conftest.$ac_ext <<_ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34580 struct Foo { void foo(wchar_t);
34581 void foo(unsigned short);
34582 void foo(unsigned int);
34583 void foo(unsigned long); };
34591 rm -f conftest.$ac_objext
34592 if { (ac_try="$ac_compile"
34593 case "(($ac_try" in
34594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34595 *) ac_try_echo
=$ac_try;;
34597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34598 (eval "$ac_compile") 2>conftest.er1
34600 grep -v '^ *+' conftest.er1
>conftest.err
34602 cat conftest.err
>&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } && {
34605 test -z "$ac_cxx_werror_flag" ||
34606 test ! -s conftest.err
34607 } && test -s conftest.
$ac_objext; then
34608 wx_cv_wchar_t_is_separate_type
=yes
34610 echo "$as_me: failed program was:" >&5
34611 sed 's/^/| /' conftest.
$ac_ext >&5
34613 wx_cv_wchar_t_is_separate_type
=no
34617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34620 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34621 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34623 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34624 cat >>confdefs.h
<<\_ACEOF
34625 #define wxWCHAR_T_IS_REAL_TYPE 1
34629 cat >>confdefs.h
<<\_ACEOF
34630 #define wxWCHAR_T_IS_REAL_TYPE 0
34636 ac_cpp
='$CPP $CPPFLAGS'
34637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34642 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34643 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34644 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 cat >conftest.
$ac_ext <<_ACEOF
34651 cat confdefs.h
>>conftest.
$ac_ext
34652 cat >>conftest.
$ac_ext <<_ACEOF
34653 /* end confdefs.h. */
34667 rm -f conftest.
$ac_objext
34668 if { (ac_try
="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34676 grep -v '^ *+' conftest.er1 >conftest.err
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34685 wx_cv_struct_pw_gecos=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34692 wx_cv_struct_pw_gecos=no
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34701 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34702 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34704 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define HAVE_PW_GECOS 1
34712 if test "$wxUSE_WCHAR_T" = "yes"; then
34713 cat >>confdefs.h <<\_ACEOF
34714 #define wxUSE_WCHAR_T 1
34721 for ac_func in wcslen
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 cat >conftest.$ac_ext <<_ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34745 # include <limits.h>
34747 # include <assert.h>
34752 /* Override any GCC internal prototype to avoid an error.
34753 Use char because int might match the return type of a GCC
34754 builtin and then its argument prototype would still apply. */
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined __stub_$ac_func || defined __stub___$ac_func
34769 return $ac_func ();
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (ac_try="$ac_link"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34778 *) ac_try_echo
=$ac_try;;
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_link") 2>conftest.er1
34783 grep -v '^ *+' conftest.er1
>conftest.err
34785 cat conftest.err
>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest
$ac_exeext &&
34791 $as_test_x conftest
$ac_exeext; then
34792 eval "$as_ac_var=yes"
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.
$ac_ext >&5
34797 eval "$as_ac_var=no"
34800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34801 conftest
$ac_exeext conftest.
$ac_ext
34803 ac_res
=`eval echo '${'$as_ac_var'}'`
34804 { echo "$as_me:$LINENO: result: $ac_res" >&5
34805 echo "${ECHO_T}$ac_res" >&6; }
34806 if test `eval echo '${'$as_ac_var'}'` = yes; then
34807 cat >>confdefs.h
<<_ACEOF
34808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34815 if test "$WCSLEN_FOUND" = 0; then
34816 if test "$TOOLKIT" = "MSW"; then
34817 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34818 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34819 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 ac_check_lib_save_LIBS
=$LIBS
34823 LIBS
="-lmsvcrt $LIBS"
34824 cat >conftest.
$ac_ext <<_ACEOF
34827 cat confdefs.h
>>conftest.
$ac_ext
34828 cat >>conftest.
$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34831 /* Override any GCC internal prototype to avoid an error.
34832 Use char because int might match the return type of a GCC
34833 builtin and then its argument prototype would still apply. */
34846 rm -f conftest.
$ac_objext conftest
$ac_exeext
34847 if { (ac_try
="$ac_link"
34848 case "(($ac_try" in
34849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_link") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1 >conftest.err
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest$ac_exeext &&
34863 $as_test_x conftest$ac_exeext; then
34864 ac_cv_lib_msvcrt_wcslen=yes
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.$ac_ext >&5
34869 ac_cv_lib_msvcrt_wcslen=no
34872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LIBS=$ac_check_lib_save_LIBS
34876 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34877 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34878 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34883 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34884 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34885 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 ac_check_lib_save_LIBS=$LIBS
34890 cat >conftest.$ac_ext <<_ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34897 /* Override any GCC internal prototype to avoid an error.
34898 Use char because int might match the return type of a GCC
34899 builtin and then its argument prototype would still apply. */
34912 rm -f conftest.$ac_objext conftest$ac_exeext
34913 if { (ac_try="$ac_link"
34914 case "(($ac_try" in
34915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34916 *) ac_try_echo
=$ac_try;;
34918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34919 (eval "$ac_link") 2>conftest.er1
34921 grep -v '^ *+' conftest.er1
>conftest.err
34923 cat conftest.err
>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } && {
34926 test -z "$ac_c_werror_flag" ||
34927 test ! -s conftest.err
34928 } && test -s conftest
$ac_exeext &&
34929 $as_test_x conftest
$ac_exeext; then
34930 ac_cv_lib_w_wcslen
=yes
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.
$ac_ext >&5
34935 ac_cv_lib_w_wcslen
=no
34938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34939 conftest
$ac_exeext conftest.
$ac_ext
34940 LIBS
=$ac_check_lib_save_LIBS
34942 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34943 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34944 if test $ac_cv_lib_w_wcslen = yes; then
34954 if test "$WCSLEN_FOUND" = 1; then
34955 cat >>confdefs.h
<<\_ACEOF
34956 #define HAVE_WCSLEN 1
34966 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34971 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 cat >conftest.
$ac_ext <<_ACEOF
34977 cat confdefs.h
>>conftest.
$ac_ext
34978 cat >>conftest.
$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34982 #define $ac_func innocuous_$ac_func
34984 /* System header to define __stub macros and hopefully few prototypes,
34985 which can conflict with char $ac_func (); below.
34986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34987 <limits.h> exists even on freestanding compilers. */
34990 # include <limits.h>
34992 # include <assert.h>
34997 /* Override any GCC internal prototype to avoid an error.
34998 Use char because int might match the return type of a GCC
34999 builtin and then its argument prototype would still apply. */
35004 /* The GNU C library defines this for functions which it implements
35005 to always fail with ENOSYS. Some functions are actually named
35006 something starting with __ and the normal name is an alias. */
35007 #if defined __stub_$ac_func || defined __stub___$ac_func
35014 return $ac_func ();
35019 rm -f conftest.
$ac_objext conftest
$ac_exeext
35020 if { (ac_try
="$ac_link"
35021 case "(($ac_try" in
35022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_link") 2>conftest.er1
35028 grep -v '^ *+' conftest.er1 >conftest.err
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } && {
35033 test -z "$ac_c_werror_flag" ||
35034 test ! -s conftest.err
35035 } && test -s conftest$ac_exeext &&
35036 $as_test_x conftest$ac_exeext; then
35037 eval "$as_ac_var=yes"
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35042 eval "$as_ac_var=no"
35045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35046 conftest$ac_exeext conftest.$ac_ext
35048 ac_res=`eval echo '${'$as_ac_var'}'`
35049 { echo "$as_me:$LINENO: result: $ac_res" >&5
35050 echo "${ECHO_T}$ac_res" >&6; }
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h <<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35061 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35064 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35065 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35066 if test "${ac_cv_type_mbstate_t+set}" = set; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 cat >conftest.$ac_ext <<_ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35077 typedef mbstate_t ac__type_new_;
35081 if ((ac__type_new_ *) 0)
35083 if (sizeof (ac__type_new_))
35089 rm -f conftest.$ac_objext
35090 if { (ac_try="$ac_compile"
35091 case "(($ac_try" in
35092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35093 *) ac_try_echo
=$ac_try;;
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_compile") 2>conftest.er1
35098 grep -v '^ *+' conftest.er1
>conftest.err
35100 cat conftest.err
>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); } && {
35103 test -z "$ac_c_werror_flag" ||
35104 test ! -s conftest.err
35105 } && test -s conftest.
$ac_objext; then
35106 ac_cv_type_mbstate_t
=yes
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.
$ac_ext >&5
35111 ac_cv_type_mbstate_t
=no
35114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35116 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35117 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35118 if test $ac_cv_type_mbstate_t = yes; then
35120 cat >>confdefs.h
<<_ACEOF
35121 #define HAVE_MBSTATE_T 1
35125 for ac_func
in wcsrtombs
35127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 cat >conftest.
$ac_ext <<_ACEOF
35136 cat confdefs.h
>>conftest.
$ac_ext
35137 cat >>conftest.
$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35141 #define $ac_func innocuous_$ac_func
35143 /* System header to define __stub macros and hopefully few prototypes,
35144 which can conflict with char $ac_func (); below.
35145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35146 <limits.h> exists even on freestanding compilers. */
35149 # include <limits.h>
35151 # include <assert.h>
35156 /* Override any GCC internal prototype to avoid an error.
35157 Use char because int might match the return type of a GCC
35158 builtin and then its argument prototype would still apply. */
35163 /* The GNU C library defines this for functions which it implements
35164 to always fail with ENOSYS. Some functions are actually named
35165 something starting with __ and the normal name is an alias. */
35166 #if defined __stub_$ac_func || defined __stub___$ac_func
35173 return $ac_func ();
35178 rm -f conftest.
$ac_objext conftest
$ac_exeext
35179 if { (ac_try
="$ac_link"
35180 case "(($ac_try" in
35181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35182 *) ac_try_echo=$ac_try;;
35184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35185 (eval "$ac_link") 2>conftest.er1
35187 grep -v '^ *+' conftest.er1 >conftest.err
35189 cat conftest.err >&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); } && {
35192 test -z "$ac_c_werror_flag" ||
35193 test ! -s conftest.err
35194 } && test -s conftest$ac_exeext &&
35195 $as_test_x conftest$ac_exeext; then
35196 eval "$as_ac_var=yes"
35198 echo "$as_me: failed program was:" >&5
35199 sed 's/^/| /' conftest.$ac_ext >&5
35201 eval "$as_ac_var=no"
35204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35205 conftest$ac_exeext conftest.$ac_ext
35207 ac_res=`eval echo '${'$as_ac_var'}'`
35208 { echo "$as_me:$LINENO: result: $ac_res" >&5
35209 echo "${ECHO_T}$ac_res" >&6; }
35210 if test `eval echo '${'$as_ac_var'}'` = yes; then
35211 cat >>confdefs.h <<_ACEOF
35212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35221 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35222 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35228 for ac_func in snprintf vsnprintf vsscanf
35230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 cat >conftest.$ac_ext <<_ACEOF
35239 cat confdefs.h >>conftest.$ac_ext
35240 cat >>conftest.$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35244 #define $ac_func innocuous_$ac_func
35246 /* System header to define __stub macros and hopefully few prototypes,
35247 which can conflict with char $ac_func (); below.
35248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35249 <limits.h> exists even on freestanding compilers. */
35252 # include <limits.h>
35254 # include <assert.h>
35259 /* Override any GCC internal prototype to avoid an error.
35260 Use char because int might match the return type of a GCC
35261 builtin and then its argument prototype would still apply. */
35266 /* The GNU C library defines this for functions which it implements
35267 to always fail with ENOSYS. Some functions are actually named
35268 something starting with __ and the normal name is an alias. */
35269 #if defined __stub_$ac_func || defined __stub___$ac_func
35276 return $ac_func ();
35281 rm -f conftest.$ac_objext conftest$ac_exeext
35282 if { (ac_try="$ac_link"
35283 case "(($ac_try" in
35284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35285 *) ac_try_echo
=$ac_try;;
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_link") 2>conftest.er1
35290 grep -v '^ *+' conftest.er1
>conftest.err
35292 cat conftest.err
>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } && {
35295 test -z "$ac_c_werror_flag" ||
35296 test ! -s conftest.err
35297 } && test -s conftest
$ac_exeext &&
35298 $as_test_x conftest
$ac_exeext; then
35299 eval "$as_ac_var=yes"
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.
$ac_ext >&5
35304 eval "$as_ac_var=no"
35307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35308 conftest
$ac_exeext conftest.
$ac_ext
35310 ac_res
=`eval echo '${'$as_ac_var'}'`
35311 { echo "$as_me:$LINENO: result: $ac_res" >&5
35312 echo "${ECHO_T}$ac_res" >&6; }
35313 if test `eval echo '${'$as_ac_var'}'` = yes; then
35314 cat >>confdefs.h
<<_ACEOF
35315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35323 ac_cpp
='$CXXCPP $CPPFLAGS'
35324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35328 if test "$ac_cv_func_vsnprintf" = "yes"; then
35329 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35330 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35331 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35343 #include <stdarg.h>
35345 #if __MSL__ >= 0x6000
35347 using namespace std;
35357 vsnprintf(buf, 10u, "%s", ap);
35363 rm -f conftest.
$ac_objext
35364 if { (ac_try
="$ac_compile"
35365 case "(($ac_try" in
35366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_compile") 2>conftest.er1
35372 grep -v '^ *+' conftest.er1 >conftest.err
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_cxx_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest.$ac_objext; then
35380 wx_cv_func_vsnprintf_decl=yes
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35385 wx_cv_func_vsnprintf_decl=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35394 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35396 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define HAVE_VSNPRINTF_DECL 1
35402 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35403 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35404 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35405 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 cat >conftest.$ac_ext <<_ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35416 #include <stdarg.h>
35418 #if __MSL__ >= 0x6000
35420 using namespace std;
35430 const char *fmt = "%s";
35431 vsnprintf(buf, 10u, fmt, ap);
35437 rm -f conftest.$ac_objext
35438 if { (ac_try="$ac_compile"
35439 case "(($ac_try" in
35440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35441 *) ac_try_echo
=$ac_try;;
35443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35444 (eval "$ac_compile") 2>conftest.er1
35446 grep -v '^ *+' conftest.er1
>conftest.err
35448 cat conftest.err
>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); } && {
35451 test -z "$ac_cxx_werror_flag" ||
35452 test ! -s conftest.err
35453 } && test -s conftest.
$ac_objext; then
35454 wx_cv_func_broken_vsnprintf_decl
=no
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.
$ac_ext >&5
35459 wx_cv_func_broken_vsnprintf_decl
=yes
35463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35471 cat >>confdefs.h
<<\_ACEOF
35472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35479 if test "$ac_cv_func_snprintf" = "yes"; then
35480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35483 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 cat >conftest.
$ac_ext <<_ACEOF
35489 cat confdefs.h
>>conftest.
$ac_ext
35490 cat >>conftest.
$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35494 #include <stdarg.h>
35496 #if __MSL__ >= 0x6000
35498 using namespace std;
35507 snprintf(buf, 10u, "%s", "wx");
35513 rm -f conftest.
$ac_objext
35514 if { (ac_try
="$ac_compile"
35515 case "(($ac_try" in
35516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35517 *) ac_try_echo=$ac_try;;
35519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35520 (eval "$ac_compile") 2>conftest.er1
35522 grep -v '^ *+' conftest.er1 >conftest.err
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } && {
35527 test -z "$ac_cxx_werror_flag" ||
35528 test ! -s conftest.err
35529 } && test -s conftest.$ac_objext; then
35530 wx_cv_func_snprintf_decl=yes
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35535 wx_cv_func_snprintf_decl=no
35539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35543 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35544 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35546 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35547 cat >>confdefs.h <<\_ACEOF
35548 #define HAVE_SNPRINTF_DECL 1
35553 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35555 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35556 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35557 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 if test "$cross_compiling" = yes; then
35563 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35565 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35566 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35567 wx_cv_func_snprintf_pos_params=no
35571 cat >conftest.$ac_ext <<_ACEOF
35574 cat confdefs.h >>conftest.$ac_ext
35575 cat >>conftest.$ac_ext <<_ACEOF
35576 /* end confdefs.h. */
35583 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35584 if (strcmp ("2 3 1", buffer) == 0)
35590 rm -f conftest$ac_exeext
35591 if { (ac_try="$ac_link"
35592 case "(($ac_try" in
35593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35594 *) ac_try_echo
=$ac_try;;
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_link") 2>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35601 { (case "(($ac_try" in
35602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35603 *) ac_try_echo=$ac_try;;
35605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35606 (eval "$ac_try") 2>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 wx_cv_func_snprintf_pos_params=no
35612 echo "$as_me: program exited with status $ac_status" >&5
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.$ac_ext >&5
35616 ( exit $ac_status )
35617 wx_cv_func_snprintf_pos_params=yes
35619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35626 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35627 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35629 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35630 cat >>confdefs.h <<\_ACEOF
35631 #define HAVE_UNIX98_PRINTF 1
35638 if test "$ac_cv_func_vsscanf" = "yes"; then
35639 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35640 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35641 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 cat >conftest.$ac_ext <<_ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35653 #include <stdarg.h>
35655 #if __MSL__ >= 0x6000
35657 using namespace std;
35667 vsscanf(buf, "%s", args);
35673 rm -f conftest.$ac_objext
35674 if { (ac_try="$ac_compile"
35675 case "(($ac_try" in
35676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35677 *) ac_try_echo
=$ac_try;;
35679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35680 (eval "$ac_compile") 2>conftest.er1
35682 grep -v '^ *+' conftest.er1
>conftest.err
35684 cat conftest.err
>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && {
35687 test -z "$ac_cxx_werror_flag" ||
35688 test ! -s conftest.err
35689 } && test -s conftest.
$ac_objext; then
35690 wx_cv_func_vsscanf_decl
=yes
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.
$ac_ext >&5
35695 wx_cv_func_vsscanf_decl
=no
35699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35703 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35704 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35706 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35707 cat >>confdefs.h
<<\_ACEOF
35708 #define HAVE_VSSCANF_DECL 1
35714 ac_cpp
='$CPP $CPPFLAGS'
35715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35720 if test "$wxUSE_UNICODE" = yes; then
35722 wchar_headers
="#include <stdio.h>
35723 #include <wchar.h>"
35727 for ac_header
in widec.h
35729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35732 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.
$ac_ext <<_ACEOF
35738 cat confdefs.h
>>conftest.
$ac_ext
35739 cat >>conftest.
$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 $ac_includes_default
35743 #include <$ac_header>
35745 rm -f conftest.
$ac_objext
35746 if { (ac_try
="$ac_compile"
35747 case "(($ac_try" in
35748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35749 *) ac_try_echo=$ac_try;;
35751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35752 (eval "$ac_compile") 2>conftest.er1
35754 grep -v '^ *+' conftest.er1 >conftest.err
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } && {
35759 test -z "$ac_c_werror_flag" ||
35760 test ! -s conftest.err
35761 } && test -s conftest.$ac_objext; then
35762 eval "$as_ac_Header=yes"
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.$ac_ext >&5
35767 eval "$as_ac_Header=no"
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 ac_res=`eval echo '${'$as_ac_Header'}'`
35773 { echo "$as_me:$LINENO: result: $ac_res" >&5
35774 echo "${ECHO_T}$ac_res" >&6; }
35775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35776 cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35784 if test "$ac_cv_header_widec_h" = "yes"; then
35785 wchar_headers="$wchar_headers
35786 #include <widec.h>"
35791 for wx_func in putws fputws wprintf vswprintf vswscanf
35793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 cat >conftest.$ac_ext <<_ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35808 $ac_includes_default
35824 rm -f conftest.$ac_objext conftest$ac_exeext
35825 if { (ac_try="$ac_link"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35828 *) ac_try_echo
=$ac_try;;
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_link") 2>conftest.er1
35833 grep -v '^ *+' conftest.er1
>conftest.err
35835 cat conftest.err
>&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_c_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest
$ac_exeext &&
35841 $as_test_x conftest
$ac_exeext; then
35842 eval wx_cv_func_
$wx_func=yes
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.
$ac_ext >&5
35847 eval wx_cv_func_
$wx_func=no
35850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35851 conftest
$ac_exeext conftest.
$ac_ext
35854 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35855 { echo "$as_me:$LINENO: result: $ac_res" >&5
35856 echo "${ECHO_T}$ac_res" >&6; }
35858 if eval test \
$wx_cv_func_$wx_func = yes
35860 cat >>confdefs.h
<<_ACEOF
35861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35872 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35873 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35874 cat >conftest.
$ac_ext <<_ACEOF
35877 cat confdefs.h
>>conftest.
$ac_ext
35878 cat >>conftest.
$ac_ext <<_ACEOF
35879 /* end confdefs.h. */
35889 rm -f conftest.
$ac_objext
35890 if { (ac_try
="$ac_compile"
35891 case "(($ac_try" in
35892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35893 *) ac_try_echo=$ac_try;;
35895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35896 (eval "$ac_compile") 2>conftest.er1
35898 grep -v '^ *+' conftest.er1 >conftest.err
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } && {
35903 test -z "$ac_c_werror_flag" ||
35904 test ! -s conftest.err
35905 } && test -s conftest.$ac_objext; then
35906 { echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6; }
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE__VSNWPRINTF 1
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35916 { echo "$as_me:$LINENO: result: no" >&5
35917 echo "${ECHO_T}no" >&6; }
35920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35923 if test "$wxUSE_FILE" = "yes"; then
35925 for wx_func in fsync
35927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35933 cat >conftest.$ac_ext <<_ACEOF
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35942 $ac_includes_default
35958 rm -f conftest.$ac_objext conftest$ac_exeext
35959 if { (ac_try="$ac_link"
35960 case "(($ac_try" in
35961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35962 *) ac_try_echo
=$ac_try;;
35964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35965 (eval "$ac_link") 2>conftest.er1
35967 grep -v '^ *+' conftest.er1
>conftest.err
35969 cat conftest.err
>&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } && {
35972 test -z "$ac_c_werror_flag" ||
35973 test ! -s conftest.err
35974 } && test -s conftest
$ac_exeext &&
35975 $as_test_x conftest
$ac_exeext; then
35976 eval wx_cv_func_
$wx_func=yes
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.
$ac_ext >&5
35981 eval wx_cv_func_
$wx_func=no
35984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35985 conftest
$ac_exeext conftest.
$ac_ext
35988 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35989 { echo "$as_me:$LINENO: result: $ac_res" >&5
35990 echo "${ECHO_T}$ac_res" >&6; }
35992 if eval test \
$wx_cv_func_$wx_func = yes
35994 cat >>confdefs.h
<<_ACEOF
35995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36008 ac_cpp
='$CXXCPP $CPPFLAGS'
36009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36014 for wx_func
in round
36016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36018 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 cat >conftest.
$ac_ext <<_ACEOF
36026 cat confdefs.h
>>conftest.
$ac_ext
36027 cat >>conftest.
$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36031 $ac_includes_default
36047 rm -f conftest.
$ac_objext conftest
$ac_exeext
36048 if { (ac_try
="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1 >conftest.err
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest$ac_exeext &&
36064 $as_test_x conftest$ac_exeext; then
36065 eval wx_cv_func_$wx_func=yes
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36070 eval wx_cv_func_$wx_func=no
36073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36074 conftest$ac_exeext conftest.$ac_ext
36077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36078 { echo "$as_me:$LINENO: result: $ac_res" >&5
36079 echo "${ECHO_T}$ac_res" >&6; }
36081 if eval test \$wx_cv_func_$wx_func = yes
36083 cat >>confdefs.h <<_ACEOF
36084 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36101 if test "$TOOLKIT" != "MSW"; then
36103 if test "$wxUSE_LIBICONV" != "no" ; then
36107 # Check whether --with-libiconv-prefix was given.
36108 if test "${with_libiconv_prefix+set}" = set; then
36109 withval=$with_libiconv_prefix;
36110 for dir in `echo "$withval" | tr : ' '`; do
36111 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36112 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36118 { echo "$as_me:$LINENO: checking for iconv" >&5
36119 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36120 if test "${am_cv_func_iconv+set}" = set; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36124 am_cv_func_iconv="no, consider installing GNU libiconv"
36126 cat >conftest.$ac_ext <<_ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36132 #include <stdlib.h>
36137 iconv_t cd = iconv_open("","");
36138 iconv(cd,NULL,NULL,NULL,NULL);
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (ac_try="$ac_link"
36146 case "(($ac_try" in
36147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36148 *) ac_try_echo
=$ac_try;;
36150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36151 (eval "$ac_link") 2>conftest.er1
36153 grep -v '^ *+' conftest.er1
>conftest.err
36155 cat conftest.err
>&5
36156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36157 (exit $ac_status); } && {
36158 test -z "$ac_c_werror_flag" ||
36159 test ! -s conftest.err
36160 } && test -s conftest
$ac_exeext &&
36161 $as_test_x conftest
$ac_exeext; then
36162 am_cv_func_iconv
=yes
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.
$ac_ext >&5
36170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36171 conftest
$ac_exeext conftest.
$ac_ext
36172 if test "$am_cv_func_iconv" != yes; then
36173 am_save_LIBS
="$LIBS"
36174 LIBS
="$LIBS -liconv"
36175 cat >conftest.
$ac_ext <<_ACEOF
36178 cat confdefs.h
>>conftest.
$ac_ext
36179 cat >>conftest.
$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36181 #include <stdlib.h>
36186 iconv_t cd = iconv_open("","");
36187 iconv(cd,NULL,NULL,NULL,NULL);
36193 rm -f conftest.
$ac_objext conftest
$ac_exeext
36194 if { (ac_try
="$ac_link"
36195 case "(($ac_try" in
36196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36197 *) ac_try_echo=$ac_try;;
36199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36200 (eval "$ac_link") 2>conftest.er1
36202 grep -v '^ *+' conftest.er1 >conftest.err
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } && {
36207 test -z "$ac_c_werror_flag" ||
36208 test ! -s conftest.err
36209 } && test -s conftest$ac_exeext &&
36210 $as_test_x conftest$ac_exeext; then
36211 am_cv_lib_iconv=yes
36212 am_cv_func_iconv=yes
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.$ac_ext >&5
36220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36221 conftest$ac_exeext conftest.$ac_ext
36222 LIBS="$am_save_LIBS"
36226 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36227 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36228 if test "$am_cv_func_iconv" = yes; then
36230 cat >>confdefs.h <<\_ACEOF
36231 #define HAVE_ICONV 1
36234 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36235 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_iconv_const+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 cat >conftest.$ac_ext <<_ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36246 #include <stdlib.h>
36252 #if defined(__STDC__) || defined(__cplusplus)
36253 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36270 *) ac_try_echo
=$ac_try;;
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36275 grep -v '^ *+' conftest.er1
>conftest.err
36277 cat conftest.err
>&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.
$ac_objext; then
36283 wx_cv_func_iconv_const
="no"
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.
$ac_ext >&5
36288 wx_cv_func_iconv_const
="yes"
36292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36296 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36299 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36300 iconv_const
="const"
36304 cat >>confdefs.h
<<_ACEOF
36305 #define ICONV_CONST $iconv_const
36310 if test "$am_cv_lib_iconv" = yes; then
36315 LIBS
="$LIBICONV $LIBS"
36318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36320 for ac_func
in sigaction
36322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36325 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36328 cat >conftest.
$ac_ext <<_ACEOF
36331 cat confdefs.h
>>conftest.
$ac_ext
36332 cat >>conftest.
$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36344 # include <limits.h>
36346 # include <assert.h>
36351 /* Override any GCC internal prototype to avoid an error.
36352 Use char because int might match the return type of a GCC
36353 builtin and then its argument prototype would still apply. */
36358 /* The GNU C library defines this for functions which it implements
36359 to always fail with ENOSYS. Some functions are actually named
36360 something starting with __ and the normal name is an alias. */
36361 #if defined __stub_$ac_func || defined __stub___$ac_func
36368 return $ac_func ();
36373 rm -f conftest.
$ac_objext conftest
$ac_exeext
36374 if { (ac_try
="$ac_link"
36375 case "(($ac_try" in
36376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36377 *) ac_try_echo=$ac_try;;
36379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36380 (eval "$ac_link") 2>conftest.er1
36382 grep -v '^ *+' conftest.er1 >conftest.err
36384 cat conftest.err >&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && {
36387 test -z "$ac_c_werror_flag" ||
36388 test ! -s conftest.err
36389 } && test -s conftest$ac_exeext &&
36390 $as_test_x conftest$ac_exeext; then
36391 eval "$as_ac_var=yes"
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36396 eval "$as_ac_var=no"
36399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36400 conftest$ac_exeext conftest.$ac_ext
36402 ac_res=`eval echo '${'$as_ac_var'}'`
36403 { echo "$as_me:$LINENO: result: $ac_res" >&5
36404 echo "${ECHO_T}$ac_res" >&6; }
36405 if test `eval echo '${'$as_ac_var'}'` = yes; then
36406 cat >>confdefs.h <<_ACEOF
36407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36414 if test "$ac_cv_func_sigaction" = "no"; then
36415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36417 wxUSE_ON_FATAL_EXCEPTION=no
36420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36423 if test "${wx_cv_type_sa_handler+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 ac_cpp='$CXXCPP $CPPFLAGS'
36429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36433 cat >conftest.$ac_ext <<_ACEOF
36436 cat confdefs.h >>conftest.$ac_ext
36437 cat >>conftest.$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 #include <signal.h>
36444 extern void testSigHandler(int);
36446 struct sigaction sa;
36447 sa.sa_handler = testSigHandler;
36453 rm -f conftest.$ac_objext
36454 if { (ac_try="$ac_compile"
36455 case "(($ac_try" in
36456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36457 *) ac_try_echo
=$ac_try;;
36459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36460 (eval "$ac_compile") 2>conftest.er1
36462 grep -v '^ *+' conftest.er1
>conftest.err
36464 cat conftest.err
>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } && {
36467 test -z "$ac_cxx_werror_flag" ||
36468 test ! -s conftest.err
36469 } && test -s conftest.
$ac_objext; then
36471 wx_cv_type_sa_handler
=int
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.
$ac_ext >&5
36478 wx_cv_type_sa_handler
=void
36482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36484 ac_cpp
='$CPP $CPPFLAGS'
36485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36494 cat >>confdefs.h
<<_ACEOF
36495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36504 if test "${wx_cv_func_backtrace+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 ac_cpp
='$CXXCPP $CPPFLAGS'
36510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36514 cat >conftest.
$ac_ext <<_ACEOF
36517 cat confdefs.h
>>conftest.
$ac_ext
36518 cat >>conftest.
$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <execinfo.h>
36528 backtrace(trace, 1);
36529 messages = backtrace_symbols(trace, 1);
36535 rm -f conftest.
$ac_objext
36536 if { (ac_try
="$ac_compile"
36537 case "(($ac_try" in
36538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_compile") 2>conftest.er1
36544 grep -v '^ *+' conftest.er1 >conftest.err
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } && {
36549 test -z "$ac_cxx_werror_flag" ||
36550 test ! -s conftest.err
36551 } && test -s conftest.$ac_objext; then
36552 wx_cv_func_backtrace=yes
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 wx_cv_func_backtrace=no
36561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36563 ac_cpp='$CPP $CPPFLAGS'
36564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36575 if test "$wx_cv_func_backtrace" = "no"; then
36576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36578 wxUSE_STACKWALKER=no
36580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36587 ac_cpp='$CXXCPP $CPPFLAGS'
36588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592 cat >conftest.$ac_ext <<_ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 #include <cxxabi.h>
36604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36610 rm -f conftest.$ac_objext conftest$ac_exeext
36611 if { (ac_try="$ac_link"
36612 case "(($ac_try" in
36613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36614 *) ac_try_echo
=$ac_try;;
36616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36617 (eval "$ac_link") 2>conftest.er1
36619 grep -v '^ *+' conftest.er1
>conftest.err
36621 cat conftest.err
>&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); } && {
36624 test -z "$ac_cxx_werror_flag" ||
36625 test ! -s conftest.err
36626 } && test -s conftest
$ac_exeext &&
36627 $as_test_x conftest
$ac_exeext; then
36628 wx_cv_func_cxa_demangle
=yes
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.
$ac_ext >&5
36633 wx_cv_func_cxa_demangle
=no
36637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36638 conftest
$ac_exeext conftest.
$ac_ext
36640 ac_cpp
='$CPP $CPPFLAGS'
36641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36652 cat >>confdefs.h
<<\_ACEOF
36653 #define HAVE_CXA_DEMANGLE 1
36660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36663 wxUSE_STACKWALKER
=no
36669 for ac_func
in mkstemp mktemp
36671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36674 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 cat >conftest.
$ac_ext <<_ACEOF
36680 cat confdefs.h
>>conftest.
$ac_ext
36681 cat >>conftest.
$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36685 #define $ac_func innocuous_$ac_func
36687 /* System header to define __stub macros and hopefully few prototypes,
36688 which can conflict with char $ac_func (); below.
36689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36690 <limits.h> exists even on freestanding compilers. */
36693 # include <limits.h>
36695 # include <assert.h>
36700 /* Override any GCC internal prototype to avoid an error.
36701 Use char because int might match the return type of a GCC
36702 builtin and then its argument prototype would still apply. */
36707 /* The GNU C library defines this for functions which it implements
36708 to always fail with ENOSYS. Some functions are actually named
36709 something starting with __ and the normal name is an alias. */
36710 #if defined __stub_$ac_func || defined __stub___$ac_func
36717 return $ac_func ();
36722 rm -f conftest.
$ac_objext conftest
$ac_exeext
36723 if { (ac_try
="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36731 grep -v '^ *+' conftest.er1 >conftest.err
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest$ac_exeext &&
36739 $as_test_x conftest$ac_exeext; then
36740 eval "$as_ac_var=yes"
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36745 eval "$as_ac_var=no"
36748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36749 conftest$ac_exeext conftest.$ac_ext
36751 ac_res=`eval echo '${'$as_ac_var'}'`
36752 { echo "$as_me:$LINENO: result: $ac_res" >&5
36753 echo "${ECHO_T}$ac_res" >&6; }
36754 if test `eval echo '${'$as_ac_var'}'` = yes; then
36755 cat >>confdefs.h <<_ACEOF
36756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763 { echo "$as_me:$LINENO: checking for statfs" >&5
36764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36765 if test "${wx_cv_func_statfs+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 cat >conftest.$ac_ext <<_ACEOF
36771 cat confdefs.h >>conftest.$ac_ext
36772 cat >>conftest.$ac_ext <<_ACEOF
36773 /* end confdefs.h. */
36775 #if defined(__BSD__)
36776 #include <sys/param.h>
36777 #include <sys/mount.h>
36779 #include <sys/vfs.h>
36797 rm -f conftest.$ac_objext
36798 if { (ac_try="$ac_compile"
36799 case "(($ac_try" in
36800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36801 *) ac_try_echo
=$ac_try;;
36803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36804 (eval "$ac_compile") 2>conftest.er1
36806 grep -v '^ *+' conftest.er1
>conftest.err
36808 cat conftest.err
>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } && {
36811 test -z "$ac_c_werror_flag" ||
36812 test ! -s conftest.err
36813 } && test -s conftest.
$ac_objext; then
36814 wx_cv_func_statfs
=yes
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.
$ac_ext >&5
36819 wx_cv_func_statfs
=no
36823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36829 if test "$wx_cv_func_statfs" = "yes"; then
36830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36832 if test "${wx_cv_func_statfs_decl+set}" = set; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36836 ac_cpp
='$CXXCPP $CPPFLAGS'
36837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36841 cat >conftest.
$ac_ext <<_ACEOF
36844 cat confdefs.h
>>conftest.
$ac_ext
36845 cat >>conftest.
$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36848 #if defined(__BSD__)
36849 #include <sys/param.h>
36850 #include <sys/mount.h>
36852 #include <sys/vfs.h>
36866 rm -f conftest.
$ac_objext
36867 if { (ac_try
="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36875 grep -v '^ *+' conftest.er1 >conftest.err
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_func_statfs_decl=yes
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36888 wx_cv_func_statfs_decl=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36904 if test "$wx_cv_func_statfs_decl" = "yes"; then
36905 cat >>confdefs.h <<\_ACEOF
36906 #define HAVE_STATFS_DECL 1
36911 wx_cv_type_statvfs_t="struct statfs"
36912 cat >>confdefs.h <<\_ACEOF
36913 #define HAVE_STATFS 1
36917 { echo "$as_me:$LINENO: checking for statvfs" >&5
36918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36919 if test "${wx_cv_func_statvfs+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 cat >conftest.$ac_ext <<_ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36929 #include <stddef.h>
36930 #include <sys/statvfs.h>
36936 statvfs("/", NULL);
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36946 *) ac_try_echo
=$ac_try;;
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36951 grep -v '^ *+' conftest.er1
>conftest.err
36953 cat conftest.err
>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_c_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.
$ac_objext; then
36959 wx_cv_func_statvfs
=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 wx_cv_func_statvfs
=no
36968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36974 if test "$wx_cv_func_statvfs" = "yes"; then
36975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36977 if test "${wx_cv_type_statvfs_t+set}" = set; then
36978 echo $ECHO_N "(cached) $ECHO_C" >&6
36981 ac_cpp
='$CXXCPP $CPPFLAGS'
36982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36986 cat >conftest.
$ac_ext <<_ACEOF
36989 cat confdefs.h
>>conftest.
$ac_ext
36990 cat >>conftest.
$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36993 #include <sys/statvfs.h>
37010 rm -f conftest.
$ac_objext
37011 if { (ac_try
="$ac_compile"
37012 case "(($ac_try" in
37013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37014 *) ac_try_echo=$ac_try;;
37016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37017 (eval "$ac_compile") 2>conftest.er1
37019 grep -v '^ *+' conftest.er1 >conftest.err
37021 cat conftest.err >&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); } && {
37024 test -z "$ac_cxx_werror_flag" ||
37025 test ! -s conftest.err
37026 } && test -s conftest.$ac_objext; then
37027 wx_cv_type_statvfs_t=statvfs_t
37029 echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37033 cat >conftest.$ac_ext <<_ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37040 #include <sys/statvfs.h>
37057 rm -f conftest.$ac_objext
37058 if { (ac_try="$ac_compile"
37059 case "(($ac_try" in
37060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37061 *) ac_try_echo
=$ac_try;;
37063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37064 (eval "$ac_compile") 2>conftest.er1
37066 grep -v '^ *+' conftest.er1
>conftest.err
37068 cat conftest.err
>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } && {
37071 test -z "$ac_cxx_werror_flag" ||
37072 test ! -s conftest.err
37073 } && test -s conftest.
$ac_objext; then
37074 wx_cv_type_statvfs_t
="struct statvfs"
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.
$ac_ext >&5
37079 wx_cv_type_statvfs_t
="unknown"
37083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37090 ac_cpp
='$CPP $CPPFLAGS'
37091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37101 cat >>confdefs.h
<<\_ACEOF
37102 #define HAVE_STATVFS 1
37107 wx_cv_type_statvfs_t
="unknown"
37111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37112 cat >>confdefs.h
<<_ACEOF
37113 #define WX_STATFS_T $wx_cv_type_statvfs_t
37117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37124 for ac_func
in fcntl flock
37126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37129 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 cat >conftest.
$ac_ext <<_ACEOF
37135 cat confdefs.h
>>conftest.
$ac_ext
37136 cat >>conftest.
$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37148 # include <limits.h>
37150 # include <assert.h>
37155 /* Override any GCC internal prototype to avoid an error.
37156 Use char because int might match the return type of a GCC
37157 builtin and then its argument prototype would still apply. */
37162 /* The GNU C library defines this for functions which it implements
37163 to always fail with ENOSYS. Some functions are actually named
37164 something starting with __ and the normal name is an alias. */
37165 #if defined __stub_$ac_func || defined __stub___$ac_func
37172 return $ac_func ();
37177 rm -f conftest.
$ac_objext conftest
$ac_exeext
37178 if { (ac_try
="$ac_link"
37179 case "(($ac_try" in
37180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37181 *) ac_try_echo=$ac_try;;
37183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37184 (eval "$ac_link") 2>conftest.er1
37186 grep -v '^ *+' conftest.er1 >conftest.err
37188 cat conftest.err >&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } && {
37191 test -z "$ac_c_werror_flag" ||
37192 test ! -s conftest.err
37193 } && test -s conftest$ac_exeext &&
37194 $as_test_x conftest$ac_exeext; then
37195 eval "$as_ac_var=yes"
37197 echo "$as_me: failed program was:" >&5
37198 sed 's/^/| /' conftest.$ac_ext >&5
37200 eval "$as_ac_var=no"
37203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37204 conftest$ac_exeext conftest.$ac_ext
37206 ac_res=`eval echo '${'$as_ac_var'}'`
37207 { echo "$as_me:$LINENO: result: $ac_res" >&5
37208 echo "${ECHO_T}$ac_res" >&6; }
37209 if test `eval echo '${'$as_ac_var'}'` = yes; then
37210 cat >>confdefs.h <<_ACEOF
37211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37221 wxUSE_SNGLINST_CHECKER=no
37227 for ac_func in setenv putenv
37229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 cat >conftest.$ac_ext <<_ACEOF
37238 cat confdefs.h >>conftest.$ac_ext
37239 cat >>conftest.$ac_ext <<_ACEOF
37240 /* end confdefs.h. */
37241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37243 #define $ac_func innocuous_$ac_func
37245 /* System header to define __stub macros and hopefully few prototypes,
37246 which can conflict with char $ac_func (); below.
37247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37248 <limits.h> exists even on freestanding compilers. */
37251 # include <limits.h>
37253 # include <assert.h>
37258 /* Override any GCC internal prototype to avoid an error.
37259 Use char because int might match the return type of a GCC
37260 builtin and then its argument prototype would still apply. */
37265 /* The GNU C library defines this for functions which it implements
37266 to always fail with ENOSYS. Some functions are actually named
37267 something starting with __ and the normal name is an alias. */
37268 #if defined __stub_$ac_func || defined __stub___$ac_func
37275 return $ac_func ();
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37284 *) ac_try_echo
=$ac_try;;
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37289 grep -v '^ *+' conftest.er1
>conftest.err
37291 cat conftest.err
>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest
$ac_exeext &&
37297 $as_test_x conftest
$ac_exeext; then
37298 eval "$as_ac_var=yes"
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.
$ac_ext >&5
37303 eval "$as_ac_var=no"
37306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37307 conftest
$ac_exeext conftest.
$ac_ext
37309 ac_res
=`eval echo '${'$as_ac_var'}'`
37310 { echo "$as_me:$LINENO: result: $ac_res" >&5
37311 echo "${ECHO_T}$ac_res" >&6; }
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h
<<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37320 if test "$ac_cv_func_setenv" = "yes"; then
37322 for ac_func
in unsetenv
37324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37327 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37328 echo $ECHO_N "(cached) $ECHO_C" >&6
37330 cat >conftest.
$ac_ext <<_ACEOF
37333 cat confdefs.h
>>conftest.
$ac_ext
37334 cat >>conftest.
$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37338 #define $ac_func innocuous_$ac_func
37340 /* System header to define __stub macros and hopefully few prototypes,
37341 which can conflict with char $ac_func (); below.
37342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37343 <limits.h> exists even on freestanding compilers. */
37346 # include <limits.h>
37348 # include <assert.h>
37353 /* Override any GCC internal prototype to avoid an error.
37354 Use char because int might match the return type of a GCC
37355 builtin and then its argument prototype would still apply. */
37360 /* The GNU C library defines this for functions which it implements
37361 to always fail with ENOSYS. Some functions are actually named
37362 something starting with __ and the normal name is an alias. */
37363 #if defined __stub_$ac_func || defined __stub___$ac_func
37370 return $ac_func ();
37375 rm -f conftest.
$ac_objext conftest
$ac_exeext
37376 if { (ac_try
="$ac_link"
37377 case "(($ac_try" in
37378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37379 *) ac_try_echo=$ac_try;;
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_link") 2>conftest.er1
37384 grep -v '^ *+' conftest.er1 >conftest.err
37386 cat conftest.err >&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } && {
37389 test -z "$ac_c_werror_flag" ||
37390 test ! -s conftest.err
37391 } && test -s conftest$ac_exeext &&
37392 $as_test_x conftest$ac_exeext; then
37393 eval "$as_ac_var=yes"
37395 echo "$as_me: failed program was:" >&5
37396 sed 's/^/| /' conftest.$ac_ext >&5
37398 eval "$as_ac_var=no"
37401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37402 conftest$ac_exeext conftest.$ac_ext
37404 ac_res=`eval echo '${'$as_ac_var'}'`
37405 { echo "$as_me:$LINENO: result: $ac_res" >&5
37406 echo "${ECHO_T}$ac_res" >&6; }
37407 if test `eval echo '${'$as_ac_var'}'` = yes; then
37408 cat >>confdefs.h <<_ACEOF
37409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37417 HAVE_SOME_SLEEP_FUNC=0
37418 if test "$USE_BEOS" = 1; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define HAVE_SLEEP 1
37423 HAVE_SOME_SLEEP_FUNC=1
37426 if test "$USE_DARWIN" = 1; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define HAVE_USLEEP 1
37431 HAVE_SOME_SLEEP_FUNC=1
37434 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37437 for ac_func in nanosleep
37439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 cat >conftest.$ac_ext <<_ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37453 #define $ac_func innocuous_$ac_func
37455 /* System header to define __stub macros and hopefully few prototypes,
37456 which can conflict with char $ac_func (); below.
37457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37458 <limits.h> exists even on freestanding compilers. */
37461 # include <limits.h>
37463 # include <assert.h>
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined __stub_$ac_func || defined __stub___$ac_func
37485 return $ac_func ();
37490 rm -f conftest.$ac_objext conftest$ac_exeext
37491 if { (ac_try="$ac_link"
37492 case "(($ac_try" in
37493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37494 *) ac_try_echo
=$ac_try;;
37496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37497 (eval "$ac_link") 2>conftest.er1
37499 grep -v '^ *+' conftest.er1
>conftest.err
37501 cat conftest.err
>&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } && {
37504 test -z "$ac_c_werror_flag" ||
37505 test ! -s conftest.err
37506 } && test -s conftest
$ac_exeext &&
37507 $as_test_x conftest
$ac_exeext; then
37508 eval "$as_ac_var=yes"
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.
$ac_ext >&5
37513 eval "$as_ac_var=no"
37516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37517 conftest
$ac_exeext conftest.
$ac_ext
37519 ac_res
=`eval echo '${'$as_ac_var'}'`
37520 { echo "$as_me:$LINENO: result: $ac_res" >&5
37521 echo "${ECHO_T}$ac_res" >&6; }
37522 if test `eval echo '${'$as_ac_var'}'` = yes; then
37523 cat >>confdefs.h
<<_ACEOF
37524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 cat >>confdefs.h
<<\_ACEOF
37527 #define HAVE_NANOSLEEP 1
37532 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37533 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37534 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 ac_check_lib_save_LIBS
=$LIBS
37538 LIBS
="-lposix4 $LIBS"
37539 cat >conftest.
$ac_ext <<_ACEOF
37542 cat confdefs.h
>>conftest.
$ac_ext
37543 cat >>conftest.
$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37546 /* Override any GCC internal prototype to avoid an error.
37547 Use char because int might match the return type of a GCC
37548 builtin and then its argument prototype would still apply. */
37556 return nanosleep ();
37561 rm -f conftest.
$ac_objext conftest
$ac_exeext
37562 if { (ac_try
="$ac_link"
37563 case "(($ac_try" in
37564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37565 *) ac_try_echo=$ac_try;;
37567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37568 (eval "$ac_link") 2>conftest.er1
37570 grep -v '^ *+' conftest.er1 >conftest.err
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } && {
37575 test -z "$ac_c_werror_flag" ||
37576 test ! -s conftest.err
37577 } && test -s conftest$ac_exeext &&
37578 $as_test_x conftest$ac_exeext; then
37579 ac_cv_lib_posix4_nanosleep=yes
37581 echo "$as_me: failed program was:" >&5
37582 sed 's/^/| /' conftest.$ac_ext >&5
37584 ac_cv_lib_posix4_nanosleep=no
37587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37588 conftest$ac_exeext conftest.$ac_ext
37589 LIBS=$ac_check_lib_save_LIBS
37591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37592 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37593 if test $ac_cv_lib_posix4_nanosleep = yes; then
37595 cat >>confdefs.h <<\_ACEOF
37596 #define HAVE_NANOSLEEP 1
37599 POSIX4_LINK=" -lposix4"
37604 for wx_func in usleep
37606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37612 cat >conftest.$ac_ext <<_ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37621 $ac_includes_default
37637 rm -f conftest.$ac_objext conftest$ac_exeext
37638 if { (ac_try="$ac_link"
37639 case "(($ac_try" in
37640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37641 *) ac_try_echo
=$ac_try;;
37643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37644 (eval "$ac_link") 2>conftest.er1
37646 grep -v '^ *+' conftest.er1
>conftest.err
37648 cat conftest.err
>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } && {
37651 test -z "$ac_c_werror_flag" ||
37652 test ! -s conftest.err
37653 } && test -s conftest
$ac_exeext &&
37654 $as_test_x conftest
$ac_exeext; then
37655 eval wx_cv_func_
$wx_func=yes
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.
$ac_ext >&5
37660 eval wx_cv_func_
$wx_func=no
37663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37664 conftest
$ac_exeext conftest.
$ac_ext
37667 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37668 { echo "$as_me:$LINENO: result: $ac_res" >&5
37669 echo "${ECHO_T}$ac_res" >&6; }
37671 if eval test \
$wx_cv_func_$wx_func = yes
37673 cat >>confdefs.h
<<_ACEOF
37674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37680 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37681 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37698 for wx_func
in uname
37700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37702 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 cat >conftest.
$ac_ext <<_ACEOF
37710 cat confdefs.h
>>conftest.
$ac_ext
37711 cat >>conftest.
$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37714 #include <sys/utsname.h>
37715 $ac_includes_default
37731 rm -f conftest.
$ac_objext conftest
$ac_exeext
37732 if { (ac_try
="$ac_link"
37733 case "(($ac_try" in
37734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37735 *) ac_try_echo=$ac_try;;
37737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37738 (eval "$ac_link") 2>conftest.er1
37740 grep -v '^ *+' conftest.er1 >conftest.err
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } && {
37745 test -z "$ac_c_werror_flag" ||
37746 test ! -s conftest.err
37747 } && test -s conftest$ac_exeext &&
37748 $as_test_x conftest$ac_exeext; then
37749 eval wx_cv_func_$wx_func=yes
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37754 eval wx_cv_func_$wx_func=no
37757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37758 conftest$ac_exeext conftest.$ac_ext
37761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37762 { echo "$as_me:$LINENO: result: $ac_res" >&5
37763 echo "${ECHO_T}$ac_res" >&6; }
37765 if eval test \$wx_cv_func_$wx_func = yes
37767 cat >>confdefs.h <<_ACEOF
37768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37778 if test "$wx_cv_func_uname" != yes; then
37780 for wx_func in gethostname
37782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37788 cat >conftest.$ac_ext <<_ACEOF
37792 cat confdefs.h >>conftest.$ac_ext
37793 cat >>conftest.$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37797 $ac_includes_default
37813 rm -f conftest.$ac_objext conftest$ac_exeext
37814 if { (ac_try="$ac_link"
37815 case "(($ac_try" in
37816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37817 *) ac_try_echo
=$ac_try;;
37819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37820 (eval "$ac_link") 2>conftest.er1
37822 grep -v '^ *+' conftest.er1
>conftest.err
37824 cat conftest.err
>&5
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); } && {
37827 test -z "$ac_c_werror_flag" ||
37828 test ! -s conftest.err
37829 } && test -s conftest
$ac_exeext &&
37830 $as_test_x conftest
$ac_exeext; then
37831 eval wx_cv_func_
$wx_func=yes
37833 echo "$as_me: failed program was:" >&5
37834 sed 's/^/| /' conftest.
$ac_ext >&5
37836 eval wx_cv_func_
$wx_func=no
37839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37840 conftest
$ac_exeext conftest.
$ac_ext
37843 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37844 { echo "$as_me:$LINENO: result: $ac_res" >&5
37845 echo "${ECHO_T}$ac_res" >&6; }
37847 if eval test \
$wx_cv_func_$wx_func = yes
37849 cat >>confdefs.h
<<_ACEOF
37850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37863 for wx_func
in strtok_r
37865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37867 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37871 cat >conftest.
$ac_ext <<_ACEOF
37875 cat confdefs.h
>>conftest.
$ac_ext
37876 cat >>conftest.
$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37880 $ac_includes_default
37896 rm -f conftest.
$ac_objext conftest
$ac_exeext
37897 if { (ac_try
="$ac_link"
37898 case "(($ac_try" in
37899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37900 *) ac_try_echo=$ac_try;;
37902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37903 (eval "$ac_link") 2>conftest.er1
37905 grep -v '^ *+' conftest.er1 >conftest.err
37907 cat conftest.err >&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); } && {
37910 test -z "$ac_c_werror_flag" ||
37911 test ! -s conftest.err
37912 } && test -s conftest$ac_exeext &&
37913 $as_test_x conftest$ac_exeext; then
37914 eval wx_cv_func_$wx_func=yes
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37919 eval wx_cv_func_$wx_func=no
37922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37923 conftest$ac_exeext conftest.$ac_ext
37926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37930 if eval test \$wx_cv_func_$wx_func = yes
37932 cat >>confdefs.h <<_ACEOF
37933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37946 for ac_func in inet_addr
37948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 cat >conftest.$ac_ext <<_ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37962 #define $ac_func innocuous_$ac_func
37964 /* System header to define __stub macros and hopefully few prototypes,
37965 which can conflict with char $ac_func (); below.
37966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37967 <limits.h> exists even on freestanding compilers. */
37970 # include <limits.h>
37972 # include <assert.h>
37977 /* Override any GCC internal prototype to avoid an error.
37978 Use char because int might match the return type of a GCC
37979 builtin and then its argument prototype would still apply. */
37984 /* The GNU C library defines this for functions which it implements
37985 to always fail with ENOSYS. Some functions are actually named
37986 something starting with __ and the normal name is an alias. */
37987 #if defined __stub_$ac_func || defined __stub___$ac_func
37994 return $ac_func ();
37999 rm -f conftest.$ac_objext conftest$ac_exeext
38000 if { (ac_try="$ac_link"
38001 case "(($ac_try" in
38002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38003 *) ac_try_echo
=$ac_try;;
38005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38006 (eval "$ac_link") 2>conftest.er1
38008 grep -v '^ *+' conftest.er1
>conftest.err
38010 cat conftest.err
>&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } && {
38013 test -z "$ac_c_werror_flag" ||
38014 test ! -s conftest.err
38015 } && test -s conftest
$ac_exeext &&
38016 $as_test_x conftest
$ac_exeext; then
38017 eval "$as_ac_var=yes"
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.
$ac_ext >&5
38022 eval "$as_ac_var=no"
38025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38026 conftest
$ac_exeext conftest.
$ac_ext
38028 ac_res
=`eval echo '${'$as_ac_var'}'`
38029 { echo "$as_me:$LINENO: result: $ac_res" >&5
38030 echo "${ECHO_T}$ac_res" >&6; }
38031 if test `eval echo '${'$as_ac_var'}'` = yes; then
38032 cat >>confdefs.h
<<_ACEOF
38033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38035 cat >>confdefs.h
<<\_ACEOF
38036 #define HAVE_INET_ADDR 1
38041 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38044 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 ac_check_lib_save_LIBS
=$LIBS
38048 cat >conftest.
$ac_ext <<_ACEOF
38051 cat confdefs.h
>>conftest.
$ac_ext
38052 cat >>conftest.
$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38055 /* Override any GCC internal prototype to avoid an error.
38056 Use char because int might match the return type of a GCC
38057 builtin and then its argument prototype would still apply. */
38065 return inet_addr ();
38070 rm -f conftest.
$ac_objext conftest
$ac_exeext
38071 if { (ac_try
="$ac_link"
38072 case "(($ac_try" in
38073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38074 *) ac_try_echo=$ac_try;;
38076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38077 (eval "$ac_link") 2>conftest.er1
38079 grep -v '^ *+' conftest.er1 >conftest.err
38081 cat conftest.err >&5
38082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38083 (exit $ac_status); } && {
38084 test -z "$ac_c_werror_flag" ||
38085 test ! -s conftest.err
38086 } && test -s conftest$ac_exeext &&
38087 $as_test_x conftest$ac_exeext; then
38088 ac_cv_lib_nsl_inet_addr=yes
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38093 ac_cv_lib_nsl_inet_addr=no
38096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38097 conftest$ac_exeext conftest.$ac_ext
38098 LIBS=$ac_check_lib_save_LIBS
38100 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38102 if test $ac_cv_lib_nsl_inet_addr = yes; then
38106 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 ac_check_lib_save_LIBS=$LIBS
38112 LIBS="-lresolv $LIBS"
38113 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38120 /* Override any GCC internal prototype to avoid an error.
38121 Use char because int might match the return type of a GCC
38122 builtin and then its argument prototype would still apply. */
38130 return inet_addr ();
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (ac_try="$ac_link"
38137 case "(($ac_try" in
38138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38139 *) ac_try_echo
=$ac_try;;
38141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38142 (eval "$ac_link") 2>conftest.er1
38144 grep -v '^ *+' conftest.er1
>conftest.err
38146 cat conftest.err
>&5
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); } && {
38149 test -z "$ac_c_werror_flag" ||
38150 test ! -s conftest.err
38151 } && test -s conftest
$ac_exeext &&
38152 $as_test_x conftest
$ac_exeext; then
38153 ac_cv_lib_resolv_inet_addr
=yes
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.
$ac_ext >&5
38158 ac_cv_lib_resolv_inet_addr
=no
38161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38162 conftest
$ac_exeext conftest.
$ac_ext
38163 LIBS
=$ac_check_lib_save_LIBS
38165 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38166 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38167 if test $ac_cv_lib_resolv_inet_addr = yes; then
38171 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38172 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38173 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 ac_check_lib_save_LIBS
=$LIBS
38177 LIBS
="-lsocket $LIBS"
38178 cat >conftest.
$ac_ext <<_ACEOF
38181 cat confdefs.h
>>conftest.
$ac_ext
38182 cat >>conftest.
$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38185 /* Override any GCC internal prototype to avoid an error.
38186 Use char because int might match the return type of a GCC
38187 builtin and then its argument prototype would still apply. */
38195 return inet_addr ();
38200 rm -f conftest.
$ac_objext conftest
$ac_exeext
38201 if { (ac_try
="$ac_link"
38202 case "(($ac_try" in
38203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_link") 2>conftest.er1
38209 grep -v '^ *+' conftest.er1 >conftest.err
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest$ac_exeext &&
38217 $as_test_x conftest$ac_exeext; then
38218 ac_cv_lib_socket_inet_addr=yes
38220 echo "$as_me: failed program was:" >&5
38221 sed 's/^/| /' conftest.$ac_ext >&5
38223 ac_cv_lib_socket_inet_addr=no
38226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38227 conftest$ac_exeext conftest.$ac_ext
38228 LIBS=$ac_check_lib_save_LIBS
38230 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38231 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38232 if test $ac_cv_lib_socket_inet_addr = yes; then
38252 for ac_func in inet_aton
38254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 cat >conftest.$ac_ext <<_ACEOF
38263 cat confdefs.h >>conftest.$ac_ext
38264 cat >>conftest.$ac_ext <<_ACEOF
38265 /* end confdefs.h. */
38266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38268 #define $ac_func innocuous_$ac_func
38270 /* System header to define __stub macros and hopefully few prototypes,
38271 which can conflict with char $ac_func (); below.
38272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38273 <limits.h> exists even on freestanding compilers. */
38276 # include <limits.h>
38278 # include <assert.h>
38283 /* Override any GCC internal prototype to avoid an error.
38284 Use char because int might match the return type of a GCC
38285 builtin and then its argument prototype would still apply. */
38290 /* The GNU C library defines this for functions which it implements
38291 to always fail with ENOSYS. Some functions are actually named
38292 something starting with __ and the normal name is an alias. */
38293 #if defined __stub_$ac_func || defined __stub___$ac_func
38300 return $ac_func ();
38305 rm -f conftest.$ac_objext conftest$ac_exeext
38306 if { (ac_try="$ac_link"
38307 case "(($ac_try" in
38308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38309 *) ac_try_echo
=$ac_try;;
38311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38312 (eval "$ac_link") 2>conftest.er1
38314 grep -v '^ *+' conftest.er1
>conftest.err
38316 cat conftest.err
>&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } && {
38319 test -z "$ac_c_werror_flag" ||
38320 test ! -s conftest.err
38321 } && test -s conftest
$ac_exeext &&
38322 $as_test_x conftest
$ac_exeext; then
38323 eval "$as_ac_var=yes"
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.
$ac_ext >&5
38328 eval "$as_ac_var=no"
38331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38332 conftest
$ac_exeext conftest.
$ac_ext
38334 ac_res
=`eval echo '${'$as_ac_var'}'`
38335 { echo "$as_me:$LINENO: result: $ac_res" >&5
38336 echo "${ECHO_T}$ac_res" >&6; }
38337 if test `eval echo '${'$as_ac_var'}'` = yes; then
38338 cat >>confdefs.h
<<_ACEOF
38339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 cat >>confdefs.h
<<\_ACEOF
38342 #define HAVE_INET_ATON 1
38347 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38348 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38349 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38350 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 ac_check_lib_save_LIBS
=$LIBS
38354 LIBS
="-l$INET_LINK $LIBS"
38355 cat >conftest.
$ac_ext <<_ACEOF
38358 cat confdefs.h
>>conftest.
$ac_ext
38359 cat >>conftest.
$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38362 /* Override any GCC internal prototype to avoid an error.
38363 Use char because int might match the return type of a GCC
38364 builtin and then its argument prototype would still apply. */
38372 return inet_aton ();
38377 rm -f conftest.
$ac_objext conftest
$ac_exeext
38378 if { (ac_try
="$ac_link"
38379 case "(($ac_try" in
38380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38381 *) ac_try_echo=$ac_try;;
38383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38384 (eval "$ac_link") 2>conftest.er1
38386 grep -v '^ *+' conftest.er1 >conftest.err
38388 cat conftest.err >&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } && {
38391 test -z "$ac_c_werror_flag" ||
38392 test ! -s conftest.err
38393 } && test -s conftest$ac_exeext &&
38394 $as_test_x conftest$ac_exeext; then
38395 eval "$as_ac_Lib=yes"
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38400 eval "$as_ac_Lib=no"
38403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38404 conftest$ac_exeext conftest.$ac_ext
38405 LIBS=$ac_check_lib_save_LIBS
38407 ac_res=`eval echo '${'$as_ac_Lib'}'`
38408 { echo "$as_me:$LINENO: result: $ac_res" >&5
38409 echo "${ECHO_T}$ac_res" >&6; }
38410 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_INET_ATON 1
38422 if test "x$INET_LINK" != "x"; then
38423 cat >>confdefs.h <<\_ACEOF
38424 #define HAVE_INET_ADDR 1
38427 INET_LINK=" -l$INET_LINK"
38431 for wx_func in fdopen
38433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38436 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38448 $ac_includes_default
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38468 *) ac_try_echo
=$ac_try;;
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38473 grep -v '^ *+' conftest.er1
>conftest.err
38475 cat conftest.err
>&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest
$ac_exeext &&
38481 $as_test_x conftest
$ac_exeext; then
38482 eval wx_cv_func_
$wx_func=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.
$ac_ext >&5
38487 eval wx_cv_func_
$wx_func=no
38490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38491 conftest
$ac_exeext conftest.
$ac_ext
38494 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38495 { echo "$as_me:$LINENO: result: $ac_res" >&5
38496 echo "${ECHO_T}$ac_res" >&6; }
38498 if eval test \
$wx_cv_func_$wx_func = yes
38500 cat >>confdefs.h
<<_ACEOF
38501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38512 if test "$wxUSE_TARSTREAM" = "yes"; then
38514 for wx_func
in sysconf
38516 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38518 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 cat >conftest.
$ac_ext <<_ACEOF
38526 cat confdefs.h
>>conftest.
$ac_ext
38527 cat >>conftest.
$ac_ext <<_ACEOF
38528 /* end confdefs.h. */
38531 $ac_includes_default
38547 rm -f conftest.
$ac_objext conftest
$ac_exeext
38548 if { (ac_try
="$ac_link"
38549 case "(($ac_try" in
38550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38551 *) ac_try_echo=$ac_try;;
38553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38554 (eval "$ac_link") 2>conftest.er1
38556 grep -v '^ *+' conftest.er1 >conftest.err
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } && {
38561 test -z "$ac_c_werror_flag" ||
38562 test ! -s conftest.err
38563 } && test -s conftest$ac_exeext &&
38564 $as_test_x conftest$ac_exeext; then
38565 eval wx_cv_func_$wx_func=yes
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38570 eval wx_cv_func_$wx_func=no
38573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38574 conftest$ac_exeext conftest.$ac_ext
38577 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38578 { echo "$as_me:$LINENO: result: $ac_res" >&5
38579 echo "${ECHO_T}$ac_res" >&6; }
38581 if eval test \$wx_cv_func_$wx_func = yes
38583 cat >>confdefs.h <<_ACEOF
38584 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38596 for wx_func in getpwuid_r
38598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 cat >conftest.$ac_ext <<_ACEOF
38608 cat confdefs.h >>conftest.$ac_ext
38609 cat >>conftest.$ac_ext <<_ACEOF
38610 /* end confdefs.h. */
38616 $ac_includes_default
38626 struct passwd pw, *ppw;
38628 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38636 rm -f conftest.$ac_objext conftest$ac_exeext
38637 if { (ac_try="$ac_link"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38640 *) ac_try_echo
=$ac_try;;
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_link") 2>conftest.er1
38645 grep -v '^ *+' conftest.er1
>conftest.err
38647 cat conftest.err
>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest
$ac_exeext &&
38653 $as_test_x conftest
$ac_exeext; then
38654 eval wx_cv_func_
$wx_func=yes
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.
$ac_ext >&5
38659 eval wx_cv_func_
$wx_func=no
38662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38663 conftest
$ac_exeext conftest.
$ac_ext
38666 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38667 { echo "$as_me:$LINENO: result: $ac_res" >&5
38668 echo "${ECHO_T}$ac_res" >&6; }
38670 if eval test \
$wx_cv_func_$wx_func = yes
38672 cat >>confdefs.h
<<_ACEOF
38673 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38685 for wx_func
in getgrgid_r
38687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38689 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 cat >conftest.
$ac_ext <<_ACEOF
38697 cat confdefs.h
>>conftest.
$ac_ext
38698 cat >>conftest.
$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38705 $ac_includes_default
38715 struct group grp, *pgrp;
38717 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38725 rm -f conftest.
$ac_objext conftest
$ac_exeext
38726 if { (ac_try
="$ac_link"
38727 case "(($ac_try" in
38728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38729 *) ac_try_echo=$ac_try;;
38731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38732 (eval "$ac_link") 2>conftest.er1
38734 grep -v '^ *+' conftest.er1 >conftest.err
38736 cat conftest.err >&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } && {
38739 test -z "$ac_c_werror_flag" ||
38740 test ! -s conftest.err
38741 } && test -s conftest$ac_exeext &&
38742 $as_test_x conftest$ac_exeext; then
38743 eval wx_cv_func_$wx_func=yes
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38748 eval wx_cv_func_$wx_func=no
38751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38752 conftest$ac_exeext conftest.$ac_ext
38755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38756 { echo "$as_me:$LINENO: result: $ac_res" >&5
38757 echo "${ECHO_T}$ac_res" >&6; }
38759 if eval test \$wx_cv_func_$wx_func = yes
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38778 cat >confcache <<\_ACEOF
38779 # This file is a shell script that caches the results of configure
38780 # tests run on this system so they can be shared between configure
38781 # scripts and configure runs, see configure's option --config-cache.
38782 # It is not useful on other systems. If it contains results you don't
38783 # want to keep, you may remove or edit it.
38785 # config.status only pays attention to the cache file if you give it
38786 # the --recheck option to rerun configure.
38788 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38790 # following values.
38794 # The following way of writing the cache mishandles newlines in values,
38795 # but we know of no workaround that is simple, portable, and efficient.
38796 # So, we kill variables containing newlines.
38797 # Ultrix sh set writes to stderr and can't be redirected directly,
38798 # and sets the high bit in the cache file unless we assign to the vars.
38800 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38801 eval ac_val
=\$
$ac_var
38805 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38809 _
| IFS
| as_nl
) ;; #(
38810 *) $as_unset $ac_var ;;
38816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38817 *${as_nl}ac_space
=\
*)
38818 # `set' does not quote correctly, so add quotes (double-quote
38819 # substitution turns \\\\ into \\, and sed turns \\ into \).
38822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38825 # `set' quotes correctly as required by POSIX, so do not add quotes.
38826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38839 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38840 if test -w "$cache_file"; then
38841 test "x$cache_file" != "x/dev/null" &&
38842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38843 echo "$as_me: updating cache $cache_file" >&6;}
38844 cat confcache
>$cache_file
38846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38853 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38859 if test "$wxUSE_THREADS" = "yes" ; then
38860 if test "$USE_BEOS" = 1; then
38861 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38862 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38867 if test "$wxUSE_THREADS" = "yes" ; then
38870 THREAD_OPTS
="-pthread"
38871 if test "x$SUNCXX" = xyes
; then
38872 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38876 *-*-solaris2* | *-*-sunos4* )
38877 if test "x$GCC" = "xyes"; then
38878 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38882 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38884 *-*-darwin* | *-*-cygwin* )
38888 THREAD_OPTS
="pthreads"
38891 if test "x$GCC" = "xyes"; then
38892 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38900 if test "x$GCC" = "xyes"; then
38906 if test "x$GCC" != "xyes"; then
38907 THREAD_OPTS
="-Ethread"
38912 THREAD_OPTS
="$THREAD_OPTS pthread none"
38915 for flag
in $THREAD_OPTS; do
38918 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38919 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38923 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38924 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38925 THREADS_CFLAGS
="$flag"
38929 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38930 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38931 THREADS_LINK
="-l$flag"
38936 save_CFLAGS
="$CFLAGS"
38937 LIBS
="$THREADS_LINK $LIBS"
38938 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38940 cat >conftest.
$ac_ext <<_ACEOF
38943 cat confdefs.h
>>conftest.
$ac_ext
38944 cat >>conftest.
$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 #include <pthread.h>
38950 pthread_create(0,0,0,0);
38955 rm -f conftest.
$ac_objext conftest
$ac_exeext
38956 if { (ac_try
="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38964 grep -v '^ *+' conftest.er1 >conftest.err
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38985 CFLAGS="$save_CFLAGS"
38987 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38988 echo "${ECHO_T}$THREADS_OK" >&6; }
38989 if test "x$THREADS_OK" = "xyes"; then
38997 if test "x$THREADS_OK" != "xyes"; then
38999 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39000 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39002 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39003 LIBS="$THREADS_LINK $LIBS"
39005 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39006 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39010 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39011 flag="-D_THREAD_SAFE"
39014 flag="-D_THREAD_SAFE"
39017 flag="-D_REENTRANT"
39018 if test "x$GCC" != "xyes"; then
39019 flag="$flag -D_RWSTD_MULTI_THREAD"
39022 *solaris* | alpha*-osf*)
39023 flag="-D_REENTRANT"
39026 { echo "$as_me:$LINENO: result: ${flag}" >&5
39027 echo "${ECHO_T}${flag}" >&6; }
39028 if test "x$flag" != xno; then
39029 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39032 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39036 if test "$wxUSE_THREADS" = "yes" ; then
39038 for ac_func in thr_setconcurrency
39040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39041 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39043 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39044 echo $ECHO_N "(cached) $ECHO_C" >&6
39046 cat >conftest.$ac_ext <<_ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39054 #define $ac_func innocuous_$ac_func
39056 /* System header to define __stub macros and hopefully few prototypes,
39057 which can conflict with char $ac_func (); below.
39058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39059 <limits.h> exists even on freestanding compilers. */
39062 # include <limits.h>
39064 # include <assert.h>
39069 /* Override any GCC internal prototype to avoid an error.
39070 Use char because int might match the return type of a GCC
39071 builtin and then its argument prototype would still apply. */
39076 /* The GNU C library defines this for functions which it implements
39077 to always fail with ENOSYS. Some functions are actually named
39078 something starting with __ and the normal name is an alias. */
39079 #if defined __stub_$ac_func || defined __stub___$ac_func
39086 return $ac_func ();
39091 rm -f conftest.$ac_objext conftest$ac_exeext
39092 if { (ac_try="$ac_link"
39093 case "(($ac_try" in
39094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39095 *) ac_try_echo
=$ac_try;;
39097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39098 (eval "$ac_link") 2>conftest.er1
39100 grep -v '^ *+' conftest.er1
>conftest.err
39102 cat conftest.err
>&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); } && {
39105 test -z "$ac_c_werror_flag" ||
39106 test ! -s conftest.err
39107 } && test -s conftest
$ac_exeext &&
39108 $as_test_x conftest
$ac_exeext; then
39109 eval "$as_ac_var=yes"
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.
$ac_ext >&5
39114 eval "$as_ac_var=no"
39117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39118 conftest
$ac_exeext conftest.
$ac_ext
39120 ac_res
=`eval echo '${'$as_ac_var'}'`
39121 { echo "$as_me:$LINENO: result: $ac_res" >&5
39122 echo "${ECHO_T}$ac_res" >&6; }
39123 if test `eval echo '${'$as_ac_var'}'` = yes; then
39124 cat >>confdefs.h
<<_ACEOF
39125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39132 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39133 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39134 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 ac_cpp
='$CXXCPP $CPPFLAGS'
39140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39144 cat >conftest.
$ac_ext <<_ACEOF
39147 cat confdefs.h
>>conftest.
$ac_ext
39148 cat >>conftest.
$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39150 #include <pthread.h>
39151 void ThreadCleanupFunc(void *p);
39158 pthread_cleanup_push(ThreadCleanupFunc, p);
39159 pthread_cleanup_pop(0);
39165 rm -f conftest.
$ac_objext
39166 if { (ac_try
="$ac_compile"
39167 case "(($ac_try" in
39168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39169 *) ac_try_echo=$ac_try;;
39171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39172 (eval "$ac_compile") 2>conftest.er1
39174 grep -v '^ *+' conftest.er1 >conftest.err
39176 cat conftest.err >&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } && {
39179 test -z "$ac_cxx_werror_flag" ||
39180 test ! -s conftest.err
39181 } && test -s conftest.$ac_objext; then
39183 wx_cv_func_pthread_cleanup=yes
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39190 wx_cv_func_pthread_cleanup=no
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39205 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39206 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39207 cat >>confdefs.h <<\_ACEOF
39208 #define wxHAVE_PTHREAD_CLEANUP 1
39214 for ac_header in sched.h
39216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39220 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 cat >conftest.$ac_ext <<_ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 $ac_includes_default
39230 #include <$ac_header>
39232 rm -f conftest.$ac_objext
39233 if { (ac_try="$ac_compile"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39236 *) ac_try_echo
=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_compile") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest.
$ac_objext; then
39249 eval "$as_ac_Header=yes"
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.
$ac_ext >&5
39254 eval "$as_ac_Header=no"
39257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39259 ac_res
=`eval echo '${'$as_ac_Header'}'`
39260 { echo "$as_me:$LINENO: result: $ac_res" >&5
39261 echo "${ECHO_T}$ac_res" >&6; }
39262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39263 cat >>confdefs.h
<<_ACEOF
39264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39271 if test "$ac_cv_header_sched_h" = "yes"; then
39272 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39273 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39274 if test "${ac_cv_func_sched_yield+set}" = set; then
39275 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 cat >conftest.
$ac_ext <<_ACEOF
39280 cat confdefs.h
>>conftest.
$ac_ext
39281 cat >>conftest.
$ac_ext <<_ACEOF
39282 /* end confdefs.h. */
39283 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39285 #define sched_yield innocuous_sched_yield
39287 /* System header to define __stub macros and hopefully few prototypes,
39288 which can conflict with char sched_yield (); below.
39289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39290 <limits.h> exists even on freestanding compilers. */
39293 # include <limits.h>
39295 # include <assert.h>
39300 /* Override any GCC internal prototype to avoid an error.
39301 Use char because int might match the return type of a GCC
39302 builtin and then its argument prototype would still apply. */
39306 char sched_yield ();
39307 /* The GNU C library defines this for functions which it implements
39308 to always fail with ENOSYS. Some functions are actually named
39309 something starting with __ and the normal name is an alias. */
39310 #if defined __stub_sched_yield || defined __stub___sched_yield
39317 return sched_yield ();
39322 rm -f conftest.
$ac_objext conftest
$ac_exeext
39323 if { (ac_try
="$ac_link"
39324 case "(($ac_try" in
39325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39326 *) ac_try_echo=$ac_try;;
39328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39329 (eval "$ac_link") 2>conftest.er1
39331 grep -v '^ *+' conftest.er1 >conftest.err
39333 cat conftest.err >&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } && {
39336 test -z "$ac_c_werror_flag" ||
39337 test ! -s conftest.err
39338 } && test -s conftest$ac_exeext &&
39339 $as_test_x conftest$ac_exeext; then
39340 ac_cv_func_sched_yield=yes
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39345 ac_cv_func_sched_yield=no
39348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39349 conftest$ac_exeext conftest.$ac_ext
39351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39352 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39353 if test $ac_cv_func_sched_yield = yes; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define HAVE_SCHED_YIELD 1
39360 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39361 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39362 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39365 ac_check_lib_save_LIBS=$LIBS
39366 LIBS="-lposix4 $LIBS"
39367 cat >conftest.$ac_ext <<_ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39380 char sched_yield ();
39384 return sched_yield ();
39389 rm -f conftest.$ac_objext conftest$ac_exeext
39390 if { (ac_try="$ac_link"
39391 case "(($ac_try" in
39392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39393 *) ac_try_echo
=$ac_try;;
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_link") 2>conftest.er1
39398 grep -v '^ *+' conftest.er1
>conftest.err
39400 cat conftest.err
>&5
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); } && {
39403 test -z "$ac_c_werror_flag" ||
39404 test ! -s conftest.err
39405 } && test -s conftest
$ac_exeext &&
39406 $as_test_x conftest
$ac_exeext; then
39407 ac_cv_lib_posix4_sched_yield
=yes
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.
$ac_ext >&5
39412 ac_cv_lib_posix4_sched_yield
=no
39415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39416 conftest
$ac_exeext conftest.
$ac_ext
39417 LIBS
=$ac_check_lib_save_LIBS
39419 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39420 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39421 if test $ac_cv_lib_posix4_sched_yield = yes; then
39422 cat >>confdefs.h
<<\_ACEOF
39423 #define HAVE_SCHED_YIELD 1
39425 POSIX4_LINK
=" -lposix4"
39427 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39428 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39439 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39440 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39441 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39444 cat >conftest.
$ac_ext <<_ACEOF
39447 cat confdefs.h
>>conftest.
$ac_ext
39448 cat >>conftest.
$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39452 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39454 /* System header to define __stub macros and hopefully few prototypes,
39455 which can conflict with char pthread_attr_getschedpolicy (); below.
39456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39457 <limits.h> exists even on freestanding compilers. */
39460 # include <limits.h>
39462 # include <assert.h>
39465 #undef pthread_attr_getschedpolicy
39467 /* Override any GCC internal prototype to avoid an error.
39468 Use char because int might match the return type of a GCC
39469 builtin and then its argument prototype would still apply. */
39473 char pthread_attr_getschedpolicy ();
39474 /* The GNU C library defines this for functions which it implements
39475 to always fail with ENOSYS. Some functions are actually named
39476 something starting with __ and the normal name is an alias. */
39477 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39484 return pthread_attr_getschedpolicy ();
39489 rm -f conftest.
$ac_objext conftest
$ac_exeext
39490 if { (ac_try
="$ac_link"
39491 case "(($ac_try" in
39492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39493 *) ac_try_echo=$ac_try;;
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_link") 2>conftest.er1
39498 grep -v '^ *+' conftest.er1 >conftest.err
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_c_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest$ac_exeext &&
39506 $as_test_x conftest$ac_exeext; then
39507 ac_cv_func_pthread_attr_getschedpolicy=yes
39509 echo "$as_me: failed program was:" >&5
39510 sed 's/^/| /' conftest.$ac_ext >&5
39512 ac_cv_func_pthread_attr_getschedpolicy=no
39515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39516 conftest$ac_exeext conftest.$ac_ext
39518 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39519 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39520 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39521 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39522 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39523 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 cat >conftest.$ac_ext <<_ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39534 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39536 /* System header to define __stub macros and hopefully few prototypes,
39537 which can conflict with char pthread_attr_setschedparam (); below.
39538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39539 <limits.h> exists even on freestanding compilers. */
39542 # include <limits.h>
39544 # include <assert.h>
39547 #undef pthread_attr_setschedparam
39549 /* Override any GCC internal prototype to avoid an error.
39550 Use char because int might match the return type of a GCC
39551 builtin and then its argument prototype would still apply. */
39555 char pthread_attr_setschedparam ();
39556 /* The GNU C library defines this for functions which it implements
39557 to always fail with ENOSYS. Some functions are actually named
39558 something starting with __ and the normal name is an alias. */
39559 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39566 return pthread_attr_setschedparam ();
39571 rm -f conftest.$ac_objext conftest$ac_exeext
39572 if { (ac_try="$ac_link"
39573 case "(($ac_try" in
39574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39575 *) ac_try_echo
=$ac_try;;
39577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39578 (eval "$ac_link") 2>conftest.er1
39580 grep -v '^ *+' conftest.er1
>conftest.err
39582 cat conftest.err
>&5
39583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39584 (exit $ac_status); } && {
39585 test -z "$ac_c_werror_flag" ||
39586 test ! -s conftest.err
39587 } && test -s conftest
$ac_exeext &&
39588 $as_test_x conftest
$ac_exeext; then
39589 ac_cv_func_pthread_attr_setschedparam
=yes
39591 echo "$as_me: failed program was:" >&5
39592 sed 's/^/| /' conftest.
$ac_ext >&5
39594 ac_cv_func_pthread_attr_setschedparam
=no
39597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39598 conftest
$ac_exeext conftest.
$ac_ext
39600 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39601 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39602 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39603 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39604 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39605 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 cat >conftest.
$ac_ext <<_ACEOF
39611 cat confdefs.h
>>conftest.
$ac_ext
39612 cat >>conftest.
$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define sched_get_priority_max innocuous_sched_get_priority_max
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char sched_get_priority_max (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39624 # include <limits.h>
39626 # include <assert.h>
39629 #undef sched_get_priority_max
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39637 char sched_get_priority_max ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39648 return sched_get_priority_max ();
39653 rm -f conftest.
$ac_objext conftest
$ac_exeext
39654 if { (ac_try
="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39662 grep -v '^ *+' conftest.er1 >conftest.err
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 ac_cv_func_sched_get_priority_max=yes
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39676 ac_cv_func_sched_get_priority_max=no
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39683 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39684 if test $ac_cv_func_sched_get_priority_max = yes; then
39687 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39688 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39689 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 ac_check_lib_save_LIBS=$LIBS
39693 LIBS="-lposix4 $LIBS"
39694 cat >conftest.$ac_ext <<_ACEOF
39697 cat confdefs.h >>conftest.$ac_ext
39698 cat >>conftest.$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39701 /* Override any GCC internal prototype to avoid an error.
39702 Use char because int might match the return type of a GCC
39703 builtin and then its argument prototype would still apply. */
39707 char sched_get_priority_max ();
39711 return sched_get_priority_max ();
39716 rm -f conftest.$ac_objext conftest$ac_exeext
39717 if { (ac_try="$ac_link"
39718 case "(($ac_try" in
39719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39720 *) ac_try_echo
=$ac_try;;
39722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39723 (eval "$ac_link") 2>conftest.er1
39725 grep -v '^ *+' conftest.er1
>conftest.err
39727 cat conftest.err
>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } && {
39730 test -z "$ac_c_werror_flag" ||
39731 test ! -s conftest.err
39732 } && test -s conftest
$ac_exeext &&
39733 $as_test_x conftest
$ac_exeext; then
39734 ac_cv_lib_posix4_sched_get_priority_max
=yes
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.
$ac_ext >&5
39739 ac_cv_lib_posix4_sched_get_priority_max
=no
39742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39743 conftest
$ac_exeext conftest.
$ac_ext
39744 LIBS
=$ac_check_lib_save_LIBS
39746 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39747 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39748 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39751 POSIX4_LINK
=" -lposix4"
39765 if test "$HAVE_PRIOR_FUNCS" = 1; then
39766 cat >>confdefs.h
<<\_ACEOF
39767 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39771 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39772 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39775 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39776 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39777 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 cat >conftest.
$ac_ext <<_ACEOF
39783 cat confdefs.h
>>conftest.
$ac_ext
39784 cat >>conftest.
$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39788 #define pthread_cancel innocuous_pthread_cancel
39790 /* System header to define __stub macros and hopefully few prototypes,
39791 which can conflict with char pthread_cancel (); below.
39792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39793 <limits.h> exists even on freestanding compilers. */
39796 # include <limits.h>
39798 # include <assert.h>
39801 #undef pthread_cancel
39803 /* Override any GCC internal prototype to avoid an error.
39804 Use char because int might match the return type of a GCC
39805 builtin and then its argument prototype would still apply. */
39809 char pthread_cancel ();
39810 /* The GNU C library defines this for functions which it implements
39811 to always fail with ENOSYS. Some functions are actually named
39812 something starting with __ and the normal name is an alias. */
39813 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39820 return pthread_cancel ();
39825 rm -f conftest.
$ac_objext conftest
$ac_exeext
39826 if { (ac_try
="$ac_link"
39827 case "(($ac_try" in
39828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39829 *) ac_try_echo=$ac_try;;
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_link") 2>conftest.er1
39834 grep -v '^ *+' conftest.er1 >conftest.err
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } && {
39839 test -z "$ac_c_werror_flag" ||
39840 test ! -s conftest.err
39841 } && test -s conftest$ac_exeext &&
39842 $as_test_x conftest$ac_exeext; then
39843 ac_cv_func_pthread_cancel=yes
39845 echo "$as_me: failed program was:" >&5
39846 sed 's/^/| /' conftest.$ac_ext >&5
39848 ac_cv_func_pthread_cancel=no
39851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39852 conftest$ac_exeext conftest.$ac_ext
39854 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39855 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39856 if test $ac_cv_func_pthread_cancel = yes; then
39857 cat >>confdefs.h <<\_ACEOF
39858 #define HAVE_PTHREAD_CANCEL 1
39862 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39863 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39867 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39868 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39869 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 cat >conftest.$ac_ext <<_ACEOF
39875 cat confdefs.h >>conftest.$ac_ext
39876 cat >>conftest.$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39878 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39880 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39882 /* System header to define __stub macros and hopefully few prototypes,
39883 which can conflict with char pthread_mutex_timedlock (); below.
39884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39885 <limits.h> exists even on freestanding compilers. */
39888 # include <limits.h>
39890 # include <assert.h>
39893 #undef pthread_mutex_timedlock
39895 /* Override any GCC internal prototype to avoid an error.
39896 Use char because int might match the return type of a GCC
39897 builtin and then its argument prototype would still apply. */
39901 char pthread_mutex_timedlock ();
39902 /* The GNU C library defines this for functions which it implements
39903 to always fail with ENOSYS. Some functions are actually named
39904 something starting with __ and the normal name is an alias. */
39905 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39912 return pthread_mutex_timedlock ();
39917 rm -f conftest.$ac_objext conftest$ac_exeext
39918 if { (ac_try="$ac_link"
39919 case "(($ac_try" in
39920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39921 *) ac_try_echo
=$ac_try;;
39923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39924 (eval "$ac_link") 2>conftest.er1
39926 grep -v '^ *+' conftest.er1
>conftest.err
39928 cat conftest.err
>&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); } && {
39931 test -z "$ac_c_werror_flag" ||
39932 test ! -s conftest.err
39933 } && test -s conftest
$ac_exeext &&
39934 $as_test_x conftest
$ac_exeext; then
39935 ac_cv_func_pthread_mutex_timedlock
=yes
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.
$ac_ext >&5
39940 ac_cv_func_pthread_mutex_timedlock
=no
39943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39944 conftest
$ac_exeext conftest.
$ac_ext
39946 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39947 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39948 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39949 cat >>confdefs.h
<<\_ACEOF
39950 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39954 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39955 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39959 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39960 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39961 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 cat >conftest.
$ac_ext <<_ACEOF
39967 cat confdefs.h
>>conftest.
$ac_ext
39968 cat >>conftest.
$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39972 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39974 /* System header to define __stub macros and hopefully few prototypes,
39975 which can conflict with char pthread_attr_setstacksize (); below.
39976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977 <limits.h> exists even on freestanding compilers. */
39980 # include <limits.h>
39982 # include <assert.h>
39985 #undef pthread_attr_setstacksize
39987 /* Override any GCC internal prototype to avoid an error.
39988 Use char because int might match the return type of a GCC
39989 builtin and then its argument prototype would still apply. */
39993 char pthread_attr_setstacksize ();
39994 /* The GNU C library defines this for functions which it implements
39995 to always fail with ENOSYS. Some functions are actually named
39996 something starting with __ and the normal name is an alias. */
39997 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40004 return pthread_attr_setstacksize ();
40009 rm -f conftest.
$ac_objext conftest
$ac_exeext
40010 if { (ac_try
="$ac_link"
40011 case "(($ac_try" in
40012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_link") 2>conftest.er1
40018 grep -v '^ *+' conftest.er1 >conftest.err
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest$ac_exeext &&
40026 $as_test_x conftest$ac_exeext; then
40027 ac_cv_func_pthread_attr_setstacksize=yes
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40032 ac_cv_func_pthread_attr_setstacksize=no
40035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40036 conftest$ac_exeext conftest.$ac_ext
40038 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40039 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40040 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40041 cat >>confdefs.h <<\_ACEOF
40042 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40049 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40050 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40051 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40055 cat >conftest.$ac_ext <<_ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061 #include <pthread.h>
40066 pthread_mutexattr_t attr;
40067 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40073 rm -f conftest.$ac_objext
40074 if { (ac_try="$ac_compile"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40077 *) ac_try_echo
=$ac_try;;
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_compile") 2>conftest.er1
40082 grep -v '^ *+' conftest.er1
>conftest.err
40084 cat conftest.err
>&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest.
$ac_objext; then
40090 wx_cv_type_pthread_mutexattr_t
=yes
40092 echo "$as_me: failed program was:" >&5
40093 sed 's/^/| /' conftest.
$ac_ext >&5
40095 wx_cv_type_pthread_mutexattr_t
=no
40099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40102 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40103 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40105 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40106 cat >>confdefs.h
<<\_ACEOF
40107 #define HAVE_PTHREAD_MUTEXATTR_T 1
40111 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40112 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40113 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40114 echo $ECHO_N "(cached) $ECHO_C" >&6
40117 cat >conftest.
$ac_ext <<_ACEOF
40120 cat confdefs.h
>>conftest.
$ac_ext
40121 cat >>conftest.
$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123 #include <pthread.h>
40128 pthread_mutexattr_t attr;
40129 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40135 rm -f conftest.
$ac_objext
40136 if { (ac_try
="$ac_compile"
40137 case "(($ac_try" in
40138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40139 *) ac_try_echo=$ac_try;;
40141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40142 (eval "$ac_compile") 2>conftest.er1
40144 grep -v '^ *+' conftest.er1 >conftest.err
40146 cat conftest.err >&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); } && {
40149 test -z "$ac_c_werror_flag" ||
40150 test ! -s conftest.err
40151 } && test -s conftest.$ac_objext; then
40152 wx_cv_func_pthread_mutexattr_settype_decl=yes
40154 echo "$as_me: failed program was:" >&5
40155 sed 's/^/| /' conftest.$ac_ext >&5
40157 wx_cv_func_pthread_mutexattr_settype_decl=no
40161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40164 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40165 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40166 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40167 cat >>confdefs.h <<\_ACEOF
40168 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40173 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40174 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40175 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40176 echo $ECHO_N "(cached) $ECHO_C" >&6
40179 cat >conftest.$ac_ext <<_ACEOF
40182 cat confdefs.h >>conftest.$ac_ext
40183 cat >>conftest.$ac_ext <<_ACEOF
40184 /* end confdefs.h. */
40185 #include <pthread.h>
40190 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40196 rm -f conftest.$ac_objext
40197 if { (ac_try="$ac_compile"
40198 case "(($ac_try" in
40199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40200 *) ac_try_echo
=$ac_try;;
40202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40203 (eval "$ac_compile") 2>conftest.er1
40205 grep -v '^ *+' conftest.er1
>conftest.err
40207 cat conftest.err
>&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } && {
40210 test -z "$ac_c_werror_flag" ||
40211 test ! -s conftest.err
40212 } && test -s conftest.
$ac_objext; then
40214 wx_cv_type_pthread_rec_mutex_init
=yes
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.
$ac_ext >&5
40221 wx_cv_type_pthread_rec_mutex_init
=no
40226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40229 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40230 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40231 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40232 cat >>confdefs.h
<<\_ACEOF
40233 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40237 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40238 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40242 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40243 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40244 if test "${wx_cv_cc___thread+set}" = set; then
40245 echo $ECHO_N "(cached) $ECHO_C" >&6
40248 cat >conftest.
$ac_ext <<_ACEOF
40251 cat confdefs.h
>>conftest.
$ac_ext
40252 cat >>conftest.
$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40254 #include <pthread.h>
40259 static __thread int n = 0;
40260 static __thread int *p = 0;
40266 rm -f conftest.
$ac_objext
40267 if { (ac_try
="$ac_compile"
40268 case "(($ac_try" in
40269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40270 *) ac_try_echo=$ac_try;;
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_compile") 2>conftest.er1
40275 grep -v '^ *+' conftest.er1 >conftest.err
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest.$ac_objext; then
40283 wx_cv_cc___thread=yes
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40288 wx_cv_cc___thread=no
40292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40297 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40299 if test "$wx_cv_cc___thread" = "yes"; then
40305 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40306 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40308 if test "x$GCC" = "xyes" ; then
40310 if test -z "" ; then
40312 ax_gcc_option_test="int main()
40319 ax_gcc_option_test=""
40324 # Dump the test program to file
40325 cat <<EOF > conftest.c
40326 $ax_gcc_option_test
40329 # Dump back the file to the log, useful for debugging purposes
40330 { ac_try='cat conftest.c 1>&5'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }
40337 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; } ; then
40344 { echo "$as_me:$LINENO: result: yes" >&5
40345 echo "${ECHO_T}yes" >&6; }
40347 ax_gcc_version_option=yes
40352 { echo "$as_me:$LINENO: result: no" >&5
40353 echo "${ECHO_T}no" >&6; }
40355 ax_gcc_version_option=no
40363 { echo "$as_me:$LINENO: result: no gcc available" >&5
40364 echo "${ECHO_T}no gcc available" >&6; }
40369 if test "x$GXX" = "xyes"; then
40371 if test "x$ax_gxx_version_option" != "no"; then
40373 { echo "$as_me:$LINENO: checking gxx version" >&5
40374 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40375 if test "${ax_cv_gxx_version+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 ax_cv_gxx_version="`$CXX -dumpversion`"
40380 if test "x$ax_cv_gxx_version" = "x"; then
40382 ax_cv_gxx_version=""
40388 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40389 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40390 GXX_VERSION=$ax_cv_gxx_version
40399 if test -n "$ax_cv_gxx_version"; then
40400 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40401 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40402 case "$ax_cv_gxx_version" in
40404 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40405 echo "${ECHO_T}no, it's broken" >&6; }
40406 wx_cv_cc___thread=no
40409 { echo "$as_me:$LINENO: result: yes, it works" >&5
40410 echo "${ECHO_T}yes, it works" >&6; }
40416 if test "$wx_cv_cc___thread" = "yes"; then
40417 cat >>confdefs.h <<\_ACEOF
40418 #define HAVE___THREAD_KEYWORD 1
40425 if test "$wxUSE_THREADS" = "yes" ; then
40427 x86_64-*-mingw32* )
40430 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40431 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40432 if test "${wx_cv_cflags_mthread+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 CFLAGS_OLD="$CFLAGS"
40437 CFLAGS="-mthreads $CFLAGS"
40438 cat >conftest.$ac_ext <<_ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40453 rm -f conftest.$ac_objext
40454 if { (ac_try="$ac_compile"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40457 *) ac_try_echo
=$ac_try;;
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_compile") 2>conftest.er1
40462 grep -v '^ *+' conftest.er1
>conftest.err
40464 cat conftest.err
>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_c_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest.
$ac_objext; then
40470 wx_cv_cflags_mthread
=yes
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.
$ac_ext >&5
40475 wx_cv_cflags_mthread
=no
40479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40483 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40484 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40486 if test "$wx_cv_cflags_mthread" = "yes"; then
40487 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40488 LDFLAGS
="$LDFLAGS -mthreads"
40490 CFLAGS
="$CFLAGS_OLD"
40494 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40495 LDFLAGS
="$LDFLAGS -Zmt"
40501 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40502 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40503 if test "${ac_cv_func_localtime_r+set}" = set; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 cat >conftest.
$ac_ext <<_ACEOF
40509 cat confdefs.h
>>conftest.
$ac_ext
40510 cat >>conftest.
$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40514 #define localtime_r innocuous_localtime_r
40516 /* System header to define __stub macros and hopefully few prototypes,
40517 which can conflict with char localtime_r (); below.
40518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40519 <limits.h> exists even on freestanding compilers. */
40522 # include <limits.h>
40524 # include <assert.h>
40529 /* Override any GCC internal prototype to avoid an error.
40530 Use char because int might match the return type of a GCC
40531 builtin and then its argument prototype would still apply. */
40535 char localtime_r ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined __stub_localtime_r || defined __stub___localtime_r
40546 return localtime_r ();
40551 rm -f conftest.
$ac_objext conftest
$ac_exeext
40552 if { (ac_try
="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1 >conftest.err
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest$ac_exeext &&
40568 $as_test_x conftest$ac_exeext; then
40569 ac_cv_func_localtime_r=yes
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40574 ac_cv_func_localtime_r=no
40577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40578 conftest$ac_exeext conftest.$ac_ext
40580 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40581 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40582 if test $ac_cv_func_localtime_r = yes; then
40583 cat >>confdefs.h <<\_ACEOF
40584 #define HAVE_LOCALTIME_R 1
40589 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40590 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40591 if test "${ac_cv_func_gmtime_r+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 cat >conftest.$ac_ext <<_ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40602 #define gmtime_r innocuous_gmtime_r
40604 /* System header to define __stub macros and hopefully few prototypes,
40605 which can conflict with char gmtime_r (); below.
40606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40607 <limits.h> exists even on freestanding compilers. */
40610 # include <limits.h>
40612 # include <assert.h>
40617 /* Override any GCC internal prototype to avoid an error.
40618 Use char because int might match the return type of a GCC
40619 builtin and then its argument prototype would still apply. */
40624 /* The GNU C library defines this for functions which it implements
40625 to always fail with ENOSYS. Some functions are actually named
40626 something starting with __ and the normal name is an alias. */
40627 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40634 return gmtime_r ();
40639 rm -f conftest.$ac_objext conftest$ac_exeext
40640 if { (ac_try="$ac_link"
40641 case "(($ac_try" in
40642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40643 *) ac_try_echo
=$ac_try;;
40645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40646 (eval "$ac_link") 2>conftest.er1
40648 grep -v '^ *+' conftest.er1
>conftest.err
40650 cat conftest.err
>&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } && {
40653 test -z "$ac_c_werror_flag" ||
40654 test ! -s conftest.err
40655 } && test -s conftest
$ac_exeext &&
40656 $as_test_x conftest
$ac_exeext; then
40657 ac_cv_func_gmtime_r
=yes
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.
$ac_ext >&5
40662 ac_cv_func_gmtime_r
=no
40665 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40666 conftest
$ac_exeext conftest.
$ac_ext
40668 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40669 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40670 if test $ac_cv_func_gmtime_r = yes; then
40671 cat >>confdefs.h
<<\_ACEOF
40672 #define HAVE_GMTIME_R 1
40681 ac_cpp
='$CPP $CPPFLAGS'
40682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40686 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40687 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40689 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40694 ################################################################
40696 ac_cv_func_which_gethostbyname_r
=unknown
40699 # ONE ARGUMENT (sanity check)
40702 # This should fail, as there is no variant of gethostbyname_r() that takes
40703 # a single argument. If it actually compiles, then we can assume that
40704 # netdb.h is not declaring the function, and the compiler is thereby
40705 # assuming an implicit prototype. In which case, we're out of luck.
40707 cat >conftest.
$ac_ext <<_ACEOF
40710 cat confdefs.h
>>conftest.
$ac_ext
40711 cat >>conftest.
$ac_ext <<_ACEOF
40712 /* end confdefs.h. */
40718 char *name = "www.gnu.org";
40719 (void)gethostbyname_r(name) /* ; */
40725 rm -f conftest.
$ac_objext
40726 if { (ac_try
="$ac_compile"
40727 case "(($ac_try" in
40728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40729 *) ac_try_echo=$ac_try;;
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732 (eval "$ac_compile") 2>conftest.er1
40734 grep -v '^ *+' conftest.er1 >conftest.err
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } && {
40739 test -z "$ac_c_werror_flag" ||
40740 test ! -s conftest.err
40741 } && test -s conftest.$ac_objext; then
40742 ac_cv_func_which_gethostbyname_r=no
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40757 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40759 cat >conftest.$ac_ext <<_ACEOF
40762 cat confdefs.h >>conftest.$ac_ext
40763 cat >>conftest.$ac_ext <<_ACEOF
40764 /* end confdefs.h. */
40770 char *name = "www.gnu.org";
40771 struct hostent ret, *retp;
40775 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40781 rm -f conftest.$ac_objext
40782 if { (ac_try="$ac_compile"
40783 case "(($ac_try" in
40784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40785 *) ac_try_echo
=$ac_try;;
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_compile") 2>conftest.er1
40790 grep -v '^ *+' conftest.er1
>conftest.err
40792 cat conftest.err
>&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest.
$ac_objext; then
40798 ac_cv_func_which_gethostbyname_r
=six
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.
$ac_ext >&5
40806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40815 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40817 cat >conftest.
$ac_ext <<_ACEOF
40820 cat confdefs.h
>>conftest.
$ac_ext
40821 cat >>conftest.
$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40828 char *name = "www.gnu.org";
40829 struct hostent ret;
40833 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40839 rm -f conftest.
$ac_objext
40840 if { (ac_try
="$ac_compile"
40841 case "(($ac_try" in
40842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_compile") 2>conftest.er1
40848 grep -v '^ *+' conftest.er1 >conftest.err
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest.$ac_objext; then
40856 ac_cv_func_which_gethostbyname_r=five
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.$ac_ext >&5
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40870 # (e.g. AIX, HP-UX, Tru64)
40873 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40875 cat >conftest.$ac_ext <<_ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40886 char *name = "www.gnu.org";
40887 struct hostent ret;
40888 struct hostent_data data;
40889 (void)gethostbyname_r(name, &ret, &data) /* ; */
40895 rm -f conftest.$ac_objext
40896 if { (ac_try="$ac_compile"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40899 *) ac_try_echo
=$ac_try;;
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_compile") 2>conftest.er1
40904 grep -v '^ *+' conftest.er1
>conftest.err
40906 cat conftest.err
>&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest.
$ac_objext; then
40912 ac_cv_func_which_gethostbyname_r
=three
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.
$ac_ext >&5
40920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40924 ################################################################
40929 case "$ac_cv_func_which_gethostbyname_r" in
40931 { echo "$as_me:$LINENO: result: three" >&5
40932 echo "${ECHO_T}three" >&6; }
40933 cat >>confdefs.h
<<\_ACEOF
40934 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40940 { echo "$as_me:$LINENO: result: five" >&5
40941 echo "${ECHO_T}five" >&6; }
40942 cat >>confdefs.h
<<\_ACEOF
40943 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40949 { echo "$as_me:$LINENO: result: six" >&5
40950 echo "${ECHO_T}six" >&6; }
40951 cat >>confdefs.h
<<\_ACEOF
40952 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40958 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40959 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40963 { echo "$as_me:$LINENO: result: can't tell" >&5
40964 echo "${ECHO_T}can't tell" >&6; }
40968 { { echo "$as_me:$LINENO: error: internal error" >&5
40969 echo "$as_me: error: internal error" >&2;}
40970 { (exit 1); exit 1; }; }
40975 ac_cpp
='$CPP $CPPFLAGS'
40976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40982 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40983 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40984 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40985 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40986 if test "${ac_cv_func_gethostbyname+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40989 cat >conftest.
$ac_ext <<_ACEOF
40992 cat confdefs.h
>>conftest.
$ac_ext
40993 cat >>conftest.
$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40997 #define gethostbyname innocuous_gethostbyname
40999 /* System header to define __stub macros and hopefully few prototypes,
41000 which can conflict with char gethostbyname (); below.
41001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41002 <limits.h> exists even on freestanding compilers. */
41005 # include <limits.h>
41007 # include <assert.h>
41010 #undef gethostbyname
41012 /* Override any GCC internal prototype to avoid an error.
41013 Use char because int might match the return type of a GCC
41014 builtin and then its argument prototype would still apply. */
41018 char gethostbyname ();
41019 /* The GNU C library defines this for functions which it implements
41020 to always fail with ENOSYS. Some functions are actually named
41021 something starting with __ and the normal name is an alias. */
41022 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41029 return gethostbyname ();
41034 rm -f conftest.
$ac_objext conftest
$ac_exeext
41035 if { (ac_try
="$ac_link"
41036 case "(($ac_try" in
41037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41038 *) ac_try_echo=$ac_try;;
41040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41041 (eval "$ac_link") 2>conftest.er1
41043 grep -v '^ *+' conftest.er1 >conftest.err
41045 cat conftest.err >&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); } && {
41048 test -z "$ac_c_werror_flag" ||
41049 test ! -s conftest.err
41050 } && test -s conftest$ac_exeext &&
41051 $as_test_x conftest$ac_exeext; then
41052 ac_cv_func_gethostbyname=yes
41054 echo "$as_me: failed program was:" >&5
41055 sed 's/^/| /' conftest.$ac_ext >&5
41057 ac_cv_func_gethostbyname=no
41060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41061 conftest$ac_exeext conftest.$ac_ext
41063 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41064 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41065 if test $ac_cv_func_gethostbyname = yes; then
41066 cat >>confdefs.h <<\_ACEOF
41067 #define HAVE_GETHOSTBYNAME 1
41074 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41075 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41076 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41077 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 ac_cpp='$CXXCPP $CPPFLAGS'
41082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat >conftest.$ac_ext <<_ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41100 struct servent *se, *res;
41103 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41109 rm -f conftest.$ac_objext
41110 if { (ac_try="$ac_compile"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41113 *) ac_try_echo
=$ac_try;;
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_compile") 2>conftest.er1
41118 grep -v '^ *+' conftest.er1
>conftest.err
41120 cat conftest.err
>&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_cxx_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest.
$ac_objext; then
41126 ac_cv_func_which_getservbyname_r
=six
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.
$ac_ext >&5
41132 cat >conftest.
$ac_ext <<_ACEOF
41135 cat confdefs.h
>>conftest.
$ac_ext
41136 cat >>conftest.
$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41145 struct servent *se;
41148 (void) getservbyname_r(name, proto, se, buffer, buflen)
41154 rm -f conftest.
$ac_objext
41155 if { (ac_try
="$ac_compile"
41156 case "(($ac_try" in
41157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41158 *) ac_try_echo=$ac_try;;
41160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41161 (eval "$ac_compile") 2>conftest.er1
41163 grep -v '^ *+' conftest.er1 >conftest.err
41165 cat conftest.err >&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } && {
41168 test -z "$ac_cxx_werror_flag" ||
41169 test ! -s conftest.err
41170 } && test -s conftest.$ac_objext; then
41171 ac_cv_func_which_getservbyname_r=five
41173 echo "$as_me: failed program was:" >&5
41174 sed 's/^/| /' conftest.$ac_ext >&5
41177 cat >conftest.$ac_ext <<_ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41190 struct servent *se;
41191 struct servent_data data;
41192 (void) getservbyname_r(name, proto, se, &data);
41198 rm -f conftest.$ac_objext
41199 if { (ac_try="$ac_compile"
41200 case "(($ac_try" in
41201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41202 *) ac_try_echo
=$ac_try;;
41204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 (eval "$ac_compile") 2>conftest.er1
41207 grep -v '^ *+' conftest.er1
>conftest.err
41209 cat conftest.err
>&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } && {
41212 test -z "$ac_cxx_werror_flag" ||
41213 test ! -s conftest.err
41214 } && test -s conftest.
$ac_objext; then
41215 ac_cv_func_which_getservbyname_r
=four
41217 echo "$as_me: failed program was:" >&5
41218 sed 's/^/| /' conftest.
$ac_ext >&5
41220 ac_cv_func_which_getservbyname_r
=no
41224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41236 ac_cpp
='$CPP $CPPFLAGS'
41237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41244 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41245 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41247 if test $ac_cv_func_which_getservbyname_r = six
; then
41248 cat >>confdefs.h
<<\_ACEOF
41249 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41252 elif test $ac_cv_func_which_getservbyname_r = five
; then
41253 cat >>confdefs.h
<<\_ACEOF
41254 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41257 elif test $ac_cv_func_which_getservbyname_r = four
; then
41258 cat >>confdefs.h
<<\_ACEOF
41259 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41265 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41266 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41268 for ac_func
in getservbyname
41270 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41273 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41274 echo $ECHO_N "(cached) $ECHO_C" >&6
41276 cat >conftest.
$ac_ext <<_ACEOF
41279 cat confdefs.h
>>conftest.
$ac_ext
41280 cat >>conftest.
$ac_ext <<_ACEOF
41281 /* end confdefs.h. */
41282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41284 #define $ac_func innocuous_$ac_func
41286 /* System header to define __stub macros and hopefully few prototypes,
41287 which can conflict with char $ac_func (); below.
41288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41289 <limits.h> exists even on freestanding compilers. */
41292 # include <limits.h>
41294 # include <assert.h>
41299 /* Override any GCC internal prototype to avoid an error.
41300 Use char because int might match the return type of a GCC
41301 builtin and then its argument prototype would still apply. */
41306 /* The GNU C library defines this for functions which it implements
41307 to always fail with ENOSYS. Some functions are actually named
41308 something starting with __ and the normal name is an alias. */
41309 #if defined __stub_$ac_func || defined __stub___$ac_func
41316 return $ac_func ();
41321 rm -f conftest.
$ac_objext conftest
$ac_exeext
41322 if { (ac_try
="$ac_link"
41323 case "(($ac_try" in
41324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41325 *) ac_try_echo=$ac_try;;
41327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41328 (eval "$ac_link") 2>conftest.er1
41330 grep -v '^ *+' conftest.er1 >conftest.err
41332 cat conftest.err >&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } && {
41335 test -z "$ac_c_werror_flag" ||
41336 test ! -s conftest.err
41337 } && test -s conftest$ac_exeext &&
41338 $as_test_x conftest$ac_exeext; then
41339 eval "$as_ac_var=yes"
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41344 eval "$as_ac_var=no"
41347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41348 conftest$ac_exeext conftest.$ac_ext
41350 ac_res=`eval echo '${'$as_ac_var'}'`
41351 { echo "$as_me:$LINENO: result: $ac_res" >&5
41352 echo "${ECHO_T}$ac_res" >&6; }
41353 if test `eval echo '${'$as_ac_var'}'` = yes; then
41354 cat >>confdefs.h <<_ACEOF
41355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41357 cat >>confdefs.h <<\_ACEOF
41358 #define HAVE_GETSERVBYNAME 1
41366 if test "$wxUSE_THREADS" = "yes"; then
41367 cat >>confdefs.h <<\_ACEOF
41368 #define wxUSE_THREADS 1
41372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41374 if test "$wx_cv_func_strtok_r" = "yes"; then
41375 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41376 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41377 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41378 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41379 { echo "$as_me:$LINENO: result: yes" >&5
41380 echo "${ECHO_T}yes" >&6; }
41382 { echo "$as_me:$LINENO: result: no" >&5
41383 echo "${ECHO_T}no" >&6; }
41388 if test "$WXGTK2" = 1 ; then
41389 cat >>confdefs.h <<_ACEOF
41390 #define __WXGTK20__ $WXGTK2
41396 if test "$WXGTK12" = 1 ; then
41397 cat >>confdefs.h <<_ACEOF
41398 #define __WXGTK12__ $WXGTK12
41403 if test "$WXGTK127" = 1 ; then
41404 cat >>confdefs.h <<_ACEOF
41405 #define __WXGTK127__ $WXGTK127
41410 if test "$WXGPE" = 1 ; then
41411 cat >>confdefs.h <<_ACEOF
41412 #define __WXGPE__ $WXGPE
41418 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41419 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41420 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41421 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41425 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41426 wxUSE_DEBUG_INFO=yes
41427 if test "$GCC" = yes; then
41428 DEBUG_CFLAGS="-ggdb"
41432 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41433 cat >>confdefs.h <<\_ACEOF
41437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41439 if test "$wxUSE_GTK" = 1 ; then
41440 if test "x$wxGTK_VERSION" = "x1" ; then
41441 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41446 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41447 cat >>confdefs.h <<\_ACEOF
41448 #define wxUSE_MEMORY_TRACING 1
41451 cat >>confdefs.h <<\_ACEOF
41452 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41455 cat >>confdefs.h <<\_ACEOF
41456 #define wxUSE_DEBUG_NEW_ALWAYS 1
41459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41462 if test "$wxUSE_DMALLOC" = "yes" ; then
41463 DMALLOC_LIBS="-ldmallocthcxx"
41467 if test "$wxUSE_PROFILE" = "yes" ; then
41468 PROFILE_FLAGS=" -pg"
41471 if test "$GCC" = "yes" ; then
41472 if test "$wxUSE_NO_RTTI" = "yes" ; then
41473 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41475 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41476 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41478 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41479 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41484 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41487 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41493 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41494 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41495 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41497 if test "$wxUSE_OPTIMISE" = "no" ; then
41498 if test "$GCC" = yes ; then
41499 OPTIMISE_CFLAGS="-O0"
41502 if test "$GCC" = yes ; then
41504 *-pc-os2_emx | *-pc-os2-emx )
41505 OPTIMISE_CFLAGS="-O2"
41508 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41512 OPTIMISE_CFLAGS="-O"
41518 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41519 cat >>confdefs.h <<\_ACEOF
41520 #define WXWIN_COMPATIBILITY_2_6 1
41524 WXWIN_COMPATIBILITY_2_8="yes"
41527 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define WXWIN_COMPATIBILITY_2_8 1
41535 if test "$wxUSE_GUI" = "yes"; then
41536 cat >>confdefs.h <<\_ACEOF
41537 #define wxUSE_GUI 1
41544 if test "$wxUSE_UNIX" = "yes"; then
41545 cat >>confdefs.h <<\_ACEOF
41546 #define wxUSE_UNIX 1
41552 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41556 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41557 if test "$USE_DOS" = 1; then
41561 for ac_func in dlopen
41563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 cat >conftest.$ac_ext <<_ACEOF
41572 cat confdefs.h >>conftest.$ac_ext
41573 cat >>conftest.$ac_ext <<_ACEOF
41574 /* end confdefs.h. */
41575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41577 #define $ac_func innocuous_$ac_func
41579 /* System header to define __stub macros and hopefully few prototypes,
41580 which can conflict with char $ac_func (); below.
41581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41582 <limits.h> exists even on freestanding compilers. */
41585 # include <limits.h>
41587 # include <assert.h>
41592 /* Override any GCC internal prototype to avoid an error.
41593 Use char because int might match the return type of a GCC
41594 builtin and then its argument prototype would still apply. */
41599 /* The GNU C library defines this for functions which it implements
41600 to always fail with ENOSYS. Some functions are actually named
41601 something starting with __ and the normal name is an alias. */
41602 #if defined __stub_$ac_func || defined __stub___$ac_func
41609 return $ac_func ();
41614 rm -f conftest.$ac_objext conftest$ac_exeext
41615 if { (ac_try="$ac_link"
41616 case "(($ac_try" in
41617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41618 *) ac_try_echo
=$ac_try;;
41620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41621 (eval "$ac_link") 2>conftest.er1
41623 grep -v '^ *+' conftest.er1
>conftest.err
41625 cat conftest.err
>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); } && {
41628 test -z "$ac_c_werror_flag" ||
41629 test ! -s conftest.err
41630 } && test -s conftest
$ac_exeext &&
41631 $as_test_x conftest
$ac_exeext; then
41632 eval "$as_ac_var=yes"
41634 echo "$as_me: failed program was:" >&5
41635 sed 's/^/| /' conftest.
$ac_ext >&5
41637 eval "$as_ac_var=no"
41640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41641 conftest
$ac_exeext conftest.
$ac_ext
41643 ac_res
=`eval echo '${'$as_ac_var'}'`
41644 { echo "$as_me:$LINENO: result: $ac_res" >&5
41645 echo "${ECHO_T}$ac_res" >&6; }
41646 if test `eval echo '${'$as_ac_var'}'` = yes; then
41647 cat >>confdefs.h
<<_ACEOF
41648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41651 cat >>confdefs.h
<<\_ACEOF
41652 #define HAVE_DLOPEN 1
41659 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41660 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41661 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41662 echo $ECHO_N "(cached) $ECHO_C" >&6
41664 ac_check_lib_save_LIBS
=$LIBS
41666 cat >conftest.
$ac_ext <<_ACEOF
41669 cat confdefs.h
>>conftest.
$ac_ext
41670 cat >>conftest.
$ac_ext <<_ACEOF
41671 /* end confdefs.h. */
41673 /* Override any GCC internal prototype to avoid an error.
41674 Use char because int might match the return type of a GCC
41675 builtin and then its argument prototype would still apply. */
41688 rm -f conftest.
$ac_objext conftest
$ac_exeext
41689 if { (ac_try
="$ac_link"
41690 case "(($ac_try" in
41691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41692 *) ac_try_echo=$ac_try;;
41694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41695 (eval "$ac_link") 2>conftest.er1
41697 grep -v '^ *+' conftest.er1 >conftest.err
41699 cat conftest.err >&5
41700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41701 (exit $ac_status); } && {
41702 test -z "$ac_c_werror_flag" ||
41703 test ! -s conftest.err
41704 } && test -s conftest$ac_exeext &&
41705 $as_test_x conftest$ac_exeext; then
41706 ac_cv_lib_dl_dlopen=yes
41708 echo "$as_me: failed program was:" >&5
41709 sed 's/^/| /' conftest.$ac_ext >&5
41711 ac_cv_lib_dl_dlopen=no
41714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41715 conftest$ac_exeext conftest.$ac_ext
41716 LIBS=$ac_check_lib_save_LIBS
41718 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41719 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41720 if test $ac_cv_lib_dl_dlopen = yes; then
41722 cat >>confdefs.h <<\_ACEOF
41723 #define HAVE_DLOPEN 1
41727 DL_LINK=" -ldl$DL_LINK"
41732 for ac_func in shl_load
41734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41738 echo $ECHO_N "(cached) $ECHO_C" >&6
41740 cat >conftest.$ac_ext <<_ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41748 #define $ac_func innocuous_$ac_func
41750 /* System header to define __stub macros and hopefully few prototypes,
41751 which can conflict with char $ac_func (); below.
41752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41753 <limits.h> exists even on freestanding compilers. */
41756 # include <limits.h>
41758 # include <assert.h>
41763 /* Override any GCC internal prototype to avoid an error.
41764 Use char because int might match the return type of a GCC
41765 builtin and then its argument prototype would still apply. */
41770 /* The GNU C library defines this for functions which it implements
41771 to always fail with ENOSYS. Some functions are actually named
41772 something starting with __ and the normal name is an alias. */
41773 #if defined __stub_$ac_func || defined __stub___$ac_func
41780 return $ac_func ();
41785 rm -f conftest.$ac_objext conftest$ac_exeext
41786 if { (ac_try="$ac_link"
41787 case "(($ac_try" in
41788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41789 *) ac_try_echo
=$ac_try;;
41791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41792 (eval "$ac_link") 2>conftest.er1
41794 grep -v '^ *+' conftest.er1
>conftest.err
41796 cat conftest.err
>&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); } && {
41799 test -z "$ac_c_werror_flag" ||
41800 test ! -s conftest.err
41801 } && test -s conftest
$ac_exeext &&
41802 $as_test_x conftest
$ac_exeext; then
41803 eval "$as_ac_var=yes"
41805 echo "$as_me: failed program was:" >&5
41806 sed 's/^/| /' conftest.
$ac_ext >&5
41808 eval "$as_ac_var=no"
41811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41812 conftest
$ac_exeext conftest.
$ac_ext
41814 ac_res
=`eval echo '${'$as_ac_var'}'`
41815 { echo "$as_me:$LINENO: result: $ac_res" >&5
41816 echo "${ECHO_T}$ac_res" >&6; }
41817 if test `eval echo '${'$as_ac_var'}'` = yes; then
41818 cat >>confdefs.h
<<_ACEOF
41819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41822 cat >>confdefs.h
<<\_ACEOF
41823 #define HAVE_SHL_LOAD 1
41830 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41831 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41832 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41833 echo $ECHO_N "(cached) $ECHO_C" >&6
41835 ac_check_lib_save_LIBS
=$LIBS
41836 LIBS
="-lshl_load $LIBS"
41837 cat >conftest.
$ac_ext <<_ACEOF
41840 cat confdefs.h
>>conftest.
$ac_ext
41841 cat >>conftest.
$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41844 /* Override any GCC internal prototype to avoid an error.
41845 Use char because int might match the return type of a GCC
41846 builtin and then its argument prototype would still apply. */
41859 rm -f conftest.
$ac_objext conftest
$ac_exeext
41860 if { (ac_try
="$ac_link"
41861 case "(($ac_try" in
41862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41863 *) ac_try_echo=$ac_try;;
41865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41866 (eval "$ac_link") 2>conftest.er1
41868 grep -v '^ *+' conftest.er1 >conftest.err
41870 cat conftest.err >&5
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); } && {
41873 test -z "$ac_c_werror_flag" ||
41874 test ! -s conftest.err
41875 } && test -s conftest$ac_exeext &&
41876 $as_test_x conftest$ac_exeext; then
41877 ac_cv_lib_shl_load_dld=yes
41879 echo "$as_me: failed program was:" >&5
41880 sed 's/^/| /' conftest.$ac_ext >&5
41882 ac_cv_lib_shl_load_dld=no
41885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41886 conftest$ac_exeext conftest.$ac_ext
41887 LIBS=$ac_check_lib_save_LIBS
41889 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41890 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41891 if test $ac_cv_lib_shl_load_dld = yes; then
41894 DL_LINK=" -ldld$DL_LINK"
41910 if test "$HAVE_DL_FUNCS" = 1; then
41912 for ac_func in dlerror
41914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 cat >conftest.$ac_ext <<_ACEOF
41923 cat confdefs.h >>conftest.$ac_ext
41924 cat >>conftest.$ac_ext <<_ACEOF
41925 /* end confdefs.h. */
41926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41928 #define $ac_func innocuous_$ac_func
41930 /* System header to define __stub macros and hopefully few prototypes,
41931 which can conflict with char $ac_func (); below.
41932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41933 <limits.h> exists even on freestanding compilers. */
41936 # include <limits.h>
41938 # include <assert.h>
41943 /* Override any GCC internal prototype to avoid an error.
41944 Use char because int might match the return type of a GCC
41945 builtin and then its argument prototype would still apply. */
41950 /* The GNU C library defines this for functions which it implements
41951 to always fail with ENOSYS. Some functions are actually named
41952 something starting with __ and the normal name is an alias. */
41953 #if defined __stub_$ac_func || defined __stub___$ac_func
41960 return $ac_func ();
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (ac_try="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41969 *) ac_try_echo
=$ac_try;;
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41974 grep -v '^ *+' conftest.er1
>conftest.err
41976 cat conftest.err
>&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest
$ac_exeext &&
41982 $as_test_x conftest
$ac_exeext; then
41983 eval "$as_ac_var=yes"
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.
$ac_ext >&5
41988 eval "$as_ac_var=no"
41991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41992 conftest
$ac_exeext conftest.
$ac_ext
41994 ac_res
=`eval echo '${'$as_ac_var'}'`
41995 { echo "$as_me:$LINENO: result: $ac_res" >&5
41996 echo "${ECHO_T}$ac_res" >&6; }
41997 if test `eval echo '${'$as_ac_var'}'` = yes; then
41998 cat >>confdefs.h
<<_ACEOF
41999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42001 cat >>confdefs.h
<<\_ACEOF
42002 #define HAVE_DLERROR 1
42007 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42008 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42009 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42010 echo $ECHO_N "(cached) $ECHO_C" >&6
42012 ac_check_lib_save_LIBS
=$LIBS
42014 cat >conftest.
$ac_ext <<_ACEOF
42017 cat confdefs.h
>>conftest.
$ac_ext
42018 cat >>conftest.
$ac_ext <<_ACEOF
42019 /* end confdefs.h. */
42021 /* Override any GCC internal prototype to avoid an error.
42022 Use char because int might match the return type of a GCC
42023 builtin and then its argument prototype would still apply. */
42036 rm -f conftest.
$ac_objext conftest
$ac_exeext
42037 if { (ac_try
="$ac_link"
42038 case "(($ac_try" in
42039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42040 *) ac_try_echo=$ac_try;;
42042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42043 (eval "$ac_link") 2>conftest.er1
42045 grep -v '^ *+' conftest.er1 >conftest.err
42047 cat conftest.err >&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); } && {
42050 test -z "$ac_c_werror_flag" ||
42051 test ! -s conftest.err
42052 } && test -s conftest$ac_exeext &&
42053 $as_test_x conftest$ac_exeext; then
42054 ac_cv_lib_dl_dlerror=yes
42056 echo "$as_me: failed program was:" >&5
42057 sed 's/^/| /' conftest.$ac_ext >&5
42059 ac_cv_lib_dl_dlerror=no
42062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42063 conftest$ac_exeext conftest.$ac_ext
42064 LIBS=$ac_check_lib_save_LIBS
42066 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42067 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42068 if test $ac_cv_lib_dl_dlerror = yes; then
42069 cat >>confdefs.h <<\_ACEOF
42070 #define HAVE_DLERROR 1
42083 if test "$USE_DARWIN" = 1; then
42087 if test "$HAVE_DL_FUNCS" = 0; then
42088 if test "$HAVE_SHL_FUNCS" = 0; then
42089 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42090 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42091 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42092 wxUSE_DYNAMIC_LOADER=no
42093 wxUSE_DYNLIB_CLASS=no
42095 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42096 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42103 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42104 cat >>confdefs.h <<\_ACEOF
42105 #define wxUSE_DYNAMIC_LOADER 1
42109 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42110 cat >>confdefs.h <<\_ACEOF
42111 #define wxUSE_DYNLIB_CLASS 1
42118 if test "$wxUSE_PLUGINS" = "yes" ; then
42119 if test "$wxUSE_SHARED" = "no" ; then
42120 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42121 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42124 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42125 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42126 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42129 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42130 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42131 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42134 if test "$wxUSE_PLUGINS" = "yes" ; then
42135 cat >>confdefs.h <<\_ACEOF
42136 #define wxUSE_PLUGINS 1
42143 if test "$wxUSE_STL" = "yes"; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_STL 1
42150 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_EXTENDED_RTTI 1
42157 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42158 cat >>confdefs.h <<\_ACEOF
42159 #define wxUSE_APPLE_IEEE 1
42164 if test "$wxUSE_TIMER" = "yes"; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define wxUSE_TIMER 1
42171 if test "$USE_UNIX" = 1 ; then
42172 if test "$wxUSE_MGL" != 1; then
42173 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42174 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42175 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42179 cat >conftest.$ac_ext <<_ACEOF
42182 cat confdefs.h >>conftest.$ac_ext
42183 cat >>conftest.$ac_ext <<_ACEOF
42184 /* end confdefs.h. */
42186 #include <sys/ioctl.h>
42187 #include <sys/soundcard.h>
42193 ioctl(0, SNDCTL_DSP_SPEED, 0);
42199 rm -f conftest.$ac_objext conftest$ac_exeext
42200 if { (ac_try="$ac_link"
42201 case "(($ac_try" in
42202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42203 *) ac_try_echo
=$ac_try;;
42205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42206 (eval "$ac_link") 2>conftest.er1
42208 grep -v '^ *+' conftest.er1
>conftest.err
42210 cat conftest.err
>&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); } && {
42213 test -z "$ac_c_werror_flag" ||
42214 test ! -s conftest.err
42215 } && test -s conftest
$ac_exeext &&
42216 $as_test_x conftest
$ac_exeext; then
42217 ac_cv_header_sys_soundcard
=yes
42219 echo "$as_me: failed program was:" >&5
42220 sed 's/^/| /' conftest.
$ac_ext >&5
42224 LIBS
="$saveLibs -lossaudio"
42225 cat >conftest.
$ac_ext <<_ACEOF
42228 cat confdefs.h
>>conftest.
$ac_ext
42229 cat >>conftest.
$ac_ext <<_ACEOF
42230 /* end confdefs.h. */
42232 #include <sys/ioctl.h>
42233 #include <sys/soundcard.h>
42239 ioctl(0, SNDCTL_DSP_SPEED, 0);
42245 rm -f conftest.
$ac_objext conftest
$ac_exeext
42246 if { (ac_try
="$ac_link"
42247 case "(($ac_try" in
42248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42249 *) ac_try_echo=$ac_try;;
42251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42252 (eval "$ac_link") 2>conftest.er1
42254 grep -v '^ *+' conftest.er1 >conftest.err
42256 cat conftest.err >&5
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); } && {
42259 test -z "$ac_c_werror_flag" ||
42260 test ! -s conftest.err
42261 } && test -s conftest$ac_exeext &&
42262 $as_test_x conftest$ac_exeext; then
42263 ac_cv_header_sys_soundcard=yes
42265 echo "$as_me: failed program was:" >&5
42266 sed 's/^/| /' conftest.$ac_ext >&5
42270 ac_cv_header_sys_soundcard=no
42275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42276 conftest$ac_exeext conftest.$ac_ext
42281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42282 conftest$ac_exeext conftest.$ac_ext
42285 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42286 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42289 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42290 cat >>confdefs.h <<\_ACEOF
42291 #define HAVE_SYS_SOUNDCARD_H 1
42298 if test "$wxUSE_SOUND" = "yes"; then
42299 if test "$USE_UNIX" = 1 ; then
42300 if test "$wxUSE_LIBSDL" != "no"; then
42302 # Check whether --with-sdl-prefix was given.
42303 if test "${with_sdl_prefix+set}" = set; then
42304 withval=$with_sdl_prefix; sdl_prefix="$withval"
42310 # Check whether --with-sdl-exec-prefix was given.
42311 if test "${with_sdl_exec_prefix+set}" = set; then
42312 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42317 # Check whether --enable-sdltest was given.
42318 if test "${enable_sdltest+set}" = set; then
42319 enableval=$enable_sdltest;
42325 if test x$sdl_exec_prefix != x ; then
42326 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42327 if test x${SDL_CONFIG+set} != xset ; then
42328 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42331 if test x$sdl_prefix != x ; then
42332 sdl_args="$sdl_args --prefix=$sdl_prefix"
42333 if test x${SDL_CONFIG+set} != xset ; then
42334 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42338 if test "x$prefix" != xNONE; then
42339 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42341 # Extract the first word of "sdl-config", so it can be a program name with args.
42342 set dummy sdl-config; ac_word=$2
42343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42345 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 case $SDL_CONFIG in
42350 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42354 for as_dir in $PATH
42357 test -z "$as_dir" && as_dir=.
42358 for ac_exec_ext in '' $ac_executable_extensions; do
42359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42360 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42368 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42372 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42373 if test -n "$SDL_CONFIG"; then
42374 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42375 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42377 { echo "$as_me:$LINENO: result: no" >&5
42378 echo "${ECHO_T}no" >&6; }
42382 min_sdl_version=1.2.0
42383 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42384 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42386 if test "$SDL_CONFIG" = "no" ; then
42389 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42390 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42392 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42394 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42396 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42398 if test "x$enable_sdltest" = "xyes" ; then
42399 ac_save_CFLAGS="$CFLAGS"
42400 ac_save_CXXFLAGS="$CXXFLAGS"
42401 ac_save_LIBS="$LIBS"
42402 CFLAGS="$CFLAGS $SDL_CFLAGS"
42403 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42404 LIBS="$LIBS $SDL_LIBS"
42406 if test "$cross_compiling" = yes; then
42407 echo $ac_n "cross compiling; assumed OK... $ac_c"
42409 cat >conftest.$ac_ext <<_ACEOF
42412 cat confdefs.h >>conftest.$ac_ext
42413 cat >>conftest.$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42417 #include <stdlib.h>
42418 #include <string.h>
42422 my_strdup (char *str)
42428 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42429 strcpy (new_str, str);
42437 int main (int argc, char *argv[])
42439 int major, minor, micro;
42442 /* This hangs on some systems (?)
42443 system ("touch conf.sdltest");
42445 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42447 /* HP/UX 9 (%@#!) writes to sscanf strings */
42448 tmp_version = my_strdup("$min_sdl_version");
42449 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42450 printf("%s, bad version string\n", "$min_sdl_version");
42454 if (($sdl_major_version > major) ||
42455 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42456 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42462 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42463 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42464 printf("*** best to upgrade to the required version.\n");
42465 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42466 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42467 printf("*** config.cache before re-running configure\n");
42474 rm -f conftest$ac_exeext
42475 if { (ac_try="$ac_link"
42476 case "(($ac_try" in
42477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42478 *) ac_try_echo
=$ac_try;;
42480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42481 (eval "$ac_link") 2>&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42485 { (case "(($ac_try" in
42486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42487 *) ac_try_echo=$ac_try;;
42489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42490 (eval "$ac_try") 2>&5
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); }; }; then
42496 echo "$as_me: program exited with status $ac_status" >&5
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.$ac_ext >&5
42500 ( exit $ac_status )
42503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42507 CFLAGS="$ac_save_CFLAGS"
42508 CXXFLAGS="$ac_save_CXXFLAGS"
42509 LIBS="$ac_save_LIBS"
42512 if test "x$no_sdl" = x ; then
42513 { echo "$as_me:$LINENO: result: yes" >&5
42514 echo "${ECHO_T}yes" >&6; }
42516 EXTRALIBS_SDL="$SDL_LIBS"
42517 CFLAGS="$SDL_CFLAGS $CFLAGS"
42518 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_LIBSDL 1
42525 { echo "$as_me:$LINENO: result: no" >&5
42526 echo "${ECHO_T}no" >&6; }
42527 if test "$SDL_CONFIG" = "no" ; then
42528 echo "*** The sdl-config script installed by SDL could not be found"
42529 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42530 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42531 echo "*** full path to sdl-config."
42533 if test -f conf.sdltest ; then
42536 echo "*** Could not run SDL test program, checking why..."
42537 CFLAGS="$CFLAGS $SDL_CFLAGS"
42538 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42539 LIBS="$LIBS $SDL_LIBS"
42540 cat >conftest.$ac_ext <<_ACEOF
42543 cat confdefs.h >>conftest.$ac_ext
42544 cat >>conftest.$ac_ext <<_ACEOF
42545 /* end confdefs.h. */
42550 int main(int argc, char *argv[])
42553 #define main K_and_R_C_main
42563 rm -f conftest.$ac_objext conftest$ac_exeext
42564 if { (ac_try="$ac_link"
42565 case "(($ac_try" in
42566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42567 *) ac_try_echo
=$ac_try;;
42569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42570 (eval "$ac_link") 2>conftest.er1
42572 grep -v '^ *+' conftest.er1
>conftest.err
42574 cat conftest.err
>&5
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } && {
42577 test -z "$ac_c_werror_flag" ||
42578 test ! -s conftest.err
42579 } && test -s conftest
$ac_exeext &&
42580 $as_test_x conftest
$ac_exeext; then
42581 echo "*** The test program compiled, but did not run. This usually means"
42582 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42583 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42584 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42585 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42586 echo "*** is required on your system"
42588 echo "*** If you have an old version installed, it is best to remove it, although"
42589 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.
$ac_ext >&5
42594 echo "*** The test program failed to compile or link. See the file config.log for the"
42595 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42596 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42597 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42601 conftest
$ac_exeext conftest.
$ac_ext
42602 CFLAGS
="$ac_save_CFLAGS"
42603 CXXFLAGS
="$ac_save_CXXFLAGS"
42604 LIBS
="$ac_save_LIBS"
42615 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42620 if test "$wxUSE_MGL" = 1; then
42621 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42622 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42628 if test "$wxUSE_SOUND" = "yes"; then
42629 cat >>confdefs.h
<<\_ACEOF
42630 #define wxUSE_SOUND 1
42633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42636 if test "$WXGTK2" = 1; then
42639 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42640 if test -n "$ac_tool_prefix"; then
42641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42642 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42646 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 case $PKG_CONFIG in
42650 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42654 for as_dir
in $PATH
42657 test -z "$as_dir" && as_dir
=.
42658 for ac_exec_ext
in '' $ac_executable_extensions; do
42659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42660 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42671 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42672 if test -n "$PKG_CONFIG"; then
42673 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42674 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42676 { echo "$as_me:$LINENO: result: no" >&5
42677 echo "${ECHO_T}no" >&6; }
42682 if test -z "$ac_cv_path_PKG_CONFIG"; then
42683 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42684 # Extract the first word of "pkg-config", so it can be a program name with args.
42685 set dummy pkg
-config; ac_word
=$2
42686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42688 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42689 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 case $ac_pt_PKG_CONFIG in
42693 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42697 for as_dir
in $PATH
42700 test -z "$as_dir" && as_dir
=.
42701 for ac_exec_ext
in '' $ac_executable_extensions; do
42702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42703 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42714 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42715 if test -n "$ac_pt_PKG_CONFIG"; then
42716 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42717 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42719 { echo "$as_me:$LINENO: result: no" >&5
42720 echo "${ECHO_T}no" >&6; }
42723 if test "x$ac_pt_PKG_CONFIG" = x
; then
42726 case $cross_compiling:$ac_tool_warned in
42728 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42729 whose name does not start with the host triplet. If you think this
42730 configuration is useful to you, please write to autoconf@gnu.org." >&5
42731 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42732 whose name does not start with the host triplet. If you think this
42733 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42734 ac_tool_warned
=yes ;;
42736 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42739 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42743 if test -n "$PKG_CONFIG"; then
42744 _pkg_min_version
=0.9.0
42745 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42746 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42747 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42748 { echo "$as_me:$LINENO: result: yes" >&5
42749 echo "${ECHO_T}yes" >&6; }
42751 { echo "$as_me:$LINENO: result: no" >&5
42752 echo "${ECHO_T}no" >&6; }
42758 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42760 if test "$wxUSE_GTKPRINT" = "yes" ; then
42764 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42765 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42767 if test -n "$PKG_CONFIG"; then
42768 if test -n "$GTKPRINT_CFLAGS"; then
42769 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42771 if test -n "$PKG_CONFIG" && \
42772 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42773 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42776 (exit $ac_status); }; then
42777 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42785 if test -n "$PKG_CONFIG"; then
42786 if test -n "$GTKPRINT_LIBS"; then
42787 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42789 if test -n "$PKG_CONFIG" && \
42790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42791 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; then
42795 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42806 if test $pkg_failed = yes; then
42808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42809 _pkg_short_errors_supported
=yes
42811 _pkg_short_errors_supported
=no
42813 if test $_pkg_short_errors_supported = yes; then
42814 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42816 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42818 # Put the nasty error message in config.log where it belongs
42819 echo "$GTKPRINT_PKG_ERRORS" >&5
42822 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42823 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42824 wxUSE_GTKPRINT
="no"
42827 elif test $pkg_failed = untried
; then
42829 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42830 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42831 wxUSE_GTKPRINT
="no"
42835 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42836 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42837 { echo "$as_me:$LINENO: result: yes" >&5
42838 echo "${ECHO_T}yes" >&6; }
42840 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42841 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42842 cat >>confdefs.h
<<\_ACEOF
42843 #define wxUSE_GTKPRINT 1
42850 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42854 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42855 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42857 if test -n "$PKG_CONFIG"; then
42858 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42861 if test -n "$PKG_CONFIG" && \
42862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42863 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; then
42867 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42875 if test -n "$PKG_CONFIG"; then
42876 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42877 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42879 if test -n "$PKG_CONFIG" && \
42880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42881 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); }; then
42885 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42896 if test $pkg_failed = yes; then
42898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42899 _pkg_short_errors_supported
=yes
42901 _pkg_short_errors_supported
=no
42903 if test $_pkg_short_errors_supported = yes; then
42904 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42906 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42908 # Put the nasty error message in config.log where it belongs
42909 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42912 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42913 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42914 wxUSE_LIBGNOMEPRINT
="no"
42917 elif test $pkg_failed = untried
; then
42919 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42920 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42921 wxUSE_LIBGNOMEPRINT
="no"
42925 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42926 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42927 { echo "$as_me:$LINENO: result: yes" >&5
42928 echo "${ECHO_T}yes" >&6; }
42930 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42931 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42932 cat >>confdefs.h
<<\_ACEOF
42933 #define wxUSE_LIBGNOMEPRINT 1
42941 if test "$wxUSE_MIMETYPE" = "yes" ; then
42942 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42946 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42947 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42949 if test -n "$PKG_CONFIG"; then
42950 if test -n "$GNOMEVFS_CFLAGS"; then
42951 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42953 if test -n "$PKG_CONFIG" && \
42954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42955 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); }; then
42959 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42967 if test -n "$PKG_CONFIG"; then
42968 if test -n "$GNOMEVFS_LIBS"; then
42969 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42971 if test -n "$PKG_CONFIG" && \
42972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42973 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); }; then
42977 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42988 if test $pkg_failed = yes; then
42990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42991 _pkg_short_errors_supported
=yes
42993 _pkg_short_errors_supported
=no
42995 if test $_pkg_short_errors_supported = yes; then
42996 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42998 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43000 # Put the nasty error message in config.log where it belongs
43001 echo "$GNOMEVFS_PKG_ERRORS" >&5
43004 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43005 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43006 wxUSE_LIBGNOMEVFS
="no"
43009 elif test $pkg_failed = untried
; then
43011 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43012 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43013 wxUSE_LIBGNOMEVFS
="no"
43017 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43018 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43019 { echo "$as_me:$LINENO: result: yes" >&5
43020 echo "${ECHO_T}yes" >&6; }
43022 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43023 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43024 cat >>confdefs.h
<<\_ACEOF
43025 #define wxUSE_LIBGNOMEVFS 1
43033 if test "$wxUSE_LIBHILDON" = "yes" ; then
43036 { echo "$as_me:$LINENO: checking for HILDON" >&5
43037 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43039 if test -n "$PKG_CONFIG"; then
43040 if test -n "$HILDON_CFLAGS"; then
43041 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43043 if test -n "$PKG_CONFIG" && \
43044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43045 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; then
43049 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43057 if test -n "$PKG_CONFIG"; then
43058 if test -n "$HILDON_LIBS"; then
43059 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43061 if test -n "$PKG_CONFIG" && \
43062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43063 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; then
43067 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43078 if test $pkg_failed = yes; then
43080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43081 _pkg_short_errors_supported
=yes
43083 _pkg_short_errors_supported
=no
43085 if test $_pkg_short_errors_supported = yes; then
43086 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43088 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43090 # Put the nasty error message in config.log where it belongs
43091 echo "$HILDON_PKG_ERRORS" >&5
43094 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43095 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43096 wxUSE_LIBHILDON
="no"
43099 elif test $pkg_failed = untried
; then
43101 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43102 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43103 wxUSE_LIBHILDON
="no"
43107 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43108 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43109 { echo "$as_me:$LINENO: result: yes" >&5
43110 echo "${ECHO_T}yes" >&6; }
43112 EXTRALIBS_HILDON
="$HILDON_LIBS"
43113 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43114 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43115 cat >>confdefs.h
<<\_ACEOF
43116 #define wxUSE_LIBHILDON 1
43124 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43125 cat >>confdefs.h
<<\_ACEOF
43126 #define wxUSE_CMDLINE_PARSER 1
43131 if test "$wxUSE_STOPWATCH" = "yes"; then
43132 cat >>confdefs.h
<<\_ACEOF
43133 #define wxUSE_STOPWATCH 1
43138 if test "$wxUSE_DATETIME" = "yes"; then
43139 cat >>confdefs.h
<<\_ACEOF
43140 #define wxUSE_DATETIME 1
43145 if test "$wxUSE_FILE" = "yes"; then
43146 cat >>confdefs.h
<<\_ACEOF
43147 #define wxUSE_FILE 1
43152 if test "$wxUSE_FFILE" = "yes"; then
43153 cat >>confdefs.h
<<\_ACEOF
43154 #define wxUSE_FFILE 1
43159 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43160 if test "$wxUSE_STREAMS" != yes; then
43161 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43162 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43163 wxUSE_ARCHIVE_STREAMS
=no
43165 cat >>confdefs.h
<<\_ACEOF
43166 #define wxUSE_ARCHIVE_STREAMS 1
43172 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43173 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43174 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43175 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43176 elif test "$wxUSE_ZLIB" = "no"; then
43177 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43178 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43180 cat >>confdefs.h
<<\_ACEOF
43181 #define wxUSE_ZIPSTREAM 1
43187 if test "$wxUSE_TARSTREAM" = "yes"; then
43188 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43189 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43190 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43192 cat >>confdefs.h
<<\_ACEOF
43193 #define wxUSE_TARSTREAM 1
43199 if test "$wxUSE_FILESYSTEM" = "yes"; then
43200 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43201 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43202 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43203 wxUSE_FILESYSTEM
=no
43205 cat >>confdefs.h
<<\_ACEOF
43206 #define wxUSE_FILESYSTEM 1
43212 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43213 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43214 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43215 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43217 cat >>confdefs.h
<<\_ACEOF
43218 #define wxUSE_FS_ARCHIVE 1
43224 if test "$wxUSE_FS_ZIP" = "yes"; then
43225 if test "$wxUSE_FS_ARCHIVE" != yes; then
43226 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43227 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43229 cat >>confdefs.h
<<\_ACEOF
43230 #define wxUSE_FS_ZIP 1
43236 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43237 if test "$USE_UNIX" != 1; then
43238 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43239 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43240 wxUSE_ON_FATAL_EXCEPTION
=no
43242 cat >>confdefs.h
<<\_ACEOF
43243 #define wxUSE_ON_FATAL_EXCEPTION 1
43249 if test "$wxUSE_STACKWALKER" = "yes"; then
43250 cat >>confdefs.h
<<\_ACEOF
43251 #define wxUSE_STACKWALKER 1
43256 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43257 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43258 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43259 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43260 wxUSE_DEBUGREPORT
=no
43262 cat >>confdefs.h
<<\_ACEOF
43263 #define wxUSE_DEBUGREPORT 1
43266 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43272 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43273 cat >>confdefs.h
<<\_ACEOF
43274 #define wxUSE_SNGLINST_CHECKER 1
43279 if test "$wxUSE_BUSYINFO" = "yes"; then
43280 cat >>confdefs.h
<<\_ACEOF
43281 #define wxUSE_BUSYINFO 1
43286 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43287 cat >>confdefs.h
<<\_ACEOF
43288 #define wxUSE_STD_IOSTREAM 1
43293 if test "$wxUSE_STD_STRING" = "yes"; then
43294 cat >>confdefs.h
<<\_ACEOF
43295 #define wxUSE_STD_STRING 1
43300 if test "$wxUSE_STDPATHS" = "yes"; then
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_STDPATHS 1
43307 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43308 cat >>confdefs.h
<<\_ACEOF
43309 #define wxUSE_TEXTBUFFER 1
43314 if test "$wxUSE_TEXTFILE" = "yes"; then
43315 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43316 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43317 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43319 cat >>confdefs.h
<<\_ACEOF
43320 #define wxUSE_TEXTFILE 1
43326 if test "$wxUSE_CONFIG" = "yes" ; then
43327 if test "$wxUSE_TEXTFILE" != "yes"; then
43328 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43329 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43331 cat >>confdefs.h
<<\_ACEOF
43332 #define wxUSE_CONFIG 1
43335 cat >>confdefs.h
<<\_ACEOF
43336 #define wxUSE_CONFIG_NATIVE 1
43339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43343 if test "$wxUSE_INTL" = "yes" ; then
43344 if test "$wxUSE_FILE" != "yes"; then
43345 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43346 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43348 cat >>confdefs.h
<<\_ACEOF
43349 #define wxUSE_INTL 1
43352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43353 GUIDIST
="$GUIDIST INTL_DIST"
43357 if test "$wxUSE_XLOCALE" = "yes" ; then
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_XLOCALE 1
43362 { echo "$as_me:$LINENO: checking for locale_t" >&5
43363 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43364 if test "${ac_cv_type_locale_t+set}" = set; then
43365 echo $ECHO_N "(cached) $ECHO_C" >&6
43367 cat >conftest.
$ac_ext <<_ACEOF
43370 cat confdefs.h
>>conftest.
$ac_ext
43371 cat >>conftest.
$ac_ext <<_ACEOF
43372 /* end confdefs.h. */
43373 #include <xlocale.h>
43374 #include <locale.h>
43376 typedef locale_t ac__type_new_;
43380 if ((ac__type_new_ *) 0)
43382 if (sizeof (ac__type_new_))
43388 rm -f conftest.
$ac_objext
43389 if { (ac_try
="$ac_compile"
43390 case "(($ac_try" in
43391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_compile") 2>conftest.er1
43397 grep -v '^ *+' conftest.er1 >conftest.err
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_c_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest.$ac_objext; then
43405 ac_cv_type_locale_t=yes
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43410 ac_cv_type_locale_t=no
43413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43416 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43417 if test $ac_cv_type_locale_t = yes; then
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE_LOCALE_T 1
43428 if test "$wxUSE_LOG" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_LOG 1
43434 if test "$wxUSE_LOGGUI" = "yes"; then
43435 cat >>confdefs.h <<\_ACEOF
43436 #define wxUSE_LOGGUI 1
43441 if test "$wxUSE_LOGWINDOW" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_LOGWINDOW 1
43448 if test "$wxUSE_LOGDIALOG" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_LOG_DIALOG 1
43455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43458 if test "$wxUSE_LONGLONG" = "yes"; then
43459 cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_LONGLONG 1
43465 if test "$wxUSE_GEOMETRY" = "yes"; then
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_GEOMETRY 1
43472 if test "$wxUSE_BASE64" = "yes"; then
43473 cat >>confdefs.h <<\_ACEOF
43474 #define wxUSE_BASE64 1
43479 if test "$wxUSE_STREAMS" = "yes" ; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_STREAMS 1
43486 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_PRINTF_POS_PARAMS 1
43493 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_OBJC_UNIQUIFYING 1
43501 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_CONSOLE_EVENTLOOP 1
43507 if test "$wxUSE_UNIX" = "yes"; then
43508 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43509 cat >>confdefs.h <<\_ACEOF
43510 #define wxUSE_SELECT_DISPATCHER 1
43515 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43517 for ac_header in sys/epoll.h
43519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43523 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 cat >conftest.$ac_ext <<_ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531 $ac_includes_default
43533 #include <$ac_header>
43535 rm -f conftest.$ac_objext
43536 if { (ac_try="$ac_compile"
43537 case "(($ac_try" in
43538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43539 *) ac_try_echo
=$ac_try;;
43541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43542 (eval "$ac_compile") 2>conftest.er1
43544 grep -v '^ *+' conftest.er1
>conftest.err
43546 cat conftest.err
>&5
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); } && {
43549 test -z "$ac_c_werror_flag" ||
43550 test ! -s conftest.err
43551 } && test -s conftest.
$ac_objext; then
43552 eval "$as_ac_Header=yes"
43554 echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.
$ac_ext >&5
43557 eval "$as_ac_Header=no"
43560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43562 ac_res
=`eval echo '${'$as_ac_Header'}'`
43563 { echo "$as_me:$LINENO: result: $ac_res" >&5
43564 echo "${ECHO_T}$ac_res" >&6; }
43565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43566 cat >>confdefs.h
<<_ACEOF
43567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43574 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43575 cat >>confdefs.h
<<\_ACEOF
43576 #define wxUSE_EPOLL_DISPATCHER 1
43580 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43581 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43590 for ac_func
in gettimeofday ftime
43592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43596 echo $ECHO_N "(cached) $ECHO_C" >&6
43598 cat >conftest.
$ac_ext <<_ACEOF
43601 cat confdefs.h
>>conftest.
$ac_ext
43602 cat >>conftest.
$ac_ext <<_ACEOF
43603 /* end confdefs.h. */
43604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43606 #define $ac_func innocuous_$ac_func
43608 /* System header to define __stub macros and hopefully few prototypes,
43609 which can conflict with char $ac_func (); below.
43610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43611 <limits.h> exists even on freestanding compilers. */
43614 # include <limits.h>
43616 # include <assert.h>
43621 /* Override any GCC internal prototype to avoid an error.
43622 Use char because int might match the return type of a GCC
43623 builtin and then its argument prototype would still apply. */
43628 /* The GNU C library defines this for functions which it implements
43629 to always fail with ENOSYS. Some functions are actually named
43630 something starting with __ and the normal name is an alias. */
43631 #if defined __stub_$ac_func || defined __stub___$ac_func
43638 return $ac_func ();
43643 rm -f conftest.
$ac_objext conftest
$ac_exeext
43644 if { (ac_try
="$ac_link"
43645 case "(($ac_try" in
43646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43647 *) ac_try_echo=$ac_try;;
43649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43650 (eval "$ac_link") 2>conftest.er1
43652 grep -v '^ *+' conftest.er1 >conftest.err
43654 cat conftest.err >&5
43655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656 (exit $ac_status); } && {
43657 test -z "$ac_c_werror_flag" ||
43658 test ! -s conftest.err
43659 } && test -s conftest$ac_exeext &&
43660 $as_test_x conftest$ac_exeext; then
43661 eval "$as_ac_var=yes"
43663 echo "$as_me: failed program was:" >&5
43664 sed 's/^/| /' conftest.$ac_ext >&5
43666 eval "$as_ac_var=no"
43669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43670 conftest$ac_exeext conftest.$ac_ext
43672 ac_res=`eval echo '${'$as_ac_var'}'`
43673 { echo "$as_me:$LINENO: result: $ac_res" >&5
43674 echo "${ECHO_T}$ac_res" >&6; }
43675 if test `eval echo '${'$as_ac_var'}'` = yes; then
43676 cat >>confdefs.h <<_ACEOF
43677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43684 if test "$ac_cv_func_gettimeofday" = "yes"; then
43685 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43686 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43687 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43688 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 cat >conftest.$ac_ext <<_ACEOF
43694 cat confdefs.h >>conftest.$ac_ext
43695 cat >>conftest.$ac_ext <<_ACEOF
43696 /* end confdefs.h. */
43698 #include <sys/time.h>
43699 #include <unistd.h>
43706 gettimeofday(&tv, NULL);
43712 rm -f conftest.$ac_objext
43713 if { (ac_try="$ac_compile"
43714 case "(($ac_try" in
43715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43716 *) ac_try_echo
=$ac_try;;
43718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43719 (eval "$ac_compile") 2>conftest.er1
43721 grep -v '^ *+' conftest.er1
>conftest.err
43723 cat conftest.err
>&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); } && {
43726 test -z "$ac_c_werror_flag" ||
43727 test ! -s conftest.err
43728 } && test -s conftest.
$ac_objext; then
43729 wx_cv_func_gettimeofday_has_2_args
=yes
43731 echo "$as_me: failed program was:" >&5
43732 sed 's/^/| /' conftest.
$ac_ext >&5
43734 cat >conftest.
$ac_ext <<_ACEOF
43737 cat confdefs.h
>>conftest.
$ac_ext
43738 cat >>conftest.
$ac_ext <<_ACEOF
43739 /* end confdefs.h. */
43741 #include <sys/time.h>
43742 #include <unistd.h>
43755 rm -f conftest.
$ac_objext
43756 if { (ac_try
="$ac_compile"
43757 case "(($ac_try" in
43758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43759 *) ac_try_echo=$ac_try;;
43761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43762 (eval "$ac_compile") 2>conftest.er1
43764 grep -v '^ *+' conftest.er1 >conftest.err
43766 cat conftest.err >&5
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); } && {
43769 test -z "$ac_c_werror_flag" ||
43770 test ! -s conftest.err
43771 } && test -s conftest.$ac_objext; then
43772 wx_cv_func_gettimeofday_has_2_args=no
43774 echo "$as_me: failed program was:" >&5
43775 sed 's/^/| /' conftest.$ac_ext >&5
43778 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43779 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43780 wx_cv_func_gettimeofday_has_2_args=unknown
43785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43792 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43793 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43795 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define WX_GETTIMEOFDAY_NO_TZ 1
43803 if test "$wxUSE_DATETIME" = "yes"; then
43804 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43805 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43806 if test "${wx_cv_var_timezone+set}" = set; then
43807 echo $ECHO_N "(cached) $ECHO_C" >&6
43811 ac_cpp='$CXXCPP $CPPFLAGS'
43812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816 cat >conftest.$ac_ext <<_ACEOF
43819 cat confdefs.h >>conftest.$ac_ext
43820 cat >>conftest.$ac_ext <<_ACEOF
43821 /* end confdefs.h. */
43836 rm -f conftest.$ac_objext
43837 if { (ac_try="$ac_compile"
43838 case "(($ac_try" in
43839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43840 *) ac_try_echo
=$ac_try;;
43842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43843 (eval "$ac_compile") 2>conftest.er1
43845 grep -v '^ *+' conftest.er1
>conftest.err
43847 cat conftest.err
>&5
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); } && {
43850 test -z "$ac_cxx_werror_flag" ||
43851 test ! -s conftest.err
43852 } && test -s conftest.
$ac_objext; then
43854 wx_cv_var_timezone
=timezone
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.
$ac_ext >&5
43861 cat >conftest.
$ac_ext <<_ACEOF
43864 cat confdefs.h
>>conftest.
$ac_ext
43865 cat >>conftest.
$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43881 rm -f conftest.
$ac_objext
43882 if { (ac_try
="$ac_compile"
43883 case "(($ac_try" in
43884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43885 *) ac_try_echo=$ac_try;;
43887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43888 (eval "$ac_compile") 2>conftest.er1
43890 grep -v '^ *+' conftest.er1 >conftest.err
43892 cat conftest.err >&5
43893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43894 (exit $ac_status); } && {
43895 test -z "$ac_cxx_werror_flag" ||
43896 test ! -s conftest.err
43897 } && test -s conftest.$ac_objext; then
43899 wx_cv_var_timezone=_timezone
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.$ac_ext >&5
43906 cat >conftest.$ac_ext <<_ACEOF
43909 cat confdefs.h >>conftest.$ac_ext
43910 cat >>conftest.$ac_ext <<_ACEOF
43911 /* end confdefs.h. */
43926 rm -f conftest.$ac_objext
43927 if { (ac_try="$ac_compile"
43928 case "(($ac_try" in
43929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43930 *) ac_try_echo
=$ac_try;;
43932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43933 (eval "$ac_compile") 2>conftest.er1
43935 grep -v '^ *+' conftest.er1
>conftest.err
43937 cat conftest.err
>&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } && {
43940 test -z "$ac_cxx_werror_flag" ||
43941 test ! -s conftest.err
43942 } && test -s conftest.
$ac_objext; then
43944 wx_cv_var_timezone
=__timezone
43947 echo "$as_me: failed program was:" >&5
43948 sed 's/^/| /' conftest.
$ac_ext >&5
43951 if test "$USE_DOS" = 0 ; then
43952 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43953 echo "$as_me: WARNING: no timezone variable" >&2;}
43959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43971 ac_cpp
='$CPP $CPPFLAGS'
43972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43979 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43980 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43982 if test "x$wx_cv_var_timezone" != x
; then
43983 cat >>confdefs.h
<<_ACEOF
43984 #define WX_TIMEZONE $wx_cv_var_timezone
43990 for ac_func
in localtime
43992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43995 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43998 cat >conftest.
$ac_ext <<_ACEOF
44001 cat confdefs.h
>>conftest.
$ac_ext
44002 cat >>conftest.
$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44006 #define $ac_func innocuous_$ac_func
44008 /* System header to define __stub macros and hopefully few prototypes,
44009 which can conflict with char $ac_func (); below.
44010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44011 <limits.h> exists even on freestanding compilers. */
44014 # include <limits.h>
44016 # include <assert.h>
44021 /* Override any GCC internal prototype to avoid an error.
44022 Use char because int might match the return type of a GCC
44023 builtin and then its argument prototype would still apply. */
44028 /* The GNU C library defines this for functions which it implements
44029 to always fail with ENOSYS. Some functions are actually named
44030 something starting with __ and the normal name is an alias. */
44031 #if defined __stub_$ac_func || defined __stub___$ac_func
44038 return $ac_func ();
44043 rm -f conftest.
$ac_objext conftest
$ac_exeext
44044 if { (ac_try
="$ac_link"
44045 case "(($ac_try" in
44046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44047 *) ac_try_echo=$ac_try;;
44049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44050 (eval "$ac_link") 2>conftest.er1
44052 grep -v '^ *+' conftest.er1 >conftest.err
44054 cat conftest.err >&5
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); } && {
44057 test -z "$ac_c_werror_flag" ||
44058 test ! -s conftest.err
44059 } && test -s conftest$ac_exeext &&
44060 $as_test_x conftest$ac_exeext; then
44061 eval "$as_ac_var=yes"
44063 echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44066 eval "$as_ac_var=no"
44069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44070 conftest$ac_exeext conftest.$ac_ext
44072 ac_res=`eval echo '${'$as_ac_var'}'`
44073 { echo "$as_me:$LINENO: result: $ac_res" >&5
44074 echo "${ECHO_T}$ac_res" >&6; }
44075 if test `eval echo '${'$as_ac_var'}'` = yes; then
44076 cat >>confdefs.h <<_ACEOF
44077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44084 if test "$ac_cv_func_localtime" = "yes"; then
44085 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44086 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44087 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44088 echo $ECHO_N "(cached) $ECHO_C" >&6
44091 cat >conftest.$ac_ext <<_ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44111 rm -f conftest.$ac_objext
44112 if { (ac_try="$ac_compile"
44113 case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44115 *) ac_try_echo
=$ac_try;;
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_compile") 2>conftest.er1
44120 grep -v '^ *+' conftest.er1
>conftest.err
44122 cat conftest.err
>&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } && {
44125 test -z "$ac_c_werror_flag" ||
44126 test ! -s conftest.err
44127 } && test -s conftest.
$ac_objext; then
44129 wx_cv_struct_tm_has_gmtoff
=yes
44132 echo "$as_me: failed program was:" >&5
44133 sed 's/^/| /' conftest.
$ac_ext >&5
44135 wx_cv_struct_tm_has_gmtoff
=no
44139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44142 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44143 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44146 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44147 cat >>confdefs.h
<<\_ACEOF
44148 #define WX_GMTOFF_IN_TM 1
44153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44157 if test "$wxUSE_SOCKETS" = "yes"; then
44158 if test "$wxUSE_MGL" = 1; then
44159 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44160 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44165 if test "$wxUSE_SOCKETS" = "yes"; then
44166 if test "$TOOLKIT" != "MSW"; then
44167 { echo "$as_me:$LINENO: checking for socket" >&5
44168 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44169 if test "${ac_cv_func_socket+set}" = set; then
44170 echo $ECHO_N "(cached) $ECHO_C" >&6
44172 cat >conftest.
$ac_ext <<_ACEOF
44175 cat confdefs.h
>>conftest.
$ac_ext
44176 cat >>conftest.
$ac_ext <<_ACEOF
44177 /* end confdefs.h. */
44178 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44180 #define socket innocuous_socket
44182 /* System header to define __stub macros and hopefully few prototypes,
44183 which can conflict with char socket (); below.
44184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44185 <limits.h> exists even on freestanding compilers. */
44188 # include <limits.h>
44190 # include <assert.h>
44195 /* Override any GCC internal prototype to avoid an error.
44196 Use char because int might match the return type of a GCC
44197 builtin and then its argument prototype would still apply. */
44202 /* The GNU C library defines this for functions which it implements
44203 to always fail with ENOSYS. Some functions are actually named
44204 something starting with __ and the normal name is an alias. */
44205 #if defined __stub_socket || defined __stub___socket
44217 rm -f conftest.
$ac_objext conftest
$ac_exeext
44218 if { (ac_try
="$ac_link"
44219 case "(($ac_try" in
44220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44221 *) ac_try_echo=$ac_try;;
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_link") 2>conftest.er1
44226 grep -v '^ *+' conftest.er1 >conftest.err
44228 cat conftest.err >&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } && {
44231 test -z "$ac_c_werror_flag" ||
44232 test ! -s conftest.err
44233 } && test -s conftest$ac_exeext &&
44234 $as_test_x conftest$ac_exeext; then
44235 ac_cv_func_socket=yes
44237 echo "$as_me: failed program was:" >&5
44238 sed 's/^/| /' conftest.$ac_ext >&5
44240 ac_cv_func_socket=no
44243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44244 conftest$ac_exeext conftest.$ac_ext
44246 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44247 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44248 if test $ac_cv_func_socket = yes; then
44252 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44253 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44254 if test "${ac_cv_lib_socket_socket+set}" = set; then
44255 echo $ECHO_N "(cached) $ECHO_C" >&6
44257 ac_check_lib_save_LIBS=$LIBS
44258 LIBS="-lsocket $LIBS"
44259 cat >conftest.$ac_ext <<_ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44266 /* Override any GCC internal prototype to avoid an error.
44267 Use char because int might match the return type of a GCC
44268 builtin and then its argument prototype would still apply. */
44281 rm -f conftest.$ac_objext conftest$ac_exeext
44282 if { (ac_try="$ac_link"
44283 case "(($ac_try" in
44284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44285 *) ac_try_echo
=$ac_try;;
44287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44288 (eval "$ac_link") 2>conftest.er1
44290 grep -v '^ *+' conftest.er1
>conftest.err
44292 cat conftest.err
>&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); } && {
44295 test -z "$ac_c_werror_flag" ||
44296 test ! -s conftest.err
44297 } && test -s conftest
$ac_exeext &&
44298 $as_test_x conftest
$ac_exeext; then
44299 ac_cv_lib_socket_socket
=yes
44301 echo "$as_me: failed program was:" >&5
44302 sed 's/^/| /' conftest.
$ac_ext >&5
44304 ac_cv_lib_socket_socket
=no
44307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44308 conftest
$ac_exeext conftest.
$ac_ext
44309 LIBS
=$ac_check_lib_save_LIBS
44311 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44312 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44313 if test $ac_cv_lib_socket_socket = yes; then
44314 if test "$INET_LINK" != " -lsocket"; then
44315 INET_LINK
="$INET_LINK -lsocket"
44319 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44320 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44333 if test "$wxUSE_SOCKETS" = "yes" ; then
44334 if test "$TOOLKIT" != "MSW"; then
44335 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44336 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44337 if test "${wx_cv_type_getsockname3+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 ac_cpp
='$CXXCPP $CPPFLAGS'
44343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44347 cat >conftest.
$ac_ext <<_ACEOF
44350 cat confdefs.h
>>conftest.
$ac_ext
44351 cat >>conftest.
$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44354 #include <sys/types.h>
44355 #include <sys/socket.h>
44362 getsockname(0, 0, &len);
44368 rm -f conftest.
$ac_objext
44369 if { (ac_try
="$ac_compile"
44370 case "(($ac_try" in
44371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44372 *) ac_try_echo=$ac_try;;
44374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 (eval "$ac_compile") 2>conftest.er1
44377 grep -v '^ *+' conftest.er1 >conftest.err
44379 cat conftest.err >&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); } && {
44382 test -z "$ac_cxx_werror_flag" ||
44383 test ! -s conftest.err
44384 } && test -s conftest.$ac_objext; then
44385 wx_cv_type_getsockname3=socklen_t
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44391 CFLAGS_OLD="$CFLAGS"
44392 if test "$GCC" = yes ; then
44393 CFLAGS="-Werror $CFLAGS"
44396 cat >conftest.$ac_ext <<_ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44403 #include <sys/types.h>
44404 #include <sys/socket.h>
44411 getsockname(0, 0, &len);
44417 rm -f conftest.$ac_objext
44418 if { (ac_try="$ac_compile"
44419 case "(($ac_try" in
44420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44421 *) ac_try_echo
=$ac_try;;
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424 (eval "$ac_compile") 2>conftest.er1
44426 grep -v '^ *+' conftest.er1
>conftest.err
44428 cat conftest.err
>&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } && {
44431 test -z "$ac_cxx_werror_flag" ||
44432 test ! -s conftest.err
44433 } && test -s conftest.
$ac_objext; then
44434 wx_cv_type_getsockname3
=size_t
44436 echo "$as_me: failed program was:" >&5
44437 sed 's/^/| /' conftest.
$ac_ext >&5
44439 cat >conftest.
$ac_ext <<_ACEOF
44442 cat confdefs.h
>>conftest.
$ac_ext
44443 cat >>conftest.
$ac_ext <<_ACEOF
44444 /* end confdefs.h. */
44446 #include <sys/types.h>
44447 #include <sys/socket.h>
44454 getsockname(0, 0, &len);
44460 rm -f conftest.
$ac_objext
44461 if { (ac_try
="$ac_compile"
44462 case "(($ac_try" in
44463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44464 *) ac_try_echo=$ac_try;;
44466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44467 (eval "$ac_compile") 2>conftest.er1
44469 grep -v '^ *+' conftest.er1 >conftest.err
44471 cat conftest.err >&5
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); } && {
44474 test -z "$ac_cxx_werror_flag" ||
44475 test ! -s conftest.err
44476 } && test -s conftest.$ac_objext; then
44477 wx_cv_type_getsockname3=int
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44482 wx_cv_type_getsockname3=unknown
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492 CFLAGS="$CFLAGS_OLD"
44497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44499 ac_cpp='$CPP $CPPFLAGS'
44500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44506 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44507 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44509 if test "$wx_cv_type_getsockname3" = "unknown"; then
44511 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44512 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44514 cat >>confdefs.h <<_ACEOF
44515 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44519 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44520 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44521 if test "${wx_cv_type_getsockopt5+set}" = set; then
44522 echo $ECHO_N "(cached) $ECHO_C" >&6
44526 ac_cpp='$CXXCPP $CPPFLAGS'
44527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44531 cat >conftest.$ac_ext <<_ACEOF
44534 cat confdefs.h >>conftest.$ac_ext
44535 cat >>conftest.$ac_ext <<_ACEOF
44536 /* end confdefs.h. */
44538 #include <sys/types.h>
44539 #include <sys/socket.h>
44546 getsockopt(0, 0, 0, 0, &len);
44552 rm -f conftest.$ac_objext
44553 if { (ac_try="$ac_compile"
44554 case "(($ac_try" in
44555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44556 *) ac_try_echo
=$ac_try;;
44558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44559 (eval "$ac_compile") 2>conftest.er1
44561 grep -v '^ *+' conftest.er1
>conftest.err
44563 cat conftest.err
>&5
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); } && {
44566 test -z "$ac_cxx_werror_flag" ||
44567 test ! -s conftest.err
44568 } && test -s conftest.
$ac_objext; then
44569 wx_cv_type_getsockopt5
=socklen_t
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.
$ac_ext >&5
44575 cat >conftest.
$ac_ext <<_ACEOF
44578 cat confdefs.h
>>conftest.
$ac_ext
44579 cat >>conftest.
$ac_ext <<_ACEOF
44580 /* end confdefs.h. */
44582 #include <sys/types.h>
44583 #include <sys/socket.h>
44590 getsockopt(0, 0, 0, 0, &len);
44596 rm -f conftest.
$ac_objext
44597 if { (ac_try
="$ac_compile"
44598 case "(($ac_try" in
44599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44600 *) ac_try_echo=$ac_try;;
44602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44603 (eval "$ac_compile") 2>conftest.er1
44605 grep -v '^ *+' conftest.er1 >conftest.err
44607 cat conftest.err >&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); } && {
44610 test -z "$ac_cxx_werror_flag" ||
44611 test ! -s conftest.err
44612 } && test -s conftest.$ac_objext; then
44613 wx_cv_type_getsockopt5=size_t
44615 echo "$as_me: failed program was:" >&5
44616 sed 's/^/| /' conftest.$ac_ext >&5
44618 cat >conftest.$ac_ext <<_ACEOF
44621 cat confdefs.h >>conftest.$ac_ext
44622 cat >>conftest.$ac_ext <<_ACEOF
44623 /* end confdefs.h. */
44625 #include <sys/types.h>
44626 #include <sys/socket.h>
44633 getsockopt(0, 0, 0, 0, &len);
44639 rm -f conftest.$ac_objext
44640 if { (ac_try="$ac_compile"
44641 case "(($ac_try" in
44642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44643 *) ac_try_echo
=$ac_try;;
44645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44646 (eval "$ac_compile") 2>conftest.er1
44648 grep -v '^ *+' conftest.er1
>conftest.err
44650 cat conftest.err
>&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); } && {
44653 test -z "$ac_cxx_werror_flag" ||
44654 test ! -s conftest.err
44655 } && test -s conftest.
$ac_objext; then
44656 wx_cv_type_getsockopt5
=int
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.
$ac_ext >&5
44661 wx_cv_type_getsockopt5
=unknown
44665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44676 ac_cpp
='$CPP $CPPFLAGS'
44677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44683 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44684 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44686 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44688 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44689 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44691 cat >>confdefs.h
<<_ACEOF
44692 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44699 if test "$wxUSE_SOCKETS" = "yes" ; then
44700 if test "$wxUSE_IPV6" = "yes"; then
44701 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44702 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44703 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44704 echo $ECHO_N "(cached) $ECHO_C" >&6
44707 cat >conftest.
$ac_ext <<_ACEOF
44710 cat confdefs.h
>>conftest.
$ac_ext
44711 cat >>conftest.
$ac_ext <<_ACEOF
44712 /* end confdefs.h. */
44714 #include <sys/types.h>
44715 #include <sys/socket.h>
44716 #include <netinet/in.h>
44722 struct sockaddr_in6 sa6;
44728 rm -f conftest.
$ac_objext
44729 if { (ac_try
="$ac_compile"
44730 case "(($ac_try" in
44731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44732 *) ac_try_echo=$ac_try;;
44734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44735 (eval "$ac_compile") 2>conftest.er1
44737 grep -v '^ *+' conftest.er1 >conftest.err
44739 cat conftest.err >&5
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); } && {
44742 test -z "$ac_c_werror_flag" ||
44743 test ! -s conftest.err
44744 } && test -s conftest.$ac_objext; then
44745 wx_cv_type_sockaddr_in6=yes
44747 echo "$as_me: failed program was:" >&5
44748 sed 's/^/| /' conftest.$ac_ext >&5
44750 wx_cv_type_sockaddr_in6=no
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44758 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44759 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44761 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_IPV6 1
44767 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44768 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_SOCKETS 1
44776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44779 if test "$wxUSE_PROTOCOL" = "yes"; then
44780 if test "$wxUSE_SOCKETS" != "yes"; then
44781 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44782 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44787 if test "$wxUSE_PROTOCOL" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_PROTOCOL 1
44793 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_PROTOCOL_HTTP 1
44799 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44800 cat >>confdefs.h <<\_ACEOF
44801 #define wxUSE_PROTOCOL_FTP 1
44805 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_PROTOCOL_FILE 1
44812 if test "$wxUSE_FS_INET" = "yes"; then
44813 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44814 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44819 if test "$wxUSE_URL" = "yes"; then
44820 if test "$wxUSE_PROTOCOL" != "yes"; then
44821 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44822 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44825 if test "$wxUSE_URL" = "yes"; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_URL 1
44833 if test "$wxUSE_VARIANT" = "yes"; then
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_VARIANT 1
44840 if test "$wxUSE_FS_INET" = "yes"; then
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_FS_INET 1
44848 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44851 if test "$TOOLKIT" = "MSW"; then
44854 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44855 if test "$USE_DARWIN" = 1; then
44856 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44857 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44859 ac_cpp='$CXXCPP $CPPFLAGS'
44860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44864 cat >conftest.$ac_ext <<_ACEOF
44867 cat confdefs.h >>conftest.$ac_ext
44868 cat >>conftest.$ac_ext <<_ACEOF
44869 /* end confdefs.h. */
44870 #include <IOKit/hid/IOHIDLib.h>
44874 IOHIDQueueInterface *qi = NULL;
44875 IOHIDCallbackFunction cb = NULL;
44876 qi->setEventCallout(NULL, cb, NULL, NULL);
44881 rm -f conftest.$ac_objext
44882 if { (ac_try="$ac_compile"
44883 case "(($ac_try" in
44884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44885 *) ac_try_echo
=$ac_try;;
44887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44888 (eval "$ac_compile") 2>conftest.er1
44890 grep -v '^ *+' conftest.er1
>conftest.err
44892 cat conftest.err
>&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); } && {
44895 test -z "$ac_cxx_werror_flag" ||
44896 test ! -s conftest.err
44897 } && test -s conftest.
$ac_objext; then
44901 echo "$as_me: failed program was:" >&5
44902 sed 's/^/| /' conftest.
$ac_ext >&5
44907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44909 ac_cpp
='$CPP $CPPFLAGS'
44910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44914 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44915 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44919 if test "$wxUSE_MGL" != 1; then
44921 for ac_header
in linux
/joystick.h
44923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44926 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44927 echo $ECHO_N "(cached) $ECHO_C" >&6
44929 cat >conftest.
$ac_ext <<_ACEOF
44932 cat confdefs.h
>>conftest.
$ac_ext
44933 cat >>conftest.
$ac_ext <<_ACEOF
44934 /* end confdefs.h. */
44935 $ac_includes_default
44937 #include <$ac_header>
44939 rm -f conftest.
$ac_objext
44940 if { (ac_try
="$ac_compile"
44941 case "(($ac_try" in
44942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44943 *) ac_try_echo=$ac_try;;
44945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44946 (eval "$ac_compile") 2>conftest.er1
44948 grep -v '^ *+' conftest.er1 >conftest.err
44950 cat conftest.err >&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); } && {
44953 test -z "$ac_c_werror_flag" ||
44954 test ! -s conftest.err
44955 } && test -s conftest.$ac_objext; then
44956 eval "$as_ac_Header=yes"
44958 echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.$ac_ext >&5
44961 eval "$as_ac_Header=no"
44964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44966 ac_res=`eval echo '${'$as_ac_Header'}'`
44967 { echo "$as_me:$LINENO: result: $ac_res" >&5
44968 echo "${ECHO_T}$ac_res" >&6; }
44969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44970 cat >>confdefs.h <<_ACEOF
44971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44981 if test "$wxUSE_JOYSTICK" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_JOYSTICK 1
44986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44988 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44989 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44995 if test "$wxUSE_FONTENUM" = "yes" ; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_FONTENUM 1
45002 if test "$wxUSE_FONTMAP" = "yes" ; then
45003 cat >>confdefs.h <<\_ACEOF
45004 #define wxUSE_FONTMAP 1
45009 if test "$wxUSE_UNICODE" = "yes" ; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_UNICODE 1
45015 if test "$USE_WIN32" != 1; then
45016 wxUSE_UNICODE_MSLU=no
45019 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45020 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45021 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45022 if test "${ac_cv_lib_unicows_main+set}" = set; then
45023 echo $ECHO_N "(cached) $ECHO_C" >&6
45025 ac_check_lib_save_LIBS=$LIBS
45026 LIBS="-lunicows $LIBS"
45027 cat >conftest.$ac_ext <<_ACEOF
45030 cat confdefs.h >>conftest.$ac_ext
45031 cat >>conftest.$ac_ext <<_ACEOF
45032 /* end confdefs.h. */
45043 rm -f conftest.$ac_objext conftest$ac_exeext
45044 if { (ac_try="$ac_link"
45045 case "(($ac_try" in
45046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45047 *) ac_try_echo
=$ac_try;;
45049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45050 (eval "$ac_link") 2>conftest.er1
45052 grep -v '^ *+' conftest.er1
>conftest.err
45054 cat conftest.err
>&5
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); } && {
45057 test -z "$ac_c_werror_flag" ||
45058 test ! -s conftest.err
45059 } && test -s conftest
$ac_exeext &&
45060 $as_test_x conftest
$ac_exeext; then
45061 ac_cv_lib_unicows_main
=yes
45063 echo "$as_me: failed program was:" >&5
45064 sed 's/^/| /' conftest.
$ac_ext >&5
45066 ac_cv_lib_unicows_main
=no
45069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45070 conftest
$ac_exeext conftest.
$ac_ext
45071 LIBS
=$ac_check_lib_save_LIBS
45073 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45074 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45075 if test $ac_cv_lib_unicows_main = yes; then
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_UNICODE_MSLU 1
45084 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45085 Applications will only run on Windows NT/2000/XP!" >&5
45086 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45087 Applications will only run on Windows NT/2000/XP!" >&2;}
45088 wxUSE_UNICODE_MSLU
=no
45095 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45096 cat >>confdefs.h
<<\_ACEOF
45097 #define wxUSE_UNICODE_UTF8 1
45101 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_UTF8_LOCALE_ONLY 1
45110 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45111 cat >>confdefs.h
<<\_ACEOF
45112 #define wxUSE_CONSTRAINTS 1
45115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45118 if test "$wxUSE_MDI" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_MDI 1
45124 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45125 cat >>confdefs.h
<<\_ACEOF
45126 #define wxUSE_MDI_ARCHITECTURE 1
45129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45133 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45134 cat >>confdefs.h
<<\_ACEOF
45135 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45141 if test "$wxUSE_HELP" = "yes"; then
45142 cat >>confdefs.h
<<\_ACEOF
45143 #define wxUSE_HELP 1
45146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45148 if test "$wxUSE_MSW" = 1; then
45149 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45150 cat >>confdefs.h
<<\_ACEOF
45151 #define wxUSE_MS_HTML_HELP 1
45157 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45158 if test "$wxUSE_HTML" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_WXHTML_HELP 1
45164 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45165 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45166 wxUSE_WXHTML_HELP
=no
45171 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45172 cat >>confdefs.h
<<\_ACEOF
45173 #define wxUSE_PRINTING_ARCHITECTURE 1
45176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45179 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45180 cat >>confdefs.h
<<\_ACEOF
45181 #define wxUSE_POSTSCRIPT 1
45186 cat >>confdefs.h
<<\_ACEOF
45187 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45191 if test "$wxUSE_SVG" = "yes"; then
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_SVG 1
45199 if test "$wxUSE_METAFILE" = "yes"; then
45200 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45201 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45202 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45208 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45209 -o "$wxUSE_CLIPBOARD" = "yes" \
45210 -o "$wxUSE_OLE" = "yes" \
45211 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45212 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45213 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45214 if test "${ac_cv_header_ole2_h+set}" = set; then
45215 echo $ECHO_N "(cached) $ECHO_C" >&6
45217 cat >conftest.
$ac_ext <<_ACEOF
45220 cat confdefs.h
>>conftest.
$ac_ext
45221 cat >>conftest.
$ac_ext <<_ACEOF
45222 /* end confdefs.h. */
45227 rm -f conftest.
$ac_objext
45228 if { (ac_try
="$ac_compile"
45229 case "(($ac_try" in
45230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45231 *) ac_try_echo=$ac_try;;
45233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45234 (eval "$ac_compile") 2>conftest.er1
45236 grep -v '^ *+' conftest.er1 >conftest.err
45238 cat conftest.err >&5
45239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240 (exit $ac_status); } && {
45241 test -z "$ac_c_werror_flag" ||
45242 test ! -s conftest.err
45243 } && test -s conftest.$ac_objext; then
45244 ac_cv_header_ole2_h=yes
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45249 ac_cv_header_ole2_h=no
45252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45254 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45255 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45259 if test "$ac_cv_header_ole2_h" = "yes" ; then
45260 if test "$GCC" = yes ; then
45261 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45262 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45263 cat >conftest.$ac_ext <<_ACEOF
45266 cat confdefs.h >>conftest.$ac_ext
45267 cat >>conftest.$ac_ext <<_ACEOF
45268 /* end confdefs.h. */
45269 #include <windows.h>
45279 rm -f conftest.$ac_objext
45280 if { (ac_try="$ac_compile"
45281 case "(($ac_try" in
45282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45283 *) ac_try_echo
=$ac_try;;
45285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45286 (eval "$ac_compile") 2>conftest.er1
45288 grep -v '^ *+' conftest.er1
>conftest.err
45290 cat conftest.err
>&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } && {
45293 test -z "$ac_c_werror_flag" ||
45294 test ! -s conftest.err
45295 } && test -s conftest.
$ac_objext; then
45296 { echo "$as_me:$LINENO: result: no" >&5
45297 echo "${ECHO_T}no" >&6; }
45299 echo "$as_me: failed program was:" >&5
45300 sed 's/^/| /' conftest.
$ac_ext >&5
45302 { echo "$as_me:$LINENO: result: yes" >&5
45303 echo "${ECHO_T}yes" >&6; }
45304 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45308 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45309 if test "$wxUSE_OLE" = "yes" ; then
45310 cat >>confdefs.h
<<\_ACEOF
45311 #define wxUSE_OLE 1
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_OLE_AUTOMATION 1
45318 cat >>confdefs.h
<<\_ACEOF
45319 #define wxUSE_ACTIVEX 1
45322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45326 if test "$wxUSE_DATAOBJ" = "yes" ; then
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_DATAOBJ 1
45333 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45334 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45337 wxUSE_DRAG_AND_DROP
=no
45342 if test "$wxUSE_METAFILE" = "yes"; then
45343 cat >>confdefs.h
<<\_ACEOF
45344 #define wxUSE_METAFILE 1
45348 cat >>confdefs.h
<<\_ACEOF
45349 #define wxUSE_ENH_METAFILE 1
45355 if test "$wxUSE_IPC" = "yes"; then
45356 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45357 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45358 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45362 if test "$wxUSE_IPC" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_IPC 1
45367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45371 if test "$wxUSE_DATAOBJ" = "yes"; then
45372 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45373 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45374 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_DATAOBJ 1
45383 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45384 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45386 wxUSE_DRAG_AND_DROP
=no
45389 if test "$wxUSE_CLIPBOARD" = "yes"; then
45390 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45391 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45392 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45396 if test "$wxUSE_CLIPBOARD" = "yes"; then
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_CLIPBOARD 1
45404 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45405 if test "$wxUSE_GTK" = 1; then
45406 if test "$WXGTK12" != 1; then
45407 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45408 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45409 wxUSE_DRAG_AND_DROP
=no
45413 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45414 "$wxUSE_DFB" = 1; then
45415 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45416 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45417 wxUSE_DRAG_AND_DROP
=no
45420 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45421 cat >>confdefs.h
<<\_ACEOF
45422 #define wxUSE_DRAG_AND_DROP 1
45429 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45433 if test "$wxUSE_CLIPBOARD" = "yes"; then
45434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45437 if test "$wxUSE_SPLINES" = "yes" ; then
45438 cat >>confdefs.h
<<\_ACEOF
45439 #define wxUSE_SPLINES 1
45444 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45445 cat >>confdefs.h
<<\_ACEOF
45446 #define wxUSE_MOUSEWHEEL 1
45453 if test "$wxUSE_CONTROLS" = "yes"; then
45457 if test "$wxUSE_ACCEL" = "yes"; then
45458 cat >>confdefs.h
<<\_ACEOF
45459 #define wxUSE_ACCEL 1
45465 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45466 cat >>confdefs.h
<<\_ACEOF
45467 #define wxUSE_ANIMATIONCTRL 1
45471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45474 if test "$wxUSE_BUTTON" = "yes"; then
45475 cat >>confdefs.h
<<\_ACEOF
45476 #define wxUSE_BUTTON 1
45482 if test "$wxUSE_BMPBUTTON" = "yes"; then
45483 cat >>confdefs.h
<<\_ACEOF
45484 #define wxUSE_BMPBUTTON 1
45490 if test "$wxUSE_CALCTRL" = "yes"; then
45491 cat >>confdefs.h
<<\_ACEOF
45492 #define wxUSE_CALENDARCTRL 1
45496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45499 if test "$wxUSE_CARET" = "yes"; then
45500 cat >>confdefs.h
<<\_ACEOF
45501 #define wxUSE_CARET 1
45505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45508 if test "$wxUSE_COLLPANE" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_COLLPANE 1
45514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45517 if test "$wxUSE_COMBOBOX" = "yes"; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_COMBOBOX 1
45525 if test "$wxUSE_COMBOCTRL" = "yes"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_COMBOCTRL 1
45533 if test "$wxUSE_CHOICE" = "yes"; then
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_CHOICE 1
45541 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45542 cat >>confdefs.h
<<\_ACEOF
45543 #define wxUSE_CHOICEBOOK 1
45549 if test "$wxUSE_CHECKBOX" = "yes"; then
45550 cat >>confdefs.h
<<\_ACEOF
45551 #define wxUSE_CHECKBOX 1
45557 if test "$wxUSE_CHECKLST" = "yes"; then
45558 cat >>confdefs.h
<<\_ACEOF
45559 #define wxUSE_CHECKLISTBOX 1
45565 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_COLOURPICKERCTRL 1
45573 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_DATEPICKCTRL 1
45581 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_DIRPICKERCTRL 1
45589 if test "$wxUSE_FILECTRL" = "yes"; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_FILECTRL 1
45597 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define wxUSE_FILEPICKERCTRL 1
45605 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45606 cat >>confdefs.h
<<\_ACEOF
45607 #define wxUSE_FONTPICKERCTRL 1
45613 if test "$wxUSE_DISPLAY" = "yes"; then
45614 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45615 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45616 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45619 cat >>confdefs.h
<<\_ACEOF
45620 #define wxUSE_DISPLAY 1
45623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45627 if test "$wxUSE_DETECT_SM" = "yes"; then
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_DETECT_SM 1
45634 if test "$wxUSE_GAUGE" = "yes"; then
45635 cat >>confdefs.h
<<\_ACEOF
45636 #define wxUSE_GAUGE 1
45642 if test "$wxUSE_GRID" = "yes"; then
45643 cat >>confdefs.h
<<\_ACEOF
45644 #define wxUSE_GRID 1
45648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45651 if test "$wxUSE_HEADERCTRL" = "yes"; then
45652 cat >>confdefs.h
<<\_ACEOF
45653 #define wxUSE_HEADERCTRL 1
45659 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_HYPERLINKCTRL 1
45667 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45668 cat >>confdefs.h
<<\_ACEOF
45669 #define wxUSE_BITMAPCOMBOBOX 1
45675 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45676 cat >>confdefs.h
<<\_ACEOF
45677 #define wxUSE_DATAVIEWCTRL 1
45681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45684 if test "$wxUSE_IMAGLIST" = "yes"; then
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_IMAGLIST 1
45691 if test "$wxUSE_LISTBOOK" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_LISTBOOK 1
45699 if test "$wxUSE_LISTBOX" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_LISTBOX 1
45707 if test "$wxUSE_LISTCTRL" = "yes"; then
45708 if test "$wxUSE_IMAGLIST" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_LISTCTRL 1
45714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45716 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45717 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45721 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45722 cat >>confdefs.h
<<\_ACEOF
45723 #define wxUSE_EDITABLELISTBOX 1
45729 if test "$wxUSE_NOTEBOOK" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_NOTEBOOK 1
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45738 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45739 cat >>confdefs.h
<<\_ACEOF
45740 #define wxUSE_NOTIFICATION_MESSAGE 1
45745 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45746 cat >>confdefs.h
<<\_ACEOF
45747 #define wxUSE_ODCOMBOBOX 1
45751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45754 if test "$wxUSE_RADIOBOX" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_RADIOBOX 1
45762 if test "$wxUSE_RADIOBTN" = "yes"; then
45763 cat >>confdefs.h
<<\_ACEOF
45764 #define wxUSE_RADIOBTN 1
45770 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45771 cat >>confdefs.h
<<\_ACEOF
45772 #define wxUSE_REARRANGECTRL 1
45777 if test "$wxUSE_SASH" = "yes"; then
45778 cat >>confdefs.h
<<\_ACEOF
45779 #define wxUSE_SASH 1
45782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45785 if test "$wxUSE_SCROLLBAR" = "yes"; then
45786 cat >>confdefs.h
<<\_ACEOF
45787 #define wxUSE_SCROLLBAR 1
45791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45794 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_SEARCHCTRL 1
45802 if test "$wxUSE_SLIDER" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_SLIDER 1
45810 if test "$wxUSE_SPINBTN" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_SPINBTN 1
45818 if test "$wxUSE_SPINCTRL" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_SPINCTRL 1
45826 if test "$wxUSE_SPLITTER" = "yes"; then
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_SPLITTER 1
45831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45834 if test "$wxUSE_STATBMP" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_STATBMP 1
45842 if test "$wxUSE_STATBOX" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_STATBOX 1
45850 if test "$wxUSE_STATTEXT" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_STATTEXT 1
45858 if test "$wxUSE_STATLINE" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_STATLINE 1
45866 if test "$wxUSE_STATUSBAR" = "yes"; then
45867 cat >>confdefs.h
<<\_ACEOF
45868 #define wxUSE_NATIVE_STATUSBAR 1
45871 cat >>confdefs.h
<<\_ACEOF
45872 #define wxUSE_STATUSBAR 1
45877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45880 if test "$wxUSE_TEXTCTRL" = "yes"; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_TEXTCTRL 1
45886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45888 cat >>confdefs.h
<<\_ACEOF
45889 #define wxUSE_RICHEDIT 1
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_RICHEDIT2 1
45898 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45899 if test "$wxUSE_COCOA" = 1 ; then
45900 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45901 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45905 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45906 cat >>confdefs.h
<<\_ACEOF
45907 #define wxUSE_TOGGLEBTN 1
45914 if test "$wxUSE_TOOLBAR" = "yes"; then
45915 cat >>confdefs.h
<<\_ACEOF
45916 #define wxUSE_TOOLBAR 1
45921 if test "$wxUSE_UNIVERSAL" = "yes"; then
45922 wxUSE_TOOLBAR_NATIVE
="no"
45924 wxUSE_TOOLBAR_NATIVE
="yes"
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_TOOLBAR_NATIVE 1
45931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45934 if test "$wxUSE_TOOLTIPS" = "yes"; then
45935 if test "$wxUSE_MOTIF" = 1; then
45936 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45937 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45939 if test "$wxUSE_UNIVERSAL" = "yes"; then
45940 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45941 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_TOOLTIPS 1
45951 if test "$wxUSE_TREEBOOK" = "yes"; then
45952 cat >>confdefs.h
<<\_ACEOF
45953 #define wxUSE_TREEBOOK 1
45959 if test "$wxUSE_TOOLBOOK" = "yes"; then
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_TOOLBOOK 1
45967 if test "$wxUSE_TREECTRL" = "yes"; then
45968 if test "$wxUSE_IMAGLIST" = "yes"; then
45969 cat >>confdefs.h
<<\_ACEOF
45970 #define wxUSE_TREECTRL 1
45974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45976 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45977 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45981 if test "$wxUSE_POPUPWIN" = "yes"; then
45982 if test "$wxUSE_COCOA" = 1 ; then
45983 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45984 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45986 if test "$wxUSE_PM" = 1; then
45987 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45988 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45990 cat >>confdefs.h
<<\_ACEOF
45991 #define wxUSE_POPUPWIN 1
45994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46001 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46002 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46003 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46004 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46006 cat >>confdefs.h
<<\_ACEOF
46007 #define wxUSE_DIALUP_MANAGER 1
46010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46014 if test "$wxUSE_TIPWINDOW" = "yes"; then
46015 if test "$wxUSE_PM" = 1; then
46016 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46017 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_TIPWINDOW 1
46026 if test "$USES_CONTROLS" = 1; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_CONTROLS 1
46034 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46035 cat >>confdefs.h
<<\_ACEOF
46036 #define wxUSE_ACCESSIBILITY 1
46039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46042 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46043 cat >>confdefs.h
<<\_ACEOF
46044 #define wxUSE_DRAGIMAGE 1
46047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46050 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46051 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46052 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46053 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46055 cat >>confdefs.h
<<\_ACEOF
46056 #define wxUSE_EXCEPTIONS 1
46059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46064 if test "$wxUSE_HTML" = "yes"; then
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_HTML 1
46070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46072 if test "$wxUSE_WEBKIT" = "yes"; then
46073 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46074 old_CPPFLAGS
="$CPPFLAGS"
46075 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46076 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46077 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46078 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 cat >conftest.
$ac_ext <<_ACEOF
46084 cat confdefs.h
>>conftest.
$ac_ext
46085 cat >>conftest.
$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46088 #include <Carbon/Carbon.h>
46089 #include <WebKit/WebKit.h>
46092 #include <WebKit/HIWebView.h>
46094 rm -f conftest.
$ac_objext
46095 if { (ac_try
="$ac_compile"
46096 case "(($ac_try" in
46097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46098 *) ac_try_echo=$ac_try;;
46100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46101 (eval "$ac_compile") 2>conftest.er1
46103 grep -v '^ *+' conftest.er1 >conftest.err
46105 cat conftest.err >&5
46106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46107 (exit $ac_status); } && {
46108 test -z "$ac_c_werror_flag" ||
46109 test ! -s conftest.err
46110 } && test -s conftest.$ac_objext; then
46111 ac_cv_header_WebKit_HIWebView_h=yes
46113 echo "$as_me: failed program was:" >&5
46114 sed 's/^/| /' conftest.$ac_ext >&5
46116 ac_cv_header_WebKit_HIWebView_h=no
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46122 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46123 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_WEBKIT 1
46129 WEBKIT_LINK="-framework WebKit"
46133 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46134 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46140 CPPFLAGS="$old_CPPFLAGS"
46141 elif test "$wxUSE_COCOA" = 1; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_WEBKIT 1
46149 if test "$wxUSE_WEBKIT" = "yes"; then
46150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46155 if test "$wxUSE_XRC" = "yes"; then
46156 if test "$wxUSE_XML" != "yes"; then
46157 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46158 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_XRC 1
46166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46171 if test "$wxUSE_AUI" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_AUI 1
46177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46181 if test "$wxUSE_PROPGRID" = "yes"; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_PROPGRID 1
46187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46191 if test "$wxUSE_STC" = "yes"; then
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_STC 1
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46200 if test "$wxUSE_MENUS" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_MENUS 1
46205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46208 if test "$wxUSE_METAFILE" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_METAFILE 1
46215 if test "$wxUSE_MIMETYPE" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_MIMETYPE 1
46222 if test "$wxUSE_MINIFRAME" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_MINIFRAME 1
46229 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_SYSTEM_OPTIONS 1
46236 if test "$wxUSE_TASKBARICON" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_TASKBARICON 1
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46245 if test "$wxUSE_VALIDATORS" = "yes"; then
46246 cat >>confdefs.h <<\_ACEOF
46247 #define wxUSE_VALIDATORS 1
46250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46253 if test "$wxUSE_PALETTE" = "yes" ; then
46254 if test "$wxUSE_DFB" = 1; then
46255 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46256 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_PALETTE 1
46266 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46267 LIBS=" -lunicows $LIBS"
46271 if test "$wxUSE_RICHTEXT" = "yes"; then
46272 cat >>confdefs.h <<\_ACEOF
46273 #define wxUSE_RICHTEXT 1
46277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46281 if test "$wxUSE_IMAGE" = "yes" ; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_IMAGE 1
46287 if test "$wxUSE_GIF" = "yes" ; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_GIF 1
46294 if test "$wxUSE_PCX" = "yes" ; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_PCX 1
46301 if test "$wxUSE_TGA" = "yes" ; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_TGA 1
46308 if test "$wxUSE_IFF" = "yes" ; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_IFF 1
46315 if test "$wxUSE_PNM" = "yes" ; then
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_PNM 1
46322 if test "$wxUSE_XPM" = "yes" ; then
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_XPM 1
46329 if test "$wxUSE_ICO_CUR" = "yes" ; then
46330 cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_ICO_CUR 1
46338 if test "$wxUSE_ABOUTDLG" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_ABOUTDLG 1
46345 if test "$wxUSE_CHOICEDLG" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_CHOICEDLG 1
46352 if test "$wxUSE_COLOURDLG" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_COLOURDLG 1
46359 if test "$wxUSE_FILEDLG" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_FILEDLG 1
46366 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_FINDREPLDLG 1
46373 if test "$wxUSE_FONTDLG" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_FONTDLG 1
46380 if test "$wxUSE_DIRDLG" = "yes"; then
46381 if test "$wxUSE_TREECTRL" != "yes"; then
46382 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46383 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_DIRDLG 1
46392 if test "$wxUSE_MSGDLG" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_MSGDLG 1
46399 if test "$wxUSE_NUMBERDLG" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_NUMBERDLG 1
46406 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_PROGRESSDLG 1
46413 if test "$wxUSE_SPLASH" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_SPLASH 1
46418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46421 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_STARTUP_TIPS 1
46428 if test "$wxUSE_TEXTDLG" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_TEXTDLG 1
46435 if test "$wxUSE_WIZARDDLG" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_WIZARDDLG 1
46440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46444 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46445 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_OWNER_DRAWN 1
46454 if test "$wxUSE_MSW" = 1 ; then
46456 if test "$wxUSE_DC_CACHEING" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_DC_CACHEING 1
46463 if test "$wxUSE_DIB" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_WXDIB 1
46470 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46477 if test "$wxUSE_UXTHEME" = "yes"; then
46478 cat >>confdefs.h <<\_ACEOF
46479 #define wxUSE_UXTHEME 1
46486 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_AUTOID_MANAGEMENT 1
46493 if test "$USE_WIN32" = 1 ; then
46494 if test "$wxUSE_INICONF" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_INICONF 1
46501 if test "$wxUSE_REGKEY" = "yes"; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_REGKEY 1
46510 if test "$wxUSE_MAC" = 1; then
46511 wxUSE_GRAPHICS_CONTEXT="yes"
46514 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46515 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_GRAPHICS_CONTEXT 1
46520 elif test "$wxUSE_GTK" != 1; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_GRAPHICS_CONTEXT 1
46528 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46529 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46531 if test -n "$PKG_CONFIG"; then
46532 if test -n "$CAIRO_CFLAGS"; then
46533 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46535 if test -n "$PKG_CONFIG" && \
46536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46537 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540 (exit $ac_status); }; then
46541 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46549 if test -n "$PKG_CONFIG"; then
46550 if test -n "$CAIRO_LIBS"; then
46551 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46553 if test -n "$PKG_CONFIG" && \
46554 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46555 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46558 (exit $ac_status); }; then
46559 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46570 if test $pkg_failed = yes; then
46572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46573 _pkg_short_errors_supported=yes
46575 _pkg_short_errors_supported=no
46577 if test $_pkg_short_errors_supported = yes; then
46578 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46580 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46582 # Put the nasty error message in config.log where it belongs
46583 echo "$CAIRO_PKG_ERRORS" >&5
46585 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46586 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46588 elif test $pkg_failed = untried; then
46589 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46590 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46593 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46594 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46595 { echo "$as_me:$LINENO: result: yes" >&5
46596 echo "${ECHO_T}yes" >&6; }
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_GRAPHICS_CONTEXT 1
46608 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46611 if test "$wxUSE_GTK" = 1; then
46612 wxUSE_GSTREAMER="no"
46614 GST_VERSION_MAJOR=0
46615 GST_VERSION_MINOR=10
46616 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46618 if test "$wxUSE_GSTREAMER8" = "no"; then
46621 { echo "$as_me:$LINENO: checking for GST" >&5
46622 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46624 if test -n "$PKG_CONFIG"; then
46625 if test -n "$GST_CFLAGS"; then
46626 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46628 if test -n "$PKG_CONFIG" && \
46629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46630 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); }; then
46634 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46642 if test -n "$PKG_CONFIG"; then
46643 if test -n "$GST_LIBS"; then
46644 pkg_cv_GST_LIBS="$GST_LIBS"
46646 if test -n "$PKG_CONFIG" && \
46647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46648 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651 (exit $ac_status); }; then
46652 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46663 if test $pkg_failed = yes; then
46665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46666 _pkg_short_errors_supported=yes
46668 _pkg_short_errors_supported=no
46670 if test $_pkg_short_errors_supported = yes; then
46671 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46673 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46675 # Put the nasty error message in config.log where it belongs
46676 echo "$GST_PKG_ERRORS" >&5
46679 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46680 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46681 GST_VERSION_MINOR=8
46684 elif test $pkg_failed = untried; then
46686 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46687 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46688 GST_VERSION_MINOR=8
46692 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46693 GST_LIBS=$pkg_cv_GST_LIBS
46694 { echo "$as_me:$LINENO: result: yes" >&5
46695 echo "${ECHO_T}yes" >&6; }
46697 wxUSE_GSTREAMER="yes"
46698 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46702 GST_VERSION_MINOR=8
46705 if test $GST_VERSION_MINOR = "8"; then
46706 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46709 { echo "$as_me:$LINENO: checking for GST" >&5
46710 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46712 if test -n "$PKG_CONFIG"; then
46713 if test -n "$GST_CFLAGS"; then
46714 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46716 if test -n "$PKG_CONFIG" && \
46717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46718 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46721 (exit $ac_status); }; then
46722 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46730 if test -n "$PKG_CONFIG"; then
46731 if test -n "$GST_LIBS"; then
46732 pkg_cv_GST_LIBS="$GST_LIBS"
46734 if test -n "$PKG_CONFIG" && \
46735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46736 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); }; then
46740 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46751 if test $pkg_failed = yes; then
46753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46754 _pkg_short_errors_supported=yes
46756 _pkg_short_errors_supported=no
46758 if test $_pkg_short_errors_supported = yes; then
46759 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46761 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46763 # Put the nasty error message in config.log where it belongs
46764 echo "$GST_PKG_ERRORS" >&5
46767 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46768 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46770 elif test $pkg_failed = untried; then
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;}
46776 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46777 GST_LIBS=$pkg_cv_GST_LIBS
46778 { echo "$as_me:$LINENO: result: yes" >&5
46779 echo "${ECHO_T}yes" >&6; }
46780 wxUSE_GSTREAMER="yes"
46785 if test "$wxUSE_GSTREAMER" = "yes"; then
46786 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46787 EXTRALIBS_MEDIA="$GST_LIBS"
46789 cat >>confdefs.h <<\_ACEOF
46790 #define wxUSE_GSTREAMER 1
46798 if test $USE_MEDIA = 1; then
46799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_MEDIACTRL 1
46805 if test "$wxUSE_MEDIACTRL" = "yes"; then
46806 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46807 echo "$as_me: error: GStreamer not available" >&2;}
46808 { (exit 1); exit 1; }; }
46810 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46811 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46817 if test "$cross_compiling" != "no"; then
46820 OSINFO=`uname
-s -r -m`
46821 OSINFO="\"$OSINFO\""
46824 cat >>confdefs.h <<_ACEOF
46825 #define WXWIN_OS_DESCRIPTION $OSINFO
46830 if test "x$prefix" != "xNONE"; then
46833 wxPREFIX=$ac_default_prefix
46836 cat >>confdefs.h <<_ACEOF
46837 #define wxINSTALL_PREFIX "$wxPREFIX"
46843 STD_BASE_LIBS="base"
46845 BUILT_WX_LIBS="base"
46846 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46848 if test "$wxUSE_SOCKETS" = "yes" ; then
46849 STD_BASE_LIBS="net $STD_BASE_LIBS"
46850 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46852 if test "$wxUSE_XML" = "yes" ; then
46853 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46854 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46857 if test "$wxUSE_GUI" = "yes"; then
46858 STD_GUI_LIBS="adv core"
46859 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46861 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46862 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46863 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46865 if test "$wxUSE_HTML" = "yes" ; then
46866 STD_GUI_LIBS="html $STD_GUI_LIBS"
46867 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46869 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46870 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46872 if test "$wxUSE_OPENGL" = "yes" ; then
46873 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46875 if test "$wxUSE_AUI" = "yes" ; then
46876 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46878 if test "$wxUSE_PROPGRID" = "yes" ; then
46879 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46881 if test "$wxUSE_RICHTEXT" = "yes" ; then
46882 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46884 if test "$wxUSE_STC" = "yes" ; then
46885 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46887 if test "$wxUSE_XRC" = "yes" ; then
46888 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46889 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46900 if test "$wxUSE_MAC" = 1 ; then
46901 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46902 if test "$USE_DARWIN" = 1; then
46903 LDFLAGS="$LDFLAGS -framework QuickTime"
46906 if test "$USE_DARWIN" = 1; then
46907 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
46910 if test "$wxUSE_COCOA" = 1 ; then
46911 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46912 if test "$wxUSE_MEDIACTRL" = "yes"; then
46913 LDFLAGS="$LDFLAGS -framework QuickTime"
46916 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46917 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46920 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46922 if test "$wxUSE_GUI" = "yes"; then
46925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46926 erase event exec font image minimal render \
46927 shaped svg taborder vscroll widgets wrapsizer"
46929 if test "$wxUSE_MONOLITHIC" != "yes"; then
46930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46932 if test "$TOOLKIT" = "MSW"; then
46933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46934 if test "$wxUSE_UNIVERSAL" != "yes"; then
46935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46938 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46942 SAMPLES_SUBDIRS="console"
46943 if test "$wxUSE_SOCKETS" = "yes" ; then
46944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46946 if test "$wxUSE_IPC" = "yes" ; then
46947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46952 if test "x$INTELCC" = "xyes" ; then
46953 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
46954 elif test "$GCC" = yes ; then
46955 CWARNINGS="-Wall -Wundef"
46958 if test "x$INTELCXX" = "xyes" ; then
46959 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
46960 elif test "$GXX" = yes ; then
46961 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46962 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
46963 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
46964 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
46965 echo $ECHO_N "(cached) $ECHO_C" >&6
46967 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975 ac_save_CXXFLAGS="$CXXFLAGS"
46976 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
46977 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
46978 cat >conftest.$ac_ext <<_ACEOF
46981 cat confdefs.h >>conftest.$ac_ext
46982 cat >>conftest.$ac_ext <<_ACEOF
46983 /* end confdefs.h. */
46993 rm -f conftest.$ac_objext
46994 if { (ac_try="$ac_compile"
46995 case "(($ac_try" in
46996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46997 *) ac_try_echo
=$ac_try;;
46999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47000 (eval "$ac_compile") 2>conftest.er1
47002 grep -v '^ *+' conftest.er1
>conftest.err
47004 cat conftest.err
>&5
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); } && {
47007 test -z "$ac_cxx_werror_flag" ||
47008 test ! -s conftest.err
47009 } && test -s conftest.
$ac_objext; then
47010 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47012 echo "$as_me: failed program was:" >&5
47013 sed 's/^/| /' conftest.
$ac_ext >&5
47018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47020 CXXFLAGS
="$ac_save_CXXFLAGS"
47022 ac_cpp
='$CPP $CPPFLAGS'
47023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47029 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47030 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47031 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47035 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47036 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47037 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); }
47041 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47042 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045 (exit $ac_status); }
47046 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47054 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47055 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47058 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47059 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47060 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47063 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47064 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47065 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47066 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47067 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47069 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47072 if test "x$MWCC" = "xyes"; then
47074 CC
="$CC -cwd source -I-"
47075 CXX
="$CXX -cwd source -I-"
47080 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47081 EXTRALIBS_XML
="$EXPAT_LINK"
47082 EXTRALIBS_HTML
="$MSPACK_LINK"
47083 EXTRALIBS_MEDIA
="$GST_LIBS"
47084 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47085 if test "$wxUSE_GUI" = "yes"; then
47086 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47088 if test "$wxUSE_OPENGL" = "yes"; then
47089 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47092 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47094 WXCONFIG_LIBS
="$LIBS"
47096 if test "$wxUSE_REGEX" = "builtin" ; then
47097 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47099 if test "$wxUSE_EXPAT" = "builtin" ; then
47100 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47102 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47103 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47105 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47106 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47108 if test "$wxUSE_LIBPNG" = "builtin" ; then
47109 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47111 if test "$wxUSE_ZLIB" = "builtin" ; then
47112 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47115 for i
in $wxconfig_3rdparty ; do
47116 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47120 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47123 case "$wxUNIV_THEMES" in
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_ALL_THEMES 1
47132 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47133 cat >>confdefs.h
<<_ACEOF
47134 #define wxUSE_THEME_$t 1
47150 if test $wxUSE_MONOLITHIC = "yes" ; then
47156 if test $wxUSE_PLUGINS = "yes" ; then
47162 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47168 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47201 TOOLKIT_LOWERCASE
=xxx
47202 if test "$TOOLKIT" = "MAC"; then
47203 TOOLKIT_LOWERCASE
=osx_carbon
47205 if test "$TOOLKIT" = "OSX_CARBON"; then
47206 TOOLKIT_LOWERCASE
=osx_carbon
47208 if test "$TOOLKIT" = "OSX_COCOA"; then
47209 TOOLKIT_LOWERCASE
=osx_cocoa
47211 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47212 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47226 TOOLKIT_DESC
="GTK+"
47227 if test "$WXGTK2" = 1; then
47228 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47229 if test "$wxUSE_GTKPRINT" = "yes" ; then
47230 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47232 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47233 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47235 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47236 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47238 if test "$wxUSE_LIBHILDON" = "yes"; then
47239 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47242 if test "$TOOLKIT_EXTRA" != ""; then
47243 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47249 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47253 TOOLKIT_DESC
="base only"
47257 if test "$wxUSE_WINE" = "yes"; then
47258 BAKEFILE_FORCE_PLATFORM
=win32
47261 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47263 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47264 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47265 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47266 echo $ECHO_N "(cached) $ECHO_C" >&6
47269 echo '#include <stdio.h>
47270 const wchar_t test_var[] = L"awidetest";' > conftest.h
47272 echo '#include "conftest.h"
47275 printf("%ls", test_var);
47279 wx_cv_gcc_pch_bug
="pch not supported"
47281 if $CXX conftest.h
>/dev
/null
2>&1
47285 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47287 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47288 grep awidetest
>/dev
/null
47290 wx_cv_gcc_pch_bug
=no
47292 wx_cv_gcc_pch_bug
=yes
47297 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47300 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47301 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47303 if test "$wx_cv_gcc_pch_bug" = yes; then
47314 if test "x$BAKEFILE_HOST" = "x"; then
47315 if test "x${host}" = "x" ; then
47316 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47317 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47318 { (exit 1); exit 1; }; }
47321 BAKEFILE_HOST
="${host}"
47324 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47326 if test -n "$ac_tool_prefix"; then
47327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47328 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47331 if test "${ac_cv_prog_RANLIB+set}" = set; then
47332 echo $ECHO_N "(cached) $ECHO_C" >&6
47334 if test -n "$RANLIB"; then
47335 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47338 for as_dir
in $PATH
47341 test -z "$as_dir" && as_dir
=.
47342 for ac_exec_ext
in '' $ac_executable_extensions; do
47343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47344 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47354 RANLIB
=$ac_cv_prog_RANLIB
47355 if test -n "$RANLIB"; then
47356 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47357 echo "${ECHO_T}$RANLIB" >&6; }
47359 { echo "$as_me:$LINENO: result: no" >&5
47360 echo "${ECHO_T}no" >&6; }
47365 if test -z "$ac_cv_prog_RANLIB"; then
47366 ac_ct_RANLIB
=$RANLIB
47367 # Extract the first word of "ranlib", so it can be a program name with args.
47368 set dummy ranlib
; ac_word
=$2
47369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47371 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47372 echo $ECHO_N "(cached) $ECHO_C" >&6
47374 if test -n "$ac_ct_RANLIB"; then
47375 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47378 for as_dir
in $PATH
47381 test -z "$as_dir" && as_dir
=.
47382 for ac_exec_ext
in '' $ac_executable_extensions; do
47383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47384 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47394 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47395 if test -n "$ac_ct_RANLIB"; then
47396 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47397 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47399 { echo "$as_me:$LINENO: result: no" >&5
47400 echo "${ECHO_T}no" >&6; }
47403 if test "x$ac_ct_RANLIB" = x
; then
47406 case $cross_compiling:$ac_tool_warned in
47408 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47409 whose name does not start with the host triplet. If you think this
47410 configuration is useful to you, please write to autoconf@gnu.org." >&5
47411 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47412 whose name does not start with the host triplet. If you think this
47413 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47414 ac_tool_warned
=yes ;;
47416 RANLIB
=$ac_ct_RANLIB
47419 RANLIB
="$ac_cv_prog_RANLIB"
47422 # Find a good install program. We prefer a C program (faster),
47423 # so one script is as good as another. But avoid the broken or
47424 # incompatible versions:
47425 # SysV /etc/install, /usr/sbin/install
47426 # SunOS /usr/etc/install
47427 # IRIX /sbin/install
47429 # AmigaOS /C/install, which installs bootblocks on floppy discs
47430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47433 # OS/2's system install, which has a completely different semantic
47434 # ./install, which can be erroneously created by make from ./install.sh.
47435 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47437 if test -z "$INSTALL"; then
47438 if test "${ac_cv_path_install+set}" = set; then
47439 echo $ECHO_N "(cached) $ECHO_C" >&6
47441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47442 for as_dir
in $PATH
47445 test -z "$as_dir" && as_dir
=.
47446 # Account for people who put trailing slashes in PATH elements.
47448 .
/ | .
// | /cC
/* | \
47449 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47450 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47453 # OSF1 and SCO ODT 3.0 have their own names for install.
47454 # Don't use installbsd from OSF since it installs stuff as root
47456 for ac_prog
in ginstall scoinst
install; do
47457 for ac_exec_ext
in '' $ac_executable_extensions; do
47458 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47459 if test $ac_prog = install &&
47460 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47461 # AIX install. It has an incompatible calling convention.
47463 elif test $ac_prog = install &&
47464 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47465 # program-specific install script used by HP pwplus--don't use.
47468 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47481 if test "${ac_cv_path_install+set}" = set; then
47482 INSTALL
=$ac_cv_path_install
47484 # As a last resort, use the slow shell script. Don't cache a
47485 # value for INSTALL within a source directory, because that will
47486 # break other packages using the cache if that directory is
47487 # removed, or if the value is a relative name.
47488 INSTALL
=$ac_install_sh
47491 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47492 echo "${ECHO_T}$INSTALL" >&6; }
47494 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47495 # It thinks the first close brace ends the variable substitution.
47496 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47498 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47500 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47502 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47503 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47505 if test "$LN_S" = "ln -s"; then
47506 { echo "$as_me:$LINENO: result: yes" >&5
47507 echo "${ECHO_T}yes" >&6; }
47509 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47510 echo "${ECHO_T}no, using $LN_S" >&6; }
47514 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47515 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47516 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47517 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47518 echo $ECHO_N "(cached) $ECHO_C" >&6
47520 cat >conftest.
make <<\_ACEOF
47523 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47526 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47527 *@@@
%%%=?
*=@@@
%%%*)
47528 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47530 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47532 rm -f conftest.
make
47534 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47535 { echo "$as_me:$LINENO: result: yes" >&5
47536 echo "${ECHO_T}yes" >&6; }
47539 { echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6; }
47541 SET_MAKE
="MAKE=${MAKE-make}"
47546 if test "x$SUNCXX" = "xyes"; then
47548 AROPTIONS
="-xar -o"
47550 elif test "x$SGICC" = "xyes"; then
47555 if test -n "$ac_tool_prefix"; then
47556 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47557 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47560 if test "${ac_cv_prog_AR+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47563 if test -n "$AR"; then
47564 ac_cv_prog_AR
="$AR" # Let the user override the test.
47566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47567 for as_dir
in $PATH
47570 test -z "$as_dir" && as_dir
=.
47571 for ac_exec_ext
in '' $ac_executable_extensions; do
47572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47573 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47584 if test -n "$AR"; then
47585 { echo "$as_me:$LINENO: result: $AR" >&5
47586 echo "${ECHO_T}$AR" >&6; }
47588 { echo "$as_me:$LINENO: result: no" >&5
47589 echo "${ECHO_T}no" >&6; }
47594 if test -z "$ac_cv_prog_AR"; then
47596 # Extract the first word of "ar", so it can be a program name with args.
47597 set dummy
ar; ac_word
=$2
47598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47600 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47601 echo $ECHO_N "(cached) $ECHO_C" >&6
47603 if test -n "$ac_ct_AR"; then
47604 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47607 for as_dir
in $PATH
47610 test -z "$as_dir" && as_dir
=.
47611 for ac_exec_ext
in '' $ac_executable_extensions; do
47612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47613 ac_cv_prog_ac_ct_AR
="ar"
47614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47623 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47624 if test -n "$ac_ct_AR"; then
47625 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47626 echo "${ECHO_T}$ac_ct_AR" >&6; }
47628 { echo "$as_me:$LINENO: result: no" >&5
47629 echo "${ECHO_T}no" >&6; }
47632 if test "x$ac_ct_AR" = x
; then
47635 case $cross_compiling:$ac_tool_warned in
47637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&5
47640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47641 whose name does not start with the host triplet. If you think this
47642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47643 ac_tool_warned
=yes ;;
47648 AR
="$ac_cv_prog_AR"
47655 if test -n "$ac_tool_prefix"; then
47656 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47657 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47660 if test "${ac_cv_prog_STRIP+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 if test -n "$STRIP"; then
47664 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47667 for as_dir
in $PATH
47670 test -z "$as_dir" && as_dir
=.
47671 for ac_exec_ext
in '' $ac_executable_extensions; do
47672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47673 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47683 STRIP
=$ac_cv_prog_STRIP
47684 if test -n "$STRIP"; then
47685 { echo "$as_me:$LINENO: result: $STRIP" >&5
47686 echo "${ECHO_T}$STRIP" >&6; }
47688 { echo "$as_me:$LINENO: result: no" >&5
47689 echo "${ECHO_T}no" >&6; }
47694 if test -z "$ac_cv_prog_STRIP"; then
47696 # Extract the first word of "strip", so it can be a program name with args.
47697 set dummy strip
; ac_word
=$2
47698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47700 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 if test -n "$ac_ct_STRIP"; then
47704 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47707 for as_dir
in $PATH
47710 test -z "$as_dir" && as_dir
=.
47711 for ac_exec_ext
in '' $ac_executable_extensions; do
47712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47713 ac_cv_prog_ac_ct_STRIP
="strip"
47714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47723 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47724 if test -n "$ac_ct_STRIP"; then
47725 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47726 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47728 { echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6; }
47732 if test "x$ac_ct_STRIP" = x
; then
47735 case $cross_compiling:$ac_tool_warned in
47737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47738 whose name does not start with the host triplet. If you think this
47739 configuration is useful to you, please write to autoconf@gnu.org." >&5
47740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47741 whose name does not start with the host triplet. If you think this
47742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47743 ac_tool_warned
=yes ;;
47748 STRIP
="$ac_cv_prog_STRIP"
47751 if test -n "$ac_tool_prefix"; then
47752 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47753 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47756 if test "${ac_cv_prog_NM+set}" = set; then
47757 echo $ECHO_N "(cached) $ECHO_C" >&6
47759 if test -n "$NM"; then
47760 ac_cv_prog_NM
="$NM" # Let the user override the test.
47762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47763 for as_dir
in $PATH
47766 test -z "$as_dir" && as_dir
=.
47767 for ac_exec_ext
in '' $ac_executable_extensions; do
47768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47769 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47780 if test -n "$NM"; then
47781 { echo "$as_me:$LINENO: result: $NM" >&5
47782 echo "${ECHO_T}$NM" >&6; }
47784 { echo "$as_me:$LINENO: result: no" >&5
47785 echo "${ECHO_T}no" >&6; }
47790 if test -z "$ac_cv_prog_NM"; then
47792 # Extract the first word of "nm", so it can be a program name with args.
47793 set dummy nm
; ac_word
=$2
47794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47796 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47797 echo $ECHO_N "(cached) $ECHO_C" >&6
47799 if test -n "$ac_ct_NM"; then
47800 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47803 for as_dir
in $PATH
47806 test -z "$as_dir" && as_dir
=.
47807 for ac_exec_ext
in '' $ac_executable_extensions; do
47808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47809 ac_cv_prog_ac_ct_NM
="nm"
47810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47819 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47820 if test -n "$ac_ct_NM"; then
47821 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47822 echo "${ECHO_T}$ac_ct_NM" >&6; }
47824 { echo "$as_me:$LINENO: result: no" >&5
47825 echo "${ECHO_T}no" >&6; }
47828 if test "x$ac_ct_NM" = x
; then
47831 case $cross_compiling:$ac_tool_warned in
47833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47834 whose name does not start with the host triplet. If you think this
47835 configuration is useful to you, please write to autoconf@gnu.org." >&5
47836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47837 whose name does not start with the host triplet. If you think this
47838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47839 ac_tool_warned
=yes ;;
47844 NM
="$ac_cv_prog_NM"
47848 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47849 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47850 INSTALL_TEST_DIR
=acbftest$$
47851 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47852 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47853 rmdir $INSTALL_TEST_DIR
47854 INSTALL_DIR
='$(INSTALL) -d'
47855 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47856 echo "${ECHO_T}$INSTALL -d" >&6; }
47858 INSTALL_DIR
="mkdir -p"
47859 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47860 echo "${ECHO_T}mkdir -p" >&6; }
47865 case ${BAKEFILE_HOST} in
47866 *-*-cygwin* | *-*-mingw32* )
47867 LDFLAGS_GUI
="-mwindows"
47873 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47874 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47875 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47876 echo $ECHO_N "(cached) $ECHO_C" >&6
47879 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47880 egrep -s GNU
> /dev
/null
); then
47881 bakefile_cv_prog_makeisgnu
="yes"
47883 bakefile_cv_prog_makeisgnu
="no"
47887 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47888 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47890 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47907 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47908 case "${BAKEFILE_HOST}" in
47915 *-pc-os2_emx | *-pc-os2-emx )
47925 powerpc
-apple-macos* )
47934 case "$BAKEFILE_FORCE_PLATFORM" in
47969 # Check whether --enable-omf was given.
47970 if test "${enable_omf+set}" = set; then
47971 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
47975 case "${BAKEFILE_HOST}" in
47977 if test "x$GCC" = "xyes"; then
47978 CFLAGS
="$CFLAGS -fno-common"
47979 CXXFLAGS
="$CXXFLAGS -fno-common"
47981 if test "x$XLCC" = "xyes"; then
47982 CFLAGS
="$CFLAGS -qnocommon"
47983 CXXFLAGS
="$CXXFLAGS -qnocommon"
47987 *-pc-os2_emx | *-pc-os2-emx )
47988 if test "x$bk_os2_use_omf" = "xyes" ; then
47991 LDFLAGS
="-Zomf $LDFLAGS"
47992 CFLAGS
="-Zomf $CFLAGS"
47993 CXXFLAGS
="-Zomf $CXXFLAGS"
48001 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48007 SO_SUFFIX_MODULE
="so"
48012 DLLPREFIX_MODULE
=""
48016 case "${BAKEFILE_HOST}" in
48021 SO_SUFFIX_MODULE
="sl"
48025 SO_SUFFIX_MODULE
="a"
48029 SO_SUFFIX_MODULE
="dll"
48030 DLLIMP_SUFFIX
="dll.a"
48037 SO_SUFFIX_MODULE
="dll"
48038 DLLIMP_SUFFIX
="dll.a"
48048 *-pc-os2_emx | *-pc-os2-emx )
48050 SO_SUFFIX_MODULE
="dll"
48051 DLLIMP_SUFFIX
=$OS2_LIBEXT
48055 LIBEXT
=".$OS2_LIBEXT"
48060 SO_SUFFIX_MODULE
="bundle"
48064 if test "x$DLLIMP_SUFFIX" = "x" ; then
48065 DLLIMP_SUFFIX
="$SO_SUFFIX"
48080 if test "x$GCC" = "xyes"; then
48084 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48085 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48088 case "${BAKEFILE_HOST}" in
48090 if test "x$GCC" != "xyes"; then
48091 LDFLAGS
="$LDFLAGS -L/usr/lib"
48093 SHARED_LD_CC
="${CC} -b -o"
48094 SHARED_LD_CXX
="${CXX} -b -o"
48100 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48102 elif test "x$SUNCXX" = "xyes"; then
48103 SHARED_LD_CC
="${CC} -G -o"
48104 SHARED_LD_CXX
="${CXX} -G -o"
48110 if test "x$SUNCXX" = xyes
; then
48111 SHARED_LD_CC
="${CC} -G -o"
48112 SHARED_LD_CXX
="${CXX} -G -o"
48120 cat <<EOF >shared-ld-sh
48122 #-----------------------------------------------------------------------------
48123 #-- Name: distrib/mac/shared-ld-sh
48124 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48125 #-- Author: Gilles Depeyrot
48126 #-- Copyright: (c) 2002 Gilles Depeyrot
48127 #-- Licence: any use permitted
48128 #-----------------------------------------------------------------------------
48133 linking_flag="-dynamiclib"
48134 ldargs="-r -keep_private_externs -nostdlib"
48136 if test "x${D}CXX" = "x"; then
48140 while test ${D}# -gt 0; do
48147 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48148 # collect these options and values
48149 args="${D}{args} ${D}1 ${D}2"
48154 # collect these options and values
48155 ldargs="${D}{ldargs} ${D}1 ${D}2"
48160 # collect these load args
48161 ldargs="${D}{ldargs} ${D}1"
48164 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48165 # collect these options
48166 args="${D}{args} ${D}1"
48169 -dynamiclib|-bundle)
48170 linking_flag="${D}1"
48174 echo "shared-ld: unhandled option '${D}1'"
48178 *.o | *.a | *.dylib)
48179 # collect object files
48180 objects="${D}{objects} ${D}1"
48184 echo "shared-ld: unhandled argument '${D}1'"
48195 # Link one module containing all the others
48197 if test ${D}{verbose} = 1; then
48198 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48200 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48204 # Link the shared library from the single module created, but only if the
48205 # previous command didn't fail:
48207 if test ${D}{status} = 0; then
48208 if test ${D}{verbose} = 1; then
48209 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48211 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48216 # Remove intermediate module
48218 rm -f master.${D}${D}.o
48223 chmod +x shared
-ld-sh
48225 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48226 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48229 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48230 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48231 if test "${bakefile_cv_gcc31+set}" = set; then
48232 echo $ECHO_N "(cached) $ECHO_C" >&6
48235 cat >conftest.
$ac_ext <<_ACEOF
48238 cat confdefs.h
>>conftest.
$ac_ext
48239 cat >>conftest.
$ac_ext <<_ACEOF
48240 /* end confdefs.h. */
48246 #if (__GNUC__ < 3) || \
48247 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48255 rm -f conftest.
$ac_objext
48256 if { (ac_try
="$ac_compile"
48257 case "(($ac_try" in
48258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48259 *) ac_try_echo=$ac_try;;
48261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48262 (eval "$ac_compile") 2>conftest.er1
48264 grep -v '^ *+' conftest.er1 >conftest.err
48266 cat conftest.err >&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); } && {
48269 test -z "$ac_c_werror_flag" ||
48270 test ! -s conftest.err
48271 } && test -s conftest.$ac_objext; then
48273 bakefile_cv_gcc31=yes
48276 echo "$as_me: failed program was:" >&5
48277 sed 's/^/| /' conftest.$ac_ext >&5
48280 bakefile_cv_gcc31=no
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48288 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48289 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48290 if test "$bakefile_cv_gcc31" = "no"; then
48291 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48292 SHARED_LD_CXX="$SHARED_LD_CC"
48294 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48295 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48298 if test "x$GCC" == "xyes"; then
48299 PIC_FLAG="-dynamic -fPIC"
48301 if test "x$XLCC" = "xyes"; then
48302 PIC_FLAG="-dynamic -DPIC"
48307 if test "x$GCC" = "xyes"; then
48310 case "${BAKEFILE_HOST}" in
48312 LD_EXPFULL="-Wl,-bexpfull"
48316 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48317 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48319 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48320 set dummy makeC++SharedLib; ac_word=$2
48321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48323 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48324 echo $ECHO_N "(cached) $ECHO_C" >&6
48326 if test -n "$AIX_CXX_LD"; then
48327 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48330 for as_dir in $PATH
48333 test -z "$as_dir" && as_dir=.
48334 for ac_exec_ext in '' $ac_executable_extensions; do
48335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48336 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48344 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48347 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48348 if test -n "$AIX_CXX_LD"; then
48349 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48350 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48352 { echo "$as_me:$LINENO: result: no" >&5
48353 echo "${ECHO_T}no" >&6; }
48357 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48358 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48363 SHARED_LD_CC="${LD} -nostart -o"
48364 SHARED_LD_CXX="${LD} -nostart -o"
48368 if test "x$GCC" != "xyes"; then
48373 *-*-cygwin* | *-*-mingw32* )
48375 SHARED_LD_CC="\$(CC) -shared -o"
48376 SHARED_LD_CXX="\$(CXX) -shared -o"
48380 *-pc-os2_emx | *-pc-os2-emx )
48381 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48382 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48386 cat <<EOF >dllar.sh
48389 # dllar - a tool to build both a .dll and an .a file
48390 # from a set of object (.o) files for EMX/OS2.
48392 # Written by Andrew Zabolotny, bit@freya.etu.ru
48393 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48395 # This script will accept a set of files on the command line.
48396 # All the public symbols from the .o files will be exported into
48397 # a .DEF file, then linker will be run (through gcc) against them to
48398 # build a shared library consisting of all given .o files. All libraries
48399 # (.a) will be first decompressed into component .o files then act as
48400 # described above. You can optionally give a description (-d "description")
48401 # which will be put into .DLL. To see the list of accepted options (as well
48402 # as command-line format) simply run this program without options. The .DLL
48403 # is built to be imported by name (there is no guarantee that new versions
48404 # of the library you build will have same ordinals for same symbols).
48406 # dllar is free software; you can redistribute it and/or modify
48407 # it under the terms of the GNU General Public License as published by
48408 # the Free Software Foundation; either version 2, or (at your option)
48409 # any later version.
48411 # dllar is distributed in the hope that it will be useful,
48412 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48413 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48414 # GNU General Public License for more details.
48416 # You should have received a copy of the GNU General Public License
48417 # along with dllar; see the file COPYING. If not, write to the Free
48418 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48421 # To successfuly run this program you will need:
48422 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48423 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48425 # (used to build the .dll)
48427 # (used to create .def file from .o files)
48429 # (used to create .a file from .def file)
48430 # - GNU text utilites (cat, sort, uniq)
48431 # used to process emxexp output
48432 # - GNU file utilities (mv, rm)
48434 # - lxlite (optional, see flag below)
48435 # (used for general .dll cleanup)
48442 # basnam, variant of basename, which does _not_ remove the path, _iff_
48443 # second argument (suffix to remove) is given
48447 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48450 echo ${D}1 | sed 's/'${D}2'${D}//'
48453 echo "error in basnam ${D}*"
48459 # Cleanup temporary files and output
48462 for i in ${D}inputFiles ; do
48465 rm -rf \`basnam
${D}i
!\
`
48472 # Kill result in case of failure as there is just to many stupid make/nmake
48473 # things out there which doesn't do this.
48474 if [ ${D}# -eq 0 ]; then
48475 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48479 # Print usage and exit script with rc=1.
48481 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48482 echo ' [-name-mangler-script script.sh]'
48483 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48484 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48485 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48486 echo ' [*.o] [*.a]'
48487 echo '*> "output_file" should have no extension.'
48488 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48489 echo ' The import library name is derived from this and is set to "name".a,'
48490 echo ' unless overridden by -import'
48491 echo '*> "importlib_name" should have no extension.'
48492 echo ' If it has the .o, or .a extension, it is automatically removed.'
48493 echo ' This name is used as the import library name and may be longer and'
48494 echo ' more descriptive than the DLL name which has to follow the old '
48495 echo ' 8.3 convention of FAT.'
48496 echo '*> "script.sh may be given to override the output_file name by a'
48497 echo ' different name. It is mainly useful if the regular make process'
48498 echo ' of some package does not take into account OS/2 restriction of'
48499 echo ' DLL name lengths. It takes the importlib name as input and is'
48500 echo ' supposed to procude a shorter name as output. The script should'
48501 echo ' expect to get importlib_name without extension and should produce'
48502 echo ' a (max.) 8 letter name without extension.'
48503 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48504 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48505 echo ' These flags will be put at the start of GCC command line.'
48506 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48507 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48508 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48509 echo ' If the last character of a symbol is "*", all symbols beginning'
48510 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48511 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48512 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48513 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48514 echo ' C runtime DLLs.'
48515 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48516 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48517 echo ' unchanged to GCC at the end of command line.'
48518 echo '*> If you create a DLL from a library and you do not specify -o,'
48519 echo ' the basename for DLL and import library will be set to library name,'
48520 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48521 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48522 echo ' library will be renamed into gcc_s.a.'
48525 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48526 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48531 # Execute a command.
48532 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48533 # @Uses Whatever CleanUp() uses.
48539 if [ ${D}rcCmd -ne 0 ]; then
48540 echo "command failed, exit code="${D}rcCmd
48555 CFLAGS="-s -Zcrtdll"
48557 EXPORT_BY_ORDINALS=0
48562 case ${D}curDirS in
48566 curDirS=${D}{curDirS}"/"
48569 # Parse commandline
48572 while [ ${D}1 ]; do
48575 EXPORT_BY_ORDINALS=1;
48585 -name-mangler-script)
48606 exclude_symbols=${D}{exclude_symbols}${D}1" "
48610 library_flags=${D}{library_flags}${D}1" "
48629 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48632 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48633 if [ ${D}omfLinking -eq 1 ]; then
48634 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48636 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48641 if [ ${D}libsToLink -ne 0 ]; then
48642 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48644 for file in ${D}1 ; do
48645 if [ -f ${D}file ]; then
48646 inputFiles="${D}{inputFiles} ${D}file"
48650 if [ ${D}found -eq 0 ]; then
48651 echo "ERROR: No file(s) found: "${D}1
48658 done # iterate cmdline words
48661 if [ -z "${D}inputFiles" ]; then
48662 echo "dllar: no input files"
48666 # Now extract all .o files from .a files
48668 for file in ${D}inputFiles ; do
48679 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48684 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48686 if [ ${D}? -ne 0 ]; then
48687 echo "Failed to create subdirectory ./${D}dirname"
48691 # Append '!' to indicate archive
48692 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48693 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48696 for subfile in ${D}dirname/*.o* ; do
48697 if [ -f ${D}subfile ]; then
48699 if [ -s ${D}subfile ]; then
48700 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48701 newInputFiles="${D}newInputFiles ${D}subfile"
48705 if [ ${D}found -eq 0 ]; then
48706 echo "WARNING: there are no files in archive \\'${D}file\\'"
48710 newInputFiles="${D}{newInputFiles} ${D}file"
48714 inputFiles="${D}newInputFiles"
48716 # Output filename(s).
48718 if [ -z ${D}outFile ]; then
48720 set outFile ${D}inputFiles; outFile=${D}2
48723 # If it is an archive, remove the '!' and the '_%' suffixes
48724 case ${D}outFile in
48726 outFile=\`basnam
${D}outFile _
%!\
`
48731 case ${D}outFile in
48733 outFile=\`basnam
${D}outFile .dll\
`
48736 outFile=\`basnam
${D}outFile .DLL\
`
48739 outFile=\`basnam
${D}outFile .o\
`
48742 outFile=\`basnam
${D}outFile .obj\
`
48745 outFile=\`basnam
${D}outFile .a\
`
48748 outFile=\`basnam
${D}outFile .lib\
`
48753 case ${D}outimpFile in
48755 outimpFile=\`basnam
${D}outimpFile .a\
`
48758 outimpFile=\`basnam
${D}outimpFile .lib\
`
48763 if [ -z ${D}outimpFile ]; then
48764 outimpFile=${D}outFile
48766 defFile="${D}{outFile}.def"
48767 arcFile="${D}{outimpFile}.a"
48768 arcFile2="${D}{outimpFile}.lib"
48770 #create ${D}dllFile as something matching 8.3 restrictions,
48771 if [ -z ${D}renameScript ] ; then
48772 dllFile="${D}outFile"
48774 dllFile=\`${D}renameScript
${D}outimpFile\
`
48777 if [ ${D}do_backup -ne 0 ] ; then
48778 if [ -f ${D}arcFile ] ; then
48779 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48781 if [ -f ${D}arcFile2 ] ; then
48782 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48786 # Extract public symbols from all the object files.
48787 tmpdefFile=${D}{defFile}_%
48788 rm -f ${D}tmpdefFile
48789 for file in ${D}inputFiles ; do
48794 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48799 # Create the def file.
48801 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48802 dllFile="${D}{dllFile}.dll"
48803 if [ ! -z ${D}description ]; then
48804 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48806 echo "EXPORTS" >> ${D}defFile
48808 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48809 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48811 # Checks if the export is ok or not.
48812 for word in ${D}exclude_symbols; do
48813 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48814 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48818 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48819 sed "=" < ${D}tmpdefFile | \\
48823 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48825 ' > ${D}{tmpdefFile}%
48826 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48828 rm -f ${D}{tmpdefFile}%
48830 cat ${D}tmpdefFile >> ${D}defFile
48831 rm -f ${D}tmpdefFile
48833 # Do linking, create implib, and apply lxlite.
48835 for file in ${D}inputFiles ; do
48840 gccCmdl="${D}gccCmdl ${D}file"
48844 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48845 touch "${D}{outFile}.dll"
48847 doCommand "emximp -o ${D}arcFile ${D}defFile"
48848 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48850 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48853 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48855 doCommand "emxomf -s -l ${D}arcFile"
48865 powerpc-apple-macos* | \
48866 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48876 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48877 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48878 { (exit 1); exit 1; }; }
48881 if test "x$PIC_FLAG" != "x" ; then
48882 PIC_FLAG="$PIC_FLAG -DPIC"
48885 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48886 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48888 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48889 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48908 case "${BAKEFILE_HOST}" in
48909 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48910 *-*-k*bsd*-gnu | *-*-mirbsd* )
48911 if test "x$SUNCXX" = "xyes"; then
48914 SONAME_FLAG="-Wl,-soname,"
48949 # Check whether --enable-dependency-tracking was given.
48950 if test "${enable_dependency_tracking+set}" = set; then
48951 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48955 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48956 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48959 if test "x$bk_use_trackdeps" = "xno" ; then
48961 { echo "$as_me:$LINENO: result: disabled" >&5
48962 echo "${ECHO_T}disabled" >&6; }
48966 if test "x$GCC" = "xyes"; then
48968 case "${BAKEFILE_HOST}" in
48970 DEPSFLAG="-no-cpp-precomp -MMD"
48976 { echo "$as_me:$LINENO: result: gcc" >&5
48977 echo "${ECHO_T}gcc" >&6; }
48978 elif test "x$MWCC" = "xyes"; then
48981 { echo "$as_me:$LINENO: result: mwcc" >&5
48982 echo "${ECHO_T}mwcc" >&6; }
48983 elif test "x$SUNCC" = "xyes"; then
48986 { echo "$as_me:$LINENO: result: Sun cc" >&5
48987 echo "${ECHO_T}Sun cc" >&6; }
48988 elif test "x$SGICC" = "xyes"; then
48991 { echo "$as_me:$LINENO: result: SGI cc" >&5
48992 echo "${ECHO_T}SGI cc" >&6; }
48993 elif test "x$HPCC" = "xyes"; then
48996 { echo "$as_me:$LINENO: result: HP cc" >&5
48997 echo "${ECHO_T}HP cc" >&6; }
48998 elif test "x$COMPAQCC" = "xyes"; then
49001 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49002 echo "${ECHO_T}Compaq cc" >&6; }
49005 { echo "$as_me:$LINENO: result: none" >&5
49006 echo "${ECHO_T}none" >&6; }
49009 if test $DEPS_TRACKING = 1 ; then
49015 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49016 # script. It is used to track C/C++ files dependencies in portable way.
49018 # Permission is given to use this file in any way.
49020 DEPSMODE=${DEPSMODE}
49021 DEPSFLAG="${DEPSFLAG}"
49024 if test ${D}DEPSMODE = gcc ; then
49025 ${D}* ${D}{DEPSFLAG}
49028 # determine location of created files:
49029 while test ${D}# -gt 0; do
49043 objfilebase=\`basename ${D}objfile\
`
49044 builddir=\`dirname ${D}objfile\
`
49045 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49046 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49047 depsdir=${D}builddir/${D}DEPSDIRBASE
49048 mkdir -p ${D}depsdir
49050 # if the compiler failed, we're done:
49051 if test ${D}{status} != 0 ; then
49056 # move created file to the location we want it in:
49057 if test -f ${D}depfile ; then
49058 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49061 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49062 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49063 if test ! -f ${D}depfile ; then
49064 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49065 depfile="${D}objfile.d"
49067 if test -f ${D}depfile ; then
49068 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49074 elif test ${D}DEPSMODE = mwcc ; then
49075 ${D}* || exit ${D}?
49076 # Run mwcc again with -MM and redirect into the dep file we want
49077 # NOTE: We can't use shift here because we need ${D}* to be valid
49079 for arg in ${D}* ; do
49080 if test "${D}prevarg" = "-o"; then
49094 objfilebase=\`basename ${D}objfile\
`
49095 builddir=\`dirname ${D}objfile\
`
49096 depsdir=${D}builddir/${D}DEPSDIRBASE
49097 mkdir -p ${D}depsdir
49099 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49102 elif test ${D}DEPSMODE = unixcc; then
49103 ${D}* || exit ${D}?
49104 # Run compiler again with deps flag and redirect into the dep file.
49105 # It doesn't work if the '-o FILE' option is used, but without it the
49106 # dependency file will contain the wrong name for the object. So it is
49107 # removed from the command line, and the dep file is fixed with sed.
49109 while test ${D}# -gt 0; do
49116 eval arg${D}#=\\${D}1
49117 cmd="${D}cmd \\${D}arg${D}#"
49123 objfilebase=\`basename ${D}objfile\
`
49124 builddir=\`dirname ${D}objfile\
`
49125 depsdir=${D}builddir/${D}DEPSDIRBASE
49126 mkdir -p ${D}depsdir
49128 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49138 BK_DEPS="`pwd`/bk-deps"
49146 case ${BAKEFILE_HOST} in
49147 *-*-cygwin* | *-*-mingw32* )
49148 if test -n "$ac_tool_prefix"; then
49149 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49150 set dummy ${ac_tool_prefix}windres; ac_word=$2
49151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49153 if test "${ac_cv_prog_WINDRES+set}" = set; then
49154 echo $ECHO_N "(cached) $ECHO_C" >&6
49156 if test -n "$WINDRES"; then
49157 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49160 for as_dir in $PATH
49163 test -z "$as_dir" && as_dir=.
49164 for ac_exec_ext in '' $ac_executable_extensions; do
49165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49166 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49176 WINDRES=$ac_cv_prog_WINDRES
49177 if test -n "$WINDRES"; then
49178 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49179 echo "${ECHO_T}$WINDRES" >&6; }
49181 { echo "$as_me:$LINENO: result: no" >&5
49182 echo "${ECHO_T}no" >&6; }
49187 if test -z "$ac_cv_prog_WINDRES"; then
49188 ac_ct_WINDRES=$WINDRES
49189 # Extract the first word of "windres", so it can be a program name with args.
49190 set dummy windres; ac_word=$2
49191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49193 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49194 echo $ECHO_N "(cached) $ECHO_C" >&6
49196 if test -n "$ac_ct_WINDRES"; then
49197 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49200 for as_dir in $PATH
49203 test -z "$as_dir" && as_dir=.
49204 for ac_exec_ext in '' $ac_executable_extensions; do
49205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49206 ac_cv_prog_ac_ct_WINDRES="windres"
49207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49216 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49217 if test -n "$ac_ct_WINDRES"; then
49218 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49219 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49221 { echo "$as_me:$LINENO: result: no" >&5
49222 echo "${ECHO_T}no" >&6; }
49225 if test "x$ac_ct_WINDRES" = x; then
49228 case $cross_compiling:$ac_tool_warned in
49230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49231 whose name does not start with the host triplet. If you think this
49232 configuration is useful to you, please write to autoconf@gnu.org." >&5
49233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49234 whose name does not start with the host triplet. If you think this
49235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49236 ac_tool_warned=yes ;;
49238 WINDRES=$ac_ct_WINDRES
49241 WINDRES="$ac_cv_prog_WINDRES"
49246 *-*-darwin* | powerpc-apple-macos* )
49247 # Extract the first word of "Rez", so it can be a program name with args.
49248 set dummy Rez; ac_word=$2
49249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49251 if test "${ac_cv_prog_REZ+set}" = set; then
49252 echo $ECHO_N "(cached) $ECHO_C" >&6
49254 if test -n "$REZ"; then
49255 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49258 for as_dir in $PATH
49261 test -z "$as_dir" && as_dir=.
49262 for ac_exec_ext in '' $ac_executable_extensions; do
49263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49264 ac_cv_prog_REZ="Rez"
49265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49272 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49275 REZ=$ac_cv_prog_REZ
49276 if test -n "$REZ"; then
49277 { echo "$as_me:$LINENO: result: $REZ" >&5
49278 echo "${ECHO_T}$REZ" >&6; }
49280 { echo "$as_me:$LINENO: result: no" >&5
49281 echo "${ECHO_T}no" >&6; }
49285 # Extract the first word of "SetFile", so it can be a program name with args.
49286 set dummy SetFile; ac_word=$2
49287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49289 if test "${ac_cv_prog_SETFILE+set}" = set; then
49290 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 if test -n "$SETFILE"; then
49293 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49296 for as_dir in $PATH
49299 test -z "$as_dir" && as_dir=.
49300 for ac_exec_ext in '' $ac_executable_extensions; do
49301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49302 ac_cv_prog_SETFILE="SetFile"
49303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49310 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49313 SETFILE=$ac_cv_prog_SETFILE
49314 if test -n "$SETFILE"; then
49315 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49316 echo "${ECHO_T}$SETFILE" >&6; }
49318 { echo "$as_me:$LINENO: result: no" >&5
49319 echo "${ECHO_T}no" >&6; }
49334 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49337 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49341 # Check whether --enable-precomp-headers was given.
49342 if test "${enable_precomp_headers+set}" = set; then
49343 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49352 case ${BAKEFILE_HOST} in
49358 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49359 if test "x$GCC" = "xyes"; then
49360 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49361 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49362 cat >conftest.$ac_ext <<_ACEOF
49365 cat confdefs.h >>conftest.$ac_ext
49366 cat >>conftest.$ac_ext <<_ACEOF
49367 /* end confdefs.h. */
49373 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49374 There is no PCH support
49377 There is no PCH support
49379 #if (__GNUC__ == 3) && \
49380 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49381 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49382 ( defined(__INTEL_COMPILER) )
49383 There is no PCH support
49390 rm -f conftest.$ac_objext
49391 if { (ac_try="$ac_compile"
49392 case "(($ac_try" in
49393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49394 *) ac_try_echo
=$ac_try;;
49396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49397 (eval "$ac_compile") 2>conftest.er1
49399 grep -v '^ *+' conftest.er1
>conftest.err
49401 cat conftest.err
>&5
49402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403 (exit $ac_status); } && {
49404 test -z "$ac_c_werror_flag" ||
49405 test ! -s conftest.err
49406 } && test -s conftest.
$ac_objext; then
49408 { echo "$as_me:$LINENO: result: yes" >&5
49409 echo "${ECHO_T}yes" >&6; }
49413 echo "$as_me: failed program was:" >&5
49414 sed 's/^/| /' conftest.
$ac_ext >&5
49417 if test "$INTELCXX8" = "yes"; then
49418 { echo "$as_me:$LINENO: result: yes" >&5
49419 echo "${ECHO_T}yes" >&6; }
49421 if test "$INTELCXX10" = "yes"; then
49422 ICC_PCH_CREATE_SWITCH
="-pch-create"
49423 ICC_PCH_USE_SWITCH
="-pch-use"
49425 ICC_PCH_CREATE_SWITCH
="-create-pch"
49426 ICC_PCH_USE_SWITCH
="-use-pch"
49429 { echo "$as_me:$LINENO: result: no" >&5
49430 echo "${ECHO_T}no" >&6; }
49435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49436 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49440 cat <<EOF >bk-make-pch
49443 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49444 # script. It is used to generated precompiled headers.
49446 # Permission is given to use this file in any way.
49453 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49458 while test ${D}{#} -gt 0; do
49462 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49463 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49464 headerfile="${D}{incdir}/${D}{header}"
49467 -use-pch|-use_pch|-pch-use )
49472 if test ${D}add_to_cmdline = 1 ; then
49473 compiler="${D}{compiler} ${D}{1}"
49478 if test "x${D}{headerfile}" = "x" ; then
49479 echo "error: can't find header ${D}{header} in include paths" >&2
49481 if test -f ${D}{outfile} ; then
49482 rm -f ${D}{outfile}
49484 mkdir -p \`dirname ${D}{outfile}\`
49486 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49487 mkdir -p ${D}{builddir}/.deps
49488 if test "x${GCC_PCH}" = "x1" ; then
49489 # can do this because gcc is >= 3.4:
49490 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49491 elif test "x${ICC_PCH}" = "x1" ; then
49492 filename=pch_gen-${D}${D}
49493 file=${D}{filename}.c
49494 dfile=${D}{filename}.d
49495 cat > ${D}file <<EOT
49496 #include "${D}header"
49498 # using -MF icc complains about differing command lines in creation/use
49499 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49500 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49501 rm -f ${D}file ${D}dfile ${D}{filename}.o
49507 chmod +x bk
-make-pch
49508 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49519 COND_BUILD_DEBUG
="#"
49520 if test "x$BUILD" = "xdebug" ; then
49521 COND_BUILD_DEBUG
=""
49524 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49525 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49526 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49529 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49530 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49531 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49534 COND_BUILD_DEBUG_UNICODE_0
="#"
49535 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49536 COND_BUILD_DEBUG_UNICODE_0
=""
49539 COND_BUILD_DEBUG_UNICODE_1
="#"
49540 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49541 COND_BUILD_DEBUG_UNICODE_1
=""
49544 COND_BUILD_RELEASE
="#"
49545 if test "x$BUILD" = "xrelease" ; then
49546 COND_BUILD_RELEASE
=""
49549 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49550 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49551 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49554 COND_BUILD_RELEASE_UNICODE_0
="#"
49555 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49556 COND_BUILD_RELEASE_UNICODE_0
=""
49559 COND_BUILD_RELEASE_UNICODE_1
="#"
49560 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49561 COND_BUILD_RELEASE_UNICODE_1
=""
49564 COND_BUILD_debug
="#"
49565 if test "x$BUILD" = "xdebug" ; then
49566 COND_BUILD_debug
=""
49569 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49570 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49571 COND_BUILD_debug_DEBUG_FLAG_default
=""
49574 COND_BUILD_debug_DEBUG_INFO_default
="#"
49575 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49576 COND_BUILD_debug_DEBUG_INFO_default
=""
49579 COND_BUILD_debug_UNICODE_0
="#"
49580 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49581 COND_BUILD_debug_UNICODE_0
=""
49584 COND_BUILD_debug_UNICODE_1
="#"
49585 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49586 COND_BUILD_debug_UNICODE_1
=""
49589 COND_BUILD_release
="#"
49590 if test "x$BUILD" = "xrelease" ; then
49591 COND_BUILD_release
=""
49594 COND_BUILD_release_DEBUG_INFO_default
="#"
49595 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49596 COND_BUILD_release_DEBUG_INFO_default
=""
49599 COND_BUILD_release_UNICODE_0
="#"
49600 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49601 COND_BUILD_release_UNICODE_0
=""
49604 COND_BUILD_release_UNICODE_1
="#"
49605 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49606 COND_BUILD_release_UNICODE_1
=""
49609 COND_DEBUG_FLAG_1
="#"
49610 if test "x$DEBUG_FLAG" = "x1" ; then
49611 COND_DEBUG_FLAG_1
=""
49614 COND_DEBUG_INFO_0
="#"
49615 if test "x$DEBUG_INFO" = "x0" ; then
49616 COND_DEBUG_INFO_0
=""
49619 COND_DEBUG_INFO_1
="#"
49620 if test "x$DEBUG_INFO" = "x1" ; then
49621 COND_DEBUG_INFO_1
=""
49624 COND_DEPS_TRACKING_0
="#"
49625 if test "x$DEPS_TRACKING" = "x0" ; then
49626 COND_DEPS_TRACKING_0
=""
49629 COND_DEPS_TRACKING_1
="#"
49630 if test "x$DEPS_TRACKING" = "x1" ; then
49631 COND_DEPS_TRACKING_1
=""
49635 if test "x$GCC_PCH" = "x1" ; then
49640 if test "x$ICC_PCH" = "x1" ; then
49644 COND_MONOLITHIC_0
="#"
49645 if test "x$MONOLITHIC" = "x0" ; then
49646 COND_MONOLITHIC_0
=""
49649 COND_MONOLITHIC_0_SHARED_0
="#"
49650 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49651 COND_MONOLITHIC_0_SHARED_0
=""
49654 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49656 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49671 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49676 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49679 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49681 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49684 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49686 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49689 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49691 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49694 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49696 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49699 COND_MONOLITHIC_0_SHARED_1
="#"
49700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49701 COND_MONOLITHIC_0_SHARED_1
=""
49704 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49706 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49726 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49729 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49731 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49734 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49736 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49739 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49741 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49744 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49746 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49749 COND_MONOLITHIC_0_USE_AUI_1
="#"
49750 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49751 COND_MONOLITHIC_0_USE_AUI_1
=""
49754 COND_MONOLITHIC_0_USE_GUI_1
="#"
49755 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49756 COND_MONOLITHIC_0_USE_GUI_1
=""
49759 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49760 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49761 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49764 COND_MONOLITHIC_0_USE_HTML_1
="#"
49765 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49766 COND_MONOLITHIC_0_USE_HTML_1
=""
49769 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49770 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49771 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49774 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49775 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49776 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49779 COND_MONOLITHIC_0_USE_QA_1
="#"
49780 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49781 COND_MONOLITHIC_0_USE_QA_1
=""
49784 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49785 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49786 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49789 COND_MONOLITHIC_0_USE_STC_1
="#"
49790 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49791 COND_MONOLITHIC_0_USE_STC_1
=""
49794 COND_MONOLITHIC_0_USE_XRC_1
="#"
49795 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49796 COND_MONOLITHIC_0_USE_XRC_1
=""
49799 COND_MONOLITHIC_1
="#"
49800 if test "x$MONOLITHIC" = "x1" ; then
49801 COND_MONOLITHIC_1
=""
49804 COND_MONOLITHIC_1_SHARED_0
="#"
49805 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49806 COND_MONOLITHIC_1_SHARED_0
=""
49809 COND_MONOLITHIC_1_SHARED_1
="#"
49810 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49811 COND_MONOLITHIC_1_SHARED_1
=""
49814 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49815 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49816 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49819 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49820 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49821 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49824 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49825 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49826 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49829 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49830 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49831 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49834 COND_PLATFORM_MACOSX_1
="#"
49835 if test "x$PLATFORM_MACOSX" = "x1" ; then
49836 COND_PLATFORM_MACOSX_1
=""
49839 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49840 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49841 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49844 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49845 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49846 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49849 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49850 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49851 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49854 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49855 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49856 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49859 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49860 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49861 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49864 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49865 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49866 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49869 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49870 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49871 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49874 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49875 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49876 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49879 COND_PLATFORM_MACOS_1
="#"
49880 if test "x$PLATFORM_MACOS" = "x1" ; then
49881 COND_PLATFORM_MACOS_1
=""
49884 COND_PLATFORM_MAC_0
="#"
49885 if test "x$PLATFORM_MAC" = "x0" ; then
49886 COND_PLATFORM_MAC_0
=""
49889 COND_PLATFORM_MAC_1
="#"
49890 if test "x$PLATFORM_MAC" = "x1" ; then
49891 COND_PLATFORM_MAC_1
=""
49894 COND_PLATFORM_MSDOS_0
="#"
49895 if test "x$PLATFORM_MSDOS" = "x0" ; then
49896 COND_PLATFORM_MSDOS_0
=""
49899 COND_PLATFORM_MSDOS_1
="#"
49900 if test "x$PLATFORM_MSDOS" = "x1" ; then
49901 COND_PLATFORM_MSDOS_1
=""
49904 COND_PLATFORM_OS2_1
="#"
49905 if test "x$PLATFORM_OS2" = "x1" ; then
49906 COND_PLATFORM_OS2_1
=""
49909 COND_PLATFORM_UNIX_0
="#"
49910 if test "x$PLATFORM_UNIX" = "x0" ; then
49911 COND_PLATFORM_UNIX_0
=""
49914 COND_PLATFORM_UNIX_1
="#"
49915 if test "x$PLATFORM_UNIX" = "x1" ; then
49916 COND_PLATFORM_UNIX_1
=""
49919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49920 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49921 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49925 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49926 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49929 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49930 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49931 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49935 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49936 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49939 COND_PLATFORM_WIN32_0
="#"
49940 if test "x$PLATFORM_WIN32" = "x0" ; then
49941 COND_PLATFORM_WIN32_0
=""
49944 COND_PLATFORM_WIN32_1
="#"
49945 if test "x$PLATFORM_WIN32" = "x1" ; then
49946 COND_PLATFORM_WIN32_1
=""
49950 if test "x$SHARED" = "x0" ; then
49954 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49955 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49956 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49959 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49960 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49961 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49964 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49965 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49966 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49969 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49970 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49971 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49974 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
49975 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49976 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
49979 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
49980 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49981 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
49984 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
49985 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49986 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
49989 COND_SHARED_0_USE_STC_1
="#"
49990 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49991 COND_SHARED_0_USE_STC_1
=""
49994 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
49995 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49996 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
49999 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50000 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50001 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50004 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50005 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50006 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50010 if test "x$SHARED" = "x1" ; then
50014 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50015 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50016 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50020 if test "x$TOOLKIT" = "x" ; then
50024 COND_TOOLKIT_COCOA
="#"
50025 if test "x$TOOLKIT" = "xCOCOA" ; then
50026 COND_TOOLKIT_COCOA
=""
50029 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50030 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50031 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50034 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50035 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50036 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50039 COND_TOOLKIT_DFB
="#"
50040 if test "x$TOOLKIT" = "xDFB" ; then
50041 COND_TOOLKIT_DFB
=""
50044 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50045 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50046 COND_TOOLKIT_DFB_USE_GUI_1
=""
50049 COND_TOOLKIT_GTK
="#"
50050 if test "x$TOOLKIT" = "xGTK" ; then
50051 COND_TOOLKIT_GTK
=""
50054 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50055 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50056 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50060 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50065 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50070 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50071 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50074 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50075 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50076 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50080 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50081 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50084 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50085 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50086 COND_TOOLKIT_GTK_USE_GUI_1
=""
50089 COND_TOOLKIT_MAC
="#"
50090 if test "x$TOOLKIT" = "xMAC" ; then
50091 COND_TOOLKIT_MAC
=""
50094 COND_TOOLKIT_MGL
="#"
50095 if test "x$TOOLKIT" = "xMGL" ; then
50096 COND_TOOLKIT_MGL
=""
50099 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50100 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50101 COND_TOOLKIT_MGL_USE_GUI_1
=""
50104 COND_TOOLKIT_MOTIF
="#"
50105 if test "x$TOOLKIT" = "xMOTIF" ; then
50106 COND_TOOLKIT_MOTIF
=""
50109 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50110 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50111 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50114 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50115 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50116 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50119 COND_TOOLKIT_MSW
="#"
50120 if test "x$TOOLKIT" = "xMSW" ; then
50121 COND_TOOLKIT_MSW
=""
50124 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50125 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50126 COND_TOOLKIT_MSW_USE_GUI_1
=""
50129 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50130 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50131 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50134 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50135 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50136 COND_TOOLKIT_MSW_WXUNIV_0
=""
50139 COND_TOOLKIT_OSX_CARBON
="#"
50140 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50141 COND_TOOLKIT_OSX_CARBON
=""
50144 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50145 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50146 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50149 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50150 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50151 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50154 COND_TOOLKIT_OSX_COCOA
="#"
50155 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50156 COND_TOOLKIT_OSX_COCOA
=""
50159 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50160 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50161 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50164 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50165 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50166 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50169 COND_TOOLKIT_OSX_IPHONE
="#"
50170 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50171 COND_TOOLKIT_OSX_IPHONE
=""
50174 COND_TOOLKIT_PM
="#"
50175 if test "x$TOOLKIT" = "xPM" ; then
50179 COND_TOOLKIT_PM_USE_GUI_1
="#"
50180 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50181 COND_TOOLKIT_PM_USE_GUI_1
=""
50184 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50185 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50186 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50189 COND_TOOLKIT_WINCE
="#"
50190 if test "x$TOOLKIT" = "xWINCE" ; then
50191 COND_TOOLKIT_WINCE
=""
50194 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50195 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50196 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50199 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50200 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50201 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50204 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50205 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50206 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50209 COND_TOOLKIT_X11
="#"
50210 if test "x$TOOLKIT" = "xX11" ; then
50211 COND_TOOLKIT_X11
=""
50214 COND_TOOLKIT_X11_USE_GUI_1
="#"
50215 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50216 COND_TOOLKIT_X11_USE_GUI_1
=""
50220 if test "x$UNICODE" = "x1" ; then
50224 COND_USE_EXCEPTIONS_0
="#"
50225 if test "x$USE_EXCEPTIONS" = "x0" ; then
50226 COND_USE_EXCEPTIONS_0
=""
50229 COND_USE_EXCEPTIONS_1
="#"
50230 if test "x$USE_EXCEPTIONS" = "x1" ; then
50231 COND_USE_EXCEPTIONS_1
=""
50235 if test "x$USE_GUI" = "x0" ; then
50240 if test "x$USE_GUI" = "x1" ; then
50244 COND_USE_GUI_1_USE_OPENGL_1
="#"
50245 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50246 COND_USE_GUI_1_USE_OPENGL_1
=""
50249 COND_USE_GUI_1_WXUNIV_0
="#"
50250 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50251 COND_USE_GUI_1_WXUNIV_0
=""
50254 COND_USE_GUI_1_WXUNIV_1
="#"
50255 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50256 COND_USE_GUI_1_WXUNIV_1
=""
50259 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50260 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50261 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50264 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50265 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50266 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50269 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50270 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50271 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50274 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50275 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50276 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50279 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50280 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50281 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50284 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50285 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50286 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50289 COND_USE_OPENGL_1
="#"
50290 if test "x$USE_OPENGL" = "x1" ; then
50291 COND_USE_OPENGL_1
=""
50295 if test "x$USE_PCH" = "x1" ; then
50299 COND_USE_PLUGINS_0
="#"
50300 if test "x$USE_PLUGINS" = "x0" ; then
50301 COND_USE_PLUGINS_0
=""
50304 COND_USE_RTTI_0
="#"
50305 if test "x$USE_RTTI" = "x0" ; then
50309 COND_USE_RTTI_1
="#"
50310 if test "x$USE_RTTI" = "x1" ; then
50314 COND_USE_SOSYMLINKS_1
="#"
50315 if test "x$USE_SOSYMLINKS" = "x1" ; then
50316 COND_USE_SOSYMLINKS_1
=""
50319 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50320 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50321 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50324 COND_USE_SOVERLINUX_1
="#"
50325 if test "x$USE_SOVERLINUX" = "x1" ; then
50326 COND_USE_SOVERLINUX_1
=""
50329 COND_USE_SOVERSION_0
="#"
50330 if test "x$USE_SOVERSION" = "x0" ; then
50331 COND_USE_SOVERSION_0
=""
50334 COND_USE_SOVERSOLARIS_1
="#"
50335 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50336 COND_USE_SOVERSOLARIS_1
=""
50340 if test "x$USE_STC" = "x1" ; then
50344 COND_USE_THREADS_0
="#"
50345 if test "x$USE_THREADS" = "x0" ; then
50346 COND_USE_THREADS_0
=""
50349 COND_USE_THREADS_1
="#"
50350 if test "x$USE_THREADS" = "x1" ; then
50351 COND_USE_THREADS_1
=""
50355 if test "x$USE_XRC" = "x1" ; then
50359 COND_WINDOWS_IMPLIB_1
="#"
50360 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50361 COND_WINDOWS_IMPLIB_1
=""
50364 COND_WITH_PLUGIN_SDL_1
="#"
50365 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50366 COND_WITH_PLUGIN_SDL_1
=""
50370 if test "x$WXUNIV" = "x0" ; then
50375 if test "x$WXUNIV" = "x1" ; then
50379 COND_WXUSE_EXPAT_BUILTIN
="#"
50380 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50381 COND_WXUSE_EXPAT_BUILTIN
=""
50384 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50385 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50386 COND_WXUSE_LIBJPEG_BUILTIN
=""
50389 COND_WXUSE_LIBPNG_BUILTIN
="#"
50390 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50391 COND_WXUSE_LIBPNG_BUILTIN
=""
50394 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50395 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50396 COND_WXUSE_LIBTIFF_BUILTIN
=""
50399 COND_WXUSE_REGEX_BUILTIN
="#"
50400 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50401 COND_WXUSE_REGEX_BUILTIN
=""
50404 COND_WXUSE_ZLIB_BUILTIN
="#"
50405 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50406 COND_WXUSE_ZLIB_BUILTIN
=""
50409 COND_wxUSE_EXPAT_builtin
="#"
50410 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50411 COND_wxUSE_EXPAT_builtin
=""
50414 COND_wxUSE_LIBJPEG_builtin
="#"
50415 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50416 COND_wxUSE_LIBJPEG_builtin
=""
50419 COND_wxUSE_LIBPNG_builtin
="#"
50420 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50421 COND_wxUSE_LIBPNG_builtin
=""
50424 COND_wxUSE_LIBTIFF_builtin
="#"
50425 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50426 COND_wxUSE_LIBTIFF_builtin
=""
50429 COND_wxUSE_REGEX_builtin
="#"
50430 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50431 COND_wxUSE_REGEX_builtin
=""
50434 COND_wxUSE_ZLIB_builtin
="#"
50435 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50436 COND_wxUSE_ZLIB_builtin
=""
50441 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50442 { { 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
50443 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;}
50444 { (exit 1); exit 1; }; }
50447 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50448 { { 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
50449 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;}
50450 { (exit 1); exit 1; }; }
50457 ?
:* ) # Drive letter, considered as absolute.
50460 INSTALL
=`pwd`/${INSTALL} ;;
50463 if test "$wxUSE_GUI" = "yes"; then
50465 if test "$wxUSE_MSW" = 1 ; then
50466 if test "x$WINDRES" = "x"; then
50467 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50468 echo "$as_me: error: Required windres program not found" >&2;}
50469 { (exit 1); exit 1; }; }
50475 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50476 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50477 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50479 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50481 # Extract the first word of "DeRez", so it can be a program name with args.
50482 set dummy DeRez
; ac_word
=$2
50483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50485 if test "${ac_cv_prog_DEREZ+set}" = set; then
50486 echo $ECHO_N "(cached) $ECHO_C" >&6
50488 if test -n "$DEREZ"; then
50489 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50492 for as_dir
in $PATH
50495 test -z "$as_dir" && as_dir
=.
50496 for ac_exec_ext
in '' $ac_executable_extensions; do
50497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50498 ac_cv_prog_DEREZ
="DeRez"
50499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50506 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50509 DEREZ
=$ac_cv_prog_DEREZ
50510 if test -n "$DEREZ"; then
50511 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50512 echo "${ECHO_T}$DEREZ" >&6; }
50514 { echo "$as_me:$LINENO: result: no" >&5
50515 echo "${ECHO_T}no" >&6; }
50520 MACSETFILE
="\$(SETFILE)"
50522 if test "$wxUSE_OSX_CARBON" = 1; then
50523 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50525 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50527 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50528 RESCOMP
="cat /dev/null \| $REZ"
50529 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50535 if test "$wxUSE_PM" = 1; then
50537 WXCONFIG_RESFLAGS
="-ep"
50539 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50541 POSTLINK_COMMAND
="@true"
50548 if test $GCC_PCH = 1
50550 if test "$wx_cv_gcc_pch_bug" = yes; then
50551 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50552 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50553 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50554 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50555 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50556 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50559 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50560 # the headers that benefit from precompilation are mostly C++ headers.
50561 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50562 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50563 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50567 if test "$wxUSE_MAC" = 1 ; then
50568 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50569 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50575 if test "$wxUSE_SHARED" = "yes"; then
50577 *-pc-os2_emx | *-pc-os2-emx )
50578 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50579 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50580 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50581 cp -p ${srcdir}/src
/os
2/dllar.sh .
50585 if test "$wxUSE_OMF" = "yes"; then
50587 *-pc-os2_emx | *-pc-os2-emx )
50588 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50589 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50590 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50595 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50600 if test "$GCC" = yes; then
50601 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50602 LIBS
=`echo $LIBS | sed 's/-mt//'`
50603 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50608 if test "x$SUNCXX" = xyes
; then
50609 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50610 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50611 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50616 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50617 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50618 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50619 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50621 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50682 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50683 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50684 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50685 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50686 echo $ECHO_N "(cached) $ECHO_C" >&6
50688 cat >conftest.
make <<\_ACEOF
50691 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50693 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50694 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50695 *@@@
%%%=?
*=@@@
%%%*)
50696 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50698 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50700 rm -f conftest.
make
50702 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50703 { echo "$as_me:$LINENO: result: yes" >&5
50704 echo "${ECHO_T}yes" >&6; }
50707 { echo "$as_me:$LINENO: result: no" >&5
50708 echo "${ECHO_T}no" >&6; }
50709 SET_MAKE
="MAKE=${MAKE-make}"
50714 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50717 if test "$USE_WIN32" = 1; then
50718 ac_config_commands
="$ac_config_commands rcdefs.h"
50722 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50725 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50728 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50731 if test "$wx_cv_version_script" = "yes"; then
50732 ac_config_files
="$ac_config_files version-script"
50735 ac_config_files
="$ac_config_files Makefile"
50738 ac_config_commands
="$ac_config_commands wx-config"
50742 if test "$wxWITH_SUBDIRS" != "no"; then
50743 if test "$wxUSE_GUI" = "yes"; then
50744 SUBDIRS
="samples demos utils"
50746 SUBDIRS
="samples utils"
50751 # Check whether --with-cppunit-prefix was given.
50752 if test "${with_cppunit_prefix+set}" = set; then
50753 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50755 cppunit_config_prefix
=""
50759 # Check whether --with-cppunit-exec-prefix was given.
50760 if test "${with_cppunit_exec_prefix+set}" = set; then
50761 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50763 cppunit_config_exec_prefix
=""
50767 if test x
$cppunit_config_exec_prefix != x
; then
50768 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50769 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50770 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50773 if test x
$cppunit_config_prefix != x
; then
50774 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50775 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50776 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50780 # Extract the first word of "cppunit-config", so it can be a program name with args.
50781 set dummy cppunit
-config; ac_word
=$2
50782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50784 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50785 echo $ECHO_N "(cached) $ECHO_C" >&6
50787 case $CPPUNIT_CONFIG in
50789 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50793 for as_dir
in $PATH
50796 test -z "$as_dir" && as_dir
=.
50797 for ac_exec_ext
in '' $ac_executable_extensions; do
50798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50799 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50807 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50811 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50812 if test -n "$CPPUNIT_CONFIG"; then
50813 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50814 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50816 { echo "$as_me:$LINENO: result: no" >&5
50817 echo "${ECHO_T}no" >&6; }
50821 cppunit_version_min
=1.8.0
50823 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50824 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50826 if test "$CPPUNIT_CONFIG" = "no" ; then
50827 { echo "$as_me:$LINENO: result: no" >&5
50828 echo "${ECHO_T}no" >&6; }
50831 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50832 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50833 cppunit_version
=`$CPPUNIT_CONFIG --version`
50835 cppunit_major_version
=`echo $cppunit_version | \
50836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50837 cppunit_minor_version
=`echo $cppunit_version | \
50838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50839 cppunit_micro_version
=`echo $cppunit_version | \
50840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50842 cppunit_major_min
=`echo $cppunit_version_min | \
50843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50844 cppunit_minor_min
=`echo $cppunit_version_min | \
50845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50846 cppunit_micro_min
=`echo $cppunit_version_min | \
50847 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50849 cppunit_version_proper
=`expr \
50850 $cppunit_major_version \> $cppunit_major_min \| \
50851 $cppunit_major_version \= $cppunit_major_min \& \
50852 $cppunit_minor_version \> $cppunit_minor_min \| \
50853 $cppunit_major_version \= $cppunit_major_min \& \
50854 $cppunit_minor_version \= $cppunit_minor_min \& \
50855 $cppunit_micro_version \>= $cppunit_micro_min `
50857 if test "$cppunit_version_proper" = "1" ; then
50858 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50859 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50861 { echo "$as_me:$LINENO: result: no" >&5
50862 echo "${ECHO_T}no" >&6; }
50867 if test "x$no_cppunit" = x
; then
50868 SUBDIRS
="$SUBDIRS tests"
50879 for subdir
in $SUBDIRS; do
50880 if test -d ${srcdir}/${subdir} ; then
50881 if test "$wxUSE_GUI" = "yes"; then
50882 if test ${subdir} = "samples"; then
50883 makefiles
="samples/Makefile.in $makefiles"
50884 for sample
in $SAMPLES_SUBDIRS; do
50885 if test -d $srcdir/samples
/$sample; then
50886 makefiles
="samples/$sample/Makefile.in $makefiles"
50890 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50891 eval "disabled=\$$disabled_var"
50892 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50893 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50896 if test ${subdir} = "samples"; then
50897 makefiles
="samples/Makefile.in $makefiles"
50898 for sample
in `echo $SAMPLES_SUBDIRS`; do
50899 if test -d $srcdir/samples
/$sample; then
50900 makefiles
="samples/$sample/Makefile.in $makefiles"
50903 elif test ${subdir} = "utils"; then
50905 for util
in ifacecheck
; do
50906 if test -d $srcdir/utils
/$util ; then
50907 makefiles
="utils/$util/src/Makefile.in \
50912 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50916 for mkin
in $makefiles ; do
50917 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50918 ac_config_files
="$ac_config_files $mk"
50924 cat >confcache
<<\_ACEOF
50925 # This file is a shell script that caches the results of configure
50926 # tests run on this system so they can be shared between configure
50927 # scripts and configure runs, see configure's option --config-cache.
50928 # It is not useful on other systems. If it contains results you don't
50929 # want to keep, you may remove or edit it.
50931 # config.status only pays attention to the cache file if you give it
50932 # the --recheck option to rerun configure.
50934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50936 # following values.
50940 # The following way of writing the cache mishandles newlines in values,
50941 # but we know of no workaround that is simple, portable, and efficient.
50942 # So, we kill variables containing newlines.
50943 # Ultrix sh set writes to stderr and can't be redirected directly,
50944 # and sets the high bit in the cache file unless we assign to the vars.
50946 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50947 eval ac_val
=\$
$ac_var
50951 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50952 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50955 _
| IFS
| as_nl
) ;; #(
50956 *) $as_unset $ac_var ;;
50962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50963 *${as_nl}ac_space
=\
*)
50964 # `set' does not quote correctly, so add quotes (double-quote
50965 # substitution turns \\\\ into \\, and sed turns \\ into \).
50968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50971 # `set' quotes correctly as required by POSIX, so do not add quotes.
50972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50985 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50986 if test -w "$cache_file"; then
50987 test "x$cache_file" != "x/dev/null" &&
50988 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50989 echo "$as_me: updating cache $cache_file" >&6;}
50990 cat confcache
>$cache_file
50992 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50993 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50998 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50999 # Let make expand exec_prefix.
51000 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51002 DEFS
=-DHAVE_CONFIG_H
51006 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51007 # 1. Remove the extension, and $U if already installed.
51008 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51009 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51010 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51011 # will be set to the directory where LIBOBJS objects are built.
51012 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51013 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51015 LIBOBJS
=$ac_libobjs
51017 LTLIBOBJS
=$ac_ltlibobjs
51021 : ${CONFIG_STATUS=./config.status}
51022 ac_clean_files_save
=$ac_clean_files
51023 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51024 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51025 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51026 cat >$CONFIG_STATUS <<_ACEOF
51028 # Generated by $as_me.
51029 # Run this file to recreate the current configuration.
51030 # Compiler output produced by configure, useful for debugging
51031 # configure, is in config.log if it exists.
51034 ac_cs_recheck=false
51036 SHELL=\${CONFIG_SHELL-$SHELL}
51039 cat >>$CONFIG_STATUS <<\_ACEOF
51040 ## --------------------- ##
51041 ## M4sh Initialization. ##
51042 ## --------------------- ##
51044 # Be more Bourne compatible
51045 DUALCASE
=1; export DUALCASE
# for MKS sh
51046 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51049 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51050 # is contrary to our usage. Disable this feature.
51051 alias -g '${1+"$@"}'='"$@"'
51052 setopt NO_GLOB_SUBST
51054 case `(set -o) 2>/dev/null` in
51055 *posix
*) set -o posix
;;
51064 # Avoid depending upon Character Ranges.
51065 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51066 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51067 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51068 as_cr_digits
='0123456789'
51069 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51071 # The user is always right.
51072 if test "${PATH_SEPARATOR+set}" != set; then
51073 echo "#! /bin/sh" >conf$$.sh
51074 echo "exit 0" >>conf$$.sh
51076 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51084 # Support unset when possible.
51085 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51093 # We need space, tab and new line, in precisely that order. Quoting is
51094 # there to prevent editors from complaining about space-tab.
51095 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51096 # splitting by setting IFS to empty value.)
51101 # Find who we are. Look in the path if we contain no directory separator.
51103 *[\\/]* ) as_myself
=$0 ;;
51104 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51105 for as_dir
in $PATH
51108 test -z "$as_dir" && as_dir
=.
51109 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51115 # We did not find ourselves, most probably we were run as `sh COMMAND'
51116 # in which case we are not to be found in the path.
51117 if test "x$as_myself" = x
; then
51120 if test ! -f "$as_myself"; then
51121 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51122 { (exit 1); exit 1; }
51125 # Work around bugs in pre-3.0 UWIN ksh.
51126 for as_var
in ENV MAIL MAILPATH
51127 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51135 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51136 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51137 LC_TELEPHONE LC_TIME
51139 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51140 eval $as_var=C
; export $as_var
51142 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51146 # Required to use basename.
51147 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51148 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51154 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51155 as_basename
=basename
51161 # Name of the executable.
51162 as_me
=`$as_basename -- "$0" ||
51163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51164 X"$0" : 'X\(//\)$' \| \
51165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51167 sed '/^.*\/\([^/][^/]*\)\/*$/{
51186 as_lineno_1
=$LINENO
51187 as_lineno_2
=$LINENO
51188 test "x$as_lineno_1" != "x$as_lineno_2" &&
51189 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51191 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51192 # uniformly replaced by the line number. The first 'sed' inserts a
51193 # line-number line after each line using $LINENO; the second 'sed'
51194 # does the real work. The second script uses 'N' to pair each
51195 # line-number line with the line containing $LINENO, and appends
51196 # trailing '-' during substitution so that $LINENO is not a special
51197 # case at line end.
51198 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51199 # scripts with optimization help from Paolo Bonzini. Blame Lee
51200 # E. McMahon (1931-1989) for sed's syntax. :-)
51212 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51215 ' >$as_me.lineno
&&
51216 chmod +x
"$as_me.lineno" ||
51217 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51218 { (exit 1); exit 1; }; }
51220 # Don't try to exec as it changes $[0], causing all sort of problems
51221 # (the dirname of $[0] is not the place where we might find the
51222 # original and so on. Autoconf is especially sensitive to this).
51223 .
"./$as_me.lineno"
51224 # Exit status is that of the last command.
51229 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51235 ECHO_C
= ECHO_N
= ECHO_T
=
51236 case `echo -n x` in
51238 case `echo 'x\c'` in
51239 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51246 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51247 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51253 rm -f conf$$ conf$$.exe conf$$.
file
51254 if test -d conf$$.dir
; then
51255 rm -f conf$$.dir
/conf$$.
file
51261 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51263 # ... but there are two gotchas:
51264 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51265 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51266 # In both cases, we have to default to `cp -p'.
51267 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51269 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51274 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51275 rmdir conf$$.dir
2>/dev
/null
51277 if mkdir -p .
2>/dev
/null
; then
51280 test -d .
/-p && rmdir .
/-p
51284 if test -x / >/dev
/null
2>&1; then
51285 as_test_x
='test -x'
51287 if ls -dL / >/dev
/null
2>&1; then
51294 if test -d "$1"; then
51300 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51301 ???[sx]*):;;*)false;;esac;fi
51305 as_executable_p
=$as_test_x
51307 # Sed expression to map a string onto a valid CPP name.
51308 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51310 # Sed expression to map a string onto a valid variable name.
51311 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51316 # Save the log message, to keep $[0] and so on meaningful, and to
51317 # report actual input values of CONFIG_FILES etc. instead of their
51318 # values after options handling.
51320 This file was extended by wxWidgets $as_me 2.9.0, which was
51321 generated by GNU Autoconf 2.61. Invocation command line was
51323 CONFIG_FILES = $CONFIG_FILES
51324 CONFIG_HEADERS = $CONFIG_HEADERS
51325 CONFIG_LINKS = $CONFIG_LINKS
51326 CONFIG_COMMANDS = $CONFIG_COMMANDS
51329 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51334 cat >>$CONFIG_STATUS <<_ACEOF
51335 # Files that config.status was made for.
51336 config_files="$ac_config_files"
51337 config_headers="$ac_config_headers"
51338 config_commands="$ac_config_commands"
51342 cat >>$CONFIG_STATUS <<\_ACEOF
51344 \`$as_me' instantiates files from templates according to the
51345 current configuration.
51347 Usage: $0 [OPTIONS] [FILE]...
51349 -h, --help print this help, then exit
51350 -V, --version print version number and configuration settings, then exit
51351 -q, --quiet do not print progress messages
51352 -d, --debug don't remove temporary files
51353 --recheck update $as_me by reconfiguring in the same conditions
51354 --file=FILE[:TEMPLATE]
51355 instantiate the configuration file FILE
51356 --header=FILE[:TEMPLATE]
51357 instantiate the configuration header FILE
51359 Configuration files:
51362 Configuration headers:
51365 Configuration commands:
51368 Report bugs to <bug-autoconf@gnu.org>."
51371 cat >>$CONFIG_STATUS <<_ACEOF
51373 wxWidgets config.status 2.9.0
51374 configured by $0, generated by GNU Autoconf 2.61,
51375 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51377 Copyright (C) 2006 Free Software Foundation, Inc.
51378 This config.status script is free software; the Free Software Foundation
51379 gives unlimited permission to copy, distribute and modify it."
51386 cat >>$CONFIG_STATUS <<\_ACEOF
51387 # If no file are specified by the user, then we need to provide default
51388 # value. By we need to know if files were specified by the user.
51394 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51395 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51406 # Handling of the options.
51407 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51409 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51410 echo "$ac_cs_version"; exit ;;
51411 --debug | --debu | --deb | --de | --d | -d )
51413 --file | --fil | --fi | --f )
51415 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51416 ac_need_defaults
=false
;;
51417 --header | --heade | --head | --hea )
51419 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51420 ac_need_defaults
=false
;;
51422 # Conflict between --help and --header
51423 { echo "$as_me: error: ambiguous option: $1
51424 Try \`$0 --help' for more information." >&2
51425 { (exit 1); exit 1; }; };;
51426 --help | --hel | -h )
51427 echo "$ac_cs_usage"; exit ;;
51428 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51429 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51432 # This is an error.
51433 -*) { echo "$as_me: error: unrecognized option: $1
51434 Try \`$0 --help' for more information." >&2
51435 { (exit 1); exit 1; }; } ;;
51437 *) ac_config_targets
="$ac_config_targets $1"
51438 ac_need_defaults
=false
;;
51444 ac_configure_extra_args
=
51446 if $ac_cs_silent; then
51448 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51452 cat >>$CONFIG_STATUS <<_ACEOF
51453 if \$ac_cs_recheck; then
51454 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51455 CONFIG_SHELL=$SHELL
51456 export CONFIG_SHELL
51457 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51461 cat >>$CONFIG_STATUS <<\_ACEOF
51465 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51466 ## Running $as_me. ##
51472 cat >>$CONFIG_STATUS <<_ACEOF
51478 infile="$srcdir/include/wx/msw/genrcdefs.h"
51479 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51482 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51483 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51484 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51490 cat >>$CONFIG_STATUS <<\_ACEOF
51492 # Handling of arguments.
51493 for ac_config_target
in $ac_config_targets
51495 case $ac_config_target in
51496 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51497 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51498 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51499 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51500 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51501 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51502 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51503 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51504 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51506 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51507 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51508 { (exit 1); exit 1; }; };;
51513 # If the user did not use the arguments to specify the items to instantiate,
51514 # then the envvar interface is used. Set only those that are not.
51515 # We use the long form for the default assignment because of an extremely
51516 # bizarre bug on SunOS 4.1.3.
51517 if $ac_need_defaults; then
51518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51523 # Have a temporary directory for convenience. Make it in the build tree
51524 # simply because there is no reason against having it here, and in addition,
51525 # creating and moving files from /tmp can sometimes cause problems.
51526 # Hook for its removal unless debugging.
51527 # Note that there is a small window in which the directory will not be cleaned:
51528 # after its creation but before its name has been assigned to `$tmp'.
51532 trap 'exit_status=$?
51533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51535 trap '{ (exit 1); exit 1; }' 1 2 13 15
51537 # Create a (secure) tmp directory for tmp files.
51540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51541 test -n "$tmp" && test -d "$tmp"
51544 tmp
=.
/conf$$
-$RANDOM
51545 (umask 077 && mkdir "$tmp")
51548 echo "$me: cannot create a temporary directory in ." >&2
51549 { (exit 1); exit 1; }
51553 # Set up the sed scripts for CONFIG_FILES section.
51556 # No need to generate the scripts if there are no CONFIG_FILES.
51557 # This happens for instance when ./config.status config.h
51558 if test -n "$CONFIG_FILES"; then
51565 for ac_last_try
in false false false false false
:; do
51566 cat >conf$
$subs.
sed <<_ACEOF
51567 SHELL!$SHELL$ac_delim
51568 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51569 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51570 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51571 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51572 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51573 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51574 exec_prefix!$exec_prefix$ac_delim
51575 prefix!$prefix$ac_delim
51576 program_transform_name!$program_transform_name$ac_delim
51577 bindir!$bindir$ac_delim
51578 sbindir!$sbindir$ac_delim
51579 libexecdir!$libexecdir$ac_delim
51580 datarootdir!$datarootdir$ac_delim
51581 datadir!$datadir$ac_delim
51582 sysconfdir!$sysconfdir$ac_delim
51583 sharedstatedir!$sharedstatedir$ac_delim
51584 localstatedir!$localstatedir$ac_delim
51585 includedir!$includedir$ac_delim
51586 oldincludedir!$oldincludedir$ac_delim
51587 docdir!$docdir$ac_delim
51588 infodir!$infodir$ac_delim
51589 htmldir!$htmldir$ac_delim
51590 dvidir!$dvidir$ac_delim
51591 pdfdir!$pdfdir$ac_delim
51592 psdir!$psdir$ac_delim
51593 libdir!$libdir$ac_delim
51594 localedir!$localedir$ac_delim
51595 mandir!$mandir$ac_delim
51596 DEFS!$DEFS$ac_delim
51597 ECHO_C!$ECHO_C$ac_delim
51598 ECHO_N!$ECHO_N$ac_delim
51599 ECHO_T!$ECHO_T$ac_delim
51600 LIBS!$LIBS$ac_delim
51601 build_alias!$build_alias$ac_delim
51602 host_alias!$host_alias$ac_delim
51603 target_alias!$target_alias$ac_delim
51604 build!$build$ac_delim
51605 build_cpu!$build_cpu$ac_delim
51606 build_vendor!$build_vendor$ac_delim
51607 build_os!$build_os$ac_delim
51608 host!$host$ac_delim
51609 host_cpu!$host_cpu$ac_delim
51610 host_vendor!$host_vendor$ac_delim
51611 host_os!$host_os$ac_delim
51612 wx_top_builddir!$wx_top_builddir$ac_delim
51614 CFLAGS!$CFLAGS$ac_delim
51615 LDFLAGS!$LDFLAGS$ac_delim
51616 CPPFLAGS!$CPPFLAGS$ac_delim
51617 ac_ct_CC!$ac_ct_CC$ac_delim
51618 EXEEXT!$EXEEXT$ac_delim
51619 OBJEXT!$OBJEXT$ac_delim
51621 GREP!$GREP$ac_delim
51622 EGREP!$EGREP$ac_delim
51624 CXXFLAGS!$CXXFLAGS$ac_delim
51625 ac_ct_CXX!$ac_ct_CXX$ac_delim
51627 subdirs!$subdirs$ac_delim
51628 PKG_CONFIG!$PKG_CONFIG$ac_delim
51629 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51630 GTK_LIBS!$GTK_LIBS$ac_delim
51631 GTK_CONFIG!$GTK_CONFIG$ac_delim
51632 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51633 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51634 XMKMF!$XMKMF$ac_delim
51635 X_CFLAGS!$X_CFLAGS$ac_delim
51636 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51637 X_LIBS!$X_LIBS$ac_delim
51638 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51639 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51640 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51641 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51642 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51643 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51644 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51645 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51646 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51647 LIBICONV!$LIBICONV$ac_delim
51648 GXX_VERSION!$GXX_VERSION$ac_delim
51649 SDL_CONFIG!$SDL_CONFIG$ac_delim
51650 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51651 SDL_LIBS!$SDL_LIBS$ac_delim
51652 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51653 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51654 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51655 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51656 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51657 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51658 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51659 HILDON_LIBS!$HILDON_LIBS$ac_delim
51660 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51661 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51662 GST_CFLAGS!$GST_CFLAGS$ac_delim
51663 GST_LIBS!$GST_LIBS$ac_delim
51666 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51668 elif $ac_last_try; then
51669 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51670 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51671 { (exit 1); exit 1; }; }
51673 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51677 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51678 if test -n "$ac_eof"; then
51679 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51680 ac_eof
=`expr $ac_eof + 1`
51683 cat >>$CONFIG_STATUS <<_ACEOF
51684 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51685 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51688 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51689 s/^/s,@/; s/!/@,|#_!!_#|/
51692 s/'"$ac_delim"'$/,g/; t
51694 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51695 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51696 rm -f conf$
$subs.
sed
51697 cat >>$CONFIG_STATUS <<_ACEOF
51703 for ac_last_try
in false false false false false
:; do
51704 cat >conf$
$subs.
sed <<_ACEOF
51705 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51706 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51707 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51708 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51709 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51710 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51711 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51712 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51713 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51714 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51715 VENDOR!$VENDOR$ac_delim
51716 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51717 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51718 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51719 WXUNIV!$WXUNIV$ac_delim
51720 MONOLITHIC!$MONOLITHIC$ac_delim
51721 USE_PLUGINS!$USE_PLUGINS$ac_delim
51722 CXXWARNINGS!$CXXWARNINGS$ac_delim
51723 EXTRALIBS!$EXTRALIBS$ac_delim
51724 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51725 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51726 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51727 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51728 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51729 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51730 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51731 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51732 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51733 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51734 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51735 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51736 UNICODE!$UNICODE$ac_delim
51737 BUILD!$BUILD$ac_delim
51738 DEBUG_INFO!$DEBUG_INFO$ac_delim
51739 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51740 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51741 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51742 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51743 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51744 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51745 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51746 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51747 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51748 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51749 RANLIB!$RANLIB$ac_delim
51750 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51751 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51752 INSTALL_DATA!$INSTALL_DATA$ac_delim
51753 LN_S!$LN_S$ac_delim
51754 SET_MAKE!$SET_MAKE$ac_delim
51755 MAKE_SET!$MAKE_SET$ac_delim
51756 AROPTIONS!$AROPTIONS$ac_delim
51757 STRIP!$STRIP$ac_delim
51759 INSTALL_DIR!$INSTALL_DIR$ac_delim
51760 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51761 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51762 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51763 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51764 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51765 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51766 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51767 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51768 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51769 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51770 SO_SUFFIX!$SO_SUFFIX$ac_delim
51771 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51772 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51773 LIBPREFIX!$LIBPREFIX$ac_delim
51774 LIBEXT!$LIBEXT$ac_delim
51775 DLLPREFIX!$DLLPREFIX$ac_delim
51776 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51777 dlldir!$dlldir$ac_delim
51778 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51779 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51780 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51781 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51782 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51783 PIC_FLAG!$PIC_FLAG$ac_delim
51784 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51785 USE_SOVERSION!$USE_SOVERSION$ac_delim
51786 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51787 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51788 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51789 USE_MACVERSION!$USE_MACVERSION$ac_delim
51790 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51791 SONAME_FLAG!$SONAME_FLAG$ac_delim
51792 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51793 BK_DEPS!$BK_DEPS$ac_delim
51794 WINDRES!$WINDRES$ac_delim
51796 SETFILE!$SETFILE$ac_delim
51797 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51798 GCC_PCH!$GCC_PCH$ac_delim
51799 ICC_PCH!$ICC_PCH$ac_delim
51800 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51801 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51804 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51806 elif $ac_last_try; then
51807 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51808 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51809 { (exit 1); exit 1; }; }
51811 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51815 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51816 if test -n "$ac_eof"; then
51817 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51818 ac_eof
=`expr $ac_eof + 1`
51821 cat >>$CONFIG_STATUS <<_ACEOF
51822 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51826 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51827 s/^/s,@/; s/!/@,|#_!!_#|/
51830 s/'"$ac_delim"'$/,g/; t
51832 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51833 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51834 rm -f conf$
$subs.
sed
51835 cat >>$CONFIG_STATUS <<_ACEOF
51841 for ac_last_try
in false false false false false
:; do
51842 cat >conf$
$subs.
sed <<_ACEOF
51843 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51844 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51845 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51846 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51847 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51848 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51849 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51850 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51851 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51852 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51853 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51854 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51855 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51856 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51857 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51858 COND_BUILD_release!$COND_BUILD_release$ac_delim
51859 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51860 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51861 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51862 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51863 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51864 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51865 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51866 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51867 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51868 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51869 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51870 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51871 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51876 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51877 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51878 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51880 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51886 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51887 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51888 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51889 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51890 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51891 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51892 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51893 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51894 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51895 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51896 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51897 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51898 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51899 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51900 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51901 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51902 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51903 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51904 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51905 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51906 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51907 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51908 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51910 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
51911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51912 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
51913 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51914 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51915 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51916 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51917 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51918 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51919 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51920 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51921 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51922 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51923 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51925 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51926 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51927 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51928 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51929 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51930 COND_SHARED_0!$COND_SHARED_0$ac_delim
51931 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51932 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51933 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51934 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51936 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51937 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51938 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51939 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51942 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51944 elif $ac_last_try; then
51945 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51946 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51947 { (exit 1); exit 1; }; }
51949 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51953 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51954 if test -n "$ac_eof"; then
51955 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51956 ac_eof
=`expr $ac_eof + 1`
51959 cat >>$CONFIG_STATUS <<_ACEOF
51960 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51964 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51965 s/^/s,@/; s/!/@,|#_!!_#|/
51968 s/'"$ac_delim"'$/,g/; t
51970 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51971 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51972 rm -f conf$
$subs.
sed
51973 cat >>$CONFIG_STATUS <<_ACEOF
51979 for ac_last_try
in false false false false false
:; do
51980 cat >conf$
$subs.
sed <<_ACEOF
51981 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51982 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51983 COND_SHARED_1!$COND_SHARED_1$ac_delim
51984 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51985 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51986 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51987 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51988 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51989 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51990 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51991 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51992 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51994 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51996 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51997 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51998 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51999 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52000 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52001 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52002 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52003 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52005 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52006 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52008 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52009 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52010 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52011 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52012 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52013 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52014 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52015 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52016 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52017 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52018 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52019 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52020 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52021 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52022 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52023 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52024 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52025 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52026 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52027 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52028 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52029 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52030 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52031 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52032 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52033 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52034 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52035 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52036 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52037 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52038 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52039 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52040 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52041 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52042 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52043 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52044 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52045 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52046 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52047 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52048 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52049 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52050 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52051 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52052 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52053 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52054 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52055 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52056 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52057 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52058 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52059 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52060 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52061 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52062 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52063 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52064 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52065 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52066 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52067 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52068 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52069 DEREZ!$DEREZ$ac_delim
52070 SHARED!$SHARED$ac_delim
52071 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52072 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52073 USE_GUI!$USE_GUI$ac_delim
52074 AFMINSTALL!$AFMINSTALL$ac_delim
52075 WIN32INSTALL!$WIN32INSTALL$ac_delim
52076 TOOLKIT!$TOOLKIT$ac_delim
52077 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52080 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52082 elif $ac_last_try; then
52083 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52084 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52085 { (exit 1); exit 1; }; }
52087 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52091 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52092 if test -n "$ac_eof"; then
52093 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52094 ac_eof
=`expr $ac_eof + 1`
52097 cat >>$CONFIG_STATUS <<_ACEOF
52098 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52099 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52102 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52103 s/^/s,@/; s/!/@,|#_!!_#|/
52106 s/'"$ac_delim"'$/,g/; t
52108 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52109 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52110 rm -f conf$
$subs.
sed
52111 cat >>$CONFIG_STATUS <<_ACEOF
52117 for ac_last_try
in false false false false false
:; do
52118 cat >conf$
$subs.
sed <<_ACEOF
52119 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52120 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52121 cross_compiling!$cross_compiling$ac_delim
52122 WIDGET_SET!$WIDGET_SET$ac_delim
52123 WX_RELEASE!$WX_RELEASE$ac_delim
52124 WX_VERSION!$WX_VERSION$ac_delim
52125 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52126 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52127 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52128 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52129 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52130 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52131 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52132 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52133 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52134 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52135 GUIDIST!$GUIDIST$ac_delim
52136 DISTDIR!$DISTDIR$ac_delim
52137 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52138 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52139 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52140 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52141 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52142 RESCOMP!$RESCOMP$ac_delim
52143 RESFLAGS!$RESFLAGS$ac_delim
52144 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52145 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52146 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52147 LIBWXMACRES!$LIBWXMACRES$ac_delim
52148 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52149 MACSETFILE!$MACSETFILE$ac_delim
52151 DLLTOOL!$DLLTOOL$ac_delim
52152 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52153 LIBOBJS!$LIBOBJS$ac_delim
52154 LTLIBOBJS!$LTLIBOBJS$ac_delim
52157 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52159 elif $ac_last_try; then
52160 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52161 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52162 { (exit 1); exit 1; }; }
52164 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52168 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52169 if test -n "$ac_eof"; then
52170 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52171 ac_eof
=`expr $ac_eof + 1`
52174 cat >>$CONFIG_STATUS <<_ACEOF
52175 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52179 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52180 s/^/s,@/; s/!/@,|#_!!_#|/
52183 s/'"$ac_delim"'$/,g/; t
52185 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52186 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52187 rm -f conf$
$subs.
sed
52188 cat >>$CONFIG_STATUS <<_ACEOF
52195 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52196 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52197 # trailing colons and then remove the whole line if VPATH becomes empty
52198 # (actually we leave an empty line to preserve line numbers).
52199 if test "x$srcdir" = x.
; then
52200 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52201 s/:*\$(srcdir):*/:/
52202 s/:*\${srcdir}:*/:/
52204 s/^\([^=]*=[ ]*\):*/\1/
52210 cat >>$CONFIG_STATUS <<\_ACEOF
52211 fi # test -n "$CONFIG_FILES"
52214 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52217 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52219 case $ac_mode$ac_tag in
52221 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52222 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52223 { (exit 1); exit 1; }; };;
52224 :[FH
]-) ac_tag
=-:-;;
52225 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52242 -) ac_f
="$tmp/stdin";;
52243 *) # Look for the file first in the build tree, then in the source tree
52244 # (if the path is not absolute). The absolute path cannot be DOS-style,
52245 # because $ac_f cannot contain `:'.
52249 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52251 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52252 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52253 { (exit 1); exit 1; }; };;
52255 ac_file_inputs
="$ac_file_inputs $ac_f"
52258 # Let's still pretend it is `configure' which instantiates (i.e., don't
52259 # use $as_me), people would be surprised to read:
52260 # /* config.h. Generated by config.status. */
52261 configure_input
="Generated from "`IFS=:
52262 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52263 if test x
"$ac_file" != x
-; then
52264 configure_input
="$ac_file. $configure_input"
52265 { echo "$as_me:$LINENO: creating $ac_file" >&5
52266 echo "$as_me: creating $ac_file" >&6;}
52270 *:-:* | *:-) cat >"$tmp/stdin";;
52275 ac_dir
=`$as_dirname -- "$ac_file" ||
52276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52277 X"$ac_file" : 'X\(//\)[^/]' \| \
52278 X"$ac_file" : 'X\(//\)$' \| \
52279 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52285 /^X\(\/\/\)[^/].*/{
52300 -*) as_dir
=.
/$as_dir;;
52302 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52306 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52307 *) as_qdir
=$as_dir;;
52309 as_dirs
="'$as_qdir' $as_dirs"
52310 as_dir
=`$as_dirname -- "$as_dir" ||
52311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52312 X"$as_dir" : 'X\(//\)[^/]' \| \
52313 X"$as_dir" : 'X\(//\)$' \| \
52314 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52320 /^X\(\/\/\)[^/].*/{
52333 test -d "$as_dir" && break
52335 test -z "$as_dirs" || eval "mkdir $as_dirs"
52336 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52337 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52338 { (exit 1); exit 1; }; }; }
52342 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52344 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52345 # A ".." for each directory in $ac_dir_suffix.
52346 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52347 case $ac_top_builddir_sub in
52348 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52349 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52352 ac_abs_top_builddir
=$ac_pwd
52353 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52354 # for backward compatibility:
52355 ac_top_builddir
=$ac_top_build_prefix
52358 .
) # We are building in place.
52360 ac_top_srcdir
=$ac_top_builddir_sub
52361 ac_abs_top_srcdir
=$ac_pwd ;;
52362 [\\/]* | ?
:[\\/]* ) # Absolute name.
52363 ac_srcdir
=$srcdir$ac_dir_suffix;
52364 ac_top_srcdir
=$srcdir
52365 ac_abs_top_srcdir
=$srcdir ;;
52366 *) # Relative name.
52367 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52368 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52369 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52371 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52381 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52382 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52386 cat >>$CONFIG_STATUS <<\_ACEOF
52387 # If the template does not know about datarootdir, expand it.
52388 # FIXME: This hack should be removed a few years after 2.60.
52389 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52391 case `sed -n '/datarootdir/ {
52400 ' $ac_file_inputs` in
52401 *datarootdir
*) ac_datarootdir_seen
=yes;;
52402 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52403 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52404 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52406 cat >>$CONFIG_STATUS <<_ACEOF
52407 ac_datarootdir_hack='
52408 s&@datadir@&$datadir&g
52409 s&@docdir@&$docdir&g
52410 s&@infodir@&$infodir&g
52411 s&@localedir@&$localedir&g
52412 s&@mandir@&$mandir&g
52413 s&\\\${datarootdir}&$datarootdir&g' ;;
52417 # Neutralize VPATH when `$srcdir' = `.'.
52418 # Shell code in configure.ac might set extrasub.
52419 # FIXME: do we really want to maintain this feature?
52420 cat >>$CONFIG_STATUS <<_ACEOF
52424 cat >>$CONFIG_STATUS <<\_ACEOF
52426 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52427 s
&@configure_input@
&$configure_input&;t t
52428 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52429 s
&@srcdir@
&$ac_srcdir&;t t
52430 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52431 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52432 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52433 s
&@builddir@
&$ac_builddir&;t t
52434 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52435 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52436 s
&@INSTALL@
&$ac_INSTALL&;t t
52437 $ac_datarootdir_hack
52438 " $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
52440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52441 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52443 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52444 which seems to be undefined. Please make sure it is defined." >&5
52445 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52446 which seems to be undefined. Please make sure it is defined." >&2;}
52450 -) cat "$tmp/out"; rm -f "$tmp/out";;
52451 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52460 # Transform confdefs.h into a sed script `conftest.defines', that
52461 # substitutes the proper values into config.h.in to produce config.h.
52462 rm -f conftest.defines conftest.
tail
52463 # First, append a space to every undef/define line, to ease matching.
52464 echo 's/$/ /' >conftest.defines
52465 # Then, protect against being on the right side of a sed subst, or in
52466 # an unquoted here document, in config.status. If some macros were
52467 # called several times there might be several #defines for the same
52468 # symbol, which is useless. But do not sort them, since the last
52469 # AC_DEFINE must be honored.
52470 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52471 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52472 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52473 # PARAMS is the parameter list in the macro definition--in most cases, it's
52474 # just an empty string.
52475 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52476 ac_dB
='\\)[ (].*,\\1define\\2'
52484 s/^[ ]*#[ ]*define[ ][ ]*//
52489 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52490 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52491 ' >>conftest.defines
52493 # Remove the space that was appended to ease matching.
52494 # Then replace #undef with comments. This is necessary, for
52495 # example, in the case of _POSIX_SOURCE, which is predefined and required
52496 # on some systems where configure will not decide to define it.
52497 # (The regexp can be short, since the line contains either #define or #undef.)
52499 s,^[ #]*u.*,/* & */,' >>conftest.defines
52501 # Break up conftest.defines:
52502 ac_max_sed_lines
=50
52504 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52505 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52506 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52508 ac_in
='$ac_file_inputs'
52509 ac_out
='"$tmp/out1"'
52510 ac_nxt
='"$tmp/out2"'
52514 # Write a here document:
52515 cat >>$CONFIG_STATUS <<_ACEOF
52516 # First, check the format of the line:
52517 cat >"\$tmp/defines.sed" <<\\CEOF
52518 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52519 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52523 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52525 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52526 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52527 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52528 grep . conftest.
tail >/dev
/null
|| break
52529 rm -f conftest.defines
52530 mv conftest.
tail conftest.defines
52532 rm -f conftest.defines conftest.
tail
52534 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52535 cat >>$CONFIG_STATUS <<\_ACEOF
52536 if test x
"$ac_file" != x
-; then
52537 echo "/* $configure_input */" >"$tmp/config.h"
52538 cat "$ac_result" >>"$tmp/config.h"
52539 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52540 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52541 echo "$as_me: $ac_file is unchanged" >&6;}
52544 mv "$tmp/config.h" $ac_file
52547 echo "/* $configure_input */"
52553 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52554 echo "$as_me: executing $ac_file commands" >&6;}
52559 case $ac_file$ac_mode in
52561 mkdir -p $outdir &&
52562 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52564 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52565 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52566 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52567 "wx-config":C
) rm -f wx
-config
52568 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52575 { (exit 0); exit 0; }
52577 chmod +x
$CONFIG_STATUS
52578 ac_clean_files
=$ac_clean_files_save
52581 # configure is writing to config.log, and then calls config.status.
52582 # config.status does its own redirection, appending to config.log.
52583 # Unfortunately, on DOS this fails, as config.log is still kept open
52584 # by configure, so config.status won't be able to write to it; its
52585 # output is simply discarded. So we exec the FD to /dev/null,
52586 # effectively closing config.log, so it can be properly (re)opened and
52587 # appended to by config.status. When coming back to configure, we
52588 # need to make the FD available again.
52589 if test "$no_create" != yes; then
52591 ac_config_status_args
=
52592 test "$silent" = yes &&
52593 ac_config_status_args
="$ac_config_status_args --quiet"
52595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52598 # would make configure fail if this is the last instruction.
52599 $ac_cs_success || { (exit 1); exit 1; }
52603 # CONFIG_SUBDIRS section.
52605 if test "$no_recursion" != yes; then
52607 # Remove --cache-file and --srcdir arguments so they do not pile up.
52608 ac_sub_configure_args
=
52610 eval "set x $ac_configure_args"
52614 if test -n "$ac_prev"; then
52619 -cache-file | --cache-file | --cache-fil | --cache-fi \
52620 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52621 ac_prev
=cache_file
;;
52622 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52623 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52626 --config-cache | -C)
52628 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52630 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52632 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52634 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52638 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52640 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52644 # Always prepend --prefix to ensure using the same prefix
52645 # in subdir configurations.
52646 ac_arg
="--prefix=$prefix"
52648 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52650 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52653 if test "$silent" = yes; then
52654 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52658 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52660 # Do not complain, so a configure script can configure whichever
52661 # parts of a large source tree are present.
52662 test -d "$srcdir/$ac_dir" || continue
52664 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52665 echo "$as_me:$LINENO: $ac_msg" >&5
52669 -*) as_dir
=.
/$as_dir;;
52671 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52675 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52676 *) as_qdir
=$as_dir;;
52678 as_dirs
="'$as_qdir' $as_dirs"
52679 as_dir
=`$as_dirname -- "$as_dir" ||
52680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52681 X"$as_dir" : 'X\(//\)[^/]' \| \
52682 X"$as_dir" : 'X\(//\)$' \| \
52683 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52689 /^X\(\/\/\)[^/].*/{
52702 test -d "$as_dir" && break
52704 test -z "$as_dirs" || eval "mkdir $as_dirs"
52705 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52706 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52707 { (exit 1); exit 1; }; }; }
52711 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52713 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52714 # A ".." for each directory in $ac_dir_suffix.
52715 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52716 case $ac_top_builddir_sub in
52717 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52718 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52721 ac_abs_top_builddir
=$ac_pwd
52722 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52723 # for backward compatibility:
52724 ac_top_builddir
=$ac_top_build_prefix
52727 .
) # We are building in place.
52729 ac_top_srcdir
=$ac_top_builddir_sub
52730 ac_abs_top_srcdir
=$ac_pwd ;;
52731 [\\/]* | ?
:[\\/]* ) # Absolute name.
52732 ac_srcdir
=$srcdir$ac_dir_suffix;
52733 ac_top_srcdir
=$srcdir
52734 ac_abs_top_srcdir
=$srcdir ;;
52735 *) # Relative name.
52736 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52737 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52738 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52740 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52745 # Check for guested configure; otherwise get Cygnus style configure.
52746 if test -f "$ac_srcdir/configure.gnu"; then
52747 ac_sub_configure
=$ac_srcdir/configure.gnu
52748 elif test -f "$ac_srcdir/configure"; then
52749 ac_sub_configure
=$ac_srcdir/configure
52750 elif test -f "$ac_srcdir/configure.in"; then
52751 # This should be Cygnus configure.
52752 ac_sub_configure
=$ac_aux_dir/configure
52754 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52755 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52759 # The recursion is here.
52760 if test -n "$ac_sub_configure"; then
52761 # Make the cache file name correct relative to the subdirectory.
52762 case $cache_file in
52763 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52764 *) # Relative name.
52765 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52768 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52769 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52770 # The eval makes quoting arguments work.
52771 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52772 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52773 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52774 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52775 { (exit 1); exit 1; }; }
52784 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52786 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52787 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52789 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52790 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52791 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52792 if test "$wxUSE_UNICODE" = "yes"; then
52793 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52794 echo " (using UTF-8)"
52796 echo " (using wchar_t)"
52802 echo " What level of wxWidgets compatibility should be enabled?"
52803 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52804 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52806 echo " Which libraries should wxWidgets use?"
52807 echo " STL ${wxUSE_STL}"
52808 echo " jpeg ${wxUSE_LIBJPEG-none}"
52809 echo " png ${wxUSE_LIBPNG-none}"
52810 echo " regex ${wxUSE_REGEX}"
52811 echo " tiff ${wxUSE_LIBTIFF-none}"
52812 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52813 echo " xpm ${wxUSE_LIBXPM-none}"
52815 echo " zlib ${wxUSE_ZLIB}"
52816 echo " expat ${wxUSE_EXPAT}"
52817 echo " libmspack ${wxUSE_LIBMSPACK}"
52818 echo " sdl ${wxUSE_LIBSDL}"