2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
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
707 LIBGNOMEPRINTUI_CFLAGS
815 ICC_PCH_CREATE_SWITCH
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_DFB_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
940 COND_TOOLKIT_MGL_USE_GUI_1
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
961 COND_TOOLKIT_X11_USE_GUI_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1031 WXCONFIG_LDFLAGS_GUI
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1054 ac_precious_vars
='build_alias
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1090 ac_subdirs_all
='src/tiff
1093 # Initialize some variables set by options.
1095 ac_init_version
=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file
=/dev
/null
1105 program_transform_name
=s
,x
,x
,
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir
='${exec_prefix}/bin'
1120 sbindir
='${exec_prefix}/sbin'
1121 libexecdir
='${exec_prefix}/libexec'
1122 datarootdir
='${prefix}/share'
1123 datadir
='${datarootdir}'
1124 sysconfdir
='${prefix}/etc'
1125 sharedstatedir
='${prefix}/com'
1126 localstatedir
='${prefix}/var'
1127 includedir
='${prefix}/include'
1128 oldincludedir
='/usr/include'
1129 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir
='${datarootdir}/info'
1135 libdir
='${exec_prefix}/lib'
1136 localedir
='${datarootdir}/locale'
1137 mandir
='${datarootdir}/man'
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\
$ac_option
1151 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1157 case $ac_dashdash$ac_option in
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir
=$ac_optarg ;;
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev
=build_alias
;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias
=$ac_optarg ;;
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev
=cache_file
;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file
=$ac_optarg ;;
1178 --config-cache | -C)
1179 cache_file
=config.cache
;;
1181 -datadir | --datadir | --datadi | --datad)
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir
=$ac_optarg ;;
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev
=datarootdir
;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir
=$ac_optarg ;;
1193 -disable-* | --disable-*)
1194 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_
$ac_feature=no
;;
1202 -docdir | --docdir | --docdi | --doc | --do)
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir
=$ac_optarg ;;
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir
=$ac_optarg ;;
1212 -enable-* | --enable-*)
1213 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_
$ac_feature=\
$ac_optarg ;;
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev
=exec_prefix
;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix
=$ac_optarg ;;
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help
=long
;;
1236 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1237 ac_init_help
=recursive
;;
1238 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1239 ac_init_help
=short
;;
1241 -host | --host | --hos | --ho)
1242 ac_prev
=host_alias
;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias
=$ac_optarg ;;
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1250 htmldir
=$ac_optarg ;;
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev
=includedir
;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir
=$ac_optarg ;;
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir
=$ac_optarg ;;
1264 -libdir | --libdir | --libdi | --libd)
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir
=$ac_optarg ;;
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev
=libexecdir
;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir
=$ac_optarg ;;
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev
=localedir
;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir
=$ac_optarg ;;
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev
=localstatedir
;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir
=$ac_optarg ;;
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir
=$ac_optarg ;;
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev
=oldincludedir
;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir
=$ac_optarg ;;
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix
=$ac_optarg ;;
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev
=program_prefix
;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix
=$ac_optarg ;;
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev
=program_suffix
;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix
=$ac_optarg ;;
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev
=program_transform_name
;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name
=$ac_optarg ;;
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir
=$ac_optarg ;;
1355 -psdir | --psdir | --psdi | --psd | --ps)
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1368 sbindir
=$ac_optarg ;;
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1374 ac_prev
=sharedstatedir
;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1379 sharedstatedir
=$ac_optarg ;;
1381 -site | --site | --sit)
1383 -site=* | --site=* | --sit=*)
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir
=$ac_optarg ;;
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev
=sysconfdir
;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir
=$ac_optarg ;;
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev
=target_alias
;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias
=$ac_optarg ;;
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version
=: ;;
1410 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_
$ac_package=\
$ac_optarg ;;
1418 -without-* | --without-*)
1419 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_
$ac_package=no
;;
1428 # Obsolete; use --with-x.
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev
=x_includes
;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes
=$ac_optarg ;;
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev
=x_libraries
;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries
=$ac_optarg ;;
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1451 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\
$ac_optarg
1457 export $ac_envvar ;;
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1470 if test -n "$ac_prev"; then
1471 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1476 # Be sure to have absolute directory names.
1477 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1482 eval ac_val
=\$
$ac_var
1484 [\\/$
]* | ?
:[\\/]* ) continue;;
1485 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1496 target
=$target_alias
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x
; then
1500 if test "x$build_alias" = x
; then
1501 cross_compiling
=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1510 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1512 test "$silent" = yes && exec 6>/dev
/null
1515 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di
=`ls -di .` &&
1517 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted
=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir
=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1557 ac_srcdir_defaulted
=no
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1564 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1577 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1579 for ac_var
in $ac_precious_vars; do
1580 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1581 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1582 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1583 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1587 # Report the --help message.
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1600 Defaults for the options are specified in brackets.
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1624 For better control, use the options below.
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1651 --x-includes=DIR X include files are
in DIR
1652 --x-libraries=DIR X library files are
in DIR
1655 --build=BUILD configure
for building on BUILD
[guessed
]
1656 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1667 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1668 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1669 --disable-gui don
't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1684 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets
2.6 compatibility
1704 --disable-compat28 disable wxWidgets
2.8 compatibility
1705 --disable-rpath disable use of rpath
for uninstalled builds
1706 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even
if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x
-locale support
(requires wxLocale
)
1711 --enable-config use wxConfig
(and derived
) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP
(requires wxProtocol
1714 --enable-http use wxHTTP
(requires wxProtocol
1715 --enable-fileproto use wxFileProto class
(requires wxProtocol
1716 --enable-sockets use socket
/network classes
1717 --enable-ipv6 enable IPv6 support
in wxSocket
1718 --enable-ole use OLE classes
(Win32 only
)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication
(wxSocket etc.
)
1721 --enable-baseevtloop use event loop
in console programs too
1722 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding
/decoding functions
1728 --enable-backtrace use wxStackWalker class
for getting backtraces
1729 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class
for DLL loading
1735 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1736 --enable-exceptions build exception
-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filesystem use virtual
file systems classes
1740 --enable-fontenum use wxFontEnumerator class
1741 --enable-fontmap use font encodings conversion classes
1742 --enable-fs_archive use virtual archive filesystems
1743 --enable-fs_inet use virtual HTTP
/FTP filesystems
1744 --enable-fs_zip now replaced by fs_archive
1745 --enable-fswatcher use wxFileSystemWatcher class
1746 --enable-geometry use geometry class
1747 --enable-log use logging system
1748 --enable-longlong use wxLongLong class
1749 --enable-mimetype use wxMimeTypesManager
1750 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1751 --enable-snglinst use wxSingleInstanceChecker class
1752 --enable-sound use wxSound class
1753 --enable-stdpaths use wxStandardPaths class
1754 --enable-stopwatch use wxStopWatch class
1755 --enable-streams use wxStream etc classes
1756 --enable-sysoptions use wxSystemOptions
1757 --enable-tarstream use wxTar streams
1758 --enable-textbuf use wxTextBuffer class
1759 --enable-textfile use wxTextFile class
1760 --enable-timer use wxTimer class
1761 --enable-variant use wxVariant class
1762 --enable-zipstream use wxZip streams
1763 --enable-url use wxURL class
1764 --enable-protocol use wxProtocol class
1765 --enable-protocol-http HTTP support
in wxProtocol
1766 --enable-protocol-ftp FTP support
in wxProtocol
1767 --enable-protocol-file FILE support
in wxProtocol
1768 --enable-threads use threads
1769 --enable-iniconf use wxIniConfig
(Win32 only
)
1770 --enable-regkey use wxRegKey class
(Win32 only
)
1771 --enable-docview use document view architecture
1772 --enable-help use
help subsystem
1773 --enable-mshtmlhelp use MS HTML Help
(win32
)
1774 --enable-html use wxHTML sub
-library
1775 --enable-htmlhelp use wxHTML
-based help
1776 --enable-xrc use XRC resources sub
-library
1777 --enable-aui use AUI docking library
1778 --enable-propgrid use wxPropertyGrid library
1779 --enable-ribbon use wxRibbon library
1780 --enable-stc use wxStyledTextCtrl library
1781 --enable-constraints use layout
-constraints system
1782 --enable-loggui use standard GUI logger
1783 --enable-logwin use wxLogWindow
1784 --enable-logdialog use wxLogDialog
1785 --enable-mdi use multiple document interface architecture
1786 --enable-mdidoc use docview architecture with MDI
1787 --enable-mediactrl use wxMediaCtrl class
1788 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1789 --enable-webkit use wxWebKitCtrl
(Mac
)
1790 --enable-richtext use wxRichTextCtrl
1791 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1792 --enable-printarch use printing architecture
1793 --enable-svg use wxSVGFileDC device context
1794 --enable-graphics_ctx use graphics context
2D drawing API
1795 --enable-clipboard use wxClipboard class
1796 --enable-dnd use Drag
'n'Drop classes
1797 --enable-metafile use win32 metafiles
1798 --disable-controls disable compilation of all standard controls
1799 --enable-accel use accelerators
1800 --enable-animatectrl use wxAnimationCtrl class
1801 --enable-bmpbutton use wxBitmapButton class
1802 --enable-bmpcombobox use wxBitmapComboBox class
1803 --enable-button use wxButton class
1804 --enable-calendar use wxCalendarCtrl class
1805 --enable-caret use wxCaret class
1806 --enable-checkbox use wxCheckBox class
1807 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1808 --enable-choice use wxChoice class
1809 --enable-choicebook use wxChoicebook class
1810 --enable-collpane use wxCollapsiblePane class
1811 --enable-colourpicker use wxColourPickerCtrl class
1812 --enable-combobox use wxComboBox class
1813 --enable-comboctrl use wxComboCtrl class
1814 --enable-dataviewctrl use wxDataViewCtrl class
1815 --enable-datepick use wxDatePickerCtrl class
1816 --enable-detect_sm use code to detect X11 session manager
1817 --enable-dirpicker use wxDirPickerCtrl class
1818 --enable-display use wxDisplay class
1819 --enable-editablebox use wxEditableListBox class
1820 --enable-filectrl use wxFileCtrl class
1821 --enable-filepicker use wxFilePickerCtrl class
1822 --enable-fontpicker use wxFontPickerCtrl class
1823 --enable-gauge use wxGauge class
1824 --enable-grid use wxGrid class
1825 --enable-headerctrl use wxHeaderCtrl class
1826 --enable-hyperlink use wxHyperlinkCtrl class
1827 --enable-imaglist use wxImageList class
1828 --enable-infobar use wxInfoBar class
1829 --enable-listbook use wxListbook class
1830 --enable-listbox use wxListBox class
1831 --enable-listctrl use wxListCtrl class
1832 --enable-notebook use wxNotebook class
1833 --enable-notifmsg use wxNotificationMessage class
1834 --enable-odcombobox use wxOwnerDrawnComboBox class
1835 --enable-popupwin use wxPopUpWindow class
1836 --enable-radiobox use wxRadioBox class
1837 --enable-radiobtn use wxRadioButton class
1838 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1839 --enable-sash use wxSashWindow class
1840 --enable-scrollbar use wxScrollBar class and scrollable windows
1841 --enable-searchctrl use wxSearchCtrl class
1842 --enable-slider use wxSlider class
1843 --enable-spinbtn use wxSpinButton class
1844 --enable-spinctrl use wxSpinCtrl class
1845 --enable-splitter use wxSplitterWindow class
1846 --enable-statbmp use wxStaticBitmap class
1847 --enable-statbox use wxStaticBox class
1848 --enable-statline use wxStaticLine class
1849 --enable-stattext use wxStaticText class
1850 --enable-statusbar use wxStatusBar class
1851 --enable-taskbaricon use wxTaskBarIcon class
1852 --enable-tbarnative use native wxToolBar class
1853 --enable-textctrl use wxTextCtrl class
1854 --enable-tipwindow use wxTipWindow class
1855 --enable-togglebtn use wxToggleButton class
1856 --enable-toolbar use wxToolBar class
1857 --enable-toolbook use wxToolbook class
1858 --enable-treebook use wxTreebook class
1859 --enable-treectrl use wxTreeCtrl class
1860 --enable-commondlg use all common dialogs
1861 --enable-aboutdlg use wxAboutBox
1862 --enable-choicedlg use wxChoiceDialog
1863 --enable-coldlg use wxColourDialog
1864 --enable-filedlg use wxFileDialog
1865 --enable-finddlg use wxFindReplaceDialog
1866 --enable-fontdlg use wxFontDialog
1867 --enable-dirdlg use wxDirDialog
1868 --enable-msgdlg use wxMessageDialog
1869 --enable-numberdlg use wxNumberEntryDialog
1870 --enable-splash use wxSplashScreen
1871 --enable-textdlg use wxTextDialog
1872 --enable-tipdlg use startup tips
1873 --enable-progressdlg use wxProgressDialog
1874 --enable-wizarddlg use wxWizard
1875 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1876 --enable-miniframe use wxMiniFrame class
1877 --enable-tooltips use wxToolTip class
1878 --enable-splines use spline drawing code
1879 --enable-mousewheel use mousewheel
1880 --enable-validators use wxValidator and derived classes
1881 --enable-busyinfo use wxBusyInfo
1882 --enable-joystick use wxJoystick
1883 --enable-metafiles use wxMetaFile
(Win32 only
)
1884 --enable-dragimage use wxDragImage
1885 --enable-accessibility enable accessibility support
1886 --enable-palette use wxPalette class
1887 --enable-image use wxImage class
1888 --enable-gif use gif images
(GIF
file format
)
1889 --enable-pcx use pcx images
(PCX
file format
)
1890 --enable-tga use tga images
(TGA
file format
)
1891 --enable-iff use iff images
(IFF
file format
)
1892 --enable-pnm use pnm images
(PNM
file format
)
1893 --enable-xpm use xpm images
(XPM
file format
)
1894 --enable-ico_cur use Windows ICO and CUR formats
1895 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1896 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1897 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1898 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1899 --enable-wxdib use wxDIB class
(Win32 only
)
1900 --enable-autoidman use automatic ids management
1901 --disable-largefile omit support
for large files
1902 --disable-gtktest do not try to compile and run a
test GTK
+ program
1903 --disable-gtktest Do not try to compile and run a
test GTK program
1904 --disable-sdltest Do not try to compile and run a
test SDL program
1905 --enable-omf use OMF object format
(OS
/2)
1906 --disable-dependency-tracking
1907 don
't use dependency tracking even if the compiler
1909 --disable-precomp-headers
1910 don't use precompiled headers even
if compiler can
1913 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1914 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1915 --without-subdirs don
't generate makefiles for samples/demos/...
1916 --with-flavour=NAME specify a name to identify this build
1917 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1918 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1919 --with-motif use Motif/Lesstif
1920 --with-osx_carbon use Mac OS X (Carbon)
1921 --with-osx_cocoa use Mac OS X (Cocoa)
1922 --with-osx_iphone use iPhone OS X port
1923 --with-osx use Mac OS X (default port, currently Carbon)
1924 --with-carbon same as --with-osx_carbon
1925 --with-cocoa same as --with-osx_cocoa
1926 --with-iphone same as --with-osx_iphone
1927 --with-mac same as --with-osx
1928 --with-old_cocoa use old, deprecated, Cocoa port
1929 --with-wine use Wine
1930 --with-msw use MS-Windows
1931 --with-pm use OS/2 Presentation Manager
1932 --with-mgl use SciTech MGL
1933 --with-directfb use DirectFB
1934 --with-microwin use MicroWindows
1936 --with-libpng use libpng (PNG image format)
1937 --with-libjpeg use libjpeg (JPEG file format)
1938 --with-libtiff use libtiff (TIFF file format)
1939 --with-libxpm use libxpm (XPM file format)
1940 --with-libiconv use libiconv (character conversion)
1941 --with-libmspack use libmspack (CHM help files loading)
1942 --without-gtkprint don't use GTK printing support
1943 --without-gnomeprint don
't use GNOME printing libraries
1944 --with-gnomevfs use GNOME VFS for associating MIME types
1945 --with-hildon use Hildon framework for Nokia 770/800/810
1946 --with-opengl use OpenGL (or Mesa)
1947 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1948 --with-sdl use SDL for audio on Unix
1949 --with-regex enable support for wxRegEx class
1950 --with-zlib use zlib for LZW compression
1951 --with-expat enable XML support using expat parser
1952 --with-macosx-sdk=PATH use an OS X SDK at PATH
1953 --with-macosx-version-min=VER build binaries which require at least this OS X version
1954 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1955 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1956 --with-x use the X Window System
1957 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1958 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1959 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1960 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1961 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1963 Some influential environment variables:
1964 CC C compiler command
1965 CFLAGS C compiler flags
1966 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1967 nonstandard directory <lib dir>
1968 LIBS libraries to pass to the linker, e.g. -l<library>
1969 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1970 you have headers in a nonstandard directory <include dir>
1972 CXX C++ compiler command
1973 CXXFLAGS C++ compiler flags
1974 PKG_CONFIG path to pkg-config utility
1976 C compiler flags for DIRECTFB, overriding pkg-config
1978 linker flags for DIRECTFB, overriding pkg-config
1979 XMKMF Path to xmkmf, Makefile generator for X Window System
1981 C compiler flags for PANGOX, overriding pkg-config
1982 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1984 C compiler flags for PANGOFT2, overriding pkg-config
1986 linker flags for PANGOFT2, overriding pkg-config
1988 C compiler flags for PANGOXFT, overriding pkg-config
1990 linker flags for PANGOXFT, overriding pkg-config
1992 C compiler flags for GTKPRINT, overriding pkg-config
1994 linker flags for GTKPRINT, overriding pkg-config
1995 LIBGNOMEPRINTUI_CFLAGS
1996 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1997 LIBGNOMEPRINTUI_LIBS
1998 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2000 C compiler flags for GNOMEVFS, overriding pkg-config
2002 linker flags for GNOMEVFS, overriding pkg-config
2004 C compiler flags for HILDON, overriding pkg-config
2005 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2007 C compiler flags for HILDON2, overriding pkg-config
2009 linker flags for HILDON2, overriding pkg-config
2011 C compiler flags for CAIRO, overriding pkg-config
2012 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2013 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2014 GST_LIBS linker flags for GST, overriding pkg-config
2016 Use these variables to override the choices made by `configure' or to
help
2017 it to
find libraries and programs with nonstandard names
/locations.
2019 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2024 if test "$ac_init_help" = "recursive"; then
2025 # If there are subdirs, report their specific --help.
2026 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2027 test -d "$ac_dir" || continue
2031 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2033 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2038 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2041 ac_abs_top_builddir
=$ac_pwd
2042 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir
=$ac_top_build_prefix
2047 .
) # We are building in place.
2049 ac_top_srcdir
=$ac_top_builddir_sub
2050 ac_abs_top_srcdir
=$ac_pwd ;;
2051 [\\/]* | ?
:[\\/]* ) # Absolute name.
2052 ac_srcdir
=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir
=$srcdir
2054 ac_abs_top_srcdir
=$srcdir ;;
2056 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2060 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2062 cd "$ac_dir" || { ac_status
=$?
; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2073 cd "$ac_pwd" || { ac_status
=$?
; break; }
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2080 wxWidgets configure
2.9.1
2081 generated by GNU Autoconf
2.61
2083 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2085 This configure
script is free software
; the Free Software Foundation
2086 gives unlimited permission to copy
, distribute and modify it.
2090 cat >config.log
<<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2094 It was created by wxWidgets $as_me 2.9.1, which was
2095 generated by GNU Autoconf 2.61. Invocation command line was
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 echo "PATH: $as_dir"
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2155 ac_must_keep_next
=false
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2166 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2171 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2172 if test $ac_must_keep_next = true
; then
2173 ac_must_keep_next
=false
# Got value, back to normal.
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 -* ) ac_must_keep_next
=true
;;
2187 ac_configure_args
="$ac_configure_args '$ac_arg'"
2192 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2193 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2206 ## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##
2211 # The following way of writing the cache mishandles newlines in values,
2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2214 eval ac_val=\$$ac_var
2218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2222 _ | IFS | as_nl) ;; #(
2223 *) $as_unset $ac_var ;;
2228 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2243 ## ----------------- ##
2244 ## Output variables. ##
2245 ## ----------------- ##
2248 for ac_var in $ac_subst_vars
2250 eval ac_val=\$$ac_var
2252 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2254 echo "$ac_var='\''$ac_val'\''"
2258 if test -n "$ac_subst_files"; then
2260 ## ------------------- ##
2261 ## File substitutions. ##
2262 ## ------------------- ##
2265 for ac_var
in $ac_subst_files
2267 eval ac_val
=\$
$ac_var
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 echo "$ac_var='\''$ac_val'\''"
2276 if test -s confdefs.h; then
2286 test "$ac_signal" != 0 &&
2287 echo "$as_me: caught signal $ac_signal"
2288 echo "$as_me: exit $exit_status"
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 for ac_signal
in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest
* confdefs.h
2302 # Predefined preprocessor variables.
2304 cat >>confdefs.h
<<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2309 cat >>confdefs.h
<<_ACEOF
2310 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 set x
"$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE
; then
2334 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2336 set x
"$ac_default_prefix/share/config.site" \
2337 "$ac_default_prefix/etc/config.site"
2342 if test -r "$ac_site_file"; then
2343 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2344 echo "$as_me: loading site script $ac_site_file" >&6;}
2345 sed 's/^/| /' "$ac_site_file" >&5
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special
2352 # files actually), so we avoid doing that.
2353 if test -f "$cache_file"; then
2354 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2355 echo "$as_me: loading cache $cache_file" >&6;}
2357 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2358 *) .
"./$cache_file";;
2362 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2363 echo "$as_me: creating cache $cache_file" >&6;}
2367 # Check that the precious variables saved in the cache have kept the same
2369 ac_cache_corrupted
=false
2370 for ac_var
in $ac_precious_vars; do
2371 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2372 eval ac_new_set
=\
$ac_env_${ac_var}_set
2373 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2374 eval ac_new_val
=\
$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2377 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted
=: ;;
2381 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2382 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted
=: ;;
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2388 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2390 echo "$as_me: former value: $ac_old_val" >&2;}
2391 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2392 echo "$as_me: current value: $ac_new_val" >&2;}
2393 ac_cache_corrupted
=:
2396 # Pass precious variables to config.status.
2397 if test "$ac_new_set" = set; then
2399 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg
=$ac_var=$ac_new_val ;;
2402 case " $ac_configure_args " in
2403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2404 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2408 if $ac_cache_corrupted; then
2409 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2412 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2413 { (exit 1); exit 1; }; }
2441 ac_cpp
='$CPP $CPPFLAGS'
2442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2451 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2452 if test -f "$ac_dir/install-sh"; then
2454 ac_install_sh
="$ac_aux_dir/install-sh -c"
2456 elif test -f "$ac_dir/install.sh"; then
2458 ac_install_sh
="$ac_aux_dir/install.sh -c"
2460 elif test -f "$ac_dir/shtool"; then
2462 ac_install_sh
="$ac_aux_dir/shtool install -c"
2466 if test -z "$ac_aux_dir"; then
2467 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2468 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2469 { (exit 1); exit 1; }; }
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2481 # Make sure we can run config.sub.
2482 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2485 { (exit 1); exit 1; }; }
2487 { echo "$as_me:$LINENO: checking build system type" >&5
2488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2489 if test "${ac_cv_build+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 ac_build_alias
=$build_alias
2493 test "x$ac_build_alias" = x
&&
2494 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2495 test "x$ac_build_alias" = x
&&
2496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2498 { (exit 1); exit 1; }; }
2499 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2502 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2506 echo "${ECHO_T}$ac_cv_build" >&6; }
2507 case $ac_cv_build in
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2510 echo "$as_me: error: invalid value of canonical build" >&2;}
2511 { (exit 1); exit 1; }; };;
2514 ac_save_IFS
=$IFS; IFS
='-'
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2524 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2527 { echo "$as_me:$LINENO: checking host system type" >&5
2528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2529 if test "${ac_cv_host+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test "x$host_alias" = x
; then
2533 ac_cv_host
=$ac_cv_build
2535 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2543 echo "${ECHO_T}$ac_cv_host" >&6; }
2546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2547 echo "$as_me: error: invalid value of canonical host" >&2;}
2548 { (exit 1); exit 1; }; };;
2551 ac_save_IFS
=$IFS; IFS
='-'
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2561 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2565 if test "$cross_compiling" != "no"; then
2566 HOST_PREFIX
="${host_alias}-"
2567 HOST_SUFFIX
="-$host_alias"
2574 wx_major_version_number
=2
2575 wx_minor_version_number
=9
2577 wx_subrelease_number
=0
2579 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2580 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2581 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2583 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2586 wx_top_builddir
="`pwd`"
2599 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2605 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2611 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2613 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2615 DEFAULT_wxUSE_OLD_COCOA
=0
2617 DEFAULT_wxUSE_OSX_CARBON
=0
2618 DEFAULT_wxUSE_OSX_COCOA
=0
2619 DEFAULT_wxUSE_OSX_IPHONE
=0
2621 DEFAULT_wxUSE_MICROWIN
=0
2622 DEFAULT_wxUSE_MOTIF
=0
2628 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2629 DEFAULT_DEFAULT_wxUSE_GTK
=0
2630 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2633 DEFAULT_DEFAULT_wxUSE_MGL
=0
2634 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2635 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2636 DEFAULT_DEFAULT_wxUSE_MSW
=0
2637 DEFAULT_DEFAULT_wxUSE_PM
=0
2638 DEFAULT_DEFAULT_wxUSE_X11
=0
2639 DEFAULT_DEFAULT_wxUSE_DFB
=0
2643 DYLIB_RPATH_INSTALL
=
2644 DYLIB_RPATH_POSTLINK
=
2646 DEFAULT_STD_FLAG
=yes
2651 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2652 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2653 cat >>confdefs.h
<<\_ACEOF
2658 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2662 cat >>confdefs.h
<<\_ACEOF
2667 if test "x$TMP" = "xalpha"; then
2669 cat >>confdefs.h
<<\_ACEOF
2674 DEFAULT_DEFAULT_wxUSE_GTK
=1
2676 *-*-gnu* | *-*-k*bsd
*-gnu )
2679 if test "x$TMP" = "xalpha"; then
2681 cat >>confdefs.h
<<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_GTK
=1
2688 *-*-irix5* | *-*-irix6* )
2691 cat >>confdefs.h
<<\_ACEOF
2695 cat >>confdefs.h
<<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_X11
=1
2713 cat >>confdefs.h
<<\_ACEOF
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __SOLARIS__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2732 cat >>confdefs.h
<<\_ACEOF
2736 cat >>confdefs.h
<<\_ACEOF
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2749 cat >>confdefs.h
<<\_ACEOF
2750 #define __FREEBSD__ 1
2753 cat >>confdefs.h
<<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 *-*-openbsd*|*-*-mirbsd*)
2762 cat >>confdefs.h
<<\_ACEOF
2763 #define __OPENBSD__ 1
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_GTK
=1
2775 cat >>confdefs.h
<<\_ACEOF
2776 #define __NETBSD__ 1
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_GTK
=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2786 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2832 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2840 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2851 cat >>confdefs.h
<<\_ACEOF
2852 #define __UNIXWARE__ 1
2857 *-*-cygwin* | *-*-mingw32* )
2859 DEFAULT_DEFAULT_wxUSE_MSW
=1
2865 cat >>confdefs.h
<<\_ACEOF
2870 DEFAULT_DEFAULT_wxUSE_MGL
=1
2873 *-pc-os2_emx | *-pc-os2-emx )
2874 cat >>confdefs.h
<<\_ACEOF
2879 cat >>confdefs.h
<<\_ACEOF
2884 DEFAULT_DEFAULT_wxUSE_PM
=1
2886 LDFLAGS
="$LDFLAGS -Zcrtdll"
2887 ac_executable_extensions
=".exe"
2888 export ac_executable_extensions
2892 for ac_dir
in $PATH; do
2894 if test -z "$ac_TEMP_PATH"; then
2895 ac_TEMP_PATH
="$ac_dir"
2897 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2900 export PATH
="$ac_TEMP_PATH"
2908 cat >>confdefs.h
<<\_ACEOF
2912 cat >>confdefs.h
<<\_ACEOF
2913 #define __DARWIN__ 1
2916 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2922 cat >>confdefs.h
<<\_ACEOF
2926 cat >>confdefs.h
<<\_ACEOF
2927 #define __DARWIN__ 1
2930 cat >>confdefs.h
<<\_ACEOF
2931 #define TARGET_CARBON 1
2934 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2939 cat >>confdefs.h
<<\_ACEOF
2946 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2947 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2948 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2949 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2951 DEFAULT_DEFAULT_wxUSE_X11
=1
2952 DEFAULT_wxUSE_SHARED
=no
2957 DEFAULT_wxUSE_ALL_FEATURES
=yes
2959 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2960 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2962 DEFAULT_wxUSE_DMALLOC
=no
2963 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2964 DEFAULT_wxUSE_LIBHILDON
=no
2965 DEFAULT_wxUSE_LIBHILDON2
=no
2966 DEFAULT_wxUSE_LIBMSPACK
=no
2967 DEFAULT_wxUSE_LIBSDL
=no
2969 DEFAULT_wxUSE_ACCESSIBILITY
=no
2970 DEFAULT_wxUSE_IPV6
=no
2971 DEFAULT_wxUSE_GSTREAMER8
=no
2973 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2974 DEFAULT_wxUSE_OPENGL
=auto
2975 DEFAULT_wxUSE_MEDIACTRL
=auto
2976 DEFAULT_wxUSE_COMPILER_TLS
=auto
2978 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2980 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2982 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2984 DEFAULT_wxUSE_GTK2
=yes
2986 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2992 enablestring
=disable
2994 if test -z "$defaultval"; then
2995 if test x
"$enablestring" = xdisable
; then
3002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3003 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3004 # Check whether --enable-gui was given.
3005 if test "${enable_gui+set}" = set; then
3006 enableval
=$enable_gui;
3007 if test "$enableval" = yes; then
3008 wx_cv_use_gui
='wxUSE_GUI=yes'
3010 wx_cv_use_gui
='wxUSE_GUI=no'
3015 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3020 eval "$wx_cv_use_gui"
3022 if test x"$enablestring" = xdisable; then
3023 if test $wxUSE_GUI = no; then
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}-monolithic" >&5
3047 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3048 # Check whether --enable-monolithic was given.
3049 if test "${enable_monolithic+set}" = set; then
3050 enableval=$enable_monolithic;
3051 if test "$enableval" = yes; then
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064 eval "$wx_cv_use_monolithic"
3066 if test x"$enablestring" = xdisable; then
3067 if test $wxUSE_MONOLITHIC = no; then
3073 result=$wxUSE_MONOLITHIC
3076 { echo "$as_me:$LINENO: result
: $result" >&5
3077 echo "${ECHO_T}$result" >&6; }
3082 if test -z "$defaultval"; then
3083 if test x"$enablestring" = xdisable; then
3090 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3091 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3092 # Check whether --enable-plugins was given.
3093 if test "${enable_plugins+set}" = set; then
3094 enableval=$enable_plugins;
3095 if test "$enableval" = yes; then
3096 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3098 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3103 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3108 eval "$wx_cv_use_plugins"
3110 if test x
"$enablestring" = xdisable
; then
3111 if test $wxUSE_PLUGINS = no
; then
3117 result
=$wxUSE_PLUGINS
3120 { echo "$as_me:$LINENO: result: $result" >&5
3121 echo "${ECHO_T}$result" >&6; }
3125 defaultval
=$wxUSE_ALL_FEATURES
3126 if test -z "$defaultval"; then
3127 if test x
"$withstring" = xwithout
; then
3133 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3134 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3136 # Check whether --with-subdirs was given.
3137 if test "${with_subdirs+set}" = set; then
3138 withval
=$with_subdirs;
3139 if test "$withval" = yes; then
3140 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3142 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3147 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3152 eval "$wx_cv_use_subdirs"
3154 if test x"$withstring" = xwithout; then
3155 if test $wxWITH_SUBDIRS = yes; then
3161 result=$wxWITH_SUBDIRS
3164 { echo "$as_me:$LINENO: result: $result" >&5
3165 echo "${ECHO_T}$result" >&6; }
3168 # Check whether --with-flavour was given.
3169 if test "${with_flavour+set}" = set; then
3170 withval=$with_flavour; WX_FLAVOUR="$withval"
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3186 # Check whether --enable-official_build was given.
3187 if test "${enable_official_build+set}" = set; then
3188 enableval=$enable_official_build;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3192 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3202 eval "$wx_cv_use_official_build"
3204 if test x"$enablestring" = xdisable; then
3205 if test $wxUSE_OFFICIAL_BUILD = no; then
3211 result=$wxUSE_OFFICIAL_BUILD
3214 { echo "$as_me:$LINENO: result
: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3217 # Check whether --enable-vendor was given.
3218 if test "${enable_vendor+set}" = set; then
3219 enableval=$enable_vendor; VENDOR="$enableval"
3222 if test "x
$VENDOR" = "x
"; then
3227 enablestring=disable
3229 if test -z "$defaultval"; then
3230 if test x"$enablestring" = xdisable; then
3237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3238 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3239 # Check whether --enable-all-features was given.
3240 if test "${enable_all_features+set}" = set; then
3241 enableval=$enable_all_features;
3242 if test "$enableval" = yes; then
3243 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3245 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3250 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3255 eval "$wx_cv_use_all_features"
3257 if test x
"$enablestring" = xdisable
; then
3258 if test $wxUSE_ALL_FEATURES = no
; then
3264 result
=$wxUSE_ALL_FEATURES
3267 { echo "$as_me:$LINENO: result: $result" >&5
3268 echo "${ECHO_T}$result" >&6; }
3271 if test "$wxUSE_ALL_FEATURES" = "no"; then
3272 DEFAULT_wxUSE_MEDIACTRL
=no
3276 if test "$wxUSE_GUI" = "yes"; then
3281 if test -z "$defaultval"; then
3282 if test x
"$enablestring" = xdisable
; then
3289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3290 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3291 # Check whether --enable-universal was given.
3292 if test "${enable_universal+set}" = set; then
3293 enableval
=$enable_universal;
3294 if test "$enableval" = yes; then
3295 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3297 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3302 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3307 eval "$wx_cv_use_universal"
3309 if test x"$enablestring" = xdisable; then
3310 if test $wxUSE_UNIVERSAL = no; then
3316 result=$wxUSE_UNIVERSAL
3319 { echo "$as_me:$LINENO: result: $result" >&5
3320 echo "${ECHO_T}$result" >&6; }
3322 if test "$wxUSE_UNIVERSAL" = "yes"; then
3324 # Check whether --with-themes was given.
3325 if test "${with_themes+set}" = set; then
3326 withval=$with_themes; wxUNIV_THEMES="$withval"
3332 # Check whether --with-gtk was given.
3333 if test "${with_gtk+set}" = set; then
3334 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-motif was given.
3339 if test "${with_motif+set}" = set; then
3340 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-osx_carbon was given.
3345 if test "${with_osx_carbon+set}" = set; then
3346 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-osx_cocoa was given.
3351 if test "${with_osx_cocoa+set}" = set; then
3352 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-osx_iphone was given.
3357 if test "${with_osx_iphone+set}" = set; then
3358 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-osx was given.
3363 if test "${with_osx+set}" = set; then
3364 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-carbon was given.
3369 if test "${with_carbon+set}" = set; then
3370 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-cocoa was given.
3375 if test "${with_cocoa+set}" = set; then
3376 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-iphone was given.
3381 if test "${with_iphone+set}" = set; then
3382 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-mac was given.
3387 if test "${with_mac+set}" = set; then
3388 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-old_cocoa was given.
3393 if test "${with_old_cocoa+set}" = set; then
3394 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-wine was given.
3399 if test "${with_wine+set}" = set; then
3400 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3404 # Check whether --with-msw was given.
3405 if test "${with_msw+set}" = set; then
3406 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-pm was given.
3411 if test "${with_pm+set}" = set; then
3412 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-mgl was given.
3417 if test "${with_mgl+set}" = set; then
3418 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3422 # Check whether --with-directfb was given.
3423 if test "${with_directfb+set}" = set; then
3424 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-microwin was given.
3429 if test "${with_microwin+set}" = set; then
3430 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-x11 was given.
3435 if test "${with_x11+set}" = set; then
3436 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3442 if test -z "$defaultval"; then
3443 if test x"$enablestring" = xdisable; then
3450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3451 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3452 # Check whether --enable-nanox was given.
3453 if test "${enable_nanox+set}" = set; then
3454 enableval=$enable_nanox;
3455 if test "$enableval" = yes; then
3456 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3458 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3463 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3468 eval "$wx_cv_use_nanox"
3470 if test x"$enablestring" = xdisable; then
3471 if test $wxUSE_NANOX = no; then
3480 { echo "$as_me:$LINENO: result
: $result" >&5
3481 echo "${ECHO_T}$result" >&6; }
3484 # Check whether --enable-gtk2 was given.
3485 if test "${enable_gtk2+set}" = set; then
3486 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3492 if test -z "$defaultval"; then
3493 if test x"$enablestring" = xdisable; then
3500 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3501 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3502 # Check whether --enable-gpe was given.
3503 if test "${enable_gpe+set}" = set; then
3504 enableval=$enable_gpe;
3505 if test "$enableval" = yes; then
3506 wx_cv_use_gpe='wxUSE_GPE=yes'
3508 wx_cv_use_gpe='wxUSE_GPE=no'
3513 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3518 eval "$wx_cv_use_gpe"
3520 if test x
"$enablestring" = xdisable
; then
3521 if test $wxUSE_GPE = no
; then
3530 { echo "$as_me:$LINENO: result: $result" >&5
3531 echo "${ECHO_T}$result" >&6; }
3535 { echo "$as_me:$LINENO: checking for toolkit" >&5
3536 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3540 # In Wine, we need to default to MSW, not GTK or MOTIF
3541 if test "$wxUSE_WINE" = "yes"; then
3542 DEFAULT_DEFAULT_wxUSE_GTK
=0
3543 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3544 DEFAULT_DEFAULT_wxUSE_MSW
=1
3551 if test "$wxUSE_GUI" = "yes"; then
3553 if test "$USE_BEOS" = 1; then
3554 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3555 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3556 { (exit 1); exit 1; }; }
3559 if test "$TOOLKIT_GIVEN" = 1; then
3560 for toolkit
in $ALL_TOOLKITS; do
3562 eval "value=\$${var}"
3563 if test "x$value" = "xno"; then
3565 elif test "x$value" != "x"; then
3569 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3570 eval "wx${toolkit}_VERSION=$value"
3574 for toolkit
in $ALL_TOOLKITS; do
3575 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3576 eval "wxUSE_$toolkit=\$${var}"
3580 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3581 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3582 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3585 *-pc-os2_emx | *-pc-os2-emx )
3586 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3589 case "$NUM_TOOLKITS" in
3593 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3594 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3595 { (exit 1); exit 1; }; }
3598 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3599 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3600 { (exit 1); exit 1; }; }
3603 # to be removed when --disable-gtk2 isn't needed
3604 if test "x$wxUSE_GTK2" = "xyes"; then
3606 elif test "x$wxUSE_GTK2" = "xno"; then
3610 for toolkit
in $ALL_TOOLKITS; do
3612 eval "value=\$${var}"
3613 if test "$value" = 1; then
3614 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3615 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3616 echo "${ECHO_T}$toolkit_echo" >&6; }
3620 if test "x$host_alias" != "x"; then
3621 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3622 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3624 { echo "$as_me:$LINENO: result: base only" >&5
3625 echo "${ECHO_T}base only" >&6; }
3630 if test "$wxUSE_OSX_CARBON" = 1 \
3631 -o "$wxUSE_OSX_COCOA" = 1 \
3632 -o "$wxUSE_OSX_IPHONE" = 1; then
3638 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3639 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3641 # Check whether --with-libpng was given.
3642 if test "${with_libpng+set}" = set; then
3643 withval
=$with_libpng;
3644 if test "$withval" = yes; then
3645 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3646 elif test "$withval" = no
; then
3647 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3648 elif test "$withval" = sys
; then
3649 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3650 elif test "$withval" = builtin; then
3651 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3660 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3665 eval "$wx_cv_use_libpng"
3667 if test "$wxUSE_LIBPNG" = yes; then
3668 { echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6; }
3670 elif test "$wxUSE_LIBPNG" = no; then
3671 { echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6; }
3673 elif test "$wxUSE_LIBPNG" = sys; then
3674 { echo "$as_me:$LINENO: result: system version" >&5
3675 echo "${ECHO_T}system version" >&6; }
3676 elif test "$wxUSE_LIBPNG" = builtin; then
3677 { echo "$as_me:$LINENO: result: builtin version" >&5
3678 echo "${ECHO_T}builtin version" >&6; }
3680 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3681 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3682 { (exit 1); exit 1; }; }
3686 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3687 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3689 # Check whether --with-libjpeg was given.
3690 if test "${with_libjpeg+set}" = set; then
3691 withval=$with_libjpeg;
3692 if test "$withval" = yes; then
3693 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3694 elif test "$withval" = no; then
3695 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3696 elif test "$withval" = sys; then
3697 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3698 elif test "$withval" = builtin; then
3699 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3701 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3702 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3703 { (exit 1); exit 1; }; }
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3713 eval "$wx_cv_use_libjpeg"
3715 if test "$wxUSE_LIBJPEG" = yes; then
3716 { echo "$as_me:$LINENO: result
: yes" >&5
3717 echo "${ECHO_T}yes" >&6; }
3718 elif test "$wxUSE_LIBJPEG" = no; then
3719 { echo "$as_me:$LINENO: result
: no
" >&5
3720 echo "${ECHO_T}no
" >&6; }
3721 elif test "$wxUSE_LIBJPEG" = sys; then
3722 { echo "$as_me:$LINENO: result
: system version
" >&5
3723 echo "${ECHO_T}system version
" >&6; }
3724 elif test "$wxUSE_LIBJPEG" = builtin; then
3725 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3726 echo "${ECHO_T}builtin version
" >&6; }
3728 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3729 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3734 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3735 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3737 # Check whether --with-libtiff was given.
3738 if test "${with_libtiff+set}" = set; then
3739 withval=$with_libtiff;
3740 if test "$withval" = yes; then
3741 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3742 elif test "$withval" = no; then
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3744 elif test "$withval" = sys; then
3745 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3746 elif test "$withval" = builtin; then
3747 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3749 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3750 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3761 eval "$wx_cv_use_libtiff"
3763 if test "$wxUSE_LIBTIFF" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBTIFF" = no
; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBTIFF" = sys
; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBTIFF" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3782 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3783 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3785 # Check whether --with-libxpm was given.
3786 if test "${with_libxpm+set}" = set; then
3787 withval
=$with_libxpm;
3788 if test "$withval" = yes; then
3789 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3790 elif test "$withval" = no
; then
3791 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3792 elif test "$withval" = sys
; then
3793 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3794 elif test "$withval" = builtin; then
3795 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3797 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3798 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3799 { (exit 1); exit 1; }; }
3804 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3809 eval "$wx_cv_use_libxpm"
3811 if test "$wxUSE_LIBXPM" = yes; then
3812 { echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6; }
3814 elif test "$wxUSE_LIBXPM" = no; then
3815 { echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6; }
3817 elif test "$wxUSE_LIBXPM" = sys; then
3818 { echo "$as_me:$LINENO: result: system version" >&5
3819 echo "${ECHO_T}system version" >&6; }
3820 elif test "$wxUSE_LIBXPM" = builtin; then
3821 { echo "$as_me:$LINENO: result: builtin version" >&5
3822 echo "${ECHO_T}builtin version" >&6; }
3824 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3825 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3826 { (exit 1); exit 1; }; }
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3842 # Check whether --with-libiconv was given.
3843 if test "${with_libiconv+set}" = set; then
3844 withval=$with_libiconv;
3845 if test "$withval" = yes; then
3846 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3848 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3853 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3858 eval "$wx_cv_use_libiconv"
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_LIBICONV = yes; then
3867 result=$wxUSE_LIBICONV
3870 { echo "$as_me:$LINENO: result
: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3883 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3884 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3886 # Check whether --with-libmspack was given.
3887 if test "${with_libmspack+set}" = set; then
3888 withval=$with_libmspack;
3889 if test "$withval" = yes; then
3890 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3892 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3897 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3902 eval "$wx_cv_use_libmspack"
3904 if test x
"$withstring" = xwithout
; then
3905 if test $wxUSE_LIBMSPACK = yes; then
3911 result
=$wxUSE_LIBMSPACK
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3919 defaultval
=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x
"$withstring" = xwithout
; then
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3930 # Check whether --with-gtkprint was given.
3931 if test "${with_gtkprint+set}" = set; then
3932 withval
=$with_gtkprint;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3936 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3941 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3946 eval "$wx_cv_use_gtkprint"
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_GTKPRINT = yes; then
3955 result=$wxUSE_GTKPRINT
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3974 # Check whether --with-gnomeprint was given.
3975 if test "${with_gnomeprint+set}" = set; then
3976 withval=$with_gnomeprint;
3977 if test "$withval" = yes; then
3978 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3980 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3985 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3990 eval "$wx_cv_use_gnomeprint"
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBGNOMEPRINT = yes; then
3999 result=$wxUSE_LIBGNOMEPRINT
4002 { echo "$as_me:$LINENO: result
: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4015 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4016 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4018 # Check whether --with-gnomevfs was given.
4019 if test "${with_gnomevfs+set}" = set; then
4020 withval=$with_gnomevfs;
4021 if test "$withval" = yes; then
4022 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4024 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4029 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4034 eval "$wx_cv_use_gnomevfs"
4036 if test x
"$withstring" = xwithout
; then
4037 if test $wxUSE_LIBGNOMEVFS = yes; then
4043 result
=$wxUSE_LIBGNOMEVFS
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4051 defaultval
=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x
"$withstring" = xwithout
; then
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4062 # Check whether --with-hildon was given.
4063 if test "${with_hildon+set}" = set; then
4064 withval
=$with_hildon;
4065 if test "$withval" = yes; then
4066 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4068 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4073 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4078 eval "$wx_cv_use_hildon"
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_LIBHILDON = yes; then
4087 result=$wxUSE_LIBHILDON
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4095 defaultval=$wxUSE_ALL_FEATURES
4096 if test -z "$defaultval"; then
4097 if test x"$withstring" = xwithout; then
4103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4104 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4106 # Check whether --with-opengl was given.
4107 if test "${with_opengl+set}" = set; then
4108 withval=$with_opengl;
4109 if test "$withval" = yes; then
4110 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4112 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4117 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4122 eval "$wx_cv_use_opengl"
4124 if test x"$withstring" = xwithout; then
4125 if test $wxUSE_OPENGL = yes; then
4131 result=$wxUSE_OPENGL
4134 { echo "$as_me:$LINENO: result
: $result" >&5
4135 echo "${ECHO_T}$result" >&6; }
4142 defaultval=$wxUSE_ALL_FEATURES
4143 if test -z "$defaultval"; then
4144 if test x"$withstring" = xwithout; then
4150 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4151 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4153 # Check whether --with-dmalloc was given.
4154 if test "${with_dmalloc+set}" = set; then
4155 withval=$with_dmalloc;
4156 if test "$withval" = yes; then
4157 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4159 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4164 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4169 eval "$wx_cv_use_dmalloc"
4171 if test x
"$withstring" = xwithout
; then
4172 if test $wxUSE_DMALLOC = yes; then
4178 result
=$wxUSE_DMALLOC
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4186 defaultval
=$wxUSE_ALL_FEATURES
4187 if test -z "$defaultval"; then
4188 if test x
"$withstring" = xwithout
; then
4194 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4195 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4197 # Check whether --with-sdl was given.
4198 if test "${with_sdl+set}" = set; then
4200 if test "$withval" = yes; then
4201 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4203 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4208 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4213 eval "$wx_cv_use_sdl"
4215 if test x"$withstring" = xwithout; then
4216 if test $wxUSE_LIBSDL = yes; then
4222 result=$wxUSE_LIBSDL
4225 { echo "$as_me:$LINENO: result: $result" >&5
4226 echo "${ECHO_T}$result" >&6; }
4229 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4232 # Check whether --with-regex was given.
4233 if test "${with_regex+set}" = set; then
4234 withval=$with_regex;
4235 if test "$withval" = yes; then
4236 wx_cv_use_regex='wxUSE_REGEX
=yes'
4237 elif test "$withval" = no; then
4238 wx_cv_use_regex='wxUSE_REGEX
=no
'
4239 elif test "$withval" = sys; then
4240 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4241 elif test "$withval" = builtin; then
4242 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4244 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4245 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4246 { (exit 1); exit 1; }; }
4251 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4256 eval "$wx_cv_use_regex"
4258 if test "$wxUSE_REGEX" = yes; then
4259 { echo "$as_me:$LINENO: result
: yes" >&5
4260 echo "${ECHO_T}yes" >&6; }
4261 elif test "$wxUSE_REGEX" = no; then
4262 { echo "$as_me:$LINENO: result
: no
" >&5
4263 echo "${ECHO_T}no
" >&6; }
4264 elif test "$wxUSE_REGEX" = sys; then
4265 { echo "$as_me:$LINENO: result
: system version
" >&5
4266 echo "${ECHO_T}system version
" >&6; }
4267 elif test "$wxUSE_REGEX" = builtin; then
4268 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4269 echo "${ECHO_T}builtin version
" >&6; }
4271 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4272 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4273 { (exit 1); exit 1; }; }
4277 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4278 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4280 # Check whether --with-zlib was given.
4281 if test "${with_zlib+set}" = set; then
4283 if test "$withval" = yes; then
4284 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4285 elif test "$withval" = no; then
4286 wx_cv_use_zlib='wxUSE_ZLIB=no'
4287 elif test "$withval" = sys; then
4288 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4289 elif test "$withval" = builtin; then
4290 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4292 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4293 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4294 { (exit 1); exit 1; }; }
4299 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4304 eval "$wx_cv_use_zlib"
4306 if test "$wxUSE_ZLIB" = yes; then
4307 { echo "$as_me:$LINENO: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6; }
4309 elif test "$wxUSE_ZLIB" = no
; then
4310 { echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6; }
4312 elif test "$wxUSE_ZLIB" = sys
; then
4313 { echo "$as_me:$LINENO: result: system version" >&5
4314 echo "${ECHO_T}system version" >&6; }
4315 elif test "$wxUSE_ZLIB" = builtin; then
4316 { echo "$as_me:$LINENO: result: builtin version" >&5
4317 echo "${ECHO_T}builtin version" >&6; }
4319 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4320 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4321 { (exit 1); exit 1; }; }
4325 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4326 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4328 # Check whether --with-expat was given.
4329 if test "${with_expat+set}" = set; then
4330 withval
=$with_expat;
4331 if test "$withval" = yes; then
4332 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4333 elif test "$withval" = no
; then
4334 wx_cv_use_expat
='wxUSE_EXPAT=no'
4335 elif test "$withval" = sys
; then
4336 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4337 elif test "$withval" = builtin; then
4338 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4347 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4352 eval "$wx_cv_use_expat"
4354 if test "$wxUSE_EXPAT" = yes; then
4355 { echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6; }
4357 elif test "$wxUSE_EXPAT" = no; then
4358 { echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6; }
4360 elif test "$wxUSE_EXPAT" = sys; then
4361 { echo "$as_me:$LINENO: result: system version" >&5
4362 echo "${ECHO_T}system version" >&6; }
4363 elif test "$wxUSE_EXPAT" = builtin; then
4364 { echo "$as_me:$LINENO: result: builtin version" >&5
4365 echo "${ECHO_T}builtin version" >&6; }
4367 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4368 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4369 { (exit 1); exit 1; }; }
4373 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4374 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4376 # Check whether --with-macosx-sdk was given.
4377 if test "${with_macosx_sdk+set}" = set; then
4378 withval=$with_macosx_sdk;
4379 wxUSE_MACOSX_SDK=$withval
4380 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4384 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4385 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4387 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4388 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4390 # Check whether --with-macosx-version-min was given.
4391 if test "${with_macosx_version_min+set}" = set; then
4392 withval=$with_macosx_version_min;
4393 wxUSE_MACOSX_VERSION_MIN=$withval
4394 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4398 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4399 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4402 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4403 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4404 # Check whether --enable-debug was given.
4405 if test "${enable_debug+set}" = set; then
4406 enableval=$enable_debug;
4407 if test "$enableval" = yes; then
4409 elif test "$enableval" = no; then
4411 elif test "$enableval" = max; then
4413 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4415 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4416 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4417 { (exit 1); exit 1; }; }
4426 case "$wxUSE_DEBUG" in
4428 DEFAULT_wxUSE_DEBUG_FLAG=yes
4429 DEFAULT_wxUSE_DEBUG_INFO=yes
4431 DEFAULT_wxUSE_OPTIMISE=no
4435 DEFAULT_wxUSE_DEBUG_FLAG=no
4436 DEFAULT_wxUSE_DEBUG_INFO=no
4440 DEFAULT_wxUSE_DEBUG_FLAG=yes
4441 DEFAULT_wxUSE_DEBUG_INFO=no
4446 enablestring=disable
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4458 # Check whether --enable-debug_flag was given.
4459 if test "${enable_debug_flag+set}" = set; then
4460 enableval=$enable_debug_flag;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4464 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4469 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4474 eval "$wx_cv_use_debug_flag"
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_DEBUG_FLAG = no; then
4483 result=$wxUSE_DEBUG_FLAG
4486 { echo "$as_me:$LINENO: result
: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4500 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4501 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4502 # Check whether --enable-debug_info was given.
4503 if test "${enable_debug_info+set}" = set; then
4504 enableval=$enable_debug_info;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4508 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4513 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4518 eval "$wx_cv_use_debug_info"
4520 if test x
"$enablestring" = xdisable
; then
4521 if test $wxUSE_DEBUG_INFO = no
; then
4527 result
=$wxUSE_DEBUG_INFO
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4538 if test -z "$defaultval"; then
4539 if test x
"$enablestring" = xdisable
; then
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4548 # Check whether --enable-debug_gdb was given.
4549 if test "${enable_debug_gdb+set}" = set; then
4550 enableval
=$enable_debug_gdb;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4554 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4559 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4564 eval "$wx_cv_use_debug_gdb"
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_DEBUG_GDB = no; then
4573 result=$wxUSE_DEBUG_GDB
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4592 # Check whether --enable-debug_cntxt was given.
4593 if test "${enable_debug_cntxt+set}" = set; then
4594 enableval=$enable_debug_cntxt;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4598 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4603 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4608 eval "$wx_cv_use_debug_cntxt"
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_DEBUG_CONTEXT = no; then
4617 result=$wxUSE_DEBUG_CONTEXT
4620 { echo "$as_me:$LINENO: result
: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4635 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4636 # Check whether --enable-mem_tracing was given.
4637 if test "${enable_mem_tracing+set}" = set; then
4638 enableval=$enable_mem_tracing;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4642 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4647 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4652 eval "$wx_cv_use_mem_tracing"
4654 if test x
"$enablestring" = xdisable
; then
4655 if test $wxUSE_MEM_TRACING = no
; then
4661 result
=$wxUSE_MEM_TRACING
4664 { echo "$as_me:$LINENO: result: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4670 enablestring
=disable
4672 if test -z "$defaultval"; then
4673 if test x
"$enablestring" = xdisable
; then
4680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4682 # Check whether --enable-shared was given.
4683 if test "${enable_shared+set}" = set; then
4684 enableval
=$enable_shared;
4685 if test "$enableval" = yes; then
4686 wx_cv_use_shared
='wxUSE_SHARED=yes'
4688 wx_cv_use_shared
='wxUSE_SHARED=no'
4693 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4698 eval "$wx_cv_use_shared"
4700 if test x"$enablestring" = xdisable; then
4701 if test $wxUSE_SHARED = no; then
4707 result=$wxUSE_SHARED
4710 { echo "$as_me:$LINENO: result: $result" >&5
4711 echo "${ECHO_T}$result" >&6; }
4716 if test -z "$defaultval"; then
4717 if test x"$enablestring" = xdisable; then
4724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4726 # Check whether --enable-stl was given.
4727 if test "${enable_stl+set}" = set; then
4728 enableval=$enable_stl;
4729 if test "$enableval" = yes; then
4730 wx_cv_use_stl='wxUSE_STL
=yes'
4732 wx_cv_use_stl='wxUSE_STL
=no
'
4737 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4742 eval "$wx_cv_use_stl"
4744 if test x"$enablestring" = xdisable; then
4745 if test $wxUSE_STL = no; then
4754 { echo "$as_me:$LINENO: result
: $result" >&5
4755 echo "${ECHO_T}$result" >&6; }
4760 if test -z "$defaultval"; then
4761 if test x"$enablestring" = xdisable; then
4768 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4769 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4770 # Check whether --enable-std_iostreams was given.
4771 if test "${enable_std_iostreams+set}" = set; then
4772 enableval=$enable_std_iostreams;
4773 if test "$enableval" = yes; then
4774 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4776 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4781 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4786 eval "$wx_cv_use_std_iostreams"
4788 if test x
"$enablestring" = xdisable
; then
4789 if test $wxUSE_STD_IOSTREAM = no
; then
4795 result
=$wxUSE_STD_IOSTREAM
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4804 if test -z "$defaultval"; then
4805 if test x
"$enablestring" = xdisable
; then
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4814 # Check whether --enable-std_string was given.
4815 if test "${enable_std_string+set}" = set; then
4816 enableval
=$enable_std_string;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4820 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4825 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4830 eval "$wx_cv_use_std_string"
4832 if test x"$enablestring" = xdisable; then
4833 if test $wxUSE_STD_STRING = no; then
4839 result=$wxUSE_STD_STRING
4842 { echo "$as_me:$LINENO: result: $result" >&5
4843 echo "${ECHO_T}$result" >&6; }
4846 enablestring=disable
4848 if test -z "$defaultval"; then
4849 if test x"$enablestring" = xdisable; then
4856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4858 # Check whether --enable-unicode was given.
4859 if test "${enable_unicode+set}" = set; then
4860 enableval=$enable_unicode;
4861 if test "$enableval" = yes; then
4862 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4864 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4869 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4874 eval "$wx_cv_use_unicode"
4876 if test x"$enablestring" = xdisable; then
4877 if test $wxUSE_UNICODE = no; then
4883 result=$wxUSE_UNICODE
4886 { echo "$as_me:$LINENO: result
: $result" >&5
4887 echo "${ECHO_T}$result" >&6; }
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4900 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4901 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4902 # Check whether --enable-mslu was given.
4903 if test "${enable_mslu+set}" = set; then
4904 enableval=$enable_mslu;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4908 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4918 eval "$wx_cv_use_mslu"
4920 if test x
"$enablestring" = xdisable
; then
4921 if test $wxUSE_UNICODE_MSLU = no
; then
4927 result
=$wxUSE_UNICODE_MSLU
4930 { echo "$as_me:$LINENO: result: $result" >&5
4931 echo "${ECHO_T}$result" >&6; }
4935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4937 # Check whether --enable-utf8 was given.
4938 if test "${enable_utf8+set}" = set; then
4939 enableval
=$enable_utf8;
4940 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4944 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4949 eval "$wx_cv_use_utf8"
4951 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4952 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4957 if test -z "$defaultval"; then
4958 if test x
"$enablestring" = xdisable
; then
4965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4967 # Check whether --enable-utf8only was given.
4968 if test "${enable_utf8only+set}" = set; then
4969 enableval
=$enable_utf8only;
4970 if test "$enableval" = yes; then
4971 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4973 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4978 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4983 eval "$wx_cv_use_utf8only"
4985 if test x"$enablestring" = xdisable; then
4986 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4992 result=$wxUSE_UNICODE_UTF8_LOCALE
4995 { echo "$as_me:$LINENO: result: $result" >&5
4996 echo "${ECHO_T}$result" >&6; }
5001 if test -z "$defaultval"; then
5002 if test x"$enablestring" = xdisable; then
5009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5011 # Check whether --enable-extended_rtti was given.
5012 if test "${enable_extended_rtti+set}" = set; then
5013 enableval=$enable_extended_rtti;
5014 if test "$enableval" = yes; then
5015 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5017 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5022 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5027 eval "$wx_cv_use_extended_rtti"
5029 if test x"$enablestring" = xdisable; then
5030 if test $wxUSE_EXTENDED_RTTI = no; then
5036 result=$wxUSE_EXTENDED_RTTI
5039 { echo "$as_me:$LINENO: result
: $result" >&5
5040 echo "${ECHO_T}$result" >&6; }
5042 if test "$USE_OS2" = 1; then
5043 DEFAULT_wxUSE_OMF=no
5047 if test -z "$defaultval"; then
5048 if test x"$enablestring" = xdisable; then
5055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5056 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5057 # Check whether --enable-omf was given.
5058 if test "${enable_omf+set}" = set; then
5059 enableval=$enable_omf;
5060 if test "$enableval" = yes; then
5061 wx_cv_use_omf='wxUSE_OMF=yes'
5063 wx_cv_use_omf='wxUSE_OMF=no'
5068 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5073 eval "$wx_cv_use_omf"
5075 if test x
"$enablestring" = xdisable
; then
5076 if test $wxUSE_OMF = no
; then
5085 { echo "$as_me:$LINENO: result: $result" >&5
5086 echo "${ECHO_T}$result" >&6; }
5091 enablestring
=disable
5093 if test -z "$defaultval"; then
5094 if test x
"$enablestring" = xdisable
; then
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5103 # Check whether --enable-optimise was given.
5104 if test "${enable_optimise+set}" = set; then
5105 enableval
=$enable_optimise;
5106 if test "$enableval" = yes; then
5107 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5109 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5114 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5119 eval "$wx_cv_use_optimise"
5121 if test x"$enablestring" = xdisable; then
5122 if test $wxUSE_OPTIMISE = no; then
5128 result=$wxUSE_OPTIMISE
5131 { echo "$as_me:$LINENO: result: $result" >&5
5132 echo "${ECHO_T}$result" >&6; }
5138 if test -z "$defaultval"; then
5139 if test x"$enablestring" = xdisable; then
5146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5148 # Check whether --enable-profile was given.
5149 if test "${enable_profile+set}" = set; then
5150 enableval=$enable_profile;
5151 if test "$enableval" = yes; then
5152 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5154 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5159 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5164 eval "$wx_cv_use_profile"
5166 if test x"$enablestring" = xdisable; then
5167 if test $wxUSE_PROFILE = no; then
5173 result=$wxUSE_PROFILE
5176 { echo "$as_me:$LINENO: result
: $result" >&5
5177 echo "${ECHO_T}$result" >&6; }
5182 if test -z "$defaultval"; then
5183 if test x"$enablestring" = xdisable; then
5190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5191 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5192 # Check whether --enable-no_rtti was given.
5193 if test "${enable_no_rtti+set}" = set; then
5194 enableval=$enable_no_rtti;
5195 if test "$enableval" = yes; then
5196 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5198 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5203 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5208 eval "$wx_cv_use_no_rtti"
5210 if test x
"$enablestring" = xdisable
; then
5211 if test $wxUSE_NO_RTTI = no
; then
5217 result
=$wxUSE_NO_RTTI
5220 { echo "$as_me:$LINENO: result: $result" >&5
5221 echo "${ECHO_T}$result" >&6; }
5226 if test -z "$defaultval"; then
5227 if test x
"$enablestring" = xdisable
; then
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5236 # Check whether --enable-no_exceptions was given.
5237 if test "${enable_no_exceptions+set}" = set; then
5238 enableval
=$enable_no_exceptions;
5239 if test "$enableval" = yes; then
5240 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5242 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5247 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5252 eval "$wx_cv_use_no_exceptions"
5254 if test x"$enablestring" = xdisable; then
5255 if test $wxUSE_NO_EXCEPTIONS = no; then
5261 result=$wxUSE_NO_EXCEPTIONS
5264 { echo "$as_me:$LINENO: result: $result" >&5
5265 echo "${ECHO_T}$result" >&6; }
5270 if test -z "$defaultval"; then
5271 if test x"$enablestring" = xdisable; then
5278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5279 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5280 # Check whether --enable-permissive was given.
5281 if test "${enable_permissive+set}" = set; then
5282 enableval=$enable_permissive;
5283 if test "$enableval" = yes; then
5284 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5286 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5291 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5296 eval "$wx_cv_use_permissive"
5298 if test x"$enablestring" = xdisable; then
5299 if test $wxUSE_PERMISSIVE = no; then
5305 result=$wxUSE_PERMISSIVE
5308 { echo "$as_me:$LINENO: result
: $result" >&5
5309 echo "${ECHO_T}$result" >&6; }
5314 if test -z "$defaultval"; then
5315 if test x"$enablestring" = xdisable; then
5322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5323 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5324 # Check whether --enable-no_deps was given.
5325 if test "${enable_no_deps+set}" = set; then
5326 enableval=$enable_no_deps;
5327 if test "$enableval" = yes; then
5328 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5330 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5335 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5340 eval "$wx_cv_use_no_deps"
5342 if test x
"$enablestring" = xdisable
; then
5343 if test $wxUSE_NO_DEPS = no
; then
5349 result
=$wxUSE_NO_DEPS
5352 { echo "$as_me:$LINENO: result: $result" >&5
5353 echo "${ECHO_T}$result" >&6; }
5356 enablestring
=disable
5358 if test -z "$defaultval"; then
5359 if test x
"$enablestring" = xdisable
; then
5366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5368 # Check whether --enable-vararg_macros was given.
5369 if test "${enable_vararg_macros+set}" = set; then
5370 enableval
=$enable_vararg_macros;
5371 if test "$enableval" = yes; then
5372 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5374 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5379 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5384 eval "$wx_cv_use_vararg_macros"
5386 if test x"$enablestring" = xdisable; then
5387 if test $wxUSE_VARARG_MACROS = no; then
5393 result=$wxUSE_VARARG_MACROS
5396 { echo "$as_me:$LINENO: result: $result" >&5
5397 echo "${ECHO_T}$result" >&6; }
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5403 # Check whether --enable-universal_binary was given.
5404 if test "${enable_universal_binary+set}" = set; then
5405 enableval=$enable_universal_binary;
5406 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5410 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5415 eval "$wx_cv_use_universal_binary"
5417 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5418 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5424 if test -z "$defaultval"; then
5425 if test x"$enablestring" = xdisable; then
5432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5434 # Check whether --enable-compat26 was given.
5435 if test "${enable_compat26+set}" = set; then
5436 enableval=$enable_compat26;
5437 if test "$enableval" = yes; then
5438 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5440 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5445 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5450 eval "$wx_cv_use_compat26"
5452 if test x"$enablestring" = xdisable; then
5453 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5459 result=$WXWIN_COMPATIBILITY_2_6
5462 { echo "$as_me:$LINENO: result
: $result" >&5
5463 echo "${ECHO_T}$result" >&6; }
5466 enablestring=disable
5468 if test -z "$defaultval"; then
5469 if test x"$enablestring" = xdisable; then
5476 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5477 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5478 # Check whether --enable-compat28 was given.
5479 if test "${enable_compat28+set}" = set; then
5480 enableval=$enable_compat28;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5484 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5489 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5494 eval "$wx_cv_use_compat28"
5496 if test x
"$enablestring" = xdisable
; then
5497 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5503 result
=$WXWIN_COMPATIBILITY_2_8
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5511 enablestring
=disable
5513 if test -z "$defaultval"; then
5514 if test x
"$enablestring" = xdisable
; then
5521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5523 # Check whether --enable-rpath was given.
5524 if test "${enable_rpath+set}" = set; then
5525 enableval
=$enable_rpath;
5526 if test "$enableval" = yes; then
5527 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5529 wx_cv_use_rpath
='wxUSE_RPATH=no'
5534 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5539 eval "$wx_cv_use_rpath"
5541 if test x"$enablestring" = xdisable; then
5542 if test $wxUSE_RPATH = no; then
5551 { echo "$as_me:$LINENO: result: $result" >&5
5552 echo "${ECHO_T}$result" >&6; }
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5568 # Check whether --enable-objc_uniquifying was given.
5569 if test "${enable_objc_uniquifying+set}" = set; then
5570 enableval=$enable_objc_uniquifying;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5574 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5579 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5584 eval "$wx_cv_use_objc_uniquifying"
5586 if test x"$enablestring" = xdisable; then
5587 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5593 result=$wxUSE_OBJC_UNIQUIFYING
5596 { echo "$as_me:$LINENO: result
: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5601 enablestring=disable
5603 if test -z "$defaultval"; then
5604 if test x"$enablestring" = xdisable; then
5611 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5612 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5613 # Check whether --enable-visibility was given.
5614 if test "${enable_visibility+set}" = set; then
5615 enableval=$enable_visibility;
5616 if test "$enableval" = yes; then
5617 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5619 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5624 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5629 eval "$wx_cv_use_visibility"
5631 if test x
"$enablestring" = xdisable
; then
5632 if test $wxUSE_VISIBILITY = no
; then
5638 result
=$wxUSE_VISIBILITY
5641 { echo "$as_me:$LINENO: result: $result" >&5
5642 echo "${ECHO_T}$result" >&6; }
5645 enablestring
=disable
5647 if test -z "$defaultval"; then
5648 if test x
"$enablestring" = xdisable
; then
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5657 # Check whether --enable-tls was given.
5658 if test "${enable_tls+set}" = set; then
5659 enableval
=$enable_tls;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5663 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5668 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5673 eval "$wx_cv_use_tls"
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_COMPILER_TLS = no; then
5682 result=$wxUSE_COMPILER_TLS
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5692 defaultval=$wxUSE_ALL_FEATURES
5693 if test -z "$defaultval"; then
5694 if test x"$enablestring" = xdisable; then
5701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5703 # Check whether --enable-intl was given.
5704 if test "${enable_intl+set}" = set; then
5705 enableval=$enable_intl;
5706 if test "$enableval" = yes; then
5707 wx_cv_use_intl='wxUSE_INTL
=yes'
5709 wx_cv_use_intl='wxUSE_INTL
=no
'
5714 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5719 eval "$wx_cv_use_intl"
5721 if test x"$enablestring" = xdisable; then
5722 if test $wxUSE_INTL = no; then
5731 { echo "$as_me:$LINENO: result
: $result" >&5
5732 echo "${ECHO_T}$result" >&6; }
5736 defaultval=$wxUSE_ALL_FEATURES
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5746 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5747 # Check whether --enable-xlocale was given.
5748 if test "${enable_xlocale+set}" = set; then
5749 enableval=$enable_xlocale;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5753 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5758 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5763 eval "$wx_cv_use_xlocale"
5765 if test x
"$enablestring" = xdisable
; then
5766 if test $wxUSE_XLOCALE = no
; then
5772 result
=$wxUSE_XLOCALE
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5780 defaultval
=$wxUSE_ALL_FEATURES
5781 if test -z "$defaultval"; then
5782 if test x
"$enablestring" = xdisable
; then
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5791 # Check whether --enable-config was given.
5792 if test "${enable_config+set}" = set; then
5793 enableval
=$enable_config;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_config
='wxUSE_CONFIG=yes'
5797 wx_cv_use_config
='wxUSE_CONFIG=no'
5802 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5807 eval "$wx_cv_use_config"
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_CONFIG = no; then
5816 result=$wxUSE_CONFIG
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5825 defaultval=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5836 # Check whether --enable-protocols was given.
5837 if test "${enable_protocols+set}" = set; then
5838 enableval=$enable_protocols;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5842 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5847 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5852 eval "$wx_cv_use_protocols"
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_PROTOCOL = no; then
5861 result=$wxUSE_PROTOCOL
5864 { echo "$as_me:$LINENO: result
: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5869 defaultval=$wxUSE_ALL_FEATURES
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5878 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5879 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5880 # Check whether --enable-ftp was given.
5881 if test "${enable_ftp+set}" = set; then
5882 enableval=$enable_ftp;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5886 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5891 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5896 eval "$wx_cv_use_ftp"
5898 if test x
"$enablestring" = xdisable
; then
5899 if test $wxUSE_PROTOCOL_FTP = no
; then
5905 result
=$wxUSE_PROTOCOL_FTP
5908 { echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6; }
5913 defaultval
=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x
"$enablestring" = xdisable
; then
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5924 # Check whether --enable-http was given.
5925 if test "${enable_http+set}" = set; then
5926 enableval
=$enable_http;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5930 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5935 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5940 eval "$wx_cv_use_http"
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_PROTOCOL_HTTP = no; then
5949 result=$wxUSE_PROTOCOL_HTTP
5952 { echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6; }
5957 defaultval=$wxUSE_ALL_FEATURES
5958 if test -z "$defaultval"; then
5959 if test x"$enablestring" = xdisable; then
5966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5968 # Check whether --enable-fileproto was given.
5969 if test "${enable_fileproto+set}" = set; then
5970 enableval=$enable_fileproto;
5971 if test "$enableval" = yes; then
5972 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5974 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5979 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5984 eval "$wx_cv_use_fileproto"
5986 if test x"$enablestring" = xdisable; then
5987 if test $wxUSE_PROTOCOL_FILE = no; then
5993 result=$wxUSE_PROTOCOL_FILE
5996 { echo "$as_me:$LINENO: result
: $result" >&5
5997 echo "${ECHO_T}$result" >&6; }
6001 defaultval=$wxUSE_ALL_FEATURES
6002 if test -z "$defaultval"; then
6003 if test x"$enablestring" = xdisable; then
6010 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6011 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6012 # Check whether --enable-sockets was given.
6013 if test "${enable_sockets+set}" = set; then
6014 enableval=$enable_sockets;
6015 if test "$enableval" = yes; then
6016 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6018 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6023 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6028 eval "$wx_cv_use_sockets"
6030 if test x
"$enablestring" = xdisable
; then
6031 if test $wxUSE_SOCKETS = no
; then
6037 result
=$wxUSE_SOCKETS
6040 { echo "$as_me:$LINENO: result: $result" >&5
6041 echo "${ECHO_T}$result" >&6; }
6045 defaultval
=$wxUSE_ALL_FEATURES
6046 if test -z "$defaultval"; then
6047 if test x
"$enablestring" = xdisable
; then
6054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6055 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6056 # Check whether --enable-ipv6 was given.
6057 if test "${enable_ipv6+set}" = set; then
6058 enableval
=$enable_ipv6;
6059 if test "$enableval" = yes; then
6060 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6062 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6067 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6072 eval "$wx_cv_use_ipv6"
6074 if test x"$enablestring" = xdisable; then
6075 if test $wxUSE_IPV6 = no; then
6084 { echo "$as_me:$LINENO: result: $result" >&5
6085 echo "${ECHO_T}$result" >&6; }
6089 defaultval=$wxUSE_ALL_FEATURES
6090 if test -z "$defaultval"; then
6091 if test x"$enablestring" = xdisable; then
6098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6100 # Check whether --enable-ole was given.
6101 if test "${enable_ole+set}" = set; then
6102 enableval=$enable_ole;
6103 if test "$enableval" = yes; then
6104 wx_cv_use_ole='wxUSE_OLE
=yes'
6106 wx_cv_use_ole='wxUSE_OLE
=no
'
6111 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6116 eval "$wx_cv_use_ole"
6118 if test x"$enablestring" = xdisable; then
6119 if test $wxUSE_OLE = no; then
6128 { echo "$as_me:$LINENO: result
: $result" >&5
6129 echo "${ECHO_T}$result" >&6; }
6133 defaultval=$wxUSE_ALL_FEATURES
6134 if test -z "$defaultval"; then
6135 if test x"$enablestring" = xdisable; then
6142 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6143 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6144 # Check whether --enable-dataobj was given.
6145 if test "${enable_dataobj+set}" = set; then
6146 enableval=$enable_dataobj;
6147 if test "$enableval" = yes; then
6148 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6150 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6155 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6160 eval "$wx_cv_use_dataobj"
6162 if test x
"$enablestring" = xdisable
; then
6163 if test $wxUSE_DATAOBJ = no
; then
6169 result
=$wxUSE_DATAOBJ
6172 { echo "$as_me:$LINENO: result: $result" >&5
6173 echo "${ECHO_T}$result" >&6; }
6178 defaultval
=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x
"$enablestring" = xdisable
; then
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6189 # Check whether --enable-ipc was given.
6190 if test "${enable_ipc+set}" = set; then
6191 enableval
=$enable_ipc;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_ipc
='wxUSE_IPC=yes'
6195 wx_cv_use_ipc
='wxUSE_IPC=no'
6200 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6205 eval "$wx_cv_use_ipc"
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_IPC = no; then
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6234 # Check whether --enable-baseevtloop was given.
6235 if test "${enable_baseevtloop+set}" = set; then
6236 enableval=$enable_baseevtloop;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6240 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6245 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6250 eval "$wx_cv_use_baseevtloop"
6252 if test x"$enablestring" = xdisable; then
6253 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6259 result=$wxUSE_CONSOLE_EVENTLOOP
6262 { echo "$as_me:$LINENO: result
: $result" >&5
6263 echo "${ECHO_T}$result" >&6; }
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6276 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6277 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6278 # Check whether --enable-epollloop was given.
6279 if test "${enable_epollloop+set}" = set; then
6280 enableval=$enable_epollloop;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6284 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6289 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6294 eval "$wx_cv_use_epollloop"
6296 if test x
"$enablestring" = xdisable
; then
6297 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6303 result
=$wxUSE_EPOLL_DISPATCHER
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6311 defaultval
=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x
"$enablestring" = xdisable
; then
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6322 # Check whether --enable-selectloop was given.
6323 if test "${enable_selectloop+set}" = set; then
6324 enableval
=$enable_selectloop;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6328 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6333 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6338 eval "$wx_cv_use_selectloop"
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_SELECT_DISPATCHER = no; then
6347 result=$wxUSE_SELECT_DISPATCHER
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6356 defaultval=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6367 # Check whether --enable-any was given.
6368 if test "${enable_any+set}" = set; then
6369 enableval=$enable_any;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_any='wxUSE_ANY
=yes'
6373 wx_cv_use_any='wxUSE_ANY
=no
'
6378 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6383 eval "$wx_cv_use_any"
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_ANY = no; then
6395 { echo "$as_me:$LINENO: result
: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6410 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6411 # Check whether --enable-apple_ieee was given.
6412 if test "${enable_apple_ieee+set}" = set; then
6413 enableval=$enable_apple_ieee;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6417 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6422 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6427 eval "$wx_cv_use_apple_ieee"
6429 if test x
"$enablestring" = xdisable
; then
6430 if test $wxUSE_APPLE_IEEE = no
; then
6436 result
=$wxUSE_APPLE_IEEE
6439 { echo "$as_me:$LINENO: result: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6444 defaultval
=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x
"$enablestring" = xdisable
; then
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6455 # Check whether --enable-arcstream was given.
6456 if test "${enable_arcstream+set}" = set; then
6457 enableval
=$enable_arcstream;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6461 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6466 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6471 eval "$wx_cv_use_arcstream"
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_ARCHIVE_STREAMS = no; then
6480 result=$wxUSE_ARCHIVE_STREAMS
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6488 defaultval=$wxUSE_ALL_FEATURES
6489 if test -z "$defaultval"; then
6490 if test x"$enablestring" = xdisable; then
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6499 # Check whether --enable-base64 was given.
6500 if test "${enable_base64+set}" = set; then
6501 enableval=$enable_base64;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_base64='wxUSE_BASE64
=yes'
6505 wx_cv_use_base64='wxUSE_BASE64
=no
'
6510 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6515 eval "$wx_cv_use_base64"
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_BASE64 = no; then
6524 result=$wxUSE_BASE64
6527 { echo "$as_me:$LINENO: result
: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6541 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6542 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6543 # Check whether --enable-backtrace was given.
6544 if test "${enable_backtrace+set}" = set; then
6545 enableval=$enable_backtrace;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6549 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6554 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6559 eval "$wx_cv_use_backtrace"
6561 if test x
"$enablestring" = xdisable
; then
6562 if test $wxUSE_STACKWALKER = no
; then
6568 result
=$wxUSE_STACKWALKER
6571 { echo "$as_me:$LINENO: result: $result" >&5
6572 echo "${ECHO_T}$result" >&6; }
6576 defaultval
=$wxUSE_ALL_FEATURES
6577 if test -z "$defaultval"; then
6578 if test x
"$enablestring" = xdisable
; then
6585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6586 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6587 # Check whether --enable-catch_segvs was given.
6588 if test "${enable_catch_segvs+set}" = set; then
6589 enableval
=$enable_catch_segvs;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6593 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6598 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6603 eval "$wx_cv_use_catch_segvs"
6605 if test x"$enablestring" = xdisable; then
6606 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6612 result=$wxUSE_ON_FATAL_EXCEPTION
6615 { echo "$as_me:$LINENO: result: $result" >&5
6616 echo "${ECHO_T}$result" >&6; }
6620 defaultval=$wxUSE_ALL_FEATURES
6621 if test -z "$defaultval"; then
6622 if test x"$enablestring" = xdisable; then
6629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6631 # Check whether --enable-cmdline was given.
6632 if test "${enable_cmdline+set}" = set; then
6633 enableval=$enable_cmdline;
6634 if test "$enableval" = yes; then
6635 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6637 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6642 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6647 eval "$wx_cv_use_cmdline"
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_CMDLINE_PARSER = no; then
6656 result=$wxUSE_CMDLINE_PARSER
6659 { echo "$as_me:$LINENO: result
: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6664 defaultval=$wxUSE_ALL_FEATURES
6665 if test -z "$defaultval"; then
6666 if test x"$enablestring" = xdisable; then
6673 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6674 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6675 # Check whether --enable-datetime was given.
6676 if test "${enable_datetime+set}" = set; then
6677 enableval=$enable_datetime;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6681 wx_cv_use_datetime='wxUSE_DATETIME=no'
6686 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6691 eval "$wx_cv_use_datetime"
6693 if test x
"$enablestring" = xdisable
; then
6694 if test $wxUSE_DATETIME = no
; then
6700 result
=$wxUSE_DATETIME
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6708 defaultval
=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x
"$enablestring" = xdisable
; then
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6719 # Check whether --enable-debugreport was given.
6720 if test "${enable_debugreport+set}" = set; then
6721 enableval
=$enable_debugreport;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6725 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6730 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6735 eval "$wx_cv_use_debugreport"
6737 if test x"$enablestring" = xdisable; then
6738 if test $wxUSE_DEBUGREPORT = no; then
6744 result=$wxUSE_DEBUGREPORT
6747 { echo "$as_me:$LINENO: result: $result" >&5
6748 echo "${ECHO_T}$result" >&6; }
6752 defaultval=$wxUSE_ALL_FEATURES
6753 if test -z "$defaultval"; then
6754 if test x"$enablestring" = xdisable; then
6761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6763 # Check whether --enable-dialupman was given.
6764 if test "${enable_dialupman+set}" = set; then
6765 enableval=$enable_dialupman;
6766 if test "$enableval" = yes; then
6767 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6769 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6774 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6779 eval "$wx_cv_use_dialupman"
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_DIALUP_MANAGER = no; then
6788 result=$wxUSE_DIALUP_MANAGER
6791 { echo "$as_me:$LINENO: result
: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6806 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6807 # Check whether --enable-dynlib was given.
6808 if test "${enable_dynlib+set}" = set; then
6809 enableval=$enable_dynlib;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6813 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6818 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6823 eval "$wx_cv_use_dynlib"
6825 if test x
"$enablestring" = xdisable
; then
6826 if test $wxUSE_DYNLIB_CLASS = no
; then
6832 result
=$wxUSE_DYNLIB_CLASS
6835 { echo "$as_me:$LINENO: result: $result" >&5
6836 echo "${ECHO_T}$result" >&6; }
6840 defaultval
=$wxUSE_ALL_FEATURES
6841 if test -z "$defaultval"; then
6842 if test x
"$enablestring" = xdisable
; then
6849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6850 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6851 # Check whether --enable-dynamicloader was given.
6852 if test "${enable_dynamicloader+set}" = set; then
6853 enableval
=$enable_dynamicloader;
6854 if test "$enableval" = yes; then
6855 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6857 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6862 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6867 eval "$wx_cv_use_dynamicloader"
6869 if test x"$enablestring" = xdisable; then
6870 if test $wxUSE_DYNAMIC_LOADER = no; then
6876 result=$wxUSE_DYNAMIC_LOADER
6879 { echo "$as_me:$LINENO: result: $result" >&5
6880 echo "${ECHO_T}$result" >&6; }
6884 defaultval=$wxUSE_ALL_FEATURES
6885 if test -z "$defaultval"; then
6886 if test x"$enablestring" = xdisable; then
6893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6894 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6895 # Check whether --enable-exceptions was given.
6896 if test "${enable_exceptions+set}" = set; then
6897 enableval=$enable_exceptions;
6898 if test "$enableval" = yes; then
6899 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6901 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6906 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6911 eval "$wx_cv_use_exceptions"
6913 if test x"$enablestring" = xdisable; then
6914 if test $wxUSE_EXCEPTIONS = no; then
6920 result=$wxUSE_EXCEPTIONS
6923 { echo "$as_me:$LINENO: result
: $result" >&5
6924 echo "${ECHO_T}$result" >&6; }
6928 defaultval=$wxUSE_ALL_FEATURES
6929 if test -z "$defaultval"; then
6930 if test x"$enablestring" = xdisable; then
6937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6938 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6939 # Check whether --enable-ffile was given.
6940 if test "${enable_ffile+set}" = set; then
6941 enableval=$enable_ffile;
6942 if test "$enableval" = yes; then
6943 wx_cv_use_ffile='wxUSE_FFILE=yes'
6945 wx_cv_use_ffile='wxUSE_FFILE=no'
6950 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6955 eval "$wx_cv_use_ffile"
6957 if test x
"$enablestring" = xdisable
; then
6958 if test $wxUSE_FFILE = no
; then
6967 { echo "$as_me:$LINENO: result: $result" >&5
6968 echo "${ECHO_T}$result" >&6; }
6972 defaultval
=$wxUSE_ALL_FEATURES
6973 if test -z "$defaultval"; then
6974 if test x
"$enablestring" = xdisable
; then
6981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6982 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6983 # Check whether --enable-file was given.
6984 if test "${enable_file+set}" = set; then
6985 enableval
=$enable_file;
6986 if test "$enableval" = yes; then
6987 wx_cv_use_file
='wxUSE_FILE=yes'
6989 wx_cv_use_file
='wxUSE_FILE=no'
6994 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6999 eval "$wx_cv_use_file"
7001 if test x"$enablestring" = xdisable; then
7002 if test $wxUSE_FILE = no; then
7011 { echo "$as_me:$LINENO: result: $result" >&5
7012 echo "${ECHO_T}$result" >&6; }
7016 defaultval=$wxUSE_ALL_FEATURES
7017 if test -z "$defaultval"; then
7018 if test x"$enablestring" = xdisable; then
7025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7026 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7027 # Check whether --enable-filesystem was given.
7028 if test "${enable_filesystem+set}" = set; then
7029 enableval=$enable_filesystem;
7030 if test "$enableval" = yes; then
7031 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7033 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7038 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7043 eval "$wx_cv_use_filesystem"
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_FILESYSTEM = no; then
7052 result=$wxUSE_FILESYSTEM
7055 { echo "$as_me:$LINENO: result
: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7070 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7071 # Check whether --enable-fontenum was given.
7072 if test "${enable_fontenum+set}" = set; then
7073 enableval=$enable_fontenum;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7077 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7082 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7087 eval "$wx_cv_use_fontenum"
7089 if test x
"$enablestring" = xdisable
; then
7090 if test $wxUSE_FONTENUM = no
; then
7096 result
=$wxUSE_FONTENUM
7099 { echo "$as_me:$LINENO: result: $result" >&5
7100 echo "${ECHO_T}$result" >&6; }
7104 defaultval
=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x
"$enablestring" = xdisable
; then
7113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7115 # Check whether --enable-fontmap was given.
7116 if test "${enable_fontmap+set}" = set; then
7117 enableval
=$enable_fontmap;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7121 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7126 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7131 eval "$wx_cv_use_fontmap"
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_FONTMAP = no; then
7140 result=$wxUSE_FONTMAP
7143 { echo "$as_me:$LINENO: result: $result" >&5
7144 echo "${ECHO_T}$result" >&6; }
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7159 # Check whether --enable-fs_archive was given.
7160 if test "${enable_fs_archive+set}" = set; then
7161 enableval=$enable_fs_archive;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7165 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7170 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7175 eval "$wx_cv_use_fs_archive"
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_FS_ARCHIVE = no; then
7184 result=$wxUSE_FS_ARCHIVE
7187 { echo "$as_me:$LINENO: result
: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7201 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7202 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7203 # Check whether --enable-fs_inet was given.
7204 if test "${enable_fs_inet+set}" = set; then
7205 enableval=$enable_fs_inet;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7209 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7214 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7219 eval "$wx_cv_use_fs_inet"
7221 if test x
"$enablestring" = xdisable
; then
7222 if test $wxUSE_FS_INET = no
; then
7228 result
=$wxUSE_FS_INET
7231 { echo "$as_me:$LINENO: result: $result" >&5
7232 echo "${ECHO_T}$result" >&6; }
7236 defaultval
=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x
"$enablestring" = xdisable
; then
7245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7247 # Check whether --enable-fs_zip was given.
7248 if test "${enable_fs_zip+set}" = set; then
7249 enableval
=$enable_fs_zip;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7253 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7258 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7263 eval "$wx_cv_use_fs_zip"
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_FS_ZIP = no; then
7272 result=$wxUSE_FS_ZIP
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7291 # Check whether --enable-fswatcher was given.
7292 if test "${enable_fswatcher+set}" = set; then
7293 enableval=$enable_fswatcher;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7297 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7302 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7307 eval "$wx_cv_use_fswatcher"
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_FSWATCHER = no; then
7316 result=$wxUSE_FSWATCHER
7319 { echo "$as_me:$LINENO: result
: $result" >&5
7320 echo "${ECHO_T}$result" >&6; }
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7333 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7334 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7335 # Check whether --enable-geometry was given.
7336 if test "${enable_geometry+set}" = set; then
7337 enableval=$enable_geometry;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7341 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7346 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7351 eval "$wx_cv_use_geometry"
7353 if test x
"$enablestring" = xdisable
; then
7354 if test $wxUSE_GEOMETRY = no
; then
7360 result
=$wxUSE_GEOMETRY
7363 { echo "$as_me:$LINENO: result: $result" >&5
7364 echo "${ECHO_T}$result" >&6; }
7368 defaultval
=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x
"$enablestring" = xdisable
; then
7377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7378 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7379 # Check whether --enable-log was given.
7380 if test "${enable_log+set}" = set; then
7381 enableval
=$enable_log;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_log
='wxUSE_LOG=yes'
7385 wx_cv_use_log
='wxUSE_LOG=no'
7390 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7395 eval "$wx_cv_use_log"
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_LOG = no; then
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7423 # Check whether --enable-longlong was given.
7424 if test "${enable_longlong+set}" = set; then
7425 enableval=$enable_longlong;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7429 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7434 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7439 eval "$wx_cv_use_longlong"
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_LONGLONG = no; then
7448 result=$wxUSE_LONGLONG
7451 { echo "$as_me:$LINENO: result
: $result" >&5
7452 echo "${ECHO_T}$result" >&6; }
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7465 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7466 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7467 # Check whether --enable-mimetype was given.
7468 if test "${enable_mimetype+set}" = set; then
7469 enableval=$enable_mimetype;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7473 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7478 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7483 eval "$wx_cv_use_mimetype"
7485 if test x
"$enablestring" = xdisable
; then
7486 if test $wxUSE_MIMETYPE = no
; then
7492 result
=$wxUSE_MIMETYPE
7495 { echo "$as_me:$LINENO: result: $result" >&5
7496 echo "${ECHO_T}$result" >&6; }
7500 defaultval
=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x
"$enablestring" = xdisable
; then
7509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7511 # Check whether --enable-printfposparam was given.
7512 if test "${enable_printfposparam+set}" = set; then
7513 enableval
=$enable_printfposparam;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7517 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7522 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7527 eval "$wx_cv_use_printfposparam"
7529 if test x"$enablestring" = xdisable; then
7530 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7536 result=$wxUSE_PRINTF_POS_PARAMS
7539 { echo "$as_me:$LINENO: result: $result" >&5
7540 echo "${ECHO_T}$result" >&6; }
7544 defaultval=$wxUSE_ALL_FEATURES
7545 if test -z "$defaultval"; then
7546 if test x"$enablestring" = xdisable; then
7553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7555 # Check whether --enable-snglinst was given.
7556 if test "${enable_snglinst+set}" = set; then
7557 enableval=$enable_snglinst;
7558 if test "$enableval" = yes; then
7559 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7561 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7566 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7571 eval "$wx_cv_use_snglinst"
7573 if test x"$enablestring" = xdisable; then
7574 if test $wxUSE_SNGLINST_CHECKER = no; then
7580 result=$wxUSE_SNGLINST_CHECKER
7583 { echo "$as_me:$LINENO: result
: $result" >&5
7584 echo "${ECHO_T}$result" >&6; }
7588 defaultval=$wxUSE_ALL_FEATURES
7589 if test -z "$defaultval"; then
7590 if test x"$enablestring" = xdisable; then
7597 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7598 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7599 # Check whether --enable-sound was given.
7600 if test "${enable_sound+set}" = set; then
7601 enableval=$enable_sound;
7602 if test "$enableval" = yes; then
7603 wx_cv_use_sound='wxUSE_SOUND=yes'
7605 wx_cv_use_sound='wxUSE_SOUND=no'
7610 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7615 eval "$wx_cv_use_sound"
7617 if test x
"$enablestring" = xdisable
; then
7618 if test $wxUSE_SOUND = no
; then
7627 { echo "$as_me:$LINENO: result: $result" >&5
7628 echo "${ECHO_T}$result" >&6; }
7632 defaultval
=$wxUSE_ALL_FEATURES
7633 if test -z "$defaultval"; then
7634 if test x
"$enablestring" = xdisable
; then
7641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7642 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7643 # Check whether --enable-stdpaths was given.
7644 if test "${enable_stdpaths+set}" = set; then
7645 enableval
=$enable_stdpaths;
7646 if test "$enableval" = yes; then
7647 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7649 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7654 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7659 eval "$wx_cv_use_stdpaths"
7661 if test x"$enablestring" = xdisable; then
7662 if test $wxUSE_STDPATHS = no; then
7668 result=$wxUSE_STDPATHS
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7676 defaultval=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x"$enablestring" = xdisable; then
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7687 # Check whether --enable-stopwatch was given.
7688 if test "${enable_stopwatch+set}" = set; then
7689 enableval=$enable_stopwatch;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7693 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7698 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7703 eval "$wx_cv_use_stopwatch"
7705 if test x"$enablestring" = xdisable; then
7706 if test $wxUSE_STOPWATCH = no; then
7712 result=$wxUSE_STOPWATCH
7715 { echo "$as_me:$LINENO: result
: $result" >&5
7716 echo "${ECHO_T}$result" >&6; }
7720 defaultval=$wxUSE_ALL_FEATURES
7721 if test -z "$defaultval"; then
7722 if test x"$enablestring" = xdisable; then
7729 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7730 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7731 # Check whether --enable-streams was given.
7732 if test "${enable_streams+set}" = set; then
7733 enableval=$enable_streams;
7734 if test "$enableval" = yes; then
7735 wx_cv_use_streams='wxUSE_STREAMS=yes'
7737 wx_cv_use_streams='wxUSE_STREAMS=no'
7742 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7747 eval "$wx_cv_use_streams"
7749 if test x
"$enablestring" = xdisable
; then
7750 if test $wxUSE_STREAMS = no
; then
7756 result
=$wxUSE_STREAMS
7759 { echo "$as_me:$LINENO: result: $result" >&5
7760 echo "${ECHO_T}$result" >&6; }
7764 defaultval
=$wxUSE_ALL_FEATURES
7765 if test -z "$defaultval"; then
7766 if test x
"$enablestring" = xdisable
; then
7773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7775 # Check whether --enable-sysoptions was given.
7776 if test "${enable_sysoptions+set}" = set; then
7777 enableval
=$enable_sysoptions;
7778 if test "$enableval" = yes; then
7779 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7781 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7786 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7791 eval "$wx_cv_use_sysoptions"
7793 if test x"$enablestring" = xdisable; then
7794 if test $wxUSE_SYSTEM_OPTIONS = no; then
7800 result=$wxUSE_SYSTEM_OPTIONS
7803 { echo "$as_me:$LINENO: result: $result" >&5
7804 echo "${ECHO_T}$result" >&6; }
7808 defaultval=$wxUSE_ALL_FEATURES
7809 if test -z "$defaultval"; then
7810 if test x"$enablestring" = xdisable; then
7817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7818 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7819 # Check whether --enable-tarstream was given.
7820 if test "${enable_tarstream+set}" = set; then
7821 enableval=$enable_tarstream;
7822 if test "$enableval" = yes; then
7823 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7825 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7830 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7835 eval "$wx_cv_use_tarstream"
7837 if test x"$enablestring" = xdisable; then
7838 if test $wxUSE_TARSTREAM = no; then
7844 result=$wxUSE_TARSTREAM
7847 { echo "$as_me:$LINENO: result
: $result" >&5
7848 echo "${ECHO_T}$result" >&6; }
7852 defaultval=$wxUSE_ALL_FEATURES
7853 if test -z "$defaultval"; then
7854 if test x"$enablestring" = xdisable; then
7861 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7862 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7863 # Check whether --enable-textbuf was given.
7864 if test "${enable_textbuf+set}" = set; then
7865 enableval=$enable_textbuf;
7866 if test "$enableval" = yes; then
7867 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7869 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7874 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7879 eval "$wx_cv_use_textbuf"
7881 if test x
"$enablestring" = xdisable
; then
7882 if test $wxUSE_TEXTBUFFER = no
; then
7888 result
=$wxUSE_TEXTBUFFER
7891 { echo "$as_me:$LINENO: result: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7896 defaultval
=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x
"$enablestring" = xdisable
; then
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7907 # Check whether --enable-textfile was given.
7908 if test "${enable_textfile+set}" = set; then
7909 enableval
=$enable_textfile;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7913 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7918 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7923 eval "$wx_cv_use_textfile"
7925 if test x"$enablestring" = xdisable; then
7926 if test $wxUSE_TEXTFILE = no; then
7932 result=$wxUSE_TEXTFILE
7935 { echo "$as_me:$LINENO: result: $result" >&5
7936 echo "${ECHO_T}$result" >&6; }
7940 defaultval=$wxUSE_ALL_FEATURES
7941 if test -z "$defaultval"; then
7942 if test x"$enablestring" = xdisable; then
7949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7951 # Check whether --enable-timer was given.
7952 if test "${enable_timer+set}" = set; then
7953 enableval=$enable_timer;
7954 if test "$enableval" = yes; then
7955 wx_cv_use_timer='wxUSE_TIMER
=yes'
7957 wx_cv_use_timer='wxUSE_TIMER
=no
'
7962 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7967 eval "$wx_cv_use_timer"
7969 if test x"$enablestring" = xdisable; then
7970 if test $wxUSE_TIMER = no; then
7979 { echo "$as_me:$LINENO: result
: $result" >&5
7980 echo "${ECHO_T}$result" >&6; }
7984 defaultval=$wxUSE_ALL_FEATURES
7985 if test -z "$defaultval"; then
7986 if test x"$enablestring" = xdisable; then
7993 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7994 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7995 # Check whether --enable-variant was given.
7996 if test "${enable_variant+set}" = set; then
7997 enableval=$enable_variant;
7998 if test "$enableval" = yes; then
7999 wx_cv_use_variant='wxUSE_VARIANT=yes'
8001 wx_cv_use_variant='wxUSE_VARIANT=no'
8006 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8011 eval "$wx_cv_use_variant"
8013 if test x
"$enablestring" = xdisable
; then
8014 if test $wxUSE_VARIANT = no
; then
8020 result
=$wxUSE_VARIANT
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8028 defaultval
=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x
"$enablestring" = xdisable
; then
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8039 # Check whether --enable-zipstream was given.
8040 if test "${enable_zipstream+set}" = set; then
8041 enableval
=$enable_zipstream;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8045 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8050 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8055 eval "$wx_cv_use_zipstream"
8057 if test x"$enablestring" = xdisable; then
8058 if test $wxUSE_ZIPSTREAM = no; then
8064 result=$wxUSE_ZIPSTREAM
8067 { echo "$as_me:$LINENO: result: $result" >&5
8068 echo "${ECHO_T}$result" >&6; }
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8084 # Check whether --enable-url was given.
8085 if test "${enable_url+set}" = set; then
8086 enableval=$enable_url;
8087 if test "$enableval" = yes; then
8088 wx_cv_use_url='wxUSE_URL
=yes'
8090 wx_cv_use_url='wxUSE_URL
=no
'
8095 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8100 eval "$wx_cv_use_url"
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_URL = no; then
8112 { echo "$as_me:$LINENO: result
: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8127 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8128 # Check whether --enable-protocol was given.
8129 if test "${enable_protocol+set}" = set; then
8130 enableval=$enable_protocol;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8134 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8139 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8144 eval "$wx_cv_use_protocol"
8146 if test x
"$enablestring" = xdisable
; then
8147 if test $wxUSE_PROTOCOL = no
; then
8153 result
=$wxUSE_PROTOCOL
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8161 defaultval
=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x
"$enablestring" = xdisable
; then
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8172 # Check whether --enable-protocol_http was given.
8173 if test "${enable_protocol_http+set}" = set; then
8174 enableval
=$enable_protocol_http;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8178 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8183 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8188 eval "$wx_cv_use_protocol_http"
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_PROTOCOL_HTTP = no; then
8197 result=$wxUSE_PROTOCOL_HTTP
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8216 # Check whether --enable-protocol_ftp was given.
8217 if test "${enable_protocol_ftp+set}" = set; then
8218 enableval=$enable_protocol_ftp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8222 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8227 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8232 eval "$wx_cv_use_protocol_ftp"
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_PROTOCOL_FTP = no; then
8241 result=$wxUSE_PROTOCOL_FTP
8244 { echo "$as_me:$LINENO: result
: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8259 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8260 # Check whether --enable-protocol_file was given.
8261 if test "${enable_protocol_file+set}" = set; then
8262 enableval=$enable_protocol_file;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8271 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8276 eval "$wx_cv_use_protocol_file"
8278 if test x
"$enablestring" = xdisable
; then
8279 if test $wxUSE_PROTOCOL_FILE = no
; then
8285 result
=$wxUSE_PROTOCOL_FILE
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8294 defaultval
=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x
"$enablestring" = xdisable
; then
8303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8305 # Check whether --enable-threads was given.
8306 if test "${enable_threads+set}" = set; then
8307 enableval
=$enable_threads;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_threads
='wxUSE_THREADS=yes'
8311 wx_cv_use_threads
='wxUSE_THREADS=no'
8316 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8321 eval "$wx_cv_use_threads"
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_THREADS = no; then
8330 result=$wxUSE_THREADS
8333 { echo "$as_me:$LINENO: result: $result" >&5
8334 echo "${ECHO_T}$result" >&6; }
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8350 # Check whether --enable-iniconf was given.
8351 if test "${enable_iniconf+set}" = set; then
8352 enableval=$enable_iniconf;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8356 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8361 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8366 eval "$wx_cv_use_iniconf"
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_INICONF = no; then
8375 result=$wxUSE_INICONF
8378 { echo "$as_me:$LINENO: result
: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8393 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8394 # Check whether --enable-regkey was given.
8395 if test "${enable_regkey+set}" = set; then
8396 enableval=$enable_regkey;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8400 wx_cv_use_regkey='wxUSE_REGKEY=no'
8405 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8410 eval "$wx_cv_use_regkey"
8412 if test x
"$enablestring" = xdisable
; then
8413 if test $wxUSE_REGKEY = no
; then
8419 result
=$wxUSE_REGKEY
8422 { echo "$as_me:$LINENO: result: $result" >&5
8423 echo "${ECHO_T}$result" >&6; }
8426 if test "$wxUSE_GUI" = "yes"; then
8431 defaultval
=$wxUSE_ALL_FEATURES
8432 if test -z "$defaultval"; then
8433 if test x
"$enablestring" = xdisable
; then
8440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8442 # Check whether --enable-docview was given.
8443 if test "${enable_docview+set}" = set; then
8444 enableval
=$enable_docview;
8445 if test "$enableval" = yes; then
8446 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8448 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8453 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8458 eval "$wx_cv_use_docview"
8460 if test x"$enablestring" = xdisable; then
8461 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8467 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8470 { echo "$as_me:$LINENO: result: $result" >&5
8471 echo "${ECHO_T}$result" >&6; }
8475 defaultval=$wxUSE_ALL_FEATURES
8476 if test -z "$defaultval"; then
8477 if test x"$enablestring" = xdisable; then
8484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8486 # Check whether --enable-help was given.
8487 if test "${enable_help+set}" = set; then
8488 enableval=$enable_help;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_help='wxUSE_HELP
=yes'
8492 wx_cv_use_help='wxUSE_HELP
=no
'
8497 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8502 eval "$wx_cv_use_help"
8504 if test x"$enablestring" = xdisable; then
8505 if test $wxUSE_HELP = no; then
8514 { echo "$as_me:$LINENO: result
: $result" >&5
8515 echo "${ECHO_T}$result" >&6; }
8519 defaultval=$wxUSE_ALL_FEATURES
8520 if test -z "$defaultval"; then
8521 if test x"$enablestring" = xdisable; then
8528 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8529 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8530 # Check whether --enable-mshtmlhelp was given.
8531 if test "${enable_mshtmlhelp+set}" = set; then
8532 enableval=$enable_mshtmlhelp;
8533 if test "$enableval" = yes; then
8534 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8536 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8541 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8546 eval "$wx_cv_use_mshtmlhelp"
8548 if test x
"$enablestring" = xdisable
; then
8549 if test $wxUSE_MS_HTML_HELP = no
; then
8555 result
=$wxUSE_MS_HTML_HELP
8558 { echo "$as_me:$LINENO: result: $result" >&5
8559 echo "${ECHO_T}$result" >&6; }
8563 defaultval
=$wxUSE_ALL_FEATURES
8564 if test -z "$defaultval"; then
8565 if test x
"$enablestring" = xdisable
; then
8572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8574 # Check whether --enable-html was given.
8575 if test "${enable_html+set}" = set; then
8576 enableval
=$enable_html;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_html
='wxUSE_HTML=yes'
8580 wx_cv_use_html
='wxUSE_HTML=no'
8585 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8590 eval "$wx_cv_use_html"
8592 if test x"$enablestring" = xdisable; then
8593 if test $wxUSE_HTML = no; then
8602 { echo "$as_me:$LINENO: result: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8607 defaultval=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x"$enablestring" = xdisable; then
8616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8618 # Check whether --enable-htmlhelp was given.
8619 if test "${enable_htmlhelp+set}" = set; then
8620 enableval=$enable_htmlhelp;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8624 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8629 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8634 eval "$wx_cv_use_htmlhelp"
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_WXHTML_HELP = no; then
8643 result=$wxUSE_WXHTML_HELP
8646 { echo "$as_me:$LINENO: result
: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8651 defaultval=$wxUSE_ALL_FEATURES
8652 if test -z "$defaultval"; then
8653 if test x"$enablestring" = xdisable; then
8660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8661 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8662 # Check whether --enable-xrc was given.
8663 if test "${enable_xrc+set}" = set; then
8664 enableval=$enable_xrc;
8665 if test "$enableval" = yes; then
8666 wx_cv_use_xrc='wxUSE_XRC=yes'
8668 wx_cv_use_xrc='wxUSE_XRC=no'
8673 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8678 eval "$wx_cv_use_xrc"
8680 if test x
"$enablestring" = xdisable
; then
8681 if test $wxUSE_XRC = no
; then
8690 { echo "$as_me:$LINENO: result: $result" >&5
8691 echo "${ECHO_T}$result" >&6; }
8695 defaultval
=$wxUSE_ALL_FEATURES
8696 if test -z "$defaultval"; then
8697 if test x
"$enablestring" = xdisable
; then
8704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8706 # Check whether --enable-aui was given.
8707 if test "${enable_aui+set}" = set; then
8708 enableval
=$enable_aui;
8709 if test "$enableval" = yes; then
8710 wx_cv_use_aui
='wxUSE_AUI=yes'
8712 wx_cv_use_aui
='wxUSE_AUI=no'
8717 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8722 eval "$wx_cv_use_aui"
8724 if test x"$enablestring" = xdisable; then
8725 if test $wxUSE_AUI = no; then
8734 { echo "$as_me:$LINENO: result: $result" >&5
8735 echo "${ECHO_T}$result" >&6; }
8739 defaultval=$wxUSE_ALL_FEATURES
8740 if test -z "$defaultval"; then
8741 if test x"$enablestring" = xdisable; then
8748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8750 # Check whether --enable-propgrid was given.
8751 if test "${enable_propgrid+set}" = set; then
8752 enableval=$enable_propgrid;
8753 if test "$enableval" = yes; then
8754 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8756 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8761 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8766 eval "$wx_cv_use_propgrid"
8768 if test x"$enablestring" = xdisable; then
8769 if test $wxUSE_PROPGRID = no; then
8775 result=$wxUSE_PROPGRID
8778 { echo "$as_me:$LINENO: result
: $result" >&5
8779 echo "${ECHO_T}$result" >&6; }
8783 defaultval=$wxUSE_ALL_FEATURES
8784 if test -z "$defaultval"; then
8785 if test x"$enablestring" = xdisable; then
8792 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8793 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8794 # Check whether --enable-ribbon was given.
8795 if test "${enable_ribbon+set}" = set; then
8796 enableval=$enable_ribbon;
8797 if test "$enableval" = yes; then
8798 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8800 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8805 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8810 eval "$wx_cv_use_ribbon"
8812 if test x
"$enablestring" = xdisable
; then
8813 if test $wxUSE_RIBBON = no
; then
8819 result
=$wxUSE_RIBBON
8822 { echo "$as_me:$LINENO: result: $result" >&5
8823 echo "${ECHO_T}$result" >&6; }
8827 defaultval
=$wxUSE_ALL_FEATURES
8828 if test -z "$defaultval"; then
8829 if test x
"$enablestring" = xdisable
; then
8836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8838 # Check whether --enable-stc was given.
8839 if test "${enable_stc+set}" = set; then
8840 enableval
=$enable_stc;
8841 if test "$enableval" = yes; then
8842 wx_cv_use_stc
='wxUSE_STC=yes'
8844 wx_cv_use_stc
='wxUSE_STC=no'
8849 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8854 eval "$wx_cv_use_stc"
8856 if test x"$enablestring" = xdisable; then
8857 if test $wxUSE_STC = no; then
8866 { echo "$as_me:$LINENO: result: $result" >&5
8867 echo "${ECHO_T}$result" >&6; }
8871 defaultval=$wxUSE_ALL_FEATURES
8872 if test -z "$defaultval"; then
8873 if test x"$enablestring" = xdisable; then
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8882 # Check whether --enable-constraints was given.
8883 if test "${enable_constraints+set}" = set; then
8884 enableval=$enable_constraints;
8885 if test "$enableval" = yes; then
8886 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8888 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8893 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8898 eval "$wx_cv_use_constraints"
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_CONSTRAINTS = no; then
8907 result=$wxUSE_CONSTRAINTS
8910 { echo "$as_me:$LINENO: result
: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8915 defaultval=$wxUSE_ALL_FEATURES
8916 if test -z "$defaultval"; then
8917 if test x"$enablestring" = xdisable; then
8924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8925 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8926 # Check whether --enable-loggui was given.
8927 if test "${enable_loggui+set}" = set; then
8928 enableval=$enable_loggui;
8929 if test "$enableval" = yes; then
8930 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8932 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8937 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8942 eval "$wx_cv_use_loggui"
8944 if test x
"$enablestring" = xdisable
; then
8945 if test $wxUSE_LOGGUI = no
; then
8951 result
=$wxUSE_LOGGUI
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8959 defaultval
=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x
"$enablestring" = xdisable
; then
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8970 # Check whether --enable-logwin was given.
8971 if test "${enable_logwin+set}" = set; then
8972 enableval
=$enable_logwin;
8973 if test "$enableval" = yes; then
8974 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8976 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8981 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8986 eval "$wx_cv_use_logwin"
8988 if test x"$enablestring" = xdisable; then
8989 if test $wxUSE_LOGWINDOW = no; then
8995 result=$wxUSE_LOGWINDOW
8998 { echo "$as_me:$LINENO: result: $result" >&5
8999 echo "${ECHO_T}$result" >&6; }
9003 defaultval=$wxUSE_ALL_FEATURES
9004 if test -z "$defaultval"; then
9005 if test x"$enablestring" = xdisable; then
9012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9013 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9014 # Check whether --enable-logdialog was given.
9015 if test "${enable_logdialog+set}" = set; then
9016 enableval=$enable_logdialog;
9017 if test "$enableval" = yes; then
9018 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9020 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9025 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9030 eval "$wx_cv_use_logdialog"
9032 if test x"$enablestring" = xdisable; then
9033 if test $wxUSE_LOGDIALOG = no; then
9039 result=$wxUSE_LOGDIALOG
9042 { echo "$as_me:$LINENO: result
: $result" >&5
9043 echo "${ECHO_T}$result" >&6; }
9047 defaultval=$wxUSE_ALL_FEATURES
9048 if test -z "$defaultval"; then
9049 if test x"$enablestring" = xdisable; then
9056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9057 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9058 # Check whether --enable-mdi was given.
9059 if test "${enable_mdi+set}" = set; then
9060 enableval=$enable_mdi;
9061 if test "$enableval" = yes; then
9062 wx_cv_use_mdi='wxUSE_MDI=yes'
9064 wx_cv_use_mdi='wxUSE_MDI=no'
9069 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9074 eval "$wx_cv_use_mdi"
9076 if test x
"$enablestring" = xdisable
; then
9077 if test $wxUSE_MDI = no
; then
9086 { echo "$as_me:$LINENO: result: $result" >&5
9087 echo "${ECHO_T}$result" >&6; }
9091 defaultval
=$wxUSE_ALL_FEATURES
9092 if test -z "$defaultval"; then
9093 if test x
"$enablestring" = xdisable
; then
9100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9101 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9102 # Check whether --enable-mdidoc was given.
9103 if test "${enable_mdidoc+set}" = set; then
9104 enableval
=$enable_mdidoc;
9105 if test "$enableval" = yes; then
9106 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9108 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9113 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9118 eval "$wx_cv_use_mdidoc"
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_MDI_ARCHITECTURE = no; then
9127 result=$wxUSE_MDI_ARCHITECTURE
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9135 defaultval=$wxUSE_ALL_FEATURES
9136 if test -z "$defaultval"; then
9137 if test x"$enablestring" = xdisable; then
9144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9146 # Check whether --enable-mediactrl was given.
9147 if test "${enable_mediactrl+set}" = set; then
9148 enableval=$enable_mediactrl;
9149 if test "$enableval" = yes; then
9150 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9152 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9157 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9162 eval "$wx_cv_use_mediactrl"
9164 if test x"$enablestring" = xdisable; then
9165 if test $wxUSE_MEDIACTRL = no; then
9171 result=$wxUSE_MEDIACTRL
9174 { echo "$as_me:$LINENO: result
: $result" >&5
9175 echo "${ECHO_T}$result" >&6; }
9179 defaultval=$wxUSE_ALL_FEATURES
9180 if test -z "$defaultval"; then
9181 if test x"$enablestring" = xdisable; then
9188 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9189 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9190 # Check whether --enable-gstreamer8 was given.
9191 if test "${enable_gstreamer8+set}" = set; then
9192 enableval=$enable_gstreamer8;
9193 if test "$enableval" = yes; then
9194 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9196 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9201 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9206 eval "$wx_cv_use_gstreamer8"
9208 if test x
"$enablestring" = xdisable
; then
9209 if test $wxUSE_GSTREAMER8 = no
; then
9215 result
=$wxUSE_GSTREAMER8
9218 { echo "$as_me:$LINENO: result: $result" >&5
9219 echo "${ECHO_T}$result" >&6; }
9223 defaultval
=$wxUSE_ALL_FEATURES
9224 if test -z "$defaultval"; then
9225 if test x
"$enablestring" = xdisable
; then
9232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9234 # Check whether --enable-webkit was given.
9235 if test "${enable_webkit+set}" = set; then
9236 enableval
=$enable_webkit;
9237 if test "$enableval" = yes; then
9238 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9240 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9245 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9250 eval "$wx_cv_use_webkit"
9252 if test x"$enablestring" = xdisable; then
9253 if test $wxUSE_WEBKIT = no; then
9259 result=$wxUSE_WEBKIT
9262 { echo "$as_me:$LINENO: result: $result" >&5
9263 echo "${ECHO_T}$result" >&6; }
9267 defaultval=$wxUSE_ALL_FEATURES
9268 if test -z "$defaultval"; then
9269 if test x"$enablestring" = xdisable; then
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9278 # Check whether --enable-richtext was given.
9279 if test "${enable_richtext+set}" = set; then
9280 enableval=$enable_richtext;
9281 if test "$enableval" = yes; then
9282 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9284 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9289 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9294 eval "$wx_cv_use_richtext"
9296 if test x"$enablestring" = xdisable; then
9297 if test $wxUSE_RICHTEXT = no; then
9303 result=$wxUSE_RICHTEXT
9306 { echo "$as_me:$LINENO: result
: $result" >&5
9307 echo "${ECHO_T}$result" >&6; }
9311 defaultval=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x"$enablestring" = xdisable; then
9320 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9321 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9322 # Check whether --enable-postscript was given.
9323 if test "${enable_postscript+set}" = set; then
9324 enableval=$enable_postscript;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9328 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9333 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9338 eval "$wx_cv_use_postscript"
9340 if test x
"$enablestring" = xdisable
; then
9341 if test $wxUSE_POSTSCRIPT = no
; then
9347 result
=$wxUSE_POSTSCRIPT
9350 { echo "$as_me:$LINENO: result: $result" >&5
9351 echo "${ECHO_T}$result" >&6; }
9355 defaultval
=$wxUSE_ALL_FEATURES
9356 if test -z "$defaultval"; then
9357 if test x
"$enablestring" = xdisable
; then
9364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9366 # Check whether --enable-printarch was given.
9367 if test "${enable_printarch+set}" = set; then
9368 enableval
=$enable_printarch;
9369 if test "$enableval" = yes; then
9370 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9372 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9377 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9382 eval "$wx_cv_use_printarch"
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9391 result=$wxUSE_PRINTING_ARCHITECTURE
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9410 # Check whether --enable-svg was given.
9411 if test "${enable_svg+set}" = set; then
9412 enableval=$enable_svg;
9413 if test "$enableval" = yes; then
9414 wx_cv_use_svg='wxUSE_SVG
=yes'
9416 wx_cv_use_svg='wxUSE_SVG
=no
'
9421 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9426 eval "$wx_cv_use_svg"
9428 if test x"$enablestring" = xdisable; then
9429 if test $wxUSE_SVG = no; then
9438 { echo "$as_me:$LINENO: result
: $result" >&5
9439 echo "${ECHO_T}$result" >&6; }
9442 if test "$wxUSE_MAC" != 1; then
9445 defaultval=$wxUSE_ALL_FEATURES
9446 if test -z "$defaultval"; then
9447 if test x"$enablestring" = xdisable; then
9454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9455 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9456 # Check whether --enable-graphics_ctx was given.
9457 if test "${enable_graphics_ctx+set}" = set; then
9458 enableval=$enable_graphics_ctx;
9459 if test "$enableval" = yes; then
9460 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9462 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9467 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9472 eval "$wx_cv_use_graphics_ctx"
9474 if test x
"$enablestring" = xdisable
; then
9475 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9481 result
=$wxUSE_GRAPHICS_CONTEXT
9484 { echo "$as_me:$LINENO: result: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9492 defaultval
=$wxUSE_ALL_FEATURES
9493 if test -z "$defaultval"; then
9494 if test x
"$enablestring" = xdisable
; then
9501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9502 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9503 # Check whether --enable-clipboard was given.
9504 if test "${enable_clipboard+set}" = set; then
9505 enableval
=$enable_clipboard;
9506 if test "$enableval" = yes; then
9507 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9509 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9514 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9519 eval "$wx_cv_use_clipboard"
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_CLIPBOARD = no; then
9528 result=$wxUSE_CLIPBOARD
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9547 # Check whether --enable-dnd was given.
9548 if test "${enable_dnd+set}" = set; then
9549 enableval=$enable_dnd;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9553 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9558 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9563 eval "$wx_cv_use_dnd"
9565 if test x"$enablestring" = xdisable; then
9566 if test $wxUSE_DRAG_AND_DROP = no; then
9572 result=$wxUSE_DRAG_AND_DROP
9575 { echo "$as_me:$LINENO: result
: $result" >&5
9576 echo "${ECHO_T}$result" >&6; }
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9589 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9590 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9591 # Check whether --enable-metafile was given.
9592 if test "${enable_metafile+set}" = set; then
9593 enableval=$enable_metafile;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9597 wx_cv_use_metafile='wxUSE_METAFILE=no'
9602 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9607 eval "$wx_cv_use_metafile"
9609 if test x
"$enablestring" = xdisable
; then
9610 if test $wxUSE_METAFILE = no
; then
9616 result
=$wxUSE_METAFILE
9619 { echo "$as_me:$LINENO: result: $result" >&5
9620 echo "${ECHO_T}$result" >&6; }
9624 DEFAULT_wxUSE_CONTROLS
=none
9626 enablestring
=disable
9628 if test -z "$defaultval"; then
9629 if test x
"$enablestring" = xdisable
; then
9636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9638 # Check whether --enable-controls was given.
9639 if test "${enable_controls+set}" = set; then
9640 enableval
=$enable_controls;
9641 if test "$enableval" = yes; then
9642 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9644 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9649 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9654 eval "$wx_cv_use_controls"
9656 if test x"$enablestring" = xdisable; then
9657 if test $wxUSE_CONTROLS = no; then
9663 result=$wxUSE_CONTROLS
9666 { echo "$as_me:$LINENO: result: $result" >&5
9667 echo "${ECHO_T}$result" >&6; }
9670 if test "$wxUSE_CONTROLS" = "no"; then
9671 DEFAULT_wxUSE_ACCEL=no
9672 DEFAULT_wxUSE_ANIMATIONCTRL=no
9673 DEFAULT_wxUSE_BMPBUTTON=no
9674 DEFAULT_wxUSE_BUTTON=no
9675 DEFAULT_wxUSE_CALCTRL=no
9676 DEFAULT_wxUSE_CARET=no
9677 DEFAULT_wxUSE_CHECKBOX=no
9678 DEFAULT_wxUSE_CHECKLISTBOX=no
9679 DEFAULT_wxUSE_CHOICE=no
9680 DEFAULT_wxUSE_CHOICEBOOK=no
9681 DEFAULT_wxUSE_COLLPANE=no
9682 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9683 DEFAULT_wxUSE_COMBOBOX=no
9684 DEFAULT_wxUSE_COMBOBOX=no
9685 DEFAULT_wxUSE_DATAVIEWCTRL=no
9686 DEFAULT_wxUSE_DATEPICKCTRL=no
9687 DEFAULT_wxUSE_DETECT_SM=no
9688 DEFAULT_wxUSE_DIRPICKERCTRL=no
9689 DEFAULT_wxUSE_DISPLAY=no
9690 DEFAULT_wxUSE_FILECTRL=no
9691 DEFAULT_wxUSE_FILEPICKERCTRL=no
9692 DEFAULT_wxUSE_FONTPICKERCTRL=no
9693 DEFAULT_wxUSE_GAUGE=no
9694 DEFAULT_wxUSE_GRID=no
9695 DEFAULT_wxUSE_HEADERCTRL=no
9696 DEFAULT_wxUSE_HYPERLINKCTRL=no
9697 DEFAULT_wxUSE_IMAGLIST=no
9698 DEFAULT_wxUSE_LISTBOOK=no
9699 DEFAULT_wxUSE_LISTBOX=no
9700 DEFAULT_wxUSE_LISTCTRL=no
9701 DEFAULT_wxUSE_NOTEBOOK=no
9702 DEFAULT_wxUSE_POPUPWIN=no
9703 DEFAULT_wxUSE_RADIOBOX=no
9704 DEFAULT_wxUSE_RADIOBTN=no
9705 DEFAULT_wxUSE_REARRANGECTRL=no
9706 DEFAULT_wxUSE_SASH=no
9707 DEFAULT_wxUSE_SCROLLBAR=no
9708 DEFAULT_wxUSE_SEARCHCTRL=no
9709 DEFAULT_wxUSE_SLIDER=no
9710 DEFAULT_wxUSE_SPINBTN=no
9711 DEFAULT_wxUSE_SPINCTRL=no
9712 DEFAULT_wxUSE_SPLITTER=no
9713 DEFAULT_wxUSE_STATBMP=no
9714 DEFAULT_wxUSE_STATBOX=no
9715 DEFAULT_wxUSE_STATLINE=no
9716 DEFAULT_wxUSE_STATUSBAR=no
9717 DEFAULT_wxUSE_TIPWINDOW=no
9718 DEFAULT_wxUSE_TOGGLEBTN=no
9719 DEFAULT_wxUSE_TOOLBAR=no
9720 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9721 DEFAULT_wxUSE_TOOLBOOK=no
9722 DEFAULT_wxUSE_TOOLTIPS=no
9723 DEFAULT_wxUSE_TREEBOOK=no
9724 DEFAULT_wxUSE_TREECTRL=no
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9740 # Check whether --enable-accel was given.
9741 if test "${enable_accel+set}" = set; then
9742 enableval=$enable_accel;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9746 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9751 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9756 eval "$wx_cv_use_accel"
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_ACCEL = no; then
9768 { echo "$as_me:$LINENO: result
: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9782 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9783 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9784 # Check whether --enable-animatectrl was given.
9785 if test "${enable_animatectrl+set}" = set; then
9786 enableval=$enable_animatectrl;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9790 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9795 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9800 eval "$wx_cv_use_animatectrl"
9802 if test x
"$enablestring" = xdisable
; then
9803 if test $wxUSE_ANIMATIONCTRL = no
; then
9809 result
=$wxUSE_ANIMATIONCTRL
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval
=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x
"$enablestring" = xdisable
; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9828 # Check whether --enable-bmpbutton was given.
9829 if test "${enable_bmpbutton+set}" = set; then
9830 enableval
=$enable_bmpbutton;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9834 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9839 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9844 eval "$wx_cv_use_bmpbutton"
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_BMPBUTTON = no; then
9853 result=$wxUSE_BMPBUTTON
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9872 # Check whether --enable-bmpcombobox was given.
9873 if test "${enable_bmpcombobox+set}" = set; then
9874 enableval=$enable_bmpcombobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9878 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9883 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9888 eval "$wx_cv_use_bmpcombobox"
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_BITMAPCOMBOBOX = no; then
9897 result=$wxUSE_BITMAPCOMBOBOX
9900 { echo "$as_me:$LINENO: result
: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9914 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9915 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9916 # Check whether --enable-button was given.
9917 if test "${enable_button+set}" = set; then
9918 enableval=$enable_button;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_button='wxUSE_BUTTON=yes'
9922 wx_cv_use_button='wxUSE_BUTTON=no'
9927 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9932 eval "$wx_cv_use_button"
9934 if test x
"$enablestring" = xdisable
; then
9935 if test $wxUSE_BUTTON = no
; then
9941 result
=$wxUSE_BUTTON
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9949 defaultval
=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x
"$enablestring" = xdisable
; then
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9960 # Check whether --enable-calendar was given.
9961 if test "${enable_calendar+set}" = set; then
9962 enableval
=$enable_calendar;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9966 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9971 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9976 eval "$wx_cv_use_calendar"
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_CALCTRL = no; then
9985 result=$wxUSE_CALCTRL
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10004 # Check whether --enable-caret was given.
10005 if test "${enable_caret+set}" = set; then
10006 enableval=$enable_caret;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_caret='wxUSE_CARET
=yes'
10010 wx_cv_use_caret='wxUSE_CARET
=no
'
10015 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10020 eval "$wx_cv_use_caret"
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_CARET = no; then
10029 result=$wxUSE_CARET
10032 { echo "$as_me:$LINENO: result
: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10046 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10047 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10048 # Check whether --enable-checkbox was given.
10049 if test "${enable_checkbox+set}" = set; then
10050 enableval=$enable_checkbox;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10054 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10059 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10064 eval "$wx_cv_use_checkbox"
10066 if test x
"$enablestring" = xdisable
; then
10067 if test $wxUSE_CHECKBOX = no
; then
10073 result
=$wxUSE_CHECKBOX
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10081 defaultval
=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x
"$enablestring" = xdisable
; then
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10092 # Check whether --enable-checklst was given.
10093 if test "${enable_checklst+set}" = set; then
10094 enableval
=$enable_checklst;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10098 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10103 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10108 eval "$wx_cv_use_checklst"
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_CHECKLST = no; then
10117 result=$wxUSE_CHECKLST
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10136 # Check whether --enable-choice was given.
10137 if test "${enable_choice+set}" = set; then
10138 enableval=$enable_choice;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10142 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10147 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10152 eval "$wx_cv_use_choice"
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_CHOICE = no; then
10161 result=$wxUSE_CHOICE
10164 { echo "$as_me:$LINENO: result
: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10178 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10179 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10180 # Check whether --enable-choicebook was given.
10181 if test "${enable_choicebook+set}" = set; then
10182 enableval=$enable_choicebook;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10186 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10191 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10196 eval "$wx_cv_use_choicebook"
10198 if test x
"$enablestring" = xdisable
; then
10199 if test $wxUSE_CHOICEBOOK = no
; then
10205 result
=$wxUSE_CHOICEBOOK
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10213 defaultval
=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x
"$enablestring" = xdisable
; then
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10224 # Check whether --enable-collpane was given.
10225 if test "${enable_collpane+set}" = set; then
10226 enableval
=$enable_collpane;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10230 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10235 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10240 eval "$wx_cv_use_collpane"
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_COLLPANE = no; then
10249 result=$wxUSE_COLLPANE
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-colourpicker was given.
10269 if test "${enable_colourpicker+set}" = set; then
10270 enableval=$enable_colourpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10274 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10279 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10284 eval "$wx_cv_use_colourpicker"
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_COLOURPICKERCTRL = no; then
10293 result=$wxUSE_COLOURPICKERCTRL
10296 { echo "$as_me:$LINENO: result
: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10310 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10311 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10312 # Check whether --enable-combobox was given.
10313 if test "${enable_combobox+set}" = set; then
10314 enableval=$enable_combobox;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10318 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10323 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10328 eval "$wx_cv_use_combobox"
10330 if test x
"$enablestring" = xdisable
; then
10331 if test $wxUSE_COMBOBOX = no
; then
10337 result
=$wxUSE_COMBOBOX
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10345 defaultval
=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x
"$enablestring" = xdisable
; then
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10356 # Check whether --enable-comboctrl was given.
10357 if test "${enable_comboctrl+set}" = set; then
10358 enableval
=$enable_comboctrl;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10362 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10367 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10372 eval "$wx_cv_use_comboctrl"
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_COMBOCTRL = no; then
10381 result=$wxUSE_COMBOCTRL
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10416 eval "$wx_cv_use_dataviewctrl"
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = no; then
10425 result=$wxUSE_DATAVIEWCTRL
10428 { echo "$as_me:$LINENO: result
: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10442 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10443 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10444 # Check whether --enable-datepick was given.
10445 if test "${enable_datepick+set}" = set; then
10446 enableval=$enable_datepick;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10450 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10455 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10460 eval "$wx_cv_use_datepick"
10462 if test x
"$enablestring" = xdisable
; then
10463 if test $wxUSE_DATEPICKCTRL = no
; then
10469 result
=$wxUSE_DATEPICKCTRL
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10477 defaultval
=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x
"$enablestring" = xdisable
; then
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10488 # Check whether --enable-detect_sm was given.
10489 if test "${enable_detect_sm+set}" = set; then
10490 enableval
=$enable_detect_sm;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10494 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10499 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10504 eval "$wx_cv_use_detect_sm"
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_DETECT_SM = no; then
10513 result=$wxUSE_DETECT_SM
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10532 # Check whether --enable-dirpicker was given.
10533 if test "${enable_dirpicker+set}" = set; then
10534 enableval=$enable_dirpicker;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10538 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10543 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10548 eval "$wx_cv_use_dirpicker"
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_DIRPICKERCTRL = no; then
10557 result=$wxUSE_DIRPICKERCTRL
10560 { echo "$as_me:$LINENO: result
: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10574 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10575 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10576 # Check whether --enable-display was given.
10577 if test "${enable_display+set}" = set; then
10578 enableval=$enable_display;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_display='wxUSE_DISPLAY=yes'
10582 wx_cv_use_display='wxUSE_DISPLAY=no'
10587 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10592 eval "$wx_cv_use_display"
10594 if test x
"$enablestring" = xdisable
; then
10595 if test $wxUSE_DISPLAY = no
; then
10601 result
=$wxUSE_DISPLAY
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10609 defaultval
=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x
"$enablestring" = xdisable
; then
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10620 # Check whether --enable-editablebox was given.
10621 if test "${enable_editablebox+set}" = set; then
10622 enableval
=$enable_editablebox;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10626 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10631 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10636 eval "$wx_cv_use_editablebox"
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_EDITABLELISTBOX = no; then
10645 result=$wxUSE_EDITABLELISTBOX
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10664 # Check whether --enable-filectrl was given.
10665 if test "${enable_filectrl+set}" = set; then
10666 enableval=$enable_filectrl;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10670 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10675 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10680 eval "$wx_cv_use_filectrl"
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_FILECTRL = no; then
10689 result=$wxUSE_FILECTRL
10692 { echo "$as_me:$LINENO: result
: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10706 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10707 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10708 # Check whether --enable-filepicker was given.
10709 if test "${enable_filepicker+set}" = set; then
10710 enableval=$enable_filepicker;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10714 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10719 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10724 eval "$wx_cv_use_filepicker"
10726 if test x
"$enablestring" = xdisable
; then
10727 if test $wxUSE_FILEPICKERCTRL = no
; then
10733 result
=$wxUSE_FILEPICKERCTRL
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10741 defaultval
=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x
"$enablestring" = xdisable
; then
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10752 # Check whether --enable-fontpicker was given.
10753 if test "${enable_fontpicker+set}" = set; then
10754 enableval
=$enable_fontpicker;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10758 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10763 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10768 eval "$wx_cv_use_fontpicker"
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_FONTPICKERCTRL = no; then
10777 result=$wxUSE_FONTPICKERCTRL
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10796 # Check whether --enable-gauge was given.
10797 if test "${enable_gauge+set}" = set; then
10798 enableval=$enable_gauge;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10802 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10807 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10812 eval "$wx_cv_use_gauge"
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_GAUGE = no; then
10821 result=$wxUSE_GAUGE
10824 { echo "$as_me:$LINENO: result
: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10839 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10840 # Check whether --enable-grid was given.
10841 if test "${enable_grid+set}" = set; then
10842 enableval=$enable_grid;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_grid='wxUSE_GRID=yes'
10846 wx_cv_use_grid='wxUSE_GRID=no'
10851 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10856 eval "$wx_cv_use_grid"
10858 if test x
"$enablestring" = xdisable
; then
10859 if test $wxUSE_GRID = no
; then
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10873 defaultval
=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x
"$enablestring" = xdisable
; then
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10884 # Check whether --enable-headerctrl was given.
10885 if test "${enable_headerctrl+set}" = set; then
10886 enableval
=$enable_headerctrl;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10890 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10895 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10900 eval "$wx_cv_use_headerctrl"
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_HEADERCTRL = no; then
10909 result=$wxUSE_HEADERCTRL
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10928 # Check whether --enable-hyperlink was given.
10929 if test "${enable_hyperlink+set}" = set; then
10930 enableval=$enable_hyperlink;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10934 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10939 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10944 eval "$wx_cv_use_hyperlink"
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_HYPERLINKCTRL = no; then
10953 result=$wxUSE_HYPERLINKCTRL
10956 { echo "$as_me:$LINENO: result
: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10970 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10971 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10972 # Check whether --enable-imaglist was given.
10973 if test "${enable_imaglist+set}" = set; then
10974 enableval=$enable_imaglist;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10978 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10983 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10988 eval "$wx_cv_use_imaglist"
10990 if test x
"$enablestring" = xdisable
; then
10991 if test $wxUSE_IMAGLIST = no
; then
10997 result
=$wxUSE_IMAGLIST
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11005 defaultval
=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x
"$enablestring" = xdisable
; then
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11016 # Check whether --enable-infobar was given.
11017 if test "${enable_infobar+set}" = set; then
11018 enableval
=$enable_infobar;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
11022 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
11027 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11032 eval "$wx_cv_use_infobar"
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_INFOBAR = no; then
11041 result=$wxUSE_INFOBAR
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11060 # Check whether --enable-listbook was given.
11061 if test "${enable_listbook+set}" = set; then
11062 enableval=$enable_listbook;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
11066 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11071 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11076 eval "$wx_cv_use_listbook"
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_LISTBOOK = no; then
11085 result=$wxUSE_LISTBOOK
11088 { echo "$as_me:$LINENO: result
: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
11103 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11104 # Check whether --enable-listbox was given.
11105 if test "${enable_listbox+set}" = set; then
11106 enableval=$enable_listbox;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11110 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11115 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11120 eval "$wx_cv_use_listbox"
11122 if test x
"$enablestring" = xdisable
; then
11123 if test $wxUSE_LISTBOX = no
; then
11129 result
=$wxUSE_LISTBOX
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11137 defaultval
=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x
"$enablestring" = xdisable
; then
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11148 # Check whether --enable-listctrl was given.
11149 if test "${enable_listctrl+set}" = set; then
11150 enableval
=$enable_listctrl;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11154 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11159 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11164 eval "$wx_cv_use_listctrl"
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_LISTCTRL = no; then
11173 result=$wxUSE_LISTCTRL
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11192 # Check whether --enable-notebook was given.
11193 if test "${enable_notebook+set}" = set; then
11194 enableval=$enable_notebook;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11198 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11203 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11208 eval "$wx_cv_use_notebook"
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_NOTEBOOK = no; then
11217 result=$wxUSE_NOTEBOOK
11220 { echo "$as_me:$LINENO: result
: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11234 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
11235 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11236 # Check whether --enable-notifmsg was given.
11237 if test "${enable_notifmsg+set}" = set; then
11238 enableval=$enable_notifmsg;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11242 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11247 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11252 eval "$wx_cv_use_notifmsg"
11254 if test x
"$enablestring" = xdisable
; then
11255 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11261 result
=$wxUSE_NOTIFICATION_MESSAGE
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11269 defaultval
=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x
"$enablestring" = xdisable
; then
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11280 # Check whether --enable-odcombobox was given.
11281 if test "${enable_odcombobox+set}" = set; then
11282 enableval
=$enable_odcombobox;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11286 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11291 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11296 eval "$wx_cv_use_odcombobox"
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_ODCOMBOBOX = no; then
11305 result=$wxUSE_ODCOMBOBOX
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11324 # Check whether --enable-popupwin was given.
11325 if test "${enable_popupwin+set}" = set; then
11326 enableval=$enable_popupwin;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11330 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11335 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11340 eval "$wx_cv_use_popupwin"
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_POPUPWIN = no; then
11349 result=$wxUSE_POPUPWIN
11352 { echo "$as_me:$LINENO: result
: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11366 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11367 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11368 # Check whether --enable-radiobox was given.
11369 if test "${enable_radiobox+set}" = set; then
11370 enableval=$enable_radiobox;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11374 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11379 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11384 eval "$wx_cv_use_radiobox"
11386 if test x
"$enablestring" = xdisable
; then
11387 if test $wxUSE_RADIOBOX = no
; then
11393 result
=$wxUSE_RADIOBOX
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11401 defaultval
=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x
"$enablestring" = xdisable
; then
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11412 # Check whether --enable-radiobtn was given.
11413 if test "${enable_radiobtn+set}" = set; then
11414 enableval
=$enable_radiobtn;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11418 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11423 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11428 eval "$wx_cv_use_radiobtn"
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_RADIOBTN = no; then
11437 result=$wxUSE_RADIOBTN
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11456 # Check whether --enable-rearrangectrl was given.
11457 if test "${enable_rearrangectrl+set}" = set; then
11458 enableval=$enable_rearrangectrl;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11462 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11467 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11472 eval "$wx_cv_use_rearrangectrl"
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_REARRANGECTRL = no; then
11481 result=$wxUSE_REARRANGECTRL
11484 { echo "$as_me:$LINENO: result
: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11499 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11500 # Check whether --enable-sash was given.
11501 if test "${enable_sash+set}" = set; then
11502 enableval=$enable_sash;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_sash='wxUSE_SASH=yes'
11506 wx_cv_use_sash='wxUSE_SASH=no'
11511 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11516 eval "$wx_cv_use_sash"
11518 if test x
"$enablestring" = xdisable
; then
11519 if test $wxUSE_SASH = no
; then
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11533 defaultval
=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x
"$enablestring" = xdisable
; then
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11544 # Check whether --enable-scrollbar was given.
11545 if test "${enable_scrollbar+set}" = set; then
11546 enableval
=$enable_scrollbar;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11550 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11555 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11560 eval "$wx_cv_use_scrollbar"
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_SCROLLBAR = no; then
11569 result=$wxUSE_SCROLLBAR
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11588 # Check whether --enable-searchctrl was given.
11589 if test "${enable_searchctrl+set}" = set; then
11590 enableval=$enable_searchctrl;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11594 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11599 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11604 eval "$wx_cv_use_searchctrl"
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_SEARCHCTRL = no; then
11613 result=$wxUSE_SEARCHCTRL
11616 { echo "$as_me:$LINENO: result
: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11631 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11632 # Check whether --enable-slider was given.
11633 if test "${enable_slider+set}" = set; then
11634 enableval=$enable_slider;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_slider='wxUSE_SLIDER=yes'
11638 wx_cv_use_slider='wxUSE_SLIDER=no'
11643 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11648 eval "$wx_cv_use_slider"
11650 if test x
"$enablestring" = xdisable
; then
11651 if test $wxUSE_SLIDER = no
; then
11657 result
=$wxUSE_SLIDER
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11665 defaultval
=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x
"$enablestring" = xdisable
; then
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11676 # Check whether --enable-spinbtn was given.
11677 if test "${enable_spinbtn+set}" = set; then
11678 enableval
=$enable_spinbtn;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11682 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11687 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11692 eval "$wx_cv_use_spinbtn"
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_SPINBTN = no; then
11701 result=$wxUSE_SPINBTN
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11720 # Check whether --enable-spinctrl was given.
11721 if test "${enable_spinctrl+set}" = set; then
11722 enableval=$enable_spinctrl;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11726 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11731 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11736 eval "$wx_cv_use_spinctrl"
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_SPINCTRL = no; then
11745 result=$wxUSE_SPINCTRL
11748 { echo "$as_me:$LINENO: result
: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11762 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11763 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11764 # Check whether --enable-splitter was given.
11765 if test "${enable_splitter+set}" = set; then
11766 enableval=$enable_splitter;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11770 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11775 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11780 eval "$wx_cv_use_splitter"
11782 if test x
"$enablestring" = xdisable
; then
11783 if test $wxUSE_SPLITTER = no
; then
11789 result
=$wxUSE_SPLITTER
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11797 defaultval
=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x
"$enablestring" = xdisable
; then
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11808 # Check whether --enable-statbmp was given.
11809 if test "${enable_statbmp+set}" = set; then
11810 enableval
=$enable_statbmp;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11814 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11819 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11824 eval "$wx_cv_use_statbmp"
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_STATBMP = no; then
11833 result=$wxUSE_STATBMP
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11852 # Check whether --enable-statbox was given.
11853 if test "${enable_statbox+set}" = set; then
11854 enableval=$enable_statbox;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11858 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11863 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11868 eval "$wx_cv_use_statbox"
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_STATBOX = no; then
11877 result=$wxUSE_STATBOX
11880 { echo "$as_me:$LINENO: result
: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11894 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11895 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11896 # Check whether --enable-statline was given.
11897 if test "${enable_statline+set}" = set; then
11898 enableval=$enable_statline;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_statline='wxUSE_STATLINE=yes'
11902 wx_cv_use_statline='wxUSE_STATLINE=no'
11907 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11912 eval "$wx_cv_use_statline"
11914 if test x
"$enablestring" = xdisable
; then
11915 if test $wxUSE_STATLINE = no
; then
11921 result
=$wxUSE_STATLINE
11924 { echo "$as_me:$LINENO: result: $result" >&5
11925 echo "${ECHO_T}$result" >&6; }
11929 defaultval
=$wxUSE_ALL_FEATURES
11930 if test -z "$defaultval"; then
11931 if test x
"$enablestring" = xdisable
; then
11938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11939 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11940 # Check whether --enable-stattext was given.
11941 if test "${enable_stattext+set}" = set; then
11942 enableval
=$enable_stattext;
11943 if test "$enableval" = yes; then
11944 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11946 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11951 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11956 eval "$wx_cv_use_stattext"
11958 if test x"$enablestring" = xdisable; then
11959 if test $wxUSE_STATTEXT = no; then
11965 result=$wxUSE_STATTEXT
11968 { echo "$as_me:$LINENO: result: $result" >&5
11969 echo "${ECHO_T}$result" >&6; }
11973 defaultval=$wxUSE_ALL_FEATURES
11974 if test -z "$defaultval"; then
11975 if test x"$enablestring" = xdisable; then
11982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11983 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11984 # Check whether --enable-statusbar was given.
11985 if test "${enable_statusbar+set}" = set; then
11986 enableval=$enable_statusbar;
11987 if test "$enableval" = yes; then
11988 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11990 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11995 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12000 eval "$wx_cv_use_statusbar"
12002 if test x"$enablestring" = xdisable; then
12003 if test $wxUSE_STATUSBAR = no; then
12009 result=$wxUSE_STATUSBAR
12012 { echo "$as_me:$LINENO: result
: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12017 defaultval=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x"$enablestring" = xdisable; then
12026 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12027 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12028 # Check whether --enable-taskbaricon was given.
12029 if test "${enable_taskbaricon+set}" = set; then
12030 enableval=$enable_taskbaricon;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12034 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12039 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12044 eval "$wx_cv_use_taskbaricon"
12046 if test x
"$enablestring" = xdisable
; then
12047 if test $wxUSE_TASKBARICON = no
; then
12053 result
=$wxUSE_TASKBARICON
12056 { echo "$as_me:$LINENO: result: $result" >&5
12057 echo "${ECHO_T}$result" >&6; }
12061 defaultval
=$wxUSE_ALL_FEATURES
12062 if test -z "$defaultval"; then
12063 if test x
"$enablestring" = xdisable
; then
12070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12071 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12072 # Check whether --enable-tbarnative was given.
12073 if test "${enable_tbarnative+set}" = set; then
12074 enableval
=$enable_tbarnative;
12075 if test "$enableval" = yes; then
12076 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12078 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12083 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12088 eval "$wx_cv_use_tbarnative"
12090 if test x"$enablestring" = xdisable; then
12091 if test $wxUSE_TOOLBAR_NATIVE = no; then
12097 result=$wxUSE_TOOLBAR_NATIVE
12100 { echo "$as_me:$LINENO: result: $result" >&5
12101 echo "${ECHO_T}$result" >&6; }
12105 defaultval=$wxUSE_ALL_FEATURES
12106 if test -z "$defaultval"; then
12107 if test x"$enablestring" = xdisable; then
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12116 # Check whether --enable-textctrl was given.
12117 if test "${enable_textctrl+set}" = set; then
12118 enableval=$enable_textctrl;
12119 if test "$enableval" = yes; then
12120 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12122 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12127 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12132 eval "$wx_cv_use_textctrl"
12134 if test x"$enablestring" = xdisable; then
12135 if test $wxUSE_TEXTCTRL = no; then
12141 result=$wxUSE_TEXTCTRL
12144 { echo "$as_me:$LINENO: result
: $result" >&5
12145 echo "${ECHO_T}$result" >&6; }
12149 defaultval=$wxUSE_ALL_FEATURES
12150 if test -z "$defaultval"; then
12151 if test x"$enablestring" = xdisable; then
12158 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12159 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12160 # Check whether --enable-tipwindow was given.
12161 if test "${enable_tipwindow+set}" = set; then
12162 enableval=$enable_tipwindow;
12163 if test "$enableval" = yes; then
12164 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12166 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12171 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12176 eval "$wx_cv_use_tipwindow"
12178 if test x
"$enablestring" = xdisable
; then
12179 if test $wxUSE_TIPWINDOW = no
; then
12185 result
=$wxUSE_TIPWINDOW
12188 { echo "$as_me:$LINENO: result: $result" >&5
12189 echo "${ECHO_T}$result" >&6; }
12193 defaultval
=$wxUSE_ALL_FEATURES
12194 if test -z "$defaultval"; then
12195 if test x
"$enablestring" = xdisable
; then
12202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12203 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12204 # Check whether --enable-togglebtn was given.
12205 if test "${enable_togglebtn+set}" = set; then
12206 enableval
=$enable_togglebtn;
12207 if test "$enableval" = yes; then
12208 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12210 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12215 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12220 eval "$wx_cv_use_togglebtn"
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_TOGGLEBTN = no; then
12229 result=$wxUSE_TOGGLEBTN
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12248 # Check whether --enable-toolbar was given.
12249 if test "${enable_toolbar+set}" = set; then
12250 enableval=$enable_toolbar;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12254 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12259 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12264 eval "$wx_cv_use_toolbar"
12266 if test x"$enablestring" = xdisable; then
12267 if test $wxUSE_TOOLBAR = no; then
12273 result=$wxUSE_TOOLBAR
12276 { echo "$as_me:$LINENO: result
: $result" >&5
12277 echo "${ECHO_T}$result" >&6; }
12281 defaultval=$wxUSE_ALL_FEATURES
12282 if test -z "$defaultval"; then
12283 if test x"$enablestring" = xdisable; then
12290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12291 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12292 # Check whether --enable-toolbook was given.
12293 if test "${enable_toolbook+set}" = set; then
12294 enableval=$enable_toolbook;
12295 if test "$enableval" = yes; then
12296 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12298 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12303 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12308 eval "$wx_cv_use_toolbook"
12310 if test x
"$enablestring" = xdisable
; then
12311 if test $wxUSE_TOOLBOOK = no
; then
12317 result
=$wxUSE_TOOLBOOK
12320 { echo "$as_me:$LINENO: result: $result" >&5
12321 echo "${ECHO_T}$result" >&6; }
12325 defaultval
=$wxUSE_ALL_FEATURES
12326 if test -z "$defaultval"; then
12327 if test x
"$enablestring" = xdisable
; then
12334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12335 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12336 # Check whether --enable-treebook was given.
12337 if test "${enable_treebook+set}" = set; then
12338 enableval
=$enable_treebook;
12339 if test "$enableval" = yes; then
12340 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12342 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12347 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12352 eval "$wx_cv_use_treebook"
12354 if test x"$enablestring" = xdisable; then
12355 if test $wxUSE_TREEBOOK = no; then
12361 result=$wxUSE_TREEBOOK
12364 { echo "$as_me:$LINENO: result: $result" >&5
12365 echo "${ECHO_T}$result" >&6; }
12369 defaultval=$wxUSE_ALL_FEATURES
12370 if test -z "$defaultval"; then
12371 if test x"$enablestring" = xdisable; then
12378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12379 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12380 # Check whether --enable-treectrl was given.
12381 if test "${enable_treectrl+set}" = set; then
12382 enableval=$enable_treectrl;
12383 if test "$enableval" = yes; then
12384 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12386 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12391 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12396 eval "$wx_cv_use_treectrl"
12398 if test x"$enablestring" = xdisable; then
12399 if test $wxUSE_TREECTRL = no; then
12405 result=$wxUSE_TREECTRL
12408 { echo "$as_me:$LINENO: result
: $result" >&5
12409 echo "${ECHO_T}$result" >&6; }
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12425 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12426 # Check whether --enable-commondlg was given.
12427 if test "${enable_commondlg+set}" = set; then
12428 enableval=$enable_commondlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12432 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12437 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12442 eval "$wx_cv_use_commondlg"
12444 if test x
"$enablestring" = xdisable
; then
12445 if test $wxUSE_COMMONDLGS = no
; then
12451 result
=$wxUSE_COMMONDLGS
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval
=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x
"$enablestring" = xdisable
; then
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-aboutdlg was given.
12471 if test "${enable_aboutdlg+set}" = set; then
12472 enableval
=$enable_aboutdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12476 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12481 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12486 eval "$wx_cv_use_aboutdlg"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_ABOUTDLG = no; then
12495 result=$wxUSE_ABOUTDLG
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12514 # Check whether --enable-choicedlg was given.
12515 if test "${enable_choicedlg+set}" = set; then
12516 enableval=$enable_choicedlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12520 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12525 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12530 eval "$wx_cv_use_choicedlg"
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_CHOICEDLG = no; then
12539 result=$wxUSE_CHOICEDLG
12542 { echo "$as_me:$LINENO: result
: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12556 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12557 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12558 # Check whether --enable-coldlg was given.
12559 if test "${enable_coldlg+set}" = set; then
12560 enableval=$enable_coldlg;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12564 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12569 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12574 eval "$wx_cv_use_coldlg"
12576 if test x
"$enablestring" = xdisable
; then
12577 if test $wxUSE_COLOURDLG = no
; then
12583 result
=$wxUSE_COLOURDLG
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12591 defaultval
=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x
"$enablestring" = xdisable
; then
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12602 # Check whether --enable-filedlg was given.
12603 if test "${enable_filedlg+set}" = set; then
12604 enableval
=$enable_filedlg;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12608 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12613 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12618 eval "$wx_cv_use_filedlg"
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_FILEDLG = no; then
12627 result=$wxUSE_FILEDLG
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12646 # Check whether --enable-finddlg was given.
12647 if test "${enable_finddlg+set}" = set; then
12648 enableval=$enable_finddlg;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12652 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12657 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12662 eval "$wx_cv_use_finddlg"
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_FINDREPLDLG = no; then
12671 result=$wxUSE_FINDREPLDLG
12674 { echo "$as_me:$LINENO: result
: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12688 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12689 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12690 # Check whether --enable-fontdlg was given.
12691 if test "${enable_fontdlg+set}" = set; then
12692 enableval=$enable_fontdlg;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12696 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12701 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12706 eval "$wx_cv_use_fontdlg"
12708 if test x
"$enablestring" = xdisable
; then
12709 if test $wxUSE_FONTDLG = no
; then
12715 result
=$wxUSE_FONTDLG
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12723 defaultval
=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x
"$enablestring" = xdisable
; then
12732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12733 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12734 # Check whether --enable-dirdlg was given.
12735 if test "${enable_dirdlg+set}" = set; then
12736 enableval
=$enable_dirdlg;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12740 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12745 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12750 eval "$wx_cv_use_dirdlg"
12752 if test x"$enablestring" = xdisable; then
12753 if test $wxUSE_DIRDLG = no; then
12759 result=$wxUSE_DIRDLG
12762 { echo "$as_me:$LINENO: result: $result" >&5
12763 echo "${ECHO_T}$result" >&6; }
12767 defaultval=$wxUSE_ALL_FEATURES
12768 if test -z "$defaultval"; then
12769 if test x"$enablestring" = xdisable; then
12776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12777 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12778 # Check whether --enable-msgdlg was given.
12779 if test "${enable_msgdlg+set}" = set; then
12780 enableval=$enable_msgdlg;
12781 if test "$enableval" = yes; then
12782 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12784 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12789 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12794 eval "$wx_cv_use_msgdlg"
12796 if test x"$enablestring" = xdisable; then
12797 if test $wxUSE_MSGDLG = no; then
12803 result=$wxUSE_MSGDLG
12806 { echo "$as_me:$LINENO: result
: $result" >&5
12807 echo "${ECHO_T}$result" >&6; }
12811 defaultval=$wxUSE_ALL_FEATURES
12812 if test -z "$defaultval"; then
12813 if test x"$enablestring" = xdisable; then
12820 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12821 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12822 # Check whether --enable-numberdlg was given.
12823 if test "${enable_numberdlg+set}" = set; then
12824 enableval=$enable_numberdlg;
12825 if test "$enableval" = yes; then
12826 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12828 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12833 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12838 eval "$wx_cv_use_numberdlg"
12840 if test x
"$enablestring" = xdisable
; then
12841 if test $wxUSE_NUMBERDLG = no
; then
12847 result
=$wxUSE_NUMBERDLG
12850 { echo "$as_me:$LINENO: result: $result" >&5
12851 echo "${ECHO_T}$result" >&6; }
12855 defaultval
=$wxUSE_ALL_FEATURES
12856 if test -z "$defaultval"; then
12857 if test x
"$enablestring" = xdisable
; then
12864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12865 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12866 # Check whether --enable-splash was given.
12867 if test "${enable_splash+set}" = set; then
12868 enableval
=$enable_splash;
12869 if test "$enableval" = yes; then
12870 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12872 wx_cv_use_splash
='wxUSE_SPLASH=no'
12877 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12882 eval "$wx_cv_use_splash"
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SPLASH = no; then
12891 result=$wxUSE_SPLASH
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12910 # Check whether --enable-textdlg was given.
12911 if test "${enable_textdlg+set}" = set; then
12912 enableval=$enable_textdlg;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12916 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12921 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12926 eval "$wx_cv_use_textdlg"
12928 if test x"$enablestring" = xdisable; then
12929 if test $wxUSE_TEXTDLG = no; then
12935 result=$wxUSE_TEXTDLG
12938 { echo "$as_me:$LINENO: result
: $result" >&5
12939 echo "${ECHO_T}$result" >&6; }
12943 defaultval=$wxUSE_ALL_FEATURES
12944 if test -z "$defaultval"; then
12945 if test x"$enablestring" = xdisable; then
12952 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12953 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12954 # Check whether --enable-tipdlg was given.
12955 if test "${enable_tipdlg+set}" = set; then
12956 enableval=$enable_tipdlg;
12957 if test "$enableval" = yes; then
12958 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12960 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12965 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12970 eval "$wx_cv_use_tipdlg"
12972 if test x
"$enablestring" = xdisable
; then
12973 if test $wxUSE_STARTUP_TIPS = no
; then
12979 result
=$wxUSE_STARTUP_TIPS
12982 { echo "$as_me:$LINENO: result: $result" >&5
12983 echo "${ECHO_T}$result" >&6; }
12987 defaultval
=$wxUSE_ALL_FEATURES
12988 if test -z "$defaultval"; then
12989 if test x
"$enablestring" = xdisable
; then
12996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12997 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12998 # Check whether --enable-progressdlg was given.
12999 if test "${enable_progressdlg+set}" = set; then
13000 enableval
=$enable_progressdlg;
13001 if test "$enableval" = yes; then
13002 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13004 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13009 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13014 eval "$wx_cv_use_progressdlg"
13016 if test x"$enablestring" = xdisable; then
13017 if test $wxUSE_PROGRESSDLG = no; then
13023 result=$wxUSE_PROGRESSDLG
13026 { echo "$as_me:$LINENO: result: $result" >&5
13027 echo "${ECHO_T}$result" >&6; }
13031 defaultval=$wxUSE_ALL_FEATURES
13032 if test -z "$defaultval"; then
13033 if test x"$enablestring" = xdisable; then
13040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13041 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13042 # Check whether --enable-wizarddlg was given.
13043 if test "${enable_wizarddlg+set}" = set; then
13044 enableval=$enable_wizarddlg;
13045 if test "$enableval" = yes; then
13046 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13048 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13053 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13058 eval "$wx_cv_use_wizarddlg"
13060 if test x"$enablestring" = xdisable; then
13061 if test $wxUSE_WIZARDDLG = no; then
13067 result=$wxUSE_WIZARDDLG
13070 { echo "$as_me:$LINENO: result
: $result" >&5
13071 echo "${ECHO_T}$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13087 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13088 # Check whether --enable-menus was given.
13089 if test "${enable_menus+set}" = set; then
13090 enableval=$enable_menus;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_menus='wxUSE_MENUS=yes'
13094 wx_cv_use_menus='wxUSE_MENUS=no'
13099 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13104 eval "$wx_cv_use_menus"
13106 if test x
"$enablestring" = xdisable
; then
13107 if test $wxUSE_MENUS = no
; then
13113 result
=$wxUSE_MENUS
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13121 defaultval
=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x
"$enablestring" = xdisable
; then
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13132 # Check whether --enable-miniframe was given.
13133 if test "${enable_miniframe+set}" = set; then
13134 enableval
=$enable_miniframe;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13138 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13143 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13148 eval "$wx_cv_use_miniframe"
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_MINIFRAME = no; then
13157 result=$wxUSE_MINIFRAME
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13176 # Check whether --enable-tooltips was given.
13177 if test "${enable_tooltips+set}" = set; then
13178 enableval=$enable_tooltips;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13182 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13187 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13192 eval "$wx_cv_use_tooltips"
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_TOOLTIPS = no; then
13201 result=$wxUSE_TOOLTIPS
13204 { echo "$as_me:$LINENO: result
: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13218 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13219 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13220 # Check whether --enable-splines was given.
13221 if test "${enable_splines+set}" = set; then
13222 enableval=$enable_splines;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_splines='wxUSE_SPLINES=yes'
13226 wx_cv_use_splines='wxUSE_SPLINES=no'
13231 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13236 eval "$wx_cv_use_splines"
13238 if test x
"$enablestring" = xdisable
; then
13239 if test $wxUSE_SPLINES = no
; then
13245 result
=$wxUSE_SPLINES
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13253 defaultval
=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x
"$enablestring" = xdisable
; then
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13264 # Check whether --enable-mousewheel was given.
13265 if test "${enable_mousewheel+set}" = set; then
13266 enableval
=$enable_mousewheel;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13270 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13275 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13280 eval "$wx_cv_use_mousewheel"
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_MOUSEWHEEL = no; then
13289 result=$wxUSE_MOUSEWHEEL
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13308 # Check whether --enable-validators was given.
13309 if test "${enable_validators+set}" = set; then
13310 enableval=$enable_validators;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13314 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13319 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13324 eval "$wx_cv_use_validators"
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_VALIDATORS = no; then
13333 result=$wxUSE_VALIDATORS
13336 { echo "$as_me:$LINENO: result
: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13350 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13351 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13352 # Check whether --enable-busyinfo was given.
13353 if test "${enable_busyinfo+set}" = set; then
13354 enableval=$enable_busyinfo;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13358 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13363 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13368 eval "$wx_cv_use_busyinfo"
13370 if test x
"$enablestring" = xdisable
; then
13371 if test $wxUSE_BUSYINFO = no
; then
13377 result
=$wxUSE_BUSYINFO
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13385 defaultval
=$wxUSE_ALL_FEATURES
13386 if test -z "$defaultval"; then
13387 if test x
"$enablestring" = xdisable
; then
13394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13395 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13396 # Check whether --enable-joystick was given.
13397 if test "${enable_joystick+set}" = set; then
13398 enableval
=$enable_joystick;
13399 if test "$enableval" = yes; then
13400 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13402 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13407 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13412 eval "$wx_cv_use_joystick"
13414 if test x"$enablestring" = xdisable; then
13415 if test $wxUSE_JOYSTICK = no; then
13421 result=$wxUSE_JOYSTICK
13424 { echo "$as_me:$LINENO: result: $result" >&5
13425 echo "${ECHO_T}$result" >&6; }
13429 defaultval=$wxUSE_ALL_FEATURES
13430 if test -z "$defaultval"; then
13431 if test x"$enablestring" = xdisable; then
13438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13439 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13440 # Check whether --enable-metafile was given.
13441 if test "${enable_metafile+set}" = set; then
13442 enableval=$enable_metafile;
13443 if test "$enableval" = yes; then
13444 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13446 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13451 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13456 eval "$wx_cv_use_metafile"
13458 if test x"$enablestring" = xdisable; then
13459 if test $wxUSE_METAFILE = no; then
13465 result=$wxUSE_METAFILE
13468 { echo "$as_me:$LINENO: result
: $result" >&5
13469 echo "${ECHO_T}$result" >&6; }
13473 defaultval=$wxUSE_ALL_FEATURES
13474 if test -z "$defaultval"; then
13475 if test x"$enablestring" = xdisable; then
13482 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13483 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13484 # Check whether --enable-dragimage was given.
13485 if test "${enable_dragimage+set}" = set; then
13486 enableval=$enable_dragimage;
13487 if test "$enableval" = yes; then
13488 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13490 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13495 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13500 eval "$wx_cv_use_dragimage"
13502 if test x
"$enablestring" = xdisable
; then
13503 if test $wxUSE_DRAGIMAGE = no
; then
13509 result
=$wxUSE_DRAGIMAGE
13512 { echo "$as_me:$LINENO: result: $result" >&5
13513 echo "${ECHO_T}$result" >&6; }
13517 defaultval
=$wxUSE_ALL_FEATURES
13518 if test -z "$defaultval"; then
13519 if test x
"$enablestring" = xdisable
; then
13526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13527 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13528 # Check whether --enable-accessibility was given.
13529 if test "${enable_accessibility+set}" = set; then
13530 enableval
=$enable_accessibility;
13531 if test "$enableval" = yes; then
13532 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13534 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13539 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13544 eval "$wx_cv_use_accessibility"
13546 if test x"$enablestring" = xdisable; then
13547 if test $wxUSE_ACCESSIBILITY = no; then
13553 result=$wxUSE_ACCESSIBILITY
13556 { echo "$as_me:$LINENO: result: $result" >&5
13557 echo "${ECHO_T}$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13574 # Check whether --enable-palette was given.
13575 if test "${enable_palette+set}" = set; then
13576 enableval=$enable_palette;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13580 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13585 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13590 eval "$wx_cv_use_palette"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_PALETTE = no; then
13599 result=$wxUSE_PALETTE
13602 { echo "$as_me:$LINENO: result
: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13616 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13617 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13618 # Check whether --enable-image was given.
13619 if test "${enable_image+set}" = set; then
13620 enableval=$enable_image;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_image='wxUSE_IMAGE=yes'
13624 wx_cv_use_image='wxUSE_IMAGE=no'
13629 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13634 eval "$wx_cv_use_image"
13636 if test x
"$enablestring" = xdisable
; then
13637 if test $wxUSE_IMAGE = no
; then
13643 result
=$wxUSE_IMAGE
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13651 defaultval
=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x
"$enablestring" = xdisable
; then
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13662 # Check whether --enable-gif was given.
13663 if test "${enable_gif+set}" = set; then
13664 enableval
=$enable_gif;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_gif
='wxUSE_GIF=yes'
13668 wx_cv_use_gif
='wxUSE_GIF=no'
13673 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13678 eval "$wx_cv_use_gif"
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_GIF = no; then
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13706 # Check whether --enable-pcx was given.
13707 if test "${enable_pcx+set}" = set; then
13708 enableval=$enable_pcx;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_pcx='wxUSE_PCX
=yes'
13712 wx_cv_use_pcx='wxUSE_PCX
=no
'
13717 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13722 eval "$wx_cv_use_pcx"
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_PCX = no; then
13734 { echo "$as_me:$LINENO: result
: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13748 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13749 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13750 # Check whether --enable-tga was given.
13751 if test "${enable_tga+set}" = set; then
13752 enableval=$enable_tga;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_tga='wxUSE_TGA=yes'
13756 wx_cv_use_tga='wxUSE_TGA=no'
13761 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13766 eval "$wx_cv_use_tga"
13768 if test x
"$enablestring" = xdisable
; then
13769 if test $wxUSE_TGA = no
; then
13778 { echo "$as_me:$LINENO: result: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13783 defaultval
=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x
"$enablestring" = xdisable
; then
13792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13793 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13794 # Check whether --enable-iff was given.
13795 if test "${enable_iff+set}" = set; then
13796 enableval
=$enable_iff;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_iff
='wxUSE_IFF=yes'
13800 wx_cv_use_iff
='wxUSE_IFF=no'
13805 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13810 eval "$wx_cv_use_iff"
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_IFF = no; then
13822 { echo "$as_me:$LINENO: result: $result" >&5
13823 echo "${ECHO_T}$result" >&6; }
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13837 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13838 # Check whether --enable-pnm was given.
13839 if test "${enable_pnm+set}" = set; then
13840 enableval=$enable_pnm;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_pnm='wxUSE_PNM
=yes'
13844 wx_cv_use_pnm='wxUSE_PNM
=no
'
13849 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13854 eval "$wx_cv_use_pnm"
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_PNM = no; then
13866 { echo "$as_me:$LINENO: result
: $result" >&5
13867 echo "${ECHO_T}$result" >&6; }
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13880 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13881 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13882 # Check whether --enable-xpm was given.
13883 if test "${enable_xpm+set}" = set; then
13884 enableval=$enable_xpm;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_xpm='wxUSE_XPM=yes'
13888 wx_cv_use_xpm='wxUSE_XPM=no'
13893 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13898 eval "$wx_cv_use_xpm"
13900 if test x
"$enablestring" = xdisable
; then
13901 if test $wxUSE_XPM = no
; then
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13915 defaultval
=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x
"$enablestring" = xdisable
; then
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13926 # Check whether --enable-ico_cur was given.
13927 if test "${enable_ico_cur+set}" = set; then
13928 enableval
=$enable_ico_cur;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13932 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13937 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13942 eval "$wx_cv_use_ico_cur"
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_ICO_CUR = no; then
13951 result=$wxUSE_ICO_CUR
13954 { echo "$as_me:$LINENO: result: $result" >&5
13955 echo "${ECHO_T}$result" >&6; }
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13972 # Check whether --enable-dccache was given.
13973 if test "${enable_dccache+set}" = set; then
13974 enableval=$enable_dccache;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13978 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13983 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13988 eval "$wx_cv_use_dccache"
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_DC_CACHEING = no; then
13997 result=$wxUSE_DC_CACHEING
14000 { echo "$as_me:$LINENO: result
: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14014 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
14015 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
14016 # Check whether --enable-ps-in-msw was given.
14017 if test "${enable_ps_in_msw+set}" = set; then
14018 enableval=$enable_ps_in_msw;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14022 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14027 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14032 eval "$wx_cv_use_ps_in_msw"
14034 if test x
"$enablestring" = xdisable
; then
14035 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
14041 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14044 { echo "$as_me:$LINENO: result: $result" >&5
14045 echo "${ECHO_T}$result" >&6; }
14049 defaultval
=$wxUSE_ALL_FEATURES
14050 if test -z "$defaultval"; then
14051 if test x
"$enablestring" = xdisable
; then
14058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14059 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14060 # Check whether --enable-ownerdrawn was given.
14061 if test "${enable_ownerdrawn+set}" = set; then
14062 enableval
=$enable_ownerdrawn;
14063 if test "$enableval" = yes; then
14064 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14066 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14071 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14076 eval "$wx_cv_use_ownerdrawn"
14078 if test x"$enablestring" = xdisable; then
14079 if test $wxUSE_OWNER_DRAWN = no; then
14085 result=$wxUSE_OWNER_DRAWN
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14093 defaultval=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x"$enablestring" = xdisable; then
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14104 # Check whether --enable-uxtheme was given.
14105 if test "${enable_uxtheme+set}" = set; then
14106 enableval=$enable_uxtheme;
14107 if test "$enableval" = yes; then
14108 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14110 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14115 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14120 eval "$wx_cv_use_uxtheme"
14122 if test x"$enablestring" = xdisable; then
14123 if test $wxUSE_UXTHEME = no; then
14129 result=$wxUSE_UXTHEME
14132 { echo "$as_me:$LINENO: result
: $result" >&5
14133 echo "${ECHO_T}$result" >&6; }
14137 defaultval=$wxUSE_ALL_FEATURES
14138 if test -z "$defaultval"; then
14139 if test x"$enablestring" = xdisable; then
14146 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14147 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14148 # Check whether --enable-wxdib was given.
14149 if test "${enable_wxdib+set}" = set; then
14150 enableval=$enable_wxdib;
14151 if test "$enableval" = yes; then
14152 wx_cv_use_wxdib='wxUSE_DIB=yes'
14154 wx_cv_use_wxdib='wxUSE_DIB=no'
14159 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14164 eval "$wx_cv_use_wxdib"
14166 if test x
"$enablestring" = xdisable
; then
14167 if test $wxUSE_DIB = no
; then
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14180 if test "$wxUSE_MSW" != 1; then
14181 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14186 defaultval
=$wxUSE_ALL_FEATURES
14187 if test -z "$defaultval"; then
14188 if test x
"$enablestring" = xdisable
; then
14195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14196 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14197 # Check whether --enable-autoidman was given.
14198 if test "${enable_autoidman+set}" = set; then
14199 enableval
=$enable_autoidman;
14200 if test "$enableval" = yes; then
14201 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14203 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14208 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14213 eval "$wx_cv_use_autoidman"
14215 if test x"$enablestring" = xdisable; then
14216 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14222 result=$wxUSE_AUTOID_MANAGEMENT
14225 { echo "$as_me:$LINENO: result: $result" >&5
14226 echo "${ECHO_T}$result" >&6; }
14232 cat >confcache <<\_ACEOF
14233 # This file is a shell script that caches the results of configure
14234 # tests run on this system so they can be shared between configure
14235 # scripts and configure runs, see configure's option
--config-cache.
14236 # It is not useful on other systems. If it contains results you don't
14237 # want to keep, you may remove or edit it.
14239 # config.status only pays attention to the cache file if you give it
14240 # the --recheck option to rerun configure.
14242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14244 # following values.
14248 # The following way of writing the cache mishandles newlines in values,
14249 # but we know of no workaround that is simple, portable, and efficient.
14250 # So, we kill variables containing newlines.
14251 # Ultrix sh set writes to stderr and can't be redirected directly,
14252 # and sets the high bit in the cache file unless we assign to the vars.
14254 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14255 eval ac_val
=\$
$ac_var
14259 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14260 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14263 _
| IFS
| as_nl
) ;; #(
14264 *) $as_unset $ac_var ;;
14270 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14271 *${as_nl}ac_space
=\
*)
14272 # `set' does not quote correctly, so add quotes (double-quote
14273 # substitution turns \\\\ into \\, and sed turns \\ into \).
14276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14279 # `set' quotes correctly as required by POSIX, so do not add quotes.
14280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14291 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14293 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14294 if test -w "$cache_file"; then
14295 test "x$cache_file" != "x/dev/null" &&
14296 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14297 echo "$as_me: updating cache $cache_file" >&6;}
14298 cat confcache
>$cache_file
14300 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14301 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14311 ac_cpp
='$CPP $CPPFLAGS'
14312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14315 if test -n "$ac_tool_prefix"; then
14316 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14317 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14320 if test "${ac_cv_prog_CC+set}" = set; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 if test -n "$CC"; then
14324 ac_cv_prog_CC
="$CC" # Let the user override the test.
14326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14327 for as_dir
in $PATH
14330 test -z "$as_dir" && as_dir
=.
14331 for ac_exec_ext
in '' $ac_executable_extensions; do
14332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14333 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14344 if test -n "$CC"; then
14345 { echo "$as_me:$LINENO: result: $CC" >&5
14346 echo "${ECHO_T}$CC" >&6; }
14348 { echo "$as_me:$LINENO: result: no" >&5
14349 echo "${ECHO_T}no" >&6; }
14354 if test -z "$ac_cv_prog_CC"; then
14356 # Extract the first word of "gcc", so it can be a program name with args.
14357 set dummy gcc
; ac_word
=$2
14358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 if test -n "$ac_ct_CC"; then
14364 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14367 for as_dir
in $PATH
14370 test -z "$as_dir" && as_dir
=.
14371 for ac_exec_ext
in '' $ac_executable_extensions; do
14372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14373 ac_cv_prog_ac_ct_CC
="gcc"
14374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14383 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14384 if test -n "$ac_ct_CC"; then
14385 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14386 echo "${ECHO_T}$ac_ct_CC" >&6; }
14388 { echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6; }
14392 if test "x$ac_ct_CC" = x
; then
14395 case $cross_compiling:$ac_tool_warned in
14397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14398 whose name does not start with the host triplet. If you think this
14399 configuration is useful to you, please write to autoconf@gnu.org." >&5
14400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14401 whose name does not start with the host triplet. If you think this
14402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14403 ac_tool_warned
=yes ;;
14408 CC
="$ac_cv_prog_CC"
14411 if test -z "$CC"; then
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14414 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_prog_CC+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 if test -n "$CC"; then
14421 ac_cv_prog_CC
="$CC" # Let the user override the test.
14423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14424 for as_dir
in $PATH
14427 test -z "$as_dir" && as_dir
=.
14428 for ac_exec_ext
in '' $ac_executable_extensions; do
14429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14441 if test -n "$CC"; then
14442 { echo "$as_me:$LINENO: result: $CC" >&5
14443 echo "${ECHO_T}$CC" >&6; }
14445 { echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6; }
14452 if test -z "$CC"; then
14453 # Extract the first word of "cc", so it can be a program name with args.
14454 set dummy cc
; ac_word
=$2
14455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14457 if test "${ac_cv_prog_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 if test -n "$CC"; then
14461 ac_cv_prog_CC
="$CC" # Let the user override the test.
14463 ac_prog_rejected
=no
14464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14465 for as_dir
in $PATH
14468 test -z "$as_dir" && as_dir
=.
14469 for ac_exec_ext
in '' $ac_executable_extensions; do
14470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14472 ac_prog_rejected
=yes
14476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14483 if test $ac_prog_rejected = yes; then
14484 # We found a bogon in the path, so make sure we never use it.
14485 set dummy
$ac_cv_prog_CC
14487 if test $# != 0; then
14488 # We chose a different compiler from the bogus one.
14489 # However, it has the same basename, so the bogon will be chosen
14490 # first if we set CC to just the basename; use the full file name.
14492 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14498 if test -n "$CC"; then
14499 { echo "$as_me:$LINENO: result: $CC" >&5
14500 echo "${ECHO_T}$CC" >&6; }
14502 { echo "$as_me:$LINENO: result: no" >&5
14503 echo "${ECHO_T}no" >&6; }
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 for ac_prog
in cl.exe
14512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14513 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14516 if test "${ac_cv_prog_CC+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 if test -n "$CC"; then
14520 ac_cv_prog_CC
="$CC" # Let the user override the test.
14522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14523 for as_dir
in $PATH
14526 test -z "$as_dir" && as_dir
=.
14527 for ac_exec_ext
in '' $ac_executable_extensions; do
14528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14529 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14540 if test -n "$CC"; then
14541 { echo "$as_me:$LINENO: result: $CC" >&5
14542 echo "${ECHO_T}$CC" >&6; }
14544 { echo "$as_me:$LINENO: result: no" >&5
14545 echo "${ECHO_T}no" >&6; }
14549 test -n "$CC" && break
14552 if test -z "$CC"; then
14554 for ac_prog
in cl.exe
14556 # Extract the first word of "$ac_prog", so it can be a program name with args.
14557 set dummy
$ac_prog; ac_word
=$2
14558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 if test -n "$ac_ct_CC"; then
14564 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14567 for as_dir
in $PATH
14570 test -z "$as_dir" && as_dir
=.
14571 for ac_exec_ext
in '' $ac_executable_extensions; do
14572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14573 ac_cv_prog_ac_ct_CC
="$ac_prog"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14583 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14584 if test -n "$ac_ct_CC"; then
14585 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14586 echo "${ECHO_T}$ac_ct_CC" >&6; }
14588 { echo "$as_me:$LINENO: result: no" >&5
14589 echo "${ECHO_T}no" >&6; }
14593 test -n "$ac_ct_CC" && break
14596 if test "x$ac_ct_CC" = x
; then
14599 case $cross_compiling:$ac_tool_warned in
14601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14602 whose name does not start with the host triplet. If you think this
14603 configuration is useful to you, please write to autoconf@gnu.org." >&5
14604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14605 whose name does not start with the host triplet. If you think this
14606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14607 ac_tool_warned
=yes ;;
14616 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14617 See \`config.log' for more details." >&5
14618 echo "$as_me: error: no acceptable C compiler found in \$PATH
14619 See \`config.log' for more details." >&2;}
14620 { (exit 1); exit 1; }; }
14622 # Provide some information about the compiler.
14623 echo "$as_me:$LINENO: checking for C compiler version" >&5
14624 ac_compiler
=`set X $ac_compile; echo $2`
14625 { (ac_try
="$ac_compiler --version >&5"
14626 case "(($ac_try" in
14627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compiler --version >&5") 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }
14635 { (ac_try="$ac_compiler -v >&5"
14636 case "(($ac_try" in
14637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14638 *) ac_try_echo
=$ac_try;;
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_compiler -v >&5") 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }
14645 { (ac_try
="$ac_compiler -V >&5"
14646 case "(($ac_try" in
14647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_compiler -V >&5") 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }
14656 cat >conftest.$ac_ext <<_ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14671 ac_clean_files_save=$ac_clean_files
14672 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14673 # Try to create an executable without -o first, disregard a.out.
14674 # It will help us diagnose broken compilers, and finding out an intuition
14676 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14677 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14678 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14680 # List of possible output files, starting from the most likely.
14681 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14682 # only as a last resort. b.out is created by i960 compilers.
14683 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14685 # The IRIX 6 linker writes into existing files which may not be
14686 # executable, retaining their permissions. Remove them first so a
14687 # subsequent execution test works.
14689 for ac_file in $ac_files
14692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14693 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14698 if { (ac_try="$ac_link_default"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link_default") 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; then
14708 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14709 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14710 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14711 # so that the user can short-circuit this test for compilers unknown to
14713 for ac_file
in $ac_files ''
14715 test -f "$ac_file" || continue
14717 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14720 # We found the default executable, but exeext='' is most
14724 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14726 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14728 # We set ac_cv_exeext here because the later test for it is not
14729 # safe: cross compilers may not add the suffix if given an `-o'
14730 # argument, so we may need to know it at that point already.
14731 # Even if this section looks crufty: it has the advantage of
14732 # actually working.
14738 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14744 { echo "$as_me:$LINENO: result: $ac_file" >&5
14745 echo "${ECHO_T}$ac_file" >&6; }
14746 if test -z "$ac_file"; then
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14751 See \`config.log' for more details." >&5
14752 echo "$as_me: error: C compiler cannot create executables
14753 See \`config.log' for more details." >&2;}
14754 { (exit 77); exit 77; }; }
14757 ac_exeext
=$ac_cv_exeext
14759 # Check that the compiler produces executables we can run. If not, either
14760 # the compiler is broken, or we cross compile.
14761 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14764 # If not cross compiling, check that we can run a simple program.
14765 if test "$cross_compiling" != yes; then
14766 if { ac_try
='./$ac_file'
14767 { (case "(($ac_try" in
14768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14769 *) ac_try_echo=$ac_try;;
14771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14772 (eval "$ac_try") 2>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14778 if test "$cross_compiling" = maybe; then
14779 cross_compiling=yes
14781 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14782 If you meant to cross compile, use \`--host'.
14783 See \`config.log' for more details.
" >&5
14784 echo "$as_me: error
: cannot run C compiled programs.
14785 If you meant to cross compile
, use \
`--host'.
14786 See \`config.log
' for more details." >&2;}
14787 { (exit 1); exit 1; }; }
14791 { echo "$as_me:$LINENO: result: yes" >&5
14792 echo "${ECHO_T}yes" >&6; }
14794 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14795 ac_clean_files=$ac_clean_files_save
14796 # Check that the compiler produces executables we can run. If not, either
14797 # the compiler is broken, or we cross compile.
14798 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14799 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14800 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14801 echo "${ECHO_T}$cross_compiling" >&6; }
14803 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14804 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14805 if { (ac_try="$ac_link"
14806 case "(($ac_try" in
14807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_link") 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; then
14815 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14816 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14817 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14819 for ac_file
in conftest.exe conftest conftest.
*; do
14820 test -f "$ac_file" || continue
14822 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14823 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14829 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14830 See \`config.log' for more details." >&5
14831 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14832 See \`config.log' for more details." >&2;}
14833 { (exit 1); exit 1; }; }
14836 rm -f conftest
$ac_cv_exeext
14837 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14838 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14840 rm -f conftest.
$ac_ext
14841 EXEEXT
=$ac_cv_exeext
14843 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14844 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14845 if test "${ac_cv_objext+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 cat >conftest.
$ac_ext <<_ACEOF
14851 cat confdefs.h
>>conftest.
$ac_ext
14852 cat >>conftest.
$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14863 rm -f conftest.o conftest.obj
14864 if { (ac_try
="$ac_compile"
14865 case "(($ac_try" in
14866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_compile") 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; then
14874 for ac_file in conftest.o conftest.obj conftest.*; do
14875 test -f "$ac_file" || continue;
14877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14878 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14887 See \`config.log
' for more details." >&5
14888 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14889 See \`config.log' for more details.
" >&2;}
14890 { (exit 1); exit 1; }; }
14893 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14895 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14896 echo "${ECHO_T}$ac_cv_objext" >&6; }
14897 OBJEXT=$ac_cv_objext
14899 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14900 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14901 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14902 echo $ECHO_N "(cached
) $ECHO_C" >&6
14904 cat >conftest.$ac_ext <<_ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14922 rm -f conftest.$ac_objext
14923 if { (ac_try="$ac_compile"
14924 case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14928 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14929 (eval "$ac_compile") 2>conftest.er1
14931 grep -v '^ *+' conftest.er1 >conftest.err
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14935 (exit $ac_status); } && {
14936 test -z "$ac_c_werror_flag" ||
14937 test ! -s conftest.err
14938 } && test -s conftest.$ac_objext; then
14939 ac_compiler_gnu=yes
14941 echo "$as_me: failed program was
:" >&5
14942 sed 's/^/| /' conftest.$ac_ext >&5
14947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14948 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14951 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14952 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14953 GCC=`test $ac_compiler_gnu = yes && echo yes`
14954 ac_test_CFLAGS=${CFLAGS+set}
14955 ac_save_CFLAGS=$CFLAGS
14956 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14957 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14958 if test "${ac_cv_prog_cc_g+set}" = set; then
14959 echo $ECHO_N "(cached
) $ECHO_C" >&6
14961 ac_save_c_werror_flag=$ac_c_werror_flag
14962 ac_c_werror_flag=yes
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
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 ac_cv_prog_cc_g=yes
14999 echo "$as_me: failed program was
:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15003 cat >conftest.$ac_ext <<_ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15018 rm -f conftest.$ac_objext
15019 if { (ac_try="$ac_compile"
15020 case "(($ac_try" in
15021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15022 *) ac_try_echo=$ac_try;;
15024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15025 (eval "$ac_compile") 2>conftest.er1
15027 grep -v '^ *+' conftest.er1 >conftest.err
15029 cat conftest.err >&5
15030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15031 (exit $ac_status); } && {
15032 test -z "$ac_c_werror_flag" ||
15033 test ! -s conftest.err
15034 } && test -s conftest.$ac_objext; then
15037 echo "$as_me: failed program was
:" >&5
15038 sed 's/^/| /' conftest.$ac_ext >&5
15040 ac_c_werror_flag=$ac_save_c_werror_flag
15042 cat >conftest.$ac_ext <<_ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15057 rm -f conftest.$ac_objext
15058 if { (ac_try="$ac_compile"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_compile") 2>conftest.er1
15066 grep -v '^ *+' conftest.er1 >conftest.err
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest.$ac_objext; then
15074 ac_cv_prog_cc_g=yes
15076 echo "$as_me: failed program was
:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 ac_c_werror_flag=$ac_save_c_werror_flag
15091 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15092 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15093 if test "$ac_test_CFLAGS" = set; then
15094 CFLAGS=$ac_save_CFLAGS
15095 elif test $ac_cv_prog_cc_g = yes; then
15096 if test "$GCC" = yes; then
15102 if test "$GCC" = yes; then
15108 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15109 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15110 if test "${ac_cv_prog_cc_c89+set}" = set; then
15111 echo $ECHO_N "(cached
) $ECHO_C" >&6
15113 ac_cv_prog_cc_c89=no
15115 cat >conftest.$ac_ext <<_ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121 #include <stdarg.h>
15123 #include <sys/types.h>
15124 #include <sys/stat.h>
15125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15126 struct buf { int x; };
15127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15128 static char *e (p, i)
15134 static char *f (char * (*g) (char **, int), char **p, ...)
15139 s = g (p, va_arg (v,int));
15144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15145 function prototypes and stuff, but not '\xHH' hex character constants.
15146 These don't provoke an error unfortunately, instead are silently treated
15147 as 'x'. The following induces an error, until -std is added to get
15148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15149 array size at least. It's necessary to write '\x00'==0 to get something
15150 that's true only with -std. */
15151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15154 inside strings and character constants. */
15156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15158 int test (int i, double x);
15159 struct s1 {int (*f) (int a);};
15160 struct s2 {int (*f) (double a);};
15161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15175 CC="$ac_save_CC $ac_arg"
15176 rm -f conftest.$ac_objext
15177 if { (ac_try="$ac_compile"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_compile") 2>conftest.er1
15185 grep -v '^ *+' conftest.er1 >conftest.err
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest.$ac_objext; then
15193 ac_cv_prog_cc_c89=$ac_arg
15195 echo "$as_me: failed program was
:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15201 rm -f core conftest.err conftest.$ac_objext
15202 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15204 rm -f conftest.$ac_ext
15209 case "x
$ac_cv_prog_cc_c89" in
15211 { echo "$as_me:$LINENO: result
: none needed
" >&5
15212 echo "${ECHO_T}none needed
" >&6; } ;;
15214 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15215 echo "${ECHO_T}unsupported
" >&6; } ;;
15217 CC="$CC $ac_cv_prog_cc_c89"
15218 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15219 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15224 ac_cpp='$CPP $CPPFLAGS'
15225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15238 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15239 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15240 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15241 echo $ECHO_N "(cached
) $ECHO_C" >&6
15243 cat >conftest.$ac_ext <<_ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15254 #ifndef __INTEL_COMPILER
15262 rm -f conftest.$ac_objext
15263 if { (ac_try="$ac_compile"
15264 case "(($ac_try" in
15265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15266 *) ac_try_echo=$ac_try;;
15268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15269 (eval "$ac_compile") 2>conftest.er1
15271 grep -v '^ *+' conftest.er1 >conftest.err
15273 cat conftest.err >&5
15274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15275 (exit $ac_status); } && {
15276 test -z "$ac_c_werror_flag" ||
15277 test ! -s conftest.err
15278 } && test -s conftest.$ac_objext; then
15279 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15281 echo "$as_me: failed program was
:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15284 bakefile_cv_c_compiler___INTEL_COMPILER=no
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15293 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15294 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15300 ac_cpp='$CPP $CPPFLAGS'
15301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308 if test "$INTELCC" = "yes"; then
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15317 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15318 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15319 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15320 echo $ECHO_N "(cached
) $ECHO_C" >&6
15322 cat >conftest.$ac_ext <<_ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15333 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15341 rm -f conftest.$ac_objext
15342 if { (ac_try="$ac_compile"
15343 case "(($ac_try" in
15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345 *) ac_try_echo=$ac_try;;
15347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_compile") 2>conftest.er1
15350 grep -v '^ *+' conftest.er1 >conftest.err
15352 cat conftest.err >&5
15353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15354 (exit $ac_status); } && {
15355 test -z "$ac_c_werror_flag" ||
15356 test ! -s conftest.err
15357 } && test -s conftest.$ac_objext; then
15358 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15360 echo "$as_me: failed program was
:" >&5
15361 sed 's/^/| /' conftest.$ac_ext >&5
15363 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15372 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15373 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15395 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15396 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15397 echo $ECHO_N "(cached
) $ECHO_C" >&6
15399 cat >conftest.$ac_ext <<_ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15410 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15427 grep -v '^ *+' conftest.er1 >conftest.err
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15435 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15437 echo "$as_me: failed program was
:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15440 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15449 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15450 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15456 ac_cpp='$CPP $CPPFLAGS'
15457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15465 if test "x
$GCC" != "xyes
"; then
15466 if test "xCC
" = "xC
"; then
15467 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15468 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15469 if test "${bakefile_cv_c_exto+set}" = set; then
15470 echo $ECHO_N "(cached
) $ECHO_C" >&6
15472 cat >conftest.$ac_ext <<_ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15487 rm -f conftest.$ac_objext conftest.$ac_ext.o
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>&5
15491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15492 (exit $ac_status); }; then
15493 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15495 conftest.$ac_ext.o)
15496 bakefile_cv_c_exto="-ext o
"
15503 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15504 See \
`config.log' for more details." >&5
15505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15506 See \`config.log
' for more details." >&2;}
15507 { (exit 1); exit 1; }; }
15511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15515 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15517 if test "c" = "c"; then
15518 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15520 if test "c" = "cxx"; then
15521 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15526 unset ac_cv_prog_cc_g
15527 ac_test_CFLAGS=${CFLAGS+set}
15528 ac_save_CFLAGS=$CFLAGS
15529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15531 if test "${ac_cv_prog_cc_g+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 ac_save_c_werror_flag=$ac_c_werror_flag
15535 ac_c_werror_flag=yes
15538 cat >conftest.$ac_ext <<_ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15553 rm -f conftest.$ac_objext
15554 if { (ac_try="$ac_compile"
15555 case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_compile") 2>conftest.er1
15562 grep -v '^
*+' conftest.er1 >conftest.err
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest.$ac_objext; then
15570 ac_cv_prog_cc_g=yes
15572 echo "$as_me: failed program was:" >&5
15573 sed 's
/^
/| /' conftest.$ac_ext >&5
15576 cat >conftest.$ac_ext <<_ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15591 rm -f conftest.$ac_objext
15592 if { (ac_try="$ac_compile"
15593 case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_compile") 2>conftest.er1
15600 grep -v '^
*+' conftest.er1 >conftest.err
15602 cat conftest.err >&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); } && {
15605 test -z "$ac_c_werror_flag" ||
15606 test ! -s conftest.err
15607 } && test -s conftest.$ac_objext; then
15610 echo "$as_me: failed program was:" >&5
15611 sed 's
/^
/| /' conftest.$ac_ext >&5
15613 ac_c_werror_flag=$ac_save_c_werror_flag
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_compile") 2>conftest.er1
15639 grep -v '^
*+' conftest.er1 >conftest.err
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } && {
15644 test -z "$ac_c_werror_flag" ||
15645 test ! -s conftest.err
15646 } && test -s conftest.$ac_objext; then
15647 ac_cv_prog_cc_g=yes
15649 echo "$as_me: failed program was:" >&5
15650 sed 's
/^
/| /' conftest.$ac_ext >&5
15655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662 ac_c_werror_flag=$ac_save_c_werror_flag
15664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15666 if test "$ac_test_CFLAGS" = set; then
15667 CFLAGS=$ac_save_CFLAGS
15668 elif test $ac_cv_prog_cc_g = yes; then
15669 if test "$GCC" = yes; then
15675 if test "$GCC" = yes; then
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15691 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15694 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15695 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15696 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 cat >conftest.$ac_ext <<_ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15718 rm -f conftest.$ac_objext
15719 if { (ac_try="$ac_compile"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_compile") 2>conftest.er1
15727 grep -v '^
*+' conftest.er1 >conftest.err
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest.$ac_objext; then
15735 bakefile_cv_c_compiler___xlC__=yes
15737 echo "$as_me: failed program was:" >&5
15738 sed 's
/^
/| /' conftest.$ac_ext >&5
15740 bakefile_cv_c_compiler___xlC__=no
15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15749 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15750 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15758 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15775 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15776 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 cat >conftest.$ac_ext <<_ACEOF
15782 cat confdefs.h >>conftest.$ac_ext
15783 cat >>conftest.$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15798 rm -f conftest.$ac_objext
15799 if { (ac_try="$ac_compile"
15800 case "(($ac_try" in
15801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802 *) ac_try_echo=$ac_try;;
15804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15805 (eval "$ac_compile") 2>conftest.er1
15807 grep -v '^
*+' conftest.er1 >conftest.err
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } && {
15812 test -z "$ac_c_werror_flag" ||
15813 test ! -s conftest.err
15814 } && test -s conftest.$ac_objext; then
15815 bakefile_cv_c_compiler___MWERKS__=yes
15817 echo "$as_me: failed program was:" >&5
15818 sed 's
/^
/| /' conftest.$ac_ext >&5
15820 bakefile_cv_c_compiler___MWERKS__=no
15824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15829 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15830 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15838 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843 if test "$MWCC" != "yes"; then
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 cat >conftest.$ac_ext <<_ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15885 grep -v '^
*+' conftest.er1 >conftest.err
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___xlC__=yes
15895 echo "$as_me: failed program was:" >&5
15896 sed 's
/^
/| /' conftest.$ac_ext >&5
15898 bakefile_cv_c_compiler___xlC__=no
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15908 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15930 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15934 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15935 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 cat >conftest.$ac_ext <<_ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15949 #ifndef _SGI_COMPILER_VERSION
15957 rm -f conftest.$ac_objext
15958 if { (ac_try="$ac_compile"
15959 case "(($ac_try" in
15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15961 *) ac_try_echo=$ac_try;;
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15964 (eval "$ac_compile") 2>conftest.er1
15966 grep -v '^
*+' conftest.er1 >conftest.err
15968 cat conftest.err >&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } && {
15971 test -z "$ac_c_werror_flag" ||
15972 test ! -s conftest.err
15973 } && test -s conftest.$ac_objext; then
15974 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15976 echo "$as_me: failed program was:" >&5
15977 sed 's
/^
/| /' conftest.$ac_ext >&5
15979 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15987 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15988 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15989 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15995 ac_cpp='$CPP $CPPFLAGS'
15996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15997 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005 if test "$INTELCC" != "yes"; then
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16011 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16014 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16015 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16016 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 cat >conftest.$ac_ext <<_ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16038 rm -f conftest.$ac_objext
16039 if { (ac_try="$ac_compile"
16040 case "(($ac_try" in
16041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_compile") 2>conftest.er1
16047 grep -v '^
*+' conftest.er1 >conftest.err
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest.$ac_objext; then
16055 bakefile_cv_c_compiler___SUNPRO_C=yes
16057 echo "$as_me: failed program was:" >&5
16058 sed 's
/^
/| /' conftest.$ac_ext >&5
16060 bakefile_cv_c_compiler___SUNPRO_C=no
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16068 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16069 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16070 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16078 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16092 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16096 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16097 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 cat >conftest.$ac_ext <<_ACEOF
16103 cat confdefs.h >>conftest.$ac_ext
16104 cat >>conftest.$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16119 rm -f conftest.$ac_objext
16120 if { (ac_try="$ac_compile"
16121 case "(($ac_try" in
16122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16123 *) ac_try_echo=$ac_try;;
16125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 (eval "$ac_compile") 2>conftest.er1
16128 grep -v '^
*+' conftest.er1 >conftest.err
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } && {
16133 test -z "$ac_c_werror_flag" ||
16134 test ! -s conftest.err
16135 } && test -s conftest.$ac_objext; then
16136 bakefile_cv_c_compiler___HP_cc=yes
16138 echo "$as_me: failed program was:" >&5
16139 sed 's
/^
/| /' conftest.$ac_ext >&5
16141 bakefile_cv_c_compiler___HP_cc=no
16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16150 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16151 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16157 ac_cpp='$CPP $CPPFLAGS'
16158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16159 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16172 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16175 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16176 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16177 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 cat >conftest.$ac_ext <<_ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16199 rm -f conftest.$ac_objext
16200 if { (ac_try="$ac_compile"
16201 case "(($ac_try" in
16202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16203 *) ac_try_echo=$ac_try;;
16205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16206 (eval "$ac_compile") 2>conftest.er1
16208 grep -v '^
*+' conftest.er1 >conftest.err
16210 cat conftest.err >&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); } && {
16213 test -z "$ac_c_werror_flag" ||
16214 test ! -s conftest.err
16215 } && test -s conftest.$ac_objext; then
16216 bakefile_cv_c_compiler___DECC=yes
16218 echo "$as_me: failed program was:" >&5
16219 sed 's
/^
/| /' conftest.$ac_ext >&5
16221 bakefile_cv_c_compiler___DECC=no
16225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16229 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16230 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16231 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16239 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16252 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16256 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16257 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16279 rm -f conftest.$ac_objext
16280 if { (ac_try="$ac_compile"
16281 case "(($ac_try" in
16282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16283 *) ac_try_echo=$ac_try;;
16285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16286 (eval "$ac_compile") 2>conftest.er1
16288 grep -v '^
*+' conftest.er1 >conftest.err
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } && {
16293 test -z "$ac_c_werror_flag" ||
16294 test ! -s conftest.err
16295 } && test -s conftest.$ac_objext; then
16296 bakefile_cv_c_compiler___SUNPRO_C=yes
16298 echo "$as_me: failed program was:" >&5
16299 sed 's
/^
/| /' conftest.$ac_ext >&5
16301 bakefile_cv_c_compiler___SUNPRO_C=no
16305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16309 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16310 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16311 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16319 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16331 ac_cpp='$CPP $CPPFLAGS'
16332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16333 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16335 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16336 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16337 # On Suns, sometimes $CPP names a directory.
16338 if test -n "$CPP" && test -d "$CPP"; then
16341 if test -z "$CPP"; then
16342 if test "${ac_cv_prog_CPP+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 # Double quotes because CPP needs to be expanded
16346 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16348 ac_preproc_ok=false
16349 for ac_c_preproc_warn_flag in '' yes
16351 # Use a header file that comes with gcc, so configuring glibc
16352 # with a fresh cross-compiler works.
16353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16354 # <limits.h> exists even on freestanding compilers.
16355 # On the NeXT, cc -E runs the code through the compiler's parser
,
16356 # not just through cpp. "Syntax error" is here to catch this case.
16357 cat >conftest.
$ac_ext <<_ACEOF
16360 cat confdefs.h
>>conftest.
$ac_ext
16361 cat >>conftest.
$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16364 # include <limits.h>
16366 # include <assert.h>
16370 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16371 case "(($ac_try" in
16372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16378 grep -v '^ *+' conftest.er1 >conftest.err
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } >/dev/null && {
16383 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16391 # Broken: fails on valid input.
16395 rm -f conftest.err conftest.$ac_ext
16397 # OK, works on sane cases. Now check whether nonexistent headers
16398 # can be detected and how.
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 #include <ac_nonexistent.h>
16407 if { (ac_try="$ac_cpp conftest.$ac_ext"
16408 case "(($ac_try" in
16409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16410 *) ac_try_echo
=$ac_try;;
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16415 grep -v '^ *+' conftest.er1
>conftest.err
16417 cat conftest.err
>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); } >/dev
/null
&& {
16420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16421 test ! -s conftest.err
16423 # Broken: success on invalid input.
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 # Passes both tests.
16434 rm -f conftest.err conftest.
$ac_ext
16437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16438 rm -f conftest.err conftest.
$ac_ext
16439 if $ac_preproc_ok; then
16444 ac_cv_prog_CPP
=$CPP
16447 CPP
=$ac_cv_prog_CPP
16449 ac_cv_prog_CPP
=$CPP
16451 { echo "$as_me:$LINENO: result: $CPP" >&5
16452 echo "${ECHO_T}$CPP" >&6; }
16453 ac_preproc_ok
=false
16454 for ac_c_preproc_warn_flag
in '' yes
16456 # Use a header file that comes with gcc, so configuring glibc
16457 # with a fresh cross-compiler works.
16458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16459 # <limits.h> exists even on freestanding compilers.
16460 # On the NeXT, cc -E runs the code through the compiler's parser,
16461 # not just through cpp. "Syntax error" is here to catch this case.
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16469 # include <limits.h>
16471 # include <assert.h>
16475 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16476 case "(($ac_try" in
16477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16483 grep -v '^ *+' conftest.er1 >conftest.err
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } >/dev/null && {
16488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16496 # Broken: fails on valid input.
16500 rm -f conftest.err conftest.$ac_ext
16502 # OK, works on sane cases. Now check whether nonexistent headers
16503 # can be detected and how.
16504 cat >conftest.$ac_ext <<_ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #include <ac_nonexistent.h>
16512 if { (ac_try="$ac_cpp conftest.$ac_ext"
16513 case "(($ac_try" in
16514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16515 *) ac_try_echo
=$ac_try;;
16517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16520 grep -v '^ *+' conftest.er1
>conftest.err
16522 cat conftest.err
>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } >/dev
/null
&& {
16525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16526 test ! -s conftest.err
16528 # Broken: success on invalid input.
16531 echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.
$ac_ext >&5
16534 # Passes both tests.
16539 rm -f conftest.err conftest.
$ac_ext
16542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16543 rm -f conftest.err conftest.
$ac_ext
16544 if $ac_preproc_ok; then
16547 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16548 See \`config.log' for more details." >&5
16549 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16550 See \`config.log' for more details." >&2;}
16551 { (exit 1); exit 1; }; }
16555 ac_cpp
='$CPP $CPPFLAGS'
16556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16561 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16562 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16563 if test "${ac_cv_path_GREP+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16566 # Extract the first word of "grep ggrep" to use in msg output
16567 if test -z "$GREP"; then
16568 set dummy
grep ggrep
; ac_prog_name
=$2
16569 if test "${ac_cv_path_GREP+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 ac_path_GREP_found
=false
16573 # Loop through the user's path and test for each of PROGNAME-LIST
16574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16575 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16578 test -z "$as_dir" && as_dir
=.
16579 for ac_prog
in grep ggrep
; do
16580 for ac_exec_ext
in '' $ac_executable_extensions; do
16581 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16582 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16583 # Check for GNU ac_path_GREP and select it if it is found.
16584 # Check for GNU $ac_path_GREP
16585 case `"$ac_path_GREP" --version 2>&1` in
16587 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16590 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16593 cat "conftest.in" "conftest.in" >"conftest.tmp"
16594 mv "conftest.tmp" "conftest.in"
16595 cp "conftest.in" "conftest.nl"
16596 echo 'GREP' >> "conftest.nl"
16597 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16598 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16599 ac_count
=`expr $ac_count + 1`
16600 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16601 # Best one so far, save it but keep looking for a better one
16602 ac_cv_path_GREP
="$ac_path_GREP"
16603 ac_path_GREP_max
=$ac_count
16605 # 10*(2^10) chars as input seems more than enough
16606 test $ac_count -gt 10 && break
16608 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16612 $ac_path_GREP_found && break 3
16622 GREP
="$ac_cv_path_GREP"
16623 if test -z "$GREP"; then
16624 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16625 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16626 { (exit 1); exit 1; }; }
16630 ac_cv_path_GREP
=$GREP
16635 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16636 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16637 GREP
="$ac_cv_path_GREP"
16640 { echo "$as_me:$LINENO: checking for egrep" >&5
16641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16642 if test "${ac_cv_path_EGREP+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16646 then ac_cv_path_EGREP
="$GREP -E"
16648 # Extract the first word of "egrep" to use in msg output
16649 if test -z "$EGREP"; then
16650 set dummy
egrep; ac_prog_name
=$2
16651 if test "${ac_cv_path_EGREP+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 ac_path_EGREP_found
=false
16655 # Loop through the user's path and test for each of PROGNAME-LIST
16656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16657 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16660 test -z "$as_dir" && as_dir
=.
16661 for ac_prog
in egrep; do
16662 for ac_exec_ext
in '' $ac_executable_extensions; do
16663 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16664 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16665 # Check for GNU ac_path_EGREP and select it if it is found.
16666 # Check for GNU $ac_path_EGREP
16667 case `"$ac_path_EGREP" --version 2>&1` in
16669 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16672 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16675 cat "conftest.in" "conftest.in" >"conftest.tmp"
16676 mv "conftest.tmp" "conftest.in"
16677 cp "conftest.in" "conftest.nl"
16678 echo 'EGREP' >> "conftest.nl"
16679 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16680 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16681 ac_count
=`expr $ac_count + 1`
16682 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16683 # Best one so far, save it but keep looking for a better one
16684 ac_cv_path_EGREP
="$ac_path_EGREP"
16685 ac_path_EGREP_max
=$ac_count
16687 # 10*(2^10) chars as input seems more than enough
16688 test $ac_count -gt 10 && break
16690 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16694 $ac_path_EGREP_found && break 3
16704 EGREP
="$ac_cv_path_EGREP"
16705 if test -z "$EGREP"; then
16706 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16707 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16708 { (exit 1); exit 1; }; }
16712 ac_cv_path_EGREP
=$EGREP
16718 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16719 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16720 EGREP
="$ac_cv_path_EGREP"
16723 if test $ac_cv_c_compiler_gnu = yes; then
16724 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16725 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16726 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 ac_pattern
="Autoconf.*'x'"
16730 cat >conftest.
$ac_ext <<_ACEOF
16733 cat confdefs.h
>>conftest.
$ac_ext
16734 cat >>conftest.
$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16740 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16741 ac_cv_prog_gcc_traditional
=yes
16743 ac_cv_prog_gcc_traditional
=no
16748 if test $ac_cv_prog_gcc_traditional = no
; then
16749 cat >conftest.
$ac_ext <<_ACEOF
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 #include <termio.h>
16758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16759 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16760 ac_cv_prog_gcc_traditional
=yes
16766 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16767 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16768 if test $ac_cv_prog_gcc_traditional = yes; then
16769 CC
="$CC -traditional"
16774 CXXFLAGS
=${CXXFLAGS:=}
16779 ac_cpp
='$CXXCPP $CPPFLAGS'
16780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16783 if test -z "$CXX"; then
16784 if test -n "$CCC"; then
16787 if test -n "$ac_tool_prefix"; then
16788 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16794 if test "${ac_cv_prog_CXX+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 if test -n "$CXX"; then
16798 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16801 for as_dir
in $PATH
16804 test -z "$as_dir" && as_dir
=.
16805 for ac_exec_ext
in '' $ac_executable_extensions; do
16806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16807 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16817 CXX
=$ac_cv_prog_CXX
16818 if test -n "$CXX"; then
16819 { echo "$as_me:$LINENO: result: $CXX" >&5
16820 echo "${ECHO_T}$CXX" >&6; }
16822 { echo "$as_me:$LINENO: result: no" >&5
16823 echo "${ECHO_T}no" >&6; }
16827 test -n "$CXX" && break
16830 if test -z "$CXX"; then
16832 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16834 # Extract the first word of "$ac_prog", so it can be a program name with args.
16835 set dummy
$ac_prog; ac_word
=$2
16836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16838 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16841 if test -n "$ac_ct_CXX"; then
16842 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16845 for as_dir
in $PATH
16848 test -z "$as_dir" && as_dir
=.
16849 for ac_exec_ext
in '' $ac_executable_extensions; do
16850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16851 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16861 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16862 if test -n "$ac_ct_CXX"; then
16863 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16864 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16866 { echo "$as_me:$LINENO: result: no" >&5
16867 echo "${ECHO_T}no" >&6; }
16871 test -n "$ac_ct_CXX" && break
16874 if test "x$ac_ct_CXX" = x
; then
16877 case $cross_compiling:$ac_tool_warned in
16879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16880 whose name does not start with the host triplet. If you think this
16881 configuration is useful to you, please write to autoconf@gnu.org." >&5
16882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16883 whose name does not start with the host triplet. If you think this
16884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16885 ac_tool_warned
=yes ;;
16893 # Provide some information about the compiler.
16894 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16895 ac_compiler
=`set X $ac_compile; echo $2`
16896 { (ac_try
="$ac_compiler --version >&5"
16897 case "(($ac_try" in
16898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16899 *) ac_try_echo=$ac_try;;
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902 (eval "$ac_compiler --version >&5") 2>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }
16906 { (ac_try="$ac_compiler -v >&5"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16909 *) ac_try_echo
=$ac_try;;
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_compiler -v >&5") 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }
16916 { (ac_try
="$ac_compiler -V >&5"
16917 case "(($ac_try" in
16918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16919 *) ac_try_echo=$ac_try;;
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16922 (eval "$ac_compiler -V >&5") 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }
16927 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16928 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16929 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 cat >conftest.$ac_ext <<_ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16950 rm -f conftest.$ac_objext
16951 if { (ac_try="$ac_compile"
16952 case "(($ac_try" in
16953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16954 *) ac_try_echo
=$ac_try;;
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_compile") 2>conftest.er1
16959 grep -v '^ *+' conftest.er1
>conftest.err
16961 cat conftest.err
>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } && {
16964 test -z "$ac_cxx_werror_flag" ||
16965 test ! -s conftest.err
16966 } && test -s conftest.
$ac_objext; then
16967 ac_compiler_gnu
=yes
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.
$ac_ext >&5
16975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16976 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16979 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16980 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16981 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16982 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16983 ac_save_CXXFLAGS
=$CXXFLAGS
16984 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16985 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16986 if test "${ac_cv_prog_cxx_g+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16990 ac_cxx_werror_flag
=yes
16991 ac_cv_prog_cxx_g
=no
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
17008 rm -f conftest.
$ac_objext
17009 if { (ac_try
="$ac_compile"
17010 case "(($ac_try" in
17011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compile") 2>conftest.er1
17017 grep -v '^ *+' conftest.er1 >conftest.err
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } && {
17022 test -z "$ac_cxx_werror_flag" ||
17023 test ! -s conftest.err
17024 } && test -s conftest.$ac_objext; then
17025 ac_cv_prog_cxx_g=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17031 cat >conftest.$ac_ext <<_ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17046 rm -f conftest.$ac_objext
17047 if { (ac_try="$ac_compile"
17048 case "(($ac_try" in
17049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17050 *) ac_try_echo
=$ac_try;;
17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17053 (eval "$ac_compile") 2>conftest.er1
17055 grep -v '^ *+' conftest.er1
>conftest.err
17057 cat conftest.err
>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); } && {
17060 test -z "$ac_cxx_werror_flag" ||
17061 test ! -s conftest.err
17062 } && test -s conftest.
$ac_objext; then
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.
$ac_ext >&5
17068 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17070 cat >conftest.
$ac_ext <<_ACEOF
17073 cat confdefs.h
>>conftest.
$ac_ext
17074 cat >>conftest.
$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17085 rm -f conftest.
$ac_objext
17086 if { (ac_try
="$ac_compile"
17087 case "(($ac_try" in
17088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17089 *) ac_try_echo=$ac_try;;
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_compile") 2>conftest.er1
17094 grep -v '^ *+' conftest.er1 >conftest.err
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } && {
17099 test -z "$ac_cxx_werror_flag" ||
17100 test ! -s conftest.err
17101 } && test -s conftest.$ac_objext; then
17102 ac_cv_prog_cxx_g=yes
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17119 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17120 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17121 if test "$ac_test_CXXFLAGS" = set; then
17122 CXXFLAGS=$ac_save_CXXFLAGS
17123 elif test $ac_cv_prog_cxx_g = yes; then
17124 if test "$GXX" = yes; then
17130 if test "$GXX" = yes; then
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17146 ac_cpp='$CXXCPP $CPPFLAGS'
17147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17151 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17152 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17153 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 cat >conftest.$ac_ext <<_ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17167 #ifndef __INTEL_COMPILER
17175 rm -f conftest.$ac_objext
17176 if { (ac_try="$ac_compile"
17177 case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17179 *) ac_try_echo
=$ac_try;;
17181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17182 (eval "$ac_compile") 2>conftest.er1
17184 grep -v '^ *+' conftest.er1
>conftest.err
17186 cat conftest.err
>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } && {
17189 test -z "$ac_cxx_werror_flag" ||
17190 test ! -s conftest.err
17191 } && test -s conftest.
$ac_objext; then
17192 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17194 echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.
$ac_ext >&5
17197 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17205 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17206 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17207 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17213 ac_cpp
='$CPP $CPPFLAGS'
17214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17221 if test "$INTELCXX" = "yes"; then
17225 ac_cpp
='$CXXCPP $CPPFLAGS'
17226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17230 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17231 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17232 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17235 cat >conftest.
$ac_ext <<_ACEOF
17238 cat confdefs.h
>>conftest.
$ac_ext
17239 cat >>conftest.
$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17246 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17254 rm -f conftest.
$ac_objext
17255 if { (ac_try
="$ac_compile"
17256 case "(($ac_try" in
17257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17261 (eval "$ac_compile") 2>conftest.er1
17263 grep -v '^ *+' conftest.er1 >conftest.err
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } && {
17268 test -z "$ac_cxx_werror_flag" ||
17269 test ! -s conftest.err
17270 } && test -s conftest.$ac_objext; then
17271 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.$ac_ext >&5
17276 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17285 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17286 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 ac_cpp='$CXXCPP $CPPFLAGS'
17303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17307 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17308 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17309 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.$ac_ext <<_ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17323 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17335 *) ac_try_echo
=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1
>conftest.err
17342 cat conftest.err
>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_cxx_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.
$ac_objext; then
17348 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.
$ac_ext >&5
17353 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17361 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17362 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17363 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17369 ac_cpp
='$CPP $CPPFLAGS'
17370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17378 if test "x$GCXX" != "xyes"; then
17379 if test "xCXX" = "xC"; then
17380 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17381 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17382 if test "${bakefile_cv_c_exto+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 cat >conftest.
$ac_ext <<_ACEOF
17388 cat confdefs.h
>>conftest.
$ac_ext
17389 cat >>conftest.
$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17400 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; then
17406 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17408 conftest.
$ac_ext.o
)
17409 bakefile_cv_c_exto
="-ext o"
17416 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17417 See \`config.log' for more details." >&5
17418 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17419 See \`config.log' for more details." >&2;}
17420 { (exit 1); exit 1; }; }
17424 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17427 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17428 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17429 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17430 if test "c" = "c"; then
17431 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17433 if test "c" = "cxx"; then
17434 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17438 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17439 unset ac_cv_prog_cc_g
17440 ac_test_CFLAGS
=${CFLAGS+set}
17441 ac_save_CFLAGS
=$CFLAGS
17442 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17443 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17444 if test "${ac_cv_prog_cc_g+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 ac_save_c_werror_flag
=$ac_c_werror_flag
17448 ac_c_werror_flag
=yes
17451 cat >conftest.
$ac_ext <<_ACEOF
17454 cat confdefs.h
>>conftest.
$ac_ext
17455 cat >>conftest.
$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17466 rm -f conftest.
$ac_objext
17467 if { (ac_try
="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17475 grep -v '^ *+' conftest.er1 >conftest.err
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.$ac_objext; then
17483 ac_cv_prog_cc_g=yes
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17489 cat >conftest.$ac_ext <<_ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17504 rm -f conftest.$ac_objext
17505 if { (ac_try="$ac_compile"
17506 case "(($ac_try" in
17507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17508 *) ac_try_echo
=$ac_try;;
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_compile") 2>conftest.er1
17513 grep -v '^ *+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && {
17518 test -z "$ac_c_werror_flag" ||
17519 test ! -s conftest.err
17520 } && test -s conftest.
$ac_objext; then
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 ac_c_werror_flag
=$ac_save_c_werror_flag
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17543 rm -f conftest.
$ac_objext
17544 if { (ac_try
="$ac_compile"
17545 case "(($ac_try" in
17546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_compile") 2>conftest.er1
17552 grep -v '^ *+' conftest.er1 >conftest.err
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } && {
17557 test -z "$ac_c_werror_flag" ||
17558 test ! -s conftest.err
17559 } && test -s conftest.$ac_objext; then
17560 ac_cv_prog_cc_g=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575 ac_c_werror_flag=$ac_save_c_werror_flag
17577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17578 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17579 if test "$ac_test_CFLAGS" = set; then
17580 CFLAGS=$ac_save_CFLAGS
17581 elif test $ac_cv_prog_cc_g = yes; then
17582 if test "$GCC" = yes; then
17588 if test "$GCC" = yes; then
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17607 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17608 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17609 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 cat >conftest.$ac_ext <<_ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17631 rm -f conftest.$ac_objext
17632 if { (ac_try="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17635 *) ac_try_echo
=$ac_try;;
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17640 grep -v '^ *+' conftest.er1
>conftest.err
17642 cat conftest.err
>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.
$ac_objext; then
17648 bakefile_cv_cxx_compiler___xlC__
=yes
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.
$ac_ext >&5
17653 bakefile_cv_cxx_compiler___xlC__
=no
17657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17662 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17663 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17669 ac_cpp
='$CPP $CPPFLAGS'
17670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17682 ac_cpp
='$CXXCPP $CPPFLAGS'
17683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17687 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17688 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17689 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.
$ac_ext <<_ACEOF
17695 cat confdefs.h
>>conftest.
$ac_ext
17696 cat >>conftest.
$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17711 rm -f conftest.
$ac_objext
17712 if { (ac_try
="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17720 grep -v '^ *+' conftest.er1 >conftest.err
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_cxx_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.$ac_objext; then
17728 bakefile_cv_cxx_compiler___MWERKS__=yes
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17733 bakefile_cv_cxx_compiler___MWERKS__=no
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17742 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17743 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17749 ac_cpp='$CPP $CPPFLAGS'
17750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17756 if test "$MWCXX" != "yes"; then
17760 ac_cpp='$CXXCPP $CPPFLAGS'
17761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17765 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 cat >conftest.$ac_ext <<_ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17793 *) ac_try_echo
=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1
>conftest.err
17800 cat conftest.err
>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.
$ac_objext; then
17806 bakefile_cv_cxx_compiler___xlC__
=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 bakefile_cv_cxx_compiler___xlC__
=no
17815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17827 ac_cpp
='$CPP $CPPFLAGS'
17828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17841 ac_cpp
='$CXXCPP $CPPFLAGS'
17842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17846 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17847 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17848 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 cat >conftest.
$ac_ext <<_ACEOF
17854 cat confdefs.h
>>conftest.
$ac_ext
17855 cat >>conftest.
$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17862 #ifndef _SGI_COMPILER_VERSION
17870 rm -f conftest.
$ac_objext
17871 if { (ac_try
="$ac_compile"
17872 case "(($ac_try" in
17873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_compile") 2>conftest.er1
17879 grep -v '^ *+' conftest.er1 >conftest.err
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_cxx_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest.$ac_objext; then
17887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17892 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17901 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17902 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17908 ac_cpp='$CPP $CPPFLAGS'
17909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17918 if test "$INTELCXX" != "yes"; then
17922 ac_cpp='$CXXCPP $CPPFLAGS'
17923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17927 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17928 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17929 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 cat >conftest.$ac_ext <<_ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17943 #ifndef __SUNPRO_CC
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17955 *) ac_try_echo
=$ac_try;;
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17960 grep -v '^ *+' conftest.er1
>conftest.err
17962 cat conftest.err
>&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_cxx_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.
$ac_objext; then
17968 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17982 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17983 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17989 ac_cpp
='$CPP $CPPFLAGS'
17990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18003 ac_cpp
='$CXXCPP $CPPFLAGS'
18004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18008 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18009 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18010 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 cat >conftest.
$ac_ext <<_ACEOF
18016 cat confdefs.h
>>conftest.
$ac_ext
18017 cat >>conftest.
$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18032 rm -f conftest.
$ac_objext
18033 if { (ac_try
="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18041 grep -v '^ *+' conftest.er1 >conftest.err
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_cxx_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.$ac_objext; then
18049 bakefile_cv_cxx_compiler___HP_aCC=yes
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18054 bakefile_cv_cxx_compiler___HP_aCC=no
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18064 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18070 ac_cpp='$CPP $CPPFLAGS'
18071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18083 ac_cpp='$CXXCPP $CPPFLAGS'
18084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18088 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18089 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18090 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 cat >conftest.$ac_ext <<_ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18116 *) ac_try_echo
=$ac_try;;
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1
>conftest.err
18123 cat conftest.err
>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_cxx_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.
$ac_objext; then
18129 bakefile_cv_cxx_compiler___DECCXX
=yes
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 bakefile_cv_cxx_compiler___DECCXX
=no
18138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18142 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18143 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18144 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18150 ac_cpp
='$CPP $CPPFLAGS'
18151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18163 ac_cpp
='$CXXCPP $CPPFLAGS'
18164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18168 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18169 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18170 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18184 #ifndef __SUNPRO_CC
18192 rm -f conftest.
$ac_objext
18193 if { (ac_try
="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18201 grep -v '^ *+' conftest.er1 >conftest.err
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_cxx_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18223 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18224 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18230 ac_cpp='$CPP $CPPFLAGS'
18231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18243 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18244 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18245 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18246 { (exit 1); exit 1; }; }
18249 if test "x$SUNCXX" != xyes; then
18250 if test -n "$ac_tool_prefix"; then
18251 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18252 set dummy ${ac_tool_prefix}ar; ac_word=$2
18253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18255 if test "${ac_cv_prog_AR+set}" = set; then
18256 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 if test -n "$AR"; then
18259 ac_cv_prog_AR="$AR" # Let the user override the test.
18261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18262 for as_dir in $PATH
18265 test -z "$as_dir" && as_dir=.
18266 for ac_exec_ext in '' $ac_executable_extensions; do
18267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18268 ac_cv_prog_AR="${ac_tool_prefix}ar"
18269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18279 if test -n "$AR"; then
18280 { echo "$as_me:$LINENO: result: $AR" >&5
18281 echo "${ECHO_T}$AR" >&6; }
18283 { echo "$as_me:$LINENO: result: no" >&5
18284 echo "${ECHO_T}no" >&6; }
18289 if test -z "$ac_cv_prog_AR"; then
18291 # Extract the first word of "ar", so it can be a program name with args.
18292 set dummy ar; ac_word=$2
18293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18295 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 if test -n "$ac_ct_AR"; then
18299 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18302 for as_dir in $PATH
18305 test -z "$as_dir" && as_dir=.
18306 for ac_exec_ext in '' $ac_executable_extensions; do
18307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18308 ac_cv_prog_ac_ct_AR="ar"
18309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18318 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18319 if test -n "$ac_ct_AR"; then
18320 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18321 echo "${ECHO_T}$ac_ct_AR" >&6; }
18323 { echo "$as_me:$LINENO: result: no" >&5
18324 echo "${ECHO_T}no" >&6; }
18327 if test "x$ac_ct_AR" = x; then
18330 case $cross_compiling:$ac_tool_warned in
18332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18333 whose name does not start with the host triplet. If you think this
18334 configuration is useful to you, please write to autoconf@gnu.org." >&5
18335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18336 whose name does not start with the host triplet. If you think this
18337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18338 ac_tool_warned=yes ;;
18343 AR="$ac_cv_prog_AR"
18346 if test "x$AR" = "x" ; then
18347 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18348 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18349 { (exit 1); exit 1; }; }
18354 if test "$wxUSE_MAC" = 1; then
18356 retest_macosx_linking=no
18358 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18359 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18360 # Implicitly turn on the new --with-macosx-sdk using the default
18361 # SDK which provides the behavior this option has always had.
18362 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18363 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18364 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18365 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18366 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18367 wxUSE_MACOSX_SDK=yes
18370 # Complain to user if he specified an argument to --enable-universal_binary
18371 # and also 1) specified --with-macosx-sdk using the default (yes) or
18372 # 2) specified --with-macosx-sdk using a path or 3) specified
18373 # --without-macosx-sdk (no).
18374 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18375 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18376 See \`config.log
' for more details." >&5
18377 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18378 See \`config.log' for more details.
" >&2;}
18379 { (exit 1); exit 1; }; }
18381 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18382 # special-case the empty string because the below test simply
18383 # converts "no
" to the empty string anyway.
18384 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18385 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18386 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18389 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18390 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18391 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18392 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18393 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18394 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18395 retest_macosx_linking=yes
18397 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18398 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18402 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18404 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18405 # TODO: Search for most recent SDK and use it.
18406 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18410 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18411 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18412 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18413 if ! test -d "$wxUSE_MACOSX_SDK"; then
18414 { { echo "$as_me:$LINENO: error
: not found
18415 See \
`config.log' for more details." >&5
18416 echo "$as_me: error: not found
18417 See \`config.log
' for more details." >&2;}
18418 { (exit 1); exit 1; }; }
18420 { echo "$as_me:$LINENO: result: exists" >&5
18421 echo "${ECHO_T}exists" >&6; }
18423 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18424 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18425 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18426 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18427 retest_macosx_linking=yes
18430 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18431 wxUSE_MACOSX_VERSION_MIN=
18432 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18433 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18434 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18435 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18437 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/'`
18439 # If that failed, try again with the new key
18440 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18442 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/'`
18446 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18447 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18448 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18449 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18451 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18452 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18453 wxUSE_MACOSX_VERSION_MIN=
18456 wxUSE_MACOSX_VERSION_MIN=
18458 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18459 for ac_prog in sw_vers
18461 # Extract the first word of "$ac_prog", so it can be a program name with args.
18462 set dummy $ac_prog; ac_word=$2
18463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18465 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 if test -n "$OSX_SW_VERS"; then
18469 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18472 for as_dir in $PATH
18475 test -z "$as_dir" && as_dir=.
18476 for ac_exec_ext in '' $ac_executable_extensions; do
18477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18478 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18488 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18489 if test -n "$OSX_SW_VERS"; then
18490 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18491 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18493 { echo "$as_me:$LINENO: result: no" >&5
18494 echo "${ECHO_T}no" >&6; }
18498 test -n "$OSX_SW_VERS" && break
18501 if test "$OSX_SW_VERS" != ""; then
18502 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18504 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18505 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18509 case "$OSX_VERSION" in
18511 wxUSE_MACOSX_VERSION_MIN=10.4
18515 if test "$wxUSE_OSX_CARBON" = 1; then
18516 # otherwise configure stops on leopard for universal_binary
18517 wxUSE_MACOSX_VERSION_MIN=10.4
18519 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18520 wxUSE_MACOSX_VERSION_MIN=10.5
18527 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18531 if test "$wxUSE_OSX_CARBON" = 1; then
18535 if test "x$NEEDS_GCC40" == "xyes"; then
18536 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18537 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18538 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18539 if test "x$CC" = "xgcc"; then
18540 CCVERSION=`$CC --version | grep 4.[2-9].`
18541 if test "x$CCVERSION" != "x"; then
18542 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18543 CC="/usr/bin/gcc-4.0"
18547 if test "x$CXX" = "xg++"; then
18548 CCVERSION=`$CXX --version | grep 4.[2-9].`
18549 if test "x$CCVERSION" != "x"; then
18550 CXX="/usr/bin/g++-4.0"
18555 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18556 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18557 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18558 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18559 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18560 retest_macosx_linking=yes
18563 if test "x$retest_macosx_linking" = "xyes"; then
18565 ac_cpp='$CPP $CPPFLAGS'
18566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18567 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18570 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18571 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18587 rm -f conftest.$ac_objext conftest$ac_exeext
18588 if { (ac_try="$ac_link"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_link") 2>conftest.er1
18596 grep -v '^
*+' conftest.er1 >conftest.err
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest$ac_exeext &&
18604 $as_test_x conftest$ac_exeext; then
18605 { echo "$as_me:$LINENO: result: yes" >&5
18606 echo "${ECHO_T}yes" >&6; }
18608 echo "$as_me: failed program was:" >&5
18609 sed 's
/^
/| /' conftest.$ac_ext >&5
18611 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18612 See \`config.log' for more details.
" >&5
18613 echo "$as_me: error
: no. Try a different SDK
18614 See \
`config.log' for more details." >&2;}
18615 { (exit 1); exit 1; }; }; exit 1
18618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18619 conftest$ac_exeext conftest.$ac_ext
18621 ac_cpp='$CPP $CPPFLAGS'
18622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18633 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18634 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18635 cat >conftest.$ac_ext <<_ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18650 rm -f conftest.$ac_objext conftest$ac_exeext
18651 if { (ac_try="$ac_link"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18654 *) ac_try_echo
=$ac_try;;
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_link") 2>conftest.er1
18659 grep -v '^ *+' conftest.er1
>conftest.err
18661 cat conftest.err
>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_cxx_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest
$ac_exeext &&
18667 $as_test_x conftest
$ac_exeext; then
18668 { echo "$as_me:$LINENO: result: yes" >&5
18669 echo "${ECHO_T}yes" >&6; }
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.
$ac_ext >&5
18674 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18675 See \`config.log' for more details." >&5
18676 echo "$as_me: error: no. Try a different SDK
18677 See \`config.log' for more details." >&2;}
18678 { (exit 1); exit 1; }; }; exit 1
18681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18682 conftest
$ac_exeext conftest.
$ac_ext
18684 ac_cpp
='$CPP $CPPFLAGS'
18685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18695 INSTALL_PROGRAM
="cp -fp"
18696 INSTALL_DATA
="cp -fp"
18703 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18704 CXXFLAGS
="-qunique $CXXFLAGS"
18708 powerpc
-*-darwin* )
18709 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18710 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18711 cat >conftest.
$ac_ext <<_ACEOF
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18721 #ifndef __POWERPC__
18722 choke me for lack of PowerPC
18729 rm -f conftest.
$ac_objext
18730 if { (ac_try
="$ac_compile"
18731 case "(($ac_try" in
18732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_compile") 2>conftest.er1
18738 grep -v '^ *+' conftest.er1 >conftest.err
18740 cat conftest.err >&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } && {
18743 test -z "$ac_c_werror_flag" ||
18744 test ! -s conftest.err
18745 } && test -s conftest.$ac_objext; then
18746 { echo "$as_me:$LINENO: result: yes" >&5
18747 echo "${ECHO_T}yes" >&6; }
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 { echo "$as_me:$LINENO: result: no" >&5
18753 echo "${ECHO_T}no" >&6; }
18754 cat >>confdefs.h <<\_ACEOF
18755 #define __POWERPC__ 1
18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18767 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18768 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18769 cat >conftest.$ac_ext <<_ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 #include <CoreFoundation/CFBase.h>
18785 rm -f conftest.$ac_objext
18786 if { (ac_try="$ac_compile"
18787 case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18789 *) ac_try_echo
=$ac_try;;
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_compile") 2>conftest.er1
18794 grep -v '^ *+' conftest.er1
>conftest.err
18796 cat conftest.err
>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } && {
18799 test -z "$ac_c_werror_flag" ||
18800 test ! -s conftest.err
18801 } && test -s conftest.
$ac_objext; then
18802 { echo "$as_me:$LINENO: result: yes" >&5
18803 echo "${ECHO_T}yes" >&6; }
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.
$ac_ext >&5
18808 { echo "$as_me:$LINENO: result: no" >&5
18809 echo "${ECHO_T}no" >&6; }
18810 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18811 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18812 cat >conftest.
$ac_ext <<_ACEOF
18815 cat confdefs.h
>>conftest.
$ac_ext
18816 cat >>conftest.
$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 #define __CF_USE_FRAMEWORK_INCLUDES__
18819 #include <CoreFoundation/CFBase.h>
18829 rm -f conftest.
$ac_objext
18830 if { (ac_try
="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18838 grep -v '^ *+' conftest.er1 >conftest.err
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.$ac_objext; then
18846 { echo "$as_me:$LINENO: result: yes" >&5
18847 echo "${ECHO_T}yes" >&6; }
18848 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18853 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18854 See \`config.log
' for more details." >&5
18855 echo "$as_me: error: no. CoreFoundation not available.
18856 See \`config.log' for more details.
" >&2;}
18857 { (exit 1); exit 1; }; }
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 doesnt_want_win32=0
18874 if test "$wxUSE_MSW" = 1 ; then
18877 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18878 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18879 if test "${wx_cv_nocygwin+set}" = set; then
18880 echo $ECHO_N "(cached
) $ECHO_C" >&6
18883 cat >conftest.$ac_ext <<_ACEOF
18886 cat confdefs.h >>conftest.$ac_ext
18887 cat >>conftest.$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18902 rm -f conftest.$ac_objext
18903 if { (ac_try="$ac_compile"
18904 case "(($ac_try" in
18905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18906 *) ac_try_echo=$ac_try;;
18908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18909 (eval "$ac_compile") 2>conftest.er1
18911 grep -v '^ *+' conftest.er1 >conftest.err
18913 cat conftest.err >&5
18914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18915 (exit $ac_status); } && {
18916 test -z "$ac_c_werror_flag" ||
18917 test ! -s conftest.err
18918 } && test -s conftest.$ac_objext; then
18921 echo "$as_me: failed program was
:" >&5
18922 sed 's/^/| /' conftest.$ac_ext >&5
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18932 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18933 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18935 if test "$wx_cv_nocygwin" = "yes"; then
18938 doesnt_want_win32=1
18941 if test "$wants_win32" = 1 ; then
18942 BAKEFILE_FORCE_PLATFORM=win32
18950 if test "$wxUSE_WINE" = "yes"; then
18952 LDFLAGS_GUI="-mwindows"
18955 if test "$wants_win32" = 1 ; then
18958 cat >>confdefs.h <<\_ACEOF
18959 #define __WIN32__ 1
18962 cat >>confdefs.h <<\_ACEOF
18963 #define __WIN95__ 1
18966 cat >>confdefs.h <<\_ACEOF
18967 #define __WINDOWS__ 1
18970 cat >>confdefs.h <<\_ACEOF
18971 #define __GNUWIN32__ 1
18974 cat >>confdefs.h <<\_ACEOF
18979 if test "$doesnt_want_win32" = 1 ; then
18984 if test "$USE_UNIX" = 1 ; then
18986 cat >>confdefs.h <<\_ACEOF
18993 *-pc-os2_emx | *-pc-os2-emx )
18994 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18995 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18996 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18997 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18998 echo $ECHO_N "(cached
) $ECHO_C" >&6
19000 ac_check_lib_save_LIBS=$LIBS
19001 LIBS="-lcExt $LIBS"
19002 cat >conftest.$ac_ext <<_ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19009 /* Override any GCC internal prototype to avoid an error.
19010 Use char because int might match the return type of a GCC
19011 builtin and then its argument prototype would still apply. */
19024 rm -f conftest.$ac_objext conftest$ac_exeext
19025 if { (ac_try="$ac_link"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_link") 2>conftest.er1
19033 grep -v '^ *+' conftest.er1 >conftest.err
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest$ac_exeext &&
19041 $as_test_x conftest$ac_exeext; then
19042 ac_cv_lib_cExt_drand48=yes
19044 echo "$as_me: failed program was
:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19047 ac_cv_lib_cExt_drand48=no
19050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19051 conftest$ac_exeext conftest.$ac_ext
19052 LIBS=$ac_check_lib_save_LIBS
19054 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19055 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19056 if test $ac_cv_lib_cExt_drand48 = yes; then
19057 LIBS="$LIBS -lcExt"
19061 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19063 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19064 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19065 if test "${wx_cv_gccversion+set}" = set; then
19066 echo $ECHO_N "(cached
) $ECHO_C" >&6
19069 if test "$cross_compiling" = yes; then
19070 wx_cv_gccversion="EMX2
"
19073 cat >conftest.$ac_ext <<_ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19084 FILE *f=fopen("conftestval
", "w
");
19089 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19091 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19101 rm -f conftest$ac_exeext
19102 if { (ac_try="$ac_link"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_link") 2>&5
19110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19112 { (case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_try") 2>&5
19119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 wx_cv_gccversion=`cat conftestval`
19123 echo "$as_me: program exited with status
$ac_status" >&5
19124 echo "$as_me: failed program was
:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 ( exit $ac_status )
19128 wx_cv_gccversion="EMX2
"
19130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19136 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19137 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19138 if test "$wx_cv_gccversion" = "EMX2
"; then
19139 LIBS="$LIBS -lstdcpp"
19140 LDFLAGS="$LDFLAGS -Zsysv-signals"
19142 if test "$wx_cv_gccversion" = "EMX3
"; then
19143 LIBS="$LIBS -lstdcxx -lgcc"
19144 LDFLAGS="$LDFLAGS -Zsysv-signals"
19146 LIBS="$LIBS -lstdc++"
19149 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19150 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19151 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19158 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19159 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19160 if test "${ac_cv_string_strcasecmp+set}" = set; then
19161 echo $ECHO_N "(cached
) $ECHO_C" >&6
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19171 #include <string.h>
19177 strcasecmp("foo
", "bar
");
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (ac_try="$ac_link"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_link") 2>conftest.er1
19192 grep -v '^ *+' conftest.er1 >conftest.err
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest$ac_exeext &&
19200 $as_test_x conftest$ac_exeext; then
19201 ac_cv_string_strcasecmp=yes
19203 echo "$as_me: failed program was
:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 ac_cv_string_strcasecmp=no
19210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19211 conftest$ac_exeext conftest.$ac_ext
19214 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19215 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19217 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19218 cat >>confdefs.h <<\_ACEOF
19219 #define HAVE_STRCASECMP_IN_STRING_H 1
19223 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19224 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19225 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19226 echo $ECHO_N "(cached
) $ECHO_C" >&6
19229 cat >conftest.$ac_ext <<_ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19236 #include <strings.h>
19242 strcasecmp("foo
", "bar
");
19248 rm -f conftest.$ac_objext conftest$ac_exeext
19249 if { (ac_try="$ac_link"
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_link") 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_exeext &&
19265 $as_test_x conftest$ac_exeext; then
19266 ac_cv_strings_strcasecmp=yes
19268 echo "$as_me: failed program was
:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19271 ac_cv_strings_strcasecmp=no
19275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19276 conftest$ac_exeext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19280 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19282 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19283 cat >>confdefs.h <<\_ACEOF
19284 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19288 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19289 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19290 { (exit 1); exit 1; }; }
19298 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19299 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19300 if test "${ac_cv_header_stdc+set}" = set; then
19301 echo $ECHO_N "(cached
) $ECHO_C" >&6
19303 cat >conftest.$ac_ext <<_ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 #include <stdlib.h>
19310 #include <stdarg.h>
19311 #include <string.h>
19322 rm -f conftest.$ac_objext
19323 if { (ac_try="$ac_compile"
19324 case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_compile") 2>conftest.er1
19331 grep -v '^ *+' conftest.er1 >conftest.err
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19335 (exit $ac_status); } && {
19336 test -z "$ac_c_werror_flag" ||
19337 test ! -s conftest.err
19338 } && test -s conftest.$ac_objext; then
19339 ac_cv_header_stdc=yes
19341 echo "$as_me: failed program was
:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 ac_cv_header_stdc=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 if test $ac_cv_header_stdc = yes; then
19350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <string.h>
19360 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19361 $EGREP "memchr
" >/dev/null 2>&1; then
19364 ac_cv_header_stdc=no
19370 if test $ac_cv_header_stdc = yes; then
19371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <stdlib.h>
19381 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19382 $EGREP "free
" >/dev/null 2>&1; then
19385 ac_cv_header_stdc=no
19391 if test $ac_cv_header_stdc = yes; then
19392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19393 if test "$cross_compiling" = yes; then
19396 cat >conftest.$ac_ext <<_ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19403 #include <stdlib.h>
19404 #if ((' ' & 0x0FF) == 0x020)
19405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19408 # define ISLOWER(c) \
19409 (('a' <= (c) && (c) <= 'i') \
19410 || ('j' <= (c) && (c) <= 'r') \
19411 || ('s' <= (c) && (c) <= 'z'))
19412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19420 for (i = 0; i < 256; i++)
19421 if (XOR (islower (i), ISLOWER (i))
19422 || toupper (i) != TOUPPER (i))
19427 rm -f conftest$ac_exeext
19428 if { (ac_try="$ac_link"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_link") 2>&5
19436 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19438 { (case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_try") 2>&5
19445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19446 (exit $ac_status); }; }; then
19449 echo "$as_me: program exited with status
$ac_status" >&5
19450 echo "$as_me: failed program was
:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 ( exit $ac_status )
19454 ac_cv_header_stdc=no
19456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19462 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19463 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19464 if test $ac_cv_header_stdc = yes; then
19466 cat >>confdefs.h <<\_ACEOF
19467 #define STDC_HEADERS 1
19472 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19482 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19483 inttypes.h stdint.h unistd.h
19485 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19486 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19487 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19488 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19489 echo $ECHO_N "(cached
) $ECHO_C" >&6
19491 cat >conftest.$ac_ext <<_ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19499 #include <$ac_header>
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19507 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19510 grep -v '^ *+' conftest.er1 >conftest.err
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19518 eval "$as_ac_Header=yes"
19520 echo "$as_me: failed program was
:" >&5
19521 sed 's/^/| /' conftest.$ac_ext >&5
19523 eval "$as_ac_Header=no
"
19526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528 ac_res=`eval echo '${'$as_ac_Header'}'`
19529 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19530 echo "${ECHO_T}$ac_res" >&6; }
19531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19532 cat >>confdefs.h <<_ACEOF
19533 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19543 for ac_header in langinfo.h wchar.h
19545 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19546 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19547 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19548 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19549 echo $ECHO_N "(cached
) $ECHO_C" >&6
19551 cat >conftest.$ac_ext <<_ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 $ac_includes_default
19559 #include <$ac_header>
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19570 grep -v '^ *+' conftest.er1 >conftest.err
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 eval "$as_ac_Header=yes"
19580 echo "$as_me: failed program was
:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19583 eval "$as_ac_Header=no
"
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 ac_res=`eval echo '${'$as_ac_Header'}'`
19589 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19590 echo "${ECHO_T}$ac_res" >&6; }
19591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19592 cat >>confdefs.h <<_ACEOF
19593 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19601 if test "$ac_cv_header_wchar_h" != "yes"; then
19603 for ac_header in wcstr.h
19605 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19606 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19607 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19608 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19609 echo $ECHO_N "(cached
) $ECHO_C" >&6
19611 cat >conftest.$ac_ext <<_ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19619 #include <$ac_header>
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
19638 eval "$as_ac_Header=yes"
19640 echo "$as_me: failed program was
:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 eval "$as_ac_Header=no
"
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19648 ac_res=`eval echo '${'$as_ac_Header'}'`
19649 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19650 echo "${ECHO_T}$ac_res" >&6; }
19651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19652 cat >>confdefs.h <<_ACEOF
19653 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19663 *-pc-os2_emx | *-pc-os2-emx )
19664 if test $ac_cv_header_langinfo_h = "yes" \
19665 -a \( "$wx_cv_gccversion" = "EMX2
" \
19666 -o "$wx_cv_gccversion" = "EMX3
" \
19667 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19668 LIBS="$LIBS -lintl"
19673 if test "$USE_UNIX" = 1 ; then
19675 for ac_header in sys/select.h
19677 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19678 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19679 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19680 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19681 echo $ECHO_N "(cached
) $ECHO_C" >&6
19683 cat >conftest.$ac_ext <<_ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19691 #include <$ac_header>
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19702 grep -v '^ *+' conftest.er1 >conftest.err
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19710 eval "$as_ac_Header=yes"
19712 echo "$as_me: failed program was
:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19715 eval "$as_ac_Header=no
"
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19720 ac_res=`eval echo '${'$as_ac_Header'}'`
19721 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19722 echo "${ECHO_T}$ac_res" >&6; }
19723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19724 cat >>confdefs.h <<_ACEOF
19725 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19735 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19736 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19737 if test "${ac_cv_c_const+set}" = set; then
19738 echo $ECHO_N "(cached
) $ECHO_C" >&6
19740 cat >conftest.$ac_ext <<_ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19750 /* FIXME: Include the comments suggested by Paul. */
19751 #ifndef __cplusplus
19752 /* Ultrix mips cc rejects this. */
19753 typedef int charset[2];
19755 /* SunOS 4.1.1 cc rejects this. */
19756 char const *const *pcpcc;
19758 /* NEC SVR4.0.2 mips cc rejects this. */
19759 struct point {int x, y;};
19760 static struct point const zero = {0,0};
19761 /* AIX XL C 1.02.0.0 rejects this.
19762 It does not let you subtract one const X* pointer from another in
19763 an arm of an if-expression whose if-part is not a constant
19765 const char *g = "string
";
19766 pcpcc = &g + (g ? g-g : 0);
19767 /* HPUX 7.0 cc rejects these. */
19769 ppc = (char**) pcpcc;
19770 pcpcc = (char const *const *) ppc;
19771 { /* SCO 3.2v4 cc rejects this. */
19773 char const *s = 0 ? (char *) 0 : (char const *) 0;
19778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19779 int x[] = {25, 17};
19780 const int *foo = &x[0];
19783 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19784 typedef const int *iptr;
19788 { /* AIX XL C 1.02.0.0 rejects this saying
19789 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19790 struct s { int j; const int *ap[3]; };
19791 struct s *b; b->j = 5;
19793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19794 const int foo = 10;
19795 if (!foo) return 0;
19797 return !cs[0] && !zero.x;
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19813 grep -v '^ *+' conftest.er1 >conftest.err
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19823 echo "$as_me: failed program was
:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19832 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19833 if test $ac_cv_c_const = no; then
19835 cat >>confdefs.h <<\_ACEOF
19841 { echo "$as_me:$LINENO: checking
for inline
" >&5
19842 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19843 if test "${ac_cv_c_inline+set}" = set; then
19844 echo $ECHO_N "(cached
) $ECHO_C" >&6
19847 for ac_kw in inline __inline__ __inline; do
19848 cat >conftest.$ac_ext <<_ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #ifndef __cplusplus
19856 static $ac_kw foo_t static_foo () {return 0; }
19857 $ac_kw foo_t foo () {return 0; }
19861 rm -f conftest.$ac_objext
19862 if { (ac_try="$ac_compile"
19863 case "(($ac_try" in
19864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865 *) ac_try_echo=$ac_try;;
19867 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19870 grep -v '^ *+' conftest.er1 >conftest.err
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_c_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 ac_cv_c_inline=$ac_kw
19880 echo "$as_me: failed program was
:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 test "$ac_cv_c_inline" != no && break
19891 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19892 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19895 case $ac_cv_c_inline in
19898 case $ac_cv_c_inline in
19900 *) ac_val=$ac_cv_c_inline;;
19902 cat >>confdefs.h <<_ACEOF
19903 #ifndef __cplusplus
19904 #define inline $ac_val
19911 { echo "$as_me:$LINENO: checking
for short
" >&5
19912 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19913 if test "${ac_cv_type_short+set}" = set; then
19914 echo $ECHO_N "(cached
) $ECHO_C" >&6
19916 cat >conftest.$ac_ext <<_ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 $ac_includes_default
19923 typedef short ac__type_new_;
19927 if ((ac__type_new_ *) 0)
19929 if (sizeof (ac__type_new_))
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19944 grep -v '^ *+' conftest.er1 >conftest.err
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 ac_cv_type_short=yes
19954 echo "$as_me: failed program was
:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 ac_cv_type_short=no
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19962 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19963 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19965 # The cast to long int works around a bug in the HP C Compiler
19966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19968 # This bug is HP SR number 8606223364.
19969 { echo "$as_me:$LINENO: checking size of short
" >&5
19970 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19971 if test "${ac_cv_sizeof_short+set}" = set; then
19972 echo $ECHO_N "(cached
) $ECHO_C" >&6
19974 if test "$cross_compiling" = yes; then
19975 # Depending upon the size, compute the lo and hi bounds.
19976 cat >conftest.$ac_ext <<_ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 typedef short ac__type_sizeof_;
19987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19994 rm -f conftest.$ac_objext
19995 if { (ac_try="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
20000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20003 grep -v '^ *+' conftest.er1 >conftest.err
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.$ac_objext; then
20013 cat >conftest.$ac_ext <<_ACEOF
20016 cat confdefs.h >>conftest.$ac_ext
20017 cat >>conftest.$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 $ac_includes_default
20020 typedef short ac__type_sizeof_;
20024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20031 rm -f conftest.$ac_objext
20032 if { (ac_try="$ac_compile"
20033 case "(($ac_try" in
20034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20035 *) ac_try_echo=$ac_try;;
20037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_compile") 2>conftest.er1
20040 grep -v '^ *+' conftest.er1 >conftest.err
20042 cat conftest.err >&5
20043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20044 (exit $ac_status); } && {
20045 test -z "$ac_c_werror_flag" ||
20046 test ! -s conftest.err
20047 } && test -s conftest.$ac_objext; then
20048 ac_hi=$ac_mid; break
20050 echo "$as_me: failed program was
:" >&5
20051 sed 's/^/| /' conftest.$ac_ext >&5
20053 ac_lo=`expr $ac_mid + 1`
20054 if test $ac_lo -le $ac_mid; then
20058 ac_mid=`expr 2 '*' $ac_mid + 1`
20061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20064 echo "$as_me: failed program was
:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 cat >conftest.$ac_ext <<_ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef short ac__type_sizeof_;
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20094 grep -v '^ *+' conftest.er1 >conftest.err
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20104 cat >conftest.$ac_ext <<_ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 typedef short ac__type_sizeof_;
20115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20122 rm -f conftest.$ac_objext
20123 if { (ac_try="$ac_compile"
20124 case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_compile") 2>conftest.er1
20131 grep -v '^ *+' conftest.er1 >conftest.err
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest.$ac_objext; then
20139 ac_lo=$ac_mid; break
20141 echo "$as_me: failed program was
:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20144 ac_hi=`expr '(' $ac_mid ')' - 1`
20145 if test $ac_mid -le $ac_hi; then
20149 ac_mid=`expr 2 '*' $ac_mid`
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 echo "$as_me: failed program was
:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 # Binary search between lo and hi bounds.
20166 while test "x
$ac_lo" != "x
$ac_hi"; do
20167 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20168 cat >conftest.$ac_ext <<_ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20175 typedef short ac__type_sizeof_;
20179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20186 rm -f conftest.$ac_objext
20187 if { (ac_try="$ac_compile"
20188 case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_compile") 2>conftest.er1
20195 grep -v '^ *+' conftest.er1 >conftest.err
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20199 (exit $ac_status); } && {
20200 test -z "$ac_c_werror_flag" ||
20201 test ! -s conftest.err
20202 } && test -s conftest.$ac_objext; then
20205 echo "$as_me: failed program was
:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20208 ac_lo=`expr '(' $ac_mid ')' + 1`
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214 ?*) ac_cv_sizeof_short=$ac_lo;;
20215 '') if test "$ac_cv_type_short" = yes; then
20216 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20217 See \
`config.log' for more details." >&5
20218 echo "$as_me: error: cannot compute sizeof (short)
20219 See \`config.log
' for more details." >&2;}
20220 { (exit 77); exit 77; }; }
20222 ac_cv_sizeof_short=0
20226 cat >conftest.$ac_ext <<_ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef short ac__type_sizeof_;
20234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20237 #include <stdlib.h>
20242 FILE *f = fopen ("conftest.val", "w");
20245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20247 long int i = longval ();
20248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20250 fprintf (f, "%ld\n", i);
20254 unsigned long int i = ulongval ();
20255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20257 fprintf (f, "%lu\n", i);
20259 return ferror (f) || fclose (f) != 0;
20265 rm -f conftest$ac_exeext
20266 if { (ac_try="$ac_link"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_link") 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20276 { (case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_try") 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_cv_sizeof_short=`cat conftest.val`
20287 echo "$as_me: program exited with status $ac_status" >&5
20288 echo "$as_me: failed program was:" >&5
20289 sed 's
/^
/| /' conftest.$ac_ext >&5
20291 ( exit $ac_status )
20292 if test "$ac_cv_type_short" = yes; then
20293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20294 See \`config.log' for more details.
" >&5
20295 echo "$as_me: error
: cannot compute sizeof
(short
)
20296 See \
`config.log' for more details." >&2;}
20297 { (exit 77); exit 77; }; }
20299 ac_cv_sizeof_short=0
20302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20307 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20311 cat >>confdefs.h <<_ACEOF
20312 #define SIZEOF_SHORT $ac_cv_sizeof_short
20316 { echo "$as_me:$LINENO: checking for void *" >&5
20317 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20318 if test "${ac_cv_type_void_p+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20321 cat >conftest.$ac_ext <<_ACEOF
20324 cat confdefs.h >>conftest.$ac_ext
20325 cat >>conftest.$ac_ext <<_ACEOF
20326 /* end confdefs.h. */
20327 $ac_includes_default
20328 typedef void * ac__type_new_;
20332 if ((ac__type_new_ *) 0)
20334 if (sizeof (ac__type_new_))
20340 rm -f conftest.$ac_objext
20341 if { (ac_try="$ac_compile"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20344 *) ac_try_echo
=$ac_try;;
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_compile") 2>conftest.er1
20349 grep -v '^ *+' conftest.er1
>conftest.err
20351 cat conftest.err
>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && {
20354 test -z "$ac_c_werror_flag" ||
20355 test ! -s conftest.err
20356 } && test -s conftest.
$ac_objext; then
20357 ac_cv_type_void_p
=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.
$ac_ext >&5
20362 ac_cv_type_void_p
=no
20365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20367 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20368 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20370 # The cast to long int works around a bug in the HP C Compiler
20371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20373 # This bug is HP SR number 8606223364.
20374 { echo "$as_me:$LINENO: checking size of void *" >&5
20375 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20376 if test "${ac_cv_sizeof_void_p+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 if test "$cross_compiling" = yes; then
20380 # Depending upon the size, compute the lo and hi bounds.
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef void * ac__type_sizeof_;
20392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20399 rm -f conftest.
$ac_objext
20400 if { (ac_try
="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20408 grep -v '^ *+' conftest.er1 >conftest.err
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.$ac_objext; then
20418 cat >conftest.$ac_ext <<_ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 typedef void * ac__type_sizeof_;
20429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20436 rm -f conftest.$ac_objext
20437 if { (ac_try="$ac_compile"
20438 case "(($ac_try" in
20439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20440 *) ac_try_echo
=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_compile") 2>conftest.er1
20445 grep -v '^ *+' conftest.er1
>conftest.err
20447 cat conftest.err
>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest.
$ac_objext; then
20453 ac_hi
=$ac_mid; break
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.
$ac_ext >&5
20458 ac_lo
=`expr $ac_mid + 1`
20459 if test $ac_lo -le $ac_mid; then
20463 ac_mid
=`expr 2 '*' $ac_mid + 1`
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.
$ac_ext >&5
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef void * ac__type_sizeof_;
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20490 rm -f conftest.
$ac_objext
20491 if { (ac_try
="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20499 grep -v '^ *+' conftest.er1 >conftest.err
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.$ac_objext; then
20509 cat >conftest.$ac_ext <<_ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 typedef void * ac__type_sizeof_;
20520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20531 *) ac_try_echo
=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1
>conftest.err
20538 cat conftest.err
>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.
$ac_objext; then
20544 ac_lo
=$ac_mid; break
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.
$ac_ext >&5
20549 ac_hi
=`expr '(' $ac_mid ')' - 1`
20550 if test $ac_mid -le $ac_hi; then
20554 ac_mid
=`expr 2 '*' $ac_mid`
20557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20570 # Binary search between lo and hi bounds.
20571 while test "x$ac_lo" != "x$ac_hi"; do
20572 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20573 cat >conftest.
$ac_ext <<_ACEOF
20576 cat confdefs.h
>>conftest.
$ac_ext
20577 cat >>conftest.
$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20580 typedef void * ac__type_sizeof_;
20584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20591 rm -f conftest.
$ac_objext
20592 if { (ac_try
="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20600 grep -v '^ *+' conftest.er1 >conftest.err
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20613 ac_lo=`expr '(' $ac_mid ')' + 1`
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20620 '') if test "$ac_cv_type_void_p" = yes; then
20621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20622 See \`config.log
' for more details." >&5
20623 echo "$as_me: error: cannot compute sizeof (void *)
20624 See \`config.log' for more details.
" >&2;}
20625 { (exit 77); exit 77; }; }
20627 ac_cv_sizeof_void_p=0
20631 cat >conftest.$ac_ext <<_ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef void * ac__type_sizeof_;
20639 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20640 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20642 #include <stdlib.h>
20647 FILE *f = fopen ("conftest.val
", "w
");
20650 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20652 long int i = longval ();
20653 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20655 fprintf (f, "%ld
\n", i);
20659 unsigned long int i = ulongval ();
20660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20662 fprintf (f, "%lu
\n", i);
20664 return ferror (f) || fclose (f) != 0;
20670 rm -f conftest$ac_exeext
20671 if { (ac_try="$ac_link"
20672 case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20677 (eval "$ac_link") 2>&5
20679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20681 { (case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_try") 2>&5
20688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_sizeof_void_p=`cat conftest.val`
20692 echo "$as_me: program exited with status
$ac_status" >&5
20693 echo "$as_me: failed program was
:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 ( exit $ac_status )
20697 if test "$ac_cv_type_void_p" = yes; then
20698 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20699 See \
`config.log' for more details." >&5
20700 echo "$as_me: error: cannot compute sizeof (void *)
20701 See \`config.log
' for more details." >&2;}
20702 { (exit 77); exit 77; }; }
20704 ac_cv_sizeof_void_p=0
20707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20711 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20712 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20716 cat >>confdefs.h <<_ACEOF
20717 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20721 { echo "$as_me:$LINENO: checking for int" >&5
20722 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20723 if test "${ac_cv_type_int+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 cat >conftest.$ac_ext <<_ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 $ac_includes_default
20733 typedef int ac__type_new_;
20737 if ((ac__type_new_ *) 0)
20739 if (sizeof (ac__type_new_))
20745 rm -f conftest.$ac_objext
20746 if { (ac_try="$ac_compile"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20754 grep -v '^
*+' conftest.er1 >conftest.err
20756 cat conftest.err >&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } && {
20759 test -z "$ac_c_werror_flag" ||
20760 test ! -s conftest.err
20761 } && test -s conftest.$ac_objext; then
20764 echo "$as_me: failed program was:" >&5
20765 sed 's
/^
/| /' conftest.$ac_ext >&5
20770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20772 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20773 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20775 # The cast to long int works around a bug in the HP C Compiler
20776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20778 # This bug is HP SR number 8606223364.
20779 { echo "$as_me:$LINENO: checking size of int" >&5
20780 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20781 if test "${ac_cv_sizeof_int+set}" = set; then
20782 echo $ECHO_N "(cached) $ECHO_C" >&6
20784 if test "$cross_compiling" = yes; then
20785 # Depending upon the size, compute the lo and hi bounds.
20786 cat >conftest.
$ac_ext <<_ACEOF
20789 cat confdefs.h
>>conftest.
$ac_ext
20790 cat >>conftest.
$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef int ac__type_sizeof_;
20797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20804 rm -f conftest.
$ac_objext
20805 if { (ac_try
="$ac_compile"
20806 case "(($ac_try" in
20807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20808 *) ac_try_echo=$ac_try;;
20810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20811 (eval "$ac_compile") 2>conftest.er1
20813 grep -v '^ *+' conftest.er1 >conftest.err
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } && {
20818 test -z "$ac_c_werror_flag" ||
20819 test ! -s conftest.err
20820 } && test -s conftest.$ac_objext; then
20823 cat >conftest.$ac_ext <<_ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_sizeof_;
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20845 *) ac_try_echo
=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1
>conftest.err
20852 cat conftest.err
>&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.
$ac_objext; then
20858 ac_hi
=$ac_mid; break
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.
$ac_ext >&5
20863 ac_lo
=`expr $ac_mid + 1`
20864 if test $ac_lo -le $ac_mid; then
20868 ac_mid
=`expr 2 '*' $ac_mid + 1`
20871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20895 rm -f conftest.
$ac_objext
20896 if { (ac_try
="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1 >conftest.err
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.$ac_objext; then
20914 cat >conftest.$ac_ext <<_ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 typedef int ac__type_sizeof_;
20925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20936 *) ac_try_echo
=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.
$ac_objext; then
20949 ac_lo
=$ac_mid; break
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.
$ac_ext >&5
20954 ac_hi
=`expr '(' $ac_mid ')' - 1`
20955 if test $ac_mid -le $ac_hi; then
20959 ac_mid
=`expr 2 '*' $ac_mid`
20962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20975 # Binary search between lo and hi bounds.
20976 while test "x$ac_lo" != "x$ac_hi"; do
20977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20978 cat >conftest.
$ac_ext <<_ACEOF
20981 cat confdefs.h
>>conftest.
$ac_ext
20982 cat >>conftest.
$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef int ac__type_sizeof_;
20989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20996 rm -f conftest.
$ac_objext
20997 if { (ac_try
="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_lo=`expr '(' $ac_mid ')' + 1`
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 ?*) ac_cv_sizeof_int=$ac_lo;;
21025 '') if test "$ac_cv_type_int" = yes; then
21026 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21027 See \`config.log
' for more details." >&5
21028 echo "$as_me: error: cannot compute sizeof (int)
21029 See \`config.log' for more details.
" >&2;}
21030 { (exit 77); exit 77; }; }
21036 cat >conftest.$ac_ext <<_ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21043 typedef int ac__type_sizeof_;
21044 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21045 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21047 #include <stdlib.h>
21052 FILE *f = fopen ("conftest.val
", "w
");
21055 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21057 long int i = longval ();
21058 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21060 fprintf (f, "%ld
\n", i);
21064 unsigned long int i = ulongval ();
21065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21067 fprintf (f, "%lu
\n", i);
21069 return ferror (f) || fclose (f) != 0;
21075 rm -f conftest$ac_exeext
21076 if { (ac_try="$ac_link"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_link") 2>&5
21084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21086 { (case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_try") 2>&5
21093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21094 (exit $ac_status); }; }; then
21095 ac_cv_sizeof_int=`cat conftest.val`
21097 echo "$as_me: program exited with status
$ac_status" >&5
21098 echo "$as_me: failed program was
:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21101 ( exit $ac_status )
21102 if test "$ac_cv_type_int" = yes; then
21103 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21104 See \
`config.log' for more details." >&5
21105 echo "$as_me: error: cannot compute sizeof (int)
21106 See \`config.log
' for more details." >&2;}
21107 { (exit 77); exit 77; }; }
21112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21116 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21117 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21121 cat >>confdefs.h <<_ACEOF
21122 #define SIZEOF_INT $ac_cv_sizeof_int
21126 { echo "$as_me:$LINENO: checking for long" >&5
21127 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21128 if test "${ac_cv_type_long+set}" = set; then
21129 echo $ECHO_N "(cached) $ECHO_C" >&6
21131 cat >conftest.$ac_ext <<_ACEOF
21134 cat confdefs.h >>conftest.$ac_ext
21135 cat >>conftest.$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 $ac_includes_default
21138 typedef long ac__type_new_;
21142 if ((ac__type_new_ *) 0)
21144 if (sizeof (ac__type_new_))
21150 rm -f conftest.$ac_objext
21151 if { (ac_try="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21159 grep -v '^
*+' conftest.er1 >conftest.err
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21167 ac_cv_type_long=yes
21169 echo "$as_me: failed program was:" >&5
21170 sed 's
/^
/| /' conftest.$ac_ext >&5
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21178 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21180 # The cast to long int works around a bug in the HP C Compiler
21181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21183 # This bug is HP SR number 8606223364.
21184 { echo "$as_me:$LINENO: checking size of long" >&5
21185 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21186 if test "${ac_cv_sizeof_long+set}" = set; then
21187 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 if test "$cross_compiling" = yes; then
21190 # Depending upon the size, compute the lo and hi bounds.
21191 cat >conftest.
$ac_ext <<_ACEOF
21194 cat confdefs.h
>>conftest.
$ac_ext
21195 cat >>conftest.
$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long ac__type_sizeof_;
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21209 rm -f conftest.
$ac_objext
21210 if { (ac_try
="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21218 grep -v '^ *+' conftest.er1 >conftest.err
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long ac__type_sizeof_;
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21250 *) ac_try_echo
=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1
>conftest.err
21257 cat conftest.err
>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.
$ac_objext; then
21263 ac_hi
=$ac_mid; break
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_lo
=`expr $ac_mid + 1`
21269 if test $ac_lo -le $ac_mid; then
21273 ac_mid
=`expr 2 '*' $ac_mid + 1`
21276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.
$ac_ext >&5
21282 cat >conftest.
$ac_ext <<_ACEOF
21285 cat confdefs.h
>>conftest.
$ac_ext
21286 cat >>conftest.
$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 typedef long ac__type_sizeof_;
21293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21300 rm -f conftest.
$ac_objext
21301 if { (ac_try
="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21309 grep -v '^ *+' conftest.er1 >conftest.err
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.$ac_objext; then
21319 cat >conftest.$ac_ext <<_ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326 typedef long ac__type_sizeof_;
21330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21337 rm -f conftest.$ac_objext
21338 if { (ac_try="$ac_compile"
21339 case "(($ac_try" in
21340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21341 *) ac_try_echo
=$ac_try;;
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_compile") 2>conftest.er1
21346 grep -v '^ *+' conftest.er1
>conftest.err
21348 cat conftest.err
>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && {
21351 test -z "$ac_c_werror_flag" ||
21352 test ! -s conftest.err
21353 } && test -s conftest.
$ac_objext; then
21354 ac_lo
=$ac_mid; break
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.
$ac_ext >&5
21359 ac_hi
=`expr '(' $ac_mid ')' - 1`
21360 if test $ac_mid -le $ac_hi; then
21364 ac_mid
=`expr 2 '*' $ac_mid`
21367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.
$ac_ext >&5
21376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21380 # Binary search between lo and hi bounds.
21381 while test "x$ac_lo" != "x$ac_hi"; do
21382 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21390 typedef long ac__type_sizeof_;
21394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21401 rm -f conftest.
$ac_objext
21402 if { (ac_try
="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21410 grep -v '^ *+' conftest.er1 >conftest.err
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21423 ac_lo=`expr '(' $ac_mid ')' + 1`
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21429 ?*) ac_cv_sizeof_long=$ac_lo;;
21430 '') if test "$ac_cv_type_long" = yes; then
21431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21432 See \`config.log
' for more details." >&5
21433 echo "$as_me: error: cannot compute sizeof (long)
21434 See \`config.log' for more details.
" >&2;}
21435 { (exit 77); exit 77; }; }
21437 ac_cv_sizeof_long=0
21441 cat >conftest.$ac_ext <<_ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 $ac_includes_default
21448 typedef long ac__type_sizeof_;
21449 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21450 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21452 #include <stdlib.h>
21457 FILE *f = fopen ("conftest.val
", "w
");
21460 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21462 long int i = longval ();
21463 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21465 fprintf (f, "%ld
\n", i);
21469 unsigned long int i = ulongval ();
21470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21472 fprintf (f, "%lu
\n", i);
21474 return ferror (f) || fclose (f) != 0;
21480 rm -f conftest$ac_exeext
21481 if { (ac_try="$ac_link"
21482 case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_link") 2>&5
21489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21491 { (case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_sizeof_long=`cat conftest.val`
21502 echo "$as_me: program exited with status
$ac_status" >&5
21503 echo "$as_me: failed program was
:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21506 ( exit $ac_status )
21507 if test "$ac_cv_type_long" = yes; then
21508 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21509 See \
`config.log' for more details." >&5
21510 echo "$as_me: error: cannot compute sizeof (long)
21511 See \`config.log
' for more details." >&2;}
21512 { (exit 77); exit 77; }; }
21514 ac_cv_sizeof_long=0
21517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21522 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21526 cat >>confdefs.h <<_ACEOF
21527 #define SIZEOF_LONG $ac_cv_sizeof_long
21531 { echo "$as_me:$LINENO: checking for size_t" >&5
21532 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21533 if test "${ac_cv_type_size_t+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21536 cat >conftest.$ac_ext <<_ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 $ac_includes_default
21543 typedef size_t ac__type_new_;
21547 if ((ac__type_new_ *) 0)
21549 if (sizeof (ac__type_new_))
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21564 grep -v '^
*+' conftest.er1 >conftest.err
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } && {
21569 test -z "$ac_c_werror_flag" ||
21570 test ! -s conftest.err
21571 } && test -s conftest.$ac_objext; then
21572 ac_cv_type_size_t=yes
21574 echo "$as_me: failed program was:" >&5
21575 sed 's
/^
/| /' conftest.$ac_ext >&5
21577 ac_cv_type_size_t=no
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21583 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21585 # The cast to long int works around a bug in the HP C Compiler
21586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21588 # This bug is HP SR number 8606223364.
21589 { echo "$as_me:$LINENO: checking size of size_t" >&5
21590 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21591 if test "${ac_cv_sizeof_size_t+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21594 if test "$cross_compiling" = yes; then
21595 # Depending upon the size, compute the lo and hi bounds.
21596 cat >conftest.
$ac_ext <<_ACEOF
21599 cat confdefs.h
>>conftest.
$ac_ext
21600 cat >>conftest.
$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603 typedef size_t ac__type_sizeof_;
21607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21614 rm -f conftest.
$ac_objext
21615 if { (ac_try
="$ac_compile"
21616 case "(($ac_try" in
21617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_compile") 2>conftest.er1
21623 grep -v '^ *+' conftest.er1 >conftest.err
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && {
21628 test -z "$ac_c_werror_flag" ||
21629 test ! -s conftest.err
21630 } && test -s conftest.$ac_objext; then
21633 cat >conftest.$ac_ext <<_ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21639 $ac_includes_default
21640 typedef size_t ac__type_sizeof_;
21644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21651 rm -f conftest.$ac_objext
21652 if { (ac_try="$ac_compile"
21653 case "(($ac_try" in
21654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21655 *) ac_try_echo
=$ac_try;;
21657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21658 (eval "$ac_compile") 2>conftest.er1
21660 grep -v '^ *+' conftest.er1
>conftest.err
21662 cat conftest.err
>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } && {
21665 test -z "$ac_c_werror_flag" ||
21666 test ! -s conftest.err
21667 } && test -s conftest.
$ac_objext; then
21668 ac_hi
=$ac_mid; break
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 ac_lo
=`expr $ac_mid + 1`
21674 if test $ac_lo -le $ac_mid; then
21678 ac_mid
=`expr 2 '*' $ac_mid + 1`
21681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.
$ac_ext >&5
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 $ac_includes_default
21694 typedef size_t ac__type_sizeof_;
21698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21705 rm -f conftest.
$ac_objext
21706 if { (ac_try
="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21714 grep -v '^ *+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21724 cat >conftest.$ac_ext <<_ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 typedef size_t ac__type_sizeof_;
21735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21742 rm -f conftest.$ac_objext
21743 if { (ac_try="$ac_compile"
21744 case "(($ac_try" in
21745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21746 *) ac_try_echo
=$ac_try;;
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_compile") 2>conftest.er1
21751 grep -v '^ *+' conftest.er1
>conftest.err
21753 cat conftest.err
>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } && {
21756 test -z "$ac_c_werror_flag" ||
21757 test ! -s conftest.err
21758 } && test -s conftest.
$ac_objext; then
21759 ac_lo
=$ac_mid; break
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 ac_hi
=`expr '(' $ac_mid ')' - 1`
21765 if test $ac_mid -le $ac_hi; then
21769 ac_mid
=`expr 2 '*' $ac_mid`
21772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.
$ac_ext >&5
21781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21785 # Binary search between lo and hi bounds.
21786 while test "x$ac_lo" != "x$ac_hi"; do
21787 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21788 cat >conftest.
$ac_ext <<_ACEOF
21791 cat confdefs.h
>>conftest.
$ac_ext
21792 cat >>conftest.
$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21794 $ac_includes_default
21795 typedef size_t ac__type_sizeof_;
21799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21806 rm -f conftest.
$ac_objext
21807 if { (ac_try
="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21815 grep -v '^ *+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21828 ac_lo=`expr '(' $ac_mid ')' + 1`
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21834 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21835 '') if test "$ac_cv_type_size_t" = yes; then
21836 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21837 See \`config.log
' for more details." >&5
21838 echo "$as_me: error: cannot compute sizeof (size_t)
21839 See \`config.log' for more details.
" >&2;}
21840 { (exit 77); exit 77; }; }
21842 ac_cv_sizeof_size_t=0
21846 cat >conftest.$ac_ext <<_ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 $ac_includes_default
21853 typedef size_t ac__type_sizeof_;
21854 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21855 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21857 #include <stdlib.h>
21862 FILE *f = fopen ("conftest.val
", "w
");
21865 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21867 long int i = longval ();
21868 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21870 fprintf (f, "%ld
\n", i);
21874 unsigned long int i = ulongval ();
21875 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21877 fprintf (f, "%lu
\n", i);
21879 return ferror (f) || fclose (f) != 0;
21885 rm -f conftest$ac_exeext
21886 if { (ac_try="$ac_link"
21887 case "(($ac_try" in
21888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21889 *) ac_try_echo=$ac_try;;
21891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21892 (eval "$ac_link") 2>&5
21894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21896 { (case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_try") 2>&5
21903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21904 (exit $ac_status); }; }; then
21905 ac_cv_sizeof_size_t=`cat conftest.val`
21907 echo "$as_me: program exited with status
$ac_status" >&5
21908 echo "$as_me: failed program was
:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21911 ( exit $ac_status )
21912 if test "$ac_cv_type_size_t" = yes; then
21913 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21914 See \
`config.log' for more details." >&5
21915 echo "$as_me: error: cannot compute sizeof (size_t)
21916 See \`config.log
' for more details." >&2;}
21917 { (exit 77); exit 77; }; }
21919 ac_cv_sizeof_size_t=0
21922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21926 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21927 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21931 cat >>confdefs.h <<_ACEOF
21932 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21939 { echo "$as_me:$LINENO: checking for long long" >&5
21940 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21941 if test "${ac_cv_type_long_long+set}" = set; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 cat >conftest.$ac_ext <<_ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 $ac_includes_default
21951 typedef long long ac__type_new_;
21955 if ((ac__type_new_ *) 0)
21957 if (sizeof (ac__type_new_))
21963 rm -f conftest.$ac_objext
21964 if { (ac_try="$ac_compile"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21972 grep -v '^
*+' conftest.er1 >conftest.err
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21980 ac_cv_type_long_long=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's
/^
/| /' conftest.$ac_ext >&5
21985 ac_cv_type_long_long=no
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21990 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21991 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21993 # The cast to long int works around a bug in the HP C Compiler
21994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21996 # This bug is HP SR number 8606223364.
21997 { echo "$as_me:$LINENO: checking size of long long" >&5
21998 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21999 if test "${ac_cv_sizeof_long_long+set}" = set; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22002 if test "$cross_compiling" = yes; then
22003 # Depending upon the size, compute the lo and hi bounds.
22004 cat >conftest.
$ac_ext <<_ACEOF
22007 cat confdefs.h
>>conftest.
$ac_ext
22008 cat >>conftest.
$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22010 $ac_includes_default
22011 typedef long long ac__type_sizeof_;
22015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22022 rm -f conftest.
$ac_objext
22023 if { (ac_try
="$ac_compile"
22024 case "(($ac_try" in
22025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22026 *) ac_try_echo=$ac_try;;
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22029 (eval "$ac_compile") 2>conftest.er1
22031 grep -v '^ *+' conftest.er1 >conftest.err
22033 cat conftest.err >&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); } && {
22036 test -z "$ac_c_werror_flag" ||
22037 test ! -s conftest.err
22038 } && test -s conftest.$ac_objext; then
22041 cat >conftest.$ac_ext <<_ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 $ac_includes_default
22048 typedef long long ac__type_sizeof_;
22052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22059 rm -f conftest.$ac_objext
22060 if { (ac_try="$ac_compile"
22061 case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22063 *) ac_try_echo
=$ac_try;;
22065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_compile") 2>conftest.er1
22068 grep -v '^ *+' conftest.er1
>conftest.err
22070 cat conftest.err
>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); } && {
22073 test -z "$ac_c_werror_flag" ||
22074 test ! -s conftest.err
22075 } && test -s conftest.
$ac_objext; then
22076 ac_hi
=$ac_mid; break
22078 echo "$as_me: failed program was:" >&5
22079 sed 's/^/| /' conftest.
$ac_ext >&5
22081 ac_lo
=`expr $ac_mid + 1`
22082 if test $ac_lo -le $ac_mid; then
22086 ac_mid
=`expr 2 '*' $ac_mid + 1`
22089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.
$ac_ext >&5
22095 cat >conftest.
$ac_ext <<_ACEOF
22098 cat confdefs.h
>>conftest.
$ac_ext
22099 cat >>conftest.
$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 typedef long long ac__type_sizeof_;
22106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22113 rm -f conftest.
$ac_objext
22114 if { (ac_try
="$ac_compile"
22115 case "(($ac_try" in
22116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22117 *) ac_try_echo=$ac_try;;
22119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120 (eval "$ac_compile") 2>conftest.er1
22122 grep -v '^ *+' conftest.er1 >conftest.err
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && {
22127 test -z "$ac_c_werror_flag" ||
22128 test ! -s conftest.err
22129 } && test -s conftest.$ac_objext; then
22132 cat >conftest.$ac_ext <<_ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 typedef long long ac__type_sizeof_;
22143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22150 rm -f conftest.$ac_objext
22151 if { (ac_try="$ac_compile"
22152 case "(($ac_try" in
22153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22154 *) ac_try_echo
=$ac_try;;
22156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157 (eval "$ac_compile") 2>conftest.er1
22159 grep -v '^ *+' conftest.er1
>conftest.err
22161 cat conftest.err
>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err
22166 } && test -s conftest.
$ac_objext; then
22167 ac_lo
=$ac_mid; break
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.
$ac_ext >&5
22172 ac_hi
=`expr '(' $ac_mid ')' - 1`
22173 if test $ac_mid -le $ac_hi; then
22177 ac_mid
=`expr 2 '*' $ac_mid`
22180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22193 # Binary search between lo and hi bounds.
22194 while test "x$ac_lo" != "x$ac_hi"; do
22195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22196 cat >conftest.
$ac_ext <<_ACEOF
22199 cat confdefs.h
>>conftest.
$ac_ext
22200 cat >>conftest.
$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 typedef long long ac__type_sizeof_;
22207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22214 rm -f conftest.
$ac_objext
22215 if { (ac_try
="$ac_compile"
22216 case "(($ac_try" in
22217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22218 *) ac_try_echo=$ac_try;;
22220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22221 (eval "$ac_compile") 2>conftest.er1
22223 grep -v '^ *+' conftest.er1 >conftest.err
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && {
22228 test -z "$ac_c_werror_flag" ||
22229 test ! -s conftest.err
22230 } && test -s conftest.$ac_objext; then
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.$ac_ext >&5
22236 ac_lo=`expr '(' $ac_mid ')' + 1`
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22243 '') if test "$ac_cv_type_long_long" = yes; then
22244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22245 See \`config.log
' for more details." >&5
22246 echo "$as_me: error: cannot compute sizeof (long long)
22247 See \`config.log' for more details.
" >&2;}
22248 { (exit 77); exit 77; }; }
22250 ac_cv_sizeof_long_long=0
22254 cat >conftest.$ac_ext <<_ACEOF
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 $ac_includes_default
22261 typedef long long ac__type_sizeof_;
22262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22265 #include <stdlib.h>
22270 FILE *f = fopen ("conftest.val
", "w
");
22273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22275 long int i = longval ();
22276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22278 fprintf (f, "%ld
\n", i);
22282 unsigned long int i = ulongval ();
22283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22285 fprintf (f, "%lu
\n", i);
22287 return ferror (f) || fclose (f) != 0;
22293 rm -f conftest$ac_exeext
22294 if { (ac_try="$ac_link"
22295 case "(($ac_try" in
22296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22297 *) ac_try_echo=$ac_try;;
22299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22300 (eval "$ac_link") 2>&5
22302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22304 { (case "(($ac_try" in
22305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22306 *) ac_try_echo=$ac_try;;
22308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22309 (eval "$ac_try") 2>&5
22311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 ac_cv_sizeof_long_long=`cat conftest.val`
22315 echo "$as_me: program exited with status
$ac_status" >&5
22316 echo "$as_me: failed program was
:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22319 ( exit $ac_status )
22320 if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22322 See \
`config.log' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log
' for more details." >&2;}
22325 { (exit 77); exit 77; }; }
22327 ac_cv_sizeof_long_long=0
22330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22335 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22339 cat >>confdefs.h <<_ACEOF
22340 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22346 { echo "$as_me:$LINENO: checking for long long" >&5
22347 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22348 if test "${ac_cv_type_long_long+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 cat >conftest.$ac_ext <<_ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 $ac_includes_default
22358 typedef long long ac__type_new_;
22362 if ((ac__type_new_ *) 0)
22364 if (sizeof (ac__type_new_))
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22379 grep -v '^
*+' conftest.er1 >conftest.err
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.$ac_objext; then
22387 ac_cv_type_long_long=yes
22389 echo "$as_me: failed program was:" >&5
22390 sed 's
/^
/| /' conftest.$ac_ext >&5
22392 ac_cv_type_long_long=no
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22398 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22400 # The cast to long int works around a bug in the HP C Compiler
22401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22403 # This bug is HP SR number 8606223364.
22404 { echo "$as_me:$LINENO: checking size of long long" >&5
22405 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22406 if test "${ac_cv_sizeof_long_long+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 if test "$cross_compiling" = yes; then
22410 # Depending upon the size, compute the lo and hi bounds.
22411 cat >conftest.
$ac_ext <<_ACEOF
22414 cat confdefs.h
>>conftest.
$ac_ext
22415 cat >>conftest.
$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 $ac_includes_default
22418 typedef long long ac__type_sizeof_;
22422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22429 rm -f conftest.
$ac_objext
22430 if { (ac_try
="$ac_compile"
22431 case "(($ac_try" in
22432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22433 *) ac_try_echo=$ac_try;;
22435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22436 (eval "$ac_compile") 2>conftest.er1
22438 grep -v '^ *+' conftest.er1 >conftest.err
22440 cat conftest.err >&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } && {
22443 test -z "$ac_c_werror_flag" ||
22444 test ! -s conftest.err
22445 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22483 ac_hi
=$ac_mid; break
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.
$ac_ext >&5
22488 ac_lo
=`expr $ac_mid + 1`
22489 if test $ac_lo -le $ac_mid; then
22493 ac_mid
=`expr 2 '*' $ac_mid + 1`
22496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.
$ac_ext >&5
22502 cat >conftest.
$ac_ext <<_ACEOF
22505 cat confdefs.h
>>conftest.
$ac_ext
22506 cat >>conftest.
$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef long long ac__type_sizeof_;
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22520 rm -f conftest.
$ac_objext
22521 if { (ac_try
="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22529 grep -v '^ *+' conftest.er1 >conftest.err
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
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_))) >= $ac_mid)];
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
22574 ac_lo
=$ac_mid; break
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.
$ac_ext >&5
22579 ac_hi
=`expr '(' $ac_mid ')' - 1`
22580 if test $ac_mid -le $ac_hi; then
22584 ac_mid
=`expr 2 '*' $ac_mid`
22587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.
$ac_ext >&5
22596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22600 # Binary search between lo and hi bounds.
22601 while test "x$ac_lo" != "x$ac_hi"; do
22602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22603 cat >conftest.
$ac_ext <<_ACEOF
22606 cat confdefs.h
>>conftest.
$ac_ext
22607 cat >>conftest.
$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef long long ac__type_sizeof_;
22614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22621 rm -f conftest.
$ac_objext
22622 if { (ac_try
="$ac_compile"
22623 case "(($ac_try" in
22624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22625 *) ac_try_echo=$ac_try;;
22627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22628 (eval "$ac_compile") 2>conftest.er1
22630 grep -v '^ *+' conftest.er1 >conftest.err
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } && {
22635 test -z "$ac_c_werror_flag" ||
22636 test ! -s conftest.err
22637 } && test -s conftest.$ac_objext; then
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22643 ac_lo=`expr '(' $ac_mid ')' + 1`
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22650 '') if test "$ac_cv_type_long_long" = yes; then
22651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22652 See \`config.log
' for more details." >&5
22653 echo "$as_me: error: cannot compute sizeof (long long)
22654 See \`config.log' for more details.
" >&2;}
22655 { (exit 77); exit 77; }; }
22657 ac_cv_sizeof_long_long=0
22661 cat >conftest.$ac_ext <<_ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long long ac__type_sizeof_;
22669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22672 #include <stdlib.h>
22677 FILE *f = fopen ("conftest.val
", "w
");
22680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22682 long int i = longval ();
22683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22685 fprintf (f, "%ld
\n", i);
22689 unsigned long int i = ulongval ();
22690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22692 fprintf (f, "%lu
\n", i);
22694 return ferror (f) || fclose (f) != 0;
22700 rm -f conftest$ac_exeext
22701 if { (ac_try="$ac_link"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_link") 2>&5
22709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22711 { (case "(($ac_try" in
22712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22713 *) ac_try_echo=$ac_try;;
22715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22716 (eval "$ac_try") 2>&5
22718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_sizeof_long_long=`cat conftest.val`
22722 echo "$as_me: program exited with status
$ac_status" >&5
22723 echo "$as_me: failed program was
:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 ( exit $ac_status )
22727 if test "$ac_cv_type_long_long" = yes; then
22728 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22729 See \
`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (long long)
22731 See \`config.log
' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22734 ac_cv_sizeof_long_long=0
22737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22742 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22746 cat >>confdefs.h <<_ACEOF
22747 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22751 if test "$ac_cv_sizeof_long_long" != 0; then
22752 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22756 { echo "$as_me:$LINENO: checking for long long" >&5
22757 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22758 if test "${ac_cv_type_long_long+set}" = set; then
22759 echo $ECHO_N "(cached) $ECHO_C" >&6
22761 cat >conftest.$ac_ext <<_ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 $ac_includes_default
22768 typedef long long ac__type_new_;
22772 if ((ac__type_new_ *) 0)
22774 if (sizeof (ac__type_new_))
22780 rm -f conftest.$ac_objext
22781 if { (ac_try="$ac_compile"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_compile") 2>conftest.er1
22789 grep -v '^
*+' conftest.er1 >conftest.err
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && {
22794 test -z "$ac_c_werror_flag" ||
22795 test ! -s conftest.err
22796 } && test -s conftest.$ac_objext; then
22797 ac_cv_type_long_long=yes
22799 echo "$as_me: failed program was:" >&5
22800 sed 's
/^
/| /' conftest.$ac_ext >&5
22802 ac_cv_type_long_long=no
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22808 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22810 # The cast to long int works around a bug in the HP C Compiler
22811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22813 # This bug is HP SR number 8606223364.
22814 { echo "$as_me:$LINENO: checking size of long long" >&5
22815 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22816 if test "${ac_cv_sizeof_long_long+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 if test "$cross_compiling" = yes; then
22820 # Depending upon the size, compute the lo and hi bounds.
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef long long ac__type_sizeof_;
22832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22839 rm -f conftest.
$ac_objext
22840 if { (ac_try
="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22848 grep -v '^ *+' conftest.er1 >conftest.err
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22858 cat >conftest.$ac_ext <<_ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 $ac_includes_default
22865 typedef long long ac__type_sizeof_;
22869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22876 rm -f conftest.$ac_objext
22877 if { (ac_try="$ac_compile"
22878 case "(($ac_try" in
22879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22880 *) ac_try_echo
=$ac_try;;
22882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22883 (eval "$ac_compile") 2>conftest.er1
22885 grep -v '^ *+' conftest.er1
>conftest.err
22887 cat conftest.err
>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } && {
22890 test -z "$ac_c_werror_flag" ||
22891 test ! -s conftest.err
22892 } && test -s conftest.
$ac_objext; then
22893 ac_hi
=$ac_mid; break
22895 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.
$ac_ext >&5
22898 ac_lo
=`expr $ac_mid + 1`
22899 if test $ac_lo -le $ac_mid; then
22903 ac_mid
=`expr 2 '*' $ac_mid + 1`
22906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.
$ac_ext >&5
22912 cat >conftest.
$ac_ext <<_ACEOF
22915 cat confdefs.h
>>conftest.
$ac_ext
22916 cat >>conftest.
$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 $ac_includes_default
22919 typedef long long ac__type_sizeof_;
22923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22930 rm -f conftest.
$ac_objext
22931 if { (ac_try
="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22939 grep -v '^ *+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22949 cat >conftest.$ac_ext <<_ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef long long ac__type_sizeof_;
22960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22971 *) ac_try_echo
=$ac_try;;
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22976 grep -v '^ *+' conftest.er1
>conftest.err
22978 cat conftest.err
>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest.
$ac_objext; then
22984 ac_lo
=$ac_mid; break
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22989 ac_hi
=`expr '(' $ac_mid ')' - 1`
22990 if test $ac_mid -le $ac_hi; then
22994 ac_mid
=`expr 2 '*' $ac_mid`
22997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23010 # Binary search between lo and hi bounds.
23011 while test "x$ac_lo" != "x$ac_hi"; do
23012 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23013 cat >conftest.
$ac_ext <<_ACEOF
23016 cat confdefs.h
>>conftest.
$ac_ext
23017 cat >>conftest.
$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 $ac_includes_default
23020 typedef long long ac__type_sizeof_;
23024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23031 rm -f conftest.
$ac_objext
23032 if { (ac_try
="$ac_compile"
23033 case "(($ac_try" in
23034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23035 *) ac_try_echo=$ac_try;;
23037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23038 (eval "$ac_compile") 2>conftest.er1
23040 grep -v '^ *+' conftest.er1 >conftest.err
23042 cat conftest.err >&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } && {
23045 test -z "$ac_c_werror_flag" ||
23046 test ! -s conftest.err
23047 } && test -s conftest.$ac_objext; then
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23053 ac_lo=`expr '(' $ac_mid ')' + 1`
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23060 '') if test "$ac_cv_type_long_long" = yes; then
23061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23062 See \`config.log
' for more details." >&5
23063 echo "$as_me: error: cannot compute sizeof (long long)
23064 See \`config.log' for more details.
" >&2;}
23065 { (exit 77); exit 77; }; }
23067 ac_cv_sizeof_long_long=0
23071 cat >conftest.$ac_ext <<_ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 $ac_includes_default
23078 typedef long long ac__type_sizeof_;
23079 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23080 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23082 #include <stdlib.h>
23087 FILE *f = fopen ("conftest.val
", "w
");
23090 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23092 long int i = longval ();
23093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23095 fprintf (f, "%ld
\n", i);
23099 unsigned long int i = ulongval ();
23100 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23102 fprintf (f, "%lu
\n", i);
23104 return ferror (f) || fclose (f) != 0;
23110 rm -f conftest$ac_exeext
23111 if { (ac_try="$ac_link"
23112 case "(($ac_try" in
23113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_link") 2>&5
23119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123 *) ac_try_echo=$ac_try;;
23125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23129 (exit $ac_status); }; }; then
23130 ac_cv_sizeof_long_long=`cat conftest.val`
23132 echo "$as_me: program exited with status
$ac_status" >&5
23133 echo "$as_me: failed program was
:" >&5
23134 sed 's/^/| /' conftest.$ac_ext >&5
23136 ( exit $ac_status )
23137 if test "$ac_cv_type_long_long" = yes; then
23138 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23139 See \
`config.log' for more details." >&5
23140 echo "$as_me: error: cannot compute sizeof (long long)
23141 See \`config.log
' for more details." >&2;}
23142 { (exit 77); exit 77; }; }
23144 ac_cv_sizeof_long_long=0
23147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23151 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23152 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23156 cat >>confdefs.h <<_ACEOF
23157 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23163 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23164 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23165 if test "${ac_cv_type_wchar_t+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23168 cat >conftest.$ac_ext <<_ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23175 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23176 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23177 # error "fake wchar_t"
23179 #ifdef HAVE_WCHAR_H
23181 # include <stddef.h>
23183 # include <wchar.h>
23185 #ifdef HAVE_STDLIB_H
23186 # include <stdlib.h>
23192 typedef wchar_t ac__type_new_
;
23196 if ((ac__type_new_
*) 0)
23198 if (sizeof
(ac__type_new_
))
23204 rm -f conftest.
$ac_objext
23205 if { (ac_try
="$ac_compile"
23206 case "(($ac_try" in
23207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_compile") 2>conftest.er1
23213 grep -v '^ *+' conftest.er1 >conftest.err
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } && {
23218 test -z "$ac_c_werror_flag" ||
23219 test ! -s conftest.err
23220 } && test -s conftest.$ac_objext; then
23221 ac_cv_type_wchar_t=yes
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.$ac_ext >&5
23226 ac_cv_type_wchar_t=no
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23232 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23234 # The cast to long int works around a bug in the HP C Compiler
23235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23236 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23237 # This bug is HP SR number 8606223364.
23238 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23239 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23240 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 if test "$cross_compiling" = yes; then
23244 # Depending upon the size, compute the lo and hi bounds.
23245 cat >conftest.$ac_ext <<_ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23252 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23254 # error "fake wchar_t"
23256 #ifdef HAVE_WCHAR_H
23258 # include <stddef.h>
23260 # include <wchar.h>
23262 #ifdef HAVE_STDLIB_H
23263 # include <stdlib.h>
23269 typedef wchar_t ac__type_sizeof_
;
23273 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23280 rm -f conftest.
$ac_objext
23281 if { (ac_try
="$ac_compile"
23282 case "(($ac_try" in
23283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23284 *) ac_try_echo=$ac_try;;
23286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23287 (eval "$ac_compile") 2>conftest.er1
23289 grep -v '^ *+' conftest.er1 >conftest.err
23291 cat conftest.err >&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } && {
23294 test -z "$ac_c_werror_flag" ||
23295 test ! -s conftest.err
23296 } && test -s conftest.$ac_objext; then
23299 cat >conftest.$ac_ext <<_ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23306 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23307 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23308 # error "fake wchar_t"
23310 #ifdef HAVE_WCHAR_H
23312 # include <stddef.h>
23314 # include <wchar.h>
23316 #ifdef HAVE_STDLIB_H
23317 # include <stdlib.h>
23323 typedef wchar_t ac__type_sizeof_;
23327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23334 rm -f conftest.$ac_objext
23335 if { (ac_try="$ac_compile"
23336 case "(($ac_try" in
23337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23338 *) ac_try_echo
=$ac_try;;
23340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23341 (eval "$ac_compile") 2>conftest.er1
23343 grep -v '^ *+' conftest.er1
>conftest.err
23345 cat conftest.err
>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } && {
23348 test -z "$ac_c_werror_flag" ||
23349 test ! -s conftest.err
23350 } && test -s conftest.
$ac_objext; then
23351 ac_hi
=$ac_mid; break
23353 echo "$as_me: failed program was:" >&5
23354 sed 's/^/| /' conftest.
$ac_ext >&5
23356 ac_lo
=`expr $ac_mid + 1`
23357 if test $ac_lo -le $ac_mid; then
23361 ac_mid
=`expr 2 '*' $ac_mid + 1`
23364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.
$ac_ext >&5
23370 cat >conftest.
$ac_ext <<_ACEOF
23373 cat confdefs.h
>>conftest.
$ac_ext
23374 cat >>conftest.
$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23377 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23378 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23379 # error "fake wchar_t"
23381 #ifdef HAVE_WCHAR_H
23383 # include <stddef.h>
23385 # include <wchar.h>
23387 #ifdef HAVE_STDLIB_H
23388 # include <stdlib.h>
23394 typedef wchar_t ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23405 rm -f conftest.
$ac_objext
23406 if { (ac_try
="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23424 cat >conftest.$ac_ext <<_ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23431 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23432 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23433 # error "fake wchar_t"
23435 #ifdef HAVE_WCHAR_H
23437 # include <stddef.h>
23439 # include <wchar.h>
23441 #ifdef HAVE_STDLIB_H
23442 # include <stdlib.h>
23448 typedef wchar_t ac__type_sizeof_;
23452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23459 rm -f conftest.$ac_objext
23460 if { (ac_try="$ac_compile"
23461 case "(($ac_try" in
23462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23463 *) ac_try_echo
=$ac_try;;
23465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466 (eval "$ac_compile") 2>conftest.er1
23468 grep -v '^ *+' conftest.er1
>conftest.err
23470 cat conftest.err
>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } && {
23473 test -z "$ac_c_werror_flag" ||
23474 test ! -s conftest.err
23475 } && test -s conftest.
$ac_objext; then
23476 ac_lo
=$ac_mid; break
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.
$ac_ext >&5
23481 ac_hi
=`expr '(' $ac_mid ')' - 1`
23482 if test $ac_mid -le $ac_hi; then
23486 ac_mid
=`expr 2 '*' $ac_mid`
23489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23492 echo "$as_me: failed program was:" >&5
23493 sed 's/^/| /' conftest.
$ac_ext >&5
23498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23502 # Binary search between lo and hi bounds.
23503 while test "x$ac_lo" != "x$ac_hi"; do
23504 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23505 cat >conftest.
$ac_ext <<_ACEOF
23508 cat confdefs.h
>>conftest.
$ac_ext
23509 cat >>conftest.
$ac_ext <<_ACEOF
23510 /* end confdefs.h. */
23512 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23513 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23514 # error "fake wchar_t"
23516 #ifdef HAVE_WCHAR_H
23518 # include <stddef.h>
23520 # include <wchar.h>
23522 #ifdef HAVE_STDLIB_H
23523 # include <stdlib.h>
23529 typedef wchar_t ac__type_sizeof_;
23533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23540 rm -f conftest.
$ac_objext
23541 if { (ac_try
="$ac_compile"
23542 case "(($ac_try" in
23543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_compile") 2>conftest.er1
23549 grep -v '^ *+' conftest.er1 >conftest.err
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } && {
23554 test -z "$ac_c_werror_flag" ||
23555 test ! -s conftest.err
23556 } && test -s conftest.$ac_objext; then
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.$ac_ext >&5
23562 ac_lo=`expr '(' $ac_mid ')' + 1`
23565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23569 '') if test "$ac_cv_type_wchar_t" = yes; then
23570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23571 See \`config.log
' for more details." >&5
23572 echo "$as_me: error: cannot compute sizeof (wchar_t)
23573 See \`config.log' for more details.
" >&2;}
23574 { (exit 77); exit 77; }; }
23576 ac_cv_sizeof_wchar_t=0
23580 cat >conftest.$ac_ext <<_ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23587 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23588 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23589 # error "fake wchar_t
"
23591 #ifdef HAVE_WCHAR_H
23593 # include <stddef.h>
23595 # include <wchar.h>
23597 #ifdef HAVE_STDLIB_H
23598 # include <stdlib.h>
23604 typedef wchar_t ac__type_sizeof_;
23605 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23606 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23608 #include <stdlib.h>
23613 FILE *f = fopen ("conftest.val
", "w
");
23616 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23618 long int i = longval ();
23619 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23621 fprintf (f, "%ld
\n", i);
23625 unsigned long int i = ulongval ();
23626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23628 fprintf (f, "%lu
\n", i);
23630 return ferror (f) || fclose (f) != 0;
23636 rm -f conftest$ac_exeext
23637 if { (ac_try="$ac_link"
23638 case "(($ac_try" in
23639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23640 *) ac_try_echo=$ac_try;;
23642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23643 (eval "$ac_link") 2>&5
23645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23647 { (case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_try") 2>&5
23654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 ac_cv_sizeof_wchar_t=`cat conftest.val`
23658 echo "$as_me: program exited with status
$ac_status" >&5
23659 echo "$as_me: failed program was
:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23662 ( exit $ac_status )
23663 if test "$ac_cv_type_wchar_t" = yes; then
23664 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23665 See \
`config.log' for more details." >&5
23666 echo "$as_me: error: cannot compute sizeof (wchar_t)
23667 See \`config.log
' for more details." >&2;}
23668 { (exit 77); exit 77; }; }
23670 ac_cv_sizeof_wchar_t=0
23673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23677 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23678 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23682 cat >>confdefs.h <<_ACEOF
23683 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23687 if test "$ac_cv_sizeof_wchar_t" != 0; then
23693 { echo "$as_me:$LINENO: checking for va_copy" >&5
23694 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23695 if test "${wx_cv_func_va_copy+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23702 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705 cat >conftest.$ac_ext <<_ACEOF
23707 #include <stdarg.h>
23708 void foo(char *f, ...)
23722 rm -f conftest.$ac_objext conftest$ac_exeext
23723 if { (ac_try="$ac_link"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_link") 2>conftest.er1
23731 grep -v '^
*+' conftest.er1 >conftest.err
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_cxx_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest$ac_exeext &&
23739 $as_test_x conftest$ac_exeext; then
23740 wx_cv_func_va_copy=yes
23742 echo "$as_me: failed program was:" >&5
23743 sed 's
/^
/| /' conftest.$ac_ext >&5
23745 wx_cv_func_va_copy=no
23749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23750 conftest$ac_exeext conftest.$ac_ext
23752 ac_cpp='$CPP $CPPFLAGS'
23753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23760 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23761 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23763 if test $wx_cv_func_va_copy = "yes"; then
23764 cat >>confdefs.h <<\_ACEOF
23765 #define HAVE_VA_COPY 1
23769 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23770 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23771 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23775 if test "$cross_compiling" = yes; then
23776 wx_cv_type_va_list_lvalue=yes
23779 cat >conftest.$ac_ext <<_ACEOF
23781 #include <stdarg.h>
23782 int foo(char *f, ...)
23787 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23795 return foo("hi", 17);
23798 rm -f conftest$ac_exeext
23799 if { (ac_try="$ac_link"
23800 case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_link") 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23809 { (case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_try") 2>&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 wx_cv_type_va_list_lvalue=yes
23820 echo "$as_me: program exited with status $ac_status" >&5
23821 echo "$as_me: failed program was:" >&5
23822 sed 's
/^
/| /' conftest.$ac_ext >&5
23824 ( exit $ac_status )
23825 wx_cv_type_va_list_lvalue=no
23827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23834 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23835 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23837 if test $wx_cv_type_va_list_lvalue != "yes"; then
23838 cat >>confdefs.h <<\_ACEOF
23839 #define VA_LIST_IS_ARRAY 1
23845 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23847 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23848 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23849 if test "${wx_cv_have_variadic_macros+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23856 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23859 cat >conftest.$ac_ext <<_ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23867 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23873 test("%s %d %p", "test", 1, 0);
23880 rm -f conftest.$ac_objext
23881 if { (ac_try="$ac_compile"
23882 case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_compile") 2>conftest.er1
23889 grep -v '^
*+' conftest.er1 >conftest.err
23891 cat conftest.err >&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } && {
23894 test -z "$ac_cxx_werror_flag" ||
23895 test ! -s conftest.err
23896 } && test -s conftest.$ac_objext; then
23897 wx_cv_have_variadic_macros=yes
23899 echo "$as_me: failed program was:" >&5
23900 sed 's
/^
/| /' conftest.$ac_ext >&5
23902 wx_cv_have_variadic_macros=no
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908 ac_cpp='$CPP $CPPFLAGS'
23909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23910 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23917 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23919 if test $wx_cv_have_variadic_macros = "yes"; then
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_VARIADIC_MACROS 1
23928 LARGEFILE_CPPFLAGS=
23929 # Check whether --enable-largefile was given.
23930 if test "${enable_largefile+set}" = set; then
23931 enableval=$enable_largefile;
23934 if test "$enable_largefile" != no; then
23937 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23938 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23939 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23943 cat >conftest.$ac_ext <<_ACEOF
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23949 #define _FILE_OFFSET_BITS 64
23950 #include <sys/types.h>
23955 unsigned int field: sizeof(off_t) == 8;
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23971 grep -v '^
*+' conftest.er1 >conftest.err
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_c_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23979 ac_cv_sys_file_offset_bits=64
23981 echo "$as_me: failed program was:" >&5
23982 sed 's
/^
/| /' conftest.$ac_ext >&5
23984 ac_cv_sys_file_offset_bits=no
23987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23991 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23992 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23994 if test "$ac_cv_sys_file_offset_bits" != no; then
23996 cat >>confdefs.h <<_ACEOF
23997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24002 if test "x$wx_largefile" != "xyes"; then
24004 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24005 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24006 if test "${ac_cv_sys_large_files+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 cat >conftest.$ac_ext <<_ACEOF
24013 cat confdefs.h >>conftest.$ac_ext
24014 cat >>conftest.$ac_ext <<_ACEOF
24015 /* end confdefs.h. */
24016 #define _LARGE_FILES 1
24017 #include <sys/types.h>
24022 unsigned int field: sizeof(off_t) == 8;
24029 rm -f conftest.$ac_objext
24030 if { (ac_try="$ac_compile"
24031 case "(($ac_try" in
24032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033 *) ac_try_echo=$ac_try;;
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_compile") 2>conftest.er1
24038 grep -v '^
*+' conftest.er1 >conftest.err
24040 cat conftest.err >&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } && {
24043 test -z "$ac_c_werror_flag" ||
24044 test ! -s conftest.err
24045 } && test -s conftest.$ac_objext; then
24046 ac_cv_sys_large_files=1
24048 echo "$as_me: failed program was:" >&5
24049 sed 's
/^
/| /' conftest.$ac_ext >&5
24051 ac_cv_sys_large_files=no
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24058 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24059 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24061 if test "$ac_cv_sys_large_files" != no; then
24063 cat >>confdefs.h <<_ACEOF
24064 #define _LARGE_FILES $ac_cv_sys_large_files
24071 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24072 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24073 if test "x$wx_largefile" = "xyes"; then
24074 cat >>confdefs.h <<\_ACEOF
24075 #define HAVE_LARGEFILE_SUPPORT 1
24079 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24080 echo "${ECHO_T}$wx_largefile" >&6; }
24083 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24084 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24085 elif test "$ac_cv_sys_large_files" = 1; then
24086 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24089 if test -n "$LARGEFILE_CPPFLAGS"; then
24090 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24092 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24093 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24094 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24095 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24102 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24105 cat >conftest.$ac_ext <<_ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24116 #ifndef __STDC_EXT__
24124 rm -f conftest.$ac_objext
24125 if { (ac_try="$ac_compile"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24133 grep -v '^
*+' conftest.er1 >conftest.err
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24141 wx_cv_STDC_EXT_required=no
24143 echo "$as_me: failed program was:" >&5
24144 sed 's
/^
/| /' conftest.$ac_ext >&5
24146 wx_cv_STDC_EXT_required=yes
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24154 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24161 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24162 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24163 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24171 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24174 old_CPPFLAGS="$CPPFLAGS"
24175 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24176 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24177 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24178 if test "${ac_cv_sys_largefile_source+set}" = set; then
24179 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 cat >conftest.$ac_ext <<_ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <sys/types.h> /* for off_t */
24193 int (*fp) (FILE *, off_t, int) = fseeko;
24194 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24199 rm -f conftest.$ac_objext conftest$ac_exeext
24200 if { (ac_try="$ac_link"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_link") 2>conftest.er1
24208 grep -v '^
*+' conftest.er1 >conftest.err
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_cxx_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest$ac_exeext &&
24216 $as_test_x conftest$ac_exeext; then
24217 ac_cv_sys_largefile_source=no; break
24219 echo "$as_me: failed program was:" >&5
24220 sed 's
/^
/| /' conftest.$ac_ext >&5
24225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24226 conftest$ac_exeext conftest.$ac_ext
24227 cat >conftest.$ac_ext <<_ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 #define _LARGEFILE_SOURCE 1
24234 #include <sys/types.h> /* for off_t */
24239 int (*fp) (FILE *, off_t, int) = fseeko;
24240 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24245 rm -f conftest.$ac_objext conftest$ac_exeext
24246 if { (ac_try="$ac_link"
24247 case "(($ac_try" in
24248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24249 *) ac_try_echo=$ac_try;;
24251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24252 (eval "$ac_link") 2>conftest.er1
24254 grep -v '^
*+' conftest.er1 >conftest.err
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && {
24259 test -z "$ac_cxx_werror_flag" ||
24260 test ! -s conftest.err
24261 } && test -s conftest$ac_exeext &&
24262 $as_test_x conftest$ac_exeext; then
24263 ac_cv_sys_largefile_source=1; break
24265 echo "$as_me: failed program was:" >&5
24266 sed 's
/^
/| /' conftest.$ac_ext >&5
24271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24272 conftest$ac_exeext conftest.$ac_ext
24273 ac_cv_sys_largefile_source=unknown
24277 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24278 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24279 case $ac_cv_sys_largefile_source in #(
24282 cat >>confdefs.h <<_ACEOF
24283 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24289 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24290 # in glibc 2.1.3, but that breaks too many other things.
24291 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24292 if test $ac_cv_sys_largefile_source != unknown; then
24294 cat >>confdefs.h <<\_ACEOF
24295 #define HAVE_FSEEKO 1
24300 CPPFLAGS="$old_CPPFLAGS"
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
24307 if test "$ac_cv_sys_largefile_source" != no; then
24308 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24311 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24312 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24313 if test "${ac_cv_c_bigendian+set}" = set; then
24314 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 ac_cv_c_bigendian=unknown
24317 # See if sys/param.h defines the BYTE_ORDER macro.
24318 cat >conftest.$ac_ext <<_ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #include <sys/types.h>
24325 #include <sys/param.h>
24330 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24331 bogus endian macros
24337 rm -f conftest.$ac_objext
24338 if { (ac_try="$ac_compile"
24339 case "(($ac_try" in
24340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24341 *) ac_try_echo=$ac_try;;
24343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24344 (eval "$ac_compile") 2>conftest.er1
24346 grep -v '^
*+' conftest.er1 >conftest.err
24348 cat conftest.err >&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } && {
24351 test -z "$ac_c_werror_flag" ||
24352 test ! -s conftest.err
24353 } && test -s conftest.$ac_objext; then
24354 # It does; now see whether it defined to BIG_ENDIAN or not.
24355 cat >conftest.$ac_ext <<_ACEOF
24358 cat confdefs.h >>conftest.$ac_ext
24359 cat >>conftest.$ac_ext <<_ACEOF
24360 /* end confdefs.h. */
24361 #include <sys/types.h>
24362 #include <sys/param.h>
24367 #if BYTE_ORDER != BIG_ENDIAN
24374 rm -f conftest.$ac_objext
24375 if { (ac_try="$ac_compile"
24376 case "(($ac_try" in
24377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24378 *) ac_try_echo=$ac_try;;
24380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24381 (eval "$ac_compile") 2>conftest.er1
24383 grep -v '^
*+' conftest.er1 >conftest.err
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } && {
24388 test -z "$ac_c_werror_flag" ||
24389 test ! -s conftest.err
24390 } && test -s conftest.$ac_objext; then
24391 ac_cv_c_bigendian=yes
24393 echo "$as_me: failed program was:" >&5
24394 sed 's
/^
/| /' conftest.$ac_ext >&5
24396 ac_cv_c_bigendian=no
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 echo "$as_me: failed program was:" >&5
24402 sed 's
/^
/| /' conftest.$ac_ext >&5
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 if test $ac_cv_c_bigendian = unknown; then
24409 if test "$cross_compiling" = yes; then
24410 ac_cv_c_bigendian=unknown
24412 cat >conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24419 /* Are we little or big endian? From Harbison&Steele. */
24423 char c[sizeof (long)];
24426 exit (u.c[sizeof (long) - 1] == 1);
24429 rm -f conftest$ac_exeext
24430 if { (ac_try="$ac_link"
24431 case "(($ac_try" in
24432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24433 *) ac_try_echo=$ac_try;;
24435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24436 (eval "$ac_link") 2>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24440 { (case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24442 *) ac_try_echo=$ac_try;;
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_try") 2>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_cv_c_bigendian=no
24451 echo "$as_me: program exited with status $ac_status" >&5
24452 echo "$as_me: failed program was:" >&5
24453 sed 's
/^
/| /' conftest.$ac_ext >&5
24455 ( exit $ac_status )
24456 ac_cv_c_bigendian=yes
24458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24464 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24465 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24466 if test $ac_cv_c_bigendian = unknown; then
24467 { 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
24468 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;}
24470 if test $ac_cv_c_bigendian = yes; then
24471 cat >>confdefs.h <<\_ACEOF
24472 #define WORDS_BIGENDIAN 1
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24483 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24488 for ac_header in iostream
24490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24496 cat >conftest.$ac_ext <<_ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24504 #include <$ac_header>
24506 rm -f conftest.$ac_objext
24507 if { (ac_try="$ac_compile"
24508 case "(($ac_try" in
24509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24510 *) ac_try_echo=$ac_try;;
24512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24513 (eval "$ac_compile") 2>conftest.er1
24515 grep -v '^
*+' conftest.er1 >conftest.err
24517 cat conftest.err >&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } && {
24520 test -z "$ac_cxx_werror_flag" ||
24521 test ! -s conftest.err
24522 } && test -s conftest.$ac_objext; then
24523 eval "$as_ac_Header=yes"
24525 echo "$as_me: failed program was:" >&5
24526 sed 's
/^
/| /' conftest.$ac_ext >&5
24528 eval "$as_ac_Header=no"
24531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 ac_res=`eval echo '${'$as_ac_Header'}'`
24534 { echo "$as_me:$LINENO: result: $ac_res" >&5
24535 echo "${ECHO_T}$ac_res" >&6; }
24536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24537 cat >>confdefs.h <<_ACEOF
24538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24546 if test "$ac_cv_header_iostream" = "yes" ; then
24549 cat >>confdefs.h <<\_ACEOF
24550 #define wxUSE_IOSTREAMH 1
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24558 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24564 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24565 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24566 if test "${wx_cv_explicit+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24574 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578 cat >conftest.$ac_ext <<_ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24585 class Foo { public: explicit Foo(int) {} };
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24606 grep -v '^
*+' conftest.er1 >conftest.err
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_cxx_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24615 cat >conftest.$ac_ext <<_ACEOF
24618 cat confdefs.h >>conftest.$ac_ext
24619 cat >>conftest.$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24622 class Foo { public: explicit Foo(int) {} };
24623 static void TakeFoo(const Foo& foo) { }
24636 rm -f conftest.$ac_objext
24637 if { (ac_try="$ac_compile"
24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_compile") 2>conftest.er1
24645 grep -v '^
*+' conftest.er1 >conftest.err
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_cxx_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest.$ac_objext; then
24655 echo "$as_me: failed program was:" >&5
24656 sed 's
/^
/| /' conftest.$ac_ext >&5
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 echo "$as_me: failed program was:" >&5
24666 sed 's
/^
/| /' conftest.$ac_ext >&5
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24677 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24683 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24685 if test "$wx_cv_explicit" = "yes"; then
24686 cat >>confdefs.h <<\_ACEOF
24687 #define HAVE_EXPLICIT 1
24693 if test "x$SUNCXX" = xyes; then
24694 CXXFLAGS="-features=tmplife $CXXFLAGS"
24697 if test "x$SUNCC" = xyes; then
24698 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24701 if test "x$SGICC" = "xyes"; then
24702 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24703 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24704 if test "${wx_cv_prog_sgicc744+set}" = set; then
24705 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24719 #if _SGI_COMPILER_VERSION >= 744
24720 chock me: mipsPro is 7.4.4 or later
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24736 grep -v '^
*+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_c_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 wx_cv_prog_sgicc744=no
24746 echo "$as_me: failed program was:" >&5
24747 sed 's
/^
/| /' conftest.$ac_ext >&5
24749 wx_cv_prog_sgicc744=yes
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24758 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24760 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24761 CFLAGS="-woff 3970 $CFLAGS"
24764 if test "x$SGICXX" = "xyes"; then
24765 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24766 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24767 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24774 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat >conftest.$ac_ext <<_ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24788 #if _SGI_COMPILER_VERSION >= 744
24789 chock me: mipsPro is 7.4.4 or later
24796 rm -f conftest.$ac_objext
24797 if { (ac_try="$ac_compile"
24798 case "(($ac_try" in
24799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24800 *) ac_try_echo=$ac_try;;
24802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24803 (eval "$ac_compile") 2>conftest.er1
24805 grep -v '^
*+' conftest.er1 >conftest.err
24807 cat conftest.err >&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } && {
24810 test -z "$ac_cxx_werror_flag" ||
24811 test ! -s conftest.err
24812 } && test -s conftest.$ac_objext; then
24813 wx_cv_prog_sgicxx744=no
24815 echo "$as_me: failed program was:" >&5
24816 sed 's
/^
/| /' conftest.$ac_ext >&5
24818 wx_cv_prog_sgicxx744=yes
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24826 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24832 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24833 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24835 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24836 CXXFLAGS="-woff 3970 $CXXFLAGS"
24840 if test "x$HPCC" = "xyes"; then
24841 CFLAGS="+W 2011,2450 $CFLAGS"
24843 if test "x$HPCXX" = "xyes"; then
24844 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24847 if test "x$COMPAQCXX" = "xyes"; then
24848 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24852 ac_cpp='$CXXCPP $CPPFLAGS'
24853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24854 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24858 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24859 if test "$wxUSE_UNICODE" = "yes"; then
24860 std_string="std::wstring"
24861 char_type="wchar_t"
24863 std_string="std::string"
24867 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24868 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24869 if test "${wx_cv_class_stdstring+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 cat >conftest.$ac_ext <<_ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24888 rm -f conftest.$ac_objext
24889 if { (ac_try="$ac_compile"
24890 case "(($ac_try" in
24891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_compile") 2>conftest.er1
24897 grep -v '^
*+' conftest.er1 >conftest.err
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } && {
24902 test -z "$ac_cxx_werror_flag" ||
24903 test ! -s conftest.err
24904 } && test -s conftest.$ac_objext; then
24905 wx_cv_class_stdstring=yes
24907 echo "$as_me: failed program was:" >&5
24908 sed 's
/^
/| /' conftest.$ac_ext >&5
24910 wx_cv_class_stdstring=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24919 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24921 if test "$wx_cv_class_stdstring" = yes; then
24922 if test "$wxUSE_UNICODE" = "yes"; then
24923 cat >>confdefs.h <<\_ACEOF
24924 #define HAVE_STD_WSTRING 1
24929 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24930 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24931 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24935 cat >conftest.$ac_ext <<_ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24942 #ifdef HAVE_WCHAR_H
24944 # include <stddef.h>
24946 # include <wchar.h>
24948 #ifdef HAVE_STDLIB_H
24949 # include <stdlib.h>
24957 std::basic_string<$char_type> foo;
24958 const $char_type* dummy = foo.c_str();
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24972 grep -v '^
*+' conftest.er1 >conftest.err
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 wx_cv_class_stdbasicstring=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's
/^
/| /' conftest.$ac_ext >&5
24985 wx_cv_class_stdbasicstring=no
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24993 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24994 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24996 if test "$wx_cv_class_stdbasicstring" != yes; then
24997 if test "$wxUSE_STL" = "yes"; then
24998 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24999 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25000 { (exit 1); exit 1; }; }
25001 elif test "$wxUSE_STD_STRING" = "yes"; then
25002 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25003 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25004 { (exit 1); exit 1; }; }
25006 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25007 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25008 wxUSE_STD_STRING=no
25014 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25015 { echo "$as_me:$LINENO: checking for std::istream" >&5
25016 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25017 if test "${ac_cv_type_std__istream+set}" = set; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 cat >conftest.$ac_ext <<_ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25026 #include <iostream>
25028 typedef std::istream ac__type_new_;
25032 if ((ac__type_new_ *) 0)
25034 if (sizeof (ac__type_new_))
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_type_std__istream=yes
25059 echo "$as_me: failed program was:" >&5
25060 sed 's
/^
/| /' conftest.$ac_ext >&5
25062 ac_cv_type_std__istream=no
25065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25067 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25068 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25069 if test $ac_cv_type_std__istream = yes; then
25071 cat >>confdefs.h <<_ACEOF
25072 #define HAVE_STD__ISTREAM 1
25077 wxUSE_STD_IOSTREAM=no
25079 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25080 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25081 if test "${ac_cv_type_std__ostream+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 cat >conftest.$ac_ext <<_ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090 #include <iostream>
25092 typedef std::ostream ac__type_new_;
25096 if ((ac__type_new_ *) 0)
25098 if (sizeof (ac__type_new_))
25104 rm -f conftest.$ac_objext
25105 if { (ac_try="$ac_compile"
25106 case "(($ac_try" in
25107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25108 *) ac_try_echo=$ac_try;;
25110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25111 (eval "$ac_compile") 2>conftest.er1
25113 grep -v '^
*+' conftest.er1 >conftest.err
25115 cat conftest.err >&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); } && {
25118 test -z "$ac_cxx_werror_flag" ||
25119 test ! -s conftest.err
25120 } && test -s conftest.$ac_objext; then
25121 ac_cv_type_std__ostream=yes
25123 echo "$as_me: failed program was:" >&5
25124 sed 's
/^
/| /' conftest.$ac_ext >&5
25126 ac_cv_type_std__ostream=no
25129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25131 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25132 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25133 if test $ac_cv_type_std__ostream = yes; then
25135 cat >>confdefs.h <<_ACEOF
25136 #define HAVE_STD__OSTREAM 1
25141 wxUSE_STD_IOSTREAM=no
25145 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25146 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25147 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25148 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25149 { (exit 1); exit 1; }; }
25151 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25152 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25157 if test "$wxUSE_STL" = "yes"; then
25158 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25159 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25160 if test "${wx_cv_lib_stl+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 cat >conftest.$ac_ext <<_ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25170 #include <functional>
25171 #include <algorithm>
25177 std::vector<int> moo;
25178 std::list<int> foo;
25179 std::vector<int>::iterator it =
25180 std::find_if(moo.begin(), moo.end(),
25181 std::bind2nd(std::less<int>(), 3));
25186 rm -f conftest.$ac_objext
25187 if { (ac_try="$ac_compile"
25188 case "(($ac_try" in
25189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_compile") 2>conftest.er1
25195 grep -v '^
*+' conftest.er1 >conftest.err
25197 cat conftest.err >&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); } && {
25200 test -z "$ac_cxx_werror_flag" ||
25201 test ! -s conftest.err
25202 } && test -s conftest.$ac_objext; then
25205 echo "$as_me: failed program was:" >&5
25206 sed 's
/^
/| /' conftest.$ac_ext >&5
25212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25216 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25218 if test "$wx_cv_lib_stl" != yes; then
25219 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25220 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25221 { (exit 1); exit 1; }; }
25224 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25225 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25226 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 cat >conftest.$ac_ext <<_ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25239 std::string foo, bar;
25241 foo.compare(1, 1, bar);
25242 foo.compare(1, 1, bar, 1, 1);
25244 foo.compare(1, 1, "");
25245 foo.compare(1, 1, "", 2);
25250 rm -f conftest.$ac_objext
25251 if { (ac_try="$ac_compile"
25252 case "(($ac_try" in
25253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25254 *) ac_try_echo=$ac_try;;
25256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25257 (eval "$ac_compile") 2>conftest.er1
25259 grep -v '^
*+' conftest.er1 >conftest.err
25261 cat conftest.err >&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } && {
25264 test -z "$ac_cxx_werror_flag" ||
25265 test ! -s conftest.err
25266 } && test -s conftest.$ac_objext; then
25267 wx_cv_func_stdstring_compare=yes
25269 echo "$as_me: failed program was:" >&5
25270 sed 's
/^
/| /' conftest.$ac_ext >&5
25272 wx_cv_func_stdstring_compare=no
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25280 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25282 if test "$wx_cv_func_stdstring_compare" = yes; then
25283 cat >>confdefs.h <<\_ACEOF
25284 #define HAVE_STD_STRING_COMPARE 1
25289 if test "$wx_cv_class_gnuhashmapset" = yes; then
25290 cat >>confdefs.h <<\_ACEOF
25291 #define HAVE_EXT_HASH_MAP 1
25294 cat >>confdefs.h <<\_ACEOF
25295 #define HAVE_GNU_CXX_HASH_MAP 1
25300 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25301 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25302 if test "${ac_cv_header_unordered_map+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 cat >conftest.$ac_ext <<_ACEOF
25308 cat confdefs.h >>conftest.$ac_ext
25309 cat >>conftest.$ac_ext <<_ACEOF
25310 /* end confdefs.h. */
25314 #include <unordered_map>
25316 rm -f conftest.$ac_objext
25317 if { (ac_try="$ac_compile"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_compile") 2>conftest.er1
25325 grep -v '^
*+' conftest.er1 >conftest.err
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } && {
25330 test -z "$ac_cxx_werror_flag" ||
25331 test ! -s conftest.err
25332 } && test -s conftest.$ac_objext; then
25333 ac_cv_header_unordered_map=yes
25335 echo "$as_me: failed program was:" >&5
25336 sed 's
/^
/| /' conftest.$ac_ext >&5
25338 ac_cv_header_unordered_map=no
25341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25344 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25345 if test $ac_cv_header_unordered_map = yes; then
25346 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25347 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25348 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 cat >conftest.$ac_ext <<_ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <unordered_map>
25358 #include <unordered_set>
25362 std::unordered_map<double*, char*> test1;
25363 std::unordered_set<char*> test2;
25368 rm -f conftest.$ac_objext
25369 if { (ac_try="$ac_compile"
25370 case "(($ac_try" in
25371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25372 *) ac_try_echo=$ac_try;;
25374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25375 (eval "$ac_compile") 2>conftest.er1
25377 grep -v '^
*+' conftest.er1 >conftest.err
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } && {
25382 test -z "$ac_cxx_werror_flag" ||
25383 test ! -s conftest.err
25384 } && test -s conftest.$ac_objext; then
25385 wx_cv_class_stdunorderedmapset=yes
25387 echo "$as_me: failed program was:" >&5
25388 sed 's
/^
/| /' conftest.$ac_ext >&5
25390 wx_cv_class_stdunorderedmapset=no
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25397 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25398 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25403 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25404 cat >>confdefs.h <<\_ACEOF
25405 #define HAVE_STD_UNORDERED_MAP 1
25408 cat >>confdefs.h <<\_ACEOF
25409 #define HAVE_STD_UNORDERED_SET 1
25413 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25414 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25415 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 cat >conftest.$ac_ext <<_ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25427 #include <tr1/unordered_map>
25429 rm -f conftest.$ac_objext
25430 if { (ac_try="$ac_compile"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_compile") 2>conftest.er1
25438 grep -v '^
*+' conftest.er1 >conftest.err
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_cxx_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest.$ac_objext; then
25446 ac_cv_header_tr1_unordered_map=yes
25448 echo "$as_me: failed program was:" >&5
25449 sed 's
/^
/| /' conftest.$ac_ext >&5
25451 ac_cv_header_tr1_unordered_map=no
25454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25456 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25457 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25458 if test $ac_cv_header_tr1_unordered_map = yes; then
25459 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25460 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25461 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 cat >conftest.$ac_ext <<_ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 #include <tr1/unordered_map>
25471 #include <tr1/unordered_set>
25475 std::tr1::unordered_map<double*, char*> test1;
25476 std::tr1::unordered_set<char*> test2;
25477 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25478 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25484 rm -f conftest.
$ac_objext
25485 if { (ac_try
="$ac_compile"
25486 case "(($ac_try" in
25487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_compile") 2>conftest.er1
25493 grep -v '^ *+' conftest.er1 >conftest.err
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_cxx_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest.$ac_objext; then
25501 wx_cv_class_tr1unorderedmapset=yes
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 wx_cv_class_tr1unorderedmapset=no
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25514 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25519 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25520 cat >>confdefs.h <<\_ACEOF
25521 #define HAVE_TR1_UNORDERED_MAP 1
25524 cat >>confdefs.h <<\_ACEOF
25525 #define HAVE_TR1_UNORDERED_SET 1
25529 { echo "$as_me:$LINENO: checking for hash_map" >&5
25530 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25531 if test "${ac_cv_header_hash_map+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 cat >conftest.$ac_ext <<_ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25543 #include <hash_map>
25545 rm -f conftest.$ac_objext
25546 if { (ac_try="$ac_compile"
25547 case "(($ac_try" in
25548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25549 *) ac_try_echo
=$ac_try;;
25551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25552 (eval "$ac_compile") 2>conftest.er1
25554 grep -v '^ *+' conftest.er1
>conftest.err
25556 cat conftest.err
>&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } && {
25559 test -z "$ac_cxx_werror_flag" ||
25560 test ! -s conftest.err
25561 } && test -s conftest.
$ac_objext; then
25562 ac_cv_header_hash_map
=yes
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.
$ac_ext >&5
25567 ac_cv_header_hash_map
=no
25570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25572 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25573 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25574 if test $ac_cv_header_hash_map = yes; then
25575 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25576 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25577 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 cat >conftest.
$ac_ext <<_ACEOF
25583 cat confdefs.h
>>conftest.
$ac_ext
25584 cat >>conftest.
$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 #include <hash_map>
25587 #include <hash_set>
25591 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25592 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25597 rm -f conftest.
$ac_objext
25598 if { (ac_try
="$ac_compile"
25599 case "(($ac_try" in
25600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25601 *) ac_try_echo=$ac_try;;
25603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25604 (eval "$ac_compile") 2>conftest.er1
25606 grep -v '^ *+' conftest.er1 >conftest.err
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } && {
25611 test -z "$ac_cxx_werror_flag" ||
25612 test ! -s conftest.err
25613 } && test -s conftest.$ac_objext; then
25614 wx_cv_class_stdhashmapset=yes
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25619 wx_cv_class_stdhashmapset=no
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25626 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25627 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25632 if test "$wx_cv_class_stdhashmapset" = yes; then
25633 cat >>confdefs.h <<\_ACEOF
25634 #define HAVE_HASH_MAP 1
25637 cat >>confdefs.h <<\_ACEOF
25638 #define HAVE_STD_HASH_MAP 1
25643 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25644 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25645 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 cat >conftest.$ac_ext <<_ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25657 #include <ext/hash_map>
25659 rm -f conftest.$ac_objext
25660 if { (ac_try="$ac_compile"
25661 case "(($ac_try" in
25662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25663 *) ac_try_echo
=$ac_try;;
25665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25666 (eval "$ac_compile") 2>conftest.er1
25668 grep -v '^ *+' conftest.er1
>conftest.err
25670 cat conftest.err
>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } && {
25673 test -z "$ac_cxx_werror_flag" ||
25674 test ! -s conftest.err
25675 } && test -s conftest.
$ac_objext; then
25676 ac_cv_header_ext_hash_map
=yes
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.
$ac_ext >&5
25681 ac_cv_header_ext_hash_map
=no
25684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25686 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25687 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25688 if test $ac_cv_header_ext_hash_map = yes; then
25689 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25690 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25691 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25692 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 cat >conftest.
$ac_ext <<_ACEOF
25697 cat confdefs.h
>>conftest.
$ac_ext
25698 cat >>conftest.
$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25700 #include <ext/hash_map>
25701 #include <ext/hash_set>
25705 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25706 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25711 rm -f conftest.
$ac_objext
25712 if { (ac_try
="$ac_compile"
25713 case "(($ac_try" in
25714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_compile") 2>conftest.er1
25720 grep -v '^ *+' conftest.er1 >conftest.err
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } && {
25725 test -z "$ac_cxx_werror_flag" ||
25726 test ! -s conftest.err
25727 } && test -s conftest.$ac_objext; then
25728 wx_cv_class_gnuhashmapset=yes
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25733 wx_cv_class_gnuhashmapset=no
25736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25740 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25741 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25752 if test -n "$GCC"; then
25753 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25754 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25755 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25756 echo $ECHO_N "(cached) $ECHO_C" >&6
25759 cat >conftest.$ac_ext <<_ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25770 unsigned int value=0;
25771 /* wxAtomicInc doesn't use return value here */
25772 __sync_fetch_and_add(&value, 2);
25773 __sync_sub_and_fetch(&value, 1);
25774 /* but wxAtomicDec does, so mimic that: */
25775 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25781 rm -f conftest.$ac_objext conftest$ac_exeext
25782 if { (ac_try="$ac_link"
25783 case "(($ac_try" in
25784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25785 *) ac_try_echo
=$ac_try;;
25787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25788 (eval "$ac_link") 2>conftest.er1
25790 grep -v '^ *+' conftest.er1
>conftest.err
25792 cat conftest.err
>&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); } && {
25795 test -z "$ac_cxx_werror_flag" ||
25796 test ! -s conftest.err
25797 } && test -s conftest
$ac_exeext &&
25798 $as_test_x conftest
$ac_exeext; then
25799 wx_cv_cc_gcc_atomic_builtins
=yes
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.
$ac_ext >&5
25804 wx_cv_cc_gcc_atomic_builtins
=no
25807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25808 conftest
$ac_exeext conftest.
$ac_ext
25812 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25813 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25814 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25815 cat >>confdefs.h
<<\_ACEOF
25816 #define HAVE_GCC_ATOMIC_BUILTINS 1
25824 ac_cpp
='$CPP $CPPFLAGS'
25825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25832 /usr/local/include \
25833 /usr/local/X11/include \
25834 /usr/local/include/X11 \
25835 /usr/local/X11R7/include \
25836 /usr/local/X11R6/include \
25837 /usr/local/include/X11R7 \
25838 /usr/local/include/X11R6 \
25840 /usr/Motif-2.1/include \
25841 /usr/Motif-1.2/include \
25842 /usr/include/Motif1.2 \
25845 /usr/openwin/include \
25849 /usr/X11R7/include \
25850 /usr/X11R6/include \
25851 /usr/X11R6.4/include \
25853 /usr/include/X11R7 \
25854 /usr/include/X11R6 \
25859 /usr/XFree86/include/X11 \
25862 /usr/local/X1R5/include \
25863 /usr/local/include/X11R5 \
25864 /usr/X11R5/include \
25865 /usr/include/X11R5 \
25867 /usr/local/X11R4/include \
25868 /usr/local/include/X11R4 \
25869 /usr/X11R4/include \
25870 /usr/include/X11R4 \
25872 /usr/openwin/share/include"
25874 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25875 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25879 if test "${wx_cv_std_libpath+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25884 for e
in a so sl dylib dll.a
; do
25886 if test -f $libc; then
25889 cat >conftest.
$ac_ext <<_ACEOF
25890 int main() { return 0; }
25892 rm -f conftest.
$ac_objext conftest
$ac_exeext
25893 if { (ac_try
="$ac_link"
25894 case "(($ac_try" in
25895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_link") 2>conftest.er1
25901 grep -v '^ *+' conftest.er1 >conftest.err
25903 cat conftest.err >&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); } && {
25906 test -z "$ac_c_werror_flag" ||
25907 test ! -s conftest.err
25908 } && test -s conftest$ac_exeext &&
25909 $as_test_x conftest$ac_exeext; then
25910 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25912 echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.$ac_ext >&5
25918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25919 conftest$ac_exeext conftest.$ac_ext
25921 if test "x$wx_cv_std_libpath" != "x"; then
25927 if test "x$wx_cv_std_libpath" = "x"; then
25928 wx_cv_std_libpath="lib"
25937 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25938 wx_cv_std_libpath="lib/64"
25940 wx_cv_std_libpath="lib"
25945 if test "$ac_cv_sizeof_void_p" = 8 -a \
25946 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25947 wx_cv_std_libpath="lib64"
25949 wx_cv_std_libpath="lib"
25954 wx_cv_std_libpath="lib";
25958 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25959 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25961 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25963 if test "$build" != "$host" -a "$GCC" = yes; then
25964 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25965 cross_root=`dirname $cross_root`
25966 cross_root=`dirname $cross_root`
25968 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25969 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25970 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25972 if test -z "$PKG_CONFIG_PATH"; then
25973 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25974 export PKG_CONFIG_PATH
25977 if test -z "$x_includes" -o "$x_includes" = NONE; then
25980 for ac_dir in $SEARCH_INCLUDE /usr/include;
25982 if test -f "$ac_dir/X11/Intrinsic.h"; then
25983 ac_find_includes=$ac_dir
25988 x_includes=$ac_find_includes
25990 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25993 for ac_dir in $SEARCH_LIB;
25995 for ac_extension in a so sl dylib dll.a; do
25996 if test -f "$ac_dir/libXt.$ac_extension"; then
25997 ac_find_libraries=$ac_dir
26003 x_libraries=$ac_find_libraries
26009 cat >confcache <<\_ACEOF
26010 # This file is a shell script that caches the results of configure
26011 # tests run on this system so they can be shared between configure
26012 # scripts and configure runs, see configure's option --config-cache.
26013 # It is not useful on other systems. If it contains results you don't
26014 # want to keep, you may remove or edit it.
26016 # config.status only pays attention to the cache file if you give it
26017 # the --recheck option to rerun configure.
26019 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26021 # following values.
26025 # The following way of writing the cache mishandles newlines in values,
26026 # but we know of no workaround that is simple, portable, and efficient.
26027 # So, we kill variables containing newlines.
26028 # Ultrix sh set writes to stderr and can't be redirected directly,
26029 # and sets the high bit in the cache file unless we assign to the vars.
26031 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26032 eval ac_val
=\$
$ac_var
26036 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26037 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26040 _
| IFS
| as_nl
) ;; #(
26041 *) $as_unset $ac_var ;;
26047 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26048 *${as_nl}ac_space
=\
*)
26049 # `set' does not quote correctly, so add quotes (double-quote
26050 # substitution turns \\\\ into \\, and sed turns \\ into \).
26053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26056 # `set' quotes correctly as required by POSIX, so do not add quotes.
26057 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26068 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26070 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26071 if test -w "$cache_file"; then
26072 test "x$cache_file" != "x/dev/null" &&
26073 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26074 echo "$as_me: updating cache $cache_file" >&6;}
26075 cat confcache
>$cache_file
26077 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26078 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26083 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26084 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26085 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26086 if test "${wx_cv_lib_glibc21+set}" = set; then
26087 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 cat >conftest.
$ac_ext <<_ACEOF
26093 cat confdefs.h
>>conftest.
$ac_ext
26094 cat >>conftest.
$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096 #include <features.h>
26101 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26109 rm -f conftest.
$ac_objext
26110 if { (ac_try
="$ac_compile"
26111 case "(($ac_try" in
26112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26113 *) ac_try_echo=$ac_try;;
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_compile") 2>conftest.er1
26118 grep -v '^ *+' conftest.er1 >conftest.err
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } && {
26123 test -z "$ac_c_werror_flag" ||
26124 test ! -s conftest.err
26125 } && test -s conftest.$ac_objext; then
26127 wx_cv_lib_glibc21=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26134 wx_cv_lib_glibc21=no
26139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26143 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26144 if test "$wx_cv_lib_glibc21" = "yes"; then
26145 cat >>confdefs.h <<\_ACEOF
26146 #define wxHAVE_GLIBC2 1
26152 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26153 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26154 cat >>confdefs.h <<\_ACEOF
26155 #define _GNU_SOURCE 1
26166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26170 echo $ECHO_N "(cached) $ECHO_C" >&6
26172 cat >conftest.$ac_ext <<_ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26180 #define $ac_func innocuous_$ac_func
26182 /* System header to define __stub macros and hopefully few prototypes,
26183 which can conflict with char $ac_func (); below.
26184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26185 <limits.h> exists even on freestanding compilers. */
26188 # include <limits.h>
26190 # include <assert.h>
26195 /* Override any GCC internal prototype to avoid an error.
26196 Use char because int might match the return type of a GCC
26197 builtin and then its argument prototype would still apply. */
26202 /* The GNU C library defines this for functions which it implements
26203 to always fail with ENOSYS. Some functions are actually named
26204 something starting with __ and the normal name is an alias. */
26205 #if defined __stub_$ac_func || defined __stub___$ac_func
26212 return $ac_func ();
26217 rm -f conftest.$ac_objext conftest$ac_exeext
26218 if { (ac_try="$ac_link"
26219 case "(($ac_try" in
26220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26221 *) ac_try_echo
=$ac_try;;
26223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26224 (eval "$ac_link") 2>conftest.er1
26226 grep -v '^ *+' conftest.er1
>conftest.err
26228 cat conftest.err
>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } && {
26231 test -z "$ac_c_werror_flag" ||
26232 test ! -s conftest.err
26233 } && test -s conftest
$ac_exeext &&
26234 $as_test_x conftest
$ac_exeext; then
26235 eval "$as_ac_var=yes"
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.
$ac_ext >&5
26240 eval "$as_ac_var=no"
26243 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26244 conftest
$ac_exeext conftest.
$ac_ext
26246 ac_res
=`eval echo '${'$as_ac_var'}'`
26247 { echo "$as_me:$LINENO: result: $ac_res" >&5
26248 echo "${ECHO_T}$ac_res" >&6; }
26249 if test `eval echo '${'$as_ac_var'}'` = yes; then
26250 cat >>confdefs.h
<<_ACEOF
26251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26258 for ac_func
in floor
26260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26263 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 cat >conftest.
$ac_ext <<_ACEOF
26269 cat confdefs.h
>>conftest.
$ac_ext
26270 cat >>conftest.
$ac_ext <<_ACEOF
26271 /* end confdefs.h. */
26272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26274 #define $ac_func innocuous_$ac_func
26276 /* System header to define __stub macros and hopefully few prototypes,
26277 which can conflict with char $ac_func (); below.
26278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26279 <limits.h> exists even on freestanding compilers. */
26282 # include <limits.h>
26284 # include <assert.h>
26289 /* Override any GCC internal prototype to avoid an error.
26290 Use char because int might match the return type of a GCC
26291 builtin and then its argument prototype would still apply. */
26296 /* The GNU C library defines this for functions which it implements
26297 to always fail with ENOSYS. Some functions are actually named
26298 something starting with __ and the normal name is an alias. */
26299 #if defined __stub_$ac_func || defined __stub___$ac_func
26306 return $ac_func ();
26311 rm -f conftest.
$ac_objext conftest
$ac_exeext
26312 if { (ac_try
="$ac_link"
26313 case "(($ac_try" in
26314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26315 *) ac_try_echo=$ac_try;;
26317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26318 (eval "$ac_link") 2>conftest.er1
26320 grep -v '^ *+' conftest.er1 >conftest.err
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } && {
26325 test -z "$ac_c_werror_flag" ||
26326 test ! -s conftest.err
26327 } && test -s conftest$ac_exeext &&
26328 $as_test_x conftest$ac_exeext; then
26329 eval "$as_ac_var=yes"
26331 echo "$as_me: failed program was:" >&5
26332 sed 's/^/| /' conftest.$ac_ext >&5
26334 eval "$as_ac_var=no"
26337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26338 conftest$ac_exeext conftest.$ac_ext
26340 ac_res=`eval echo '${'$as_ac_var'}'`
26341 { echo "$as_me:$LINENO: result: $ac_res" >&5
26342 echo "${ECHO_T}$ac_res" >&6; }
26343 if test `eval echo '${'$as_ac_var'}'` = yes; then
26344 cat >>confdefs.h <<_ACEOF
26345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26351 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26352 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26353 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26354 { echo "$as_me:$LINENO: result: yes" >&5
26355 echo "${ECHO_T}yes" >&6; }
26357 { echo "$as_me:$LINENO: result: no" >&5
26358 echo "${ECHO_T}no" >&6; }
26360 # use different functions to avoid configure caching
26366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26372 cat >conftest.$ac_ext <<_ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26380 #define $ac_func innocuous_$ac_func
26382 /* System header to define __stub macros and hopefully few prototypes,
26383 which can conflict with char $ac_func (); below.
26384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26385 <limits.h> exists even on freestanding compilers. */
26388 # include <limits.h>
26390 # include <assert.h>
26395 /* Override any GCC internal prototype to avoid an error.
26396 Use char because int might match the return type of a GCC
26397 builtin and then its argument prototype would still apply. */
26402 /* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405 #if defined __stub_$ac_func || defined __stub___$ac_func
26412 return $ac_func ();
26417 rm -f conftest.$ac_objext conftest$ac_exeext
26418 if { (ac_try="$ac_link"
26419 case "(($ac_try" in
26420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26421 *) ac_try_echo
=$ac_try;;
26423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26424 (eval "$ac_link") 2>conftest.er1
26426 grep -v '^ *+' conftest.er1
>conftest.err
26428 cat conftest.err
>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } && {
26431 test -z "$ac_c_werror_flag" ||
26432 test ! -s conftest.err
26433 } && test -s conftest
$ac_exeext &&
26434 $as_test_x conftest
$ac_exeext; then
26435 eval "$as_ac_var=yes"
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.
$ac_ext >&5
26440 eval "$as_ac_var=no"
26443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26444 conftest
$ac_exeext conftest.
$ac_ext
26446 ac_res
=`eval echo '${'$as_ac_var'}'`
26447 { echo "$as_me:$LINENO: result: $ac_res" >&5
26448 echo "${ECHO_T}$ac_res" >&6; }
26449 if test `eval echo '${'$as_ac_var'}'` = yes; then
26450 cat >>confdefs.h
<<_ACEOF
26451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26458 for ac_func
in ceil
26460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26463 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 cat >conftest.
$ac_ext <<_ACEOF
26469 cat confdefs.h
>>conftest.
$ac_ext
26470 cat >>conftest.
$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26474 #define $ac_func innocuous_$ac_func
26476 /* System header to define __stub macros and hopefully few prototypes,
26477 which can conflict with char $ac_func (); below.
26478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26479 <limits.h> exists even on freestanding compilers. */
26482 # include <limits.h>
26484 # include <assert.h>
26489 /* Override any GCC internal prototype to avoid an error.
26490 Use char because int might match the return type of a GCC
26491 builtin and then its argument prototype would still apply. */
26496 /* The GNU C library defines this for functions which it implements
26497 to always fail with ENOSYS. Some functions are actually named
26498 something starting with __ and the normal name is an alias. */
26499 #if defined __stub_$ac_func || defined __stub___$ac_func
26506 return $ac_func ();
26511 rm -f conftest.
$ac_objext conftest
$ac_exeext
26512 if { (ac_try
="$ac_link"
26513 case "(($ac_try" in
26514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26515 *) ac_try_echo=$ac_try;;
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_link") 2>conftest.er1
26520 grep -v '^ *+' conftest.er1 >conftest.err
26522 cat conftest.err >&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } && {
26525 test -z "$ac_c_werror_flag" ||
26526 test ! -s conftest.err
26527 } && test -s conftest$ac_exeext &&
26528 $as_test_x conftest$ac_exeext; then
26529 eval "$as_ac_var=yes"
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26534 eval "$as_ac_var=no"
26537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26538 conftest$ac_exeext conftest.$ac_ext
26540 ac_res=`eval echo '${'$as_ac_var'}'`
26541 { echo "$as_me:$LINENO: result: $ac_res" >&5
26542 echo "${ECHO_T}$ac_res" >&6; }
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h <<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26551 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26552 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26553 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26554 { echo "$as_me:$LINENO: result: yes" >&5
26555 echo "${ECHO_T}yes" >&6; }
26557 { echo "$as_me:$LINENO: result: no" >&5
26558 echo "${ECHO_T}no" >&6; }
26559 # not sure we should warn the user, crash, etc.
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26569 if test "wxUSE_UNICODE" = "yes"; then
26571 for wx_func in wcstoull
26573 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26574 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26575 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26579 cat >conftest.$ac_ext <<_ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26588 $ac_includes_default
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (ac_try="$ac_link"
26606 case "(($ac_try" in
26607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26608 *) ac_try_echo
=$ac_try;;
26610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26611 (eval "$ac_link") 2>conftest.er1
26613 grep -v '^ *+' conftest.er1
>conftest.err
26615 cat conftest.err
>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && {
26618 test -z "$ac_cxx_werror_flag" ||
26619 test ! -s conftest.err
26620 } && test -s conftest
$ac_exeext &&
26621 $as_test_x conftest
$ac_exeext; then
26622 eval wx_cv_func_
$wx_func=yes
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.
$ac_ext >&5
26627 eval wx_cv_func_
$wx_func=no
26630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26631 conftest
$ac_exeext conftest.
$ac_ext
26634 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26635 { echo "$as_me:$LINENO: result: $ac_res" >&5
26636 echo "${ECHO_T}$ac_res" >&6; }
26638 if eval test \
$wx_cv_func_$wx_func = yes
26640 cat >>confdefs.h
<<_ACEOF
26641 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26653 for wx_func
in strtoull
26655 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26656 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26657 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 cat >conftest.
$ac_ext <<_ACEOF
26665 cat confdefs.h
>>conftest.
$ac_ext
26666 cat >>conftest.
$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26670 $ac_includes_default
26686 rm -f conftest.
$ac_objext conftest
$ac_exeext
26687 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
26695 grep -v '^ *+' conftest.er1 >conftest.err
26697 cat conftest.err >&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } && {
26700 test -z "$ac_cxx_werror_flag" ||
26701 test ! -s conftest.err
26702 } && test -s conftest$ac_exeext &&
26703 $as_test_x conftest$ac_exeext; then
26704 eval wx_cv_func_$wx_func=yes
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26709 eval wx_cv_func_$wx_func=no
26712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26713 conftest$ac_exeext conftest.$ac_ext
26716 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26717 { echo "$as_me:$LINENO: result: $ac_res" >&5
26718 echo "${ECHO_T}$ac_res" >&6; }
26720 if eval test \$wx_cv_func_$wx_func = yes
26722 cat >>confdefs.h <<_ACEOF
26723 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26743 if test "$wxUSE_REGEX" != "no"; then
26744 cat >>confdefs.h <<\_ACEOF
26745 #define wxUSE_REGEX 1
26749 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26750 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26751 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26752 wxUSE_REGEX=builtin
26755 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26756 { echo "$as_me:$LINENO: checking for regex.h" >&5
26757 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26758 if test "${ac_cv_header_regex_h+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 cat >conftest.$ac_ext <<_ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26775 *) ac_try_echo
=$ac_try;;
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26780 grep -v '^ *+' conftest.er1
>conftest.err
26782 cat conftest.err
>&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_c_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.
$ac_objext; then
26788 ac_cv_header_regex_h
=yes
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.
$ac_ext >&5
26793 ac_cv_header_regex_h
=no
26796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26798 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26799 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26800 if test $ac_cv_header_regex_h = yes; then
26803 for ac_func
in regcomp re_search
26805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26808 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 cat >conftest.
$ac_ext <<_ACEOF
26814 cat confdefs.h
>>conftest.
$ac_ext
26815 cat >>conftest.
$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26819 #define $ac_func innocuous_$ac_func
26821 /* System header to define __stub macros and hopefully few prototypes,
26822 which can conflict with char $ac_func (); below.
26823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26824 <limits.h> exists even on freestanding compilers. */
26827 # include <limits.h>
26829 # include <assert.h>
26834 /* Override any GCC internal prototype to avoid an error.
26835 Use char because int might match the return type of a GCC
26836 builtin and then its argument prototype would still apply. */
26841 /* The GNU C library defines this for functions which it implements
26842 to always fail with ENOSYS. Some functions are actually named
26843 something starting with __ and the normal name is an alias. */
26844 #if defined __stub_$ac_func || defined __stub___$ac_func
26851 return $ac_func ();
26856 rm -f conftest.
$ac_objext conftest
$ac_exeext
26857 if { (ac_try
="$ac_link"
26858 case "(($ac_try" in
26859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_link") 2>conftest.er1
26865 grep -v '^ *+' conftest.er1 >conftest.err
26867 cat conftest.err >&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } && {
26870 test -z "$ac_c_werror_flag" ||
26871 test ! -s conftest.err
26872 } && test -s conftest$ac_exeext &&
26873 $as_test_x conftest$ac_exeext; then
26874 eval "$as_ac_var=yes"
26876 echo "$as_me: failed program was:" >&5
26877 sed 's/^/| /' conftest.$ac_ext >&5
26879 eval "$as_ac_var=no"
26882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26883 conftest$ac_exeext conftest.$ac_ext
26885 ac_res=`eval echo '${'$as_ac_var'}'`
26886 { echo "$as_me:$LINENO: result: $ac_res" >&5
26887 echo "${ECHO_T}$ac_res" >&6; }
26888 if test `eval echo '${'$as_ac_var'}'` = yes; then
26889 cat >>confdefs.h <<_ACEOF
26890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26900 if test "x$ac_cv_func_regcomp" != "xyes"; then
26901 if test "$wxUSE_REGEX" = "sys" ; then
26902 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26903 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26904 { (exit 1); exit 1; }; }
26906 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26907 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26908 wxUSE_REGEX=builtin
26912 cat >>confdefs.h <<\_ACEOF
26913 #define WX_NO_REGEX_ADVANCED 1
26922 if test "$wxUSE_ZLIB" != "no" ; then
26923 cat >>confdefs.h <<\_ACEOF
26924 #define wxUSE_ZLIB 1
26928 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26929 if test "$USE_DARWIN" = 1; then
26930 system_zlib_h_ok="yes"
26932 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26933 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26934 if test "${ac_cv_header_zlib_h+set}" = set; then
26935 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 if test "$cross_compiling" = yes; then
26938 unset ac_cv_header_zlib_h
26941 cat >conftest.$ac_ext <<_ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26953 FILE *f=fopen("conftestval", "w");
26956 ZLIB_VERSION[0] == '1' &&
26957 (ZLIB_VERSION[2] > '1' ||
26958 (ZLIB_VERSION[2] == '1' &&
26959 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26964 rm -f conftest$ac_exeext
26965 if { (ac_try="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26968 *) ac_try_echo
=$ac_try;;
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26975 { (case "(($ac_try" in
26976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26977 *) ac_try_echo=$ac_try;;
26979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26980 (eval "$ac_try") 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 ac_cv_header_zlib_h=`cat conftestval
`
26986 echo "$as_me: program exited with status $ac_status" >&5
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26990 ( exit $ac_status )
26991 ac_cv_header_zlib_h=no
26993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26999 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27000 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27001 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27002 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27003 if test "${ac_cv_header_zlib_h+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 cat >conftest.$ac_ext <<_ACEOF
27009 cat confdefs.h >>conftest.$ac_ext
27010 cat >>conftest.$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27016 rm -f conftest.$ac_objext
27017 if { (ac_try="$ac_compile"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27020 *) ac_try_echo
=$ac_try;;
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_compile") 2>conftest.er1
27025 grep -v '^ *+' conftest.er1
>conftest.err
27027 cat conftest.err
>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_c_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest.
$ac_objext; then
27033 ac_cv_header_zlib_h
=yes
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.
$ac_ext >&5
27038 ac_cv_header_zlib_h
=no
27041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27043 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27044 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27048 system_zlib_h_ok
=$ac_cv_header_zlib_h
27051 if test "$system_zlib_h_ok" = "yes"; then
27052 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27053 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27054 if test "${ac_cv_lib_z_deflate+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 ac_check_lib_save_LIBS
=$LIBS
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27066 /* Override any GCC internal prototype to avoid an error.
27067 Use char because int might match the return type of a GCC
27068 builtin and then its argument prototype would still apply. */
27081 rm -f conftest.
$ac_objext conftest
$ac_exeext
27082 if { (ac_try
="$ac_link"
27083 case "(($ac_try" in
27084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_link") 2>conftest.er1
27090 grep -v '^ *+' conftest.er1 >conftest.err
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } && {
27095 test -z "$ac_c_werror_flag" ||
27096 test ! -s conftest.err
27097 } && test -s conftest$ac_exeext &&
27098 $as_test_x conftest$ac_exeext; then
27099 ac_cv_lib_z_deflate=yes
27101 echo "$as_me: failed program was:" >&5
27102 sed 's/^/| /' conftest.$ac_ext >&5
27104 ac_cv_lib_z_deflate=no
27107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27108 conftest$ac_exeext conftest.$ac_ext
27109 LIBS=$ac_check_lib_save_LIBS
27111 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27112 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27113 if test $ac_cv_lib_z_deflate = yes; then
27119 if test "x$ZLIB_LINK" = "x" ; then
27120 if test "$wxUSE_ZLIB" = "sys" ; then
27121 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27122 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27123 { (exit 1); exit 1; }; }
27125 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27126 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27137 if test "$wxUSE_LIBPNG" != "no" ; then
27138 cat >>confdefs.h <<\_ACEOF
27139 #define wxUSE_LIBPNG 1
27143 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27144 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27145 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27149 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27150 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27151 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27152 wxUSE_LIBPNG=builtin
27155 if test "$wxUSE_MGL" != 1 ; then
27156 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27157 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27158 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27159 if test "${ac_cv_header_png_h+set}" = set; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27162 if test "$cross_compiling" = yes; then
27163 unset ac_cv_header_png_h
27166 cat >conftest.$ac_ext <<_ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27178 FILE *f=fopen("conftestval", "w");
27181 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27186 rm -f conftest$ac_exeext
27187 if { (ac_try="$ac_link"
27188 case "(($ac_try" in
27189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27190 *) ac_try_echo
=$ac_try;;
27192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27193 (eval "$ac_link") 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27197 { (case "(($ac_try" in
27198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_try") 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; }; then
27206 ac_cv_header_png_h=`cat conftestval
`
27208 echo "$as_me: program exited with status $ac_status" >&5
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27212 ( exit $ac_status )
27213 ac_cv_header_png_h=no
27215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27221 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27222 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27223 { echo "$as_me:$LINENO: checking for png.h" >&5
27224 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27225 if test "${ac_cv_header_png_h+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 cat >conftest.$ac_ext <<_ACEOF
27231 cat confdefs.h >>conftest.$ac_ext
27232 cat >>conftest.$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27238 rm -f conftest.$ac_objext
27239 if { (ac_try="$ac_compile"
27240 case "(($ac_try" in
27241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27242 *) ac_try_echo
=$ac_try;;
27244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27245 (eval "$ac_compile") 2>conftest.er1
27247 grep -v '^ *+' conftest.er1
>conftest.err
27249 cat conftest.err
>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } && {
27252 test -z "$ac_c_werror_flag" ||
27253 test ! -s conftest.err
27254 } && test -s conftest.
$ac_objext; then
27255 ac_cv_header_png_h
=yes
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.
$ac_ext >&5
27260 ac_cv_header_png_h
=no
27263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27265 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27266 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27270 if test "$ac_cv_header_png_h" = "yes"; then
27271 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27272 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27273 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 ac_check_lib_save_LIBS
=$LIBS
27277 LIBS
="-lpng -lz -lm $LIBS"
27278 cat >conftest.
$ac_ext <<_ACEOF
27281 cat confdefs.h
>>conftest.
$ac_ext
27282 cat >>conftest.
$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27285 /* Override any GCC internal prototype to avoid an error.
27286 Use char because int might match the return type of a GCC
27287 builtin and then its argument prototype would still apply. */
27291 char png_sig_cmp ();
27295 return png_sig_cmp ();
27300 rm -f conftest.
$ac_objext conftest
$ac_exeext
27301 if { (ac_try
="$ac_link"
27302 case "(($ac_try" in
27303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_link") 2>conftest.er1
27309 grep -v '^ *+' conftest.er1 >conftest.err
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest$ac_exeext &&
27317 $as_test_x conftest$ac_exeext; then
27318 ac_cv_lib_png_png_sig_cmp=yes
27320 echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.$ac_ext >&5
27323 ac_cv_lib_png_png_sig_cmp=no
27326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27327 conftest$ac_exeext conftest.$ac_ext
27328 LIBS=$ac_check_lib_save_LIBS
27330 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27331 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27332 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27333 PNG_LINK=" -lpng -lz"
27338 if test "x$PNG_LINK" = "x" ; then
27339 if test "$wxUSE_LIBPNG" = "sys" ; then
27340 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27341 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27342 { (exit 1); exit 1; }; }
27344 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27345 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27346 wxUSE_LIBPNG=builtin
27357 if test "$wxUSE_LIBJPEG" != "no" ; then
27358 cat >>confdefs.h <<\_ACEOF
27359 #define wxUSE_LIBJPEG 1
27363 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27364 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27365 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27369 if test "$wxUSE_MGL" != 1 ; then
27370 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27371 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27372 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27373 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 cat >conftest.$ac_ext <<_ACEOF
27379 cat confdefs.h >>conftest.$ac_ext
27380 cat >>conftest.$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27383 #undef HAVE_STDLIB_H
27385 #include <jpeglib.h>
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27400 *) ac_try_echo
=$ac_try;;
27402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27405 grep -v '^ *+' conftest.er1
>conftest.err
27407 cat conftest.err
>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.
$ac_objext; then
27413 ac_cv_header_jpeglib_h
=yes
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.
$ac_ext >&5
27418 ac_cv_header_jpeglib_h
=no
27422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27426 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27427 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27429 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27430 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27431 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27432 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 ac_check_lib_save_LIBS
=$LIBS
27436 LIBS
="-ljpeg $LIBS"
27437 cat >conftest.
$ac_ext <<_ACEOF
27440 cat confdefs.h
>>conftest.
$ac_ext
27441 cat >>conftest.
$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27444 /* Override any GCC internal prototype to avoid an error.
27445 Use char because int might match the return type of a GCC
27446 builtin and then its argument prototype would still apply. */
27450 char jpeg_read_header ();
27454 return jpeg_read_header ();
27459 rm -f conftest.
$ac_objext conftest
$ac_exeext
27460 if { (ac_try
="$ac_link"
27461 case "(($ac_try" in
27462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_link") 2>conftest.er1
27468 grep -v '^ *+' conftest.er1 >conftest.err
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_c_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest$ac_exeext &&
27476 $as_test_x conftest$ac_exeext; then
27477 ac_cv_lib_jpeg_jpeg_read_header=yes
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27482 ac_cv_lib_jpeg_jpeg_read_header=no
27485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27489 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27490 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27491 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27492 JPEG_LINK=" -ljpeg"
27497 if test "x$JPEG_LINK" = "x" ; then
27498 if test "$wxUSE_LIBJPEG" = "sys" ; then
27499 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27500 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27501 { (exit 1); exit 1; }; }
27503 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27504 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27505 wxUSE_LIBJPEG=builtin
27510 if test "$wxUSE_MSW" = 1; then
27511 { echo "$as_me:$LINENO: checking for boolean" >&5
27512 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27513 if test "${ac_cv_type_boolean+set}" = set; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 cat >conftest.$ac_ext <<_ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 #include <windows.h>
27524 typedef boolean ac__type_new_;
27528 if ((ac__type_new_ *) 0)
27530 if (sizeof (ac__type_new_))
27536 rm -f conftest.$ac_objext
27537 if { (ac_try="$ac_compile"
27538 case "(($ac_try" in
27539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27540 *) ac_try_echo
=$ac_try;;
27542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27543 (eval "$ac_compile") 2>conftest.er1
27545 grep -v '^ *+' conftest.er1
>conftest.err
27547 cat conftest.err
>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } && {
27550 test -z "$ac_c_werror_flag" ||
27551 test ! -s conftest.err
27552 } && test -s conftest.
$ac_objext; then
27553 ac_cv_type_boolean
=yes
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.
$ac_ext >&5
27558 ac_cv_type_boolean
=no
27561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27563 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27564 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27565 if test $ac_cv_type_boolean = yes; then
27567 cat >>confdefs.h
<<_ACEOF
27568 #define HAVE_BOOLEAN 1
27572 { echo "$as_me:$LINENO: checking for boolean" >&5
27573 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27574 if test "${ac_cv_type_boolean+set}" = set; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 cat >conftest.
$ac_ext <<_ACEOF
27580 cat confdefs.h
>>conftest.
$ac_ext
27581 cat >>conftest.
$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27584 #undef HAVE_BOOLEAN
27586 #include <jpeglib.h>
27589 typedef boolean ac__type_new_;
27593 if ((ac__type_new_ *) 0)
27595 if (sizeof (ac__type_new_))
27601 rm -f conftest.
$ac_objext
27602 if { (ac_try
="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27610 grep -v '^ *+' conftest.er1 >conftest.err
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_c_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 ac_cv_type_boolean=yes
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27623 ac_cv_type_boolean=no
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27629 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27631 # The cast to long int works around a bug in the HP C Compiler
27632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27633 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27634 # This bug is HP SR number 8606223364.
27635 { echo "$as_me:$LINENO: checking size of boolean" >&5
27636 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27637 if test "${ac_cv_sizeof_boolean+set}" = set; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 if test "$cross_compiling" = yes; then
27641 # Depending upon the size, compute the lo and hi bounds.
27642 cat >conftest.$ac_ext <<_ACEOF
27645 cat confdefs.h >>conftest.$ac_ext
27646 cat >>conftest.$ac_ext <<_ACEOF
27647 /* end confdefs.h. */
27649 #undef HAVE_BOOLEAN
27651 #include <jpeglib.h>
27654 typedef boolean ac__type_sizeof_;
27658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27665 rm -f conftest.$ac_objext
27666 if { (ac_try="$ac_compile"
27667 case "(($ac_try" in
27668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27669 *) ac_try_echo=$ac_try;;
27671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27672 (eval "$ac_compile") 2>conftest.er1
27674 grep -v '^
*+' conftest.er1 >conftest.err
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } && {
27679 test -z "$ac_c_werror_flag" ||
27680 test ! -s conftest.err
27681 } && test -s conftest.$ac_objext; then
27684 cat >conftest.$ac_ext <<_ACEOF
27687 cat confdefs.h >>conftest.$ac_ext
27688 cat >>conftest.$ac_ext <<_ACEOF
27689 /* end confdefs.h. */
27691 #undef HAVE_BOOLEAN
27693 #include <jpeglib.h>
27696 typedef boolean ac__type_sizeof_;
27700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27707 rm -f conftest.$ac_objext
27708 if { (ac_try="$ac_compile"
27709 case "(($ac_try" in
27710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27711 *) ac_try_echo=$ac_try;;
27713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27714 (eval "$ac_compile") 2>conftest.er1
27716 grep -v '^
*+' conftest.er1 >conftest.err
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } && {
27721 test -z "$ac_c_werror_flag" ||
27722 test ! -s conftest.err
27723 } && test -s conftest.$ac_objext; then
27724 ac_hi=$ac_mid; break
27726 echo "$as_me: failed program was:" >&5
27727 sed 's
/^
/| /' conftest.$ac_ext >&5
27729 ac_lo=`expr $ac_mid + 1`
27730 if test $ac_lo -le $ac_mid; then
27734 ac_mid=`expr 2 '*' $ac_mid + 1`
27737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 echo "$as_me: failed program was:" >&5
27741 sed 's
/^
/| /' conftest.$ac_ext >&5
27743 cat >conftest.$ac_ext <<_ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27750 #undef HAVE_BOOLEAN
27752 #include <jpeglib.h>
27755 typedef boolean ac__type_sizeof_;
27759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27766 rm -f conftest.$ac_objext
27767 if { (ac_try="$ac_compile"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_compile") 2>conftest.er1
27775 grep -v '^
*+' conftest.er1 >conftest.err
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } && {
27780 test -z "$ac_c_werror_flag" ||
27781 test ! -s conftest.err
27782 } && test -s conftest.$ac_objext; then
27785 cat >conftest.$ac_ext <<_ACEOF
27788 cat confdefs.h >>conftest.$ac_ext
27789 cat >>conftest.$ac_ext <<_ACEOF
27790 /* end confdefs.h. */
27792 #undef HAVE_BOOLEAN
27794 #include <jpeglib.h>
27797 typedef boolean ac__type_sizeof_;
27801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27808 rm -f conftest.$ac_objext
27809 if { (ac_try="$ac_compile"
27810 case "(($ac_try" in
27811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27812 *) ac_try_echo=$ac_try;;
27814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27815 (eval "$ac_compile") 2>conftest.er1
27817 grep -v '^
*+' conftest.er1 >conftest.err
27819 cat conftest.err >&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); } && {
27822 test -z "$ac_c_werror_flag" ||
27823 test ! -s conftest.err
27824 } && test -s conftest.$ac_objext; then
27825 ac_lo=$ac_mid; break
27827 echo "$as_me: failed program was:" >&5
27828 sed 's
/^
/| /' conftest.$ac_ext >&5
27830 ac_hi=`expr '(' $ac_mid ')' - 1`
27831 if test $ac_mid -le $ac_hi; then
27835 ac_mid=`expr 2 '*' $ac_mid`
27838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 echo "$as_me: failed program was:" >&5
27842 sed 's
/^
/| /' conftest.$ac_ext >&5
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27851 # Binary search between lo and hi bounds.
27852 while test "x$ac_lo" != "x$ac_hi"; do
27853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27854 cat >conftest.$ac_ext <<_ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h. */
27861 #undef HAVE_BOOLEAN
27863 #include <jpeglib.h>
27866 typedef boolean ac__type_sizeof_;
27870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27877 rm -f conftest.$ac_objext
27878 if { (ac_try="$ac_compile"
27879 case "(($ac_try" in
27880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27881 *) ac_try_echo=$ac_try;;
27883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27884 (eval "$ac_compile") 2>conftest.er1
27886 grep -v '^
*+' conftest.er1 >conftest.err
27888 cat conftest.err >&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } && {
27891 test -z "$ac_c_werror_flag" ||
27892 test ! -s conftest.err
27893 } && test -s conftest.$ac_objext; then
27896 echo "$as_me: failed program was:" >&5
27897 sed 's
/^
/| /' conftest.$ac_ext >&5
27899 ac_lo=`expr '(' $ac_mid ')' + 1`
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27906 '') if test "$ac_cv_type_boolean" = yes; then
27907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27908 See \`config.log' for more details.
" >&5
27909 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27910 See \
`config.log' for more details." >&2;}
27911 { (exit 77); exit 77; }; }
27913 ac_cv_sizeof_boolean=0
27917 cat >conftest.$ac_ext <<_ACEOF
27920 cat confdefs.h >>conftest.$ac_ext
27921 cat >>conftest.$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27924 #undef HAVE_BOOLEAN
27926 #include <jpeglib.h>
27929 typedef boolean ac__type_sizeof_;
27930 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27931 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27933 #include <stdlib.h>
27938 FILE *f = fopen ("conftest.val", "w");
27941 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27943 long int i = longval ();
27944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27946 fprintf (f, "%ld\n", i);
27950 unsigned long int i = ulongval ();
27951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27953 fprintf (f, "%lu\n", i);
27955 return ferror (f) || fclose (f) != 0;
27961 rm -f conftest$ac_exeext
27962 if { (ac_try="$ac_link"
27963 case "(($ac_try" in
27964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27965 *) ac_try_echo
=$ac_try;;
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_link") 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27972 { (case "(($ac_try" in
27973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_try") 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 ac_cv_sizeof_boolean=`cat conftest.val
`
27983 echo "$as_me: program exited with status $ac_status" >&5
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27987 ( exit $ac_status )
27988 if test "$ac_cv_type_boolean" = yes; then
27989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27990 See \`config.log
' for more details." >&5
27991 echo "$as_me: error: cannot compute sizeof (boolean)
27992 See \`config.log' for more details.
" >&2;}
27993 { (exit 77); exit 77; }; }
27995 ac_cv_sizeof_boolean=0
27998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28002 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28003 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28007 cat >>confdefs.h <<_ACEOF
28008 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28012 cat >>confdefs.h <<_ACEOF
28013 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28027 TIFF_PREREQ_LINKS=-lm
28028 if test "$wxUSE_LIBTIFF" != "no
" ; then
28029 cat >>confdefs.h <<\_ACEOF
28030 #define wxUSE_LIBTIFF 1
28034 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28035 if test "$wxUSE_LIBJPEG" = "sys
"; then
28036 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28038 if test "$wxUSE_ZLIB" = "sys
"; then
28039 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28041 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28042 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28043 if test "${ac_cv_header_tiffio_h+set}" = set; then
28044 echo $ECHO_N "(cached
) $ECHO_C" >&6
28046 cat >conftest.$ac_ext <<_ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28055 #include <tiffio.h>
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28066 grep -v '^ *+' conftest.er1 >conftest.err
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 ac_cv_header_tiffio_h=yes
28076 echo "$as_me: failed program was
:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 ac_cv_header_tiffio_h=no
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28084 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28085 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28086 if test $ac_cv_header_tiffio_h = yes; then
28088 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28089 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28091 echo $ECHO_N "(cached
) $ECHO_C" >&6
28093 ac_check_lib_save_LIBS=$LIBS
28094 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28095 cat >conftest.$ac_ext <<_ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28102 /* Override any GCC internal prototype to avoid an error.
28103 Use char because int might match the return type of a GCC
28104 builtin and then its argument prototype would still apply. */
28112 return TIFFError ();
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (ac_try="$ac_link"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_link") 2>conftest.er1
28126 grep -v '^ *+' conftest.er1 >conftest.err
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest$ac_exeext &&
28134 $as_test_x conftest$ac_exeext; then
28135 ac_cv_lib_tiff_TIFFError=yes
28137 echo "$as_me: failed program was
:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28140 ac_cv_lib_tiff_TIFFError=no
28143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28144 conftest$ac_exeext conftest.$ac_ext
28145 LIBS=$ac_check_lib_save_LIBS
28147 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28148 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28149 if test $ac_cv_lib_tiff_TIFFError = yes; then
28150 TIFF_LINK=" -ltiff"
28158 if test "x
$TIFF_LINK" = "x
" ; then
28159 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28160 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28161 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28162 { (exit 1); exit 1; }; }
28164 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28165 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28166 wxUSE_LIBTIFF=builtin
28172 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28173 if test "$wxUSE_LIBJPEG" = "no
"; then
28174 ac_configure_args="$ac_configure_args --disable-jpeg"
28176 subdirs="$subdirs src
/tiff
"
28182 if test "$wxUSE_WCHAR_T" != "yes"; then
28183 if test "$wxUSE_EXPAT" != "no
"; then
28184 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28185 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28188 if test "$wxUSE_XML" != "no
"; then
28189 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28190 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28195 if test "$wxUSE_EXPAT" != "no
"; then
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_EXPAT 1
28201 cat >>confdefs.h <<\_ACEOF
28202 #define wxUSE_XML 1
28206 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28207 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28208 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28209 if test "${ac_cv_header_expat_h+set}" = set; then
28210 echo $ECHO_N "(cached
) $ECHO_C" >&6
28212 cat >conftest.$ac_ext <<_ACEOF
28215 cat confdefs.h >>conftest.$ac_ext
28216 cat >>conftest.$ac_ext <<_ACEOF
28217 /* end confdefs.h. */
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28231 grep -v '^ *+' conftest.er1 >conftest.err
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 ac_cv_header_expat_h=yes
28241 echo "$as_me: failed program was
:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 ac_cv_header_expat_h=no
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28249 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28250 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28251 if test $ac_cv_header_expat_h = yes; then
28256 if test "x
$found_expat_h" = "x1
"; then
28257 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28258 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28259 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28260 echo $ECHO_N "(cached
) $ECHO_C" >&6
28264 ac_cpp='$CXXCPP $CPPFLAGS'
28265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269 cat >conftest.$ac_ext <<_ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28293 grep -v '^ *+' conftest.er1 >conftest.err
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_cxx_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 wx_cv_expat_is_not_broken=yes
28303 echo "$as_me: failed program was
:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28306 wx_cv_expat_is_not_broken=no
28310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28312 ac_cpp='$CPP $CPPFLAGS'
28313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28320 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28321 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28322 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28323 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28324 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28325 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28326 echo $ECHO_N "(cached
) $ECHO_C" >&6
28328 ac_check_lib_save_LIBS=$LIBS
28329 LIBS="-lexpat $LIBS"
28330 cat >conftest.$ac_ext <<_ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28337 /* Override any GCC internal prototype to avoid an error.
28338 Use char because int might match the return type of a GCC
28339 builtin and then its argument prototype would still apply. */
28343 char XML_ParserCreate ();
28347 return XML_ParserCreate ();
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (ac_try="$ac_link"
28354 case "(($ac_try" in
28355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28356 *) ac_try_echo=$ac_try;;
28358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28359 (eval "$ac_link") 2>conftest.er1
28361 grep -v '^ *+' conftest.er1 >conftest.err
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28365 (exit $ac_status); } && {
28366 test -z "$ac_c_werror_flag" ||
28367 test ! -s conftest.err
28368 } && test -s conftest$ac_exeext &&
28369 $as_test_x conftest$ac_exeext; then
28370 ac_cv_lib_expat_XML_ParserCreate=yes
28372 echo "$as_me: failed program was
:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28375 ac_cv_lib_expat_XML_ParserCreate=no
28378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28379 conftest$ac_exeext conftest.$ac_ext
28380 LIBS=$ac_check_lib_save_LIBS
28382 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28383 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28384 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28385 EXPAT_LINK=" -lexpat"
28390 if test "x
$EXPAT_LINK" = "x
" ; then
28391 if test "$wxUSE_EXPAT" = "sys
" ; then
28392 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28393 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28394 { (exit 1); exit 1; }; }
28396 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28397 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28398 wxUSE_EXPAT=builtin
28404 if test "$wxUSE_EXPAT" = "builtin" ; then
28405 subdirs="$subdirs src
/expat
"
28412 if test "$wxUSE_LIBMSPACK" != "no
"; then
28413 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28414 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28415 if test "${ac_cv_header_mspack_h+set}" = set; then
28416 echo $ECHO_N "(cached
) $ECHO_C" >&6
28418 cat >conftest.$ac_ext <<_ACEOF
28421 cat confdefs.h >>conftest.$ac_ext
28422 cat >>conftest.$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28426 #include <mspack.h>
28428 rm -f conftest.$ac_objext
28429 if { (ac_try="$ac_compile"
28430 case "(($ac_try" in
28431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28432 *) ac_try_echo=$ac_try;;
28434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28435 (eval "$ac_compile") 2>conftest.er1
28437 grep -v '^ *+' conftest.er1 >conftest.err
28439 cat conftest.err >&5
28440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28441 (exit $ac_status); } && {
28442 test -z "$ac_c_werror_flag" ||
28443 test ! -s conftest.err
28444 } && test -s conftest.$ac_objext; then
28445 ac_cv_header_mspack_h=yes
28447 echo "$as_me: failed program was
:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28450 ac_cv_header_mspack_h=no
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28455 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28456 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28457 if test $ac_cv_header_mspack_h = yes; then
28462 if test "x
$found_mspack_h" = "x1
"; then
28463 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28464 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28465 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28466 echo $ECHO_N "(cached
) $ECHO_C" >&6
28468 ac_check_lib_save_LIBS=$LIBS
28469 LIBS="-lmspack $LIBS"
28470 cat >conftest.$ac_ext <<_ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28477 /* Override any GCC internal prototype to avoid an error.
28478 Use char because int might match the return type of a GCC
28479 builtin and then its argument prototype would still apply. */
28483 char mspack_create_chm_decompressor ();
28487 return mspack_create_chm_decompressor ();
28492 rm -f conftest.$ac_objext conftest$ac_exeext
28493 if { (ac_try="$ac_link"
28494 case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_link") 2>conftest.er1
28501 grep -v '^ *+' conftest.er1 >conftest.err
28503 cat conftest.err >&5
28504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28505 (exit $ac_status); } && {
28506 test -z "$ac_c_werror_flag" ||
28507 test ! -s conftest.err
28508 } && test -s conftest$ac_exeext &&
28509 $as_test_x conftest$ac_exeext; then
28510 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28512 echo "$as_me: failed program was
:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28515 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28519 conftest$ac_exeext conftest.$ac_ext
28520 LIBS=$ac_check_lib_save_LIBS
28522 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28523 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28524 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28525 MSPACK_LINK=" -lmspack"
28529 if test "x
$MSPACK_LINK" = "x
" ; then
28534 if test "$wxUSE_LIBMSPACK" != "no
"; then
28535 cat >>confdefs.h <<\_ACEOF
28536 #define wxUSE_LIBMSPACK 1
28550 if test "$USE_WIN32" = 1 ; then
28552 for ac_header in w32api.h
28554 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28555 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28556 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28557 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28558 echo $ECHO_N "(cached
) $ECHO_C" >&6
28560 cat >conftest.$ac_ext <<_ACEOF
28563 cat confdefs.h >>conftest.$ac_ext
28564 cat >>conftest.$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28568 #include <$ac_header>
28570 rm -f conftest.$ac_objext
28571 if { (ac_try="$ac_compile"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_compile") 2>conftest.er1
28579 grep -v '^ *+' conftest.er1 >conftest.err
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest.$ac_objext; then
28587 eval "$as_ac_Header=yes"
28589 echo "$as_me: failed program was
:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28592 eval "$as_ac_Header=no
"
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 ac_res=`eval echo '${'$as_ac_Header'}'`
28598 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28599 echo "${ECHO_T}$ac_res" >&6; }
28600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28601 cat >>confdefs.h <<_ACEOF
28602 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28609 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28610 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28611 if test "${ac_cv_header_windows_h+set}" = set; then
28612 echo $ECHO_N "(cached
) $ECHO_C" >&6
28614 cat >conftest.$ac_ext <<_ACEOF
28617 cat confdefs.h >>conftest.$ac_ext
28618 cat >>conftest.$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28622 #include <windows.h>
28624 rm -f conftest.$ac_objext
28625 if { (ac_try="$ac_compile"
28626 case "(($ac_try" in
28627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28628 *) ac_try_echo=$ac_try;;
28630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28631 (eval "$ac_compile") 2>conftest.er1
28633 grep -v '^ *+' conftest.er1 >conftest.err
28635 cat conftest.err >&5
28636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28637 (exit $ac_status); } && {
28638 test -z "$ac_c_werror_flag" ||
28639 test ! -s conftest.err
28640 } && test -s conftest.$ac_objext; then
28641 ac_cv_header_windows_h=yes
28643 echo "$as_me: failed program was
:" >&5
28644 sed 's/^/| /' conftest.$ac_ext >&5
28646 ac_cv_header_windows_h=no
28649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28651 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28652 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28653 if test $ac_cv_header_windows_h = yes; then
28657 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28658 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28659 { (exit 1); exit 1; }; }
28666 x86_64-*-mingw32* )
28667 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28669 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28672 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28675 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28676 LIBS="$LIBS -loleacc"
28681 LIBS="$LIBS -lkernel32 -luser32"
28684 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28685 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28687 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28689 WIN32INSTALL=win32install
28691 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28692 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28693 if test "${ac_cv_header_pbt_h+set}" = set; then
28694 echo $ECHO_N "(cached
) $ECHO_C" >&6
28696 cat >conftest.$ac_ext <<_ACEOF
28699 cat confdefs.h >>conftest.$ac_ext
28700 cat >>conftest.$ac_ext <<_ACEOF
28701 /* end confdefs.h. */
28706 rm -f conftest.$ac_objext
28707 if { (ac_try="$ac_compile"
28708 case "(($ac_try" in
28709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28710 *) ac_try_echo=$ac_try;;
28712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28713 (eval "$ac_compile") 2>conftest.er1
28715 grep -v '^ *+' conftest.er1 >conftest.err
28717 cat conftest.err >&5
28718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28719 (exit $ac_status); } && {
28720 test -z "$ac_c_werror_flag" ||
28721 test ! -s conftest.err
28722 } && test -s conftest.$ac_objext; then
28723 ac_cv_header_pbt_h=yes
28725 echo "$as_me: failed program was
:" >&5
28726 sed 's/^/| /' conftest.$ac_ext >&5
28728 ac_cv_header_pbt_h=no
28731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28733 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28734 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28735 if test $ac_cv_header_pbt_h = yes; then
28738 cat >>confdefs.h <<\_ACEOF
28739 #define NEED_PBT_H 1
28747 if test "$wxUSE_GUI" = "yes"; then
28757 if test "$wxUSE_OLD_COCOA" = 1 ; then
28758 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28759 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28760 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28761 wxUSE_PRINTING_ARCHITECTURE=no
28763 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28764 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28765 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28766 wxUSE_DRAG_AND_DROP=no
28768 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28769 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28770 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28775 if test "$wxUSE_MSW" = 1 ; then
28781 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28785 if test "$wxUSE_GTK" = 1; then
28786 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28787 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28789 gtk_version_cached=1
28790 if test "${wx_cv_lib_gtk+set}" = set; then
28791 echo $ECHO_N "(cached
) $ECHO_C" >&6
28794 gtk_version_cached=0
28795 { echo "$as_me:$LINENO: result
: " >&5
28796 echo "${ECHO_T}" >&6; }
28799 if test "$wxUSE_THREADS" = "yes"; then
28800 GTK_MODULES=gthread
28804 if test "x
$wxGTK_VERSION" != "x1
"
28808 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28813 # Check whether --enable-gtktest was given.
28814 if test "${enable_gtktest+set}" = set; then
28815 enableval=$enable_gtktest;
28821 pkg_config_args=gtk+-2.0
28822 for module in . $GTK_MODULES
28826 pkg_config_args="$pkg_config_args gthread
-2.0
"
28833 # Extract the first word of "pkg
-config", so it can be a program name with args.
28834 set dummy pkg-config; ac_word=$2
28835 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28837 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28838 echo $ECHO_N "(cached
) $ECHO_C" >&6
28840 case $PKG_CONFIG in
28842 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28846 for as_dir in $PATH
28849 test -z "$as_dir" && as_dir=.
28850 for ac_exec_ext in '' $ac_executable_extensions; do
28851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28852 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28853 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28860 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28865 if test -n "$PKG_CONFIG"; then
28866 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28869 { echo "$as_me:$LINENO: result
: no
" >&5
28870 echo "${ECHO_T}no
" >&6; }
28875 if test x$PKG_CONFIG != xno ; then
28876 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28879 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28887 min_gtk_version=2.4.0
28888 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28889 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28891 if test x$PKG_CONFIG != xno ; then
28892 ## don't try to run the test against uninstalled libtool libs
28893 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28894 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28898 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28905 if test x"$no_gtk" = x ; then
28906 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28907 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28908 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28910 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28912 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28914 if test "x
$enable_gtktest" = "xyes
" ; then
28915 ac_save_CFLAGS="$CFLAGS"
28916 ac_save_LIBS="$LIBS"
28917 CFLAGS="$CFLAGS $GTK_CFLAGS"
28918 LIBS="$GTK_LIBS $LIBS"
28920 if test "$cross_compiling" = yes; then
28921 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28923 cat >conftest.$ac_ext <<_ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h. */
28930 #include <gtk/gtk.h>
28932 #include <stdlib.h>
28937 int major, minor, micro;
28940 system ("touch conf.gtktest
");
28942 /* HP/UX 9 (%@#!) writes to sscanf strings */
28943 tmp_version = g_strdup("$min_gtk_version");
28944 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28945 printf("%s
, bad version string
\n", "$min_gtk_version");
28949 if ((gtk_major_version != $gtk_config_major_version) ||
28950 (gtk_minor_version != $gtk_config_minor_version) ||
28951 (gtk_micro_version != $gtk_config_micro_version))
28953 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28954 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28955 gtk_major_version, gtk_minor_version, gtk_micro_version);
28956 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28957 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28958 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28959 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28960 printf("*** required on your system.
\n");
28961 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28962 printf("*** to point to the correct configuration files
\n");
28964 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28965 (gtk_minor_version != GTK_MINOR_VERSION) ||
28966 (gtk_micro_version != GTK_MICRO_VERSION))
28968 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28969 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28970 printf("*** library
(version
%d.
%d.
%d
)\n",
28971 gtk_major_version, gtk_minor_version, gtk_micro_version);
28975 if ((gtk_major_version > major) ||
28976 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28977 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28983 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28984 gtk_major_version, gtk_minor_version, gtk_micro_version);
28985 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28986 major, minor, micro);
28987 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28989 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28990 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28991 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28992 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28993 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28994 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28995 printf("*** so that the correct libraries are found
at run
-time))\n");
29002 rm -f conftest$ac_exeext
29003 if { (ac_try="$ac_link"
29004 case "(($ac_try" in
29005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29006 *) ac_try_echo=$ac_try;;
29008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_link") 2>&5
29011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29013 { (case "(($ac_try" in
29014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29015 *) ac_try_echo=$ac_try;;
29017 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29018 (eval "$ac_try") 2>&5
29020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29021 (exit $ac_status); }; }; then
29024 echo "$as_me: program exited with status
$ac_status" >&5
29025 echo "$as_me: failed program was
:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29028 ( exit $ac_status )
29031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29035 CFLAGS="$ac_save_CFLAGS"
29036 LIBS="$ac_save_LIBS"
29039 if test "x
$no_gtk" = x ; then
29040 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29041 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29044 { echo "$as_me:$LINENO: result
: no
" >&5
29045 echo "${ECHO_T}no
" >&6; }
29046 if test "$PKG_CONFIG" = "no
" ; then
29047 echo "*** A new enough version of pkg
-config was not found.
"
29048 echo "*** See http
://pkgconfig.sourceforge.net
"
29050 if test -f conf.gtktest ; then
29053 echo "*** Could not run GTK
+ test program
, checking why...
"
29054 ac_save_CFLAGS="$CFLAGS"
29055 ac_save_LIBS="$LIBS"
29056 CFLAGS="$CFLAGS $GTK_CFLAGS"
29057 LIBS="$LIBS $GTK_LIBS"
29058 cat >conftest.$ac_ext <<_ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29065 #include <gtk/gtk.h>
29071 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29076 rm -f conftest.$ac_objext conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29080 *) ac_try_echo=$ac_try;;
29082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>conftest.er1
29085 grep -v '^ *+' conftest.er1 >conftest.err
29087 cat conftest.err >&5
29088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29089 (exit $ac_status); } && {
29090 test -z "$ac_c_werror_flag" ||
29091 test ! -s conftest.err
29092 } && test -s conftest$ac_exeext &&
29093 $as_test_x conftest$ac_exeext; then
29094 echo "*** The
test program compiled
, but did not run. This usually means
"
29095 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29096 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29099 echo "*** is required on your system"
29101 echo "*** If you have an old version installed, it is best to remove it, although"
29102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29104 echo "$as_me: failed program was:" >&5
29105 sed 's
/^
/| /' conftest.$ac_ext >&5
29107 echo "*** The test program failed to compile or link. See the file config.log for the"
29108 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29112 conftest$ac_exeext conftest.$ac_ext
29113 CFLAGS="$ac_save_CFLAGS"
29114 LIBS="$ac_save_LIBS"
29128 if test "$wxUSE_SHARED" != "yes"; then
29129 GTK_LIBS="$GTK_LIBS -lX11"
29134 if test -z "$wx_cv_lib_gtk"; then
29135 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29137 # Check whether --with-gtk-prefix was given.
29138 if test "${with_gtk_prefix+set}" = set; then
29139 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29141 gtk_config_prefix=""
29145 # Check whether --with-gtk-exec-prefix was given.
29146 if test "${with_gtk_exec_prefix+set}" = set; then
29147 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29149 gtk_config_exec_prefix=""
29152 # Check whether --enable-gtktest was given.
29153 if test "${enable_gtktest+set}" = set; then
29154 enableval=$enable_gtktest;
29160 for module in . $GTK_MODULES
29164 gtk_config_args="$gtk_config_args gthread"
29169 if test x$gtk_config_exec_prefix != x ; then
29170 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29171 if test x${GTK_CONFIG+set} != xset ; then
29172 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29175 if test x$gtk_config_prefix != x ; then
29176 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29177 if test x${GTK_CONFIG+set} != xset ; then
29178 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29182 # Extract the first word of "gtk-config", so it can be a program name with args.
29183 set dummy gtk-config; ac_word=$2
29184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29186 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 case $GTK_CONFIG in
29191 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29195 for as_dir in $PATH
29198 test -z "$as_dir" && as_dir=.
29199 for ac_exec_ext in '' $ac_executable_extensions; do
29200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29201 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29209 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29213 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29214 if test -n "$GTK_CONFIG"; then
29215 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29216 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29218 { echo "$as_me:$LINENO: result: no" >&5
29219 echo "${ECHO_T}no" >&6; }
29223 min_gtk_version=1.2.7
29224 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29225 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29227 if test "$GTK_CONFIG" = "no" ; then
29230 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29231 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29232 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29233 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29234 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29235 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29236 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29237 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29238 if test "x$enable_gtktest" = "xyes" ; then
29239 ac_save_CFLAGS="$CFLAGS"
29240 ac_save_LIBS="$LIBS"
29241 CFLAGS="$CFLAGS $GTK_CFLAGS"
29242 LIBS="$GTK_LIBS $LIBS"
29244 if test "$cross_compiling" = yes; then
29245 echo $ac_n "cross compiling; assumed OK... $ac_c"
29247 cat >conftest.$ac_ext <<_ACEOF
29250 cat confdefs.h >>conftest.$ac_ext
29251 cat >>conftest.$ac_ext <<_ACEOF
29252 /* end confdefs.h. */
29254 #include <gtk/gtk.h>
29256 #include <stdlib.h>
29261 int major, minor, micro;
29264 system ("touch conf.gtktest");
29266 /* HP/UX 9 (%@#!) writes to sscanf strings */
29267 tmp_version = g_strdup("$min_gtk_version");
29268 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29269 printf("%s, bad version string\n", "$min_gtk_version");
29273 if ((gtk_major_version != $gtk_config_major_version) ||
29274 (gtk_minor_version != $gtk_config_minor_version) ||
29275 (gtk_micro_version != $gtk_config_micro_version))
29277 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29278 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29279 gtk_major_version, gtk_minor_version, gtk_micro_version);
29280 printf ("*** was found! If gtk-config was correct, then it is best\n");
29281 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29282 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29283 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29284 printf("*** required on your system.\n");
29285 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29286 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29287 printf("*** before re-running configure\n");
29289 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29290 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29291 (gtk_minor_version != GTK_MINOR_VERSION) ||
29292 (gtk_micro_version != GTK_MICRO_VERSION))
29294 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29295 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29296 printf("*** library (version %d.%d.%d)\n",
29297 gtk_major_version, gtk_minor_version, gtk_micro_version);
29299 #endif /* defined (GTK_MAJOR_VERSION) ... */
29302 if ((gtk_major_version > major) ||
29303 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29304 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29310 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29311 gtk_major_version, gtk_minor_version, gtk_micro_version);
29312 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29313 major, minor, micro);
29314 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29316 printf("*** If you have already installed a sufficiently new version, this error\n");
29317 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29318 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29319 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29320 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29321 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29322 printf("*** so that the correct libraries are found at run-time))\n");
29329 rm -f conftest$ac_exeext
29330 if { (ac_try="$ac_link"
29331 case "(($ac_try" in
29332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29333 *) ac_try_echo=$ac_try;;
29335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29336 (eval "$ac_link") 2>&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29340 { (case "(($ac_try" in
29341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29342 *) ac_try_echo=$ac_try;;
29344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29345 (eval "$ac_try") 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; }; then
29351 echo "$as_me: program exited with status $ac_status" >&5
29352 echo "$as_me: failed program was:" >&5
29353 sed 's
/^
/| /' conftest.$ac_ext >&5
29355 ( exit $ac_status )
29358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29362 CFLAGS="$ac_save_CFLAGS"
29363 LIBS="$ac_save_LIBS"
29366 if test "x$no_gtk" = x ; then
29367 { echo "$as_me:$LINENO: result: yes" >&5
29368 echo "${ECHO_T}yes" >&6; }
29369 wx_cv_lib_gtk=1.2.7
29371 { echo "$as_me:$LINENO: result: no" >&5
29372 echo "${ECHO_T}no" >&6; }
29373 if test "$GTK_CONFIG" = "no" ; then
29374 echo "*** The gtk-config script installed by GTK could not be found"
29375 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29376 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29377 echo "*** full path to gtk-config."
29379 if test -f conf.gtktest ; then
29382 echo "*** Could not run GTK test program, checking why..."
29383 CFLAGS="$CFLAGS $GTK_CFLAGS"
29384 LIBS="$LIBS $GTK_LIBS"
29385 cat >conftest.$ac_ext <<_ACEOF
29388 cat confdefs.h >>conftest.$ac_ext
29389 cat >>conftest.$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29392 #include <gtk/gtk.h>
29398 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (ac_try="$ac_link"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_link") 2>conftest.er1
29412 grep -v '^
*+' conftest.er1 >conftest.err
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); } && {
29417 test -z "$ac_c_werror_flag" ||
29418 test ! -s conftest.err
29419 } && test -s conftest$ac_exeext &&
29420 $as_test_x conftest$ac_exeext; then
29421 echo "*** The test program compiled, but did not run. This usually means"
29422 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29423 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29424 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29425 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29426 echo "*** is required on your system
"
29428 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29429 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29431 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29432 echo "*** came with the system with the
command"
29434 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29436 echo "$as_me: failed program was
:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29439 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29440 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29441 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29442 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29446 conftest$ac_exeext conftest.$ac_ext
29447 CFLAGS="$ac_save_CFLAGS"
29448 LIBS="$ac_save_LIBS"
29460 if test -z "$wx_cv_lib_gtk"; then
29462 # Check whether --with-gtk-prefix was given.
29463 if test "${with_gtk_prefix+set}" = set; then
29464 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29466 gtk_config_prefix=""
29470 # Check whether --with-gtk-exec-prefix was given.
29471 if test "${with_gtk_exec_prefix+set}" = set; then
29472 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29474 gtk_config_exec_prefix=""
29477 # Check whether --enable-gtktest was given.
29478 if test "${enable_gtktest+set}" = set; then
29479 enableval=$enable_gtktest;
29485 for module in . $GTK_MODULES
29489 gtk_config_args="$gtk_config_args gthread
"
29494 if test x$gtk_config_exec_prefix != x ; then
29495 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29496 if test x${GTK_CONFIG+set} != xset ; then
29497 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29500 if test x$gtk_config_prefix != x ; then
29501 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29502 if test x${GTK_CONFIG+set} != xset ; then
29503 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29507 # Extract the first word of "gtk
-config", so it can be a program name with args.
29508 set dummy gtk-config; ac_word=$2
29509 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29510 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29511 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29512 echo $ECHO_N "(cached
) $ECHO_C" >&6
29514 case $GTK_CONFIG in
29516 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29520 for as_dir in $PATH
29523 test -z "$as_dir" && as_dir=.
29524 for ac_exec_ext in '' $ac_executable_extensions; do
29525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29526 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29527 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29534 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29538 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29539 if test -n "$GTK_CONFIG"; then
29540 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29541 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29543 { echo "$as_me:$LINENO: result
: no
" >&5
29544 echo "${ECHO_T}no
" >&6; }
29548 min_gtk_version=1.2.3
29549 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29550 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29552 if test "$GTK_CONFIG" = "no
" ; then
29555 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29556 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29557 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29559 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29561 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29563 if test "x
$enable_gtktest" = "xyes
" ; then
29564 ac_save_CFLAGS="$CFLAGS"
29565 ac_save_LIBS="$LIBS"
29566 CFLAGS="$CFLAGS $GTK_CFLAGS"
29567 LIBS="$GTK_LIBS $LIBS"
29569 if test "$cross_compiling" = yes; then
29570 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29572 cat >conftest.$ac_ext <<_ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29579 #include <gtk/gtk.h>
29581 #include <stdlib.h>
29586 int major, minor, micro;
29589 system ("touch conf.gtktest
");
29591 /* HP/UX 9 (%@#!) writes to sscanf strings */
29592 tmp_version = g_strdup("$min_gtk_version");
29593 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29594 printf("%s
, bad version string
\n", "$min_gtk_version");
29598 if ((gtk_major_version != $gtk_config_major_version) ||
29599 (gtk_minor_version != $gtk_config_minor_version) ||
29600 (gtk_micro_version != $gtk_config_micro_version))
29602 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29603 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29604 gtk_major_version, gtk_minor_version, gtk_micro_version);
29605 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29606 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29607 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29608 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29609 printf("*** required on your system.
\n");
29610 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29611 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29612 printf("*** before re
-running configure
\n");
29614 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29616 (gtk_minor_version != GTK_MINOR_VERSION) ||
29617 (gtk_micro_version != GTK_MICRO_VERSION))
29619 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29621 printf("*** library
(version
%d.
%d.
%d
)\n",
29622 gtk_major_version, gtk_minor_version, gtk_micro_version);
29624 #endif /* defined (GTK_MAJOR_VERSION) ... */
29627 if ((gtk_major_version > major) ||
29628 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29629 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29635 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29636 gtk_major_version, gtk_minor_version, gtk_micro_version);
29637 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29638 major, minor, micro);
29639 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29641 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29642 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29643 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29644 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29645 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29646 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29647 printf("*** so that the correct libraries are found
at run
-time))\n");
29654 rm -f conftest$ac_exeext
29655 if { (ac_try="$ac_link"
29656 case "(($ac_try" in
29657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29658 *) ac_try_echo=$ac_try;;
29660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29661 (eval "$ac_link") 2>&5
29663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29665 { (case "(($ac_try" in
29666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_try") 2>&5
29672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29673 (exit $ac_status); }; }; then
29676 echo "$as_me: program exited with status
$ac_status" >&5
29677 echo "$as_me: failed program was
:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29680 ( exit $ac_status )
29683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29687 CFLAGS="$ac_save_CFLAGS"
29688 LIBS="$ac_save_LIBS"
29691 if test "x
$no_gtk" = x ; then
29692 { echo "$as_me:$LINENO: result
: yes" >&5
29693 echo "${ECHO_T}yes" >&6; }
29694 wx_cv_lib_gtk=1.2.3
29696 { echo "$as_me:$LINENO: result
: no
" >&5
29697 echo "${ECHO_T}no
" >&6; }
29698 if test "$GTK_CONFIG" = "no
" ; then
29699 echo "*** The gtk
-config script installed by GTK could not be found
"
29700 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29701 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29702 echo "*** full path to gtk
-config.
"
29704 if test -f conf.gtktest ; then
29707 echo "*** Could not run GTK
test program
, checking why...
"
29708 CFLAGS="$CFLAGS $GTK_CFLAGS"
29709 LIBS="$LIBS $GTK_LIBS"
29710 cat >conftest.$ac_ext <<_ACEOF
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29717 #include <gtk/gtk.h>
29723 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (ac_try="$ac_link"
29730 case "(($ac_try" in
29731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_link") 2>conftest.er1
29737 grep -v '^ *+' conftest.er1 >conftest.err
29739 cat conftest.err >&5
29740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29741 (exit $ac_status); } && {
29742 test -z "$ac_c_werror_flag" ||
29743 test ! -s conftest.err
29744 } && test -s conftest$ac_exeext &&
29745 $as_test_x conftest$ac_exeext; then
29746 echo "*** The
test program compiled
, but did not run. This usually means
"
29747 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29748 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29749 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29750 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29751 echo "*** is required on your system"
29753 echo "*** If you have an old version installed, it is best to remove it, although"
29754 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29756 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29757 echo "*** came with the system with the command"
29759 echo "*** rpm --erase --nodeps gtk gtk-devel"
29761 echo "$as_me: failed program was:" >&5
29762 sed 's
/^
/| /' conftest.$ac_ext >&5
29764 echo "*** The test program failed to compile or link. See the file config.log for the"
29765 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29766 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29767 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29771 conftest$ac_exeext conftest.$ac_ext
29772 CFLAGS="$ac_save_CFLAGS"
29773 LIBS="$ac_save_LIBS"
29788 if test -z "$wx_cv_lib_gtk"; then
29791 wx_cv_cflags_gtk=$GTK_CFLAGS
29792 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29799 if test "$gtk_version_cached" = 1; then
29800 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29801 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29804 case "$wx_cv_lib_gtk" in
29813 *) { { echo "$as_me:$LINENO: error:
29814 The development files for GTK+ were not found. For GTK+ 2, please
29815 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29816 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29817 and that the version is 1.2.3 or above. Also check that the
29818 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29819 --libs' are in the LD_LIBRARY_PATH or equivalent.
29821 echo "$as_me: error:
29822 The development files for GTK+ were not found. For GTK+ 2, please
29823 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29824 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29825 and that the version is 1.2.3 or above. Also check that the
29826 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29827 --libs' are in the LD_LIBRARY_PATH or equivalent.
29829 { (exit 1); exit 1; }; }
29833 if test "$WXGTK2" = 1; then
29834 save_CFLAGS="$CFLAGS"
29836 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29837 LIBS="$LIBS $wx_cv_libs_gtk"
29839 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29840 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29841 cat >conftest.$ac_ext <<_ACEOF
29844 cat confdefs.h >>conftest.$ac_ext
29845 cat >>conftest.$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29848 #include <gtk/gtk.h>
29854 #if !GTK_CHECK_VERSION(2,18,0)
29862 rm -f conftest.$ac_objext
29863 if { (ac_try="$ac_compile"
29864 case "(($ac_try" in
29865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29866 *) ac_try_echo=$ac_try;;
29868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29869 (eval "$ac_compile") 2>conftest.er1
29871 grep -v '^
*+' conftest.er1 >conftest.err
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } && {
29876 test -z "$ac_c_werror_flag" ||
29877 test ! -s conftest.err
29878 } && test -s conftest.$ac_objext; then
29880 cat >>confdefs.h <<\_ACEOF
29881 #define __WXGTK218__ 1
29884 cat >>confdefs.h <<\_ACEOF
29885 #define __WXGTK210__ 1
29888 cat >>confdefs.h <<\_ACEOF
29889 #define __WXGTK26__ 1
29892 { echo "$as_me:$LINENO: result: yes" >&5
29893 echo "${ECHO_T}yes" >&6; }
29897 echo "$as_me: failed program was:" >&5
29898 sed 's
/^
/| /' conftest.$ac_ext >&5
29901 { echo "$as_me:$LINENO: result: no" >&5
29902 echo "${ECHO_T}no" >&6; }
29907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29909 if test "$ac_wxgtk218" = 0; then
29910 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29911 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29912 cat >conftest.$ac_ext <<_ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29919 #include <gtk/gtk.h>
29925 #if !GTK_CHECK_VERSION(2,10,0)
29933 rm -f conftest.$ac_objext
29934 if { (ac_try="$ac_compile"
29935 case "(($ac_try" in
29936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29937 *) ac_try_echo=$ac_try;;
29939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29940 (eval "$ac_compile") 2>conftest.er1
29942 grep -v '^
*+' conftest.er1 >conftest.err
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } && {
29947 test -z "$ac_c_werror_flag" ||
29948 test ! -s conftest.err
29949 } && test -s conftest.$ac_objext; then
29951 cat >>confdefs.h <<\_ACEOF
29952 #define __WXGTK210__ 1
29955 cat >>confdefs.h <<\_ACEOF
29956 #define __WXGTK26__ 1
29959 { echo "$as_me:$LINENO: result: yes" >&5
29960 echo "${ECHO_T}yes" >&6; }
29964 echo "$as_me: failed program was:" >&5
29965 sed 's
/^
/| /' conftest.$ac_ext >&5
29968 { echo "$as_me:$LINENO: result: no" >&5
29969 echo "${ECHO_T}no" >&6; }
29974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29976 if test "$ac_wxgtk210" = 0; then
29977 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29978 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29979 cat >conftest.$ac_ext <<_ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29986 #include <gtk/gtk.h>
29992 #if !GTK_CHECK_VERSION(2,6,0)
30000 rm -f conftest.$ac_objext
30001 if { (ac_try="$ac_compile"
30002 case "(($ac_try" in
30003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30004 *) ac_try_echo=$ac_try;;
30006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30007 (eval "$ac_compile") 2>conftest.er1
30009 grep -v '^
*+' conftest.er1 >conftest.err
30011 cat conftest.err >&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); } && {
30014 test -z "$ac_c_werror_flag" ||
30015 test ! -s conftest.err
30016 } && test -s conftest.$ac_objext; then
30018 cat >>confdefs.h <<\_ACEOF
30019 #define __WXGTK26__ 1
30022 { echo "$as_me:$LINENO: result: yes" >&5
30023 echo "${ECHO_T}yes" >&6; }
30027 echo "$as_me: failed program was:" >&5
30028 sed 's
/^
/| /' conftest.$ac_ext >&5
30031 { echo "$as_me:$LINENO: result: no" >&5
30032 echo "${ECHO_T}no" >&6; }
30037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30041 CFLAGS="$save_CFLAGS"
30044 if test "$wxUSE_UNICODE" = "yes"; then
30045 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30046 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30050 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30051 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30052 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30055 ac_check_lib_save_LIBS=$LIBS
30057 cat >conftest.$ac_ext <<_ACEOF
30060 cat confdefs.h >>conftest.$ac_ext
30061 cat >>conftest.$ac_ext <<_ACEOF
30062 /* end confdefs.h. */
30064 /* Override any GCC internal prototype to avoid an error.
30065 Use char because int might match the return type of a GCC
30066 builtin and then its argument prototype would still apply. */
30070 char gdk_im_open ();
30074 return gdk_im_open ();
30079 rm -f conftest.$ac_objext conftest$ac_exeext
30080 if { (ac_try="$ac_link"
30081 case "(($ac_try" in
30082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30083 *) ac_try_echo=$ac_try;;
30085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30086 (eval "$ac_link") 2>conftest.er1
30088 grep -v '^
*+' conftest.er1 >conftest.err
30090 cat conftest.err >&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); } && {
30093 test -z "$ac_c_werror_flag" ||
30094 test ! -s conftest.err
30095 } && test -s conftest$ac_exeext &&
30096 $as_test_x conftest$ac_exeext; then
30097 ac_cv_lib_gdk_gdk_im_open=yes
30099 echo "$as_me: failed program was:" >&5
30100 sed 's
/^
/| /' conftest.$ac_ext >&5
30102 ac_cv_lib_gdk_gdk_im_open=no
30105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30106 conftest$ac_exeext conftest.$ac_ext
30107 LIBS=$ac_check_lib_save_LIBS
30109 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30110 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30111 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30112 cat >>confdefs.h <<\_ACEOF
30119 if test "$USE_DARWIN" != 1; then
30121 for ac_func in poll
30123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30127 echo $ECHO_N "(cached) $ECHO_C" >&6
30129 cat >conftest.$ac_ext <<_ACEOF
30132 cat confdefs.h >>conftest.$ac_ext
30133 cat >>conftest.$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30137 #define $ac_func innocuous_$ac_func
30139 /* System header to define __stub macros and hopefully few prototypes,
30140 which can conflict with char $ac_func (); below.
30141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30142 <limits.h> exists even on freestanding compilers. */
30145 # include <limits.h>
30147 # include <assert.h>
30152 /* Override any GCC internal prototype to avoid an error.
30153 Use char because int might match the return type of a GCC
30154 builtin and then its argument prototype would still apply. */
30159 /* The GNU C library defines this for functions which it implements
30160 to always fail with ENOSYS. Some functions are actually named
30161 something starting with __ and the normal name is an alias. */
30162 #if defined __stub_$ac_func || defined __stub___$ac_func
30169 return $ac_func ();
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>conftest.er1
30183 grep -v '^
*+' conftest.er1 >conftest.err
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest$ac_exeext &&
30191 $as_test_x conftest$ac_exeext; then
30192 eval "$as_ac_var=yes"
30194 echo "$as_me: failed program was:" >&5
30195 sed 's
/^
/| /' conftest.$ac_ext >&5
30197 eval "$as_ac_var=no"
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30203 ac_res=`eval echo '${'$as_ac_var'}'`
30204 { echo "$as_me:$LINENO: result: $ac_res" >&5
30205 echo "${ECHO_T}$ac_res" >&6; }
30206 if test `eval echo '${'$as_ac_var'}'` = yes; then
30207 cat >>confdefs.h <<_ACEOF
30208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30217 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30218 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30220 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30222 AFMINSTALL=afminstall
30226 if test "$wxUSE_GPE" = "yes"; then
30227 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30228 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30231 for ac_dir in $SEARCH_LIB;
30233 for ac_extension in a so sl dylib dll.a; do
30234 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30235 ac_find_libraries=$ac_dir
30241 if test "$ac_find_libraries" != "" ; then
30243 if test "$ac_find_libraries" = "default location"; then
30246 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30248 if test $result = 0; then
30251 ac_path_to_link=" -L$ac_find_libraries"
30255 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30257 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30258 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30260 { echo "$as_me:$LINENO: result: not found" >&5
30261 echo "${ECHO_T}not found" >&6; }
30267 if test "$wxUSE_MGL" = 1; then
30268 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30269 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30270 if test "x$MGL_ROOT" = x ; then
30271 { echo "$as_me:$LINENO: result: not found" >&5
30272 echo "${ECHO_T}not found" >&6; }
30273 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30274 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30275 { (exit 1); exit 1; }; }
30277 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30278 echo "${ECHO_T}$MGL_ROOT" >&6; }
30281 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30282 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30285 if test "x$wxUSE_SHARED" = xyes ; then
30286 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30288 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30292 mgl_os_candidates="dos32/dj2"
30295 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30296 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30297 { (exit 1); exit 1; }; }
30303 for mgl_os_i in $mgl_os_candidates ; do
30304 if test "x$mgl_os" = x ; then
30305 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30306 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30307 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30312 if test "x$mgl_lib_type" = x ; then
30313 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30314 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30315 mgl_lib_type=release
30322 if test "x$mgl_os" = x ; then
30323 { echo "$as_me:$LINENO: result: not found" >&5
30324 echo "${ECHO_T}not found" >&6; }
30325 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30326 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30327 { (exit 1); exit 1; }; }
30329 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30330 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30332 wxUSE_UNIVERSAL="yes"
30334 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30335 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30337 AFMINSTALL=afminstall
30342 if test "$wxUSE_DFB" = 1; then
30345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30346 if test -n "$ac_tool_prefix"; then
30347 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30348 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30352 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 case $PKG_CONFIG in
30356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30360 for as_dir in $PATH
30363 test -z "$as_dir" && as_dir=.
30364 for ac_exec_ext in '' $ac_executable_extensions; do
30365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30378 if test -n "$PKG_CONFIG"; then
30379 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30380 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30382 { echo "$as_me:$LINENO: result: no" >&5
30383 echo "${ECHO_T}no" >&6; }
30388 if test -z "$ac_cv_path_PKG_CONFIG"; then
30389 ac_pt_PKG_CONFIG=$PKG_CONFIG
30390 # Extract the first word of "pkg-config", so it can be a program name with args.
30391 set dummy pkg-config; ac_word=$2
30392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30394 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30397 case $ac_pt_PKG_CONFIG in
30399 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30403 for as_dir in $PATH
30406 test -z "$as_dir" && as_dir=.
30407 for ac_exec_ext in '' $ac_executable_extensions; do
30408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30409 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30420 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30421 if test -n "$ac_pt_PKG_CONFIG"; then
30422 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30423 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30425 { echo "$as_me:$LINENO: result: no" >&5
30426 echo "${ECHO_T}no" >&6; }
30429 if test "x$ac_pt_PKG_CONFIG" = x; then
30432 case $cross_compiling:$ac_tool_warned in
30434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30435 whose name does not start with the host triplet. If you think this
30436 configuration is useful to you, please write to autoconf@gnu.org." >&5
30437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30438 whose name does not start with the host triplet. If you think this
30439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30440 ac_tool_warned=yes ;;
30442 PKG_CONFIG=$ac_pt_PKG_CONFIG
30445 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30449 if test -n "$PKG_CONFIG"; then
30450 _pkg_min_version=0.9.0
30451 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30452 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30453 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30454 { echo "$as_me:$LINENO: result: yes" >&5
30455 echo "${ECHO_T}yes" >&6; }
30457 { echo "$as_me:$LINENO: result: no" >&5
30458 echo "${ECHO_T}no" >&6; }
30466 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30467 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30469 if test -n "$PKG_CONFIG"; then
30470 if test -n "$DIRECTFB_CFLAGS"; then
30471 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30473 if test -n "$PKG_CONFIG" && \
30474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30475 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; then
30479 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30487 if test -n "$PKG_CONFIG"; then
30488 if test -n "$DIRECTFB_LIBS"; then
30489 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30491 if test -n "$PKG_CONFIG" && \
30492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30493 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; then
30497 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30508 if test $pkg_failed = yes; then
30510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30511 _pkg_short_errors_supported=yes
30513 _pkg_short_errors_supported=no
30515 if test $_pkg_short_errors_supported = yes; then
30516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30518 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30520 # Put the nasty error message in config.log where it belongs
30521 echo "$DIRECTFB_PKG_ERRORS" >&5
30524 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30525 echo "$as_me: error: DirectFB not found." >&2;}
30526 { (exit 1); exit 1; }; }
30529 elif test $pkg_failed = untried; then
30531 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30532 echo "$as_me: error: DirectFB not found." >&2;}
30533 { (exit 1); exit 1; }; }
30537 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30538 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30539 { echo "$as_me:$LINENO: result: yes" >&5
30540 echo "${ECHO_T}yes" >&6; }
30542 wxUSE_UNIVERSAL="yes"
30543 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30544 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30551 if test "$wxUSE_MICROWIN" = 1; then
30552 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30553 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30554 if test "x$MICROWINDOWS" = x ; then
30555 { echo "$as_me:$LINENO: result: not found" >&5
30556 echo "${ECHO_T}not found" >&6; }
30557 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30558 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30559 { (exit 1); exit 1; }; }
30561 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30562 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30565 if test -f $MICROWINDOWS/lib/libmwin.a; then
30566 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30567 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30569 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30570 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30571 { (exit 1); exit 1; }; }
30574 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30575 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30577 wxUSE_UNIVERSAL="yes"
30579 AFMINSTALL=afminstall
30581 GUIDIST=MICROWIN_DIST
30583 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30586 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30587 { echo "$as_me:$LINENO: checking for X" >&5
30588 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30591 # Check whether --with-x was given.
30592 if test "${with_x+set}" = set; then
30596 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30597 if test "x$with_x" = xno; then
30598 # The user explicitly disabled X.
30601 case $x_includes,$x_libraries in #(
30602 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30603 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30604 { (exit 1); exit 1; }; };; #(
30605 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 # One or both of the vars are not set, and there is no cached value.
30609 ac_x_includes=no ac_x_libraries=no
30610 rm -f -r conftest.dir
30611 if mkdir conftest.dir; then
30613 cat >Imakefile <<'_ACEOF'
30615 @echo incroot='${INCROOT}'
30617 @echo usrlibdir='${USRLIBDIR}'
30619 @echo libdir='${LIBDIR}'
30621 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30622 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30623 for ac_var in incroot usrlibdir libdir; do
30624 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30627 for ac_extension in a so sl; do
30628 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30629 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30630 ac_im_usrlibdir=$ac_im_libdir; break
30633 # Screen out bogus values from the imake configuration. They are
30634 # bogus both because they are the default anyway, and because
30635 # using them would break gcc on systems where it needs fixed includes.
30636 case $ac_im_incroot in
30637 /usr/include) ac_x_includes= ;;
30638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30640 case $ac_im_usrlibdir in
30641 /usr/lib | /lib) ;;
30642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30646 rm -f -r conftest.dir
30649 # Standard set of common directories for X headers.
30650 # Check X11 before X11Rn because it is often a symlink to the current release.
30662 /usr
/local
/X
11/include
30663 /usr
/local
/X
11R
6/include
30664 /usr
/local
/X
11R
5/include
30665 /usr
/local
/X
11R
4/include
30667 /usr
/local
/include
/X11
30668 /usr
/local
/include
/X11R6
30669 /usr
/local
/include
/X11R5
30670 /usr
/local
/include
/X11R4
30674 /usr
/XFree
86/include
/X11
30678 /usr
/unsupported
/include
30679 /usr
/athena
/include
30680 /usr
/local
/x
11r
5/include
30681 /usr
/lpp
/Xamples
/include
30683 /usr
/openwin
/include
30684 /usr
/openwin
/share
/include
'
30686 if test "$ac_x_includes" = no; then
30687 # Guess where to find include files, by looking for Xlib.h.
30688 # First, try using that file with no special directory specified.
30689 cat >conftest.$ac_ext <<_ACEOF
30692 cat confdefs.h >>conftest.$ac_ext
30693 cat >>conftest.$ac_ext <<_ACEOF
30694 /* end confdefs.h. */
30695 #include <X11/Xlib.h>
30697 if { (ac_try="$ac_cpp conftest.$ac_ext"
30698 case "(($ac_try" in
30699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30700 *) ac_try_echo=$ac_try;;
30702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30705 grep -v '^
*+' conftest.er1 >conftest.err
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } >/dev/null && {
30710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30711 test ! -s conftest.err
30713 # We can compile using X headers with no special include directory.
30716 echo "$as_me: failed program was:" >&5
30717 sed 's
/^
/| /' conftest.$ac_ext >&5
30719 for ac_dir in $ac_x_header_dirs; do
30720 if test -r "$ac_dir/X11/Xlib.h"; then
30721 ac_x_includes=$ac_dir
30727 rm -f conftest.err conftest.$ac_ext
30728 fi # $ac_x_includes = no
30730 if test "$ac_x_libraries" = no; then
30731 # Check for the libraries.
30732 # See if we find them without any special options.
30733 # Don't add to
$LIBS permanently.
30736 cat >conftest.
$ac_ext <<_ACEOF
30739 cat confdefs.h
>>conftest.
$ac_ext
30740 cat >>conftest.
$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 #include <X11/Xlib.h>
30751 rm -f conftest.
$ac_objext conftest
$ac_exeext
30752 if { (ac_try
="$ac_link"
30753 case "(($ac_try" in
30754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30755 *) ac_try_echo=$ac_try;;
30757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30758 (eval "$ac_link") 2>conftest.er1
30760 grep -v '^ *+' conftest.er1 >conftest.err
30762 cat conftest.err >&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); } && {
30765 test -z "$ac_c_werror_flag" ||
30766 test ! -s conftest.err
30767 } && test -s conftest$ac_exeext &&
30768 $as_test_x conftest$ac_exeext; then
30770 # We can link X programs with no special library path.
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30777 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30779 # Don't even attempt the hair of trying to link an X program!
30780 for ac_extension in a so sl; do
30781 if test -r "$ac_dir/libX11.$ac_extension"; then
30782 ac_x_libraries=$ac_dir
30789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30790 conftest$ac_exeext conftest.$ac_ext
30791 fi # $ac_x_libraries = no
30793 case $ac_x_includes,$ac_x_libraries in #(
30794 no,* | *,no | *\'*)
30795 # Didn't find X, or a directory has "'" in its name.
30796 ac_cv_have_x="have_x=no";; #(
30798 # Record where we found X for the cache.
30799 ac_cv_have_x="have_x=yes\
30800 ac_x_includes='$ac_x_includes'\
30801 ac_x_libraries='$ac_x_libraries'"
30807 eval "$ac_cv_have_x"
30810 if test "$have_x" != yes; then
30811 { echo "$as_me:$LINENO: result: $have_x" >&5
30812 echo "${ECHO_T}$have_x" >&6; }
30815 # If each of the values was on the command line, it overrides each guess.
30816 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30817 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30818 # Update the cache value to reflect the command line values.
30819 ac_cv_have_x="have_x=yes\
30820 ac_x_includes='$x_includes'\
30821 ac_x_libraries='$x_libraries'"
30822 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30823 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30826 if test "$no_x" = yes; then
30827 # Not all programs may use this symbol, but it does not hurt to define it.
30829 cat >>confdefs.h <<\_ACEOF
30830 #define X_DISPLAY_MISSING 1
30833 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30835 if test -n "$x_includes"; then
30836 X_CFLAGS="$X_CFLAGS -I$x_includes"
30839 # It would also be nice to do this for all -L options, not just this one.
30840 if test -n "$x_libraries"; then
30841 X_LIBS="$X_LIBS -L$x_libraries"
30842 # For Solaris; some versions of Sun CC require a space after -R and
30843 # others require no space. Words are not sufficient . . . .
30844 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30845 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30846 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30847 ac_xsave_c_werror_flag=$ac_c_werror_flag
30848 ac_c_werror_flag=yes
30849 cat >conftest.$ac_ext <<_ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30864 rm -f conftest.$ac_objext conftest$ac_exeext
30865 if { (ac_try="$ac_link"
30866 case "(($ac_try" in
30867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30868 *) ac_try_echo
=$ac_try;;
30870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30871 (eval "$ac_link") 2>conftest.er1
30873 grep -v '^ *+' conftest.er1
>conftest.err
30875 cat conftest.err
>&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); } && {
30878 test -z "$ac_c_werror_flag" ||
30879 test ! -s conftest.err
30880 } && test -s conftest
$ac_exeext &&
30881 $as_test_x conftest
$ac_exeext; then
30882 { echo "$as_me:$LINENO: result: no" >&5
30883 echo "${ECHO_T}no" >&6; }
30884 X_LIBS
="$X_LIBS -R$x_libraries"
30886 echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.
$ac_ext >&5
30889 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30890 cat >conftest.
$ac_ext <<_ACEOF
30893 cat confdefs.h
>>conftest.
$ac_ext
30894 cat >>conftest.
$ac_ext <<_ACEOF
30895 /* end confdefs.h. */
30905 rm -f conftest.
$ac_objext conftest
$ac_exeext
30906 if { (ac_try
="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30914 grep -v '^ *+' conftest.er1 >conftest.err
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest$ac_exeext &&
30922 $as_test_x conftest$ac_exeext; then
30923 { echo "$as_me:$LINENO: result: yes" >&5
30924 echo "${ECHO_T}yes" >&6; }
30925 X_LIBS="$X_LIBS -R $x_libraries"
30927 echo "$as_me: failed program was:" >&5
30928 sed 's/^/| /' conftest.$ac_ext >&5
30930 { echo "$as_me:$LINENO: result: neither works" >&5
30931 echo "${ECHO_T}neither works" >&6; }
30934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30935 conftest$ac_exeext conftest.$ac_ext
30938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30939 conftest$ac_exeext conftest.$ac_ext
30940 ac_c_werror_flag=$ac_xsave_c_werror_flag
30941 LIBS=$ac_xsave_LIBS
30944 # Check for system-dependent libraries X programs must link with.
30945 # Do this before checking for the system-independent R6 libraries
30946 # (-lICE), since we may need -lsocket or whatever for X linking.
30948 if test "$ISC" = yes; then
30949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30951 # Martyn Johnson says this is needed for Ultrix, if the X
30952 # libraries were built with DECnet support. And Karl Berry says
30953 # the Alpha needs dnet_stub (dnet does not exist).
30954 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30955 cat >conftest.$ac_ext <<_ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30962 /* Override any GCC internal prototype to avoid an error.
30963 Use char because int might match the return type of a GCC
30964 builtin and then its argument prototype would still apply. */
30968 char XOpenDisplay ();
30972 return XOpenDisplay ();
30977 rm -f conftest.$ac_objext conftest$ac_exeext
30978 if { (ac_try="$ac_link"
30979 case "(($ac_try" in
30980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30981 *) ac_try_echo
=$ac_try;;
30983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30984 (eval "$ac_link") 2>conftest.er1
30986 grep -v '^ *+' conftest.er1
>conftest.err
30988 cat conftest.err
>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } && {
30991 test -z "$ac_c_werror_flag" ||
30992 test ! -s conftest.err
30993 } && test -s conftest
$ac_exeext &&
30994 $as_test_x conftest
$ac_exeext; then
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.
$ac_ext >&5
31000 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31001 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31002 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31003 echo $ECHO_N "(cached) $ECHO_C" >&6
31005 ac_check_lib_save_LIBS
=$LIBS
31006 LIBS
="-ldnet $LIBS"
31007 cat >conftest.
$ac_ext <<_ACEOF
31010 cat confdefs.h
>>conftest.
$ac_ext
31011 cat >>conftest.
$ac_ext <<_ACEOF
31012 /* end confdefs.h. */
31014 /* Override any GCC internal prototype to avoid an error.
31015 Use char because int might match the return type of a GCC
31016 builtin and then its argument prototype would still apply. */
31024 return dnet_ntoa ();
31029 rm -f conftest.
$ac_objext conftest
$ac_exeext
31030 if { (ac_try
="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31038 grep -v '^ *+' conftest.er1 >conftest.err
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 ac_cv_lib_dnet_dnet_ntoa=yes
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.$ac_ext >&5
31052 ac_cv_lib_dnet_dnet_ntoa=no
31055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31056 conftest$ac_exeext conftest.$ac_ext
31057 LIBS=$ac_check_lib_save_LIBS
31059 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31060 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31061 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31062 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31065 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31066 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31067 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31068 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 ac_check_lib_save_LIBS=$LIBS
31072 LIBS="-ldnet_stub $LIBS"
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 /* Override any GCC internal prototype to avoid an error.
31081 Use char because int might match the return type of a GCC
31082 builtin and then its argument prototype would still apply. */
31090 return dnet_ntoa ();
31095 rm -f conftest.$ac_objext conftest$ac_exeext
31096 if { (ac_try="$ac_link"
31097 case "(($ac_try" in
31098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31099 *) ac_try_echo
=$ac_try;;
31101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31102 (eval "$ac_link") 2>conftest.er1
31104 grep -v '^ *+' conftest.er1
>conftest.err
31106 cat conftest.err
>&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); } && {
31109 test -z "$ac_c_werror_flag" ||
31110 test ! -s conftest.err
31111 } && test -s conftest
$ac_exeext &&
31112 $as_test_x conftest
$ac_exeext; then
31113 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31115 echo "$as_me: failed program was:" >&5
31116 sed 's/^/| /' conftest.
$ac_ext >&5
31118 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31122 conftest
$ac_exeext conftest.
$ac_ext
31123 LIBS
=$ac_check_lib_save_LIBS
31125 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31126 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31127 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31135 conftest
$ac_exeext conftest.
$ac_ext
31136 LIBS
="$ac_xsave_LIBS"
31138 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31139 # to get the SysV transport functions.
31140 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31142 # The nsl library prevents programs from opening the X display
31143 # on Irix 5.2, according to T.E. Dickey.
31144 # The functions gethostbyname, getservbyname, and inet_addr are
31145 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31146 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31147 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31148 if test "${ac_cv_func_gethostbyname+set}" = set; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31151 cat >conftest.
$ac_ext <<_ACEOF
31154 cat confdefs.h
>>conftest.
$ac_ext
31155 cat >>conftest.
$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31159 #define gethostbyname innocuous_gethostbyname
31161 /* System header to define __stub macros and hopefully few prototypes,
31162 which can conflict with char gethostbyname (); below.
31163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31164 <limits.h> exists even on freestanding compilers. */
31167 # include <limits.h>
31169 # include <assert.h>
31172 #undef gethostbyname
31174 /* Override any GCC internal prototype to avoid an error.
31175 Use char because int might match the return type of a GCC
31176 builtin and then its argument prototype would still apply. */
31180 char gethostbyname ();
31181 /* The GNU C library defines this for functions which it implements
31182 to always fail with ENOSYS. Some functions are actually named
31183 something starting with __ and the normal name is an alias. */
31184 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31191 return gethostbyname ();
31196 rm -f conftest.
$ac_objext conftest
$ac_exeext
31197 if { (ac_try
="$ac_link"
31198 case "(($ac_try" in
31199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_link") 2>conftest.er1
31205 grep -v '^ *+' conftest.er1 >conftest.err
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } && {
31210 test -z "$ac_c_werror_flag" ||
31211 test ! -s conftest.err
31212 } && test -s conftest$ac_exeext &&
31213 $as_test_x conftest$ac_exeext; then
31214 ac_cv_func_gethostbyname=yes
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.$ac_ext >&5
31219 ac_cv_func_gethostbyname=no
31222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31223 conftest$ac_exeext conftest.$ac_ext
31225 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31226 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31228 if test $ac_cv_func_gethostbyname = no; then
31229 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31230 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31231 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31234 ac_check_lib_save_LIBS=$LIBS
31236 cat >conftest.$ac_ext <<_ACEOF
31239 cat confdefs.h >>conftest.$ac_ext
31240 cat >>conftest.$ac_ext <<_ACEOF
31241 /* end confdefs.h. */
31243 /* Override any GCC internal prototype to avoid an error.
31244 Use char because int might match the return type of a GCC
31245 builtin and then its argument prototype would still apply. */
31249 char gethostbyname ();
31253 return gethostbyname ();
31258 rm -f conftest.$ac_objext conftest$ac_exeext
31259 if { (ac_try="$ac_link"
31260 case "(($ac_try" in
31261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31262 *) ac_try_echo
=$ac_try;;
31264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31265 (eval "$ac_link") 2>conftest.er1
31267 grep -v '^ *+' conftest.er1
>conftest.err
31269 cat conftest.err
>&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); } && {
31272 test -z "$ac_c_werror_flag" ||
31273 test ! -s conftest.err
31274 } && test -s conftest
$ac_exeext &&
31275 $as_test_x conftest
$ac_exeext; then
31276 ac_cv_lib_nsl_gethostbyname
=yes
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.
$ac_ext >&5
31281 ac_cv_lib_nsl_gethostbyname
=no
31284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31285 conftest
$ac_exeext conftest.
$ac_ext
31286 LIBS
=$ac_check_lib_save_LIBS
31288 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31289 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31290 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31291 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31294 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31295 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31296 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31297 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31300 ac_check_lib_save_LIBS
=$LIBS
31302 cat >conftest.
$ac_ext <<_ACEOF
31305 cat confdefs.h
>>conftest.
$ac_ext
31306 cat >>conftest.
$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31309 /* Override any GCC internal prototype to avoid an error.
31310 Use char because int might match the return type of a GCC
31311 builtin and then its argument prototype would still apply. */
31315 char gethostbyname ();
31319 return gethostbyname ();
31324 rm -f conftest.
$ac_objext conftest
$ac_exeext
31325 if { (ac_try
="$ac_link"
31326 case "(($ac_try" in
31327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31328 *) ac_try_echo=$ac_try;;
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_link") 2>conftest.er1
31333 grep -v '^ *+' conftest.er1 >conftest.err
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest$ac_exeext &&
31341 $as_test_x conftest$ac_exeext; then
31342 ac_cv_lib_bsd_gethostbyname=yes
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31347 ac_cv_lib_bsd_gethostbyname=no
31350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31351 conftest$ac_exeext conftest.$ac_ext
31352 LIBS=$ac_check_lib_save_LIBS
31354 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31355 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31356 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31363 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31364 # socket/setsockopt and other routines are undefined under SCO ODT
31365 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31366 # on later versions), says Simon Leinen: it contains gethostby*
31367 # variants that don't use the name server (or something). -lsocket
31368 # must be given before -lnsl if both are needed. We assume that
31369 # if connect needs -lnsl, so does gethostbyname.
31370 { echo "$as_me:$LINENO: checking for connect" >&5
31371 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31372 if test "${ac_cv_func_connect+set}" = set; then
31373 echo $ECHO_N "(cached) $ECHO_C" >&6
31375 cat >conftest.$ac_ext <<_ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31383 #define connect innocuous_connect
31385 /* System header to define __stub macros and hopefully few prototypes,
31386 which can conflict with char connect (); below.
31387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31388 <limits.h> exists even on freestanding compilers. */
31391 # include <limits.h>
31393 # include <assert.h>
31398 /* Override any GCC internal prototype to avoid an error.
31399 Use char because int might match the return type of a GCC
31400 builtin and then its argument prototype would still apply. */
31405 /* The GNU C library defines this for functions which it implements
31406 to always fail with ENOSYS. Some functions are actually named
31407 something starting with __ and the normal name is an alias. */
31408 #if defined __stub_connect || defined __stub___connect
31420 rm -f conftest.$ac_objext conftest$ac_exeext
31421 if { (ac_try="$ac_link"
31422 case "(($ac_try" in
31423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31424 *) ac_try_echo
=$ac_try;;
31426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31427 (eval "$ac_link") 2>conftest.er1
31429 grep -v '^ *+' conftest.er1
>conftest.err
31431 cat conftest.err
>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } && {
31434 test -z "$ac_c_werror_flag" ||
31435 test ! -s conftest.err
31436 } && test -s conftest
$ac_exeext &&
31437 $as_test_x conftest
$ac_exeext; then
31438 ac_cv_func_connect
=yes
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.
$ac_ext >&5
31443 ac_cv_func_connect
=no
31446 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31447 conftest
$ac_exeext conftest.
$ac_ext
31449 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31450 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31452 if test $ac_cv_func_connect = no
; then
31453 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31454 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31455 if test "${ac_cv_lib_socket_connect+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31458 ac_check_lib_save_LIBS
=$LIBS
31459 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31460 cat >conftest.
$ac_ext <<_ACEOF
31463 cat confdefs.h
>>conftest.
$ac_ext
31464 cat >>conftest.
$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31467 /* Override any GCC internal prototype to avoid an error.
31468 Use char because int might match the return type of a GCC
31469 builtin and then its argument prototype would still apply. */
31482 rm -f conftest.
$ac_objext conftest
$ac_exeext
31483 if { (ac_try
="$ac_link"
31484 case "(($ac_try" in
31485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31486 *) ac_try_echo=$ac_try;;
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_link") 2>conftest.er1
31491 grep -v '^ *+' conftest.er1 >conftest.err
31493 cat conftest.err >&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); } && {
31496 test -z "$ac_c_werror_flag" ||
31497 test ! -s conftest.err
31498 } && test -s conftest$ac_exeext &&
31499 $as_test_x conftest$ac_exeext; then
31500 ac_cv_lib_socket_connect=yes
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31505 ac_cv_lib_socket_connect=no
31508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31509 conftest$ac_exeext conftest.$ac_ext
31510 LIBS=$ac_check_lib_save_LIBS
31512 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31513 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31514 if test $ac_cv_lib_socket_connect = yes; then
31515 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31520 # Guillermo Gomez says -lposix is necessary on A/UX.
31521 { echo "$as_me:$LINENO: checking for remove" >&5
31522 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31523 if test "${ac_cv_func_remove+set}" = set; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 cat >conftest.$ac_ext <<_ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31534 #define remove innocuous_remove
31536 /* System header to define __stub macros and hopefully few prototypes,
31537 which can conflict with char remove (); below.
31538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31539 <limits.h> exists even on freestanding compilers. */
31542 # include <limits.h>
31544 # include <assert.h>
31549 /* Override any GCC internal prototype to avoid an error.
31550 Use char because int might match the return type of a GCC
31551 builtin and then its argument prototype would still apply. */
31556 /* The GNU C library defines this for functions which it implements
31557 to always fail with ENOSYS. Some functions are actually named
31558 something starting with __ and the normal name is an alias. */
31559 #if defined __stub_remove || defined __stub___remove
31571 rm -f conftest.$ac_objext conftest$ac_exeext
31572 if { (ac_try="$ac_link"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31575 *) ac_try_echo
=$ac_try;;
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_link") 2>conftest.er1
31580 grep -v '^ *+' conftest.er1
>conftest.err
31582 cat conftest.err
>&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } && {
31585 test -z "$ac_c_werror_flag" ||
31586 test ! -s conftest.err
31587 } && test -s conftest
$ac_exeext &&
31588 $as_test_x conftest
$ac_exeext; then
31589 ac_cv_func_remove
=yes
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.
$ac_ext >&5
31594 ac_cv_func_remove
=no
31597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31598 conftest
$ac_exeext conftest.
$ac_ext
31600 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31601 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31603 if test $ac_cv_func_remove = no
; then
31604 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31605 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31606 if test "${ac_cv_lib_posix_remove+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31609 ac_check_lib_save_LIBS
=$LIBS
31610 LIBS
="-lposix $LIBS"
31611 cat >conftest.
$ac_ext <<_ACEOF
31614 cat confdefs.h
>>conftest.
$ac_ext
31615 cat >>conftest.
$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31618 /* Override any GCC internal prototype to avoid an error.
31619 Use char because int might match the return type of a GCC
31620 builtin and then its argument prototype would still apply. */
31633 rm -f conftest.
$ac_objext conftest
$ac_exeext
31634 if { (ac_try
="$ac_link"
31635 case "(($ac_try" in
31636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31637 *) ac_try_echo=$ac_try;;
31639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31640 (eval "$ac_link") 2>conftest.er1
31642 grep -v '^ *+' conftest.er1 >conftest.err
31644 cat conftest.err >&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } && {
31647 test -z "$ac_c_werror_flag" ||
31648 test ! -s conftest.err
31649 } && test -s conftest$ac_exeext &&
31650 $as_test_x conftest$ac_exeext; then
31651 ac_cv_lib_posix_remove=yes
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31656 ac_cv_lib_posix_remove=no
31659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31660 conftest$ac_exeext conftest.$ac_ext
31661 LIBS=$ac_check_lib_save_LIBS
31663 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31664 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31665 if test $ac_cv_lib_posix_remove = yes; then
31666 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31671 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31672 { echo "$as_me:$LINENO: checking for shmat" >&5
31673 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31674 if test "${ac_cv_func_shmat+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 cat >conftest.$ac_ext <<_ACEOF
31680 cat confdefs.h >>conftest.$ac_ext
31681 cat >>conftest.$ac_ext <<_ACEOF
31682 /* end confdefs.h. */
31683 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31685 #define shmat innocuous_shmat
31687 /* System header to define __stub macros and hopefully few prototypes,
31688 which can conflict with char shmat (); below.
31689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31690 <limits.h> exists even on freestanding compilers. */
31693 # include <limits.h>
31695 # include <assert.h>
31700 /* Override any GCC internal prototype to avoid an error.
31701 Use char because int might match the return type of a GCC
31702 builtin and then its argument prototype would still apply. */
31707 /* The GNU C library defines this for functions which it implements
31708 to always fail with ENOSYS. Some functions are actually named
31709 something starting with __ and the normal name is an alias. */
31710 #if defined __stub_shmat || defined __stub___shmat
31722 rm -f conftest.$ac_objext conftest$ac_exeext
31723 if { (ac_try="$ac_link"
31724 case "(($ac_try" in
31725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31726 *) ac_try_echo
=$ac_try;;
31728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31729 (eval "$ac_link") 2>conftest.er1
31731 grep -v '^ *+' conftest.er1
>conftest.err
31733 cat conftest.err
>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } && {
31736 test -z "$ac_c_werror_flag" ||
31737 test ! -s conftest.err
31738 } && test -s conftest
$ac_exeext &&
31739 $as_test_x conftest
$ac_exeext; then
31740 ac_cv_func_shmat
=yes
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.
$ac_ext >&5
31745 ac_cv_func_shmat
=no
31748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31749 conftest
$ac_exeext conftest.
$ac_ext
31751 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31752 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31754 if test $ac_cv_func_shmat = no
; then
31755 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31756 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31760 ac_check_lib_save_LIBS
=$LIBS
31762 cat >conftest.
$ac_ext <<_ACEOF
31765 cat confdefs.h
>>conftest.
$ac_ext
31766 cat >>conftest.
$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31784 rm -f conftest.
$ac_objext conftest
$ac_exeext
31785 if { (ac_try
="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_ipc_shmat=yes
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31807 ac_cv_lib_ipc_shmat=no
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31815 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31816 if test $ac_cv_lib_ipc_shmat = yes; then
31817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31823 # Check for libraries that X11R6 Xt/Xaw programs need.
31824 ac_save_LDFLAGS=$LDFLAGS
31825 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31826 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31827 # check for ICE first), but we must link in the order -lSM -lICE or
31828 # we get undefined symbols. So assume we have SM if we have ICE.
31829 # These have to be linked with before -lX11, unlike the other
31830 # libraries we check for below, so use a different variable.
31831 # John Interrante, Karl Berry
31832 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31833 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31834 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31835 echo $ECHO_N "(cached) $ECHO_C" >&6
31837 ac_check_lib_save_LIBS=$LIBS
31838 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31839 cat >conftest.$ac_ext <<_ACEOF
31842 cat confdefs.h >>conftest.$ac_ext
31843 cat >>conftest.$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31846 /* Override any GCC internal prototype to avoid an error.
31847 Use char because int might match the return type of a GCC
31848 builtin and then its argument prototype would still apply. */
31852 char IceConnectionNumber ();
31856 return IceConnectionNumber ();
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (ac_try="$ac_link"
31863 case "(($ac_try" in
31864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31865 *) ac_try_echo
=$ac_try;;
31867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31868 (eval "$ac_link") 2>conftest.er1
31870 grep -v '^ *+' conftest.er1
>conftest.err
31872 cat conftest.err
>&5
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); } && {
31875 test -z "$ac_c_werror_flag" ||
31876 test ! -s conftest.err
31877 } && test -s conftest
$ac_exeext &&
31878 $as_test_x conftest
$ac_exeext; then
31879 ac_cv_lib_ICE_IceConnectionNumber
=yes
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.
$ac_ext >&5
31884 ac_cv_lib_ICE_IceConnectionNumber
=no
31887 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31888 conftest
$ac_exeext conftest.
$ac_ext
31889 LIBS
=$ac_check_lib_save_LIBS
31891 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31892 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31893 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31894 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31897 LDFLAGS
=$ac_save_LDFLAGS
31902 if test "$no_x" = "yes"; then
31903 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31904 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31905 { (exit 1); exit 1; }; }
31908 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31909 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31910 AFMINSTALL
=afminstall
31911 COMPILED_X_PROGRAM
=0
31915 if test "$wxUSE_X11" = 1; then
31916 if test "$wxUSE_NANOX" = "yes"; then
31917 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31918 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31919 if test "x$MICROWIN" = x
; then
31920 { echo "$as_me:$LINENO: result: not found" >&5
31921 echo "${ECHO_T}not found" >&6; }
31922 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31923 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31924 { (exit 1); exit 1; }; }
31926 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31927 echo "${ECHO_T}$MICROWIN" >&6; }
31928 cat >>confdefs.h
<<\_ACEOF
31929 #define wxUSE_NANOX 1
31935 if test "$wxUSE_UNICODE" = "yes"; then
31938 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31939 if test -n "$ac_tool_prefix"; then
31940 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31941 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31944 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 case $PKG_CONFIG in
31949 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31953 for as_dir
in $PATH
31956 test -z "$as_dir" && as_dir
=.
31957 for ac_exec_ext
in '' $ac_executable_extensions; do
31958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31959 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31970 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31971 if test -n "$PKG_CONFIG"; then
31972 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31973 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31975 { echo "$as_me:$LINENO: result: no" >&5
31976 echo "${ECHO_T}no" >&6; }
31981 if test -z "$ac_cv_path_PKG_CONFIG"; then
31982 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31983 # Extract the first word of "pkg-config", so it can be a program name with args.
31984 set dummy pkg
-config; ac_word
=$2
31985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31987 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31988 echo $ECHO_N "(cached) $ECHO_C" >&6
31990 case $ac_pt_PKG_CONFIG in
31992 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31996 for as_dir
in $PATH
31999 test -z "$as_dir" && as_dir
=.
32000 for ac_exec_ext
in '' $ac_executable_extensions; do
32001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32002 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32013 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32014 if test -n "$ac_pt_PKG_CONFIG"; then
32015 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32016 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32018 { echo "$as_me:$LINENO: result: no" >&5
32019 echo "${ECHO_T}no" >&6; }
32022 if test "x$ac_pt_PKG_CONFIG" = x
; then
32025 case $cross_compiling:$ac_tool_warned in
32027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32028 whose name does not start with the host triplet. If you think this
32029 configuration is useful to you, please write to autoconf@gnu.org." >&5
32030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32031 whose name does not start with the host triplet. If you think this
32032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32033 ac_tool_warned
=yes ;;
32035 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32038 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32042 if test -n "$PKG_CONFIG"; then
32043 _pkg_min_version
=0.9.0
32044 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32045 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32046 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32047 { echo "$as_me:$LINENO: result: yes" >&5
32048 echo "${ECHO_T}yes" >&6; }
32050 { echo "$as_me:$LINENO: result: no" >&5
32051 echo "${ECHO_T}no" >&6; }
32059 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32060 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32062 if test -n "$PKG_CONFIG"; then
32063 if test -n "$PANGOX_CFLAGS"; then
32064 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32066 if test -n "$PKG_CONFIG" && \
32067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32068 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; then
32072 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32080 if test -n "$PKG_CONFIG"; then
32081 if test -n "$PANGOX_LIBS"; then
32082 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32084 if test -n "$PKG_CONFIG" && \
32085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32086 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; then
32090 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32101 if test $pkg_failed = yes; then
32103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32104 _pkg_short_errors_supported
=yes
32106 _pkg_short_errors_supported
=no
32108 if test $_pkg_short_errors_supported = yes; then
32109 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32111 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32113 # Put the nasty error message in config.log where it belongs
32114 echo "$PANGOX_PKG_ERRORS" >&5
32117 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32118 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32119 { (exit 1); exit 1; }; }
32122 elif test $pkg_failed = untried
; then
32124 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32125 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32126 { (exit 1); exit 1; }; }
32130 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32131 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32132 { echo "$as_me:$LINENO: result: yes" >&5
32133 echo "${ECHO_T}yes" >&6; }
32135 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32136 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32137 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32142 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32143 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32145 if test -n "$PKG_CONFIG"; then
32146 if test -n "$PANGOFT2_CFLAGS"; then
32147 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32149 if test -n "$PKG_CONFIG" && \
32150 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32151 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; then
32155 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32163 if test -n "$PKG_CONFIG"; then
32164 if test -n "$PANGOFT2_LIBS"; then
32165 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32167 if test -n "$PKG_CONFIG" && \
32168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32169 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; then
32173 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32184 if test $pkg_failed = yes; then
32186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32187 _pkg_short_errors_supported
=yes
32189 _pkg_short_errors_supported
=no
32191 if test $_pkg_short_errors_supported = yes; then
32192 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32194 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32196 # Put the nasty error message in config.log where it belongs
32197 echo "$PANGOFT2_PKG_ERRORS" >&5
32200 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32201 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32202 wxUSE_PRINTING_ARCHITECTURE
="no"
32205 elif test $pkg_failed = untried
; then
32207 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32208 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32209 wxUSE_PRINTING_ARCHITECTURE
="no"
32213 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32214 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32215 { echo "$as_me:$LINENO: result: yes" >&5
32216 echo "${ECHO_T}yes" >&6; }
32218 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32219 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32220 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32225 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32226 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32228 if test -n "$PKG_CONFIG"; then
32229 if test -n "$PANGOXFT_CFLAGS"; then
32230 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32232 if test -n "$PKG_CONFIG" && \
32233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32234 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; then
32238 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32246 if test -n "$PKG_CONFIG"; then
32247 if test -n "$PANGOXFT_LIBS"; then
32248 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32250 if test -n "$PKG_CONFIG" && \
32251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32252 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; then
32256 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32267 if test $pkg_failed = yes; then
32269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32270 _pkg_short_errors_supported
=yes
32272 _pkg_short_errors_supported
=no
32274 if test $_pkg_short_errors_supported = yes; then
32275 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32277 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32279 # Put the nasty error message in config.log where it belongs
32280 echo "$PANGOXFT_PKG_ERRORS" >&5
32283 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32284 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32287 elif test $pkg_failed = untried
; then
32289 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32290 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32294 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32295 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32296 { echo "$as_me:$LINENO: result: yes" >&5
32297 echo "${ECHO_T}yes" >&6; }
32299 cat >>confdefs.h
<<\_ACEOF
32300 #define HAVE_PANGO_XFT 1
32303 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32304 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32305 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32309 LIBS
="$LIBS $PANGOX_LIBS"
32311 for ac_func
in pango_font_family_is_monospace
32313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32316 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 cat >conftest.
$ac_ext <<_ACEOF
32322 cat confdefs.h
>>conftest.
$ac_ext
32323 cat >>conftest.
$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32327 #define $ac_func innocuous_$ac_func
32329 /* System header to define __stub macros and hopefully few prototypes,
32330 which can conflict with char $ac_func (); below.
32331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332 <limits.h> exists even on freestanding compilers. */
32335 # include <limits.h>
32337 # include <assert.h>
32342 /* Override any GCC internal prototype to avoid an error.
32343 Use char because int might match the return type of a GCC
32344 builtin and then its argument prototype would still apply. */
32349 /* The GNU C library defines this for functions which it implements
32350 to always fail with ENOSYS. Some functions are actually named
32351 something starting with __ and the normal name is an alias. */
32352 #if defined __stub_$ac_func || defined __stub___$ac_func
32359 return $ac_func ();
32364 rm -f conftest.
$ac_objext conftest
$ac_exeext
32365 if { (ac_try
="$ac_link"
32366 case "(($ac_try" in
32367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32368 *) ac_try_echo=$ac_try;;
32370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32371 (eval "$ac_link") 2>conftest.er1
32373 grep -v '^ *+' conftest.er1 >conftest.err
32375 cat conftest.err >&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } && {
32378 test -z "$ac_c_werror_flag" ||
32379 test ! -s conftest.err
32380 } && test -s conftest$ac_exeext &&
32381 $as_test_x conftest$ac_exeext; then
32382 eval "$as_ac_var=yes"
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.$ac_ext >&5
32387 eval "$as_ac_var=no"
32390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32391 conftest$ac_exeext conftest.$ac_ext
32393 ac_res=`eval echo '${'$as_ac_var'}'`
32394 { echo "$as_me:$LINENO: result: $ac_res" >&5
32395 echo "${ECHO_T}$ac_res" >&6; }
32396 if test `eval echo '${'$as_ac_var'}'` = yes; then
32397 cat >>confdefs.h <<_ACEOF
32398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32407 wxUSE_UNIVERSAL="yes"
32409 if test "$wxUSE_NANOX" = "yes"; then
32410 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32411 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"
32412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32421 if test "$wxUSE_MOTIF" = 1; then
32422 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32423 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32426 for ac_dir in $SEARCH_INCLUDE /usr/include;
32428 if test -f "$ac_dir/Xm/Xm.h"; then
32429 ac_find_includes=$ac_dir
32434 if test "$ac_find_includes" != "" ; then
32435 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32436 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32438 if test "x$ac_find_includes" = "x/usr/include"; then
32439 ac_path_to_include=""
32441 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32443 if test $result = 0; then
32444 ac_path_to_include=""
32446 ac_path_to_include=" -I$ac_find_includes"
32450 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32452 save_CFLAGS=$CFLAGS
32453 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32455 cat >conftest.$ac_ext <<_ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32469 version = xmUseVersion;
32475 rm -f conftest.$ac_objext
32476 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32493 { echo "$as_me:$LINENO: result: found in default search path" >&5
32494 echo "${ECHO_T}found in default search path" >&6; }
32495 COMPILED_X_PROGRAM
=1
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.
$ac_ext >&5
32502 { echo "$as_me:$LINENO: result: no" >&5
32503 echo "${ECHO_T}no" >&6; }
32504 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32505 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32506 { (exit 1); exit 1; }; }
32511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32513 CFLAGS
=$save_CFLAGS
32517 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32518 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32521 for ac_dir
in $SEARCH_LIB;
32523 for ac_extension
in a so sl dylib dll.a
; do
32524 if test -f "$ac_dir/libXm.$ac_extension"; then
32525 ac_find_libraries
=$ac_dir
32532 if test "x$ac_find_libraries" != "x" ; then
32533 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32534 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32537 if test "$ac_find_libraries" = "default location"; then
32540 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32542 if test $result = 0; then
32545 ac_path_to_link
=" -L$ac_find_libraries"
32549 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32551 save_CFLAGS
=$CFLAGS
32552 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32554 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32556 cat >conftest.
$ac_ext <<_ACEOF
32559 cat confdefs.h
>>conftest.
$ac_ext
32560 cat >>conftest.
$ac_ext <<_ACEOF
32561 /* end confdefs.h. */
32570 version = xmUseVersion;
32576 rm -f conftest.
$ac_objext conftest
$ac_exeext
32577 if { (ac_try
="$ac_link"
32578 case "(($ac_try" in
32579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32580 *) ac_try_echo=$ac_try;;
32582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32583 (eval "$ac_link") 2>conftest.er1
32585 grep -v '^ *+' conftest.er1 >conftest.err
32587 cat conftest.err >&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); } && {
32590 test -z "$ac_c_werror_flag" ||
32591 test ! -s conftest.err
32592 } && test -s conftest$ac_exeext &&
32593 $as_test_x conftest$ac_exeext; then
32595 { echo "$as_me:$LINENO: result: found in default search path" >&5
32596 echo "${ECHO_T}found in default search path" >&6; }
32597 COMPILED_X_PROGRAM=1
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32604 { echo "$as_me:$LINENO: result: no" >&5
32605 echo "${ECHO_T}no" >&6; }
32606 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32607 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32608 { (exit 1); exit 1; }; }
32613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32614 conftest$ac_exeext conftest.$ac_ext
32616 CFLAGS=$save_CFLAGS
32620 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32621 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32625 for libp in "" " -lXp"; do
32626 if test "$libs_found" = 0; then
32627 for libsm_ice in "" " -lSM -lICE"; do
32628 if test "$libs_found" = 0; then
32630 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32631 save_CFLAGS=$CFLAGS
32632 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32634 cat >conftest.$ac_ext <<_ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32642 #include <Xm/List.h>
32648 XmString string = NULL;
32651 XmListAddItem(w, string, position);
32657 rm -f conftest.$ac_objext conftest$ac_exeext
32658 if { (ac_try="$ac_link"
32659 case "(($ac_try" in
32660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32661 *) ac_try_echo
=$ac_try;;
32663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32664 (eval "$ac_link") 2>conftest.er1
32666 grep -v '^ *+' conftest.er1
>conftest.err
32668 cat conftest.err
>&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); } && {
32671 test -z "$ac_c_werror_flag" ||
32672 test ! -s conftest.err
32673 } && test -s conftest
$ac_exeext &&
32674 $as_test_x conftest
$ac_exeext; then
32677 libsm_ice_link
="$libsm_ice"
32678 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32679 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.
$ac_ext >&5
32690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32691 conftest
$ac_exeext conftest.
$ac_ext
32694 CFLAGS
=$save_CFLAGS
32700 if test "$libs_found" = 0; then
32701 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32702 echo "${ECHO_T}can't find the right libraries" >&6; }
32703 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32704 echo "$as_me: error: can't link a simple motif program" >&2;}
32705 { (exit 1); exit 1; }; }
32708 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32709 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32710 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32713 ac_check_lib_save_LIBS
=$LIBS
32715 cat >conftest.
$ac_ext <<_ACEOF
32718 cat confdefs.h
>>conftest.
$ac_ext
32719 cat >>conftest.
$ac_ext <<_ACEOF
32720 /* end confdefs.h. */
32722 /* Override any GCC internal prototype to avoid an error.
32723 Use char because int might match the return type of a GCC
32724 builtin and then its argument prototype would still apply. */
32728 char SgCreateList ();
32732 return SgCreateList ();
32737 rm -f conftest.
$ac_objext conftest
$ac_exeext
32738 if { (ac_try
="$ac_link"
32739 case "(($ac_try" in
32740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32741 *) ac_try_echo=$ac_try;;
32743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32744 (eval "$ac_link") 2>conftest.er1
32746 grep -v '^ *+' conftest.er1 >conftest.err
32748 cat conftest.err >&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); } && {
32751 test -z "$ac_c_werror_flag" ||
32752 test ! -s conftest.err
32753 } && test -s conftest$ac_exeext &&
32754 $as_test_x conftest$ac_exeext; then
32755 ac_cv_lib_Sgm_SgCreateList=yes
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32760 ac_cv_lib_Sgm_SgCreateList=no
32763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32764 conftest$ac_exeext conftest.$ac_ext
32765 LIBS=$ac_check_lib_save_LIBS
32767 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32768 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32769 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32770 libsgm_link=" -lSgm"
32774 save_CFLAGS=$CFLAGS
32775 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32777 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32778 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32779 if test "${wx_cv_lib_motif2+set}" = set; then
32780 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 cat >conftest.$ac_ext <<_ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h. */
32795 #if XmVersion < 2000
32803 rm -f conftest.$ac_objext
32804 if { (ac_try="$ac_compile"
32805 case "(($ac_try" in
32806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32807 *) ac_try_echo
=$ac_try;;
32809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32810 (eval "$ac_compile") 2>conftest.er1
32812 grep -v '^ *+' conftest.er1
>conftest.err
32814 cat conftest.err
>&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } && {
32817 test -z "$ac_c_werror_flag" ||
32818 test ! -s conftest.err
32819 } && test -s conftest.
$ac_objext; then
32820 wx_cv_lib_motif2
="yes"
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.
$ac_ext >&5
32825 wx_cv_lib_motif2
="no"
32828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32830 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32831 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32832 if test "$wx_cv_lib_motif2" = "yes"; then
32833 cat >>confdefs.h
<<\_ACEOF
32834 #define __WXMOTIF20__ 1
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define __WXMOTIF20__ 0
32844 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32845 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32846 if test "${wx_cv_lib_lesstif+set}" = set; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32849 cat >conftest.
$ac_ext <<_ACEOF
32852 cat confdefs.h
>>conftest.
$ac_ext
32853 cat >>conftest.
$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32862 #if !defined(LesstifVersion) || LesstifVersion <= 0
32870 rm -f conftest.
$ac_objext
32871 if { (ac_try
="$ac_compile"
32872 case "(($ac_try" in
32873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_compile") 2>conftest.er1
32879 grep -v '^ *+' conftest.er1 >conftest.err
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } && {
32884 test -z "$ac_c_werror_flag" ||
32885 test ! -s conftest.err
32886 } && test -s conftest.$ac_objext; then
32887 wx_cv_lib_lesstif="yes"
32889 echo "$as_me: failed program was:" >&5
32890 sed 's/^/| /' conftest.$ac_ext >&5
32892 wx_cv_lib_lesstif="no"
32895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32898 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32899 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32900 if test "$wx_cv_lib_lesstif" = "yes"; then
32901 cat >>confdefs.h <<\_ACEOF
32902 #define __WXLESSTIF__ 1
32906 cat >>confdefs.h <<\_ACEOF
32907 #define __WXLESSTIF__ 0
32912 CFLAGS=$save_CFLAGS
32914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32919 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32920 if test "$wxUSE_LIBXPM" = "sys"; then
32921 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32922 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32925 for ac_dir in $SEARCH_LIB;
32927 for ac_extension in a so sl dylib dll.a; do
32928 if test -f "$ac_dir/libXpm.$ac_extension"; then
32929 ac_find_libraries=$ac_dir
32935 if test "$ac_find_libraries" != "" ; then
32937 if test "$ac_find_libraries" = "default location"; then
32940 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32942 if test $result = 0; then
32945 ac_path_to_link=" -L$ac_find_libraries"
32949 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32950 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32951 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32953 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32954 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32955 if test "${wx_cv_x11_xpm_h+set}" = set; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 save_CFLAGS=$CFLAGS
32960 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32962 cat >conftest.$ac_ext <<_ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32969 #include <X11/xpm.h>
32976 version = XpmLibraryVersion();
32982 rm -f conftest.$ac_objext
32983 if { (ac_try="$ac_compile"
32984 case "(($ac_try" in
32985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32986 *) ac_try_echo
=$ac_try;;
32988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32989 (eval "$ac_compile") 2>conftest.er1
32991 grep -v '^ *+' conftest.er1
>conftest.err
32993 cat conftest.err
>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); } && {
32996 test -z "$ac_c_werror_flag" ||
32997 test ! -s conftest.err
32998 } && test -s conftest.
$ac_objext; then
32999 wx_cv_x11_xpm_h
=yes
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.
$ac_ext >&5
33008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33010 CFLAGS
=$save_CFLAGS
33014 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33015 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33017 if test $wx_cv_x11_xpm_h = "yes"; then
33018 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33019 cat >>confdefs.h
<<\_ACEOF
33020 #define wxHAVE_LIB_XPM 1
33024 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33025 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33031 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33032 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33033 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 ac_check_lib_save_LIBS
=$LIBS
33037 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33038 cat >conftest.
$ac_ext <<_ACEOF
33041 cat confdefs.h
>>conftest.
$ac_ext
33042 cat >>conftest.
$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33045 /* Override any GCC internal prototype to avoid an error.
33046 Use char because int might match the return type of a GCC
33047 builtin and then its argument prototype would still apply. */
33051 char XShapeQueryExtension ();
33055 return XShapeQueryExtension ();
33060 rm -f conftest.
$ac_objext conftest
$ac_exeext
33061 if { (ac_try
="$ac_link"
33062 case "(($ac_try" in
33063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33064 *) ac_try_echo=$ac_try;;
33066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33067 (eval "$ac_link") 2>conftest.er1
33069 grep -v '^ *+' conftest.er1 >conftest.err
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } && {
33074 test -z "$ac_c_werror_flag" ||
33075 test ! -s conftest.err
33076 } && test -s conftest$ac_exeext &&
33077 $as_test_x conftest$ac_exeext; then
33078 ac_cv_lib_Xext_XShapeQueryExtension=yes
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33083 ac_cv_lib_Xext_XShapeQueryExtension=no
33086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33087 conftest$ac_exeext conftest.$ac_ext
33088 LIBS=$ac_check_lib_save_LIBS
33090 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33091 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33092 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33100 if test "$wxHAVE_XEXT_LIB" = 1; then
33101 save_CFLAGS="$CFLAGS"
33102 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33104 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33105 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33106 cat >conftest.$ac_ext <<_ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33113 #include <X11/Xlib.h>
33114 #include <X11/extensions/shape.h>
33120 int dummy1, dummy2;
33121 XShapeQueryExtension((Display*)NULL,
33122 (int*)NULL, (int*)NULL);
33128 rm -f conftest.$ac_objext
33129 if { (ac_try="$ac_compile"
33130 case "(($ac_try" in
33131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33132 *) ac_try_echo
=$ac_try;;
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_compile") 2>conftest.er1
33137 grep -v '^ *+' conftest.er1
>conftest.err
33139 cat conftest.err
>&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest.
$ac_objext; then
33146 cat >>confdefs.h
<<\_ACEOF
33147 #define HAVE_XSHAPE 1
33150 { echo "$as_me:$LINENO: result: found" >&5
33151 echo "${ECHO_T}found" >&6; }
33154 echo "$as_me: failed program was:" >&5
33155 sed 's/^/| /' conftest.
$ac_ext >&5
33158 { echo "$as_me:$LINENO: result: not found" >&5
33159 echo "${ECHO_T}not found" >&6; }
33163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33164 CFLAGS
="$save_CFLAGS"
33169 if test "$wxUSE_OSX_CARBON" = 1; then
33170 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33171 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33172 if test "$GCC" = yes; then
33173 { echo "$as_me:$LINENO: result: gcc" >&5
33174 echo "${ECHO_T}gcc" >&6; }
33175 CPPFLAGS_PASCAL
="-fpascal-strings"
33176 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33177 { echo "$as_me:$LINENO: result: xlc" >&5
33178 echo "${ECHO_T}xlc" >&6; }
33179 CPPFLAGS_PASCAL
="-qmacpstr"
33181 { echo "$as_me:$LINENO: result: none" >&5
33182 echo "${ECHO_T}none" >&6; }
33185 if test "x$wxUSE_UNIX" = "xyes"; then
33186 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33188 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33192 GUIDIST
=OSX_CARBON_DIST
33193 WXBASEPORT
="_carbon"
33195 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33198 if test "$wxUSE_OSX_COCOA" = 1; then
33200 GUIDIST
=OSX_COCOA_DIST
33202 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33205 if test "$wxUSE_OSX_IPHONE" = 1; then
33209 if test "$wxUSE_OLD_COCOA" = 1; then
33214 if test "$wxUSE_PM" = 1; then
33217 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33218 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33219 if test "${wx_cv_spbcdata+set}" = set; then
33220 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 cat >conftest.
$ac_ext <<_ACEOF
33226 cat confdefs.h
>>conftest.
$ac_ext
33227 cat >>conftest.
$ac_ext <<_ACEOF
33228 /* end confdefs.h. */
33243 rm -f conftest.
$ac_objext
33244 if { (ac_try
="$ac_compile"
33245 case "(($ac_try" in
33246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33247 *) ac_try_echo=$ac_try;;
33249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33250 (eval "$ac_compile") 2>conftest.er1
33252 grep -v '^ *+' conftest.er1 >conftest.err
33254 cat conftest.err >&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); } && {
33257 test -z "$ac_c_werror_flag" ||
33258 test ! -s conftest.err
33259 } && test -s conftest.$ac_objext; then
33262 echo "$as_me: failed program was:" >&5
33263 sed 's/^/| /' conftest.$ac_ext >&5
33269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33273 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33274 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33276 if test $wx_cv_spbcdata = "yes"; then
33277 cat >>confdefs.h <<\_ACEOF
33278 #define HAVE_SPBCDATA 1
33284 if test "$TOOLKIT" = "PM" ; then
33287 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33290 if test "$wxUSE_UNIVERSAL" = "yes"; then
33291 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33295 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33296 DISTDIR="wx\$(TOOLKIT)"
33302 if test "$USE_WIN32" = 1 ; then
33306 GUIDIST="BASE_DIST"
33312 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33313 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33314 wxUSE_UNICODE_UTF8=yes
33315 elif test "$USE_OS2" = 1 ; then
33316 wxUSE_UNICODE_UTF8=yes
33318 wxUSE_UNICODE_UTF8=no
33323 if test "$wxUSE_GUI" = "yes"; then
33324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33326 for ac_header in X11/Xlib.h
33328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33332 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 cat >conftest.$ac_ext <<_ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33342 #include <$ac_header>
33344 rm -f conftest.$ac_objext
33345 if { (ac_try="$ac_compile"
33346 case "(($ac_try" in
33347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33348 *) ac_try_echo
=$ac_try;;
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351 (eval "$ac_compile") 2>conftest.er1
33353 grep -v '^ *+' conftest.er1
>conftest.err
33355 cat conftest.err
>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } && {
33358 test -z "$ac_c_werror_flag" ||
33359 test ! -s conftest.err
33360 } && test -s conftest.
$ac_objext; then
33361 eval "$as_ac_Header=yes"
33363 echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.
$ac_ext >&5
33366 eval "$as_ac_Header=no"
33369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33371 ac_res
=`eval echo '${'$as_ac_Header'}'`
33372 { echo "$as_me:$LINENO: result: $ac_res" >&5
33373 echo "${ECHO_T}$ac_res" >&6; }
33374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33375 cat >>confdefs.h
<<_ACEOF
33376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33384 for ac_header
in X
11/XKBlib.h
33386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33389 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33390 echo $ECHO_N "(cached) $ECHO_C" >&6
33392 cat >conftest.
$ac_ext <<_ACEOF
33395 cat confdefs.h
>>conftest.
$ac_ext
33396 cat >>conftest.
$ac_ext <<_ACEOF
33397 /* end confdefs.h. */
33399 #if HAVE_X11_XLIB_H
33400 #include <X11/Xlib.h>
33404 #include <$ac_header>
33406 rm -f conftest.
$ac_objext
33407 if { (ac_try
="$ac_compile"
33408 case "(($ac_try" in
33409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33410 *) ac_try_echo=$ac_try;;
33412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33413 (eval "$ac_compile") 2>conftest.er1
33415 grep -v '^ *+' conftest.er1 >conftest.err
33417 cat conftest.err >&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } && {
33420 test -z "$ac_c_werror_flag" ||
33421 test ! -s conftest.err
33422 } && test -s conftest.$ac_objext; then
33423 eval "$as_ac_Header=yes"
33425 echo "$as_me: failed program was:" >&5
33426 sed 's/^/| /' conftest.$ac_ext >&5
33428 eval "$as_ac_Header=no"
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33433 ac_res=`eval echo '${'$as_ac_Header'}'`
33434 { echo "$as_me:$LINENO: result: $ac_res" >&5
33435 echo "${ECHO_T}$ac_res" >&6; }
33436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33437 cat >>confdefs.h <<_ACEOF
33438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33450 if test "$wxUSE_DISPLAY" = "yes"; then
33451 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33452 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33453 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33456 for ac_dir in $SEARCH_LIB;
33458 for ac_extension in a so sl dylib dll.a; do
33459 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33460 ac_find_libraries=$ac_dir
33466 if test "$ac_find_libraries" != "" ; then
33468 if test "$ac_find_libraries" = "default location"; then
33471 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33473 if test $result = 0; then
33476 ac_path_to_link=" -L$ac_find_libraries"
33480 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33481 LDFLAGS="$LDFLAGS $ac_path_to_link"
33483 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33484 { echo "$as_me:$LINENO: result: yes" >&5
33485 echo "${ECHO_T}yes" >&6; }
33487 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33488 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33491 for ac_dir in $SEARCH_LIB;
33493 for ac_extension in a so sl dylib dll.a; do
33494 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33495 ac_find_libraries=$ac_dir
33501 if test "$ac_find_libraries" != "" ; then
33502 { echo "$as_me:$LINENO: result: yes" >&5
33503 echo "${ECHO_T}yes" >&6; }
33505 for ac_header in X11/extensions/xf86vmode.h
33507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 cat >conftest.$ac_ext <<_ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33520 #if HAVE_X11_XLIB_H
33521 #include <X11/Xlib.h>
33525 #include <$ac_header>
33527 rm -f conftest.$ac_objext
33528 if { (ac_try="$ac_compile"
33529 case "(($ac_try" in
33530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33531 *) ac_try_echo
=$ac_try;;
33533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33534 (eval "$ac_compile") 2>conftest.er1
33536 grep -v '^ *+' conftest.er1
>conftest.err
33538 cat conftest.err
>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } && {
33541 test -z "$ac_c_werror_flag" ||
33542 test ! -s conftest.err
33543 } && test -s conftest.
$ac_objext; then
33544 eval "$as_ac_Header=yes"
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.
$ac_ext >&5
33549 eval "$as_ac_Header=no"
33552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33554 ac_res
=`eval echo '${'$as_ac_Header'}'`
33555 { echo "$as_me:$LINENO: result: $ac_res" >&5
33556 echo "${ECHO_T}$ac_res" >&6; }
33557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33558 cat >>confdefs.h
<<_ACEOF
33559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33562 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33569 { echo "$as_me:$LINENO: result: no" >&5
33570 echo "${ECHO_T}no" >&6; }
33574 { echo "$as_me:$LINENO: result: no" >&5
33575 echo "${ECHO_T}no" >&6; }
33576 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33577 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33580 elif test "$wxUSE_MSW" = 1; then
33581 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33582 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33583 if test "${ac_cv_header_ddraw_h+set}" = set; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 cat >conftest.
$ac_ext <<_ACEOF
33589 cat confdefs.h
>>conftest.
$ac_ext
33590 cat >>conftest.
$ac_ext <<_ACEOF
33591 /* end confdefs.h. */
33592 #include <windows.h>
33596 rm -f conftest.
$ac_objext
33597 if { (ac_try
="$ac_compile"
33598 case "(($ac_try" in
33599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33600 *) ac_try_echo=$ac_try;;
33602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33603 (eval "$ac_compile") 2>conftest.er1
33605 grep -v '^ *+' conftest.er1 >conftest.err
33607 cat conftest.err >&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); } && {
33610 test -z "$ac_c_werror_flag" ||
33611 test ! -s conftest.err
33612 } && test -s conftest.$ac_objext; then
33613 ac_cv_header_ddraw_h=yes
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33618 ac_cv_header_ddraw_h=no
33621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33624 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33630 if test "$wxUSE_DETECT_SM" = "yes"; then
33631 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33632 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33633 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33636 for ac_dir in $SEARCH_LIB;
33638 for ac_extension in a so sl dylib dll.a; do
33639 if test -f "$ac_dir/libSM.$ac_extension"; then
33640 ac_find_libraries=$ac_dir
33646 if test "$ac_find_libraries" != "" ; then
33648 if test "$ac_find_libraries" = "default location"; then
33651 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33653 if test $result = 0; then
33656 ac_path_to_link=" -L$ac_find_libraries"
33660 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33661 LDFLAGS="$LDFLAGS $ac_path_to_link"
33663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33664 { echo "$as_me:$LINENO: result: yes" >&5
33665 echo "${ECHO_T}yes" >&6; }
33667 { echo "$as_me:$LINENO: result: no" >&5
33668 echo "${ECHO_T}no" >&6; }
33669 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33670 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33671 wxUSE_DETECT_SM="no"
33674 wxUSE_DETECT_SM="no"
33681 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33684 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33685 OPENGL_LIBS="-framework OpenGL -framework AGL"
33686 elif test "$wxUSE_MSW" = 1; then
33687 OPENGL_LIBS="-lopengl32 -lglu32"
33688 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33690 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33691 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33694 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33696 if test -f "$ac_dir/GL/gl.h"; then
33697 ac_find_includes=$ac_dir
33702 if test "$ac_find_includes" != "" ; then
33703 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33704 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33706 if test "x$ac_find_includes" = "x/usr/include"; then
33707 ac_path_to_include=""
33709 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33711 if test $result = 0; then
33712 ac_path_to_include=""
33714 ac_path_to_include=" -I$ac_find_includes"
33718 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33720 { echo "$as_me:$LINENO: result: not found" >&5
33721 echo "${ECHO_T}not found" >&6; }
33724 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33725 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33726 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33729 cat >conftest.$ac_ext <<_ACEOF
33732 cat confdefs.h >>conftest.$ac_ext
33733 cat >>conftest.$ac_ext <<_ACEOF
33734 /* end confdefs.h. */
33739 rm -f conftest.$ac_objext
33740 if { (ac_try="$ac_compile"
33741 case "(($ac_try" in
33742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33743 *) ac_try_echo
=$ac_try;;
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_compile") 2>conftest.er1
33748 grep -v '^ *+' conftest.er1
>conftest.err
33750 cat conftest.err
>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_c_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest.
$ac_objext; then
33756 ac_cv_header_GL_gl_h
=yes
33758 echo "$as_me: failed program was:" >&5
33759 sed 's/^/| /' conftest.
$ac_ext >&5
33761 ac_cv_header_GL_gl_h
=no
33764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33766 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33767 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33768 if test $ac_cv_header_GL_gl_h = yes; then
33770 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33771 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33772 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33775 cat >conftest.
$ac_ext <<_ACEOF
33778 cat confdefs.h
>>conftest.
$ac_ext
33779 cat >>conftest.
$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33783 #include <GL/glu.h>
33785 rm -f conftest.
$ac_objext
33786 if { (ac_try
="$ac_compile"
33787 case "(($ac_try" in
33788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33789 *) ac_try_echo=$ac_try;;
33791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33792 (eval "$ac_compile") 2>conftest.er1
33794 grep -v '^ *+' conftest.er1 >conftest.err
33796 cat conftest.err >&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } && {
33799 test -z "$ac_c_werror_flag" ||
33800 test ! -s conftest.err
33801 } && test -s conftest.$ac_objext; then
33802 ac_cv_header_GL_glu_h=yes
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33807 ac_cv_header_GL_glu_h=no
33810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33812 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33813 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33814 if test $ac_cv_header_GL_glu_h = yes; then
33818 { echo "$as_me:$LINENO: checking for -lGL" >&5
33819 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33822 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33824 for ac_extension in a so sl dylib dll.a; do
33825 if test -f "$ac_dir/libGL.$ac_extension"; then
33826 ac_find_libraries=$ac_dir
33832 if test "$ac_find_libraries" != "" ; then
33833 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33834 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33837 if test "$ac_find_libraries" = "default location"; then
33840 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33842 if test $result = 0; then
33845 ac_path_to_link=" -L$ac_find_libraries"
33849 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33850 LDFLAGS_GL="$ac_path_to_link"
33853 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33854 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33857 for ac_dir in $SEARCH_LIB;
33859 for ac_extension in a so sl dylib dll.a; do
33860 if test -f "$ac_dir/libGLU.$ac_extension"; then
33861 ac_find_libraries=$ac_dir
33867 if test "$ac_find_libraries" != "" ; then
33869 if test "$ac_find_libraries" = "default location"; then
33872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33874 if test $result = 0; then
33877 ac_path_to_link=" -L$ac_find_libraries"
33881 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33882 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33883 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33887 OPENGL_LIBS="-lGL -lGLU"
33888 { echo "$as_me:$LINENO: result: yes" >&5
33889 echo "${ECHO_T}yes" >&6; }
33891 { echo "$as_me:$LINENO: result: no" >&5
33892 echo "${ECHO_T}no" >&6; }
33895 { echo "$as_me:$LINENO: result: no" >&5
33896 echo "${ECHO_T}no" >&6; }
33899 if test "$found_gl" != 1; then
33900 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33901 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33904 for ac_dir in $SEARCH_LIB;
33906 for ac_extension in a so sl dylib dll.a; do
33907 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33908 ac_find_libraries=$ac_dir
33914 if test "$ac_find_libraries" != "" ; then
33916 if test "$ac_find_libraries" = "default location"; then
33919 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33921 if test $result = 0; then
33924 ac_path_to_link=" -L$ac_find_libraries"
33928 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33929 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33930 { echo "$as_me:$LINENO: result: yes" >&5
33931 echo "${ECHO_T}yes" >&6; }
33933 { echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6; }
33946 if test "x$OPENGL_LIBS" = "x"; then
33947 if test "$wxUSE_OPENGL" = "yes"; then
33948 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33949 echo "$as_me: error: OpenGL libraries not available" >&2;}
33950 { (exit 1); exit 1; }; }
33952 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33953 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33959 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33960 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33964 if test "$wxUSE_OPENGL" = "auto"; then
33968 if test "$wxUSE_OPENGL" = "yes"; then
33970 cat >>confdefs.h <<\_ACEOF
33971 #define wxUSE_OPENGL 1
33974 cat >>confdefs.h <<\_ACEOF
33975 #define wxUSE_GLCANVAS 1
33978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33983 if test -n "$TOOLKIT" ; then
33984 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33989 if test "$wxUSE_SHARED" = "yes"; then
33993 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33994 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33999 if test "$wxUSE_SHARED" = "yes"; then
34003 *-*-cygwin* | *-*-mingw* )
34004 wx_cv_version_script=no
34008 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34009 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34010 if test "${wx_cv_version_script+set}" = set; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34014 echo "VER_1 { *; };" >conftest.sym
34015 echo "int main() { return 0; }" >conftest.cpp
34018 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34019 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; } ; then
34025 if test -s conftest.stderr ; then
34026 wx_cv_version_script=no
34028 wx_cv_version_script=yes
34031 wx_cv_version_script=no
34034 if test $wx_cv_version_script = yes
34036 echo "struct B { virtual ~B() { } }; \
34037 struct D : public B { }; \
34038 void F() { D d; }" > conftest.cpp
34041 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34042 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; } &&
34049 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34050 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; }
34058 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34059 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; }
34066 wx_cv_version_script=yes
34068 wx_cv_version_script=no
34073 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34074 rm -f conftest1.output conftest2.output conftest3.output
34077 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34078 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34080 if test $wx_cv_version_script = yes ; then
34081 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34087 if test "$wxUSE_VISIBILITY" != "no"; then
34090 if test -n "$GCC"; then
34091 CFLAGS_VISIBILITY="-fvisibility=hidden"
34092 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34093 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34094 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34095 if test "${wx_cv_cc_visibility+set}" = set; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34099 wx_save_CXXFLAGS="$CXXFLAGS"
34100 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34102 ac_cpp='$CXXCPP $CPPFLAGS'
34103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34107 cat >conftest.$ac_ext <<_ACEOF
34110 cat confdefs.h >>conftest.$ac_ext
34111 cat >>conftest.$ac_ext <<_ACEOF
34112 /* end confdefs.h. */
34114 /* we need gcc >= 4.0, older versions with visibility support
34115 didn't have class visibility: */
34116 #if defined(__GNUC__) && __GNUC__ < 4
34117 error this gcc is too old;
34120 /* visibility only makes sense for ELF shared libs: */
34121 #if !defined(__ELF__) && !defined(__APPLE__)
34122 error this platform has no visibility;
34125 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34126 extern __attribute__((__visibility__("default"))) int exportedvar;
34127 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34128 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34129 class __attribute__((__visibility__("default"))) Foo {
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34145 *) ac_try_echo
=$ac_try;;
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34150 grep -v '^ *+' conftest.er1
>conftest.err
34152 cat conftest.err
>&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_cxx_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.
$ac_objext; then
34158 wx_cv_cc_visibility
=yes
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.
$ac_ext >&5
34163 wx_cv_cc_visibility
=no
34166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34168 ac_cpp
='$CPP $CPPFLAGS'
34169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34173 CXXFLAGS
="$wx_save_CXXFLAGS"
34176 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34177 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34178 if test $wx_cv_cc_visibility = yes; then
34179 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34180 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34181 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34182 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 wx_save_CXXFLAGS
="$CXXFLAGS"
34186 wx_save_LDFLAGS
="$LDFLAGS"
34187 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34188 LDFLAGS
="$LDFLAGS -shared -fPIC"
34190 ac_cpp
='$CXXCPP $CPPFLAGS'
34191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34195 cat >conftest.
$ac_ext <<_ACEOF
34198 cat confdefs.h
>>conftest.
$ac_ext
34199 cat >>conftest.
$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34208 std::string s("hello");
34215 rm -f conftest.
$ac_objext conftest
$ac_exeext
34216 if { (ac_try
="$ac_link"
34217 case "(($ac_try" in
34218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34219 *) ac_try_echo=$ac_try;;
34221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34222 (eval "$ac_link") 2>conftest.er1
34224 grep -v '^ *+' conftest.er1 >conftest.err
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } && {
34229 test -z "$ac_cxx_werror_flag" ||
34230 test ! -s conftest.err
34231 } && test -s conftest$ac_exeext &&
34232 $as_test_x conftest$ac_exeext; then
34233 wx_cv_cc_broken_libstdcxx_visibility=no
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34238 wx_cv_cc_broken_libstdcxx_visibility=yes
34241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34242 conftest$ac_exeext conftest.$ac_ext
34244 ac_cpp='$CPP $CPPFLAGS'
34245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34249 CXXFLAGS="$wx_save_CXXFLAGS"
34250 LDFLAGS="$wx_save_LDFLAGS"
34253 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34254 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34256 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34257 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34258 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34259 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 ac_cpp='$CXXCPP $CPPFLAGS'
34265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269 cat >conftest.$ac_ext <<_ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34276 #pragma GCC visibility push(default)
34278 #pragma GCC visibility pop
34284 std::string s("hello");
34291 rm -f conftest.$ac_objext conftest$ac_exeext
34292 if { (ac_try="$ac_link"
34293 case "(($ac_try" in
34294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34295 *) ac_try_echo
=$ac_try;;
34297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34298 (eval "$ac_link") 2>conftest.er1
34300 grep -v '^ *+' conftest.er1
>conftest.err
34302 cat conftest.err
>&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } && {
34305 test -z "$ac_cxx_werror_flag" ||
34306 test ! -s conftest.err
34307 } && test -s conftest
$ac_exeext &&
34308 $as_test_x conftest
$ac_exeext; then
34309 wx_cv_cc_visibility_workaround
=no
34311 echo "$as_me: failed program was:" >&5
34312 sed 's/^/| /' conftest.
$ac_ext >&5
34314 wx_cv_cc_visibility_workaround
=yes
34317 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34318 conftest
$ac_exeext conftest.
$ac_ext
34320 ac_cpp
='$CPP $CPPFLAGS'
34321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34328 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34329 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34331 if test $wx_cv_cc_visibility_workaround = no
; then
34332 wx_cv_cc_visibility
=no
34337 if test $wx_cv_cc_visibility = yes; then
34338 cat >>confdefs.h
<<\_ACEOF
34339 #define HAVE_VISIBILITY 1
34342 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34343 cat >>confdefs.h
<<\_ACEOF
34344 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34349 CFLAGS_VISIBILITY
=""
34350 CXXFLAGS_VISIBILITY
=""
34358 if test "x$SUNCXX" = xyes
; then
34359 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34360 WXCONFIG_RPATH
="-R\$libdir"
34363 *-*-linux* | *-*-gnu* )
34364 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34365 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34370 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34372 saveLdflags
="$LDFLAGS"
34373 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34374 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34375 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34376 cat >conftest.
$ac_ext <<_ACEOF
34379 cat confdefs.h
>>conftest.
$ac_ext
34380 cat >>conftest.
$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34391 rm -f conftest.
$ac_objext conftest
$ac_exeext
34392 if { (ac_try
="$ac_link"
34393 case "(($ac_try" in
34394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34395 *) ac_try_echo=$ac_try;;
34397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34398 (eval "$ac_link") 2>conftest.er1
34400 grep -v '^ *+' conftest.er1 >conftest.err
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } && {
34405 test -z "$ac_c_werror_flag" ||
34406 test ! -s conftest.err
34407 } && test -s conftest$ac_exeext &&
34408 $as_test_x conftest$ac_exeext; then
34410 { echo "$as_me:$LINENO: result: yes" >&5
34411 echo "${ECHO_T}yes" >&6; }
34412 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34413 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34420 { echo "$as_me:$LINENO: result: no" >&5
34421 echo "${ECHO_T}no" >&6; }
34422 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34423 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34424 LDFLAGS="$saveLdflags -Wl,-R,/"
34425 cat >conftest.$ac_ext <<_ACEOF
34428 cat confdefs.h >>conftest.$ac_ext
34429 cat >>conftest.$ac_ext <<_ACEOF
34430 /* end confdefs.h. */
34440 rm -f conftest.$ac_objext conftest$ac_exeext
34441 if { (ac_try="$ac_link"
34442 case "(($ac_try" in
34443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34444 *) ac_try_echo
=$ac_try;;
34446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34447 (eval "$ac_link") 2>conftest.er1
34449 grep -v '^ *+' conftest.er1
>conftest.err
34451 cat conftest.err
>&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } && {
34454 test -z "$ac_c_werror_flag" ||
34455 test ! -s conftest.err
34456 } && test -s conftest
$ac_exeext &&
34457 $as_test_x conftest
$ac_exeext; then
34459 { echo "$as_me:$LINENO: result: yes" >&5
34460 echo "${ECHO_T}yes" >&6; }
34461 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34462 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.
$ac_ext >&5
34469 { echo "$as_me:$LINENO: result: no" >&5
34470 echo "${ECHO_T}no" >&6; }
34474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34475 conftest
$ac_exeext conftest.
$ac_ext
34479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34480 conftest
$ac_exeext conftest.
$ac_ext
34481 LDFLAGS
="$saveLdflags"
34485 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34486 if test "$install_name_tool" -a -x "$install_name_tool"; then
34487 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34488 cat <<EOF >change-install-names
34490 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34491 for i in \${libnames} ; do
34492 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34493 for dep in \${libnames} ; do
34494 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34498 chmod +x change
-install-names
34499 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34502 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34505 *-*-cygwin* | *-*-mingw32* )
34509 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34510 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34516 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34518 if test $wxUSE_RPATH = "no"; then
34519 SAMPLES_RPATH_FLAG
=''
34520 DYLIB_PATH_POSTLINK
=''
34528 config_linkage_component
="-static"
34535 lib_unicode_suffix
=
34537 if test "$wxUSE_UNICODE" = "yes"; then
34538 lib_unicode_suffix
=u
34539 WX_CHARTYPE
="unicode"
34543 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34544 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34547 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34551 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34553 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34555 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34558 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34559 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34561 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34563 if test "${TOOLKIT_DIR}" = "os2"; then
34564 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34566 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34571 if test "$wxUSE_OLD_COCOA" = 1; then
34574 ac_cpp
='$CPP $CPPFLAGS'
34575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34581 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34582 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34583 cat >conftest.
$ac_ext <<_ACEOF
34586 cat confdefs.h
>>conftest.
$ac_ext
34587 cat >>conftest.
$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 #include <AppKit/NSEvent.h>
34590 #include <CoreFoundation/CoreFoundation.h>
34600 rm -f conftest.
$ac_objext
34601 if { (ac_try
="$ac_compile"
34602 case "(($ac_try" in
34603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34604 *) ac_try_echo=$ac_try;;
34606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34607 (eval "$ac_compile") 2>conftest.er1
34609 grep -v '^ *+' conftest.er1 >conftest.err
34611 cat conftest.err >&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } && {
34614 test -z "$ac_c_werror_flag" ||
34615 test ! -s conftest.err
34616 } && test -s conftest.$ac_objext; then
34617 { echo "$as_me:$LINENO: result: no" >&5
34618 echo "${ECHO_T}no" >&6; }
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34623 { echo "$as_me:$LINENO: result: yes" >&5
34624 echo "${ECHO_T}yes" >&6; }
34625 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34626 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34627 cat >conftest.$ac_ext <<_ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 #define __Point__ 1
34634 #include <AppKit/NSEvent.h>
34635 #include <CoreFoundation/CoreFoundation.h>
34645 rm -f conftest.$ac_objext
34646 if { (ac_try="$ac_compile"
34647 case "(($ac_try" in
34648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34649 *) ac_try_echo
=$ac_try;;
34651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34652 (eval "$ac_compile") 2>conftest.er1
34654 grep -v '^ *+' conftest.er1
>conftest.err
34656 cat conftest.err
>&5
34657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34658 (exit $ac_status); } && {
34659 test -z "$ac_c_werror_flag" ||
34660 test ! -s conftest.err
34661 } && test -s conftest.
$ac_objext; then
34662 { echo "$as_me:$LINENO: result: yes" >&5
34663 echo "${ECHO_T}yes" >&6; }
34664 cat >>confdefs.h
<<\_ACEOF
34665 #define __Point__ 1
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.
$ac_ext >&5
34673 { { echo "$as_me:$LINENO: error: no
34674 See \`config.log' for more details." >&5
34675 echo "$as_me: error: no
34676 See \`config.log' for more details." >&2;}
34677 { (exit 1); exit 1; }; }
34681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34687 ac_cpp
='$CPP $CPPFLAGS'
34688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34695 { echo "$as_me:$LINENO: checking for mode_t" >&5
34696 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34697 if test "${ac_cv_type_mode_t+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 cat >conftest.
$ac_ext <<_ACEOF
34703 cat confdefs.h
>>conftest.
$ac_ext
34704 cat >>conftest.
$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706 $ac_includes_default
34707 typedef mode_t ac__type_new_;
34711 if ((ac__type_new_ *) 0)
34713 if (sizeof (ac__type_new_))
34719 rm -f conftest.
$ac_objext
34720 if { (ac_try
="$ac_compile"
34721 case "(($ac_try" in
34722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34723 *) ac_try_echo=$ac_try;;
34725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34726 (eval "$ac_compile") 2>conftest.er1
34728 grep -v '^ *+' conftest.er1 >conftest.err
34730 cat conftest.err >&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } && {
34733 test -z "$ac_c_werror_flag" ||
34734 test ! -s conftest.err
34735 } && test -s conftest.$ac_objext; then
34736 ac_cv_type_mode_t=yes
34738 echo "$as_me: failed program was:" >&5
34739 sed 's/^/| /' conftest.$ac_ext >&5
34741 ac_cv_type_mode_t=no
34744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34746 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34747 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34748 if test $ac_cv_type_mode_t = yes; then
34752 cat >>confdefs.h <<_ACEOF
34758 { echo "$as_me:$LINENO: checking for off_t" >&5
34759 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34760 if test "${ac_cv_type_off_t+set}" = set; then
34761 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 cat >conftest.$ac_ext <<_ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769 $ac_includes_default
34770 typedef off_t ac__type_new_;
34774 if ((ac__type_new_ *) 0)
34776 if (sizeof (ac__type_new_))
34782 rm -f conftest.$ac_objext
34783 if { (ac_try="$ac_compile"
34784 case "(($ac_try" in
34785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34786 *) ac_try_echo
=$ac_try;;
34788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34789 (eval "$ac_compile") 2>conftest.er1
34791 grep -v '^ *+' conftest.er1
>conftest.err
34793 cat conftest.err
>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); } && {
34796 test -z "$ac_c_werror_flag" ||
34797 test ! -s conftest.err
34798 } && test -s conftest.
$ac_objext; then
34799 ac_cv_type_off_t
=yes
34801 echo "$as_me: failed program was:" >&5
34802 sed 's/^/| /' conftest.
$ac_ext >&5
34804 ac_cv_type_off_t
=no
34807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34809 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34810 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34811 if test $ac_cv_type_off_t = yes; then
34815 cat >>confdefs.h
<<_ACEOF
34816 #define off_t long int
34821 { echo "$as_me:$LINENO: checking for pid_t" >&5
34822 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34823 if test "${ac_cv_type_pid_t+set}" = set; then
34824 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 cat >conftest.
$ac_ext <<_ACEOF
34829 cat confdefs.h
>>conftest.
$ac_ext
34830 cat >>conftest.
$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34832 $ac_includes_default
34833 typedef pid_t ac__type_new_;
34837 if ((ac__type_new_ *) 0)
34839 if (sizeof (ac__type_new_))
34845 rm -f conftest.
$ac_objext
34846 if { (ac_try
="$ac_compile"
34847 case "(($ac_try" in
34848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_compile") 2>conftest.er1
34854 grep -v '^ *+' conftest.er1 >conftest.err
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } && {
34859 test -z "$ac_c_werror_flag" ||
34860 test ! -s conftest.err
34861 } && test -s conftest.$ac_objext; then
34862 ac_cv_type_pid_t=yes
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34867 ac_cv_type_pid_t=no
34870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34872 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34873 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34874 if test $ac_cv_type_pid_t = yes; then
34878 cat >>confdefs.h <<_ACEOF
34884 { echo "$as_me:$LINENO: checking for size_t" >&5
34885 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34886 if test "${ac_cv_type_size_t+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 cat >conftest.$ac_ext <<_ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895 $ac_includes_default
34896 typedef size_t ac__type_new_;
34900 if ((ac__type_new_ *) 0)
34902 if (sizeof (ac__type_new_))
34908 rm -f conftest.$ac_objext
34909 if { (ac_try="$ac_compile"
34910 case "(($ac_try" in
34911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34912 *) ac_try_echo
=$ac_try;;
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_compile") 2>conftest.er1
34917 grep -v '^ *+' conftest.er1
>conftest.err
34919 cat conftest.err
>&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_c_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest.
$ac_objext; then
34925 ac_cv_type_size_t
=yes
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.
$ac_ext >&5
34930 ac_cv_type_size_t
=no
34933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34935 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34936 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34937 if test $ac_cv_type_size_t = yes; then
34941 cat >>confdefs.h
<<_ACEOF
34942 #define size_t unsigned int
34948 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34949 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34950 if test "${ac_cv_type_ssize_t+set}" = set; then
34951 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 cat >conftest.
$ac_ext <<_ACEOF
34956 cat confdefs.h
>>conftest.
$ac_ext
34957 cat >>conftest.
$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 $ac_includes_default
34960 typedef ssize_t ac__type_new_;
34964 if ((ac__type_new_ *) 0)
34966 if (sizeof (ac__type_new_))
34972 rm -f conftest.
$ac_objext
34973 if { (ac_try
="$ac_compile"
34974 case "(($ac_try" in
34975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34976 *) ac_try_echo=$ac_try;;
34978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34979 (eval "$ac_compile") 2>conftest.er1
34981 grep -v '^ *+' conftest.er1 >conftest.err
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } && {
34986 test -z "$ac_c_werror_flag" ||
34987 test ! -s conftest.err
34988 } && test -s conftest.$ac_objext; then
34989 ac_cv_type_ssize_t=yes
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34994 ac_cv_type_ssize_t=no
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35000 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35001 if test $ac_cv_type_ssize_t = yes; then
35003 cat >>confdefs.h <<_ACEOF
35004 #define HAVE_SSIZE_T 1
35012 ac_cpp='$CXXCPP $CPPFLAGS'
35013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35017 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35018 if test "${wx_cv_size_t_is_uint+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 cat >conftest.$ac_ext <<_ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028 #include <stddef.h>
35035 struct Foo { void foo(size_t); void foo(unsigned int); };
35043 rm -f conftest.$ac_objext
35044 if { (ac_try="$ac_compile"
35045 case "(($ac_try" in
35046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35047 *) ac_try_echo
=$ac_try;;
35049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35050 (eval "$ac_compile") 2>conftest.er1
35052 grep -v '^ *+' conftest.er1
>conftest.err
35054 cat conftest.err
>&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } && {
35057 test -z "$ac_cxx_werror_flag" ||
35058 test ! -s conftest.err
35059 } && test -s conftest.
$ac_objext; then
35060 wx_cv_size_t_is_uint
=no
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.
$ac_ext >&5
35065 wx_cv_size_t_is_uint
=yes
35069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35073 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35074 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35076 if test "$wx_cv_size_t_is_uint" = "yes"; then
35077 cat >>confdefs.h
<<\_ACEOF
35078 #define wxSIZE_T_IS_UINT 1
35082 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35083 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35084 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 cat >conftest.
$ac_ext <<_ACEOF
35090 cat confdefs.h
>>conftest.
$ac_ext
35091 cat >>conftest.
$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 #include <stddef.h>
35100 struct Foo { void foo(size_t); void foo(unsigned long); };
35108 rm -f conftest.
$ac_objext
35109 if { (ac_try
="$ac_compile"
35110 case "(($ac_try" in
35111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35112 *) ac_try_echo=$ac_try;;
35114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35115 (eval "$ac_compile") 2>conftest.er1
35117 grep -v '^ *+' conftest.er1 >conftest.err
35119 cat conftest.err >&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); } && {
35122 test -z "$ac_cxx_werror_flag" ||
35123 test ! -s conftest.err
35124 } && test -s conftest.$ac_objext; then
35125 wx_cv_size_t_is_ulong=no
35127 echo "$as_me: failed program was:" >&5
35128 sed 's/^/| /' conftest.$ac_ext >&5
35130 wx_cv_size_t_is_ulong=yes
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35138 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35140 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35141 cat >>confdefs.h <<\_ACEOF
35142 #define wxSIZE_T_IS_ULONG 1
35148 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35149 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35150 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 cat >conftest.$ac_ext <<_ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35166 struct Foo { void foo(wchar_t);
35167 void foo(unsigned short);
35168 void foo(unsigned int);
35169 void foo(unsigned long); };
35177 rm -f conftest.$ac_objext
35178 if { (ac_try="$ac_compile"
35179 case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35181 *) ac_try_echo
=$ac_try;;
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_compile") 2>conftest.er1
35186 grep -v '^ *+' conftest.er1
>conftest.err
35188 cat conftest.err
>&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_cxx_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest.
$ac_objext; then
35194 wx_cv_wchar_t_is_separate_type
=yes
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.
$ac_ext >&5
35199 wx_cv_wchar_t_is_separate_type
=no
35203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35206 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35207 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35209 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35210 cat >>confdefs.h
<<\_ACEOF
35211 #define wxWCHAR_T_IS_REAL_TYPE 1
35215 cat >>confdefs.h
<<\_ACEOF
35216 #define wxWCHAR_T_IS_REAL_TYPE 0
35222 ac_cpp
='$CPP $CPPFLAGS'
35223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35228 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35229 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35230 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 cat >conftest.
$ac_ext <<_ACEOF
35237 cat confdefs.h
>>conftest.
$ac_ext
35238 cat >>conftest.
$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35253 rm -f conftest.
$ac_objext
35254 if { (ac_try
="$ac_compile"
35255 case "(($ac_try" in
35256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35257 *) ac_try_echo=$ac_try;;
35259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35260 (eval "$ac_compile") 2>conftest.er1
35262 grep -v '^ *+' conftest.er1 >conftest.err
35264 cat conftest.err >&5
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); } && {
35267 test -z "$ac_c_werror_flag" ||
35268 test ! -s conftest.err
35269 } && test -s conftest.$ac_objext; then
35271 wx_cv_struct_pw_gecos=yes
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35278 wx_cv_struct_pw_gecos=no
35283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35288 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35290 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35291 cat >>confdefs.h <<\_ACEOF
35292 #define HAVE_PW_GECOS 1
35298 if test "$wxUSE_WCHAR_T" = "yes"; then
35299 cat >>confdefs.h <<\_ACEOF
35300 #define wxUSE_WCHAR_T 1
35307 for ac_func in wcslen
35309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 cat >conftest.$ac_ext <<_ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35323 #define $ac_func innocuous_$ac_func
35325 /* System header to define __stub macros and hopefully few prototypes,
35326 which can conflict with char $ac_func (); below.
35327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35328 <limits.h> exists even on freestanding compilers. */
35331 # include <limits.h>
35333 # include <assert.h>
35338 /* Override any GCC internal prototype to avoid an error.
35339 Use char because int might match the return type of a GCC
35340 builtin and then its argument prototype would still apply. */
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined __stub_$ac_func || defined __stub___$ac_func
35355 return $ac_func ();
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (ac_try="$ac_link"
35362 case "(($ac_try" in
35363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35364 *) ac_try_echo
=$ac_try;;
35366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35367 (eval "$ac_link") 2>conftest.er1
35369 grep -v '^ *+' conftest.er1
>conftest.err
35371 cat conftest.err
>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } && {
35374 test -z "$ac_c_werror_flag" ||
35375 test ! -s conftest.err
35376 } && test -s conftest
$ac_exeext &&
35377 $as_test_x conftest
$ac_exeext; then
35378 eval "$as_ac_var=yes"
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35383 eval "$as_ac_var=no"
35386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35387 conftest
$ac_exeext conftest.
$ac_ext
35389 ac_res
=`eval echo '${'$as_ac_var'}'`
35390 { echo "$as_me:$LINENO: result: $ac_res" >&5
35391 echo "${ECHO_T}$ac_res" >&6; }
35392 if test `eval echo '${'$as_ac_var'}'` = yes; then
35393 cat >>confdefs.h
<<_ACEOF
35394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35401 if test "$WCSLEN_FOUND" = 0; then
35402 if test "$TOOLKIT" = "MSW"; then
35403 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35404 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35405 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 ac_check_lib_save_LIBS
=$LIBS
35409 LIBS
="-lmsvcrt $LIBS"
35410 cat >conftest.
$ac_ext <<_ACEOF
35413 cat confdefs.h
>>conftest.
$ac_ext
35414 cat >>conftest.
$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35417 /* Override any GCC internal prototype to avoid an error.
35418 Use char because int might match the return type of a GCC
35419 builtin and then its argument prototype would still apply. */
35432 rm -f conftest.
$ac_objext conftest
$ac_exeext
35433 if { (ac_try
="$ac_link"
35434 case "(($ac_try" in
35435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35436 *) ac_try_echo=$ac_try;;
35438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35439 (eval "$ac_link") 2>conftest.er1
35441 grep -v '^ *+' conftest.er1 >conftest.err
35443 cat conftest.err >&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } && {
35446 test -z "$ac_c_werror_flag" ||
35447 test ! -s conftest.err
35448 } && test -s conftest$ac_exeext &&
35449 $as_test_x conftest$ac_exeext; then
35450 ac_cv_lib_msvcrt_wcslen=yes
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.$ac_ext >&5
35455 ac_cv_lib_msvcrt_wcslen=no
35458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35459 conftest$ac_exeext conftest.$ac_ext
35460 LIBS=$ac_check_lib_save_LIBS
35462 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35463 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35464 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35469 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35470 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35471 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 ac_check_lib_save_LIBS=$LIBS
35476 cat >conftest.$ac_ext <<_ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35483 /* Override any GCC internal prototype to avoid an error.
35484 Use char because int might match the return type of a GCC
35485 builtin and then its argument prototype would still apply. */
35498 rm -f conftest.$ac_objext conftest$ac_exeext
35499 if { (ac_try="$ac_link"
35500 case "(($ac_try" in
35501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35502 *) ac_try_echo
=$ac_try;;
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_link") 2>conftest.er1
35507 grep -v '^ *+' conftest.er1
>conftest.err
35509 cat conftest.err
>&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } && {
35512 test -z "$ac_c_werror_flag" ||
35513 test ! -s conftest.err
35514 } && test -s conftest
$ac_exeext &&
35515 $as_test_x conftest
$ac_exeext; then
35516 ac_cv_lib_w_wcslen
=yes
35518 echo "$as_me: failed program was:" >&5
35519 sed 's/^/| /' conftest.
$ac_ext >&5
35521 ac_cv_lib_w_wcslen
=no
35524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35525 conftest
$ac_exeext conftest.
$ac_ext
35526 LIBS
=$ac_check_lib_save_LIBS
35528 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35529 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35530 if test $ac_cv_lib_w_wcslen = yes; then
35540 if test "$WCSLEN_FOUND" = 1; then
35541 cat >>confdefs.h
<<\_ACEOF
35542 #define HAVE_WCSLEN 1
35552 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35557 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 cat >conftest.
$ac_ext <<_ACEOF
35563 cat confdefs.h
>>conftest.
$ac_ext
35564 cat >>conftest.
$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35576 # include <limits.h>
35578 # include <assert.h>
35583 /* Override any GCC internal prototype to avoid an error.
35584 Use char because int might match the return type of a GCC
35585 builtin and then its argument prototype would still apply. */
35590 /* The GNU C library defines this for functions which it implements
35591 to always fail with ENOSYS. Some functions are actually named
35592 something starting with __ and the normal name is an alias. */
35593 #if defined __stub_$ac_func || defined __stub___$ac_func
35600 return $ac_func ();
35605 rm -f conftest.
$ac_objext conftest
$ac_exeext
35606 if { (ac_try
="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35609 *) ac_try_echo=$ac_try;;
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35614 grep -v '^ *+' conftest.er1 >conftest.err
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest$ac_exeext &&
35622 $as_test_x conftest$ac_exeext; then
35623 eval "$as_ac_var=yes"
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.$ac_ext >&5
35628 eval "$as_ac_var=no"
35631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35632 conftest$ac_exeext conftest.$ac_ext
35634 ac_res=`eval echo '${'$as_ac_var'}'`
35635 { echo "$as_me:$LINENO: result: $ac_res" >&5
35636 echo "${ECHO_T}$ac_res" >&6; }
35637 if test `eval echo '${'$as_ac_var'}'` = yes; then
35638 cat >>confdefs.h <<_ACEOF
35639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35646 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35647 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35650 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35651 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35652 if test "${ac_cv_type_mbstate_t+set}" = set; then
35653 echo $ECHO_N "(cached) $ECHO_C" >&6
35655 cat >conftest.$ac_ext <<_ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h. */
35663 typedef mbstate_t ac__type_new_;
35667 if ((ac__type_new_ *) 0)
35669 if (sizeof (ac__type_new_))
35675 rm -f conftest.$ac_objext
35676 if { (ac_try="$ac_compile"
35677 case "(($ac_try" in
35678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35679 *) ac_try_echo
=$ac_try;;
35681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35682 (eval "$ac_compile") 2>conftest.er1
35684 grep -v '^ *+' conftest.er1
>conftest.err
35686 cat conftest.err
>&5
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); } && {
35689 test -z "$ac_c_werror_flag" ||
35690 test ! -s conftest.err
35691 } && test -s conftest.
$ac_objext; then
35692 ac_cv_type_mbstate_t
=yes
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.
$ac_ext >&5
35697 ac_cv_type_mbstate_t
=no
35700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35702 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35703 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35704 if test $ac_cv_type_mbstate_t = yes; then
35706 cat >>confdefs.h
<<_ACEOF
35707 #define HAVE_MBSTATE_T 1
35711 for ac_func
in wcsrtombs
35713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35716 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 cat >conftest.
$ac_ext <<_ACEOF
35722 cat confdefs.h
>>conftest.
$ac_ext
35723 cat >>conftest.
$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35727 #define $ac_func innocuous_$ac_func
35729 /* System header to define __stub macros and hopefully few prototypes,
35730 which can conflict with char $ac_func (); below.
35731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35732 <limits.h> exists even on freestanding compilers. */
35735 # include <limits.h>
35737 # include <assert.h>
35742 /* Override any GCC internal prototype to avoid an error.
35743 Use char because int might match the return type of a GCC
35744 builtin and then its argument prototype would still apply. */
35749 /* The GNU C library defines this for functions which it implements
35750 to always fail with ENOSYS. Some functions are actually named
35751 something starting with __ and the normal name is an alias. */
35752 #if defined __stub_$ac_func || defined __stub___$ac_func
35759 return $ac_func ();
35764 rm -f conftest.
$ac_objext conftest
$ac_exeext
35765 if { (ac_try
="$ac_link"
35766 case "(($ac_try" in
35767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35768 *) ac_try_echo=$ac_try;;
35770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35771 (eval "$ac_link") 2>conftest.er1
35773 grep -v '^ *+' conftest.er1 >conftest.err
35775 cat conftest.err >&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); } && {
35778 test -z "$ac_c_werror_flag" ||
35779 test ! -s conftest.err
35780 } && test -s conftest$ac_exeext &&
35781 $as_test_x conftest$ac_exeext; then
35782 eval "$as_ac_var=yes"
35784 echo "$as_me: failed program was:" >&5
35785 sed 's/^/| /' conftest.$ac_ext >&5
35787 eval "$as_ac_var=no"
35790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35791 conftest$ac_exeext conftest.$ac_ext
35793 ac_res=`eval echo '${'$as_ac_var'}'`
35794 { echo "$as_me:$LINENO: result: $ac_res" >&5
35795 echo "${ECHO_T}$ac_res" >&6; }
35796 if test `eval echo '${'$as_ac_var'}'` = yes; then
35797 cat >>confdefs.h <<_ACEOF
35798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35807 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35808 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35814 for ac_func in snprintf vsnprintf vsscanf
35816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35820 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 cat >conftest.$ac_ext <<_ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35830 #define $ac_func innocuous_$ac_func
35832 /* System header to define __stub macros and hopefully few prototypes,
35833 which can conflict with char $ac_func (); below.
35834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35835 <limits.h> exists even on freestanding compilers. */
35838 # include <limits.h>
35840 # include <assert.h>
35845 /* Override any GCC internal prototype to avoid an error.
35846 Use char because int might match the return type of a GCC
35847 builtin and then its argument prototype would still apply. */
35852 /* The GNU C library defines this for functions which it implements
35853 to always fail with ENOSYS. Some functions are actually named
35854 something starting with __ and the normal name is an alias. */
35855 #if defined __stub_$ac_func || defined __stub___$ac_func
35862 return $ac_func ();
35867 rm -f conftest.$ac_objext conftest$ac_exeext
35868 if { (ac_try="$ac_link"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35871 *) ac_try_echo
=$ac_try;;
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_link") 2>conftest.er1
35876 grep -v '^ *+' conftest.er1
>conftest.err
35878 cat conftest.err
>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest
$ac_exeext &&
35884 $as_test_x conftest
$ac_exeext; then
35885 eval "$as_ac_var=yes"
35887 echo "$as_me: failed program was:" >&5
35888 sed 's/^/| /' conftest.
$ac_ext >&5
35890 eval "$as_ac_var=no"
35893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35894 conftest
$ac_exeext conftest.
$ac_ext
35896 ac_res
=`eval echo '${'$as_ac_var'}'`
35897 { echo "$as_me:$LINENO: result: $ac_res" >&5
35898 echo "${ECHO_T}$ac_res" >&6; }
35899 if test `eval echo '${'$as_ac_var'}'` = yes; then
35900 cat >>confdefs.h
<<_ACEOF
35901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35909 ac_cpp
='$CXXCPP $CPPFLAGS'
35910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35914 if test "$ac_cv_func_vsnprintf" = "yes"; then
35915 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35916 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35917 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.
$ac_ext <<_ACEOF
35924 cat confdefs.h
>>conftest.
$ac_ext
35925 cat >>conftest.
$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35929 #include <stdarg.h>
35931 #if __MSL__ >= 0x6000
35933 using namespace std;
35943 vsnprintf(buf, 10u, "%s", ap);
35949 rm -f conftest.
$ac_objext
35950 if { (ac_try
="$ac_compile"
35951 case "(($ac_try" in
35952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35953 *) ac_try_echo=$ac_try;;
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_compile") 2>conftest.er1
35958 grep -v '^ *+' conftest.er1 >conftest.err
35960 cat conftest.err >&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_cxx_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest.$ac_objext; then
35966 wx_cv_func_vsnprintf_decl=yes
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.$ac_ext >&5
35971 wx_cv_func_vsnprintf_decl=no
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35979 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35980 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35982 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35983 cat >>confdefs.h <<\_ACEOF
35984 #define HAVE_VSNPRINTF_DECL 1
35988 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35989 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35990 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 cat >conftest.$ac_ext <<_ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36002 #include <stdarg.h>
36004 #if __MSL__ >= 0x6000
36006 using namespace std;
36016 const char *fmt = "%s";
36017 vsnprintf(buf, 10u, fmt, ap);
36023 rm -f conftest.$ac_objext
36024 if { (ac_try="$ac_compile"
36025 case "(($ac_try" in
36026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36027 *) ac_try_echo
=$ac_try;;
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_compile") 2>conftest.er1
36032 grep -v '^ *+' conftest.er1
>conftest.err
36034 cat conftest.err
>&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_cxx_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest.
$ac_objext; then
36040 wx_cv_func_broken_vsnprintf_decl
=no
36042 echo "$as_me: failed program was:" >&5
36043 sed 's/^/| /' conftest.
$ac_ext >&5
36045 wx_cv_func_broken_vsnprintf_decl
=yes
36049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36053 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36054 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36056 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36057 cat >>confdefs.h
<<\_ACEOF
36058 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36065 if test "$ac_cv_func_snprintf" = "yes"; then
36066 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36067 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36068 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36069 echo $ECHO_N "(cached) $ECHO_C" >&6
36072 cat >conftest.
$ac_ext <<_ACEOF
36075 cat confdefs.h
>>conftest.
$ac_ext
36076 cat >>conftest.
$ac_ext <<_ACEOF
36077 /* end confdefs.h. */
36080 #include <stdarg.h>
36082 #if __MSL__ >= 0x6000
36084 using namespace std;
36093 snprintf(buf, 10u, "%s", "wx");
36099 rm -f conftest.
$ac_objext
36100 if { (ac_try
="$ac_compile"
36101 case "(($ac_try" in
36102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36103 *) ac_try_echo=$ac_try;;
36105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36106 (eval "$ac_compile") 2>conftest.er1
36108 grep -v '^ *+' conftest.er1 >conftest.err
36110 cat conftest.err >&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } && {
36113 test -z "$ac_cxx_werror_flag" ||
36114 test ! -s conftest.err
36115 } && test -s conftest.$ac_objext; then
36116 wx_cv_func_snprintf_decl=yes
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.$ac_ext >&5
36121 wx_cv_func_snprintf_decl=no
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36129 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36130 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36132 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36133 cat >>confdefs.h <<\_ACEOF
36134 #define HAVE_SNPRINTF_DECL 1
36139 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36141 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36142 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36143 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 if test "$cross_compiling" = yes; then
36149 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36150 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36151 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36152 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36153 wx_cv_func_snprintf_pos_params=no
36157 cat >conftest.$ac_ext <<_ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36169 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36170 if (strcmp ("2 3 1", buffer) == 0)
36176 rm -f conftest$ac_exeext
36177 if { (ac_try="$ac_link"
36178 case "(($ac_try" in
36179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36180 *) ac_try_echo
=$ac_try;;
36182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36183 (eval "$ac_link") 2>&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36187 { (case "(($ac_try" in
36188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36189 *) ac_try_echo=$ac_try;;
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_try") 2>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 wx_cv_func_snprintf_pos_params=no
36198 echo "$as_me: program exited with status $ac_status" >&5
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36202 ( exit $ac_status )
36203 wx_cv_func_snprintf_pos_params=yes
36205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36212 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36213 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36215 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36216 cat >>confdefs.h <<\_ACEOF
36217 #define HAVE_UNIX98_PRINTF 1
36224 if test "$ac_cv_func_vsscanf" = "yes"; then
36225 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36226 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36227 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 cat >conftest.$ac_ext <<_ACEOF
36234 cat confdefs.h >>conftest.$ac_ext
36235 cat >>conftest.$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36239 #include <stdarg.h>
36241 #if __MSL__ >= 0x6000
36243 using namespace std;
36253 vsscanf(buf, "%s", args);
36259 rm -f conftest.$ac_objext
36260 if { (ac_try="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36263 *) ac_try_echo
=$ac_try;;
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36268 grep -v '^ *+' conftest.er1
>conftest.err
36270 cat conftest.err
>&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_cxx_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.
$ac_objext; then
36276 wx_cv_func_vsscanf_decl
=yes
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.
$ac_ext >&5
36281 wx_cv_func_vsscanf_decl
=no
36285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36289 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36290 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36292 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36293 cat >>confdefs.h
<<\_ACEOF
36294 #define HAVE_VSSCANF_DECL 1
36300 ac_cpp
='$CPP $CPPFLAGS'
36301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36306 if test "$wxUSE_UNICODE" = yes; then
36308 wchar_headers
="#include <stdio.h>
36309 #include <wchar.h>"
36313 for ac_header
in widec.h
36315 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36318 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 cat >conftest.
$ac_ext <<_ACEOF
36324 cat confdefs.h
>>conftest.
$ac_ext
36325 cat >>conftest.
$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 $ac_includes_default
36329 #include <$ac_header>
36331 rm -f conftest.
$ac_objext
36332 if { (ac_try
="$ac_compile"
36333 case "(($ac_try" in
36334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36335 *) ac_try_echo=$ac_try;;
36337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36338 (eval "$ac_compile") 2>conftest.er1
36340 grep -v '^ *+' conftest.er1 >conftest.err
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } && {
36345 test -z "$ac_c_werror_flag" ||
36346 test ! -s conftest.err
36347 } && test -s conftest.$ac_objext; then
36348 eval "$as_ac_Header=yes"
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.$ac_ext >&5
36353 eval "$as_ac_Header=no"
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36358 ac_res=`eval echo '${'$as_ac_Header'}'`
36359 { echo "$as_me:$LINENO: result: $ac_res" >&5
36360 echo "${ECHO_T}$ac_res" >&6; }
36361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36362 cat >>confdefs.h <<_ACEOF
36363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36370 if test "$ac_cv_header_widec_h" = "yes"; then
36371 wchar_headers="$wchar_headers
36372 #include <widec.h>"
36377 for wx_func in putws fputws wprintf vswprintf vswscanf
36379 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36380 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36381 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 cat >conftest.$ac_ext <<_ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36394 $ac_includes_default
36410 rm -f conftest.$ac_objext conftest$ac_exeext
36411 if { (ac_try="$ac_link"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36414 *) ac_try_echo
=$ac_try;;
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_link") 2>conftest.er1
36419 grep -v '^ *+' conftest.er1
>conftest.err
36421 cat conftest.err
>&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest
$ac_exeext &&
36427 $as_test_x conftest
$ac_exeext; then
36428 eval wx_cv_func_
$wx_func=yes
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.
$ac_ext >&5
36433 eval wx_cv_func_
$wx_func=no
36436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36437 conftest
$ac_exeext conftest.
$ac_ext
36440 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36441 { echo "$as_me:$LINENO: result: $ac_res" >&5
36442 echo "${ECHO_T}$ac_res" >&6; }
36444 if eval test \
$wx_cv_func_$wx_func = yes
36446 cat >>confdefs.h
<<_ACEOF
36447 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36458 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36459 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36460 cat >conftest.
$ac_ext <<_ACEOF
36463 cat confdefs.h
>>conftest.
$ac_ext
36464 cat >>conftest.
$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36475 rm -f conftest.
$ac_objext
36476 if { (ac_try
="$ac_compile"
36477 case "(($ac_try" in
36478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36479 *) ac_try_echo=$ac_try;;
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_compile") 2>conftest.er1
36484 grep -v '^ *+' conftest.er1 >conftest.err
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_c_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest.$ac_objext; then
36492 { echo "$as_me:$LINENO: result: yes" >&5
36493 echo "${ECHO_T}yes" >&6; }
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE__VSNWPRINTF 1
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36502 { echo "$as_me:$LINENO: result: no" >&5
36503 echo "${ECHO_T}no" >&6; }
36506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36509 if test "$wxUSE_FILE" = "yes"; then
36511 for wx_func in fsync
36513 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36515 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36516 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 cat >conftest.$ac_ext <<_ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36528 $ac_includes_default
36544 rm -f conftest.$ac_objext conftest$ac_exeext
36545 if { (ac_try="$ac_link"
36546 case "(($ac_try" in
36547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36548 *) ac_try_echo
=$ac_try;;
36550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36551 (eval "$ac_link") 2>conftest.er1
36553 grep -v '^ *+' conftest.er1
>conftest.err
36555 cat conftest.err
>&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } && {
36558 test -z "$ac_c_werror_flag" ||
36559 test ! -s conftest.err
36560 } && test -s conftest
$ac_exeext &&
36561 $as_test_x conftest
$ac_exeext; then
36562 eval wx_cv_func_
$wx_func=yes
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.
$ac_ext >&5
36567 eval wx_cv_func_
$wx_func=no
36570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36571 conftest
$ac_exeext conftest.
$ac_ext
36574 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36575 { echo "$as_me:$LINENO: result: $ac_res" >&5
36576 echo "${ECHO_T}$ac_res" >&6; }
36578 if eval test \
$wx_cv_func_$wx_func = yes
36580 cat >>confdefs.h
<<_ACEOF
36581 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36594 ac_cpp
='$CXXCPP $CPPFLAGS'
36595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36600 for wx_func
in round
36602 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36603 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36604 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36608 cat >conftest.
$ac_ext <<_ACEOF
36612 cat confdefs.h
>>conftest.
$ac_ext
36613 cat >>conftest.
$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36617 $ac_includes_default
36633 rm -f conftest.
$ac_objext conftest
$ac_exeext
36634 if { (ac_try
="$ac_link"
36635 case "(($ac_try" in
36636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36637 *) ac_try_echo=$ac_try;;
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_link") 2>conftest.er1
36642 grep -v '^ *+' conftest.er1 >conftest.err
36644 cat conftest.err >&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest$ac_exeext &&
36650 $as_test_x conftest$ac_exeext; then
36651 eval wx_cv_func_$wx_func=yes
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36656 eval wx_cv_func_$wx_func=no
36659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36660 conftest$ac_exeext conftest.$ac_ext
36663 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36664 { echo "$as_me:$LINENO: result: $ac_res" >&5
36665 echo "${ECHO_T}$ac_res" >&6; }
36667 if eval test \$wx_cv_func_$wx_func = yes
36669 cat >>confdefs.h <<_ACEOF
36670 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36681 ac_cpp='$CPP $CPPFLAGS'
36682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687 if test "$TOOLKIT" != "MSW"; then
36689 if test "$wxUSE_LIBICONV" != "no" ; then
36693 # Check whether --with-libiconv-prefix was given.
36694 if test "${with_libiconv_prefix+set}" = set; then
36695 withval=$with_libiconv_prefix;
36696 for dir in `echo "$withval" | tr : ' '`; do
36697 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36698 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36704 { echo "$as_me:$LINENO: checking for iconv" >&5
36705 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36706 if test "${am_cv_func_iconv+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 am_cv_func_iconv="no, consider installing GNU libiconv"
36712 cat >conftest.$ac_ext <<_ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 #include <stdlib.h>
36723 iconv_t cd = iconv_open("","");
36724 iconv(cd,NULL,NULL,NULL,NULL);
36730 rm -f conftest.$ac_objext conftest$ac_exeext
36731 if { (ac_try="$ac_link"
36732 case "(($ac_try" in
36733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36734 *) ac_try_echo
=$ac_try;;
36736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36737 (eval "$ac_link") 2>conftest.er1
36739 grep -v '^ *+' conftest.er1
>conftest.err
36741 cat conftest.err
>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } && {
36744 test -z "$ac_c_werror_flag" ||
36745 test ! -s conftest.err
36746 } && test -s conftest
$ac_exeext &&
36747 $as_test_x conftest
$ac_exeext; then
36748 am_cv_func_iconv
=yes
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.
$ac_ext >&5
36756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36757 conftest
$ac_exeext conftest.
$ac_ext
36758 if test "$am_cv_func_iconv" != yes; then
36759 am_save_LIBS
="$LIBS"
36760 LIBS
="$LIBS -liconv"
36761 cat >conftest.
$ac_ext <<_ACEOF
36764 cat confdefs.h
>>conftest.
$ac_ext
36765 cat >>conftest.
$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767 #include <stdlib.h>
36772 iconv_t cd = iconv_open("","");
36773 iconv(cd,NULL,NULL,NULL,NULL);
36779 rm -f conftest.
$ac_objext conftest
$ac_exeext
36780 if { (ac_try
="$ac_link"
36781 case "(($ac_try" in
36782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36783 *) ac_try_echo=$ac_try;;
36785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36786 (eval "$ac_link") 2>conftest.er1
36788 grep -v '^ *+' conftest.er1 >conftest.err
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && {
36793 test -z "$ac_c_werror_flag" ||
36794 test ! -s conftest.err
36795 } && test -s conftest$ac_exeext &&
36796 $as_test_x conftest$ac_exeext; then
36797 am_cv_lib_iconv=yes
36798 am_cv_func_iconv=yes
36800 echo "$as_me: failed program was:" >&5
36801 sed 's/^/| /' conftest.$ac_ext >&5
36806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36807 conftest$ac_exeext conftest.$ac_ext
36808 LIBS="$am_save_LIBS"
36812 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36813 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36814 if test "$am_cv_func_iconv" = yes; then
36816 cat >>confdefs.h <<\_ACEOF
36817 #define HAVE_ICONV 1
36820 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36821 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36822 if test "${wx_cv_func_iconv_const+set}" = set; then
36823 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 cat >conftest.$ac_ext <<_ACEOF
36828 cat confdefs.h >>conftest.$ac_ext
36829 cat >>conftest.$ac_ext <<_ACEOF
36830 /* end confdefs.h. */
36832 #include <stdlib.h>
36838 #if defined(__STDC__) || defined(__cplusplus)
36839 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36852 rm -f conftest.$ac_objext
36853 if { (ac_try="$ac_compile"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36856 *) ac_try_echo
=$ac_try;;
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_compile") 2>conftest.er1
36861 grep -v '^ *+' conftest.er1
>conftest.err
36863 cat conftest.err
>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_c_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest.
$ac_objext; then
36869 wx_cv_func_iconv_const
="no"
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.
$ac_ext >&5
36874 wx_cv_func_iconv_const
="yes"
36878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36881 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36882 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36885 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36886 iconv_const
="const"
36890 cat >>confdefs.h
<<_ACEOF
36891 #define ICONV_CONST $iconv_const
36896 if test "$am_cv_lib_iconv" = yes; then
36901 LIBS
="$LIBICONV $LIBS"
36904 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36906 for ac_func
in sigaction
36908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 cat >conftest.
$ac_ext <<_ACEOF
36917 cat confdefs.h
>>conftest.
$ac_ext
36918 cat >>conftest.
$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36930 # include <limits.h>
36932 # include <assert.h>
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36954 return $ac_func ();
36959 rm -f conftest.
$ac_objext conftest
$ac_exeext
36960 if { (ac_try
="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36968 grep -v '^ *+' conftest.er1 >conftest.err
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36982 eval "$as_ac_var=no"
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37000 if test "$ac_cv_func_sigaction" = "no"; then
37001 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37002 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37003 wxUSE_ON_FATAL_EXCEPTION=no
37006 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37007 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37008 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37009 if test "${wx_cv_type_sa_handler+set}" = set; then
37010 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019 cat >conftest.$ac_ext <<_ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37025 #include <signal.h>
37030 extern void testSigHandler(int);
37032 struct sigaction sa;
37033 sa.sa_handler = testSigHandler;
37039 rm -f conftest.$ac_objext
37040 if { (ac_try="$ac_compile"
37041 case "(($ac_try" in
37042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37043 *) ac_try_echo
=$ac_try;;
37045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37046 (eval "$ac_compile") 2>conftest.er1
37048 grep -v '^ *+' conftest.er1
>conftest.err
37050 cat conftest.err
>&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } && {
37053 test -z "$ac_cxx_werror_flag" ||
37054 test ! -s conftest.err
37055 } && test -s conftest.
$ac_objext; then
37057 wx_cv_type_sa_handler
=int
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.
$ac_ext >&5
37064 wx_cv_type_sa_handler
=void
37068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37070 ac_cpp
='$CPP $CPPFLAGS'
37071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37077 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37078 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37080 cat >>confdefs.h
<<_ACEOF
37081 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37087 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37088 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37089 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37090 if test "${wx_cv_func_backtrace+set}" = set; then
37091 echo $ECHO_N "(cached) $ECHO_C" >&6
37095 ac_cpp
='$CXXCPP $CPPFLAGS'
37096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37100 cat >conftest.
$ac_ext <<_ACEOF
37103 cat confdefs.h
>>conftest.
$ac_ext
37104 cat >>conftest.
$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #include <execinfo.h>
37114 backtrace(trace, 1);
37115 messages = backtrace_symbols(trace, 1);
37121 rm -f conftest.
$ac_objext
37122 if { (ac_try
="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37130 grep -v '^ *+' conftest.er1 >conftest.err
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_func_backtrace=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37143 wx_cv_func_backtrace=no
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37149 ac_cpp='$CPP $CPPFLAGS'
37150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37157 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37158 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37161 if test "$wx_cv_func_backtrace" = "no"; then
37162 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37163 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37164 wxUSE_STACKWALKER=no
37166 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37167 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37168 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178 cat >conftest.$ac_ext <<_ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37184 #include <cxxabi.h>
37190 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37196 rm -f conftest.$ac_objext conftest$ac_exeext
37197 if { (ac_try="$ac_link"
37198 case "(($ac_try" in
37199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37200 *) ac_try_echo
=$ac_try;;
37202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37203 (eval "$ac_link") 2>conftest.er1
37205 grep -v '^ *+' conftest.er1
>conftest.err
37207 cat conftest.err
>&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); } && {
37210 test -z "$ac_cxx_werror_flag" ||
37211 test ! -s conftest.err
37212 } && test -s conftest
$ac_exeext &&
37213 $as_test_x conftest
$ac_exeext; then
37214 wx_cv_func_cxa_demangle
=yes
37216 echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.
$ac_ext >&5
37219 wx_cv_func_cxa_demangle
=no
37223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37224 conftest
$ac_exeext conftest.
$ac_ext
37226 ac_cpp
='$CPP $CPPFLAGS'
37227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37234 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37235 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37237 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37238 cat >>confdefs.h
<<\_ACEOF
37239 #define HAVE_CXA_DEMANGLE 1
37246 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37247 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37248 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37249 wxUSE_STACKWALKER
=no
37255 for ac_func
in mkstemp mktemp
37257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37260 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 cat >conftest.
$ac_ext <<_ACEOF
37266 cat confdefs.h
>>conftest.
$ac_ext
37267 cat >>conftest.
$ac_ext <<_ACEOF
37268 /* end confdefs.h. */
37269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37271 #define $ac_func innocuous_$ac_func
37273 /* System header to define __stub macros and hopefully few prototypes,
37274 which can conflict with char $ac_func (); below.
37275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37276 <limits.h> exists even on freestanding compilers. */
37279 # include <limits.h>
37281 # include <assert.h>
37286 /* Override any GCC internal prototype to avoid an error.
37287 Use char because int might match the return type of a GCC
37288 builtin and then its argument prototype would still apply. */
37293 /* The GNU C library defines this for functions which it implements
37294 to always fail with ENOSYS. Some functions are actually named
37295 something starting with __ and the normal name is an alias. */
37296 #if defined __stub_$ac_func || defined __stub___$ac_func
37303 return $ac_func ();
37308 rm -f conftest.
$ac_objext conftest
$ac_exeext
37309 if { (ac_try
="$ac_link"
37310 case "(($ac_try" in
37311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37312 *) ac_try_echo=$ac_try;;
37314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37315 (eval "$ac_link") 2>conftest.er1
37317 grep -v '^ *+' conftest.er1 >conftest.err
37319 cat conftest.err >&5
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); } && {
37322 test -z "$ac_c_werror_flag" ||
37323 test ! -s conftest.err
37324 } && test -s conftest$ac_exeext &&
37325 $as_test_x conftest$ac_exeext; then
37326 eval "$as_ac_var=yes"
37328 echo "$as_me: failed program was:" >&5
37329 sed 's/^/| /' conftest.$ac_ext >&5
37331 eval "$as_ac_var=no"
37334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37335 conftest$ac_exeext conftest.$ac_ext
37337 ac_res=`eval echo '${'$as_ac_var'}'`
37338 { echo "$as_me:$LINENO: result: $ac_res" >&5
37339 echo "${ECHO_T}$ac_res" >&6; }
37340 if test `eval echo '${'$as_ac_var'}'` = yes; then
37341 cat >>confdefs.h <<_ACEOF
37342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37349 { echo "$as_me:$LINENO: checking for statfs" >&5
37350 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37351 if test "${wx_cv_func_statfs+set}" = set; then
37352 echo $ECHO_N "(cached) $ECHO_C" >&6
37354 cat >conftest.$ac_ext <<_ACEOF
37357 cat confdefs.h >>conftest.$ac_ext
37358 cat >>conftest.$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37361 #if defined(__BSD__)
37362 #include <sys/param.h>
37363 #include <sys/mount.h>
37365 #include <sys/vfs.h>
37383 rm -f conftest.$ac_objext
37384 if { (ac_try="$ac_compile"
37385 case "(($ac_try" in
37386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37387 *) ac_try_echo
=$ac_try;;
37389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37390 (eval "$ac_compile") 2>conftest.er1
37392 grep -v '^ *+' conftest.er1
>conftest.err
37394 cat conftest.err
>&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } && {
37397 test -z "$ac_c_werror_flag" ||
37398 test ! -s conftest.err
37399 } && test -s conftest.
$ac_objext; then
37400 wx_cv_func_statfs
=yes
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.
$ac_ext >&5
37405 wx_cv_func_statfs
=no
37409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37412 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37413 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37415 if test "$wx_cv_func_statfs" = "yes"; then
37416 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37417 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37418 if test "${wx_cv_func_statfs_decl+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 ac_cpp
='$CXXCPP $CPPFLAGS'
37423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37427 cat >conftest.
$ac_ext <<_ACEOF
37430 cat confdefs.h
>>conftest.
$ac_ext
37431 cat >>conftest.
$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37434 #if defined(__BSD__)
37435 #include <sys/param.h>
37436 #include <sys/mount.h>
37438 #include <sys/vfs.h>
37452 rm -f conftest.
$ac_objext
37453 if { (ac_try
="$ac_compile"
37454 case "(($ac_try" in
37455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37456 *) ac_try_echo=$ac_try;;
37458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37459 (eval "$ac_compile") 2>conftest.er1
37461 grep -v '^ *+' conftest.er1 >conftest.err
37463 cat conftest.err >&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); } && {
37466 test -z "$ac_cxx_werror_flag" ||
37467 test ! -s conftest.err
37468 } && test -s conftest.$ac_objext; then
37469 wx_cv_func_statfs_decl=yes
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37474 wx_cv_func_statfs_decl=no
37478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37480 ac_cpp='$CPP $CPPFLAGS'
37481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37488 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37490 if test "$wx_cv_func_statfs_decl" = "yes"; then
37491 cat >>confdefs.h <<\_ACEOF
37492 #define HAVE_STATFS_DECL 1
37497 wx_cv_type_statvfs_t="struct statfs"
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_STATFS 1
37503 { echo "$as_me:$LINENO: checking for statvfs" >&5
37504 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37505 if test "${wx_cv_func_statvfs+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 cat >conftest.$ac_ext <<_ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37515 #include <stddef.h>
37516 #include <sys/statvfs.h>
37522 statvfs("/", NULL);
37528 rm -f conftest.$ac_objext
37529 if { (ac_try="$ac_compile"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37532 *) ac_try_echo
=$ac_try;;
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_compile") 2>conftest.er1
37537 grep -v '^ *+' conftest.er1
>conftest.err
37539 cat conftest.err
>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } && {
37542 test -z "$ac_c_werror_flag" ||
37543 test ! -s conftest.err
37544 } && test -s conftest.
$ac_objext; then
37545 wx_cv_func_statvfs
=yes
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.
$ac_ext >&5
37550 wx_cv_func_statvfs
=no
37554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37557 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37558 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37560 if test "$wx_cv_func_statvfs" = "yes"; then
37561 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37562 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37563 if test "${wx_cv_type_statvfs_t+set}" = set; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 ac_cpp
='$CXXCPP $CPPFLAGS'
37568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37572 cat >conftest.
$ac_ext <<_ACEOF
37575 cat confdefs.h
>>conftest.
$ac_ext
37576 cat >>conftest.
$ac_ext <<_ACEOF
37577 /* end confdefs.h. */
37579 #include <sys/statvfs.h>
37596 rm -f conftest.
$ac_objext
37597 if { (ac_try
="$ac_compile"
37598 case "(($ac_try" in
37599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37600 *) ac_try_echo=$ac_try;;
37602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37603 (eval "$ac_compile") 2>conftest.er1
37605 grep -v '^ *+' conftest.er1 >conftest.err
37607 cat conftest.err >&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); } && {
37610 test -z "$ac_cxx_werror_flag" ||
37611 test ! -s conftest.err
37612 } && test -s conftest.$ac_objext; then
37613 wx_cv_type_statvfs_t=statvfs_t
37615 echo "$as_me: failed program was:" >&5
37616 sed 's/^/| /' conftest.$ac_ext >&5
37619 cat >conftest.$ac_ext <<_ACEOF
37622 cat confdefs.h >>conftest.$ac_ext
37623 cat >>conftest.$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37626 #include <sys/statvfs.h>
37643 rm -f conftest.$ac_objext
37644 if { (ac_try="$ac_compile"
37645 case "(($ac_try" in
37646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37647 *) ac_try_echo
=$ac_try;;
37649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37650 (eval "$ac_compile") 2>conftest.er1
37652 grep -v '^ *+' conftest.er1
>conftest.err
37654 cat conftest.err
>&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); } && {
37657 test -z "$ac_cxx_werror_flag" ||
37658 test ! -s conftest.err
37659 } && test -s conftest.
$ac_objext; then
37660 wx_cv_type_statvfs_t
="struct statvfs"
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.
$ac_ext >&5
37665 wx_cv_type_statvfs_t
="unknown"
37669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37676 ac_cpp
='$CPP $CPPFLAGS'
37677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37683 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37684 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37686 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37687 cat >>confdefs.h
<<\_ACEOF
37688 #define HAVE_STATVFS 1
37693 wx_cv_type_statvfs_t
="unknown"
37697 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37698 cat >>confdefs.h
<<_ACEOF
37699 #define WX_STATFS_T $wx_cv_type_statvfs_t
37703 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37704 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37707 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37710 for ac_func
in fcntl flock
37712 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37715 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37718 cat >conftest.
$ac_ext <<_ACEOF
37721 cat confdefs.h
>>conftest.
$ac_ext
37722 cat >>conftest.
$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37726 #define $ac_func innocuous_$ac_func
37728 /* System header to define __stub macros and hopefully few prototypes,
37729 which can conflict with char $ac_func (); below.
37730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37731 <limits.h> exists even on freestanding compilers. */
37734 # include <limits.h>
37736 # include <assert.h>
37741 /* Override any GCC internal prototype to avoid an error.
37742 Use char because int might match the return type of a GCC
37743 builtin and then its argument prototype would still apply. */
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined __stub_$ac_func || defined __stub___$ac_func
37758 return $ac_func ();
37763 rm -f conftest.
$ac_objext conftest
$ac_exeext
37764 if { (ac_try
="$ac_link"
37765 case "(($ac_try" in
37766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37767 *) ac_try_echo=$ac_try;;
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_link") 2>conftest.er1
37772 grep -v '^ *+' conftest.er1 >conftest.err
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_c_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest$ac_exeext &&
37780 $as_test_x conftest$ac_exeext; then
37781 eval "$as_ac_var=yes"
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.$ac_ext >&5
37786 eval "$as_ac_var=no"
37789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37790 conftest$ac_exeext conftest.$ac_ext
37792 ac_res=`eval echo '${'$as_ac_var'}'`
37793 { echo "$as_me:$LINENO: result: $ac_res" >&5
37794 echo "${ECHO_T}$ac_res" >&6; }
37795 if test `eval echo '${'$as_ac_var'}'` = yes; then
37796 cat >>confdefs.h <<_ACEOF
37797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37805 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37806 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37807 wxUSE_SNGLINST_CHECKER=no
37813 for ac_func in setenv putenv
37815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37821 cat >conftest.$ac_ext <<_ACEOF
37824 cat confdefs.h >>conftest.$ac_ext
37825 cat >>conftest.$ac_ext <<_ACEOF
37826 /* end confdefs.h. */
37827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37829 #define $ac_func innocuous_$ac_func
37831 /* System header to define __stub macros and hopefully few prototypes,
37832 which can conflict with char $ac_func (); below.
37833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37834 <limits.h> exists even on freestanding compilers. */
37837 # include <limits.h>
37839 # include <assert.h>
37844 /* Override any GCC internal prototype to avoid an error.
37845 Use char because int might match the return type of a GCC
37846 builtin and then its argument prototype would still apply. */
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined __stub_$ac_func || defined __stub___$ac_func
37861 return $ac_func ();
37866 rm -f conftest.$ac_objext conftest$ac_exeext
37867 if { (ac_try="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37870 *) ac_try_echo
=$ac_try;;
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37875 grep -v '^ *+' conftest.er1
>conftest.err
37877 cat conftest.err
>&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest
$ac_exeext &&
37883 $as_test_x conftest
$ac_exeext; then
37884 eval "$as_ac_var=yes"
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.
$ac_ext >&5
37889 eval "$as_ac_var=no"
37892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37893 conftest
$ac_exeext conftest.
$ac_ext
37895 ac_res
=`eval echo '${'$as_ac_var'}'`
37896 { echo "$as_me:$LINENO: result: $ac_res" >&5
37897 echo "${ECHO_T}$ac_res" >&6; }
37898 if test `eval echo '${'$as_ac_var'}'` = yes; then
37899 cat >>confdefs.h
<<_ACEOF
37900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37906 if test "$ac_cv_func_setenv" = "yes"; then
37908 for ac_func
in unsetenv
37910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37913 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 cat >conftest.
$ac_ext <<_ACEOF
37919 cat confdefs.h
>>conftest.
$ac_ext
37920 cat >>conftest.
$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37924 #define $ac_func innocuous_$ac_func
37926 /* System header to define __stub macros and hopefully few prototypes,
37927 which can conflict with char $ac_func (); below.
37928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37929 <limits.h> exists even on freestanding compilers. */
37932 # include <limits.h>
37934 # include <assert.h>
37939 /* Override any GCC internal prototype to avoid an error.
37940 Use char because int might match the return type of a GCC
37941 builtin and then its argument prototype would still apply. */
37946 /* The GNU C library defines this for functions which it implements
37947 to always fail with ENOSYS. Some functions are actually named
37948 something starting with __ and the normal name is an alias. */
37949 #if defined __stub_$ac_func || defined __stub___$ac_func
37956 return $ac_func ();
37961 rm -f conftest.
$ac_objext conftest
$ac_exeext
37962 if { (ac_try
="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37965 *) ac_try_echo=$ac_try;;
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37970 grep -v '^ *+' conftest.er1 >conftest.err
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest$ac_exeext &&
37978 $as_test_x conftest$ac_exeext; then
37979 eval "$as_ac_var=yes"
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37984 eval "$as_ac_var=no"
37987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37988 conftest$ac_exeext conftest.$ac_ext
37990 ac_res=`eval echo '${'$as_ac_var'}'`
37991 { echo "$as_me:$LINENO: result: $ac_res" >&5
37992 echo "${ECHO_T}$ac_res" >&6; }
37993 if test `eval echo '${'$as_ac_var'}'` = yes; then
37994 cat >>confdefs.h <<_ACEOF
37995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38003 HAVE_SOME_SLEEP_FUNC=0
38004 if test "$USE_BEOS" = 1; then
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE_SLEEP 1
38009 HAVE_SOME_SLEEP_FUNC=1
38012 if test "$USE_DARWIN" = 1; then
38013 cat >>confdefs.h <<\_ACEOF
38014 #define HAVE_USLEEP 1
38017 HAVE_SOME_SLEEP_FUNC=1
38020 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38023 for ac_func in nanosleep
38025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 cat >conftest.$ac_ext <<_ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38039 #define $ac_func innocuous_$ac_func
38041 /* System header to define __stub macros and hopefully few prototypes,
38042 which can conflict with char $ac_func (); below.
38043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38044 <limits.h> exists even on freestanding compilers. */
38047 # include <limits.h>
38049 # include <assert.h>
38054 /* Override any GCC internal prototype to avoid an error.
38055 Use char because int might match the return type of a GCC
38056 builtin and then its argument prototype would still apply. */
38061 /* The GNU C library defines this for functions which it implements
38062 to always fail with ENOSYS. Some functions are actually named
38063 something starting with __ and the normal name is an alias. */
38064 #if defined __stub_$ac_func || defined __stub___$ac_func
38071 return $ac_func ();
38076 rm -f conftest.$ac_objext conftest$ac_exeext
38077 if { (ac_try="$ac_link"
38078 case "(($ac_try" in
38079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38080 *) ac_try_echo
=$ac_try;;
38082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38083 (eval "$ac_link") 2>conftest.er1
38085 grep -v '^ *+' conftest.er1
>conftest.err
38087 cat conftest.err
>&5
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); } && {
38090 test -z "$ac_c_werror_flag" ||
38091 test ! -s conftest.err
38092 } && test -s conftest
$ac_exeext &&
38093 $as_test_x conftest
$ac_exeext; then
38094 eval "$as_ac_var=yes"
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.
$ac_ext >&5
38099 eval "$as_ac_var=no"
38102 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38103 conftest
$ac_exeext conftest.
$ac_ext
38105 ac_res
=`eval echo '${'$as_ac_var'}'`
38106 { echo "$as_me:$LINENO: result: $ac_res" >&5
38107 echo "${ECHO_T}$ac_res" >&6; }
38108 if test `eval echo '${'$as_ac_var'}'` = yes; then
38109 cat >>confdefs.h
<<_ACEOF
38110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38112 cat >>confdefs.h
<<\_ACEOF
38113 #define HAVE_NANOSLEEP 1
38118 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38119 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38120 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 ac_check_lib_save_LIBS
=$LIBS
38124 LIBS
="-lposix4 $LIBS"
38125 cat >conftest.
$ac_ext <<_ACEOF
38128 cat confdefs.h
>>conftest.
$ac_ext
38129 cat >>conftest.
$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38132 /* Override any GCC internal prototype to avoid an error.
38133 Use char because int might match the return type of a GCC
38134 builtin and then its argument prototype would still apply. */
38142 return nanosleep ();
38147 rm -f conftest.
$ac_objext conftest
$ac_exeext
38148 if { (ac_try
="$ac_link"
38149 case "(($ac_try" in
38150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38151 *) ac_try_echo=$ac_try;;
38153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38154 (eval "$ac_link") 2>conftest.er1
38156 grep -v '^ *+' conftest.er1 >conftest.err
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } && {
38161 test -z "$ac_c_werror_flag" ||
38162 test ! -s conftest.err
38163 } && test -s conftest$ac_exeext &&
38164 $as_test_x conftest$ac_exeext; then
38165 ac_cv_lib_posix4_nanosleep=yes
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38170 ac_cv_lib_posix4_nanosleep=no
38173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38174 conftest$ac_exeext conftest.$ac_ext
38175 LIBS=$ac_check_lib_save_LIBS
38177 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38178 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38179 if test $ac_cv_lib_posix4_nanosleep = yes; then
38181 cat >>confdefs.h <<\_ACEOF
38182 #define HAVE_NANOSLEEP 1
38185 POSIX4_LINK=" -lposix4"
38190 for wx_func in usleep
38192 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38193 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38194 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 cat >conftest.$ac_ext <<_ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38207 $ac_includes_default
38223 rm -f conftest.$ac_objext conftest$ac_exeext
38224 if { (ac_try="$ac_link"
38225 case "(($ac_try" in
38226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38227 *) ac_try_echo
=$ac_try;;
38229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38230 (eval "$ac_link") 2>conftest.er1
38232 grep -v '^ *+' conftest.er1
>conftest.err
38234 cat conftest.err
>&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && {
38237 test -z "$ac_c_werror_flag" ||
38238 test ! -s conftest.err
38239 } && test -s conftest
$ac_exeext &&
38240 $as_test_x conftest
$ac_exeext; then
38241 eval wx_cv_func_
$wx_func=yes
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.
$ac_ext >&5
38246 eval wx_cv_func_
$wx_func=no
38249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38250 conftest
$ac_exeext conftest.
$ac_ext
38253 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38254 { echo "$as_me:$LINENO: result: $ac_res" >&5
38255 echo "${ECHO_T}$ac_res" >&6; }
38257 if eval test \
$wx_cv_func_$wx_func = yes
38259 cat >>confdefs.h
<<_ACEOF
38260 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38266 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38267 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38284 for wx_func
in uname
38286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38288 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38289 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 cat >conftest.
$ac_ext <<_ACEOF
38296 cat confdefs.h
>>conftest.
$ac_ext
38297 cat >>conftest.
$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38300 #include <sys/utsname.h>
38301 $ac_includes_default
38317 rm -f conftest.
$ac_objext conftest
$ac_exeext
38318 if { (ac_try
="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>conftest.er1
38326 grep -v '^ *+' conftest.er1 >conftest.err
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } && {
38331 test -z "$ac_c_werror_flag" ||
38332 test ! -s conftest.err
38333 } && test -s conftest$ac_exeext &&
38334 $as_test_x conftest$ac_exeext; then
38335 eval wx_cv_func_$wx_func=yes
38337 echo "$as_me: failed program was:" >&5
38338 sed 's/^/| /' conftest.$ac_ext >&5
38340 eval wx_cv_func_$wx_func=no
38343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38344 conftest$ac_exeext conftest.$ac_ext
38347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38348 { echo "$as_me:$LINENO: result: $ac_res" >&5
38349 echo "${ECHO_T}$ac_res" >&6; }
38351 if eval test \$wx_cv_func_$wx_func = yes
38353 cat >>confdefs.h <<_ACEOF
38354 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38364 if test "$wx_cv_func_uname" != yes; then
38366 for wx_func in gethostname
38368 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38369 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38370 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38371 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 cat >conftest.$ac_ext <<_ACEOF
38378 cat confdefs.h >>conftest.$ac_ext
38379 cat >>conftest.$ac_ext <<_ACEOF
38380 /* end confdefs.h. */
38383 $ac_includes_default
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38403 *) ac_try_echo
=$ac_try;;
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38408 grep -v '^ *+' conftest.er1
>conftest.err
38410 cat conftest.err
>&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest
$ac_exeext &&
38416 $as_test_x conftest
$ac_exeext; then
38417 eval wx_cv_func_
$wx_func=yes
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.
$ac_ext >&5
38422 eval wx_cv_func_
$wx_func=no
38425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38426 conftest
$ac_exeext conftest.
$ac_ext
38429 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38430 { echo "$as_me:$LINENO: result: $ac_res" >&5
38431 echo "${ECHO_T}$ac_res" >&6; }
38433 if eval test \
$wx_cv_func_$wx_func = yes
38435 cat >>confdefs.h
<<_ACEOF
38436 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38449 for wx_func
in strtok_r
38451 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38452 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38453 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38457 cat >conftest.
$ac_ext <<_ACEOF
38461 cat confdefs.h
>>conftest.
$ac_ext
38462 cat >>conftest.
$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38466 $ac_includes_default
38482 rm -f conftest.
$ac_objext conftest
$ac_exeext
38483 if { (ac_try
="$ac_link"
38484 case "(($ac_try" in
38485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38486 *) ac_try_echo=$ac_try;;
38488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38489 (eval "$ac_link") 2>conftest.er1
38491 grep -v '^ *+' conftest.er1 >conftest.err
38493 cat conftest.err >&5
38494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495 (exit $ac_status); } && {
38496 test -z "$ac_c_werror_flag" ||
38497 test ! -s conftest.err
38498 } && test -s conftest$ac_exeext &&
38499 $as_test_x conftest$ac_exeext; then
38500 eval wx_cv_func_$wx_func=yes
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38505 eval wx_cv_func_$wx_func=no
38508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38509 conftest$ac_exeext conftest.$ac_ext
38512 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38513 { echo "$as_me:$LINENO: result: $ac_res" >&5
38514 echo "${ECHO_T}$ac_res" >&6; }
38516 if eval test \$wx_cv_func_$wx_func = yes
38518 cat >>confdefs.h <<_ACEOF
38519 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38532 for ac_func in inet_addr
38534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 cat >conftest.$ac_ext <<_ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define $ac_func innocuous_$ac_func
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char $ac_func (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38556 # include <limits.h>
38558 # include <assert.h>
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_$ac_func || defined __stub___$ac_func
38580 return $ac_func ();
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38589 *) ac_try_echo
=$ac_try;;
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38594 grep -v '^ *+' conftest.er1
>conftest.err
38596 cat conftest.err
>&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest
$ac_exeext &&
38602 $as_test_x conftest
$ac_exeext; then
38603 eval "$as_ac_var=yes"
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.
$ac_ext >&5
38608 eval "$as_ac_var=no"
38611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38612 conftest
$ac_exeext conftest.
$ac_ext
38614 ac_res
=`eval echo '${'$as_ac_var'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38617 if test `eval echo '${'$as_ac_var'}'` = yes; then
38618 cat >>confdefs.h
<<_ACEOF
38619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38621 cat >>confdefs.h
<<\_ACEOF
38622 #define HAVE_INET_ADDR 1
38627 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38628 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38629 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 ac_check_lib_save_LIBS
=$LIBS
38634 cat >conftest.
$ac_ext <<_ACEOF
38637 cat confdefs.h
>>conftest.
$ac_ext
38638 cat >>conftest.
$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38641 /* Override any GCC internal prototype to avoid an error.
38642 Use char because int might match the return type of a GCC
38643 builtin and then its argument prototype would still apply. */
38651 return inet_addr ();
38656 rm -f conftest.
$ac_objext conftest
$ac_exeext
38657 if { (ac_try
="$ac_link"
38658 case "(($ac_try" in
38659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_link") 2>conftest.er1
38665 grep -v '^ *+' conftest.er1 >conftest.err
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_c_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest$ac_exeext &&
38673 $as_test_x conftest$ac_exeext; then
38674 ac_cv_lib_nsl_inet_addr=yes
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38679 ac_cv_lib_nsl_inet_addr=no
38682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38683 conftest$ac_exeext conftest.$ac_ext
38684 LIBS=$ac_check_lib_save_LIBS
38686 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38687 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38688 if test $ac_cv_lib_nsl_inet_addr = yes; then
38692 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38693 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38694 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38697 ac_check_lib_save_LIBS=$LIBS
38698 LIBS="-lresolv $LIBS"
38699 cat >conftest.$ac_ext <<_ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38706 /* Override any GCC internal prototype to avoid an error.
38707 Use char because int might match the return type of a GCC
38708 builtin and then its argument prototype would still apply. */
38716 return inet_addr ();
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (ac_try="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38725 *) ac_try_echo
=$ac_try;;
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38730 grep -v '^ *+' conftest.er1
>conftest.err
38732 cat conftest.err
>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest
$ac_exeext &&
38738 $as_test_x conftest
$ac_exeext; then
38739 ac_cv_lib_resolv_inet_addr
=yes
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.
$ac_ext >&5
38744 ac_cv_lib_resolv_inet_addr
=no
38747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38748 conftest
$ac_exeext conftest.
$ac_ext
38749 LIBS
=$ac_check_lib_save_LIBS
38751 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38752 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38753 if test $ac_cv_lib_resolv_inet_addr = yes; then
38757 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38758 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38759 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38762 ac_check_lib_save_LIBS
=$LIBS
38763 LIBS
="-lsocket $LIBS"
38764 cat >conftest.
$ac_ext <<_ACEOF
38767 cat confdefs.h
>>conftest.
$ac_ext
38768 cat >>conftest.
$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38771 /* Override any GCC internal prototype to avoid an error.
38772 Use char because int might match the return type of a GCC
38773 builtin and then its argument prototype would still apply. */
38781 return inet_addr ();
38786 rm -f conftest.
$ac_objext conftest
$ac_exeext
38787 if { (ac_try
="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38795 grep -v '^ *+' conftest.er1 >conftest.err
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_lib_socket_inet_addr=yes
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38809 ac_cv_lib_socket_inet_addr=no
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38814 LIBS=$ac_check_lib_save_LIBS
38816 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38817 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38818 if test $ac_cv_lib_socket_inet_addr = yes; then
38838 for ac_func in inet_aton
38840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 cat >conftest.$ac_ext <<_ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38854 #define $ac_func innocuous_$ac_func
38856 /* System header to define __stub macros and hopefully few prototypes,
38857 which can conflict with char $ac_func (); below.
38858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38859 <limits.h> exists even on freestanding compilers. */
38862 # include <limits.h>
38864 # include <assert.h>
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined __stub_$ac_func || defined __stub___$ac_func
38886 return $ac_func ();
38891 rm -f conftest.$ac_objext conftest$ac_exeext
38892 if { (ac_try="$ac_link"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38895 *) ac_try_echo
=$ac_try;;
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_link") 2>conftest.er1
38900 grep -v '^ *+' conftest.er1
>conftest.err
38902 cat conftest.err
>&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest
$ac_exeext &&
38908 $as_test_x conftest
$ac_exeext; then
38909 eval "$as_ac_var=yes"
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.
$ac_ext >&5
38914 eval "$as_ac_var=no"
38917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38918 conftest
$ac_exeext conftest.
$ac_ext
38920 ac_res
=`eval echo '${'$as_ac_var'}'`
38921 { echo "$as_me:$LINENO: result: $ac_res" >&5
38922 echo "${ECHO_T}$ac_res" >&6; }
38923 if test `eval echo '${'$as_ac_var'}'` = yes; then
38924 cat >>confdefs.h
<<_ACEOF
38925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927 cat >>confdefs.h
<<\_ACEOF
38928 #define HAVE_INET_ATON 1
38933 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38934 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38935 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38936 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 ac_check_lib_save_LIBS
=$LIBS
38940 LIBS
="-l$INET_LINK $LIBS"
38941 cat >conftest.
$ac_ext <<_ACEOF
38944 cat confdefs.h
>>conftest.
$ac_ext
38945 cat >>conftest.
$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38948 /* Override any GCC internal prototype to avoid an error.
38949 Use char because int might match the return type of a GCC
38950 builtin and then its argument prototype would still apply. */
38958 return inet_aton ();
38963 rm -f conftest.
$ac_objext conftest
$ac_exeext
38964 if { (ac_try
="$ac_link"
38965 case "(($ac_try" in
38966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38967 *) ac_try_echo=$ac_try;;
38969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38970 (eval "$ac_link") 2>conftest.er1
38972 grep -v '^ *+' conftest.er1 >conftest.err
38974 cat conftest.err >&5
38975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38976 (exit $ac_status); } && {
38977 test -z "$ac_c_werror_flag" ||
38978 test ! -s conftest.err
38979 } && test -s conftest$ac_exeext &&
38980 $as_test_x conftest$ac_exeext; then
38981 eval "$as_ac_Lib=yes"
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38986 eval "$as_ac_Lib=no"
38989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38990 conftest$ac_exeext conftest.$ac_ext
38991 LIBS=$ac_check_lib_save_LIBS
38993 ac_res=`eval echo '${'$as_ac_Lib'}'`
38994 { echo "$as_me:$LINENO: result: $ac_res" >&5
38995 echo "${ECHO_T}$ac_res" >&6; }
38996 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38997 cat >>confdefs.h <<\_ACEOF
38998 #define HAVE_INET_ATON 1
39008 if test "x$INET_LINK" != "x"; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define HAVE_INET_ADDR 1
39013 INET_LINK=" -l$INET_LINK"
39017 for wx_func in fdopen
39019 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39020 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39021 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39022 echo $ECHO_N "(cached) $ECHO_C" >&6
39025 cat >conftest.$ac_ext <<_ACEOF
39029 cat confdefs.h >>conftest.$ac_ext
39030 cat >>conftest.$ac_ext <<_ACEOF
39031 /* end confdefs.h. */
39034 $ac_includes_default
39050 rm -f conftest.$ac_objext conftest$ac_exeext
39051 if { (ac_try="$ac_link"
39052 case "(($ac_try" in
39053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39054 *) ac_try_echo
=$ac_try;;
39056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39057 (eval "$ac_link") 2>conftest.er1
39059 grep -v '^ *+' conftest.er1
>conftest.err
39061 cat conftest.err
>&5
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); } && {
39064 test -z "$ac_c_werror_flag" ||
39065 test ! -s conftest.err
39066 } && test -s conftest
$ac_exeext &&
39067 $as_test_x conftest
$ac_exeext; then
39068 eval wx_cv_func_
$wx_func=yes
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.
$ac_ext >&5
39073 eval wx_cv_func_
$wx_func=no
39076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39077 conftest
$ac_exeext conftest.
$ac_ext
39080 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39081 { echo "$as_me:$LINENO: result: $ac_res" >&5
39082 echo "${ECHO_T}$ac_res" >&6; }
39084 if eval test \
$wx_cv_func_$wx_func = yes
39086 cat >>confdefs.h
<<_ACEOF
39087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39098 if test "$wxUSE_TARSTREAM" = "yes"; then
39100 for wx_func
in sysconf
39102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39104 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39105 echo $ECHO_N "(cached) $ECHO_C" >&6
39108 cat >conftest.
$ac_ext <<_ACEOF
39112 cat confdefs.h
>>conftest.
$ac_ext
39113 cat >>conftest.
$ac_ext <<_ACEOF
39114 /* end confdefs.h. */
39117 $ac_includes_default
39133 rm -f conftest.
$ac_objext conftest
$ac_exeext
39134 if { (ac_try
="$ac_link"
39135 case "(($ac_try" in
39136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39137 *) ac_try_echo=$ac_try;;
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_link") 2>conftest.er1
39142 grep -v '^ *+' conftest.er1 >conftest.err
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_c_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest$ac_exeext &&
39150 $as_test_x conftest$ac_exeext; then
39151 eval wx_cv_func_$wx_func=yes
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39156 eval wx_cv_func_$wx_func=no
39159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39160 conftest$ac_exeext conftest.$ac_ext
39163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39167 if eval test \$wx_cv_func_$wx_func = yes
39169 cat >>confdefs.h <<_ACEOF
39170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39182 for wx_func in getpwuid_r
39184 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39185 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39186 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39187 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39202 $ac_includes_default
39212 struct passwd pw, *ppw;
39214 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39222 rm -f conftest.$ac_objext conftest$ac_exeext
39223 if { (ac_try="$ac_link"
39224 case "(($ac_try" in
39225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39226 *) ac_try_echo
=$ac_try;;
39228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39229 (eval "$ac_link") 2>conftest.er1
39231 grep -v '^ *+' conftest.er1
>conftest.err
39233 cat conftest.err
>&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } && {
39236 test -z "$ac_c_werror_flag" ||
39237 test ! -s conftest.err
39238 } && test -s conftest
$ac_exeext &&
39239 $as_test_x conftest
$ac_exeext; then
39240 eval wx_cv_func_
$wx_func=yes
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.
$ac_ext >&5
39245 eval wx_cv_func_
$wx_func=no
39248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39249 conftest
$ac_exeext conftest.
$ac_ext
39252 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39253 { echo "$as_me:$LINENO: result: $ac_res" >&5
39254 echo "${ECHO_T}$ac_res" >&6; }
39256 if eval test \
$wx_cv_func_$wx_func = yes
39258 cat >>confdefs.h
<<_ACEOF
39259 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39271 for wx_func
in getgrgid_r
39273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39275 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 cat >conftest.
$ac_ext <<_ACEOF
39283 cat confdefs.h
>>conftest.
$ac_ext
39284 cat >>conftest.
$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39291 $ac_includes_default
39301 struct group grp, *pgrp;
39303 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39311 rm -f conftest.
$ac_objext conftest
$ac_exeext
39312 if { (ac_try
="$ac_link"
39313 case "(($ac_try" in
39314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39315 *) ac_try_echo=$ac_try;;
39317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39318 (eval "$ac_link") 2>conftest.er1
39320 grep -v '^ *+' conftest.er1 >conftest.err
39322 cat conftest.err >&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); } && {
39325 test -z "$ac_c_werror_flag" ||
39326 test ! -s conftest.err
39327 } && test -s conftest$ac_exeext &&
39328 $as_test_x conftest$ac_exeext; then
39329 eval wx_cv_func_$wx_func=yes
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39334 eval wx_cv_func_$wx_func=no
39337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39338 conftest$ac_exeext conftest.$ac_ext
39341 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39342 { echo "$as_me:$LINENO: result: $ac_res" >&5
39343 echo "${ECHO_T}$ac_res" >&6; }
39345 if eval test \$wx_cv_func_$wx_func = yes
39347 cat >>confdefs.h <<_ACEOF
39348 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39364 cat >confcache <<\_ACEOF
39365 # This file is a shell script that caches the results of configure
39366 # tests run on this system so they can be shared between configure
39367 # scripts and configure runs, see configure's option --config-cache.
39368 # It is not useful on other systems. If it contains results you don't
39369 # want to keep, you may remove or edit it.
39371 # config.status only pays attention to the cache file if you give it
39372 # the --recheck option to rerun configure.
39374 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39376 # following values.
39380 # The following way of writing the cache mishandles newlines in values,
39381 # but we know of no workaround that is simple, portable, and efficient.
39382 # So, we kill variables containing newlines.
39383 # Ultrix sh set writes to stderr and can't be redirected directly,
39384 # and sets the high bit in the cache file unless we assign to the vars.
39386 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39387 eval ac_val
=\$
$ac_var
39391 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39392 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39395 _
| IFS
| as_nl
) ;; #(
39396 *) $as_unset $ac_var ;;
39402 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39403 *${as_nl}ac_space
=\
*)
39404 # `set' does not quote correctly, so add quotes (double-quote
39405 # substitution turns \\\\ into \\, and sed turns \\ into \).
39408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39411 # `set' quotes correctly as required by POSIX, so do not add quotes.
39412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39421 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39423 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39425 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39426 if test -w "$cache_file"; then
39427 test "x$cache_file" != "x/dev/null" &&
39428 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39429 echo "$as_me: updating cache $cache_file" >&6;}
39430 cat confcache
>$cache_file
39432 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39433 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39439 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39445 if test "$wxUSE_THREADS" = "yes" ; then
39446 if test "$USE_BEOS" = 1; then
39447 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39448 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39453 if test "$wxUSE_THREADS" = "yes" ; then
39456 THREAD_OPTS
="-pthread"
39457 if test "x$SUNCXX" = xyes
; then
39458 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39462 *-*-solaris2* | *-*-sunos4* )
39463 if test "x$GCC" = "xyes"; then
39464 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39468 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39470 *-*-darwin* | *-*-cygwin* )
39474 THREAD_OPTS
="pthreads"
39477 if test "x$GCC" = "xyes"; then
39478 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39486 if test "x$GCC" = "xyes"; then
39496 if test "x$GCC" != "xyes"; then
39497 THREAD_OPTS
="-Ethread"
39504 THREAD_OPTS
="none pthread"
39508 THREAD_OPTS
="$THREAD_OPTS pthread none"
39513 for flag
in $THREAD_OPTS; do
39516 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39517 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39521 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39522 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39523 THREADS_CFLAGS
="$flag"
39527 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39528 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39529 THREADS_LINK
="-l$flag"
39534 save_CFLAGS
="$CFLAGS"
39535 LIBS
="$THREADS_LINK $LIBS"
39536 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39538 cat >conftest.
$ac_ext <<_ACEOF
39541 cat confdefs.h
>>conftest.
$ac_ext
39542 cat >>conftest.
$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544 #include <pthread.h>
39548 pthread_create(0,0,0,0);
39553 rm -f conftest.
$ac_objext conftest
$ac_exeext
39554 if { (ac_try
="$ac_link"
39555 case "(($ac_try" in
39556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39557 *) ac_try_echo=$ac_try;;
39559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39560 (eval "$ac_link") 2>conftest.er1
39562 grep -v '^ *+' conftest.er1 >conftest.err
39564 cat conftest.err >&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } && {
39567 test -z "$ac_c_werror_flag" ||
39568 test ! -s conftest.err
39569 } && test -s conftest$ac_exeext &&
39570 $as_test_x conftest$ac_exeext; then
39573 echo "$as_me: failed program was:" >&5
39574 sed 's/^/| /' conftest.$ac_ext >&5
39579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39580 conftest$ac_exeext conftest.$ac_ext
39583 CFLAGS="$save_CFLAGS"
39585 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39586 echo "${ECHO_T}$THREADS_OK" >&6; }
39587 if test "x$THREADS_OK" = "xyes"; then
39595 if test "x$THREADS_OK" != "xyes"; then
39597 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39598 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39600 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39601 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39602 LIBS="$THREADS_LINK $LIBS"
39604 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39605 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39609 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39610 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39611 flag="-D_THREAD_SAFE"
39614 flag="-D_THREAD_SAFE"
39617 flag="-D_REENTRANT"
39618 if test "x$GCC" != "xyes"; then
39619 flag="$flag -D_RWSTD_MULTI_THREAD"
39622 *solaris* | alpha*-osf*)
39623 flag="-D_REENTRANT"
39626 { echo "$as_me:$LINENO: result: ${flag}" >&5
39627 echo "${ECHO_T}${flag}" >&6; }
39628 if test "x$flag" != xno; then
39629 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39632 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39636 if test "$wxUSE_THREADS" = "yes" ; then
39638 for ac_func in thr_setconcurrency
39640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 cat >conftest.$ac_ext <<_ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h. */
39652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39654 #define $ac_func innocuous_$ac_func
39656 /* System header to define __stub macros and hopefully few prototypes,
39657 which can conflict with char $ac_func (); below.
39658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39659 <limits.h> exists even on freestanding compilers. */
39662 # include <limits.h>
39664 # include <assert.h>
39669 /* Override any GCC internal prototype to avoid an error.
39670 Use char because int might match the return type of a GCC
39671 builtin and then its argument prototype would still apply. */
39676 /* The GNU C library defines this for functions which it implements
39677 to always fail with ENOSYS. Some functions are actually named
39678 something starting with __ and the normal name is an alias. */
39679 #if defined __stub_$ac_func || defined __stub___$ac_func
39686 return $ac_func ();
39691 rm -f conftest.$ac_objext conftest$ac_exeext
39692 if { (ac_try="$ac_link"
39693 case "(($ac_try" in
39694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39695 *) ac_try_echo
=$ac_try;;
39697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39698 (eval "$ac_link") 2>conftest.er1
39700 grep -v '^ *+' conftest.er1
>conftest.err
39702 cat conftest.err
>&5
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); } && {
39705 test -z "$ac_c_werror_flag" ||
39706 test ! -s conftest.err
39707 } && test -s conftest
$ac_exeext &&
39708 $as_test_x conftest
$ac_exeext; then
39709 eval "$as_ac_var=yes"
39711 echo "$as_me: failed program was:" >&5
39712 sed 's/^/| /' conftest.
$ac_ext >&5
39714 eval "$as_ac_var=no"
39717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39718 conftest
$ac_exeext conftest.
$ac_ext
39720 ac_res
=`eval echo '${'$as_ac_var'}'`
39721 { echo "$as_me:$LINENO: result: $ac_res" >&5
39722 echo "${ECHO_T}$ac_res" >&6; }
39723 if test `eval echo '${'$as_ac_var'}'` = yes; then
39724 cat >>confdefs.h
<<_ACEOF
39725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39732 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39733 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39734 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39739 ac_cpp
='$CXXCPP $CPPFLAGS'
39740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39744 cat >conftest.
$ac_ext <<_ACEOF
39747 cat confdefs.h
>>conftest.
$ac_ext
39748 cat >>conftest.
$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 #include <pthread.h>
39751 void ThreadCleanupFunc(void *p);
39758 pthread_cleanup_push(ThreadCleanupFunc, p);
39759 pthread_cleanup_pop(0);
39765 rm -f conftest.
$ac_objext
39766 if { (ac_try
="$ac_compile"
39767 case "(($ac_try" in
39768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39769 *) ac_try_echo=$ac_try;;
39771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39772 (eval "$ac_compile") 2>conftest.er1
39774 grep -v '^ *+' conftest.er1 >conftest.err
39776 cat conftest.err >&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } && {
39779 test -z "$ac_cxx_werror_flag" ||
39780 test ! -s conftest.err
39781 } && test -s conftest.$ac_objext; then
39783 wx_cv_func_pthread_cleanup=yes
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.$ac_ext >&5
39790 wx_cv_func_pthread_cleanup=no
39795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39804 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39805 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39806 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39807 cat >>confdefs.h <<\_ACEOF
39808 #define wxHAVE_PTHREAD_CLEANUP 1
39814 for ac_header in sched.h
39816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39817 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39820 echo $ECHO_N "(cached) $ECHO_C" >&6
39822 cat >conftest.$ac_ext <<_ACEOF
39825 cat confdefs.h >>conftest.$ac_ext
39826 cat >>conftest.$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39828 $ac_includes_default
39830 #include <$ac_header>
39832 rm -f conftest.$ac_objext
39833 if { (ac_try="$ac_compile"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39836 *) ac_try_echo
=$ac_try;;
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_compile") 2>conftest.er1
39841 grep -v '^ *+' conftest.er1
>conftest.err
39843 cat conftest.err
>&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest.
$ac_objext; then
39849 eval "$as_ac_Header=yes"
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.
$ac_ext >&5
39854 eval "$as_ac_Header=no"
39857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39859 ac_res
=`eval echo '${'$as_ac_Header'}'`
39860 { echo "$as_me:$LINENO: result: $ac_res" >&5
39861 echo "${ECHO_T}$ac_res" >&6; }
39862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39863 cat >>confdefs.h
<<_ACEOF
39864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39871 if test "$ac_cv_header_sched_h" = "yes"; then
39872 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39873 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39874 if test "${ac_cv_func_sched_yield+set}" = set; then
39875 echo $ECHO_N "(cached) $ECHO_C" >&6
39877 cat >conftest.
$ac_ext <<_ACEOF
39880 cat confdefs.h
>>conftest.
$ac_ext
39881 cat >>conftest.
$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39885 #define sched_yield innocuous_sched_yield
39887 /* System header to define __stub macros and hopefully few prototypes,
39888 which can conflict with char sched_yield (); below.
39889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39890 <limits.h> exists even on freestanding compilers. */
39893 # include <limits.h>
39895 # include <assert.h>
39900 /* Override any GCC internal prototype to avoid an error.
39901 Use char because int might match the return type of a GCC
39902 builtin and then its argument prototype would still apply. */
39906 char sched_yield ();
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined __stub_sched_yield || defined __stub___sched_yield
39917 return sched_yield ();
39922 rm -f conftest.
$ac_objext conftest
$ac_exeext
39923 if { (ac_try
="$ac_link"
39924 case "(($ac_try" in
39925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39926 *) ac_try_echo=$ac_try;;
39928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39929 (eval "$ac_link") 2>conftest.er1
39931 grep -v '^ *+' conftest.er1 >conftest.err
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } && {
39936 test -z "$ac_c_werror_flag" ||
39937 test ! -s conftest.err
39938 } && test -s conftest$ac_exeext &&
39939 $as_test_x conftest$ac_exeext; then
39940 ac_cv_func_sched_yield=yes
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39945 ac_cv_func_sched_yield=no
39948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39949 conftest$ac_exeext conftest.$ac_ext
39951 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39952 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39953 if test $ac_cv_func_sched_yield = yes; then
39954 cat >>confdefs.h <<\_ACEOF
39955 #define HAVE_SCHED_YIELD 1
39960 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39961 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39962 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 ac_check_lib_save_LIBS=$LIBS
39966 LIBS="-lposix4 $LIBS"
39967 cat >conftest.$ac_ext <<_ACEOF
39970 cat confdefs.h >>conftest.$ac_ext
39971 cat >>conftest.$ac_ext <<_ACEOF
39972 /* end confdefs.h. */
39974 /* Override any GCC internal prototype to avoid an error.
39975 Use char because int might match the return type of a GCC
39976 builtin and then its argument prototype would still apply. */
39980 char sched_yield ();
39984 return sched_yield ();
39989 rm -f conftest.$ac_objext conftest$ac_exeext
39990 if { (ac_try="$ac_link"
39991 case "(($ac_try" in
39992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39993 *) ac_try_echo
=$ac_try;;
39995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39996 (eval "$ac_link") 2>conftest.er1
39998 grep -v '^ *+' conftest.er1
>conftest.err
40000 cat conftest.err
>&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); } && {
40003 test -z "$ac_c_werror_flag" ||
40004 test ! -s conftest.err
40005 } && test -s conftest
$ac_exeext &&
40006 $as_test_x conftest
$ac_exeext; then
40007 ac_cv_lib_posix4_sched_yield
=yes
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.
$ac_ext >&5
40012 ac_cv_lib_posix4_sched_yield
=no
40015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40016 conftest
$ac_exeext conftest.
$ac_ext
40017 LIBS
=$ac_check_lib_save_LIBS
40019 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40020 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40021 if test $ac_cv_lib_posix4_sched_yield = yes; then
40022 cat >>confdefs.h
<<\_ACEOF
40023 #define HAVE_SCHED_YIELD 1
40025 POSIX4_LINK
=" -lposix4"
40027 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40028 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40039 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40040 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40041 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40044 cat >conftest.
$ac_ext <<_ACEOF
40047 cat confdefs.h
>>conftest.
$ac_ext
40048 cat >>conftest.
$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40052 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40054 /* System header to define __stub macros and hopefully few prototypes,
40055 which can conflict with char pthread_attr_getschedpolicy (); below.
40056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40057 <limits.h> exists even on freestanding compilers. */
40060 # include <limits.h>
40062 # include <assert.h>
40065 #undef pthread_attr_getschedpolicy
40067 /* Override any GCC internal prototype to avoid an error.
40068 Use char because int might match the return type of a GCC
40069 builtin and then its argument prototype would still apply. */
40073 char pthread_attr_getschedpolicy ();
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40084 return pthread_attr_getschedpolicy ();
40089 rm -f conftest.
$ac_objext conftest
$ac_exeext
40090 if { (ac_try
="$ac_link"
40091 case "(($ac_try" in
40092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_link") 2>conftest.er1
40098 grep -v '^ *+' conftest.er1 >conftest.err
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest$ac_exeext &&
40106 $as_test_x conftest$ac_exeext; then
40107 ac_cv_func_pthread_attr_getschedpolicy=yes
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40112 ac_cv_func_pthread_attr_getschedpolicy=no
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40119 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40120 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40121 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40122 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40123 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 cat >conftest.$ac_ext <<_ACEOF
40129 cat confdefs.h >>conftest.$ac_ext
40130 cat >>conftest.$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40134 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40136 /* System header to define __stub macros and hopefully few prototypes,
40137 which can conflict with char pthread_attr_setschedparam (); below.
40138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40139 <limits.h> exists even on freestanding compilers. */
40142 # include <limits.h>
40144 # include <assert.h>
40147 #undef pthread_attr_setschedparam
40149 /* Override any GCC internal prototype to avoid an error.
40150 Use char because int might match the return type of a GCC
40151 builtin and then its argument prototype would still apply. */
40155 char pthread_attr_setschedparam ();
40156 /* The GNU C library defines this for functions which it implements
40157 to always fail with ENOSYS. Some functions are actually named
40158 something starting with __ and the normal name is an alias. */
40159 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40166 return pthread_attr_setschedparam ();
40171 rm -f conftest.$ac_objext conftest$ac_exeext
40172 if { (ac_try="$ac_link"
40173 case "(($ac_try" in
40174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40175 *) ac_try_echo
=$ac_try;;
40177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40178 (eval "$ac_link") 2>conftest.er1
40180 grep -v '^ *+' conftest.er1
>conftest.err
40182 cat conftest.err
>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } && {
40185 test -z "$ac_c_werror_flag" ||
40186 test ! -s conftest.err
40187 } && test -s conftest
$ac_exeext &&
40188 $as_test_x conftest
$ac_exeext; then
40189 ac_cv_func_pthread_attr_setschedparam
=yes
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.
$ac_ext >&5
40194 ac_cv_func_pthread_attr_setschedparam
=no
40197 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40198 conftest
$ac_exeext conftest.
$ac_ext
40200 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40201 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40202 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40203 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40204 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40205 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 cat >conftest.
$ac_ext <<_ACEOF
40211 cat confdefs.h
>>conftest.
$ac_ext
40212 cat >>conftest.
$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40216 #define sched_get_priority_max innocuous_sched_get_priority_max
40218 /* System header to define __stub macros and hopefully few prototypes,
40219 which can conflict with char sched_get_priority_max (); below.
40220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40221 <limits.h> exists even on freestanding compilers. */
40224 # include <limits.h>
40226 # include <assert.h>
40229 #undef sched_get_priority_max
40231 /* Override any GCC internal prototype to avoid an error.
40232 Use char because int might match the return type of a GCC
40233 builtin and then its argument prototype would still apply. */
40237 char sched_get_priority_max ();
40238 /* The GNU C library defines this for functions which it implements
40239 to always fail with ENOSYS. Some functions are actually named
40240 something starting with __ and the normal name is an alias. */
40241 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40248 return sched_get_priority_max ();
40253 rm -f conftest.
$ac_objext conftest
$ac_exeext
40254 if { (ac_try
="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40262 grep -v '^ *+' conftest.er1 >conftest.err
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest$ac_exeext &&
40270 $as_test_x conftest$ac_exeext; then
40271 ac_cv_func_sched_get_priority_max=yes
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40276 ac_cv_func_sched_get_priority_max=no
40279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40280 conftest$ac_exeext conftest.$ac_ext
40282 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40283 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40284 if test $ac_cv_func_sched_get_priority_max = yes; then
40287 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40288 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40289 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 ac_check_lib_save_LIBS=$LIBS
40293 LIBS="-lposix4 $LIBS"
40294 cat >conftest.$ac_ext <<_ACEOF
40297 cat confdefs.h >>conftest.$ac_ext
40298 cat >>conftest.$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40301 /* Override any GCC internal prototype to avoid an error.
40302 Use char because int might match the return type of a GCC
40303 builtin and then its argument prototype would still apply. */
40307 char sched_get_priority_max ();
40311 return sched_get_priority_max ();
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (ac_try="$ac_link"
40318 case "(($ac_try" in
40319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40320 *) ac_try_echo
=$ac_try;;
40322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323 (eval "$ac_link") 2>conftest.er1
40325 grep -v '^ *+' conftest.er1
>conftest.err
40327 cat conftest.err
>&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } && {
40330 test -z "$ac_c_werror_flag" ||
40331 test ! -s conftest.err
40332 } && test -s conftest
$ac_exeext &&
40333 $as_test_x conftest
$ac_exeext; then
40334 ac_cv_lib_posix4_sched_get_priority_max
=yes
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.
$ac_ext >&5
40339 ac_cv_lib_posix4_sched_get_priority_max
=no
40342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40343 conftest
$ac_exeext conftest.
$ac_ext
40344 LIBS
=$ac_check_lib_save_LIBS
40346 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40347 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40348 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40351 POSIX4_LINK
=" -lposix4"
40365 if test "$HAVE_PRIOR_FUNCS" = 1; then
40366 cat >>confdefs.h
<<\_ACEOF
40367 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40371 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40372 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40375 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40376 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40377 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 cat >conftest.
$ac_ext <<_ACEOF
40383 cat confdefs.h
>>conftest.
$ac_ext
40384 cat >>conftest.
$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40388 #define pthread_cancel innocuous_pthread_cancel
40390 /* System header to define __stub macros and hopefully few prototypes,
40391 which can conflict with char pthread_cancel (); below.
40392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40393 <limits.h> exists even on freestanding compilers. */
40396 # include <limits.h>
40398 # include <assert.h>
40401 #undef pthread_cancel
40403 /* Override any GCC internal prototype to avoid an error.
40404 Use char because int might match the return type of a GCC
40405 builtin and then its argument prototype would still apply. */
40409 char pthread_cancel ();
40410 /* The GNU C library defines this for functions which it implements
40411 to always fail with ENOSYS. Some functions are actually named
40412 something starting with __ and the normal name is an alias. */
40413 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40420 return pthread_cancel ();
40425 rm -f conftest.
$ac_objext conftest
$ac_exeext
40426 if { (ac_try
="$ac_link"
40427 case "(($ac_try" in
40428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40429 *) ac_try_echo=$ac_try;;
40431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40432 (eval "$ac_link") 2>conftest.er1
40434 grep -v '^ *+' conftest.er1 >conftest.err
40436 cat conftest.err >&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } && {
40439 test -z "$ac_c_werror_flag" ||
40440 test ! -s conftest.err
40441 } && test -s conftest$ac_exeext &&
40442 $as_test_x conftest$ac_exeext; then
40443 ac_cv_func_pthread_cancel=yes
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.$ac_ext >&5
40448 ac_cv_func_pthread_cancel=no
40451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40452 conftest$ac_exeext conftest.$ac_ext
40454 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40455 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40456 if test $ac_cv_func_pthread_cancel = yes; then
40457 cat >>confdefs.h <<\_ACEOF
40458 #define HAVE_PTHREAD_CANCEL 1
40462 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40463 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40467 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40468 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40469 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40470 echo $ECHO_N "(cached) $ECHO_C" >&6
40472 cat >conftest.$ac_ext <<_ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40478 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40480 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40482 /* System header to define __stub macros and hopefully few prototypes,
40483 which can conflict with char pthread_mutex_timedlock (); below.
40484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40485 <limits.h> exists even on freestanding compilers. */
40488 # include <limits.h>
40490 # include <assert.h>
40493 #undef pthread_mutex_timedlock
40495 /* Override any GCC internal prototype to avoid an error.
40496 Use char because int might match the return type of a GCC
40497 builtin and then its argument prototype would still apply. */
40501 char pthread_mutex_timedlock ();
40502 /* The GNU C library defines this for functions which it implements
40503 to always fail with ENOSYS. Some functions are actually named
40504 something starting with __ and the normal name is an alias. */
40505 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40512 return pthread_mutex_timedlock ();
40517 rm -f conftest.$ac_objext conftest$ac_exeext
40518 if { (ac_try="$ac_link"
40519 case "(($ac_try" in
40520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40521 *) ac_try_echo
=$ac_try;;
40523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40524 (eval "$ac_link") 2>conftest.er1
40526 grep -v '^ *+' conftest.er1
>conftest.err
40528 cat conftest.err
>&5
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); } && {
40531 test -z "$ac_c_werror_flag" ||
40532 test ! -s conftest.err
40533 } && test -s conftest
$ac_exeext &&
40534 $as_test_x conftest
$ac_exeext; then
40535 ac_cv_func_pthread_mutex_timedlock
=yes
40537 echo "$as_me: failed program was:" >&5
40538 sed 's/^/| /' conftest.
$ac_ext >&5
40540 ac_cv_func_pthread_mutex_timedlock
=no
40543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40544 conftest
$ac_exeext conftest.
$ac_ext
40546 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40547 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40548 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40549 cat >>confdefs.h
<<\_ACEOF
40550 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40554 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40555 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40559 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40560 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40561 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40564 cat >conftest.
$ac_ext <<_ACEOF
40567 cat confdefs.h
>>conftest.
$ac_ext
40568 cat >>conftest.
$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char pthread_attr_setstacksize (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40580 # include <limits.h>
40582 # include <assert.h>
40585 #undef pthread_attr_setstacksize
40587 /* Override any GCC internal prototype to avoid an error.
40588 Use char because int might match the return type of a GCC
40589 builtin and then its argument prototype would still apply. */
40593 char pthread_attr_setstacksize ();
40594 /* The GNU C library defines this for functions which it implements
40595 to always fail with ENOSYS. Some functions are actually named
40596 something starting with __ and the normal name is an alias. */
40597 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40604 return pthread_attr_setstacksize ();
40609 rm -f conftest.
$ac_objext conftest
$ac_exeext
40610 if { (ac_try
="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40618 grep -v '^ *+' conftest.er1 >conftest.err
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } && {
40623 test -z "$ac_c_werror_flag" ||
40624 test ! -s conftest.err
40625 } && test -s conftest$ac_exeext &&
40626 $as_test_x conftest$ac_exeext; then
40627 ac_cv_func_pthread_attr_setstacksize=yes
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40632 ac_cv_func_pthread_attr_setstacksize=no
40635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40636 conftest$ac_exeext conftest.$ac_ext
40638 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40639 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40640 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40649 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40650 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40651 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40655 cat >conftest.$ac_ext <<_ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 #include <pthread.h>
40666 pthread_mutexattr_t attr;
40667 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40673 rm -f conftest.$ac_objext
40674 if { (ac_try="$ac_compile"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40677 *) ac_try_echo
=$ac_try;;
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_compile") 2>conftest.er1
40682 grep -v '^ *+' conftest.er1
>conftest.err
40684 cat conftest.err
>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest.
$ac_objext; then
40690 wx_cv_type_pthread_mutexattr_t
=yes
40692 echo "$as_me: failed program was:" >&5
40693 sed 's/^/| /' conftest.
$ac_ext >&5
40695 wx_cv_type_pthread_mutexattr_t
=no
40699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40702 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40703 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40705 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40706 cat >>confdefs.h
<<\_ACEOF
40707 #define HAVE_PTHREAD_MUTEXATTR_T 1
40711 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40712 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40713 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40714 echo $ECHO_N "(cached) $ECHO_C" >&6
40717 cat >conftest.
$ac_ext <<_ACEOF
40720 cat confdefs.h
>>conftest.
$ac_ext
40721 cat >>conftest.
$ac_ext <<_ACEOF
40722 /* end confdefs.h. */
40723 #include <pthread.h>
40728 pthread_mutexattr_t attr;
40729 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40735 rm -f conftest.
$ac_objext
40736 if { (ac_try
="$ac_compile"
40737 case "(($ac_try" in
40738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40739 *) ac_try_echo=$ac_try;;
40741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40742 (eval "$ac_compile") 2>conftest.er1
40744 grep -v '^ *+' conftest.er1 >conftest.err
40746 cat conftest.err >&5
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); } && {
40749 test -z "$ac_c_werror_flag" ||
40750 test ! -s conftest.err
40751 } && test -s conftest.$ac_objext; then
40752 wx_cv_func_pthread_mutexattr_settype_decl=yes
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40757 wx_cv_func_pthread_mutexattr_settype_decl=no
40761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40764 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40765 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40766 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40767 cat >>confdefs.h <<\_ACEOF
40768 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40773 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40774 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40775 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 cat >conftest.$ac_ext <<_ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40785 #include <pthread.h>
40790 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40796 rm -f conftest.$ac_objext
40797 if { (ac_try="$ac_compile"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40800 *) ac_try_echo
=$ac_try;;
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_compile") 2>conftest.er1
40805 grep -v '^ *+' conftest.er1
>conftest.err
40807 cat conftest.err
>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest.
$ac_objext; then
40814 wx_cv_type_pthread_rec_mutex_init
=yes
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.
$ac_ext >&5
40821 wx_cv_type_pthread_rec_mutex_init
=no
40826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40829 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40830 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40831 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40832 cat >>confdefs.h
<<\_ACEOF
40833 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40837 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40838 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40842 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40843 if test "$USE_NETBSD" = 1; then
40844 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40845 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40846 wxUSE_COMPILER_TLS
=no
40848 wxUSE_COMPILER_TLS
=yes
40852 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40853 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40854 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40855 if test "${wx_cv_cc___thread+set}" = set; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40859 cat >conftest.
$ac_ext <<_ACEOF
40862 cat confdefs.h
>>conftest.
$ac_ext
40863 cat >>conftest.
$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 #include <pthread.h>
40870 static __thread int n = 0;
40871 static __thread int *p = 0;
40877 rm -f conftest.
$ac_objext
40878 if { (ac_try
="$ac_compile"
40879 case "(($ac_try" in
40880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40881 *) ac_try_echo=$ac_try;;
40883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40884 (eval "$ac_compile") 2>conftest.er1
40886 grep -v '^ *+' conftest.er1 >conftest.err
40888 cat conftest.err >&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } && {
40891 test -z "$ac_c_werror_flag" ||
40892 test ! -s conftest.err
40893 } && test -s conftest.$ac_objext; then
40894 wx_cv_cc___thread=yes
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40899 wx_cv_cc___thread=no
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40907 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40908 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40910 if test "$wx_cv_cc___thread" = "yes"; then
40916 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40917 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40919 if test "x$GCC" = "xyes" ; then
40921 if test -z "" ; then
40923 ax_gcc_option_test="int main()
40930 ax_gcc_option_test=""
40935 # Dump the test program to file
40936 cat <<EOF > conftest.c
40937 $ax_gcc_option_test
40940 # Dump back the file to the log, useful for debugging purposes
40941 { ac_try='cat conftest.c 1>&5'
40942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40943 (eval $ac_try) 2>&5
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); }; }
40948 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; } ; then
40955 { echo "$as_me:$LINENO: result: yes" >&5
40956 echo "${ECHO_T}yes" >&6; }
40958 ax_gcc_version_option=yes
40963 { echo "$as_me:$LINENO: result: no" >&5
40964 echo "${ECHO_T}no" >&6; }
40966 ax_gcc_version_option=no
40974 { echo "$as_me:$LINENO: result: no gcc available" >&5
40975 echo "${ECHO_T}no gcc available" >&6; }
40980 if test "x$GXX" = "xyes"; then
40982 if test "x$ax_gxx_version_option" != "no"; then
40984 { echo "$as_me:$LINENO: checking gxx version" >&5
40985 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40986 if test "${ax_cv_gxx_version+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40990 ax_cv_gxx_version="`$CXX -dumpversion`"
40991 if test "x$ax_cv_gxx_version" = "x"; then
40993 ax_cv_gxx_version=""
40999 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41000 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41001 GXX_VERSION=$ax_cv_gxx_version
41010 if test -n "$ax_cv_gxx_version"; then
41011 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41012 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41013 case "$ax_cv_gxx_version" in
41015 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41016 echo "${ECHO_T}no, it's broken" >&6; }
41017 wx_cv_cc___thread=no
41020 { echo "$as_me:$LINENO: result: yes, it works" >&5
41021 echo "${ECHO_T}yes, it works" >&6; }
41027 if test "$wx_cv_cc___thread" = "yes"; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define HAVE___THREAD_KEYWORD 1
41037 if test "$wxUSE_THREADS" = "yes" ; then
41039 x86_64-*-mingw32* )
41042 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41043 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41044 if test "${wx_cv_cflags_mthread+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 CFLAGS_OLD="$CFLAGS"
41049 CFLAGS="-mthreads $CFLAGS"
41050 cat >conftest.$ac_ext <<_ACEOF
41053 cat confdefs.h >>conftest.$ac_ext
41054 cat >>conftest.$ac_ext <<_ACEOF
41055 /* end confdefs.h. */
41065 rm -f conftest.$ac_objext
41066 if { (ac_try="$ac_compile"
41067 case "(($ac_try" in
41068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41069 *) ac_try_echo
=$ac_try;;
41071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41072 (eval "$ac_compile") 2>conftest.er1
41074 grep -v '^ *+' conftest.er1
>conftest.err
41076 cat conftest.err
>&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } && {
41079 test -z "$ac_c_werror_flag" ||
41080 test ! -s conftest.err
41081 } && test -s conftest.
$ac_objext; then
41082 wx_cv_cflags_mthread
=yes
41084 echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.
$ac_ext >&5
41087 wx_cv_cflags_mthread
=no
41091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41095 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41096 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41098 if test "$wx_cv_cflags_mthread" = "yes"; then
41099 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41100 LDFLAGS
="$LDFLAGS -mthreads"
41102 CFLAGS
="$CFLAGS_OLD"
41106 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41107 LDFLAGS
="$LDFLAGS -Zmt"
41113 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41114 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41115 if test "${ac_cv_func_localtime_r+set}" = set; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41118 cat >conftest.
$ac_ext <<_ACEOF
41121 cat confdefs.h
>>conftest.
$ac_ext
41122 cat >>conftest.
$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41124 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41126 #define localtime_r innocuous_localtime_r
41128 /* System header to define __stub macros and hopefully few prototypes,
41129 which can conflict with char localtime_r (); below.
41130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41131 <limits.h> exists even on freestanding compilers. */
41134 # include <limits.h>
41136 # include <assert.h>
41141 /* Override any GCC internal prototype to avoid an error.
41142 Use char because int might match the return type of a GCC
41143 builtin and then its argument prototype would still apply. */
41147 char localtime_r ();
41148 /* The GNU C library defines this for functions which it implements
41149 to always fail with ENOSYS. Some functions are actually named
41150 something starting with __ and the normal name is an alias. */
41151 #if defined __stub_localtime_r || defined __stub___localtime_r
41158 return localtime_r ();
41163 rm -f conftest.
$ac_objext conftest
$ac_exeext
41164 if { (ac_try
="$ac_link"
41165 case "(($ac_try" in
41166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41167 *) ac_try_echo=$ac_try;;
41169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41170 (eval "$ac_link") 2>conftest.er1
41172 grep -v '^ *+' conftest.er1 >conftest.err
41174 cat conftest.err >&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } && {
41177 test -z "$ac_c_werror_flag" ||
41178 test ! -s conftest.err
41179 } && test -s conftest$ac_exeext &&
41180 $as_test_x conftest$ac_exeext; then
41181 ac_cv_func_localtime_r=yes
41183 echo "$as_me: failed program was:" >&5
41184 sed 's/^/| /' conftest.$ac_ext >&5
41186 ac_cv_func_localtime_r=no
41189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41190 conftest$ac_exeext conftest.$ac_ext
41192 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41193 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41194 if test $ac_cv_func_localtime_r = yes; then
41195 cat >>confdefs.h <<\_ACEOF
41196 #define HAVE_LOCALTIME_R 1
41201 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41202 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41203 if test "${ac_cv_func_gmtime_r+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41206 cat >conftest.$ac_ext <<_ACEOF
41209 cat confdefs.h >>conftest.$ac_ext
41210 cat >>conftest.$ac_ext <<_ACEOF
41211 /* end confdefs.h. */
41212 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41214 #define gmtime_r innocuous_gmtime_r
41216 /* System header to define __stub macros and hopefully few prototypes,
41217 which can conflict with char gmtime_r (); below.
41218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41219 <limits.h> exists even on freestanding compilers. */
41222 # include <limits.h>
41224 # include <assert.h>
41229 /* Override any GCC internal prototype to avoid an error.
41230 Use char because int might match the return type of a GCC
41231 builtin and then its argument prototype would still apply. */
41236 /* The GNU C library defines this for functions which it implements
41237 to always fail with ENOSYS. Some functions are actually named
41238 something starting with __ and the normal name is an alias. */
41239 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41246 return gmtime_r ();
41251 rm -f conftest.$ac_objext conftest$ac_exeext
41252 if { (ac_try="$ac_link"
41253 case "(($ac_try" in
41254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41255 *) ac_try_echo
=$ac_try;;
41257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41258 (eval "$ac_link") 2>conftest.er1
41260 grep -v '^ *+' conftest.er1
>conftest.err
41262 cat conftest.err
>&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); } && {
41265 test -z "$ac_c_werror_flag" ||
41266 test ! -s conftest.err
41267 } && test -s conftest
$ac_exeext &&
41268 $as_test_x conftest
$ac_exeext; then
41269 ac_cv_func_gmtime_r
=yes
41271 echo "$as_me: failed program was:" >&5
41272 sed 's/^/| /' conftest.
$ac_ext >&5
41274 ac_cv_func_gmtime_r
=no
41277 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41278 conftest
$ac_exeext conftest.
$ac_ext
41280 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41281 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41282 if test $ac_cv_func_gmtime_r = yes; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define HAVE_GMTIME_R 1
41293 ac_cpp
='$CPP $CPPFLAGS'
41294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41298 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41299 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41301 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41306 ################################################################
41308 ac_cv_func_which_gethostbyname_r
=unknown
41311 # ONE ARGUMENT (sanity check)
41314 # This should fail, as there is no variant of gethostbyname_r() that takes
41315 # a single argument. If it actually compiles, then we can assume that
41316 # netdb.h is not declaring the function, and the compiler is thereby
41317 # assuming an implicit prototype. In which case, we're out of luck.
41319 cat >conftest.
$ac_ext <<_ACEOF
41322 cat confdefs.h
>>conftest.
$ac_ext
41323 cat >>conftest.
$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41330 char *name = "www.gnu.org";
41331 (void)gethostbyname_r(name) /* ; */
41337 rm -f conftest.
$ac_objext
41338 if { (ac_try
="$ac_compile"
41339 case "(($ac_try" in
41340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41341 *) ac_try_echo=$ac_try;;
41343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41344 (eval "$ac_compile") 2>conftest.er1
41346 grep -v '^ *+' conftest.er1 >conftest.err
41348 cat conftest.err >&5
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); } && {
41351 test -z "$ac_c_werror_flag" ||
41352 test ! -s conftest.err
41353 } && test -s conftest.$ac_objext; then
41354 ac_cv_func_which_gethostbyname_r=no
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.$ac_ext >&5
41362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41371 cat >conftest.$ac_ext <<_ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41382 char *name = "www.gnu.org";
41383 struct hostent ret, *retp;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41393 rm -f conftest.$ac_objext
41394 if { (ac_try="$ac_compile"
41395 case "(($ac_try" in
41396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41397 *) ac_try_echo
=$ac_try;;
41399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41400 (eval "$ac_compile") 2>conftest.er1
41402 grep -v '^ *+' conftest.er1
>conftest.err
41404 cat conftest.err
>&5
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); } && {
41407 test -z "$ac_c_werror_flag" ||
41408 test ! -s conftest.err
41409 } && test -s conftest.
$ac_objext; then
41410 ac_cv_func_which_gethostbyname_r
=six
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.
$ac_ext >&5
41418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41427 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41429 cat >conftest.
$ac_ext <<_ACEOF
41432 cat confdefs.h
>>conftest.
$ac_ext
41433 cat >>conftest.
$ac_ext <<_ACEOF
41434 /* end confdefs.h. */
41440 char *name = "www.gnu.org";
41441 struct hostent ret;
41445 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41451 rm -f conftest.
$ac_objext
41452 if { (ac_try
="$ac_compile"
41453 case "(($ac_try" in
41454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41455 *) ac_try_echo=$ac_try;;
41457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41458 (eval "$ac_compile") 2>conftest.er1
41460 grep -v '^ *+' conftest.er1 >conftest.err
41462 cat conftest.err >&5
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); } && {
41465 test -z "$ac_c_werror_flag" ||
41466 test ! -s conftest.err
41467 } && test -s conftest.$ac_objext; then
41468 ac_cv_func_which_gethostbyname_r=five
41470 echo "$as_me: failed program was:" >&5
41471 sed 's/^/| /' conftest.$ac_ext >&5
41476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41482 # (e.g. AIX, HP-UX, Tru64)
41485 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41487 cat >conftest.$ac_ext <<_ACEOF
41490 cat confdefs.h >>conftest.$ac_ext
41491 cat >>conftest.$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41498 char *name = "www.gnu.org";
41499 struct hostent ret;
41500 struct hostent_data data;
41501 (void)gethostbyname_r(name, &ret, &data) /* ; */
41507 rm -f conftest.$ac_objext
41508 if { (ac_try="$ac_compile"
41509 case "(($ac_try" in
41510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41511 *) ac_try_echo
=$ac_try;;
41513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41514 (eval "$ac_compile") 2>conftest.er1
41516 grep -v '^ *+' conftest.er1
>conftest.err
41518 cat conftest.err
>&5
41519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41520 (exit $ac_status); } && {
41521 test -z "$ac_c_werror_flag" ||
41522 test ! -s conftest.err
41523 } && test -s conftest.
$ac_objext; then
41524 ac_cv_func_which_gethostbyname_r
=three
41526 echo "$as_me: failed program was:" >&5
41527 sed 's/^/| /' conftest.
$ac_ext >&5
41532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41536 ################################################################
41541 case "$ac_cv_func_which_gethostbyname_r" in
41543 { echo "$as_me:$LINENO: result: three" >&5
41544 echo "${ECHO_T}three" >&6; }
41545 cat >>confdefs.h
<<\_ACEOF
41546 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41552 { echo "$as_me:$LINENO: result: five" >&5
41553 echo "${ECHO_T}five" >&6; }
41554 cat >>confdefs.h
<<\_ACEOF
41555 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41561 { echo "$as_me:$LINENO: result: six" >&5
41562 echo "${ECHO_T}six" >&6; }
41563 cat >>confdefs.h
<<\_ACEOF
41564 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41570 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41571 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41575 { echo "$as_me:$LINENO: result: can't tell" >&5
41576 echo "${ECHO_T}can't tell" >&6; }
41580 { { echo "$as_me:$LINENO: error: internal error" >&5
41581 echo "$as_me: error: internal error" >&2;}
41582 { (exit 1); exit 1; }; }
41587 ac_cpp
='$CPP $CPPFLAGS'
41588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41594 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41595 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41596 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41597 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41598 if test "${ac_cv_func_gethostbyname+set}" = set; then
41599 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 cat >conftest.
$ac_ext <<_ACEOF
41604 cat confdefs.h
>>conftest.
$ac_ext
41605 cat >>conftest.
$ac_ext <<_ACEOF
41606 /* end confdefs.h. */
41607 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41609 #define gethostbyname innocuous_gethostbyname
41611 /* System header to define __stub macros and hopefully few prototypes,
41612 which can conflict with char gethostbyname (); below.
41613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41614 <limits.h> exists even on freestanding compilers. */
41617 # include <limits.h>
41619 # include <assert.h>
41622 #undef gethostbyname
41624 /* Override any GCC internal prototype to avoid an error.
41625 Use char because int might match the return type of a GCC
41626 builtin and then its argument prototype would still apply. */
41630 char gethostbyname ();
41631 /* The GNU C library defines this for functions which it implements
41632 to always fail with ENOSYS. Some functions are actually named
41633 something starting with __ and the normal name is an alias. */
41634 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41641 return gethostbyname ();
41646 rm -f conftest.
$ac_objext conftest
$ac_exeext
41647 if { (ac_try
="$ac_link"
41648 case "(($ac_try" in
41649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41650 *) ac_try_echo=$ac_try;;
41652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41653 (eval "$ac_link") 2>conftest.er1
41655 grep -v '^ *+' conftest.er1 >conftest.err
41657 cat conftest.err >&5
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); } && {
41660 test -z "$ac_c_werror_flag" ||
41661 test ! -s conftest.err
41662 } && test -s conftest$ac_exeext &&
41663 $as_test_x conftest$ac_exeext; then
41664 ac_cv_func_gethostbyname=yes
41666 echo "$as_me: failed program was:" >&5
41667 sed 's/^/| /' conftest.$ac_ext >&5
41669 ac_cv_func_gethostbyname=no
41672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41673 conftest$ac_exeext conftest.$ac_ext
41675 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41676 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41677 if test $ac_cv_func_gethostbyname = yes; then
41678 cat >>confdefs.h <<\_ACEOF
41679 #define HAVE_GETHOSTBYNAME 1
41686 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41687 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41688 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41689 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 ac_cpp='$CXXCPP $CPPFLAGS'
41694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41699 cat >conftest.$ac_ext <<_ACEOF
41702 cat confdefs.h >>conftest.$ac_ext
41703 cat >>conftest.$ac_ext <<_ACEOF
41704 /* end confdefs.h. */
41712 struct servent *se, *res;
41715 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41721 rm -f conftest.$ac_objext
41722 if { (ac_try="$ac_compile"
41723 case "(($ac_try" in
41724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41725 *) ac_try_echo
=$ac_try;;
41727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41728 (eval "$ac_compile") 2>conftest.er1
41730 grep -v '^ *+' conftest.er1
>conftest.err
41732 cat conftest.err
>&5
41733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734 (exit $ac_status); } && {
41735 test -z "$ac_cxx_werror_flag" ||
41736 test ! -s conftest.err
41737 } && test -s conftest.
$ac_objext; then
41738 ac_cv_func_which_getservbyname_r
=six
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.
$ac_ext >&5
41744 cat >conftest.
$ac_ext <<_ACEOF
41747 cat confdefs.h
>>conftest.
$ac_ext
41748 cat >>conftest.
$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41757 struct servent *se;
41760 (void) getservbyname_r(name, proto, se, buffer, buflen)
41766 rm -f conftest.
$ac_objext
41767 if { (ac_try
="$ac_compile"
41768 case "(($ac_try" in
41769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41770 *) ac_try_echo=$ac_try;;
41772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41773 (eval "$ac_compile") 2>conftest.er1
41775 grep -v '^ *+' conftest.er1 >conftest.err
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } && {
41780 test -z "$ac_cxx_werror_flag" ||
41781 test ! -s conftest.err
41782 } && test -s conftest.$ac_objext; then
41783 ac_cv_func_which_getservbyname_r=five
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41789 cat >conftest.$ac_ext <<_ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41802 struct servent *se;
41803 struct servent_data data;
41804 (void) getservbyname_r(name, proto, se, &data);
41810 rm -f conftest.$ac_objext
41811 if { (ac_try="$ac_compile"
41812 case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41814 *) ac_try_echo
=$ac_try;;
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_compile") 2>conftest.er1
41819 grep -v '^ *+' conftest.er1
>conftest.err
41821 cat conftest.err
>&5
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); } && {
41824 test -z "$ac_cxx_werror_flag" ||
41825 test ! -s conftest.err
41826 } && test -s conftest.
$ac_objext; then
41827 ac_cv_func_which_getservbyname_r
=four
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.
$ac_ext >&5
41832 ac_cv_func_which_getservbyname_r
=no
41836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41848 ac_cpp
='$CPP $CPPFLAGS'
41849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41856 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41857 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41859 if test $ac_cv_func_which_getservbyname_r = six
; then
41860 cat >>confdefs.h
<<\_ACEOF
41861 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41864 elif test $ac_cv_func_which_getservbyname_r = five
; then
41865 cat >>confdefs.h
<<\_ACEOF
41866 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41869 elif test $ac_cv_func_which_getservbyname_r = four
; then
41870 cat >>confdefs.h
<<\_ACEOF
41871 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41877 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41878 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41880 for ac_func
in getservbyname
41882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41883 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41885 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41888 cat >conftest.
$ac_ext <<_ACEOF
41891 cat confdefs.h
>>conftest.
$ac_ext
41892 cat >>conftest.
$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41896 #define $ac_func innocuous_$ac_func
41898 /* System header to define __stub macros and hopefully few prototypes,
41899 which can conflict with char $ac_func (); below.
41900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41901 <limits.h> exists even on freestanding compilers. */
41904 # include <limits.h>
41906 # include <assert.h>
41911 /* Override any GCC internal prototype to avoid an error.
41912 Use char because int might match the return type of a GCC
41913 builtin and then its argument prototype would still apply. */
41918 /* The GNU C library defines this for functions which it implements
41919 to always fail with ENOSYS. Some functions are actually named
41920 something starting with __ and the normal name is an alias. */
41921 #if defined __stub_$ac_func || defined __stub___$ac_func
41928 return $ac_func ();
41933 rm -f conftest.
$ac_objext conftest
$ac_exeext
41934 if { (ac_try
="$ac_link"
41935 case "(($ac_try" in
41936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41937 *) ac_try_echo=$ac_try;;
41939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41940 (eval "$ac_link") 2>conftest.er1
41942 grep -v '^ *+' conftest.er1 >conftest.err
41944 cat conftest.err >&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); } && {
41947 test -z "$ac_c_werror_flag" ||
41948 test ! -s conftest.err
41949 } && test -s conftest$ac_exeext &&
41950 $as_test_x conftest$ac_exeext; then
41951 eval "$as_ac_var=yes"
41953 echo "$as_me: failed program was:" >&5
41954 sed 's/^/| /' conftest.$ac_ext >&5
41956 eval "$as_ac_var=no"
41959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41960 conftest$ac_exeext conftest.$ac_ext
41962 ac_res=`eval echo '${'$as_ac_var'}'`
41963 { echo "$as_me:$LINENO: result: $ac_res" >&5
41964 echo "${ECHO_T}$ac_res" >&6; }
41965 if test `eval echo '${'$as_ac_var'}'` = yes; then
41966 cat >>confdefs.h <<_ACEOF
41967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41969 cat >>confdefs.h <<\_ACEOF
41970 #define HAVE_GETSERVBYNAME 1
41978 if test "$wxUSE_THREADS" = "yes"; then
41979 cat >>confdefs.h <<\_ACEOF
41980 #define wxUSE_THREADS 1
41984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41986 if test "$wx_cv_func_strtok_r" = "yes"; then
41987 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41988 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41989 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41990 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41991 { echo "$as_me:$LINENO: result: yes" >&5
41992 echo "${ECHO_T}yes" >&6; }
41994 { echo "$as_me:$LINENO: result: no" >&5
41995 echo "${ECHO_T}no" >&6; }
42000 if test "$WXGTK2" = 1 ; then
42001 cat >>confdefs.h <<_ACEOF
42002 #define __WXGTK20__ $WXGTK2
42008 if test "$WXGTK12" = 1 ; then
42009 cat >>confdefs.h <<_ACEOF
42010 #define __WXGTK12__ $WXGTK12
42015 if test "$WXGTK127" = 1 ; then
42016 cat >>confdefs.h <<_ACEOF
42017 #define __WXGTK127__ $WXGTK127
42022 if test "$WXGPE" = 1 ; then
42023 cat >>confdefs.h <<_ACEOF
42024 #define __WXGPE__ $WXGPE
42030 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42031 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42032 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42033 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42037 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42038 wxUSE_DEBUG_INFO=yes
42039 if test "$GCC" = yes; then
42040 DEBUG_CFLAGS="-ggdb"
42044 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42045 if test "$wxUSE_GTK" = 1 ; then
42046 if test "x$wxGTK_VERSION" = "x1" ; then
42047 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42052 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42053 cat >>confdefs.h <<\_ACEOF
42054 #define wxUSE_MEMORY_TRACING 1
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42061 cat >>confdefs.h <<\_ACEOF
42062 #define wxUSE_DEBUG_NEW_ALWAYS 1
42065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42068 if test "$wxUSE_DMALLOC" = "yes" ; then
42069 DMALLOC_LIBS="-ldmallocthcxx"
42073 if test "$wxUSE_PROFILE" = "yes" ; then
42074 PROFILE_FLAGS=" -pg"
42077 if test "$GCC" = "yes" ; then
42078 if test "$wxUSE_NO_RTTI" = "yes" ; then
42079 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42081 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42082 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42084 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42085 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42090 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42093 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42099 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42100 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42101 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42103 if test "$wxUSE_OPTIMISE" = "no" ; then
42104 if test "$GCC" = yes ; then
42105 OPTIMISE_CFLAGS="-O0"
42108 if test "$GCC" = yes ; then
42110 *-pc-os2_emx | *-pc-os2-emx )
42111 OPTIMISE_CFLAGS="-O2"
42114 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42118 OPTIMISE_CFLAGS="-O"
42124 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42125 cat >>confdefs.h <<\_ACEOF
42126 #define WXWIN_COMPATIBILITY_2_6 1
42130 WXWIN_COMPATIBILITY_2_8="yes"
42133 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42134 cat >>confdefs.h <<\_ACEOF
42135 #define WXWIN_COMPATIBILITY_2_8 1
42141 if test "$wxUSE_GUI" = "yes"; then
42142 cat >>confdefs.h <<\_ACEOF
42143 #define wxUSE_GUI 1
42150 if test "$wxUSE_UNIX" = "yes"; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_UNIX 1
42158 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42162 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42163 if test "$USE_DOS" = 1; then
42167 for ac_func in dlopen
42169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42175 cat >conftest.$ac_ext <<_ACEOF
42178 cat confdefs.h >>conftest.$ac_ext
42179 cat >>conftest.$ac_ext <<_ACEOF
42180 /* end confdefs.h. */
42181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42183 #define $ac_func innocuous_$ac_func
42185 /* System header to define __stub macros and hopefully few prototypes,
42186 which can conflict with char $ac_func (); below.
42187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42188 <limits.h> exists even on freestanding compilers. */
42191 # include <limits.h>
42193 # include <assert.h>
42198 /* Override any GCC internal prototype to avoid an error.
42199 Use char because int might match the return type of a GCC
42200 builtin and then its argument prototype would still apply. */
42205 /* The GNU C library defines this for functions which it implements
42206 to always fail with ENOSYS. Some functions are actually named
42207 something starting with __ and the normal name is an alias. */
42208 #if defined __stub_$ac_func || defined __stub___$ac_func
42215 return $ac_func ();
42220 rm -f conftest.$ac_objext conftest$ac_exeext
42221 if { (ac_try="$ac_link"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42224 *) ac_try_echo
=$ac_try;;
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_link") 2>conftest.er1
42229 grep -v '^ *+' conftest.er1
>conftest.err
42231 cat conftest.err
>&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_c_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest
$ac_exeext &&
42237 $as_test_x conftest
$ac_exeext; then
42238 eval "$as_ac_var=yes"
42240 echo "$as_me: failed program was:" >&5
42241 sed 's/^/| /' conftest.
$ac_ext >&5
42243 eval "$as_ac_var=no"
42246 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42247 conftest
$ac_exeext conftest.
$ac_ext
42249 ac_res
=`eval echo '${'$as_ac_var'}'`
42250 { echo "$as_me:$LINENO: result: $ac_res" >&5
42251 echo "${ECHO_T}$ac_res" >&6; }
42252 if test `eval echo '${'$as_ac_var'}'` = yes; then
42253 cat >>confdefs.h
<<_ACEOF
42254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42257 cat >>confdefs.h
<<\_ACEOF
42258 #define HAVE_DLOPEN 1
42265 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42266 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 ac_check_lib_save_LIBS
=$LIBS
42272 cat >conftest.
$ac_ext <<_ACEOF
42275 cat confdefs.h
>>conftest.
$ac_ext
42276 cat >>conftest.
$ac_ext <<_ACEOF
42277 /* end confdefs.h. */
42279 /* Override any GCC internal prototype to avoid an error.
42280 Use char because int might match the return type of a GCC
42281 builtin and then its argument prototype would still apply. */
42294 rm -f conftest.
$ac_objext conftest
$ac_exeext
42295 if { (ac_try
="$ac_link"
42296 case "(($ac_try" in
42297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42298 *) ac_try_echo=$ac_try;;
42300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42301 (eval "$ac_link") 2>conftest.er1
42303 grep -v '^ *+' conftest.er1 >conftest.err
42305 cat conftest.err >&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); } && {
42308 test -z "$ac_c_werror_flag" ||
42309 test ! -s conftest.err
42310 } && test -s conftest$ac_exeext &&
42311 $as_test_x conftest$ac_exeext; then
42312 ac_cv_lib_dl_dlopen=yes
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.$ac_ext >&5
42317 ac_cv_lib_dl_dlopen=no
42320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42321 conftest$ac_exeext conftest.$ac_ext
42322 LIBS=$ac_check_lib_save_LIBS
42324 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42325 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42326 if test $ac_cv_lib_dl_dlopen = yes; then
42328 cat >>confdefs.h <<\_ACEOF
42329 #define HAVE_DLOPEN 1
42333 DL_LINK=" -ldl$DL_LINK"
42338 for ac_func in shl_load
42340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42346 cat >conftest.$ac_ext <<_ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42354 #define $ac_func innocuous_$ac_func
42356 /* System header to define __stub macros and hopefully few prototypes,
42357 which can conflict with char $ac_func (); below.
42358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42359 <limits.h> exists even on freestanding compilers. */
42362 # include <limits.h>
42364 # include <assert.h>
42369 /* Override any GCC internal prototype to avoid an error.
42370 Use char because int might match the return type of a GCC
42371 builtin and then its argument prototype would still apply. */
42376 /* The GNU C library defines this for functions which it implements
42377 to always fail with ENOSYS. Some functions are actually named
42378 something starting with __ and the normal name is an alias. */
42379 #if defined __stub_$ac_func || defined __stub___$ac_func
42386 return $ac_func ();
42391 rm -f conftest.$ac_objext conftest$ac_exeext
42392 if { (ac_try="$ac_link"
42393 case "(($ac_try" in
42394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42395 *) ac_try_echo
=$ac_try;;
42397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42398 (eval "$ac_link") 2>conftest.er1
42400 grep -v '^ *+' conftest.er1
>conftest.err
42402 cat conftest.err
>&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } && {
42405 test -z "$ac_c_werror_flag" ||
42406 test ! -s conftest.err
42407 } && test -s conftest
$ac_exeext &&
42408 $as_test_x conftest
$ac_exeext; then
42409 eval "$as_ac_var=yes"
42411 echo "$as_me: failed program was:" >&5
42412 sed 's/^/| /' conftest.
$ac_ext >&5
42414 eval "$as_ac_var=no"
42417 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42418 conftest
$ac_exeext conftest.
$ac_ext
42420 ac_res
=`eval echo '${'$as_ac_var'}'`
42421 { echo "$as_me:$LINENO: result: $ac_res" >&5
42422 echo "${ECHO_T}$ac_res" >&6; }
42423 if test `eval echo '${'$as_ac_var'}'` = yes; then
42424 cat >>confdefs.h
<<_ACEOF
42425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42428 cat >>confdefs.h
<<\_ACEOF
42429 #define HAVE_SHL_LOAD 1
42436 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42437 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42438 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42439 echo $ECHO_N "(cached) $ECHO_C" >&6
42441 ac_check_lib_save_LIBS
=$LIBS
42442 LIBS
="-lshl_load $LIBS"
42443 cat >conftest.
$ac_ext <<_ACEOF
42446 cat confdefs.h
>>conftest.
$ac_ext
42447 cat >>conftest.
$ac_ext <<_ACEOF
42448 /* end confdefs.h. */
42450 /* Override any GCC internal prototype to avoid an error.
42451 Use char because int might match the return type of a GCC
42452 builtin and then its argument prototype would still apply. */
42465 rm -f conftest.
$ac_objext conftest
$ac_exeext
42466 if { (ac_try
="$ac_link"
42467 case "(($ac_try" in
42468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42469 *) ac_try_echo=$ac_try;;
42471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42472 (eval "$ac_link") 2>conftest.er1
42474 grep -v '^ *+' conftest.er1 >conftest.err
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } && {
42479 test -z "$ac_c_werror_flag" ||
42480 test ! -s conftest.err
42481 } && test -s conftest$ac_exeext &&
42482 $as_test_x conftest$ac_exeext; then
42483 ac_cv_lib_shl_load_dld=yes
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42488 ac_cv_lib_shl_load_dld=no
42491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42492 conftest$ac_exeext conftest.$ac_ext
42493 LIBS=$ac_check_lib_save_LIBS
42495 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42496 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42497 if test $ac_cv_lib_shl_load_dld = yes; then
42500 DL_LINK=" -ldld$DL_LINK"
42516 if test "$HAVE_DL_FUNCS" = 1; then
42518 for ac_func in dlerror
42520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42521 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42526 cat >conftest.$ac_ext <<_ACEOF
42529 cat confdefs.h >>conftest.$ac_ext
42530 cat >>conftest.$ac_ext <<_ACEOF
42531 /* end confdefs.h. */
42532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42534 #define $ac_func innocuous_$ac_func
42536 /* System header to define __stub macros and hopefully few prototypes,
42537 which can conflict with char $ac_func (); below.
42538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42539 <limits.h> exists even on freestanding compilers. */
42542 # include <limits.h>
42544 # include <assert.h>
42549 /* Override any GCC internal prototype to avoid an error.
42550 Use char because int might match the return type of a GCC
42551 builtin and then its argument prototype would still apply. */
42556 /* The GNU C library defines this for functions which it implements
42557 to always fail with ENOSYS. Some functions are actually named
42558 something starting with __ and the normal name is an alias. */
42559 #if defined __stub_$ac_func || defined __stub___$ac_func
42566 return $ac_func ();
42571 rm -f conftest.$ac_objext conftest$ac_exeext
42572 if { (ac_try="$ac_link"
42573 case "(($ac_try" in
42574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42575 *) ac_try_echo
=$ac_try;;
42577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42578 (eval "$ac_link") 2>conftest.er1
42580 grep -v '^ *+' conftest.er1
>conftest.err
42582 cat conftest.err
>&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && {
42585 test -z "$ac_c_werror_flag" ||
42586 test ! -s conftest.err
42587 } && test -s conftest
$ac_exeext &&
42588 $as_test_x conftest
$ac_exeext; then
42589 eval "$as_ac_var=yes"
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.
$ac_ext >&5
42594 eval "$as_ac_var=no"
42597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42598 conftest
$ac_exeext conftest.
$ac_ext
42600 ac_res
=`eval echo '${'$as_ac_var'}'`
42601 { echo "$as_me:$LINENO: result: $ac_res" >&5
42602 echo "${ECHO_T}$ac_res" >&6; }
42603 if test `eval echo '${'$as_ac_var'}'` = yes; then
42604 cat >>confdefs.h
<<_ACEOF
42605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 cat >>confdefs.h
<<\_ACEOF
42608 #define HAVE_DLERROR 1
42613 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42614 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42615 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 ac_check_lib_save_LIBS
=$LIBS
42620 cat >conftest.
$ac_ext <<_ACEOF
42623 cat confdefs.h
>>conftest.
$ac_ext
42624 cat >>conftest.
$ac_ext <<_ACEOF
42625 /* end confdefs.h. */
42627 /* Override any GCC internal prototype to avoid an error.
42628 Use char because int might match the return type of a GCC
42629 builtin and then its argument prototype would still apply. */
42642 rm -f conftest.
$ac_objext conftest
$ac_exeext
42643 if { (ac_try
="$ac_link"
42644 case "(($ac_try" in
42645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_link") 2>conftest.er1
42651 grep -v '^ *+' conftest.er1 >conftest.err
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_c_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest$ac_exeext &&
42659 $as_test_x conftest$ac_exeext; then
42660 ac_cv_lib_dl_dlerror=yes
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42665 ac_cv_lib_dl_dlerror=no
42668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42669 conftest$ac_exeext conftest.$ac_ext
42670 LIBS=$ac_check_lib_save_LIBS
42672 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42673 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42674 if test $ac_cv_lib_dl_dlerror = yes; then
42675 cat >>confdefs.h <<\_ACEOF
42676 #define HAVE_DLERROR 1
42689 if test "$USE_DARWIN" = 1; then
42693 if test "$HAVE_DL_FUNCS" = 0; then
42694 if test "$HAVE_SHL_FUNCS" = 0; then
42695 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42696 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42697 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42698 wxUSE_DYNAMIC_LOADER=no
42699 wxUSE_DYNLIB_CLASS=no
42701 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42702 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42709 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_DYNAMIC_LOADER 1
42715 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42716 cat >>confdefs.h <<\_ACEOF
42717 #define wxUSE_DYNLIB_CLASS 1
42724 if test "$wxUSE_PLUGINS" = "yes" ; then
42725 if test "$wxUSE_SHARED" = "no" ; then
42726 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42727 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42730 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42731 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42732 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42735 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42736 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42737 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42740 if test "$wxUSE_PLUGINS" = "yes" ; then
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_PLUGINS 1
42749 if test "$wxUSE_FSWATCHER" = "yes"; then
42750 if test "$wxUSE_MSW" != "1"; then
42751 if test "$wxUSE_UNIX" = "yes"; then
42753 for ac_header in sys/inotify.h
42755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42759 echo $ECHO_N "(cached) $ECHO_C" >&6
42761 cat >conftest.$ac_ext <<_ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767 $ac_includes_default
42769 #include <$ac_header>
42771 rm -f conftest.$ac_objext
42772 if { (ac_try="$ac_compile"
42773 case "(($ac_try" in
42774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42775 *) ac_try_echo
=$ac_try;;
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_compile") 2>conftest.er1
42780 grep -v '^ *+' conftest.er1
>conftest.err
42782 cat conftest.err
>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest.
$ac_objext; then
42788 eval "$as_ac_Header=yes"
42790 echo "$as_me: failed program was:" >&5
42791 sed 's/^/| /' conftest.
$ac_ext >&5
42793 eval "$as_ac_Header=no"
42796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42798 ac_res
=`eval echo '${'$as_ac_Header'}'`
42799 { echo "$as_me:$LINENO: result: $ac_res" >&5
42800 echo "${ECHO_T}$ac_res" >&6; }
42801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42802 cat >>confdefs.h
<<_ACEOF
42803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42810 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42811 cat >>confdefs.h
<<\_ACEOF
42812 #define wxHAS_INOTIFY 1
42817 for ac_header
in sys
/event.h
42819 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42822 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 cat >conftest.
$ac_ext <<_ACEOF
42828 cat confdefs.h
>>conftest.
$ac_ext
42829 cat >>conftest.
$ac_ext <<_ACEOF
42830 /* end confdefs.h. */
42831 $ac_includes_default
42833 #include <$ac_header>
42835 rm -f conftest.
$ac_objext
42836 if { (ac_try
="$ac_compile"
42837 case "(($ac_try" in
42838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42839 *) ac_try_echo=$ac_try;;
42841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42842 (eval "$ac_compile") 2>conftest.er1
42844 grep -v '^ *+' conftest.er1 >conftest.err
42846 cat conftest.err >&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } && {
42849 test -z "$ac_c_werror_flag" ||
42850 test ! -s conftest.err
42851 } && test -s conftest.$ac_objext; then
42852 eval "$as_ac_Header=yes"
42854 echo "$as_me: failed program was:" >&5
42855 sed 's/^/| /' conftest.$ac_ext >&5
42857 eval "$as_ac_Header=no"
42860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 ac_res=`eval echo '${'$as_ac_Header'}'`
42863 { echo "$as_me:$LINENO: result: $ac_res" >&5
42864 echo "${ECHO_T}$ac_res" >&6; }
42865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42866 cat >>confdefs.h <<_ACEOF
42867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42874 if test "$ac_cv_header_sys_event_h" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxHAS_KQUEUE 1
42888 if test "$wxUSE_FSWATCHER" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_FSWATCHER 1
42893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42895 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42896 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42901 if test "$wxUSE_STL" = "yes"; then
42902 cat >>confdefs.h <<\_ACEOF
42903 #define wxUSE_STL 1
42908 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42909 cat >>confdefs.h <<\_ACEOF
42910 #define wxUSE_EXTENDED_RTTI 1
42915 if test "$wxUSE_ANY" = "yes"; then
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_ANY 1
42922 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42923 cat >>confdefs.h <<\_ACEOF
42924 #define wxUSE_APPLE_IEEE 1
42929 if test "$wxUSE_TIMER" = "yes"; then
42930 cat >>confdefs.h <<\_ACEOF
42931 #define wxUSE_TIMER 1
42936 if test "$USE_UNIX" = 1 ; then
42937 if test "$wxUSE_MGL" != 1; then
42938 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42939 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42940 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42944 cat >conftest.$ac_ext <<_ACEOF
42947 cat confdefs.h >>conftest.$ac_ext
42948 cat >>conftest.$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42951 #include <sys/ioctl.h>
42952 #include <sys/soundcard.h>
42958 ioctl(0, SNDCTL_DSP_SPEED, 0);
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42968 *) ac_try_echo
=$ac_try;;
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>conftest.er1
42973 grep -v '^ *+' conftest.er1
>conftest.err
42975 cat conftest.err
>&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } && {
42978 test -z "$ac_c_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest
$ac_exeext &&
42981 $as_test_x conftest
$ac_exeext; then
42982 ac_cv_header_sys_soundcard
=yes
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.
$ac_ext >&5
42989 LIBS
="$saveLibs -lossaudio"
42990 cat >conftest.
$ac_ext <<_ACEOF
42993 cat confdefs.h
>>conftest.
$ac_ext
42994 cat >>conftest.
$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42997 #include <sys/ioctl.h>
42998 #include <sys/soundcard.h>
43004 ioctl(0, SNDCTL_DSP_SPEED, 0);
43010 rm -f conftest.
$ac_objext conftest
$ac_exeext
43011 if { (ac_try
="$ac_link"
43012 case "(($ac_try" in
43013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43014 *) ac_try_echo=$ac_try;;
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_link") 2>conftest.er1
43019 grep -v '^ *+' conftest.er1 >conftest.err
43021 cat conftest.err >&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); } && {
43024 test -z "$ac_c_werror_flag" ||
43025 test ! -s conftest.err
43026 } && test -s conftest$ac_exeext &&
43027 $as_test_x conftest$ac_exeext; then
43028 ac_cv_header_sys_soundcard=yes
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43035 ac_cv_header_sys_soundcard=no
43040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43041 conftest$ac_exeext conftest.$ac_ext
43046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43047 conftest$ac_exeext conftest.$ac_ext
43050 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43051 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43054 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43055 cat >>confdefs.h <<\_ACEOF
43056 #define HAVE_SYS_SOUNDCARD_H 1
43063 if test "$wxUSE_SOUND" = "yes"; then
43064 if test "$USE_UNIX" = 1 ; then
43065 if test "$wxUSE_LIBSDL" != "no"; then
43067 # Check whether --with-sdl-prefix was given.
43068 if test "${with_sdl_prefix+set}" = set; then
43069 withval=$with_sdl_prefix; sdl_prefix="$withval"
43075 # Check whether --with-sdl-exec-prefix was given.
43076 if test "${with_sdl_exec_prefix+set}" = set; then
43077 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43082 # Check whether --enable-sdltest was given.
43083 if test "${enable_sdltest+set}" = set; then
43084 enableval=$enable_sdltest;
43090 if test x$sdl_exec_prefix != x ; then
43091 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43092 if test x${SDL_CONFIG+set} != xset ; then
43093 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43096 if test x$sdl_prefix != x ; then
43097 sdl_args="$sdl_args --prefix=$sdl_prefix"
43098 if test x${SDL_CONFIG+set} != xset ; then
43099 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43103 if test "x$prefix" != xNONE; then
43104 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43106 # Extract the first word of "sdl-config", so it can be a program name with args.
43107 set dummy sdl-config; ac_word=$2
43108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43110 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43111 echo $ECHO_N "(cached) $ECHO_C" >&6
43113 case $SDL_CONFIG in
43115 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43119 for as_dir in $PATH
43122 test -z "$as_dir" && as_dir=.
43123 for ac_exec_ext in '' $ac_executable_extensions; do
43124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43125 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43133 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43137 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43138 if test -n "$SDL_CONFIG"; then
43139 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43140 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43142 { echo "$as_me:$LINENO: result: no" >&5
43143 echo "${ECHO_T}no" >&6; }
43147 min_sdl_version=1.2.0
43148 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43149 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43151 if test "$SDL_CONFIG" = "no" ; then
43154 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43155 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43157 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43159 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43161 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43163 if test "x$enable_sdltest" = "xyes" ; then
43164 ac_save_CFLAGS="$CFLAGS"
43165 ac_save_CXXFLAGS="$CXXFLAGS"
43166 ac_save_LIBS="$LIBS"
43167 CFLAGS="$CFLAGS $SDL_CFLAGS"
43168 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43169 LIBS="$LIBS $SDL_LIBS"
43171 if test "$cross_compiling" = yes; then
43172 echo $ac_n "cross compiling; assumed OK... $ac_c"
43174 cat >conftest.$ac_ext <<_ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43182 #include <stdlib.h>
43183 #include <string.h>
43187 my_strdup (char *str)
43193 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43194 strcpy (new_str, str);
43202 int main (int argc, char *argv[])
43204 int major, minor, micro;
43207 /* This hangs on some systems (?)
43208 system ("touch conf.sdltest");
43210 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43212 /* HP/UX 9 (%@#!) writes to sscanf strings */
43213 tmp_version = my_strdup("$min_sdl_version");
43214 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43215 printf("%s, bad version string\n", "$min_sdl_version");
43219 if (($sdl_major_version > major) ||
43220 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43221 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43227 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43228 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43229 printf("*** best to upgrade to the required version.\n");
43230 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43231 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43232 printf("*** config.cache before re-running configure\n");
43239 rm -f conftest$ac_exeext
43240 if { (ac_try="$ac_link"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43243 *) ac_try_echo
=$ac_try;;
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_link") 2>&5
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43250 { (case "(($ac_try" in
43251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43252 *) ac_try_echo=$ac_try;;
43254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43255 (eval "$ac_try") 2>&5
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; }; then
43261 echo "$as_me: program exited with status $ac_status" >&5
43262 echo "$as_me: failed program was:" >&5
43263 sed 's/^/| /' conftest.$ac_ext >&5
43265 ( exit $ac_status )
43268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43272 CFLAGS="$ac_save_CFLAGS"
43273 CXXFLAGS="$ac_save_CXXFLAGS"
43274 LIBS="$ac_save_LIBS"
43277 if test "x$no_sdl" = x ; then
43278 { echo "$as_me:$LINENO: result: yes" >&5
43279 echo "${ECHO_T}yes" >&6; }
43281 EXTRALIBS_SDL="$SDL_LIBS"
43282 CFLAGS="$SDL_CFLAGS $CFLAGS"
43283 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_LIBSDL 1
43290 { echo "$as_me:$LINENO: result: no" >&5
43291 echo "${ECHO_T}no" >&6; }
43292 if test "$SDL_CONFIG" = "no" ; then
43293 echo "*** The sdl-config script installed by SDL could not be found"
43294 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43295 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43296 echo "*** full path to sdl-config."
43298 if test -f conf.sdltest ; then
43301 echo "*** Could not run SDL test program, checking why..."
43302 CFLAGS="$CFLAGS $SDL_CFLAGS"
43303 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43304 LIBS="$LIBS $SDL_LIBS"
43305 cat >conftest.$ac_ext <<_ACEOF
43308 cat confdefs.h >>conftest.$ac_ext
43309 cat >>conftest.$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43315 int main(int argc, char *argv[])
43318 #define main K_and_R_C_main
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (ac_try="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43332 *) ac_try_echo
=$ac_try;;
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43337 grep -v '^ *+' conftest.er1
>conftest.err
43339 cat conftest.err
>&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest
$ac_exeext &&
43345 $as_test_x conftest
$ac_exeext; then
43346 echo "*** The test program compiled, but did not run. This usually means"
43347 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43348 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43349 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43350 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43351 echo "*** is required on your system"
43353 echo "*** If you have an old version installed, it is best to remove it, although"
43354 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.
$ac_ext >&5
43359 echo "*** The test program failed to compile or link. See the file config.log for the"
43360 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43361 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43362 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43366 conftest
$ac_exeext conftest.
$ac_ext
43367 CFLAGS
="$ac_save_CFLAGS"
43368 CXXFLAGS
="$ac_save_CXXFLAGS"
43369 LIBS
="$ac_save_LIBS"
43380 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43385 if test "$wxUSE_MGL" = 1; then
43386 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43387 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43393 if test "$wxUSE_SOUND" = "yes"; then
43394 cat >>confdefs.h
<<\_ACEOF
43395 #define wxUSE_SOUND 1
43398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43401 if test "$WXGTK2" = 1; then
43404 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43405 if test -n "$ac_tool_prefix"; then
43406 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43407 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43410 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43411 echo $ECHO_N "(cached) $ECHO_C" >&6
43413 case $PKG_CONFIG in
43415 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43419 for as_dir
in $PATH
43422 test -z "$as_dir" && as_dir
=.
43423 for ac_exec_ext
in '' $ac_executable_extensions; do
43424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43425 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43436 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43437 if test -n "$PKG_CONFIG"; then
43438 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43439 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43441 { echo "$as_me:$LINENO: result: no" >&5
43442 echo "${ECHO_T}no" >&6; }
43447 if test -z "$ac_cv_path_PKG_CONFIG"; then
43448 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43449 # Extract the first word of "pkg-config", so it can be a program name with args.
43450 set dummy pkg
-config; ac_word
=$2
43451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43453 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 case $ac_pt_PKG_CONFIG in
43458 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43462 for as_dir
in $PATH
43465 test -z "$as_dir" && as_dir
=.
43466 for ac_exec_ext
in '' $ac_executable_extensions; do
43467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43468 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43479 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43480 if test -n "$ac_pt_PKG_CONFIG"; then
43481 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43482 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43484 { echo "$as_me:$LINENO: result: no" >&5
43485 echo "${ECHO_T}no" >&6; }
43488 if test "x$ac_pt_PKG_CONFIG" = x
; then
43491 case $cross_compiling:$ac_tool_warned in
43493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43494 whose name does not start with the host triplet. If you think this
43495 configuration is useful to you, please write to autoconf@gnu.org." >&5
43496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43497 whose name does not start with the host triplet. If you think this
43498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43499 ac_tool_warned
=yes ;;
43501 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43504 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43508 if test -n "$PKG_CONFIG"; then
43509 _pkg_min_version
=0.9.0
43510 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43511 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43512 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43513 { echo "$as_me:$LINENO: result: yes" >&5
43514 echo "${ECHO_T}yes" >&6; }
43516 { echo "$as_me:$LINENO: result: no" >&5
43517 echo "${ECHO_T}no" >&6; }
43523 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43525 if test "$wxUSE_GTKPRINT" = "yes" ; then
43529 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43530 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43532 if test -n "$PKG_CONFIG"; then
43533 if test -n "$GTKPRINT_CFLAGS"; then
43534 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43536 if test -n "$PKG_CONFIG" && \
43537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43538 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; then
43542 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43550 if test -n "$PKG_CONFIG"; then
43551 if test -n "$GTKPRINT_LIBS"; then
43552 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43554 if test -n "$PKG_CONFIG" && \
43555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43556 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); }; then
43560 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43571 if test $pkg_failed = yes; then
43573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43574 _pkg_short_errors_supported
=yes
43576 _pkg_short_errors_supported
=no
43578 if test $_pkg_short_errors_supported = yes; then
43579 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43581 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43583 # Put the nasty error message in config.log where it belongs
43584 echo "$GTKPRINT_PKG_ERRORS" >&5
43587 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43588 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43589 wxUSE_GTKPRINT
="no"
43592 elif test $pkg_failed = untried
; then
43594 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43595 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43596 wxUSE_GTKPRINT
="no"
43600 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43601 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43602 { echo "$as_me:$LINENO: result: yes" >&5
43603 echo "${ECHO_T}yes" >&6; }
43605 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43606 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43607 cat >>confdefs.h
<<\_ACEOF
43608 #define wxUSE_GTKPRINT 1
43615 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43619 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43620 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43622 if test -n "$PKG_CONFIG"; then
43623 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43624 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43626 if test -n "$PKG_CONFIG" && \
43627 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43628 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); }; then
43632 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43640 if test -n "$PKG_CONFIG"; then
43641 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43642 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43644 if test -n "$PKG_CONFIG" && \
43645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43646 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; then
43650 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43661 if test $pkg_failed = yes; then
43663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43664 _pkg_short_errors_supported
=yes
43666 _pkg_short_errors_supported
=no
43668 if test $_pkg_short_errors_supported = yes; then
43669 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43671 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43673 # Put the nasty error message in config.log where it belongs
43674 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43677 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43678 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43679 wxUSE_LIBGNOMEPRINT
="no"
43682 elif test $pkg_failed = untried
; then
43684 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43685 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43686 wxUSE_LIBGNOMEPRINT
="no"
43690 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43691 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43692 { echo "$as_me:$LINENO: result: yes" >&5
43693 echo "${ECHO_T}yes" >&6; }
43695 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43696 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43697 cat >>confdefs.h
<<\_ACEOF
43698 #define wxUSE_LIBGNOMEPRINT 1
43706 if test "$wxUSE_MIMETYPE" = "yes" ; then
43707 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43711 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43712 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43714 if test -n "$PKG_CONFIG"; then
43715 if test -n "$GNOMEVFS_CFLAGS"; then
43716 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43718 if test -n "$PKG_CONFIG" && \
43719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43720 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); }; then
43724 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43732 if test -n "$PKG_CONFIG"; then
43733 if test -n "$GNOMEVFS_LIBS"; then
43734 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43736 if test -n "$PKG_CONFIG" && \
43737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43738 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43741 (exit $ac_status); }; then
43742 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43753 if test $pkg_failed = yes; then
43755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43756 _pkg_short_errors_supported
=yes
43758 _pkg_short_errors_supported
=no
43760 if test $_pkg_short_errors_supported = yes; then
43761 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43763 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43765 # Put the nasty error message in config.log where it belongs
43766 echo "$GNOMEVFS_PKG_ERRORS" >&5
43769 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43770 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43771 wxUSE_LIBGNOMEVFS
="no"
43774 elif test $pkg_failed = untried
; then
43776 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43777 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43778 wxUSE_LIBGNOMEVFS
="no"
43782 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43783 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43784 { echo "$as_me:$LINENO: result: yes" >&5
43785 echo "${ECHO_T}yes" >&6; }
43787 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43788 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43789 cat >>confdefs.h
<<\_ACEOF
43790 #define wxUSE_LIBGNOMEVFS 1
43798 if test "$wxUSE_LIBHILDON" = "yes" ; then
43801 { echo "$as_me:$LINENO: checking for HILDON" >&5
43802 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43804 if test -n "$PKG_CONFIG"; then
43805 if test -n "$HILDON_CFLAGS"; then
43806 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43808 if test -n "$PKG_CONFIG" && \
43809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43810 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43813 (exit $ac_status); }; then
43814 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43822 if test -n "$PKG_CONFIG"; then
43823 if test -n "$HILDON_LIBS"; then
43824 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43826 if test -n "$PKG_CONFIG" && \
43827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43828 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); }; then
43832 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43843 if test $pkg_failed = yes; then
43845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43846 _pkg_short_errors_supported
=yes
43848 _pkg_short_errors_supported
=no
43850 if test $_pkg_short_errors_supported = yes; then
43851 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43853 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43855 # Put the nasty error message in config.log where it belongs
43856 echo "$HILDON_PKG_ERRORS" >&5
43859 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43860 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43861 wxUSE_LIBHILDON
="no"
43865 elif test $pkg_failed = untried
; then
43867 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43868 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43869 wxUSE_LIBHILDON
="no"
43874 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43875 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43876 { echo "$as_me:$LINENO: result: yes" >&5
43877 echo "${ECHO_T}yes" >&6; }
43879 EXTRALIBS_HILDON
="$HILDON_LIBS"
43880 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43881 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_LIBHILDON 1
43890 if test "$ac_hildon_lgpl" = 0 ; then
43893 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43894 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43896 if test -n "$PKG_CONFIG"; then
43897 if test -n "$HILDON2_CFLAGS"; then
43898 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43900 if test -n "$PKG_CONFIG" && \
43901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43902 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); }; then
43906 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43914 if test -n "$PKG_CONFIG"; then
43915 if test -n "$HILDON2_LIBS"; then
43916 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43918 if test -n "$PKG_CONFIG" && \
43919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43920 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; then
43924 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43935 if test $pkg_failed = yes; then
43937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43938 _pkg_short_errors_supported
=yes
43940 _pkg_short_errors_supported
=no
43942 if test $_pkg_short_errors_supported = yes; then
43943 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43945 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43947 # Put the nasty error message in config.log where it belongs
43948 echo "$HILDON2_PKG_ERRORS" >&5
43951 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43952 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43953 wxUSE_LIBHILDON2
="no"
43956 elif test $pkg_failed = untried
; then
43958 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43959 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43960 wxUSE_LIBHILDON2
="no"
43964 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43965 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43966 { echo "$as_me:$LINENO: result: yes" >&5
43967 echo "${ECHO_T}yes" >&6; }
43969 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43970 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43971 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43972 cat >>confdefs.h
<<\_ACEOF
43973 #define wxUSE_LIBHILDON2 1
43982 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43983 cat >>confdefs.h
<<\_ACEOF
43984 #define wxUSE_CMDLINE_PARSER 1
43989 if test "$wxUSE_STOPWATCH" = "yes"; then
43990 cat >>confdefs.h
<<\_ACEOF
43991 #define wxUSE_STOPWATCH 1
43996 if test "$wxUSE_DATETIME" = "yes"; then
43997 cat >>confdefs.h
<<\_ACEOF
43998 #define wxUSE_DATETIME 1
44003 if test "$wxUSE_FILE" = "yes"; then
44004 cat >>confdefs.h
<<\_ACEOF
44005 #define wxUSE_FILE 1
44010 if test "$wxUSE_FFILE" = "yes"; then
44011 cat >>confdefs.h
<<\_ACEOF
44012 #define wxUSE_FFILE 1
44017 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44018 if test "$wxUSE_STREAMS" != yes; then
44019 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44020 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44021 wxUSE_ARCHIVE_STREAMS
=no
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_ARCHIVE_STREAMS 1
44030 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44031 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44032 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44033 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44034 elif test "$wxUSE_ZLIB" = "no"; then
44035 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44036 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44038 cat >>confdefs.h
<<\_ACEOF
44039 #define wxUSE_ZIPSTREAM 1
44045 if test "$wxUSE_TARSTREAM" = "yes"; then
44046 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44047 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44048 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44050 cat >>confdefs.h
<<\_ACEOF
44051 #define wxUSE_TARSTREAM 1
44057 if test "$wxUSE_FILESYSTEM" = "yes"; then
44058 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44059 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44060 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44061 wxUSE_FILESYSTEM
=no
44063 cat >>confdefs.h
<<\_ACEOF
44064 #define wxUSE_FILESYSTEM 1
44070 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44071 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44072 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44073 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44075 cat >>confdefs.h
<<\_ACEOF
44076 #define wxUSE_FS_ARCHIVE 1
44082 if test "$wxUSE_FS_ZIP" = "yes"; then
44083 if test "$wxUSE_FS_ARCHIVE" != yes; then
44084 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44085 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44087 cat >>confdefs.h
<<\_ACEOF
44088 #define wxUSE_FS_ZIP 1
44094 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44095 if test "$USE_UNIX" != 1; then
44096 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44097 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44098 wxUSE_ON_FATAL_EXCEPTION
=no
44100 cat >>confdefs.h
<<\_ACEOF
44101 #define wxUSE_ON_FATAL_EXCEPTION 1
44107 if test "$wxUSE_STACKWALKER" = "yes"; then
44108 cat >>confdefs.h
<<\_ACEOF
44109 #define wxUSE_STACKWALKER 1
44114 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44115 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44116 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44117 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44118 wxUSE_DEBUGREPORT
=no
44120 cat >>confdefs.h
<<\_ACEOF
44121 #define wxUSE_DEBUGREPORT 1
44124 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44130 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44131 cat >>confdefs.h
<<\_ACEOF
44132 #define wxUSE_SNGLINST_CHECKER 1
44137 if test "$wxUSE_BUSYINFO" = "yes"; then
44138 cat >>confdefs.h
<<\_ACEOF
44139 #define wxUSE_BUSYINFO 1
44144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44145 cat >>confdefs.h
<<\_ACEOF
44146 #define wxUSE_STD_IOSTREAM 1
44151 if test "$wxUSE_STD_STRING" = "yes"; then
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define wxUSE_STD_STRING 1
44158 if test "$wxUSE_STDPATHS" = "yes"; then
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_STDPATHS 1
44165 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_TEXTBUFFER 1
44172 if test "$wxUSE_TEXTFILE" = "yes"; then
44173 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44174 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44175 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44177 cat >>confdefs.h
<<\_ACEOF
44178 #define wxUSE_TEXTFILE 1
44184 if test "$wxUSE_CONFIG" = "yes" ; then
44185 if test "$wxUSE_TEXTFILE" != "yes"; then
44186 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44187 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44189 cat >>confdefs.h
<<\_ACEOF
44190 #define wxUSE_CONFIG 1
44193 cat >>confdefs.h
<<\_ACEOF
44194 #define wxUSE_CONFIG_NATIVE 1
44197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44201 if test "$wxUSE_INTL" = "yes" ; then
44202 if test "$wxUSE_FILE" != "yes"; then
44203 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44204 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44206 cat >>confdefs.h
<<\_ACEOF
44207 #define wxUSE_INTL 1
44210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44211 GUIDIST
="$GUIDIST INTL_DIST"
44215 if test "$wxUSE_XLOCALE" = "yes" ; then
44216 cat >>confdefs.h
<<\_ACEOF
44217 #define wxUSE_XLOCALE 1
44220 { echo "$as_me:$LINENO: checking for locale_t" >&5
44221 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44222 if test "${ac_cv_type_locale_t+set}" = set; then
44223 echo $ECHO_N "(cached) $ECHO_C" >&6
44225 cat >conftest.
$ac_ext <<_ACEOF
44228 cat confdefs.h
>>conftest.
$ac_ext
44229 cat >>conftest.
$ac_ext <<_ACEOF
44230 /* end confdefs.h. */
44231 #include <xlocale.h>
44232 #include <locale.h>
44234 typedef locale_t ac__type_new_;
44238 if ((ac__type_new_ *) 0)
44240 if (sizeof (ac__type_new_))
44246 rm -f conftest.
$ac_objext
44247 if { (ac_try
="$ac_compile"
44248 case "(($ac_try" in
44249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44250 *) ac_try_echo=$ac_try;;
44252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44253 (eval "$ac_compile") 2>conftest.er1
44255 grep -v '^ *+' conftest.er1 >conftest.err
44257 cat conftest.err >&5
44258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44259 (exit $ac_status); } && {
44260 test -z "$ac_c_werror_flag" ||
44261 test ! -s conftest.err
44262 } && test -s conftest.$ac_objext; then
44263 ac_cv_type_locale_t=yes
44265 echo "$as_me: failed program was:" >&5
44266 sed 's/^/| /' conftest.$ac_ext >&5
44268 ac_cv_type_locale_t=no
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44274 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44275 if test $ac_cv_type_locale_t = yes; then
44277 cat >>confdefs.h <<_ACEOF
44278 #define HAVE_LOCALE_T 1
44286 if test "$wxUSE_LOG" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_LOG 1
44292 if test "$wxUSE_LOGGUI" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_LOGGUI 1
44299 if test "$wxUSE_LOGWINDOW" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_LOGWINDOW 1
44306 if test "$wxUSE_LOGDIALOG" = "yes"; then
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_LOG_DIALOG 1
44313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44316 if test "$wxUSE_LONGLONG" = "yes"; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_LONGLONG 1
44323 if test "$wxUSE_GEOMETRY" = "yes"; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_GEOMETRY 1
44330 if test "$wxUSE_BASE64" = "yes"; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_BASE64 1
44337 if test "$wxUSE_STREAMS" = "yes" ; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_STREAMS 1
44344 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_PRINTF_POS_PARAMS 1
44351 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_OBJC_UNIQUIFYING 1
44359 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_CONSOLE_EVENTLOOP 1
44365 if test "$wxUSE_UNIX" = "yes"; then
44366 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_SELECT_DISPATCHER 1
44373 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44375 for ac_header in sys/epoll.h
44377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44381 echo $ECHO_N "(cached) $ECHO_C" >&6
44383 cat >conftest.$ac_ext <<_ACEOF
44386 cat confdefs.h >>conftest.$ac_ext
44387 cat >>conftest.$ac_ext <<_ACEOF
44388 /* end confdefs.h. */
44389 $ac_includes_default
44391 #include <$ac_header>
44393 rm -f conftest.$ac_objext
44394 if { (ac_try="$ac_compile"
44395 case "(($ac_try" in
44396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44397 *) ac_try_echo
=$ac_try;;
44399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44400 (eval "$ac_compile") 2>conftest.er1
44402 grep -v '^ *+' conftest.er1
>conftest.err
44404 cat conftest.err
>&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } && {
44407 test -z "$ac_c_werror_flag" ||
44408 test ! -s conftest.err
44409 } && test -s conftest.
$ac_objext; then
44410 eval "$as_ac_Header=yes"
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.
$ac_ext >&5
44415 eval "$as_ac_Header=no"
44418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44420 ac_res
=`eval echo '${'$as_ac_Header'}'`
44421 { echo "$as_me:$LINENO: result: $ac_res" >&5
44422 echo "${ECHO_T}$ac_res" >&6; }
44423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44424 cat >>confdefs.h
<<_ACEOF
44425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44432 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44433 cat >>confdefs.h
<<\_ACEOF
44434 #define wxUSE_EPOLL_DISPATCHER 1
44438 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44439 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44448 for ac_func
in gettimeofday ftime
44450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44453 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44456 cat >conftest.
$ac_ext <<_ACEOF
44459 cat confdefs.h
>>conftest.
$ac_ext
44460 cat >>conftest.
$ac_ext <<_ACEOF
44461 /* end confdefs.h. */
44462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44464 #define $ac_func innocuous_$ac_func
44466 /* System header to define __stub macros and hopefully few prototypes,
44467 which can conflict with char $ac_func (); below.
44468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44469 <limits.h> exists even on freestanding compilers. */
44472 # include <limits.h>
44474 # include <assert.h>
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44486 /* The GNU C library defines this for functions which it implements
44487 to always fail with ENOSYS. Some functions are actually named
44488 something starting with __ and the normal name is an alias. */
44489 #if defined __stub_$ac_func || defined __stub___$ac_func
44496 return $ac_func ();
44501 rm -f conftest.
$ac_objext conftest
$ac_exeext
44502 if { (ac_try
="$ac_link"
44503 case "(($ac_try" in
44504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44505 *) ac_try_echo=$ac_try;;
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_link") 2>conftest.er1
44510 grep -v '^ *+' conftest.er1 >conftest.err
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } && {
44515 test -z "$ac_c_werror_flag" ||
44516 test ! -s conftest.err
44517 } && test -s conftest$ac_exeext &&
44518 $as_test_x conftest$ac_exeext; then
44519 eval "$as_ac_var=yes"
44521 echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.$ac_ext >&5
44524 eval "$as_ac_var=no"
44527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44528 conftest$ac_exeext conftest.$ac_ext
44530 ac_res=`eval echo '${'$as_ac_var'}'`
44531 { echo "$as_me:$LINENO: result: $ac_res" >&5
44532 echo "${ECHO_T}$ac_res" >&6; }
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44542 if test "$ac_cv_func_gettimeofday" = "yes"; then
44543 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44544 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44545 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44546 echo $ECHO_N "(cached) $ECHO_C" >&6
44549 cat >conftest.$ac_ext <<_ACEOF
44552 cat confdefs.h >>conftest.$ac_ext
44553 cat >>conftest.$ac_ext <<_ACEOF
44554 /* end confdefs.h. */
44556 #include <sys/time.h>
44557 #include <unistd.h>
44564 gettimeofday(&tv, NULL);
44570 rm -f conftest.$ac_objext
44571 if { (ac_try="$ac_compile"
44572 case "(($ac_try" in
44573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44574 *) ac_try_echo
=$ac_try;;
44576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44577 (eval "$ac_compile") 2>conftest.er1
44579 grep -v '^ *+' conftest.er1
>conftest.err
44581 cat conftest.err
>&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } && {
44584 test -z "$ac_c_werror_flag" ||
44585 test ! -s conftest.err
44586 } && test -s conftest.
$ac_objext; then
44587 wx_cv_func_gettimeofday_has_2_args
=yes
44589 echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.
$ac_ext >&5
44592 cat >conftest.
$ac_ext <<_ACEOF
44595 cat confdefs.h
>>conftest.
$ac_ext
44596 cat >>conftest.
$ac_ext <<_ACEOF
44597 /* end confdefs.h. */
44599 #include <sys/time.h>
44600 #include <unistd.h>
44613 rm -f conftest.
$ac_objext
44614 if { (ac_try
="$ac_compile"
44615 case "(($ac_try" in
44616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44617 *) ac_try_echo=$ac_try;;
44619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44620 (eval "$ac_compile") 2>conftest.er1
44622 grep -v '^ *+' conftest.er1 >conftest.err
44624 cat conftest.err >&5
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); } && {
44627 test -z "$ac_c_werror_flag" ||
44628 test ! -s conftest.err
44629 } && test -s conftest.$ac_objext; then
44630 wx_cv_func_gettimeofday_has_2_args=no
44632 echo "$as_me: failed program was:" >&5
44633 sed 's/^/| /' conftest.$ac_ext >&5
44636 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44637 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44638 wx_cv_func_gettimeofday_has_2_args=unknown
44643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44651 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44653 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define WX_GETTIMEOFDAY_NO_TZ 1
44661 if test "$wxUSE_DATETIME" = "yes"; then
44662 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44663 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44664 if test "${wx_cv_var_timezone+set}" = set; then
44665 echo $ECHO_N "(cached) $ECHO_C" >&6
44669 ac_cpp='$CXXCPP $CPPFLAGS'
44670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44674 cat >conftest.$ac_ext <<_ACEOF
44677 cat confdefs.h >>conftest.$ac_ext
44678 cat >>conftest.$ac_ext <<_ACEOF
44679 /* end confdefs.h. */
44694 rm -f conftest.$ac_objext
44695 if { (ac_try="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44698 *) ac_try_echo
=$ac_try;;
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44703 grep -v '^ *+' conftest.er1
>conftest.err
44705 cat conftest.err
>&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_cxx_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.
$ac_objext; then
44712 wx_cv_var_timezone
=timezone
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.
$ac_ext >&5
44719 cat >conftest.
$ac_ext <<_ACEOF
44722 cat confdefs.h
>>conftest.
$ac_ext
44723 cat >>conftest.
$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44739 rm -f conftest.
$ac_objext
44740 if { (ac_try
="$ac_compile"
44741 case "(($ac_try" in
44742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44743 *) ac_try_echo=$ac_try;;
44745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44746 (eval "$ac_compile") 2>conftest.er1
44748 grep -v '^ *+' conftest.er1 >conftest.err
44750 cat conftest.err >&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); } && {
44753 test -z "$ac_cxx_werror_flag" ||
44754 test ! -s conftest.err
44755 } && test -s conftest.$ac_objext; then
44757 wx_cv_var_timezone=_timezone
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.$ac_ext >&5
44764 cat >conftest.$ac_ext <<_ACEOF
44767 cat confdefs.h >>conftest.$ac_ext
44768 cat >>conftest.$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44784 rm -f conftest.$ac_objext
44785 if { (ac_try="$ac_compile"
44786 case "(($ac_try" in
44787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44788 *) ac_try_echo
=$ac_try;;
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_compile") 2>conftest.er1
44793 grep -v '^ *+' conftest.er1
>conftest.err
44795 cat conftest.err
>&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_cxx_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest.
$ac_objext; then
44802 wx_cv_var_timezone
=__timezone
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.
$ac_ext >&5
44809 if test "$USE_DOS" = 0 ; then
44810 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44811 echo "$as_me: WARNING: no timezone variable" >&2;}
44817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44829 ac_cpp
='$CPP $CPPFLAGS'
44830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44837 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44838 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44840 if test "x$wx_cv_var_timezone" != x
; then
44841 cat >>confdefs.h
<<_ACEOF
44842 #define WX_TIMEZONE $wx_cv_var_timezone
44848 for ac_func
in localtime
44850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44853 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44854 echo $ECHO_N "(cached) $ECHO_C" >&6
44856 cat >conftest.
$ac_ext <<_ACEOF
44859 cat confdefs.h
>>conftest.
$ac_ext
44860 cat >>conftest.
$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44864 #define $ac_func innocuous_$ac_func
44866 /* System header to define __stub macros and hopefully few prototypes,
44867 which can conflict with char $ac_func (); below.
44868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44869 <limits.h> exists even on freestanding compilers. */
44872 # include <limits.h>
44874 # include <assert.h>
44879 /* Override any GCC internal prototype to avoid an error.
44880 Use char because int might match the return type of a GCC
44881 builtin and then its argument prototype would still apply. */
44886 /* The GNU C library defines this for functions which it implements
44887 to always fail with ENOSYS. Some functions are actually named
44888 something starting with __ and the normal name is an alias. */
44889 #if defined __stub_$ac_func || defined __stub___$ac_func
44896 return $ac_func ();
44901 rm -f conftest.
$ac_objext conftest
$ac_exeext
44902 if { (ac_try
="$ac_link"
44903 case "(($ac_try" in
44904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44905 *) ac_try_echo=$ac_try;;
44907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44908 (eval "$ac_link") 2>conftest.er1
44910 grep -v '^ *+' conftest.er1 >conftest.err
44912 cat conftest.err >&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); } && {
44915 test -z "$ac_c_werror_flag" ||
44916 test ! -s conftest.err
44917 } && test -s conftest$ac_exeext &&
44918 $as_test_x conftest$ac_exeext; then
44919 eval "$as_ac_var=yes"
44921 echo "$as_me: failed program was:" >&5
44922 sed 's/^/| /' conftest.$ac_ext >&5
44924 eval "$as_ac_var=no"
44927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44928 conftest$ac_exeext conftest.$ac_ext
44930 ac_res=`eval echo '${'$as_ac_var'}'`
44931 { echo "$as_me:$LINENO: result: $ac_res" >&5
44932 echo "${ECHO_T}$ac_res" >&6; }
44933 if test `eval echo '${'$as_ac_var'}'` = yes; then
44934 cat >>confdefs.h <<_ACEOF
44935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44942 if test "$ac_cv_func_localtime" = "yes"; then
44943 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44944 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44945 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44946 echo $ECHO_N "(cached) $ECHO_C" >&6
44949 cat >conftest.$ac_ext <<_ACEOF
44952 cat confdefs.h >>conftest.$ac_ext
44953 cat >>conftest.$ac_ext <<_ACEOF
44954 /* end confdefs.h. */
44969 rm -f conftest.$ac_objext
44970 if { (ac_try="$ac_compile"
44971 case "(($ac_try" in
44972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44973 *) ac_try_echo
=$ac_try;;
44975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44976 (eval "$ac_compile") 2>conftest.er1
44978 grep -v '^ *+' conftest.er1
>conftest.err
44980 cat conftest.err
>&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } && {
44983 test -z "$ac_c_werror_flag" ||
44984 test ! -s conftest.err
44985 } && test -s conftest.
$ac_objext; then
44987 wx_cv_struct_tm_has_gmtoff
=yes
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.
$ac_ext >&5
44993 wx_cv_struct_tm_has_gmtoff
=no
44997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45000 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45005 cat >>confdefs.h
<<\_ACEOF
45006 #define WX_GMTOFF_IN_TM 1
45011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45015 if test "$wxUSE_SOCKETS" = "yes"; then
45016 if test "$wxUSE_MGL" = 1; then
45017 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45018 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45023 if test "$wxUSE_SOCKETS" = "yes"; then
45024 if test "$TOOLKIT" != "MSW"; then
45025 { echo "$as_me:$LINENO: checking for socket" >&5
45026 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45027 if test "${ac_cv_func_socket+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 cat >conftest.
$ac_ext <<_ACEOF
45033 cat confdefs.h
>>conftest.
$ac_ext
45034 cat >>conftest.
$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45038 #define socket innocuous_socket
45040 /* System header to define __stub macros and hopefully few prototypes,
45041 which can conflict with char socket (); below.
45042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45043 <limits.h> exists even on freestanding compilers. */
45046 # include <limits.h>
45048 # include <assert.h>
45053 /* Override any GCC internal prototype to avoid an error.
45054 Use char because int might match the return type of a GCC
45055 builtin and then its argument prototype would still apply. */
45060 /* The GNU C library defines this for functions which it implements
45061 to always fail with ENOSYS. Some functions are actually named
45062 something starting with __ and the normal name is an alias. */
45063 #if defined __stub_socket || defined __stub___socket
45075 rm -f conftest.
$ac_objext conftest
$ac_exeext
45076 if { (ac_try
="$ac_link"
45077 case "(($ac_try" in
45078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45079 *) ac_try_echo=$ac_try;;
45081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45082 (eval "$ac_link") 2>conftest.er1
45084 grep -v '^ *+' conftest.er1 >conftest.err
45086 cat conftest.err >&5
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); } && {
45089 test -z "$ac_c_werror_flag" ||
45090 test ! -s conftest.err
45091 } && test -s conftest$ac_exeext &&
45092 $as_test_x conftest$ac_exeext; then
45093 ac_cv_func_socket=yes
45095 echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.$ac_ext >&5
45098 ac_cv_func_socket=no
45101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45102 conftest$ac_exeext conftest.$ac_ext
45104 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45105 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45106 if test $ac_cv_func_socket = yes; then
45110 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45111 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45112 if test "${ac_cv_lib_socket_socket+set}" = set; then
45113 echo $ECHO_N "(cached) $ECHO_C" >&6
45115 ac_check_lib_save_LIBS=$LIBS
45116 LIBS="-lsocket $LIBS"
45117 cat >conftest.$ac_ext <<_ACEOF
45120 cat confdefs.h >>conftest.$ac_ext
45121 cat >>conftest.$ac_ext <<_ACEOF
45122 /* end confdefs.h. */
45124 /* Override any GCC internal prototype to avoid an error.
45125 Use char because int might match the return type of a GCC
45126 builtin and then its argument prototype would still apply. */
45139 rm -f conftest.$ac_objext conftest$ac_exeext
45140 if { (ac_try="$ac_link"
45141 case "(($ac_try" in
45142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45143 *) ac_try_echo
=$ac_try;;
45145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45146 (eval "$ac_link") 2>conftest.er1
45148 grep -v '^ *+' conftest.er1
>conftest.err
45150 cat conftest.err
>&5
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); } && {
45153 test -z "$ac_c_werror_flag" ||
45154 test ! -s conftest.err
45155 } && test -s conftest
$ac_exeext &&
45156 $as_test_x conftest
$ac_exeext; then
45157 ac_cv_lib_socket_socket
=yes
45159 echo "$as_me: failed program was:" >&5
45160 sed 's/^/| /' conftest.
$ac_ext >&5
45162 ac_cv_lib_socket_socket
=no
45165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45166 conftest
$ac_exeext conftest.
$ac_ext
45167 LIBS
=$ac_check_lib_save_LIBS
45169 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45170 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45171 if test $ac_cv_lib_socket_socket = yes; then
45172 if test "$INET_LINK" != " -lsocket"; then
45173 INET_LINK
="$INET_LINK -lsocket"
45177 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45178 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45191 if test "$wxUSE_SOCKETS" = "yes" ; then
45192 if test "$TOOLKIT" != "MSW"; then
45193 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45194 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45195 if test "${wx_cv_type_getsockname3+set}" = set; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45200 ac_cpp
='$CXXCPP $CPPFLAGS'
45201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45205 cat >conftest.
$ac_ext <<_ACEOF
45208 cat confdefs.h
>>conftest.
$ac_ext
45209 cat >>conftest.
$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45212 #include <sys/types.h>
45213 #include <sys/socket.h>
45220 getsockname(0, 0, &len);
45226 rm -f conftest.
$ac_objext
45227 if { (ac_try
="$ac_compile"
45228 case "(($ac_try" in
45229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45230 *) ac_try_echo=$ac_try;;
45232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45233 (eval "$ac_compile") 2>conftest.er1
45235 grep -v '^ *+' conftest.er1 >conftest.err
45237 cat conftest.err >&5
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); } && {
45240 test -z "$ac_cxx_werror_flag" ||
45241 test ! -s conftest.err
45242 } && test -s conftest.$ac_objext; then
45243 wx_cv_type_getsockname3=socklen_t
45245 echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45249 CFLAGS_OLD="$CFLAGS"
45250 if test "$GCC" = yes ; then
45251 CFLAGS="-Werror $CFLAGS"
45254 cat >conftest.$ac_ext <<_ACEOF
45257 cat confdefs.h >>conftest.$ac_ext
45258 cat >>conftest.$ac_ext <<_ACEOF
45259 /* end confdefs.h. */
45261 #include <sys/types.h>
45262 #include <sys/socket.h>
45269 getsockname(0, 0, &len);
45275 rm -f conftest.$ac_objext
45276 if { (ac_try="$ac_compile"
45277 case "(($ac_try" in
45278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45279 *) ac_try_echo
=$ac_try;;
45281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45282 (eval "$ac_compile") 2>conftest.er1
45284 grep -v '^ *+' conftest.er1
>conftest.err
45286 cat conftest.err
>&5
45287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288 (exit $ac_status); } && {
45289 test -z "$ac_cxx_werror_flag" ||
45290 test ! -s conftest.err
45291 } && test -s conftest.
$ac_objext; then
45292 wx_cv_type_getsockname3
=size_t
45294 echo "$as_me: failed program was:" >&5
45295 sed 's/^/| /' conftest.
$ac_ext >&5
45297 cat >conftest.
$ac_ext <<_ACEOF
45300 cat confdefs.h
>>conftest.
$ac_ext
45301 cat >>conftest.
$ac_ext <<_ACEOF
45302 /* end confdefs.h. */
45304 #include <sys/types.h>
45305 #include <sys/socket.h>
45312 getsockname(0, 0, &len);
45318 rm -f conftest.
$ac_objext
45319 if { (ac_try
="$ac_compile"
45320 case "(($ac_try" in
45321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45322 *) ac_try_echo=$ac_try;;
45324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45325 (eval "$ac_compile") 2>conftest.er1
45327 grep -v '^ *+' conftest.er1 >conftest.err
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } && {
45332 test -z "$ac_cxx_werror_flag" ||
45333 test ! -s conftest.err
45334 } && test -s conftest.$ac_objext; then
45335 wx_cv_type_getsockname3=int
45337 echo "$as_me: failed program was:" >&5
45338 sed 's/^/| /' conftest.$ac_ext >&5
45340 wx_cv_type_getsockname3=unknown
45344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 CFLAGS="$CFLAGS_OLD"
45355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45357 ac_cpp='$CPP $CPPFLAGS'
45358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45364 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45365 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45367 if test "$wx_cv_type_getsockname3" = "unknown"; then
45369 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45370 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45372 cat >>confdefs.h <<_ACEOF
45373 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45377 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45378 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45379 if test "${wx_cv_type_getsockopt5+set}" = set; then
45380 echo $ECHO_N "(cached) $ECHO_C" >&6
45384 ac_cpp='$CXXCPP $CPPFLAGS'
45385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45389 cat >conftest.$ac_ext <<_ACEOF
45392 cat confdefs.h >>conftest.$ac_ext
45393 cat >>conftest.$ac_ext <<_ACEOF
45394 /* end confdefs.h. */
45396 #include <sys/types.h>
45397 #include <sys/socket.h>
45404 getsockopt(0, 0, 0, 0, &len);
45410 rm -f conftest.$ac_objext
45411 if { (ac_try="$ac_compile"
45412 case "(($ac_try" in
45413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45414 *) ac_try_echo
=$ac_try;;
45416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45417 (eval "$ac_compile") 2>conftest.er1
45419 grep -v '^ *+' conftest.er1
>conftest.err
45421 cat conftest.err
>&5
45422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45423 (exit $ac_status); } && {
45424 test -z "$ac_cxx_werror_flag" ||
45425 test ! -s conftest.err
45426 } && test -s conftest.
$ac_objext; then
45427 wx_cv_type_getsockopt5
=socklen_t
45429 echo "$as_me: failed program was:" >&5
45430 sed 's/^/| /' conftest.
$ac_ext >&5
45433 cat >conftest.
$ac_ext <<_ACEOF
45436 cat confdefs.h
>>conftest.
$ac_ext
45437 cat >>conftest.
$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45440 #include <sys/types.h>
45441 #include <sys/socket.h>
45448 getsockopt(0, 0, 0, 0, &len);
45454 rm -f conftest.
$ac_objext
45455 if { (ac_try
="$ac_compile"
45456 case "(($ac_try" in
45457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45458 *) ac_try_echo=$ac_try;;
45460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45461 (eval "$ac_compile") 2>conftest.er1
45463 grep -v '^ *+' conftest.er1 >conftest.err
45465 cat conftest.err >&5
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); } && {
45468 test -z "$ac_cxx_werror_flag" ||
45469 test ! -s conftest.err
45470 } && test -s conftest.$ac_objext; then
45471 wx_cv_type_getsockopt5=size_t
45473 echo "$as_me: failed program was:" >&5
45474 sed 's/^/| /' conftest.$ac_ext >&5
45476 cat >conftest.$ac_ext <<_ACEOF
45479 cat confdefs.h >>conftest.$ac_ext
45480 cat >>conftest.$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45483 #include <sys/types.h>
45484 #include <sys/socket.h>
45491 getsockopt(0, 0, 0, 0, &len);
45497 rm -f conftest.$ac_objext
45498 if { (ac_try="$ac_compile"
45499 case "(($ac_try" in
45500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45501 *) ac_try_echo
=$ac_try;;
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_compile") 2>conftest.er1
45506 grep -v '^ *+' conftest.er1
>conftest.err
45508 cat conftest.err
>&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_cxx_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest.
$ac_objext; then
45514 wx_cv_type_getsockopt5
=int
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.
$ac_ext >&5
45519 wx_cv_type_getsockopt5
=unknown
45523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45534 ac_cpp
='$CPP $CPPFLAGS'
45535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45542 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45544 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45549 cat >>confdefs.h
<<_ACEOF
45550 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45557 if test "$wxUSE_SOCKETS" = "yes" ; then
45558 if test "$wxUSE_IPV6" = "yes"; then
45559 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45560 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45561 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45562 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 cat >conftest.
$ac_ext <<_ACEOF
45568 cat confdefs.h
>>conftest.
$ac_ext
45569 cat >>conftest.
$ac_ext <<_ACEOF
45570 /* end confdefs.h. */
45572 #include <sys/types.h>
45573 #include <sys/socket.h>
45574 #include <netinet/in.h>
45580 struct sockaddr_in6 sa6;
45586 rm -f conftest.
$ac_objext
45587 if { (ac_try
="$ac_compile"
45588 case "(($ac_try" in
45589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45590 *) ac_try_echo=$ac_try;;
45592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45593 (eval "$ac_compile") 2>conftest.er1
45595 grep -v '^ *+' conftest.er1 >conftest.err
45597 cat conftest.err >&5
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); } && {
45600 test -z "$ac_c_werror_flag" ||
45601 test ! -s conftest.err
45602 } && test -s conftest.$ac_objext; then
45603 wx_cv_type_sockaddr_in6=yes
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45608 wx_cv_type_sockaddr_in6=no
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45616 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45617 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45619 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_IPV6 1
45625 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45626 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_SOCKETS 1
45634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45637 if test "$wxUSE_PROTOCOL" = "yes"; then
45638 if test "$wxUSE_SOCKETS" != "yes"; then
45639 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45640 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45645 if test "$wxUSE_PROTOCOL" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_PROTOCOL 1
45651 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_PROTOCOL_HTTP 1
45657 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_PROTOCOL_FTP 1
45663 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_PROTOCOL_FILE 1
45670 if test "$wxUSE_FS_INET" = "yes"; then
45671 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45672 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45677 if test "$wxUSE_URL" = "yes"; then
45678 if test "$wxUSE_PROTOCOL" != "yes"; then
45679 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45680 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45683 if test "$wxUSE_URL" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_URL 1
45691 if test "$wxUSE_VARIANT" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_VARIANT 1
45698 if test "$wxUSE_FS_INET" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_FS_INET 1
45706 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45709 if test "$TOOLKIT" = "MSW"; then
45712 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45713 if test "$USE_DARWIN" = 1; then
45714 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45715 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45717 ac_cpp='$CXXCPP $CPPFLAGS'
45718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45722 cat >conftest.$ac_ext <<_ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 #include <IOKit/hid/IOHIDLib.h>
45732 IOHIDQueueInterface *qi = NULL;
45733 IOHIDCallbackFunction cb = NULL;
45734 qi->setEventCallout(NULL, cb, NULL, NULL);
45739 rm -f conftest.$ac_objext
45740 if { (ac_try="$ac_compile"
45741 case "(($ac_try" in
45742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45743 *) ac_try_echo
=$ac_try;;
45745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45746 (eval "$ac_compile") 2>conftest.er1
45748 grep -v '^ *+' conftest.er1
>conftest.err
45750 cat conftest.err
>&5
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); } && {
45753 test -z "$ac_cxx_werror_flag" ||
45754 test ! -s conftest.err
45755 } && test -s conftest.
$ac_objext; then
45759 echo "$as_me: failed program was:" >&5
45760 sed 's/^/| /' conftest.
$ac_ext >&5
45765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45767 ac_cpp
='$CPP $CPPFLAGS'
45768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45772 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45773 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45777 if test "$wxUSE_MGL" != 1; then
45779 for ac_header
in linux
/joystick.h
45781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45784 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45785 echo $ECHO_N "(cached) $ECHO_C" >&6
45787 cat >conftest.
$ac_ext <<_ACEOF
45790 cat confdefs.h
>>conftest.
$ac_ext
45791 cat >>conftest.
$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45793 $ac_includes_default
45795 #include <$ac_header>
45797 rm -f conftest.
$ac_objext
45798 if { (ac_try
="$ac_compile"
45799 case "(($ac_try" in
45800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45801 *) ac_try_echo=$ac_try;;
45803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45804 (eval "$ac_compile") 2>conftest.er1
45806 grep -v '^ *+' conftest.er1 >conftest.err
45808 cat conftest.err >&5
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); } && {
45811 test -z "$ac_c_werror_flag" ||
45812 test ! -s conftest.err
45813 } && test -s conftest.$ac_objext; then
45814 eval "$as_ac_Header=yes"
45816 echo "$as_me: failed program was:" >&5
45817 sed 's/^/| /' conftest.$ac_ext >&5
45819 eval "$as_ac_Header=no"
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45824 ac_res=`eval echo '${'$as_ac_Header'}'`
45825 { echo "$as_me:$LINENO: result: $ac_res" >&5
45826 echo "${ECHO_T}$ac_res" >&6; }
45827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45828 cat >>confdefs.h <<_ACEOF
45829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45839 if test "$wxUSE_JOYSTICK" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_JOYSTICK 1
45844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45846 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45847 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45853 if test "$wxUSE_FONTENUM" = "yes" ; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_FONTENUM 1
45860 if test "$wxUSE_FONTMAP" = "yes" ; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_FONTMAP 1
45867 if test "$wxUSE_UNICODE" = "yes" ; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_UNICODE 1
45873 if test "$USE_WIN32" != 1; then
45874 wxUSE_UNICODE_MSLU=no
45877 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45878 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45879 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45880 if test "${ac_cv_lib_unicows_main+set}" = set; then
45881 echo $ECHO_N "(cached) $ECHO_C" >&6
45883 ac_check_lib_save_LIBS=$LIBS
45884 LIBS="-lunicows $LIBS"
45885 cat >conftest.$ac_ext <<_ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45901 rm -f conftest.$ac_objext conftest$ac_exeext
45902 if { (ac_try="$ac_link"
45903 case "(($ac_try" in
45904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45905 *) ac_try_echo
=$ac_try;;
45907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45908 (eval "$ac_link") 2>conftest.er1
45910 grep -v '^ *+' conftest.er1
>conftest.err
45912 cat conftest.err
>&5
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); } && {
45915 test -z "$ac_c_werror_flag" ||
45916 test ! -s conftest.err
45917 } && test -s conftest
$ac_exeext &&
45918 $as_test_x conftest
$ac_exeext; then
45919 ac_cv_lib_unicows_main
=yes
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.
$ac_ext >&5
45924 ac_cv_lib_unicows_main
=no
45927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45928 conftest
$ac_exeext conftest.
$ac_ext
45929 LIBS
=$ac_check_lib_save_LIBS
45931 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45932 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45933 if test $ac_cv_lib_unicows_main = yes; then
45935 cat >>confdefs.h
<<\_ACEOF
45936 #define wxUSE_UNICODE_MSLU 1
45942 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45943 Applications will only run on Windows NT/2000/XP!" >&5
45944 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45945 Applications will only run on Windows NT/2000/XP!" >&2;}
45946 wxUSE_UNICODE_MSLU
=no
45953 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45954 cat >>confdefs.h
<<\_ACEOF
45955 #define wxUSE_UNICODE_UTF8 1
45959 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_UTF8_LOCALE_ONLY 1
45968 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45969 cat >>confdefs.h
<<\_ACEOF
45970 #define wxUSE_CONSTRAINTS 1
45973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45976 if test "$wxUSE_MDI" = "yes"; then
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_MDI 1
45982 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_MDI_ARCHITECTURE 1
45987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45991 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45992 cat >>confdefs.h
<<\_ACEOF
45993 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45999 if test "$wxUSE_HELP" = "yes"; then
46000 cat >>confdefs.h
<<\_ACEOF
46001 #define wxUSE_HELP 1
46004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46006 if test "$wxUSE_MSW" = 1; then
46007 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_MS_HTML_HELP 1
46015 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46016 if test "$wxUSE_HTML" = "yes"; then
46017 cat >>confdefs.h
<<\_ACEOF
46018 #define wxUSE_WXHTML_HELP 1
46022 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46023 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46024 wxUSE_WXHTML_HELP
=no
46029 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46030 cat >>confdefs.h
<<\_ACEOF
46031 #define wxUSE_PRINTING_ARCHITECTURE 1
46034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46037 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_POSTSCRIPT 1
46044 cat >>confdefs.h
<<\_ACEOF
46045 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46049 if test "$wxUSE_SVG" = "yes"; then
46050 cat >>confdefs.h
<<\_ACEOF
46051 #define wxUSE_SVG 1
46057 if test "$wxUSE_METAFILE" = "yes"; then
46058 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46059 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46060 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46066 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46067 -o "$wxUSE_CLIPBOARD" = "yes" \
46068 -o "$wxUSE_OLE" = "yes" \
46069 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46070 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46071 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46072 if test "${ac_cv_header_ole2_h+set}" = set; then
46073 echo $ECHO_N "(cached) $ECHO_C" >&6
46075 cat >conftest.
$ac_ext <<_ACEOF
46078 cat confdefs.h
>>conftest.
$ac_ext
46079 cat >>conftest.
$ac_ext <<_ACEOF
46080 /* end confdefs.h. */
46085 rm -f conftest.
$ac_objext
46086 if { (ac_try
="$ac_compile"
46087 case "(($ac_try" in
46088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46089 *) ac_try_echo=$ac_try;;
46091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46092 (eval "$ac_compile") 2>conftest.er1
46094 grep -v '^ *+' conftest.er1 >conftest.err
46096 cat conftest.err >&5
46097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46098 (exit $ac_status); } && {
46099 test -z "$ac_c_werror_flag" ||
46100 test ! -s conftest.err
46101 } && test -s conftest.$ac_objext; then
46102 ac_cv_header_ole2_h=yes
46104 echo "$as_me: failed program was:" >&5
46105 sed 's/^/| /' conftest.$ac_ext >&5
46107 ac_cv_header_ole2_h=no
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46112 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46113 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46117 if test "$ac_cv_header_ole2_h" = "yes" ; then
46118 if test "$GCC" = yes ; then
46119 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46120 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46121 cat >conftest.$ac_ext <<_ACEOF
46124 cat confdefs.h >>conftest.$ac_ext
46125 cat >>conftest.$ac_ext <<_ACEOF
46126 /* end confdefs.h. */
46127 #include <windows.h>
46137 rm -f conftest.$ac_objext
46138 if { (ac_try="$ac_compile"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46141 *) ac_try_echo
=$ac_try;;
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_compile") 2>conftest.er1
46146 grep -v '^ *+' conftest.er1
>conftest.err
46148 cat conftest.err
>&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } && {
46151 test -z "$ac_c_werror_flag" ||
46152 test ! -s conftest.err
46153 } && test -s conftest.
$ac_objext; then
46154 { echo "$as_me:$LINENO: result: no" >&5
46155 echo "${ECHO_T}no" >&6; }
46157 echo "$as_me: failed program was:" >&5
46158 sed 's/^/| /' conftest.
$ac_ext >&5
46160 { echo "$as_me:$LINENO: result: yes" >&5
46161 echo "${ECHO_T}yes" >&6; }
46162 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46166 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46167 if test "$wxUSE_OLE" = "yes" ; then
46168 cat >>confdefs.h
<<\_ACEOF
46169 #define wxUSE_OLE 1
46172 cat >>confdefs.h
<<\_ACEOF
46173 #define wxUSE_OLE_AUTOMATION 1
46176 cat >>confdefs.h
<<\_ACEOF
46177 #define wxUSE_ACTIVEX 1
46180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46184 if test "$wxUSE_DATAOBJ" = "yes" ; then
46185 cat >>confdefs.h
<<\_ACEOF
46186 #define wxUSE_DATAOBJ 1
46191 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46192 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46195 wxUSE_DRAG_AND_DROP
=no
46200 if test "$wxUSE_METAFILE" = "yes"; then
46201 cat >>confdefs.h
<<\_ACEOF
46202 #define wxUSE_METAFILE 1
46206 cat >>confdefs.h
<<\_ACEOF
46207 #define wxUSE_ENH_METAFILE 1
46213 if test "$wxUSE_IPC" = "yes"; then
46214 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46215 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46216 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46220 if test "$wxUSE_IPC" = "yes"; then
46221 cat >>confdefs.h
<<\_ACEOF
46222 #define wxUSE_IPC 1
46225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46229 if test "$wxUSE_DATAOBJ" = "yes"; then
46230 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46231 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46232 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46235 cat >>confdefs.h
<<\_ACEOF
46236 #define wxUSE_DATAOBJ 1
46241 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46242 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46244 wxUSE_DRAG_AND_DROP
=no
46247 if test "$wxUSE_CLIPBOARD" = "yes"; then
46248 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46249 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46250 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46254 if test "$wxUSE_CLIPBOARD" = "yes"; then
46255 cat >>confdefs.h
<<\_ACEOF
46256 #define wxUSE_CLIPBOARD 1
46262 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46263 if test "$wxUSE_GTK" = 1; then
46264 if test "$WXGTK12" != 1; then
46265 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46266 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46267 wxUSE_DRAG_AND_DROP
=no
46271 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46272 "$wxUSE_DFB" = 1; then
46273 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46274 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46275 wxUSE_DRAG_AND_DROP
=no
46278 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46279 cat >>confdefs.h
<<\_ACEOF
46280 #define wxUSE_DRAG_AND_DROP 1
46287 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46291 if test "$wxUSE_CLIPBOARD" = "yes"; then
46292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46295 if test "$wxUSE_SPLINES" = "yes" ; then
46296 cat >>confdefs.h
<<\_ACEOF
46297 #define wxUSE_SPLINES 1
46302 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46303 cat >>confdefs.h
<<\_ACEOF
46304 #define wxUSE_MOUSEWHEEL 1
46311 if test "$wxUSE_CONTROLS" = "yes"; then
46315 if test "$wxUSE_ACCEL" = "yes"; then
46316 cat >>confdefs.h
<<\_ACEOF
46317 #define wxUSE_ACCEL 1
46323 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46324 cat >>confdefs.h
<<\_ACEOF
46325 #define wxUSE_ANIMATIONCTRL 1
46329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46332 if test "$wxUSE_BUTTON" = "yes"; then
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define wxUSE_BUTTON 1
46340 if test "$wxUSE_BMPBUTTON" = "yes"; then
46341 cat >>confdefs.h
<<\_ACEOF
46342 #define wxUSE_BMPBUTTON 1
46348 if test "$wxUSE_CALCTRL" = "yes"; then
46349 cat >>confdefs.h
<<\_ACEOF
46350 #define wxUSE_CALENDARCTRL 1
46354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46357 if test "$wxUSE_CARET" = "yes"; then
46358 cat >>confdefs.h
<<\_ACEOF
46359 #define wxUSE_CARET 1
46363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46366 if test "$wxUSE_COLLPANE" = "yes"; then
46367 cat >>confdefs.h
<<\_ACEOF
46368 #define wxUSE_COLLPANE 1
46372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46375 if test "$wxUSE_COMBOBOX" = "yes"; then
46376 cat >>confdefs.h
<<\_ACEOF
46377 #define wxUSE_COMBOBOX 1
46383 if test "$wxUSE_COMBOCTRL" = "yes"; then
46384 cat >>confdefs.h
<<\_ACEOF
46385 #define wxUSE_COMBOCTRL 1
46391 if test "$wxUSE_CHOICE" = "yes"; then
46392 cat >>confdefs.h
<<\_ACEOF
46393 #define wxUSE_CHOICE 1
46399 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46400 cat >>confdefs.h
<<\_ACEOF
46401 #define wxUSE_CHOICEBOOK 1
46407 if test "$wxUSE_CHECKBOX" = "yes"; then
46408 cat >>confdefs.h
<<\_ACEOF
46409 #define wxUSE_CHECKBOX 1
46415 if test "$wxUSE_CHECKLST" = "yes"; then
46416 cat >>confdefs.h
<<\_ACEOF
46417 #define wxUSE_CHECKLISTBOX 1
46423 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46424 cat >>confdefs.h
<<\_ACEOF
46425 #define wxUSE_COLOURPICKERCTRL 1
46431 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46432 cat >>confdefs.h
<<\_ACEOF
46433 #define wxUSE_DATEPICKCTRL 1
46439 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46440 cat >>confdefs.h
<<\_ACEOF
46441 #define wxUSE_DIRPICKERCTRL 1
46447 if test "$wxUSE_FILECTRL" = "yes"; then
46448 cat >>confdefs.h
<<\_ACEOF
46449 #define wxUSE_FILECTRL 1
46455 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46456 cat >>confdefs.h
<<\_ACEOF
46457 #define wxUSE_FILEPICKERCTRL 1
46463 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46464 cat >>confdefs.h
<<\_ACEOF
46465 #define wxUSE_FONTPICKERCTRL 1
46471 if test "$wxUSE_DISPLAY" = "yes"; then
46472 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46473 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46474 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46477 cat >>confdefs.h
<<\_ACEOF
46478 #define wxUSE_DISPLAY 1
46481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46485 if test "$wxUSE_DETECT_SM" = "yes"; then
46486 cat >>confdefs.h
<<\_ACEOF
46487 #define wxUSE_DETECT_SM 1
46492 if test "$wxUSE_GAUGE" = "yes"; then
46493 cat >>confdefs.h
<<\_ACEOF
46494 #define wxUSE_GAUGE 1
46500 if test "$wxUSE_GRID" = "yes"; then
46501 cat >>confdefs.h
<<\_ACEOF
46502 #define wxUSE_GRID 1
46506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46509 if test "$wxUSE_HEADERCTRL" = "yes"; then
46510 cat >>confdefs.h
<<\_ACEOF
46511 #define wxUSE_HEADERCTRL 1
46517 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46518 cat >>confdefs.h
<<\_ACEOF
46519 #define wxUSE_HYPERLINKCTRL 1
46525 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46526 cat >>confdefs.h
<<\_ACEOF
46527 #define wxUSE_BITMAPCOMBOBOX 1
46533 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46534 cat >>confdefs.h
<<\_ACEOF
46535 #define wxUSE_DATAVIEWCTRL 1
46539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46542 if test "$wxUSE_IMAGLIST" = "yes"; then
46543 cat >>confdefs.h
<<\_ACEOF
46544 #define wxUSE_IMAGLIST 1
46549 if test "$wxUSE_INFOBAR" = "yes"; then
46550 cat >>confdefs.h
<<\_ACEOF
46551 #define wxUSE_INFOBAR 1
46556 if test "$wxUSE_LISTBOOK" = "yes"; then
46557 cat >>confdefs.h
<<\_ACEOF
46558 #define wxUSE_LISTBOOK 1
46564 if test "$wxUSE_LISTBOX" = "yes"; then
46565 cat >>confdefs.h
<<\_ACEOF
46566 #define wxUSE_LISTBOX 1
46572 if test "$wxUSE_LISTCTRL" = "yes"; then
46573 if test "$wxUSE_IMAGLIST" = "yes"; then
46574 cat >>confdefs.h
<<\_ACEOF
46575 #define wxUSE_LISTCTRL 1
46579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46586 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46587 cat >>confdefs.h
<<\_ACEOF
46588 #define wxUSE_EDITABLELISTBOX 1
46594 if test "$wxUSE_NOTEBOOK" = "yes"; then
46595 cat >>confdefs.h
<<\_ACEOF
46596 #define wxUSE_NOTEBOOK 1
46600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46603 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46604 cat >>confdefs.h
<<\_ACEOF
46605 #define wxUSE_NOTIFICATION_MESSAGE 1
46610 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46611 cat >>confdefs.h
<<\_ACEOF
46612 #define wxUSE_ODCOMBOBOX 1
46616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46619 if test "$wxUSE_RADIOBOX" = "yes"; then
46620 cat >>confdefs.h
<<\_ACEOF
46621 #define wxUSE_RADIOBOX 1
46627 if test "$wxUSE_RADIOBTN" = "yes"; then
46628 cat >>confdefs.h
<<\_ACEOF
46629 #define wxUSE_RADIOBTN 1
46635 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46636 cat >>confdefs.h
<<\_ACEOF
46637 #define wxUSE_REARRANGECTRL 1
46642 if test "$wxUSE_SASH" = "yes"; then
46643 cat >>confdefs.h
<<\_ACEOF
46644 #define wxUSE_SASH 1
46647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46650 if test "$wxUSE_SCROLLBAR" = "yes"; then
46651 cat >>confdefs.h
<<\_ACEOF
46652 #define wxUSE_SCROLLBAR 1
46656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46659 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46660 cat >>confdefs.h
<<\_ACEOF
46661 #define wxUSE_SEARCHCTRL 1
46667 if test "$wxUSE_SLIDER" = "yes"; then
46668 cat >>confdefs.h
<<\_ACEOF
46669 #define wxUSE_SLIDER 1
46675 if test "$wxUSE_SPINBTN" = "yes"; then
46676 cat >>confdefs.h
<<\_ACEOF
46677 #define wxUSE_SPINBTN 1
46683 if test "$wxUSE_SPINCTRL" = "yes"; then
46684 cat >>confdefs.h
<<\_ACEOF
46685 #define wxUSE_SPINCTRL 1
46691 if test "$wxUSE_SPLITTER" = "yes"; then
46692 cat >>confdefs.h
<<\_ACEOF
46693 #define wxUSE_SPLITTER 1
46696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46699 if test "$wxUSE_STATBMP" = "yes"; then
46700 cat >>confdefs.h
<<\_ACEOF
46701 #define wxUSE_STATBMP 1
46707 if test "$wxUSE_STATBOX" = "yes"; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_STATBOX 1
46715 if test "$wxUSE_STATTEXT" = "yes"; then
46716 cat >>confdefs.h
<<\_ACEOF
46717 #define wxUSE_STATTEXT 1
46723 if test "$wxUSE_STATLINE" = "yes"; then
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_STATLINE 1
46731 if test "$wxUSE_STATUSBAR" = "yes"; then
46732 cat >>confdefs.h
<<\_ACEOF
46733 #define wxUSE_NATIVE_STATUSBAR 1
46736 cat >>confdefs.h
<<\_ACEOF
46737 #define wxUSE_STATUSBAR 1
46742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46745 if test "$wxUSE_TEXTCTRL" = "yes"; then
46746 cat >>confdefs.h
<<\_ACEOF
46747 #define wxUSE_TEXTCTRL 1
46751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46753 cat >>confdefs.h
<<\_ACEOF
46754 #define wxUSE_RICHEDIT 1
46757 cat >>confdefs.h
<<\_ACEOF
46758 #define wxUSE_RICHEDIT2 1
46763 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46764 if test "$wxUSE_OLD_COCOA" = 1 ; then
46765 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46766 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46770 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46771 cat >>confdefs.h
<<\_ACEOF
46772 #define wxUSE_TOGGLEBTN 1
46779 if test "$wxUSE_TOOLBAR" = "yes"; then
46780 cat >>confdefs.h
<<\_ACEOF
46781 #define wxUSE_TOOLBAR 1
46786 if test "$wxUSE_UNIVERSAL" = "yes"; then
46787 wxUSE_TOOLBAR_NATIVE
="no"
46789 wxUSE_TOOLBAR_NATIVE
="yes"
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_TOOLBAR_NATIVE 1
46796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46799 if test "$wxUSE_TOOLTIPS" = "yes"; then
46800 if test "$wxUSE_MOTIF" = 1; then
46801 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46802 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46804 if test "$wxUSE_UNIVERSAL" = "yes"; then
46805 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46806 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46808 cat >>confdefs.h
<<\_ACEOF
46809 #define wxUSE_TOOLTIPS 1
46816 if test "$wxUSE_TREEBOOK" = "yes"; then
46817 cat >>confdefs.h
<<\_ACEOF
46818 #define wxUSE_TREEBOOK 1
46824 if test "$wxUSE_TOOLBOOK" = "yes"; then
46825 cat >>confdefs.h
<<\_ACEOF
46826 #define wxUSE_TOOLBOOK 1
46832 if test "$wxUSE_TREECTRL" = "yes"; then
46833 if test "$wxUSE_IMAGLIST" = "yes"; then
46834 cat >>confdefs.h
<<\_ACEOF
46835 #define wxUSE_TREECTRL 1
46839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46841 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46842 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46846 if test "$wxUSE_POPUPWIN" = "yes"; then
46847 if test "$wxUSE_OLD_COCOA" = 1 ; then
46848 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46849 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46851 if test "$wxUSE_PM" = 1; then
46852 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46853 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46855 cat >>confdefs.h
<<\_ACEOF
46856 #define wxUSE_POPUPWIN 1
46859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46866 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46868 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46869 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46871 cat >>confdefs.h
<<\_ACEOF
46872 #define wxUSE_DIALUP_MANAGER 1
46875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46879 if test "$wxUSE_TIPWINDOW" = "yes"; then
46880 if test "$wxUSE_PM" = 1; then
46881 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46882 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46884 cat >>confdefs.h
<<\_ACEOF
46885 #define wxUSE_TIPWINDOW 1
46891 if test "$USES_CONTROLS" = 1; then
46892 cat >>confdefs.h
<<\_ACEOF
46893 #define wxUSE_CONTROLS 1
46899 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46900 cat >>confdefs.h
<<\_ACEOF
46901 #define wxUSE_ACCESSIBILITY 1
46904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46907 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46908 cat >>confdefs.h
<<\_ACEOF
46909 #define wxUSE_DRAGIMAGE 1
46912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46915 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46916 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46917 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46918 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46920 cat >>confdefs.h
<<\_ACEOF
46921 #define wxUSE_EXCEPTIONS 1
46924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46929 if test "$wxUSE_HTML" = "yes"; then
46930 cat >>confdefs.h
<<\_ACEOF
46931 #define wxUSE_HTML 1
46935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46937 if test "$wxUSE_WEBKIT" = "yes"; then
46938 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46939 old_CPPFLAGS
="$CPPFLAGS"
46940 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46941 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46942 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46943 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46944 echo $ECHO_N "(cached) $ECHO_C" >&6
46946 cat >conftest.
$ac_ext <<_ACEOF
46949 cat confdefs.h
>>conftest.
$ac_ext
46950 cat >>conftest.
$ac_ext <<_ACEOF
46951 /* end confdefs.h. */
46953 #include <Carbon/Carbon.h>
46954 #include <WebKit/WebKit.h>
46957 #include <WebKit/HIWebView.h>
46959 rm -f conftest.
$ac_objext
46960 if { (ac_try
="$ac_compile"
46961 case "(($ac_try" in
46962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46963 *) ac_try_echo=$ac_try;;
46965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46966 (eval "$ac_compile") 2>conftest.er1
46968 grep -v '^ *+' conftest.er1 >conftest.err
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } && {
46973 test -z "$ac_c_werror_flag" ||
46974 test ! -s conftest.err
46975 } && test -s conftest.$ac_objext; then
46976 ac_cv_header_WebKit_HIWebView_h=yes
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46981 ac_cv_header_WebKit_HIWebView_h=no
46984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46986 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46987 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46988 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_WEBKIT 1
46994 WEBKIT_LINK="-framework WebKit"
46998 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46999 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47005 CPPFLAGS="$old_CPPFLAGS"
47006 elif test "$wxUSE_OLD_COCOA" = 1; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_WEBKIT 1
47014 if test "$wxUSE_WEBKIT" = "yes"; then
47015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47020 if test "$wxUSE_XRC" = "yes"; then
47021 if test "$wxUSE_XML" != "yes"; then
47022 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47023 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_XRC 1
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47036 if test "$wxUSE_AUI" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_AUI 1
47042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47046 if test "$wxUSE_PROPGRID" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_PROPGRID 1
47052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47056 if test "$wxUSE_RIBBON" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_RIBBON 1
47062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47066 if test "$wxUSE_STC" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_STC 1
47072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47074 # Extract the first word of "python", so it can be a program name with args.
47075 set dummy python; ac_word=$2
47076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47078 if test "${ac_cv_path_PYTHON+set}" = set; then
47079 echo $ECHO_N "(cached) $ECHO_C" >&6
47083 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47087 for as_dir in $PATH
47090 test -z "$as_dir" && as_dir=.
47091 for ac_exec_ext in '' $ac_executable_extensions; do
47092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47093 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47104 PYTHON=$ac_cv_path_PYTHON
47105 if test -n "$PYTHON"; then
47106 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47107 echo "${ECHO_T}$PYTHON" >&6; }
47109 { echo "$as_me:$LINENO: result: no" >&5
47110 echo "${ECHO_T}no" >&6; }
47114 if test "x$PYTHON" = "x"; then
47120 if test "$wxUSE_MENUS" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_MENUS 1
47125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47128 if test "$wxUSE_METAFILE" = "yes"; then
47129 cat >>confdefs.h <<\_ACEOF
47130 #define wxUSE_METAFILE 1
47135 if test "$wxUSE_MIMETYPE" = "yes"; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_MIMETYPE 1
47142 if test "$wxUSE_MINIFRAME" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_MINIFRAME 1
47149 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_SYSTEM_OPTIONS 1
47156 if test "$wxUSE_TASKBARICON" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_TASKBARICON 1
47161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47165 if test "$wxUSE_VALIDATORS" = "yes"; then
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_VALIDATORS 1
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47173 if test "$wxUSE_PALETTE" = "yes" ; then
47174 if test "$wxUSE_DFB" = 1; then
47175 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47176 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_PALETTE 1
47186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47187 LIBS=" -lunicows $LIBS"
47191 if test "$wxUSE_RICHTEXT" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_RICHTEXT 1
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47201 if test "$wxUSE_IMAGE" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_IMAGE 1
47207 if test "$wxUSE_GIF" = "yes" ; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_GIF 1
47214 if test "$wxUSE_PCX" = "yes" ; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_PCX 1
47221 if test "$wxUSE_TGA" = "yes" ; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_TGA 1
47228 if test "$wxUSE_IFF" = "yes" ; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_IFF 1
47235 if test "$wxUSE_PNM" = "yes" ; then
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_PNM 1
47242 if test "$wxUSE_XPM" = "yes" ; then
47243 cat >>confdefs.h <<\_ACEOF
47244 #define wxUSE_XPM 1
47249 if test "$wxUSE_ICO_CUR" = "yes" ; then
47250 cat >>confdefs.h <<\_ACEOF
47251 #define wxUSE_ICO_CUR 1
47258 if test "$wxUSE_ABOUTDLG" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_ABOUTDLG 1
47265 if test "$wxUSE_CHOICEDLG" = "yes"; then
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_CHOICEDLG 1
47272 if test "$wxUSE_COLOURDLG" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_COLOURDLG 1
47279 if test "$wxUSE_FILEDLG" = "yes"; then
47280 cat >>confdefs.h <<\_ACEOF
47281 #define wxUSE_FILEDLG 1
47286 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_FINDREPLDLG 1
47293 if test "$wxUSE_FONTDLG" = "yes"; then
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_FONTDLG 1
47300 if test "$wxUSE_DIRDLG" = "yes"; then
47301 if test "$wxUSE_TREECTRL" != "yes"; then
47302 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47303 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_DIRDLG 1
47312 if test "$wxUSE_MSGDLG" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_MSGDLG 1
47319 if test "$wxUSE_NUMBERDLG" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_NUMBERDLG 1
47326 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_PROGRESSDLG 1
47333 if test "$wxUSE_SPLASH" = "yes"; then
47334 cat >>confdefs.h <<\_ACEOF
47335 #define wxUSE_SPLASH 1
47338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47341 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_STARTUP_TIPS 1
47348 if test "$wxUSE_TEXTDLG" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_TEXTDLG 1
47355 if test "$wxUSE_WIZARDDLG" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_WIZARDDLG 1
47360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47364 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47365 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_OWNER_DRAWN 1
47374 if test "$wxUSE_MSW" = 1 ; then
47376 if test "$wxUSE_DC_CACHEING" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_DC_CACHEING 1
47383 if test "$wxUSE_DIB" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_WXDIB 1
47390 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47397 if test "$wxUSE_UXTHEME" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_UXTHEME 1
47406 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_AUTOID_MANAGEMENT 1
47413 if test "$USE_WIN32" = 1 ; then
47414 if test "$wxUSE_INICONF" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_INICONF 1
47421 if test "$wxUSE_REGKEY" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_REGKEY 1
47430 if test "$wxUSE_MAC" = 1; then
47431 wxUSE_GRAPHICS_CONTEXT="yes"
47434 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47436 if test "$wxUSE_MSW" = 1; then
47437 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47438 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47439 if test "${wx_cv_lib_gdiplus+set}" = set; then
47440 echo $ECHO_N "(cached) $ECHO_C" >&6
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449 cat >conftest.$ac_ext <<_ACEOF
47452 cat confdefs.h >>conftest.$ac_ext
47453 cat >>conftest.$ac_ext <<_ACEOF
47454 /* end confdefs.h. */
47455 #include <gdiplus.h>
47460 using namespace Gdiplus;
47466 rm -f conftest.$ac_objext
47467 if { (ac_try="$ac_compile"
47468 case "(($ac_try" in
47469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47470 *) ac_try_echo
=$ac_try;;
47472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47473 (eval "$ac_compile") 2>conftest.er1
47475 grep -v '^ *+' conftest.er1
>conftest.err
47477 cat conftest.err
>&5
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); } && {
47480 test -z "$ac_cxx_werror_flag" ||
47481 test ! -s conftest.err
47482 } && test -s conftest.
$ac_objext; then
47483 wx_cv_lib_gdiplus
=yes
47485 echo "$as_me: failed program was:" >&5
47486 sed 's/^/| /' conftest.
$ac_ext >&5
47488 wx_cv_lib_gdiplus
=no
47492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47494 ac_cpp
='$CPP $CPPFLAGS'
47495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47502 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47503 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47504 if test "$wx_cv_lib_gdiplus" = "yes"; then
47507 elif test "$wxUSE_GTK" = 1; then
47510 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47511 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47513 if test -n "$PKG_CONFIG"; then
47514 if test -n "$CAIRO_CFLAGS"; then
47515 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47517 if test -n "$PKG_CONFIG" && \
47518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47519 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47522 (exit $ac_status); }; then
47523 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47531 if test -n "$PKG_CONFIG"; then
47532 if test -n "$CAIRO_LIBS"; then
47533 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47535 if test -n "$PKG_CONFIG" && \
47536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47537 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); }; then
47541 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47552 if test $pkg_failed = yes; then
47554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47555 _pkg_short_errors_supported
=yes
47557 _pkg_short_errors_supported
=no
47559 if test $_pkg_short_errors_supported = yes; then
47560 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47562 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47564 # Put the nasty error message in config.log where it belongs
47565 echo "$CAIRO_PKG_ERRORS" >&5
47567 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47568 echo "$as_me: WARNING: Cairo library not found" >&2;}
47570 elif test $pkg_failed = untried
; then
47571 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47572 echo "$as_me: WARNING: Cairo library not found" >&2;}
47575 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47576 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47577 { echo "$as_me:$LINENO: result: yes" >&5
47578 echo "${ECHO_T}yes" >&6; }
47585 if test "$wx_has_graphics" = 1; then
47586 cat >>confdefs.h
<<\_ACEOF
47587 #define wxUSE_GRAPHICS_CONTEXT 1
47591 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47592 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47599 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47602 if test "$wxUSE_GTK" = 1; then
47603 wxUSE_GSTREAMER
="no"
47605 GST_VERSION_MAJOR
=0
47606 GST_VERSION_MINOR
=10
47607 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47609 if test "$wxUSE_GSTREAMER8" = "no"; then
47612 { echo "$as_me:$LINENO: checking for GST" >&5
47613 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47615 if test -n "$PKG_CONFIG"; then
47616 if test -n "$GST_CFLAGS"; then
47617 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47619 if test -n "$PKG_CONFIG" && \
47620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47621 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; then
47625 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47633 if test -n "$PKG_CONFIG"; then
47634 if test -n "$GST_LIBS"; then
47635 pkg_cv_GST_LIBS
="$GST_LIBS"
47637 if test -n "$PKG_CONFIG" && \
47638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47639 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642 (exit $ac_status); }; then
47643 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47654 if test $pkg_failed = yes; then
47656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47657 _pkg_short_errors_supported
=yes
47659 _pkg_short_errors_supported
=no
47661 if test $_pkg_short_errors_supported = yes; then
47662 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47664 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47666 # Put the nasty error message in config.log where it belongs
47667 echo "$GST_PKG_ERRORS" >&5
47670 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47671 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47672 GST_VERSION_MINOR
=8
47675 elif test $pkg_failed = untried
; then
47677 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47678 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47679 GST_VERSION_MINOR
=8
47683 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47684 GST_LIBS
=$pkg_cv_GST_LIBS
47685 { echo "$as_me:$LINENO: result: yes" >&5
47686 echo "${ECHO_T}yes" >&6; }
47688 wxUSE_GSTREAMER
="yes"
47689 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47693 GST_VERSION_MINOR
=8
47696 if test $GST_VERSION_MINOR = "8"; then
47697 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47700 { echo "$as_me:$LINENO: checking for GST" >&5
47701 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47703 if test -n "$PKG_CONFIG"; then
47704 if test -n "$GST_CFLAGS"; then
47705 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47707 if test -n "$PKG_CONFIG" && \
47708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47709 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); }; then
47713 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47721 if test -n "$PKG_CONFIG"; then
47722 if test -n "$GST_LIBS"; then
47723 pkg_cv_GST_LIBS
="$GST_LIBS"
47725 if test -n "$PKG_CONFIG" && \
47726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47727 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730 (exit $ac_status); }; then
47731 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47742 if test $pkg_failed = yes; then
47744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47745 _pkg_short_errors_supported
=yes
47747 _pkg_short_errors_supported
=no
47749 if test $_pkg_short_errors_supported = yes; then
47750 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47752 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47754 # Put the nasty error message in config.log where it belongs
47755 echo "$GST_PKG_ERRORS" >&5
47758 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47759 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47761 elif test $pkg_failed = untried
; then
47763 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47764 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47767 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47768 GST_LIBS
=$pkg_cv_GST_LIBS
47769 { echo "$as_me:$LINENO: result: yes" >&5
47770 echo "${ECHO_T}yes" >&6; }
47771 wxUSE_GSTREAMER
="yes"
47776 if test "$wxUSE_GSTREAMER" = "yes"; then
47777 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47778 EXTRALIBS_MEDIA
="$GST_LIBS"
47780 cat >>confdefs.h
<<\_ACEOF
47781 #define wxUSE_GSTREAMER 1
47789 if test $USE_MEDIA = 1; then
47790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47791 cat >>confdefs.h
<<\_ACEOF
47792 #define wxUSE_MEDIACTRL 1
47796 if test "$wxUSE_MEDIACTRL" = "yes"; then
47797 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47798 echo "$as_me: error: GStreamer not available" >&2;}
47799 { (exit 1); exit 1; }; }
47801 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47802 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47808 if test "$cross_compiling" != "no"; then
47811 OSINFO
=`uname -s -r -m`
47812 OSINFO
="\"$OSINFO\""
47815 cat >>confdefs.h
<<_ACEOF
47816 #define WXWIN_OS_DESCRIPTION $OSINFO
47821 if test "x$prefix" != "xNONE"; then
47824 wxPREFIX
=$ac_default_prefix
47827 cat >>confdefs.h
<<_ACEOF
47828 #define wxINSTALL_PREFIX "$wxPREFIX"
47834 STD_BASE_LIBS
="base"
47836 BUILT_WX_LIBS
="base"
47837 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47839 if test "$wxUSE_SOCKETS" = "yes" ; then
47840 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47841 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47843 if test "$wxUSE_XML" = "yes" ; then
47844 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47845 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47848 if test "$wxUSE_GUI" = "yes"; then
47849 STD_GUI_LIBS
="adv core"
47850 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47852 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47853 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47854 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47856 if test "$wxUSE_HTML" = "yes" ; then
47857 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47858 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47860 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47861 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47863 if test "$wxUSE_OPENGL" = "yes" ; then
47864 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47866 if test "$wxUSE_AUI" = "yes" ; then
47867 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47869 if test "$wxUSE_PROPGRID" = "yes" ; then
47870 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47872 if test "$wxUSE_RIBBON" = "yes" ; then
47873 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47875 if test "$wxUSE_RICHTEXT" = "yes" ; then
47876 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47878 if test "$wxUSE_STC" = "yes" ; then
47879 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47881 if test "$wxUSE_XRC" = "yes" ; then
47882 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47883 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47894 if test "$wxUSE_MAC" = 1 ; then
47895 if test "$USE_DARWIN" = 1; then
47896 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47899 if test "$wxUSE_OLD_COCOA" = 1 ; then
47900 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
47901 if test "$wxUSE_MEDIACTRL" = "yes"; then
47902 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
47905 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47906 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47909 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
47910 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47912 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47914 if test "$wxUSE_GUI" = "yes"; then
47917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47918 erase event exec font image minimal render \
47919 shaped svg taborder vscroll widgets wrapsizer"
47921 if test "$wxUSE_MONOLITHIC" != "yes"; then
47922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47924 if test "$TOOLKIT" = "MSW"; then
47925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47926 if test "$wxUSE_UNIVERSAL" != "yes"; then
47927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47930 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47934 SAMPLES_SUBDIRS
="console"
47935 if test "$wxUSE_SOCKETS" = "yes" ; then
47936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47938 if test "$wxUSE_IPC" = "yes" ; then
47939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47944 if test "x$INTELCC" = "xyes" ; then
47945 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
47946 elif test "$GCC" = yes ; then
47947 CWARNINGS
="-Wall -Wundef"
47950 if test "x$INTELCXX" = "xyes" ; then
47951 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47952 elif test "$GXX" = yes ; then
47953 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47954 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47955 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47956 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47957 echo $ECHO_N "(cached) $ECHO_C" >&6
47959 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
47962 ac_cpp
='$CXXCPP $CPPFLAGS'
47963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47967 ac_save_CXXFLAGS
="$CXXFLAGS"
47968 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47969 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47970 cat >conftest.
$ac_ext <<_ACEOF
47973 cat confdefs.h
>>conftest.
$ac_ext
47974 cat >>conftest.
$ac_ext <<_ACEOF
47975 /* end confdefs.h. */
47985 rm -f conftest.
$ac_objext
47986 if { (ac_try
="$ac_compile"
47987 case "(($ac_try" in
47988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47989 *) ac_try_echo=$ac_try;;
47991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47992 (eval "$ac_compile") 2>conftest.er1
47994 grep -v '^ *+' conftest.er1 >conftest.err
47996 cat conftest.err >&5
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); } && {
47999 test -z "$ac_cxx_werror_flag" ||
48000 test ! -s conftest.err
48001 } && test -s conftest.$ac_objext; then
48002 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48004 echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48012 CXXFLAGS="$ac_save_CXXFLAGS"
48014 ac_cpp='$CPP $CPPFLAGS'
48015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48021 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48022 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48023 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48027 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48028 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48029 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48032 (exit $ac_status); }
48033 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48034 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48037 (exit $ac_status); }
48038 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48044 if test "$wxUSE_MAC" = 1 ; then
48045 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48050 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48051 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48054 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48055 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48056 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48059 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48060 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48061 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48062 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48063 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48065 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48068 if test "x$MWCC" = "xyes"; then
48070 CC="$CC -cwd source -I-"
48071 CXX="$CXX -cwd source -I-"
48076 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48077 EXTRALIBS_XML="$EXPAT_LINK"
48078 EXTRALIBS_HTML="$MSPACK_LINK"
48079 EXTRALIBS_MEDIA="$GST_LIBS"
48080 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48081 if test "$wxUSE_GUI" = "yes"; then
48082 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48084 if test "$wxUSE_OPENGL" = "yes"; then
48085 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48088 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48090 WXCONFIG_LIBS="$LIBS"
48092 if test "$wxUSE_REGEX" = "builtin" ; then
48093 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48095 if test "$wxUSE_EXPAT" = "builtin" ; then
48096 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48098 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48099 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48101 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48102 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48104 if test "$wxUSE_LIBPNG" = "builtin" ; then
48105 wxconfig_3rdparty="png $wxconfig_3rdparty"
48107 if test "$wxUSE_ZLIB" = "builtin" ; then
48108 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48111 for i in $wxconfig_3rdparty ; do
48112 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48116 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48119 case "$wxUNIV_THEMES" in
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_ALL_THEMES 1
48128 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48129 cat >>confdefs.h <<_ACEOF
48130 #define wxUSE_THEME_$t 1
48146 if test $wxUSE_MONOLITHIC = "yes" ; then
48152 if test $wxUSE_PLUGINS = "yes" ; then
48158 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48164 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48196 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48209 TOOLKIT_DESC="GTK+"
48210 if test "$WXGTK2" = 1; then
48211 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48212 if test "$wxUSE_GTKPRINT" = "yes" ; then
48213 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48215 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48216 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48218 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48219 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48221 if test "$wxUSE_LIBHILDON" = "yes"; then
48222 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48224 if test "$wxUSE_LIBHILDON2" = "yes"; then
48225 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48228 if test "$TOOLKIT_EXTRA" != ""; then
48229 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48235 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48239 TOOLKIT_DESC="base only"
48243 if test "$wxUSE_WINE" = "yes"; then
48244 BAKEFILE_FORCE_PLATFORM=win32
48247 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48249 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48250 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48251 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48252 echo $ECHO_N "(cached) $ECHO_C" >&6
48255 echo '#include <stdio.h>
48256 const wchar_t test_var[] = L"awidetest";' > conftest.h
48258 echo '#include "conftest.h"
48261 printf("%ls", test_var);
48265 wx_cv_gcc_pch_bug="pch not supported"
48267 if $CXX conftest.h >/dev/null 2>&1
48271 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48273 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48274 grep awidetest >/dev/null
48276 wx_cv_gcc_pch_bug=no
48278 wx_cv_gcc_pch_bug=yes
48283 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48286 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48287 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48289 if test "$wx_cv_gcc_pch_bug" = yes; then
48300 if test "x$BAKEFILE_HOST" = "x"; then
48301 if test "x${host}" = "x" ; then
48302 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48303 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48304 { (exit 1); exit 1; }; }
48307 BAKEFILE_HOST="${host}"
48310 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48312 if test -n "$ac_tool_prefix"; then
48313 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48317 if test "${ac_cv_prog_RANLIB+set}" = set; then
48318 echo $ECHO_N "(cached) $ECHO_C" >&6
48320 if test -n "$RANLIB"; then
48321 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48324 for as_dir in $PATH
48327 test -z "$as_dir" && as_dir=.
48328 for ac_exec_ext in '' $ac_executable_extensions; do
48329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48330 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48340 RANLIB=$ac_cv_prog_RANLIB
48341 if test -n "$RANLIB"; then
48342 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48343 echo "${ECHO_T}$RANLIB" >&6; }
48345 { echo "$as_me:$LINENO: result: no" >&5
48346 echo "${ECHO_T}no" >&6; }
48351 if test -z "$ac_cv_prog_RANLIB"; then
48352 ac_ct_RANLIB=$RANLIB
48353 # Extract the first word of "ranlib", so it can be a program name with args.
48354 set dummy ranlib; ac_word=$2
48355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48357 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48360 if test -n "$ac_ct_RANLIB"; then
48361 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48364 for as_dir in $PATH
48367 test -z "$as_dir" && as_dir=.
48368 for ac_exec_ext in '' $ac_executable_extensions; do
48369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48370 ac_cv_prog_ac_ct_RANLIB="ranlib"
48371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48380 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48381 if test -n "$ac_ct_RANLIB"; then
48382 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48383 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48385 { echo "$as_me:$LINENO: result: no" >&5
48386 echo "${ECHO_T}no" >&6; }
48389 if test "x$ac_ct_RANLIB" = x; then
48392 case $cross_compiling:$ac_tool_warned in
48394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48395 whose name does not start with the host triplet. If you think this
48396 configuration is useful to you, please write to autoconf@gnu.org." >&5
48397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48398 whose name does not start with the host triplet. If you think this
48399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48400 ac_tool_warned=yes ;;
48402 RANLIB=$ac_ct_RANLIB
48405 RANLIB="$ac_cv_prog_RANLIB"
48408 # Find a good install program. We prefer a C program (faster),
48409 # so one script is as good as another. But avoid the broken or
48410 # incompatible versions:
48411 # SysV /etc/install, /usr/sbin/install
48412 # SunOS /usr/etc/install
48413 # IRIX /sbin/install
48415 # AmigaOS /C/install, which installs bootblocks on floppy discs
48416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48419 # OS/2's system install, which has a completely different semantic
48420 # ./install, which can be erroneously created by make from ./install.sh.
48421 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48422 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48423 if test -z "$INSTALL"; then
48424 if test "${ac_cv_path_install+set}" = set; then
48425 echo $ECHO_N "(cached) $ECHO_C" >&6
48427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48428 for as_dir in $PATH
48431 test -z "$as_dir" && as_dir=.
48432 # Account for people who put trailing slashes in PATH elements.
48434 ./ | .// | /cC/* | \
48435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48436 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48439 # OSF1 and SCO ODT 3.0 have their own names for install.
48440 # Don't use installbsd from OSF since it installs stuff as root
48442 for ac_prog in ginstall scoinst install; do
48443 for ac_exec_ext in '' $ac_executable_extensions; do
48444 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48445 if test $ac_prog = install &&
48446 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48447 # AIX install. It has an incompatible calling convention.
48449 elif test $ac_prog = install &&
48450 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48451 # program-specific install script used by HP pwplus--don't use.
48454 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48467 if test "${ac_cv_path_install+set}" = set; then
48468 INSTALL=$ac_cv_path_install
48470 # As a last resort, use the slow shell script. Don't cache a
48471 # value for INSTALL within a source directory, because that will
48472 # break other packages using the cache if that directory is
48473 # removed, or if the value is a relative name.
48474 INSTALL=$ac_install_sh
48477 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48478 echo "${ECHO_T}$INSTALL" >&6; }
48480 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48481 # It thinks the first close brace ends the variable substitution.
48482 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48484 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48486 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48488 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48489 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48491 if test "$LN_S" = "ln -s"; then
48492 { echo "$as_me:$LINENO: result: yes" >&5
48493 echo "${ECHO_T}yes" >&6; }
48495 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48496 echo "${ECHO_T}no, using $LN_S" >&6; }
48500 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48502 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48503 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48504 echo $ECHO_N "(cached) $ECHO_C" >&6
48506 cat >conftest.make <<\_ACEOF
48509 @echo '@@@%%%=$(MAKE)=@@@%%%'
48511 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48512 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48513 *@@@%%%=?*=@@@%%%*)
48514 eval ac_cv_prog_make_${ac_make}_set=yes;;
48516 eval ac_cv_prog_make_${ac_make}_set=no;;
48518 rm -f conftest.make
48520 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48521 { echo "$as_me:$LINENO: result: yes" >&5
48522 echo "${ECHO_T}yes" >&6; }
48525 { echo "$as_me:$LINENO: result: no" >&5
48526 echo "${ECHO_T}no" >&6; }
48527 SET_MAKE="MAKE=${MAKE-make}"
48532 if test "x$SUNCXX" = "xyes"; then
48534 AROPTIONS="-xar -o"
48536 elif test "x$SGICC" = "xyes"; then
48541 if test -n "$ac_tool_prefix"; then
48542 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48543 set dummy ${ac_tool_prefix}ar; ac_word=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_AR+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48549 if test -n "$AR"; then
48550 ac_cv_prog_AR="$AR" # Let the user override the test.
48552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48553 for as_dir in $PATH
48556 test -z "$as_dir" && as_dir=.
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_AR="${ac_tool_prefix}ar"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48570 if test -n "$AR"; then
48571 { echo "$as_me:$LINENO: result: $AR" >&5
48572 echo "${ECHO_T}$AR" >&6; }
48574 { echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6; }
48580 if test -z "$ac_cv_prog_AR"; then
48582 # Extract the first word of "ar", so it can be a program name with args.
48583 set dummy ar; ac_word=$2
48584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48586 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48587 echo $ECHO_N "(cached) $ECHO_C" >&6
48589 if test -n "$ac_ct_AR"; then
48590 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48593 for as_dir in $PATH
48596 test -z "$as_dir" && as_dir=.
48597 for ac_exec_ext in '' $ac_executable_extensions; do
48598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48599 ac_cv_prog_ac_ct_AR="ar"
48600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48609 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48610 if test -n "$ac_ct_AR"; then
48611 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48612 echo "${ECHO_T}$ac_ct_AR" >&6; }
48614 { echo "$as_me:$LINENO: result: no" >&5
48615 echo "${ECHO_T}no" >&6; }
48618 if test "x$ac_ct_AR" = x; then
48621 case $cross_compiling:$ac_tool_warned in
48623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48624 whose name does not start with the host triplet. If you think this
48625 configuration is useful to you, please write to autoconf@gnu.org." >&5
48626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48627 whose name does not start with the host triplet. If you think this
48628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48629 ac_tool_warned=yes ;;
48634 AR="$ac_cv_prog_AR"
48641 if test -n "$ac_tool_prefix"; then
48642 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48643 set dummy ${ac_tool_prefix}strip; ac_word=$2
48644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48646 if test "${ac_cv_prog_STRIP+set}" = set; then
48647 echo $ECHO_N "(cached) $ECHO_C" >&6
48649 if test -n "$STRIP"; then
48650 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48653 for as_dir in $PATH
48656 test -z "$as_dir" && as_dir=.
48657 for ac_exec_ext in '' $ac_executable_extensions; do
48658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48659 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48669 STRIP=$ac_cv_prog_STRIP
48670 if test -n "$STRIP"; then
48671 { echo "$as_me:$LINENO: result: $STRIP" >&5
48672 echo "${ECHO_T}$STRIP" >&6; }
48674 { echo "$as_me:$LINENO: result: no" >&5
48675 echo "${ECHO_T}no" >&6; }
48680 if test -z "$ac_cv_prog_STRIP"; then
48682 # Extract the first word of "strip", so it can be a program name with args.
48683 set dummy strip; ac_word=$2
48684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48686 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48687 echo $ECHO_N "(cached) $ECHO_C" >&6
48689 if test -n "$ac_ct_STRIP"; then
48690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48693 for as_dir in $PATH
48696 test -z "$as_dir" && as_dir=.
48697 for ac_exec_ext in '' $ac_executable_extensions; do
48698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48699 ac_cv_prog_ac_ct_STRIP="strip"
48700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48710 if test -n "$ac_ct_STRIP"; then
48711 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48712 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48714 { echo "$as_me:$LINENO: result: no" >&5
48715 echo "${ECHO_T}no" >&6; }
48718 if test "x$ac_ct_STRIP" = x; then
48721 case $cross_compiling:$ac_tool_warned in
48723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48724 whose name does not start with the host triplet. If you think this
48725 configuration is useful to you, please write to autoconf@gnu.org." >&5
48726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48727 whose name does not start with the host triplet. If you think this
48728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48729 ac_tool_warned=yes ;;
48734 STRIP="$ac_cv_prog_STRIP"
48737 if test -n "$ac_tool_prefix"; then
48738 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48739 set dummy ${ac_tool_prefix}nm; ac_word=$2
48740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48742 if test "${ac_cv_prog_NM+set}" = set; then
48743 echo $ECHO_N "(cached) $ECHO_C" >&6
48745 if test -n "$NM"; then
48746 ac_cv_prog_NM="$NM" # Let the user override the test.
48748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48749 for as_dir in $PATH
48752 test -z "$as_dir" && as_dir=.
48753 for ac_exec_ext in '' $ac_executable_extensions; do
48754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48755 ac_cv_prog_NM="${ac_tool_prefix}nm"
48756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48766 if test -n "$NM"; then
48767 { echo "$as_me:$LINENO: result: $NM" >&5
48768 echo "${ECHO_T}$NM" >&6; }
48770 { echo "$as_me:$LINENO: result: no" >&5
48771 echo "${ECHO_T}no" >&6; }
48776 if test -z "$ac_cv_prog_NM"; then
48778 # Extract the first word of "nm", so it can be a program name with args.
48779 set dummy nm; ac_word=$2
48780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48782 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 if test -n "$ac_ct_NM"; then
48786 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48789 for as_dir in $PATH
48792 test -z "$as_dir" && as_dir=.
48793 for ac_exec_ext in '' $ac_executable_extensions; do
48794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48795 ac_cv_prog_ac_ct_NM="nm"
48796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48805 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48806 if test -n "$ac_ct_NM"; then
48807 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48808 echo "${ECHO_T}$ac_ct_NM" >&6; }
48810 { echo "$as_me:$LINENO: result: no" >&5
48811 echo "${ECHO_T}no" >&6; }
48814 if test "x$ac_ct_NM" = x; then
48817 case $cross_compiling:$ac_tool_warned in
48819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48820 whose name does not start with the host triplet. If you think this
48821 configuration is useful to you, please write to autoconf@gnu.org." >&5
48822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48823 whose name does not start with the host triplet. If you think this
48824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48825 ac_tool_warned=yes ;;
48830 NM="$ac_cv_prog_NM"
48834 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48835 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48836 INSTALL_TEST_DIR=acbftest$$
48837 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48838 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48839 rmdir $INSTALL_TEST_DIR
48840 INSTALL_DIR='$(INSTALL) -d'
48841 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48842 echo "${ECHO_T}$INSTALL -d" >&6; }
48844 INSTALL_DIR="mkdir -p"
48845 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48846 echo "${ECHO_T}mkdir -p" >&6; }
48851 case ${BAKEFILE_HOST} in
48852 *-*-cygwin* | *-*-mingw32* )
48853 LDFLAGS_GUI="-mwindows"
48859 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48860 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48861 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48862 echo $ECHO_N "(cached) $ECHO_C" >&6
48865 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48866 egrep -s GNU > /dev/null); then
48867 bakefile_cv_prog_makeisgnu="yes"
48869 bakefile_cv_prog_makeisgnu="no"
48873 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48874 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48876 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48893 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48894 case "${BAKEFILE_HOST}" in
48901 *-pc-os2_emx | *-pc-os2-emx )
48911 powerpc-apple-macos* )
48920 case "$BAKEFILE_FORCE_PLATFORM" in
48941 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48942 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48943 { (exit 1); exit 1; }; }
48958 # Check whether --enable-omf was given.
48959 if test "${enable_omf+set}" = set; then
48960 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48964 case "${BAKEFILE_HOST}" in
48966 if test "x$GCC" = "xyes"; then
48967 CFLAGS="$CFLAGS -fno-common"
48968 CXXFLAGS="$CXXFLAGS -fno-common"
48970 if test "x$XLCC" = "xyes"; then
48971 CFLAGS="$CFLAGS -qnocommon"
48972 CXXFLAGS="$CXXFLAGS -qnocommon"
48976 *-pc-os2_emx | *-pc-os2-emx )
48977 if test "x$bk_os2_use_omf" = "xyes" ; then
48980 LDFLAGS="-Zomf $LDFLAGS"
48981 CFLAGS="-Zomf $CFLAGS"
48982 CXXFLAGS="-Zomf $CXXFLAGS"
48990 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48996 SO_SUFFIX_MODULE="so"
49001 DLLPREFIX_MODULE=""
49005 case "${BAKEFILE_HOST}" in
49010 SO_SUFFIX_MODULE="sl"
49014 SO_SUFFIX_MODULE="a"
49018 SO_SUFFIX_MODULE="dll"
49019 DLLIMP_SUFFIX="dll.a"
49026 SO_SUFFIX_MODULE="dll"
49027 DLLIMP_SUFFIX="dll.a"
49037 *-pc-os2_emx | *-pc-os2-emx )
49039 SO_SUFFIX_MODULE="dll"
49040 DLLIMP_SUFFIX=$OS2_LIBEXT
49044 LIBEXT=".$OS2_LIBEXT"
49049 SO_SUFFIX_MODULE="bundle"
49053 if test "x$DLLIMP_SUFFIX" = "x" ; then
49054 DLLIMP_SUFFIX="$SO_SUFFIX"
49069 if test "x$GCC" = "xyes"; then
49073 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49074 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49077 case "${BAKEFILE_HOST}" in
49079 if test "x$GCC" != "xyes"; then
49080 LDFLAGS="$LDFLAGS -L/usr/lib"
49082 SHARED_LD_CC="${CC} -b -o"
49083 SHARED_LD_CXX="${CXX} -b -o"
49089 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49091 elif test "x$SUNCXX" = "xyes"; then
49092 SHARED_LD_CC="${CC} -G -o"
49093 SHARED_LD_CXX="${CXX} -G -o"
49099 if test "x$SUNCXX" = xyes ; then
49100 SHARED_LD_CC="${CC} -G -o"
49101 SHARED_LD_CXX="${CXX} -G -o"
49109 cat <<EOF >shared-ld-sh
49111 #-----------------------------------------------------------------------------
49112 #-- Name: distrib/mac/shared-ld-sh
49113 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49114 #-- Author: Gilles Depeyrot
49115 #-- Copyright: (c) 2002 Gilles Depeyrot
49116 #-- Licence: any use permitted
49117 #-----------------------------------------------------------------------------
49122 linking_flag="-dynamiclib"
49123 ldargs="-r -keep_private_externs -nostdlib"
49125 if test "x${D}CXX" = "x"; then
49129 while test ${D}# -gt 0; do
49136 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49137 # collect these options and values
49138 args="${D}{args} ${D}1 ${D}2"
49143 # collect these options and values
49144 ldargs="${D}{ldargs} ${D}1 ${D}2"
49149 # collect these load args
49150 ldargs="${D}{ldargs} ${D}1"
49153 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49154 # collect these options
49155 args="${D}{args} ${D}1"
49158 -dynamiclib|-bundle)
49159 linking_flag="${D}1"
49163 echo "shared-ld: unhandled option '${D}1'"
49167 *.o | *.a | *.dylib)
49168 # collect object files
49169 objects="${D}{objects} ${D}1"
49173 echo "shared-ld: unhandled argument '${D}1'"
49184 # Link one module containing all the others
49186 if test ${D}{verbose} = 1; then
49187 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49189 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49193 # Link the shared library from the single module created, but only if the
49194 # previous command didn't fail:
49196 if test ${D}{status} = 0; then
49197 if test ${D}{verbose} = 1; then
49198 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49200 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49205 # Remove intermediate module
49207 rm -f master.${D}${D}.o
49212 chmod +x shared-ld-sh
49214 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49215 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49218 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49219 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49220 if test "${bakefile_cv_gcc31+set}" = set; then
49221 echo $ECHO_N "(cached) $ECHO_C" >&6
49224 cat >conftest.$ac_ext <<_ACEOF
49227 cat confdefs.h >>conftest.$ac_ext
49228 cat >>conftest.$ac_ext <<_ACEOF
49229 /* end confdefs.h. */
49235 #if (__GNUC__ < 3) || \
49236 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49244 rm -f conftest.$ac_objext
49245 if { (ac_try="$ac_compile"
49246 case "(($ac_try" in
49247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49248 *) ac_try_echo
=$ac_try;;
49250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49251 (eval "$ac_compile") 2>conftest.er1
49253 grep -v '^ *+' conftest.er1
>conftest.err
49255 cat conftest.err
>&5
49256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49257 (exit $ac_status); } && {
49258 test -z "$ac_c_werror_flag" ||
49259 test ! -s conftest.err
49260 } && test -s conftest.
$ac_objext; then
49262 bakefile_cv_gcc31
=yes
49265 echo "$as_me: failed program was:" >&5
49266 sed 's/^/| /' conftest.
$ac_ext >&5
49269 bakefile_cv_gcc31
=no
49274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49277 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49278 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49279 if test "$bakefile_cv_gcc31" = "no"; then
49280 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49281 SHARED_LD_CXX
="$SHARED_LD_CC"
49283 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49284 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49287 if test "x$GCC" == "xyes"; then
49288 PIC_FLAG
="-dynamic -fPIC"
49290 if test "x$XLCC" = "xyes"; then
49291 PIC_FLAG
="-dynamic -DPIC"
49296 if test "x$GCC" = "xyes"; then
49299 case "${BAKEFILE_HOST}" in
49301 LD_EXPFULL
="-Wl,-bexpfull"
49305 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49306 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49308 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49309 set dummy makeC
++SharedLib
; ac_word
=$2
49310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49312 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49313 echo $ECHO_N "(cached) $ECHO_C" >&6
49315 if test -n "$AIX_CXX_LD"; then
49316 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49319 for as_dir
in $PATH
49322 test -z "$as_dir" && as_dir
=.
49323 for ac_exec_ext
in '' $ac_executable_extensions; do
49324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49325 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49333 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49336 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49337 if test -n "$AIX_CXX_LD"; then
49338 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49339 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49341 { echo "$as_me:$LINENO: result: no" >&5
49342 echo "${ECHO_T}no" >&6; }
49346 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49347 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49352 SHARED_LD_CC
="${LD} -nostart -o"
49353 SHARED_LD_CXX
="${LD} -nostart -o"
49357 if test "x$GCC" != "xyes"; then
49362 *-*-cygwin* | *-*-mingw32* )
49364 SHARED_LD_CC
="\$(CC) -shared -o"
49365 SHARED_LD_CXX
="\$(CXX) -shared -o"
49369 *-pc-os2_emx | *-pc-os2-emx )
49370 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49371 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49375 cat <<EOF >dllar.sh
49378 # dllar - a tool to build both a .dll and an .a file
49379 # from a set of object (.o) files for EMX/OS2.
49381 # Written by Andrew Zabolotny, bit@freya.etu.ru
49382 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49384 # This script will accept a set of files on the command line.
49385 # All the public symbols from the .o files will be exported into
49386 # a .DEF file, then linker will be run (through gcc) against them to
49387 # build a shared library consisting of all given .o files. All libraries
49388 # (.a) will be first decompressed into component .o files then act as
49389 # described above. You can optionally give a description (-d "description")
49390 # which will be put into .DLL. To see the list of accepted options (as well
49391 # as command-line format) simply run this program without options. The .DLL
49392 # is built to be imported by name (there is no guarantee that new versions
49393 # of the library you build will have same ordinals for same symbols).
49395 # dllar is free software; you can redistribute it and/or modify
49396 # it under the terms of the GNU General Public License as published by
49397 # the Free Software Foundation; either version 2, or (at your option)
49398 # any later version.
49400 # dllar is distributed in the hope that it will be useful,
49401 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49402 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49403 # GNU General Public License for more details.
49405 # You should have received a copy of the GNU General Public License
49406 # along with dllar; see the file COPYING. If not, write to the Free
49407 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49410 # To successfuly run this program you will need:
49411 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49412 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49414 # (used to build the .dll)
49416 # (used to create .def file from .o files)
49418 # (used to create .a file from .def file)
49419 # - GNU text utilites (cat, sort, uniq)
49420 # used to process emxexp output
49421 # - GNU file utilities (mv, rm)
49423 # - lxlite (optional, see flag below)
49424 # (used for general .dll cleanup)
49431 # basnam, variant of basename, which does _not_ remove the path, _iff_
49432 # second argument (suffix to remove) is given
49436 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49439 echo ${D}1 | sed 's/'${D}2'${D}//'
49442 echo "error in basnam ${D}*"
49448 # Cleanup temporary files and output
49451 for i in ${D}inputFiles ; do
49454 rm -rf \`basnam ${D}i !\`
49461 # Kill result in case of failure as there is just to many stupid make/nmake
49462 # things out there which doesn't do this.
49463 if [ ${D}# -eq 0 ]; then
49464 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49468 # Print usage and exit script with rc=1.
49470 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49471 echo ' [-name-mangler-script script.sh]'
49472 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49473 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49474 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49475 echo ' [*.o] [*.a]'
49476 echo '*> "output_file" should have no extension.'
49477 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49478 echo ' The import library name is derived from this and is set to "name".a,'
49479 echo ' unless overridden by -import'
49480 echo '*> "importlib_name" should have no extension.'
49481 echo ' If it has the .o, or .a extension, it is automatically removed.'
49482 echo ' This name is used as the import library name and may be longer and'
49483 echo ' more descriptive than the DLL name which has to follow the old '
49484 echo ' 8.3 convention of FAT.'
49485 echo '*> "script.sh may be given to override the output_file name by a'
49486 echo ' different name. It is mainly useful if the regular make process'
49487 echo ' of some package does not take into account OS/2 restriction of'
49488 echo ' DLL name lengths. It takes the importlib name as input and is'
49489 echo ' supposed to procude a shorter name as output. The script should'
49490 echo ' expect to get importlib_name without extension and should produce'
49491 echo ' a (max.) 8 letter name without extension.'
49492 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49493 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49494 echo ' These flags will be put at the start of GCC command line.'
49495 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49496 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49497 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49498 echo ' If the last character of a symbol is "*", all symbols beginning'
49499 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49500 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49501 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49502 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49503 echo ' C runtime DLLs.'
49504 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49505 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49506 echo ' unchanged to GCC at the end of command line.'
49507 echo '*> If you create a DLL from a library and you do not specify -o,'
49508 echo ' the basename for DLL and import library will be set to library name,'
49509 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49510 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49511 echo ' library will be renamed into gcc_s.a.'
49514 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49515 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49520 # Execute a command.
49521 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49522 # @Uses Whatever CleanUp() uses.
49528 if [ ${D}rcCmd -ne 0 ]; then
49529 echo "command failed, exit code="${D}rcCmd
49544 CFLAGS="-s -Zcrtdll"
49546 EXPORT_BY_ORDINALS=0
49551 case ${D}curDirS in
49555 curDirS=${D}{curDirS}"/"
49558 # Parse commandline
49561 while [ ${D}1 ]; do
49564 EXPORT_BY_ORDINALS=1;
49574 -name-mangler-script)
49595 exclude_symbols=${D}{exclude_symbols}${D}1" "
49599 library_flags=${D}{library_flags}${D}1" "
49618 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49621 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49622 if [ ${D}omfLinking -eq 1 ]; then
49623 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49625 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49630 if [ ${D}libsToLink -ne 0 ]; then
49631 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49633 for file in ${D}1 ; do
49634 if [ -f ${D}file ]; then
49635 inputFiles="${D}{inputFiles} ${D}file"
49639 if [ ${D}found -eq 0 ]; then
49640 echo "ERROR: No file(s) found: "${D}1
49647 done # iterate cmdline words
49650 if [ -z "${D}inputFiles" ]; then
49651 echo "dllar: no input files"
49655 # Now extract all .o files from .a files
49657 for file in ${D}inputFiles ; do
49668 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49673 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49675 if [ ${D}? -ne 0 ]; then
49676 echo "Failed to create subdirectory ./${D}dirname"
49680 # Append '!' to indicate archive
49681 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49682 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49685 for subfile in ${D}dirname/*.o* ; do
49686 if [ -f ${D}subfile ]; then
49688 if [ -s ${D}subfile ]; then
49689 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49690 newInputFiles="${D}newInputFiles ${D}subfile"
49694 if [ ${D}found -eq 0 ]; then
49695 echo "WARNING: there are no files in archive \\'${D}file\\'"
49699 newInputFiles="${D}{newInputFiles} ${D}file"
49703 inputFiles="${D}newInputFiles"
49705 # Output filename(s).
49707 if [ -z ${D}outFile ]; then
49709 set outFile ${D}inputFiles; outFile=${D}2
49712 # If it is an archive, remove the '!' and the '_%' suffixes
49713 case ${D}outFile in
49715 outFile=\`basnam ${D}outFile _%!\`
49720 case ${D}outFile in
49722 outFile=\`basnam ${D}outFile .dll\`
49725 outFile=\`basnam ${D}outFile .DLL\`
49728 outFile=\`basnam ${D}outFile .o\`
49731 outFile=\`basnam ${D}outFile .obj\`
49734 outFile=\`basnam ${D}outFile .a\`
49737 outFile=\`basnam ${D}outFile .lib\`
49742 case ${D}outimpFile in
49744 outimpFile=\`basnam ${D}outimpFile .a\`
49747 outimpFile=\`basnam ${D}outimpFile .lib\`
49752 if [ -z ${D}outimpFile ]; then
49753 outimpFile=${D}outFile
49755 defFile="${D}{outFile}.def"
49756 arcFile="${D}{outimpFile}.a"
49757 arcFile2="${D}{outimpFile}.lib"
49759 #create ${D}dllFile as something matching 8.3 restrictions,
49760 if [ -z ${D}renameScript ] ; then
49761 dllFile="${D}outFile"
49763 dllFile=\`${D}renameScript ${D}outimpFile\`
49766 if [ ${D}do_backup -ne 0 ] ; then
49767 if [ -f ${D}arcFile ] ; then
49768 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49770 if [ -f ${D}arcFile2 ] ; then
49771 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49775 # Extract public symbols from all the object files.
49776 tmpdefFile=${D}{defFile}_%
49777 rm -f ${D}tmpdefFile
49778 for file in ${D}inputFiles ; do
49783 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49788 # Create the def file.
49790 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49791 dllFile="${D}{dllFile}.dll"
49792 if [ ! -z ${D}description ]; then
49793 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49795 echo "EXPORTS" >> ${D}defFile
49797 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49798 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49800 # Checks if the export is ok or not.
49801 for word in ${D}exclude_symbols; do
49802 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49803 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49807 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49808 sed "=" < ${D}tmpdefFile | \\
49812 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49814 ' > ${D}{tmpdefFile}%
49815 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49817 rm -f ${D}{tmpdefFile}%
49819 cat ${D}tmpdefFile >> ${D}defFile
49820 rm -f ${D}tmpdefFile
49822 # Do linking, create implib, and apply lxlite.
49824 for file in ${D}inputFiles ; do
49829 gccCmdl="${D}gccCmdl ${D}file"
49833 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49834 touch "${D}{outFile}.dll"
49836 doCommand "emximp -o ${D}arcFile ${D}defFile"
49837 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49839 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49842 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49844 doCommand "emxomf -s -l ${D}arcFile"
49854 powerpc
-apple-macos* | \
49855 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49865 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49866 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49867 { (exit 1); exit 1; }; }
49870 if test "x$PIC_FLAG" != "x" ; then
49871 PIC_FLAG
="$PIC_FLAG -DPIC"
49874 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49875 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49877 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49878 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49893 USE_SOTWOSYMLINKS
=0
49897 case "${BAKEFILE_HOST}" in
49898 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49899 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49900 if test "x$SUNCXX" = "xyes"; then
49903 SONAME_FLAG
="-Wl,-soname,"
49907 USE_SOTWOSYMLINKS
=1
49919 USE_SOTWOSYMLINKS
=1
49937 # Check whether --enable-dependency-tracking was given.
49938 if test "${enable_dependency_tracking+set}" = set; then
49939 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
49943 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49944 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49947 if test "x$bk_use_trackdeps" = "xno" ; then
49949 { echo "$as_me:$LINENO: result: disabled" >&5
49950 echo "${ECHO_T}disabled" >&6; }
49954 if test "x$GCC" = "xyes"; then
49956 case "${BAKEFILE_HOST}" in
49958 DEPSFLAG
="-no-cpp-precomp -MMD"
49964 { echo "$as_me:$LINENO: result: gcc" >&5
49965 echo "${ECHO_T}gcc" >&6; }
49966 elif test "x$MWCC" = "xyes"; then
49969 { echo "$as_me:$LINENO: result: mwcc" >&5
49970 echo "${ECHO_T}mwcc" >&6; }
49971 elif test "x$SUNCC" = "xyes"; then
49974 { echo "$as_me:$LINENO: result: Sun cc" >&5
49975 echo "${ECHO_T}Sun cc" >&6; }
49976 elif test "x$SGICC" = "xyes"; then
49979 { echo "$as_me:$LINENO: result: SGI cc" >&5
49980 echo "${ECHO_T}SGI cc" >&6; }
49981 elif test "x$HPCC" = "xyes"; then
49984 { echo "$as_me:$LINENO: result: HP cc" >&5
49985 echo "${ECHO_T}HP cc" >&6; }
49986 elif test "x$COMPAQCC" = "xyes"; then
49989 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49990 echo "${ECHO_T}Compaq cc" >&6; }
49993 { echo "$as_me:$LINENO: result: none" >&5
49994 echo "${ECHO_T}none" >&6; }
49997 if test $DEPS_TRACKING = 1 ; then
50003 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50004 # script. It is used to track C/C++ files dependencies in portable way.
50006 # Permission is given to use this file in any way.
50008 DEPSMODE=${DEPSMODE}
50009 DEPSFLAG="${DEPSFLAG}"
50012 if test ${D}DEPSMODE = gcc ; then
50013 ${D}* ${D}{DEPSFLAG}
50016 # determine location of created files:
50017 while test ${D}# -gt 0; do
50031 objfilebase=\`basename ${D}objfile\`
50032 builddir=\`dirname ${D}objfile\`
50033 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50034 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50035 depsdir=${D}builddir/${D}DEPSDIRBASE
50036 mkdir -p ${D}depsdir
50038 # if the compiler failed, we're done:
50039 if test ${D}{status} != 0 ; then
50044 # move created file to the location we want it in:
50045 if test -f ${D}depfile ; then
50046 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50049 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50050 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50051 if test ! -f ${D}depfile ; then
50052 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50053 depfile="${D}objfile.d"
50055 if test -f ${D}depfile ; then
50056 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50062 elif test ${D}DEPSMODE = mwcc ; then
50063 ${D}* || exit ${D}?
50064 # Run mwcc again with -MM and redirect into the dep file we want
50065 # NOTE: We can't use shift here because we need ${D}* to be valid
50067 for arg in ${D}* ; do
50068 if test "${D}prevarg" = "-o"; then
50082 objfilebase=\`basename ${D}objfile\`
50083 builddir=\`dirname ${D}objfile\`
50084 depsdir=${D}builddir/${D}DEPSDIRBASE
50085 mkdir -p ${D}depsdir
50087 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50090 elif test ${D}DEPSMODE = unixcc; then
50091 ${D}* || exit ${D}?
50092 # Run compiler again with deps flag and redirect into the dep file.
50093 # It doesn't work if the '-o FILE' option is used, but without it the
50094 # dependency file will contain the wrong name for the object. So it is
50095 # removed from the command line, and the dep file is fixed with sed.
50097 while test ${D}# -gt 0; do
50104 eval arg${D}#=\\${D}1
50105 cmd="${D}cmd \\${D}arg${D}#"
50111 objfilebase=\`basename ${D}objfile\`
50112 builddir=\`dirname ${D}objfile\`
50113 depsdir=${D}builddir/${D}DEPSDIRBASE
50114 mkdir -p ${D}depsdir
50116 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50126 BK_DEPS
="`pwd`/bk-deps"
50134 case ${BAKEFILE_HOST} in
50135 *-*-cygwin* | *-*-mingw32* )
50136 if test -n "$ac_tool_prefix"; then
50137 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50138 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50141 if test "${ac_cv_prog_WINDRES+set}" = set; then
50142 echo $ECHO_N "(cached) $ECHO_C" >&6
50144 if test -n "$WINDRES"; then
50145 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50148 for as_dir
in $PATH
50151 test -z "$as_dir" && as_dir
=.
50152 for ac_exec_ext
in '' $ac_executable_extensions; do
50153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50154 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50164 WINDRES
=$ac_cv_prog_WINDRES
50165 if test -n "$WINDRES"; then
50166 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50167 echo "${ECHO_T}$WINDRES" >&6; }
50169 { echo "$as_me:$LINENO: result: no" >&5
50170 echo "${ECHO_T}no" >&6; }
50175 if test -z "$ac_cv_prog_WINDRES"; then
50176 ac_ct_WINDRES
=$WINDRES
50177 # Extract the first word of "windres", so it can be a program name with args.
50178 set dummy windres
; ac_word
=$2
50179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50181 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50182 echo $ECHO_N "(cached) $ECHO_C" >&6
50184 if test -n "$ac_ct_WINDRES"; then
50185 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50188 for as_dir
in $PATH
50191 test -z "$as_dir" && as_dir
=.
50192 for ac_exec_ext
in '' $ac_executable_extensions; do
50193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50194 ac_cv_prog_ac_ct_WINDRES
="windres"
50195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50204 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50205 if test -n "$ac_ct_WINDRES"; then
50206 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50207 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50209 { echo "$as_me:$LINENO: result: no" >&5
50210 echo "${ECHO_T}no" >&6; }
50213 if test "x$ac_ct_WINDRES" = x
; then
50216 case $cross_compiling:$ac_tool_warned in
50218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50219 whose name does not start with the host triplet. If you think this
50220 configuration is useful to you, please write to autoconf@gnu.org." >&5
50221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50222 whose name does not start with the host triplet. If you think this
50223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50224 ac_tool_warned
=yes ;;
50226 WINDRES
=$ac_ct_WINDRES
50229 WINDRES
="$ac_cv_prog_WINDRES"
50234 *-*-darwin* | powerpc
-apple-macos* )
50235 # Extract the first word of "Rez", so it can be a program name with args.
50236 set dummy Rez
; ac_word
=$2
50237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50239 if test "${ac_cv_prog_REZ+set}" = set; then
50240 echo $ECHO_N "(cached) $ECHO_C" >&6
50242 if test -n "$REZ"; then
50243 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50246 for as_dir
in $PATH
50249 test -z "$as_dir" && as_dir
=.
50250 for ac_exec_ext
in '' $ac_executable_extensions; do
50251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50252 ac_cv_prog_REZ
="Rez"
50253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50260 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50263 REZ
=$ac_cv_prog_REZ
50264 if test -n "$REZ"; then
50265 { echo "$as_me:$LINENO: result: $REZ" >&5
50266 echo "${ECHO_T}$REZ" >&6; }
50268 { echo "$as_me:$LINENO: result: no" >&5
50269 echo "${ECHO_T}no" >&6; }
50273 # Extract the first word of "SetFile", so it can be a program name with args.
50274 set dummy SetFile
; ac_word
=$2
50275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50277 if test "${ac_cv_prog_SETFILE+set}" = set; then
50278 echo $ECHO_N "(cached) $ECHO_C" >&6
50280 if test -n "$SETFILE"; then
50281 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50284 for as_dir
in $PATH
50287 test -z "$as_dir" && as_dir
=.
50288 for ac_exec_ext
in '' $ac_executable_extensions; do
50289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50290 ac_cv_prog_SETFILE
="SetFile"
50291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50298 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50301 SETFILE
=$ac_cv_prog_SETFILE
50302 if test -n "$SETFILE"; then
50303 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50304 echo "${ECHO_T}$SETFILE" >&6; }
50306 { echo "$as_me:$LINENO: result: no" >&5
50307 echo "${ECHO_T}no" >&6; }
50322 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50325 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50329 # Check whether --enable-precomp-headers was given.
50330 if test "${enable_precomp_headers+set}" = set; then
50331 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50340 case ${BAKEFILE_HOST} in
50346 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50347 if test "x$GCC" = "xyes"; then
50348 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50349 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50350 cat >conftest.
$ac_ext <<_ACEOF
50353 cat confdefs.h
>>conftest.
$ac_ext
50354 cat >>conftest.
$ac_ext <<_ACEOF
50355 /* end confdefs.h. */
50361 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50362 There is no PCH support
50365 There is no PCH support
50367 #if (__GNUC__ == 3) && \
50368 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50369 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50370 ( defined(__INTEL_COMPILER) )
50371 There is no PCH support
50378 rm -f conftest.
$ac_objext
50379 if { (ac_try
="$ac_compile"
50380 case "(($ac_try" in
50381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50382 *) ac_try_echo=$ac_try;;
50384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50385 (eval "$ac_compile") 2>conftest.er1
50387 grep -v '^ *+' conftest.er1 >conftest.err
50389 cat conftest.err >&5
50390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50391 (exit $ac_status); } && {
50392 test -z "$ac_c_werror_flag" ||
50393 test ! -s conftest.err
50394 } && test -s conftest.$ac_objext; then
50396 { echo "$as_me:$LINENO: result: yes" >&5
50397 echo "${ECHO_T}yes" >&6; }
50401 echo "$as_me: failed program was:" >&5
50402 sed 's/^/| /' conftest.$ac_ext >&5
50405 if test "$INTELCXX8" = "yes"; then
50406 { echo "$as_me:$LINENO: result: yes" >&5
50407 echo "${ECHO_T}yes" >&6; }
50409 if test "$INTELCXX10" = "yes"; then
50410 ICC_PCH_CREATE_SWITCH="-pch-create"
50411 ICC_PCH_USE_SWITCH="-pch-use"
50413 ICC_PCH_CREATE_SWITCH="-create-pch"
50414 ICC_PCH_USE_SWITCH="-use-pch"
50417 { echo "$as_me:$LINENO: result: no" >&5
50418 echo "${ECHO_T}no" >&6; }
50423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50424 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50428 cat <<EOF >bk-make-pch
50431 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50432 # script. It is used to generated precompiled headers.
50434 # Permission is given to use this file in any way.
50441 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50446 while test ${D}{#} -gt 0; do
50450 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50451 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50452 headerfile="${D}{incdir}/${D}{header}"
50455 -use-pch|-use_pch|-pch-use )
50460 if test ${D}add_to_cmdline = 1 ; then
50461 compiler="${D}{compiler} ${D}{1}"
50466 if test "x${D}{headerfile}" = "x" ; then
50467 echo "error: can't find header ${D}{header} in include paths" >&2
50469 if test -f ${D}{outfile} ; then
50470 rm -f ${D}{outfile}
50472 mkdir -p \`dirname ${D}{outfile
}\
`
50474 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50475 mkdir -p ${D}{builddir}/.deps
50476 if test "x${GCC_PCH}" = "x1" ; then
50477 # can do this because gcc is >= 3.4:
50478 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50479 elif test "x${ICC_PCH}" = "x1" ; then
50480 filename=pch_gen-${D}${D}
50481 file=${D}{filename}.c
50482 dfile=${D}{filename}.d
50483 cat > ${D}file <<EOT
50484 #include "${D}header"
50486 # using -MF icc complains about differing command lines in creation/use
50487 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50488 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50489 rm -f ${D}file ${D}dfile ${D}{filename}.o
50495 chmod +x bk-make-pch
50496 BK_MAKE_PCH="`pwd`/bk-make-pch"
50507 COND_BUILD_DEBUG="#"
50508 if test "x$BUILD" = "xdebug" ; then
50509 COND_BUILD_DEBUG=""
50512 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50513 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50514 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50517 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50518 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50519 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50522 COND_BUILD_DEBUG_UNICODE_0="#"
50523 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50524 COND_BUILD_DEBUG_UNICODE_0=""
50527 COND_BUILD_DEBUG_UNICODE_1="#"
50528 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50529 COND_BUILD_DEBUG_UNICODE_1=""
50532 COND_BUILD_RELEASE="#"
50533 if test "x$BUILD" = "xrelease" ; then
50534 COND_BUILD_RELEASE=""
50537 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50538 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50539 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50542 COND_BUILD_RELEASE_UNICODE_0="#"
50543 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50544 COND_BUILD_RELEASE_UNICODE_0=""
50547 COND_BUILD_RELEASE_UNICODE_1="#"
50548 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50549 COND_BUILD_RELEASE_UNICODE_1=""
50552 COND_BUILD_debug="#"
50553 if test "x$BUILD" = "xdebug" ; then
50554 COND_BUILD_debug=""
50557 COND_BUILD_debug_DEBUG_FLAG_default="#"
50558 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50559 COND_BUILD_debug_DEBUG_FLAG_default=""
50562 COND_BUILD_debug_DEBUG_INFO_default="#"
50563 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50564 COND_BUILD_debug_DEBUG_INFO_default=""
50567 COND_BUILD_debug_UNICODE_0="#"
50568 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50569 COND_BUILD_debug_UNICODE_0=""
50572 COND_BUILD_debug_UNICODE_1="#"
50573 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50574 COND_BUILD_debug_UNICODE_1=""
50577 COND_BUILD_release="#"
50578 if test "x$BUILD" = "xrelease" ; then
50579 COND_BUILD_release=""
50582 COND_BUILD_release_DEBUG_INFO_default="#"
50583 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50584 COND_BUILD_release_DEBUG_INFO_default=""
50587 COND_BUILD_release_UNICODE_0="#"
50588 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50589 COND_BUILD_release_UNICODE_0=""
50592 COND_BUILD_release_UNICODE_1="#"
50593 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50594 COND_BUILD_release_UNICODE_1=""
50597 COND_DEBUG_FLAG_0="#"
50598 if test "x$DEBUG_FLAG" = "x0" ; then
50599 COND_DEBUG_FLAG_0=""
50602 COND_DEBUG_FLAG_1="#"
50603 if test "x$DEBUG_FLAG" = "x1" ; then
50604 COND_DEBUG_FLAG_1=""
50607 COND_DEBUG_INFO_0="#"
50608 if test "x$DEBUG_INFO" = "x0" ; then
50609 COND_DEBUG_INFO_0=""
50612 COND_DEBUG_INFO_1="#"
50613 if test "x$DEBUG_INFO" = "x1" ; then
50614 COND_DEBUG_INFO_1=""
50617 COND_DEPS_TRACKING_0="#"
50618 if test "x$DEPS_TRACKING" = "x0" ; then
50619 COND_DEPS_TRACKING_0=""
50622 COND_DEPS_TRACKING_1="#"
50623 if test "x$DEPS_TRACKING" = "x1" ; then
50624 COND_DEPS_TRACKING_1=""
50628 if test "x$GCC_PCH" = "x1" ; then
50633 if test "x$ICC_PCH" = "x1" ; then
50637 COND_MONOLITHIC_0="#"
50638 if test "x$MONOLITHIC" = "x0" ; then
50639 COND_MONOLITHIC_0=""
50642 COND_MONOLITHIC_0_SHARED_0="#"
50643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50644 COND_MONOLITHIC_0_SHARED_0=""
50647 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50649 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50672 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50674 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50677 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50679 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50682 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50684 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50687 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50689 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50694 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50697 COND_MONOLITHIC_0_SHARED_1="#"
50698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50699 COND_MONOLITHIC_0_SHARED_1=""
50702 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50704 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50727 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50729 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50732 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50734 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50737 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50739 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50742 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50744 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50749 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50752 COND_MONOLITHIC_0_USE_AUI_1="#"
50753 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50754 COND_MONOLITHIC_0_USE_AUI_1=""
50757 COND_MONOLITHIC_0_USE_GUI_1="#"
50758 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50759 COND_MONOLITHIC_0_USE_GUI_1=""
50762 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50763 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50764 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50767 COND_MONOLITHIC_0_USE_HTML_1="#"
50768 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50769 COND_MONOLITHIC_0_USE_HTML_1=""
50772 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50773 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50774 COND_MONOLITHIC_0_USE_MEDIA_1=""
50777 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50778 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50779 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50782 COND_MONOLITHIC_0_USE_QA_1="#"
50783 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50784 COND_MONOLITHIC_0_USE_QA_1=""
50787 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50788 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50789 COND_MONOLITHIC_0_USE_RIBBON_1=""
50792 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50793 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50794 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50797 COND_MONOLITHIC_0_USE_STC_1="#"
50798 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50799 COND_MONOLITHIC_0_USE_STC_1=""
50802 COND_MONOLITHIC_0_USE_XRC_1="#"
50803 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50804 COND_MONOLITHIC_0_USE_XRC_1=""
50807 COND_MONOLITHIC_1="#"
50808 if test "x$MONOLITHIC" = "x1" ; then
50809 COND_MONOLITHIC_1=""
50812 COND_MONOLITHIC_1_SHARED_0="#"
50813 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50814 COND_MONOLITHIC_1_SHARED_0=""
50817 COND_MONOLITHIC_1_SHARED_1="#"
50818 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50819 COND_MONOLITHIC_1_SHARED_1=""
50822 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50823 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50824 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50827 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50828 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50829 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50832 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50833 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50834 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50837 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50838 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50839 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50842 COND_PLATFORM_MACOSX_1="#"
50843 if test "x$PLATFORM_MACOSX" = "x1" ; then
50844 COND_PLATFORM_MACOSX_1=""
50847 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50849 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50852 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50854 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50857 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50859 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50862 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50864 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50869 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50874 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50877 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50879 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50882 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50884 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50889 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50892 COND_PLATFORM_MACOS_1="#"
50893 if test "x$PLATFORM_MACOS" = "x1" ; then
50894 COND_PLATFORM_MACOS_1=""
50897 COND_PLATFORM_MAC_0="#"
50898 if test "x$PLATFORM_MAC" = "x0" ; then
50899 COND_PLATFORM_MAC_0=""
50902 COND_PLATFORM_MAC_1="#"
50903 if test "x$PLATFORM_MAC" = "x1" ; then
50904 COND_PLATFORM_MAC_1=""
50907 COND_PLATFORM_MSDOS_0="#"
50908 if test "x$PLATFORM_MSDOS" = "x0" ; then
50909 COND_PLATFORM_MSDOS_0=""
50912 COND_PLATFORM_MSDOS_1="#"
50913 if test "x$PLATFORM_MSDOS" = "x1" ; then
50914 COND_PLATFORM_MSDOS_1=""
50917 COND_PLATFORM_OS2_1="#"
50918 if test "x$PLATFORM_OS2" = "x1" ; then
50919 COND_PLATFORM_OS2_1=""
50922 COND_PLATFORM_UNIX_0="#"
50923 if test "x$PLATFORM_UNIX" = "x0" ; then
50924 COND_PLATFORM_UNIX_0=""
50927 COND_PLATFORM_UNIX_1="#"
50928 if test "x$PLATFORM_UNIX" = "x1" ; then
50929 COND_PLATFORM_UNIX_1=""
50932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50933 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50934 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50938 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50939 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50942 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50943 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50944 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50947 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50949 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50952 COND_PLATFORM_WIN32_0="#"
50953 if test "x$PLATFORM_WIN32" = "x0" ; then
50954 COND_PLATFORM_WIN32_0=""
50957 COND_PLATFORM_WIN32_1="#"
50958 if test "x$PLATFORM_WIN32" = "x1" ; then
50959 COND_PLATFORM_WIN32_1=""
50962 COND_PLATFORM_WIN32_1_SHARED_0="#"
50963 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50964 COND_PLATFORM_WIN32_1_SHARED_0=""
50968 if test "x$SHARED" = "x0" ; then
50972 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50974 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50977 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50979 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50982 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50983 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50984 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50987 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50989 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50992 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50994 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50997 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50999 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51002 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51004 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51007 COND_SHARED_0_USE_STC_1="#"
51008 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51009 COND_SHARED_0_USE_STC_1=""
51012 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51013 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51014 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51017 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51018 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51019 COND_SHARED_0_wxUSE_REGEX_builtin=""
51022 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51023 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51024 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51028 if test "x$SHARED" = "x1" ; then
51032 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51033 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51034 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51038 if test "x$TOOLKIT" = "x" ; then
51042 COND_TOOLKIT_COCOA="#"
51043 if test "x$TOOLKIT" = "xCOCOA" ; then
51044 COND_TOOLKIT_COCOA=""
51047 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51048 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51049 COND_TOOLKIT_COCOA_USE_GUI_1=""
51052 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51053 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51054 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51057 COND_TOOLKIT_DFB="#"
51058 if test "x$TOOLKIT" = "xDFB" ; then
51059 COND_TOOLKIT_DFB=""
51062 COND_TOOLKIT_DFB_USE_GUI_1="#"
51063 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51064 COND_TOOLKIT_DFB_USE_GUI_1=""
51067 COND_TOOLKIT_GTK="#"
51068 if test "x$TOOLKIT" = "xGTK" ; then
51069 COND_TOOLKIT_GTK=""
51072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51073 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51092 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51094 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51097 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51099 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51102 COND_TOOLKIT_GTK_USE_GUI_1="#"
51103 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51104 COND_TOOLKIT_GTK_USE_GUI_1=""
51107 COND_TOOLKIT_MAC="#"
51108 if test "x$TOOLKIT" = "xMAC" ; then
51109 COND_TOOLKIT_MAC=""
51112 COND_TOOLKIT_MGL="#"
51113 if test "x$TOOLKIT" = "xMGL" ; then
51114 COND_TOOLKIT_MGL=""
51117 COND_TOOLKIT_MGL_USE_GUI_1="#"
51118 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51119 COND_TOOLKIT_MGL_USE_GUI_1=""
51122 COND_TOOLKIT_MOTIF="#"
51123 if test "x$TOOLKIT" = "xMOTIF" ; then
51124 COND_TOOLKIT_MOTIF=""
51127 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51128 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51129 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51133 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51137 COND_TOOLKIT_MSW="#"
51138 if test "x$TOOLKIT" = "xMSW" ; then
51139 COND_TOOLKIT_MSW=""
51142 COND_TOOLKIT_MSW_USE_GUI_1="#"
51143 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51144 COND_TOOLKIT_MSW_USE_GUI_1=""
51147 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51148 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51152 COND_TOOLKIT_MSW_WXUNIV_0="#"
51153 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51154 COND_TOOLKIT_MSW_WXUNIV_0=""
51157 COND_TOOLKIT_OSX_CARBON="#"
51158 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51159 COND_TOOLKIT_OSX_CARBON=""
51162 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51163 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51164 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51167 COND_TOOLKIT_OSX_COCOA="#"
51168 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51169 COND_TOOLKIT_OSX_COCOA=""
51172 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51173 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51174 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51177 COND_TOOLKIT_OSX_IPHONE="#"
51178 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51179 COND_TOOLKIT_OSX_IPHONE=""
51182 COND_TOOLKIT_PM="#"
51183 if test "x$TOOLKIT" = "xPM" ; then
51187 COND_TOOLKIT_PM_USE_GUI_1="#"
51188 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51189 COND_TOOLKIT_PM_USE_GUI_1=""
51192 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51193 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51194 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51197 COND_TOOLKIT_WINCE="#"
51198 if test "x$TOOLKIT" = "xWINCE" ; then
51199 COND_TOOLKIT_WINCE=""
51202 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51203 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51204 COND_TOOLKIT_WINCE_USE_GUI_1=""
51207 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51208 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51212 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51213 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51214 COND_TOOLKIT_WINCE_WXUNIV_0=""
51217 COND_TOOLKIT_X11="#"
51218 if test "x$TOOLKIT" = "xX11" ; then
51219 COND_TOOLKIT_X11=""
51222 COND_TOOLKIT_X11_USE_GUI_1="#"
51223 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51224 COND_TOOLKIT_X11_USE_GUI_1=""
51228 if test "x$UNICODE" = "x1" ; then
51232 COND_USE_CAIRO_1="#"
51233 if test "x$USE_CAIRO" = "x1" ; then
51234 COND_USE_CAIRO_1=""
51237 COND_USE_EXCEPTIONS_0="#"
51238 if test "x$USE_EXCEPTIONS" = "x0" ; then
51239 COND_USE_EXCEPTIONS_0=""
51242 COND_USE_EXCEPTIONS_1="#"
51243 if test "x$USE_EXCEPTIONS" = "x1" ; then
51244 COND_USE_EXCEPTIONS_1=""
51248 if test "x$USE_GUI" = "x0" ; then
51253 if test "x$USE_GUI" = "x1" ; then
51257 COND_USE_GUI_1_USE_OPENGL_1="#"
51258 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51259 COND_USE_GUI_1_USE_OPENGL_1=""
51262 COND_USE_GUI_1_WXUNIV_0="#"
51263 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51264 COND_USE_GUI_1_WXUNIV_0=""
51267 COND_USE_GUI_1_WXUNIV_1="#"
51268 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51269 COND_USE_GUI_1_WXUNIV_1=""
51272 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51274 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51277 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51278 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51279 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51282 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51283 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51284 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51287 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51288 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51289 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51292 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51293 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51294 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51297 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51298 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51299 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51302 COND_USE_OPENGL_1="#"
51303 if test "x$USE_OPENGL" = "x1" ; then
51304 COND_USE_OPENGL_1=""
51308 if test "x$USE_PCH" = "x1" ; then
51312 COND_USE_PLUGINS_0="#"
51313 if test "x$USE_PLUGINS" = "x0" ; then
51314 COND_USE_PLUGINS_0=""
51317 COND_USE_RTTI_0="#"
51318 if test "x$USE_RTTI" = "x0" ; then
51322 COND_USE_RTTI_1="#"
51323 if test "x$USE_RTTI" = "x1" ; then
51327 COND_USE_SOTWOSYMLINKS_1="#"
51328 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51329 COND_USE_SOTWOSYMLINKS_1=""
51332 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51333 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51334 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51337 COND_USE_SOVERLINUX_1="#"
51338 if test "x$USE_SOVERLINUX" = "x1" ; then
51339 COND_USE_SOVERLINUX_1=""
51342 COND_USE_SOVERSION_0="#"
51343 if test "x$USE_SOVERSION" = "x0" ; then
51344 COND_USE_SOVERSION_0=""
51347 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51348 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51349 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51352 COND_USE_SOVERSOLARIS_1="#"
51353 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51354 COND_USE_SOVERSOLARIS_1=""
51358 if test "x$USE_STC" = "x1" ; then
51362 COND_USE_THREADS_0="#"
51363 if test "x$USE_THREADS" = "x0" ; then
51364 COND_USE_THREADS_0=""
51367 COND_USE_THREADS_1="#"
51368 if test "x$USE_THREADS" = "x1" ; then
51369 COND_USE_THREADS_1=""
51373 if test "x$USE_XRC" = "x1" ; then
51377 COND_WINDOWS_IMPLIB_1="#"
51378 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51379 COND_WINDOWS_IMPLIB_1=""
51382 COND_WITH_PLUGIN_SDL_1="#"
51383 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51384 COND_WITH_PLUGIN_SDL_1=""
51388 if test "x$WXUNIV" = "x0" ; then
51393 if test "x$WXUNIV" = "x1" ; then
51397 COND_WXUSE_EXPAT_BUILTIN="#"
51398 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51399 COND_WXUSE_EXPAT_BUILTIN=""
51402 COND_WXUSE_LIBJPEG_BUILTIN="#"
51403 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51404 COND_WXUSE_LIBJPEG_BUILTIN=""
51407 COND_WXUSE_LIBPNG_BUILTIN="#"
51408 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51409 COND_WXUSE_LIBPNG_BUILTIN=""
51412 COND_WXUSE_LIBTIFF_BUILTIN="#"
51413 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51414 COND_WXUSE_LIBTIFF_BUILTIN=""
51417 COND_WXUSE_REGEX_BUILTIN="#"
51418 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51419 COND_WXUSE_REGEX_BUILTIN=""
51422 COND_WXUSE_ZLIB_BUILTIN="#"
51423 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51424 COND_WXUSE_ZLIB_BUILTIN=""
51427 COND_wxUSE_EXPAT_builtin="#"
51428 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51429 COND_wxUSE_EXPAT_builtin=""
51432 COND_wxUSE_LIBJPEG_builtin="#"
51433 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51434 COND_wxUSE_LIBJPEG_builtin=""
51437 COND_wxUSE_LIBPNG_builtin="#"
51438 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51439 COND_wxUSE_LIBPNG_builtin=""
51442 COND_wxUSE_LIBTIFF_builtin="#"
51443 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51444 COND_wxUSE_LIBTIFF_builtin=""
51447 COND_wxUSE_REGEX_builtin="#"
51448 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51449 COND_wxUSE_REGEX_builtin=""
51452 COND_wxUSE_ZLIB_builtin="#"
51453 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51454 COND_wxUSE_ZLIB_builtin=""
51459 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51460 { { 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
51461 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;}
51462 { (exit 1); exit 1; }; }
51465 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51466 { { 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
51467 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;}
51468 { (exit 1); exit 1; }; }
51475 ?:* ) # Drive letter, considered as absolute.
51478 INSTALL=`pwd`/${INSTALL} ;;
51481 if test "$wxUSE_GUI" = "yes"; then
51483 if test "$wxUSE_MSW" = 1 ; then
51484 if test "x$WINDRES" = "x"; then
51485 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51486 echo "$as_me: error: Required windres program not found" >&2;}
51487 { (exit 1); exit 1; }; }
51490 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51494 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51495 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51497 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51499 # Extract the first word of "DeRez", so it can be a program name with args.
51500 set dummy DeRez; ac_word=$2
51501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51503 if test "${ac_cv_prog_DEREZ+set}" = set; then
51504 echo $ECHO_N "(cached) $ECHO_C" >&6
51506 if test -n "$DEREZ"; then
51507 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51510 for as_dir in $PATH
51513 test -z "$as_dir" && as_dir=.
51514 for ac_exec_ext in '' $ac_executable_extensions; do
51515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51516 ac_cv_prog_DEREZ="DeRez"
51517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51524 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51527 DEREZ=$ac_cv_prog_DEREZ
51528 if test -n "$DEREZ"; then
51529 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51530 echo "${ECHO_T}$DEREZ" >&6; }
51532 { echo "$as_me:$LINENO: result: no" >&5
51533 echo "${ECHO_T}no" >&6; }
51538 MACSETFILE="\$(SETFILE)"
51540 if test "$wxUSE_OSX_CARBON" = 1; then
51541 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51543 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51545 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51546 RESCOMP="cat /dev/null \| $REZ"
51547 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51553 if test "$wxUSE_PM" = 1; then
51555 WXCONFIG_RESFLAGS="-ep"
51557 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51559 POSTLINK_COMMAND="@true"
51566 if test $GCC_PCH = 1
51568 if test "$wx_cv_gcc_pch_bug" = yes; then
51569 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51570 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51571 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51572 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51573 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51574 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51577 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51578 # the headers that benefit from precompilation are mostly C++ headers.
51579 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51580 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51581 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51585 if test "$wxUSE_MAC" = 1 ; then
51586 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51587 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51593 if test "$wxUSE_SHARED" = "yes"; then
51595 *-pc-os2_emx | *-pc-os2-emx )
51596 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51597 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51598 cp -p ${srcdir}/src/os2/dllnames.sh .
51599 cp -p ${srcdir}/src/os2/dllar.sh .
51603 if test "$wxUSE_OMF" = "yes"; then
51605 *-pc-os2_emx | *-pc-os2-emx )
51606 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51607 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51608 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51613 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51618 if test "$GCC" = yes; then
51619 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51620 LIBS=`echo $LIBS | sed 's/-mt//'`
51621 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51626 if test "x$SUNCXX" = xyes; then
51627 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51628 LIBS=`echo $LIBS | sed 's/-pthread//'`
51629 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51634 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51635 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51636 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51637 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51639 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51700 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51701 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51702 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51703 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51704 echo $ECHO_N "(cached) $ECHO_C" >&6
51706 cat >conftest.make <<\_ACEOF
51709 @echo '@@@%%%=$(MAKE)=@@@%%%'
51711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51712 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51713 *@@@%%%=?*=@@@%%%*)
51714 eval ac_cv_prog_make_${ac_make}_set=yes;;
51716 eval ac_cv_prog_make_${ac_make}_set=no;;
51718 rm -f conftest.make
51720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51721 { echo "$as_me:$LINENO: result: yes" >&5
51722 echo "${ECHO_T}yes" >&6; }
51725 { echo "$as_me:$LINENO: result: no" >&5
51726 echo "${ECHO_T}no" >&6; }
51727 SET_MAKE="MAKE=${MAKE-make}"
51732 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51735 if test "$USE_WIN32" = 1; then
51736 ac_config_commands="$ac_config_commands rcdefs.h"
51740 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51743 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51746 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51749 if test "$wx_cv_version_script" = "yes"; then
51750 ac_config_files="$ac_config_files version-script"
51753 ac_config_files="$ac_config_files Makefile"
51756 ac_config_commands="$ac_config_commands wx-config"
51760 if test "$wxWITH_SUBDIRS" != "no"; then
51761 if test "$wxUSE_GUI" = "yes"; then
51762 SUBDIRS="samples demos utils"
51764 SUBDIRS="samples utils"
51769 # Check whether --with-cppunit-prefix was given.
51770 if test "${with_cppunit_prefix+set}" = set; then
51771 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51773 cppunit_config_prefix=""
51777 # Check whether --with-cppunit-exec-prefix was given.
51778 if test "${with_cppunit_exec_prefix+set}" = set; then
51779 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51781 cppunit_config_exec_prefix=""
51785 if test x$cppunit_config_exec_prefix != x ; then
51786 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51787 if test x${CPPUNIT_CONFIG+set} != xset ; then
51788 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51791 if test x$cppunit_config_prefix != x ; then
51792 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51793 if test x${CPPUNIT_CONFIG+set} != xset ; then
51794 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51798 # Extract the first word of "cppunit-config", so it can be a program name with args.
51799 set dummy cppunit-config; ac_word=$2
51800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51802 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51803 echo $ECHO_N "(cached) $ECHO_C" >&6
51805 case $CPPUNIT_CONFIG in
51807 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51811 for as_dir in $PATH
51814 test -z "$as_dir" && as_dir=.
51815 for ac_exec_ext in '' $ac_executable_extensions; do
51816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51817 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51825 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51829 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51830 if test -n "$CPPUNIT_CONFIG"; then
51831 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51832 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51834 { echo "$as_me:$LINENO: result: no" >&5
51835 echo "${ECHO_T}no" >&6; }
51839 cppunit_version_min=1.8.0
51841 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51842 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51844 if test "$CPPUNIT_CONFIG" = "no" ; then
51845 { echo "$as_me:$LINENO: result: no" >&5
51846 echo "${ECHO_T}no" >&6; }
51849 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51850 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51851 cppunit_version=`$CPPUNIT_CONFIG --version`
51853 cppunit_major_version=`echo $cppunit_version | \
51854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51855 cppunit_minor_version=`echo $cppunit_version | \
51856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51857 cppunit_micro_version=`echo $cppunit_version | \
51858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51860 cppunit_major_min=`echo $cppunit_version_min | \
51861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51862 cppunit_minor_min=`echo $cppunit_version_min | \
51863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51864 cppunit_micro_min=`echo $cppunit_version_min | \
51865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51867 cppunit_version_proper=`expr \
51868 $cppunit_major_version \
> $cppunit_major_min \
| \
51869 $cppunit_major_version \
= $cppunit_major_min \
& \
51870 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51871 $cppunit_major_version \
= $cppunit_major_min \
& \
51872 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51873 $cppunit_micro_version \
>= $cppunit_micro_min `
51875 if test "$cppunit_version_proper" = "1" ; then
51876 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51877 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51879 { echo "$as_me:$LINENO: result: no" >&5
51880 echo "${ECHO_T}no" >&6; }
51885 if test "x$no_cppunit" = x ; then
51886 SUBDIRS="$SUBDIRS tests"
51897 for subdir in $SUBDIRS; do
51898 if test -d ${srcdir}/${subdir} ; then
51899 if test "$wxUSE_GUI" = "yes"; then
51900 if test ${subdir} = "samples"; then
51901 makefiles="samples/Makefile.in $makefiles"
51902 for sample in $SAMPLES_SUBDIRS; do
51903 if test -d $srcdir/samples/$sample; then
51904 makefiles="samples/$sample/Makefile.in $makefiles"
51908 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51909 eval "disabled=\$$disabled_var"
51910 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51911 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51914 if test ${subdir} = "samples"; then
51915 makefiles="samples/Makefile.in $makefiles"
51916 for sample in `echo $SAMPLES_SUBDIRS`; do
51917 if test -d $srcdir/samples/$sample; then
51918 makefiles="samples/$sample/Makefile.in $makefiles"
51921 elif test ${subdir} = "utils"; then
51923 for util in ifacecheck ; do
51924 if test -d $srcdir/utils/$util ; then
51925 makefiles="utils/$util/src/Makefile.in \
51930 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51934 for mkin in $makefiles ; do
51935 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51936 ac_config_files="$ac_config_files $mk"
51942 cat >confcache <<\_ACEOF
51943 # This file is a shell script that caches the results of configure
51944 # tests run on this system so they can be shared between configure
51945 # scripts and configure runs, see configure's option --config-cache.
51946 # It is not useful on other systems. If it contains results you don't
51947 # want to keep, you may remove or edit it.
51949 # config.status only pays attention to the cache file if you give it
51950 # the --recheck option to rerun configure.
51952 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51954 # following values.
51958 # The following way of writing the cache mishandles newlines in values,
51959 # but we know of no workaround that is simple, portable, and efficient.
51960 # So, we kill variables containing newlines.
51961 # Ultrix sh set writes to stderr and can't be redirected directly,
51962 # and sets the high bit in the cache file unless we assign to the vars.
51964 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51965 eval ac_val
=\$
$ac_var
51969 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51973 _
| IFS
| as_nl
) ;; #(
51974 *) $as_unset $ac_var ;;
51980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51981 *${as_nl}ac_space
=\
*)
51982 # `set' does not quote correctly, so add quotes (double-quote
51983 # substitution turns \\\\ into \\, and sed turns \\ into \).
51986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51989 # `set' quotes correctly as required by POSIX, so do not add quotes.
51990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52003 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52004 if test -w "$cache_file"; then
52005 test "x$cache_file" != "x/dev/null" &&
52006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52007 echo "$as_me: updating cache $cache_file" >&6;}
52008 cat confcache
>$cache_file
52010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52016 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52017 # Let make expand exec_prefix.
52018 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52020 DEFS
=-DHAVE_CONFIG_H
52024 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52025 # 1. Remove the extension, and $U if already installed.
52026 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52027 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52028 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52029 # will be set to the directory where LIBOBJS objects are built.
52030 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52031 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52033 LIBOBJS
=$ac_libobjs
52035 LTLIBOBJS
=$ac_ltlibobjs
52039 : ${CONFIG_STATUS=./config.status}
52040 ac_clean_files_save
=$ac_clean_files
52041 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52042 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52043 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52044 cat >$CONFIG_STATUS <<_ACEOF
52046 # Generated by $as_me.
52047 # Run this file to recreate the current configuration.
52048 # Compiler output produced by configure, useful for debugging
52049 # configure, is in config.log if it exists.
52052 ac_cs_recheck=false
52054 SHELL=\${CONFIG_SHELL-$SHELL}
52057 cat >>$CONFIG_STATUS <<\_ACEOF
52058 ## --------------------- ##
52059 ## M4sh Initialization. ##
52060 ## --------------------- ##
52062 # Be more Bourne compatible
52063 DUALCASE
=1; export DUALCASE
# for MKS sh
52064 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52067 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52068 # is contrary to our usage. Disable this feature.
52069 alias -g '${1+"$@"}'='"$@"'
52070 setopt NO_GLOB_SUBST
52072 case `(set -o) 2>/dev/null` in
52073 *posix
*) set -o posix
;;
52082 # Avoid depending upon Character Ranges.
52083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52086 as_cr_digits
='0123456789'
52087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52089 # The user is always right.
52090 if test "${PATH_SEPARATOR+set}" != set; then
52091 echo "#! /bin/sh" >conf$$.sh
52092 echo "exit 0" >>conf$$.sh
52094 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52102 # Support unset when possible.
52103 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52111 # We need space, tab and new line, in precisely that order. Quoting is
52112 # there to prevent editors from complaining about space-tab.
52113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52114 # splitting by setting IFS to empty value.)
52119 # Find who we are. Look in the path if we contain no directory separator.
52121 *[\\/]* ) as_myself
=$0 ;;
52122 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52123 for as_dir
in $PATH
52126 test -z "$as_dir" && as_dir
=.
52127 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52133 # We did not find ourselves, most probably we were run as `sh COMMAND'
52134 # in which case we are not to be found in the path.
52135 if test "x$as_myself" = x
; then
52138 if test ! -f "$as_myself"; then
52139 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52140 { (exit 1); exit 1; }
52143 # Work around bugs in pre-3.0 UWIN ksh.
52144 for as_var
in ENV MAIL MAILPATH
52145 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52155 LC_TELEPHONE LC_TIME
52157 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52158 eval $as_var=C
; export $as_var
52160 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52164 # Required to use basename.
52165 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52166 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52172 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52173 as_basename
=basename
52179 # Name of the executable.
52180 as_me
=`$as_basename -- "$0" ||
52181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52182 X"$0" : 'X\(//\)$' \| \
52183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52185 sed '/^.*\/\([^/][^/]*\)\/*$/{
52204 as_lineno_1
=$LINENO
52205 as_lineno_2
=$LINENO
52206 test "x$as_lineno_1" != "x$as_lineno_2" &&
52207 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52209 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52210 # uniformly replaced by the line number. The first 'sed' inserts a
52211 # line-number line after each line using $LINENO; the second 'sed'
52212 # does the real work. The second script uses 'N' to pair each
52213 # line-number line with the line containing $LINENO, and appends
52214 # trailing '-' during substitution so that $LINENO is not a special
52215 # case at line end.
52216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52217 # scripts with optimization help from Paolo Bonzini. Blame Lee
52218 # E. McMahon (1931-1989) for sed's syntax. :-)
52230 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52233 ' >$as_me.lineno
&&
52234 chmod +x
"$as_me.lineno" ||
52235 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52236 { (exit 1); exit 1; }; }
52238 # Don't try to exec as it changes $[0], causing all sort of problems
52239 # (the dirname of $[0] is not the place where we might find the
52240 # original and so on. Autoconf is especially sensitive to this).
52241 .
"./$as_me.lineno"
52242 # Exit status is that of the last command.
52247 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52253 ECHO_C
= ECHO_N
= ECHO_T
=
52254 case `echo -n x` in
52256 case `echo 'x\c'` in
52257 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52264 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52265 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52271 rm -f conf$$ conf$$.exe conf$$.
file
52272 if test -d conf$$.dir
; then
52273 rm -f conf$$.dir
/conf$$.
file
52279 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52281 # ... but there are two gotchas:
52282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52284 # In both cases, we have to default to `cp -p'.
52285 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52287 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52292 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52293 rmdir conf$$.dir
2>/dev
/null
52295 if mkdir -p .
2>/dev
/null
; then
52298 test -d .
/-p && rmdir .
/-p
52302 if test -x / >/dev
/null
2>&1; then
52303 as_test_x
='test -x'
52305 if ls -dL / >/dev
/null
2>&1; then
52312 if test -d "$1"; then
52318 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52319 ???[sx]*):;;*)false;;esac;fi
52323 as_executable_p
=$as_test_x
52325 # Sed expression to map a string onto a valid CPP name.
52326 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52328 # Sed expression to map a string onto a valid variable name.
52329 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52334 # Save the log message, to keep $[0] and so on meaningful, and to
52335 # report actual input values of CONFIG_FILES etc. instead of their
52336 # values after options handling.
52338 This file was extended by wxWidgets $as_me 2.9.1, which was
52339 generated by GNU Autoconf 2.61. Invocation command line was
52341 CONFIG_FILES = $CONFIG_FILES
52342 CONFIG_HEADERS = $CONFIG_HEADERS
52343 CONFIG_LINKS = $CONFIG_LINKS
52344 CONFIG_COMMANDS = $CONFIG_COMMANDS
52347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52352 cat >>$CONFIG_STATUS <<_ACEOF
52353 # Files that config.status was made for.
52354 config_files="$ac_config_files"
52355 config_headers="$ac_config_headers"
52356 config_commands="$ac_config_commands"
52360 cat >>$CONFIG_STATUS <<\_ACEOF
52362 \`$as_me' instantiates files from templates according to the
52363 current configuration.
52365 Usage: $0 [OPTIONS] [FILE]...
52367 -h, --help print this help, then exit
52368 -V, --version print version number and configuration settings, then exit
52369 -q, --quiet do not print progress messages
52370 -d, --debug don't remove temporary files
52371 --recheck update $as_me by reconfiguring in the same conditions
52372 --file=FILE[:TEMPLATE]
52373 instantiate the configuration file FILE
52374 --header=FILE[:TEMPLATE]
52375 instantiate the configuration header FILE
52377 Configuration files:
52380 Configuration headers:
52383 Configuration commands:
52386 Report bugs to <bug-autoconf@gnu.org>."
52389 cat >>$CONFIG_STATUS <<_ACEOF
52391 wxWidgets config.status 2.9.1
52392 configured by $0, generated by GNU Autoconf 2.61,
52393 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52395 Copyright (C) 2006 Free Software Foundation, Inc.
52396 This config.status script is free software; the Free Software Foundation
52397 gives unlimited permission to copy, distribute and modify it."
52404 cat >>$CONFIG_STATUS <<\_ACEOF
52405 # If no file are specified by the user, then we need to provide default
52406 # value. By we need to know if files were specified by the user.
52412 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52413 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52424 # Handling of the options.
52425 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52427 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52428 echo "$ac_cs_version"; exit ;;
52429 --debug | --debu | --deb | --de | --d | -d )
52431 --file | --fil | --fi | --f )
52433 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52434 ac_need_defaults
=false
;;
52435 --header | --heade | --head | --hea )
52437 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52438 ac_need_defaults
=false
;;
52440 # Conflict between --help and --header
52441 { echo "$as_me: error: ambiguous option: $1
52442 Try \`$0 --help' for more information." >&2
52443 { (exit 1); exit 1; }; };;
52444 --help | --hel | -h )
52445 echo "$ac_cs_usage"; exit ;;
52446 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52447 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52450 # This is an error.
52451 -*) { echo "$as_me: error: unrecognized option: $1
52452 Try \`$0 --help' for more information." >&2
52453 { (exit 1); exit 1; }; } ;;
52455 *) ac_config_targets
="$ac_config_targets $1"
52456 ac_need_defaults
=false
;;
52462 ac_configure_extra_args
=
52464 if $ac_cs_silent; then
52466 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52470 cat >>$CONFIG_STATUS <<_ACEOF
52471 if \$ac_cs_recheck; then
52472 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52473 CONFIG_SHELL=$SHELL
52474 export CONFIG_SHELL
52475 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52479 cat >>$CONFIG_STATUS <<\_ACEOF
52483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52484 ## Running $as_me. ##
52490 cat >>$CONFIG_STATUS <<_ACEOF
52496 infile="$srcdir/include/wx/msw/genrcdefs.h"
52497 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52500 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52501 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52502 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52508 cat >>$CONFIG_STATUS <<\_ACEOF
52510 # Handling of arguments.
52511 for ac_config_target
in $ac_config_targets
52513 case $ac_config_target in
52514 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52515 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52516 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52517 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52518 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52519 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52520 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52521 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52522 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52524 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52525 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52526 { (exit 1); exit 1; }; };;
52531 # If the user did not use the arguments to specify the items to instantiate,
52532 # then the envvar interface is used. Set only those that are not.
52533 # We use the long form for the default assignment because of an extremely
52534 # bizarre bug on SunOS 4.1.3.
52535 if $ac_need_defaults; then
52536 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52537 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52538 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52541 # Have a temporary directory for convenience. Make it in the build tree
52542 # simply because there is no reason against having it here, and in addition,
52543 # creating and moving files from /tmp can sometimes cause problems.
52544 # Hook for its removal unless debugging.
52545 # Note that there is a small window in which the directory will not be cleaned:
52546 # after its creation but before its name has been assigned to `$tmp'.
52550 trap 'exit_status=$?
52551 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52553 trap '{ (exit 1); exit 1; }' 1 2 13 15
52555 # Create a (secure) tmp directory for tmp files.
52558 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52559 test -n "$tmp" && test -d "$tmp"
52562 tmp
=.
/conf$$
-$RANDOM
52563 (umask 077 && mkdir "$tmp")
52566 echo "$me: cannot create a temporary directory in ." >&2
52567 { (exit 1); exit 1; }
52571 # Set up the sed scripts for CONFIG_FILES section.
52574 # No need to generate the scripts if there are no CONFIG_FILES.
52575 # This happens for instance when ./config.status config.h
52576 if test -n "$CONFIG_FILES"; then
52583 for ac_last_try
in false false false false false
:; do
52584 cat >conf$
$subs.
sed <<_ACEOF
52585 SHELL!$SHELL$ac_delim
52586 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52587 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52588 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52589 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52590 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52591 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52592 exec_prefix!$exec_prefix$ac_delim
52593 prefix!$prefix$ac_delim
52594 program_transform_name!$program_transform_name$ac_delim
52595 bindir!$bindir$ac_delim
52596 sbindir!$sbindir$ac_delim
52597 libexecdir!$libexecdir$ac_delim
52598 datarootdir!$datarootdir$ac_delim
52599 datadir!$datadir$ac_delim
52600 sysconfdir!$sysconfdir$ac_delim
52601 sharedstatedir!$sharedstatedir$ac_delim
52602 localstatedir!$localstatedir$ac_delim
52603 includedir!$includedir$ac_delim
52604 oldincludedir!$oldincludedir$ac_delim
52605 docdir!$docdir$ac_delim
52606 infodir!$infodir$ac_delim
52607 htmldir!$htmldir$ac_delim
52608 dvidir!$dvidir$ac_delim
52609 pdfdir!$pdfdir$ac_delim
52610 psdir!$psdir$ac_delim
52611 libdir!$libdir$ac_delim
52612 localedir!$localedir$ac_delim
52613 mandir!$mandir$ac_delim
52614 DEFS!$DEFS$ac_delim
52615 ECHO_C!$ECHO_C$ac_delim
52616 ECHO_N!$ECHO_N$ac_delim
52617 ECHO_T!$ECHO_T$ac_delim
52618 LIBS!$LIBS$ac_delim
52619 build_alias!$build_alias$ac_delim
52620 host_alias!$host_alias$ac_delim
52621 target_alias!$target_alias$ac_delim
52622 build!$build$ac_delim
52623 build_cpu!$build_cpu$ac_delim
52624 build_vendor!$build_vendor$ac_delim
52625 build_os!$build_os$ac_delim
52626 host!$host$ac_delim
52627 host_cpu!$host_cpu$ac_delim
52628 host_vendor!$host_vendor$ac_delim
52629 host_os!$host_os$ac_delim
52630 wx_top_builddir!$wx_top_builddir$ac_delim
52632 CFLAGS!$CFLAGS$ac_delim
52633 LDFLAGS!$LDFLAGS$ac_delim
52634 CPPFLAGS!$CPPFLAGS$ac_delim
52635 ac_ct_CC!$ac_ct_CC$ac_delim
52636 EXEEXT!$EXEEXT$ac_delim
52637 OBJEXT!$OBJEXT$ac_delim
52639 GREP!$GREP$ac_delim
52640 EGREP!$EGREP$ac_delim
52642 CXXFLAGS!$CXXFLAGS$ac_delim
52643 ac_ct_CXX!$ac_ct_CXX$ac_delim
52645 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52646 subdirs!$subdirs$ac_delim
52647 PKG_CONFIG!$PKG_CONFIG$ac_delim
52648 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52649 GTK_LIBS!$GTK_LIBS$ac_delim
52650 GTK_CONFIG!$GTK_CONFIG$ac_delim
52651 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52652 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52653 XMKMF!$XMKMF$ac_delim
52654 X_CFLAGS!$X_CFLAGS$ac_delim
52655 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52656 X_LIBS!$X_LIBS$ac_delim
52657 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52658 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52659 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52660 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52661 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52662 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52663 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52664 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52665 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52666 LIBICONV!$LIBICONV$ac_delim
52667 GXX_VERSION!$GXX_VERSION$ac_delim
52668 SDL_CONFIG!$SDL_CONFIG$ac_delim
52669 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52670 SDL_LIBS!$SDL_LIBS$ac_delim
52671 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52672 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52673 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52674 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52675 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52676 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52677 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52678 HILDON_LIBS!$HILDON_LIBS$ac_delim
52679 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52680 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52681 PYTHON!$PYTHON$ac_delim
52684 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52686 elif $ac_last_try; then
52687 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52688 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52689 { (exit 1); exit 1; }; }
52691 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52695 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52696 if test -n "$ac_eof"; then
52697 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52698 ac_eof
=`expr $ac_eof + 1`
52701 cat >>$CONFIG_STATUS <<_ACEOF
52702 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52703 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52706 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52707 s/^/s,@/; s/!/@,|#_!!_#|/
52710 s/'"$ac_delim"'$/,g/; t
52712 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52713 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52714 rm -f conf$
$subs.
sed
52715 cat >>$CONFIG_STATUS <<_ACEOF
52721 for ac_last_try
in false false false false false
:; do
52722 cat >conf$
$subs.
sed <<_ACEOF
52723 COND_PYTHON!$COND_PYTHON$ac_delim
52724 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52725 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52726 GST_CFLAGS!$GST_CFLAGS$ac_delim
52727 GST_LIBS!$GST_LIBS$ac_delim
52728 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52729 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52730 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52731 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52732 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52733 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52734 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52735 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52736 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52737 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52738 VENDOR!$VENDOR$ac_delim
52739 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52740 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52741 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52742 WXUNIV!$WXUNIV$ac_delim
52743 MONOLITHIC!$MONOLITHIC$ac_delim
52744 USE_PLUGINS!$USE_PLUGINS$ac_delim
52745 CXXWARNINGS!$CXXWARNINGS$ac_delim
52746 EXTRALIBS!$EXTRALIBS$ac_delim
52747 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52748 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52749 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52750 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52751 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52752 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52753 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52754 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52755 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52756 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52757 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52758 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52759 UNICODE!$UNICODE$ac_delim
52760 DEBUG_INFO!$DEBUG_INFO$ac_delim
52761 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52762 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52763 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52764 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52765 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52766 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52767 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52768 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52769 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52770 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52771 RANLIB!$RANLIB$ac_delim
52772 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52773 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52774 INSTALL_DATA!$INSTALL_DATA$ac_delim
52775 LN_S!$LN_S$ac_delim
52776 SET_MAKE!$SET_MAKE$ac_delim
52777 MAKE_SET!$MAKE_SET$ac_delim
52778 AROPTIONS!$AROPTIONS$ac_delim
52779 STRIP!$STRIP$ac_delim
52781 INSTALL_DIR!$INSTALL_DIR$ac_delim
52782 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52783 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52784 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52785 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52786 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52787 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52788 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52789 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52790 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52791 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52792 SO_SUFFIX!$SO_SUFFIX$ac_delim
52793 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52794 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52795 LIBPREFIX!$LIBPREFIX$ac_delim
52796 LIBEXT!$LIBEXT$ac_delim
52797 DLLPREFIX!$DLLPREFIX$ac_delim
52798 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52799 dlldir!$dlldir$ac_delim
52800 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52801 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52802 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52803 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52804 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52805 PIC_FLAG!$PIC_FLAG$ac_delim
52806 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52807 USE_SOVERSION!$USE_SOVERSION$ac_delim
52808 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52809 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52810 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52811 USE_MACVERSION!$USE_MACVERSION$ac_delim
52812 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52813 SONAME_FLAG!$SONAME_FLAG$ac_delim
52814 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52815 BK_DEPS!$BK_DEPS$ac_delim
52816 WINDRES!$WINDRES$ac_delim
52818 SETFILE!$SETFILE$ac_delim
52819 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52824 elif $ac_last_try; then
52825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52827 { (exit 1); exit 1; }; }
52829 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52833 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52834 if test -n "$ac_eof"; then
52835 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52836 ac_eof
=`expr $ac_eof + 1`
52839 cat >>$CONFIG_STATUS <<_ACEOF
52840 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52845 s/^/s,@/; s/!/@,|#_!!_#|/
52848 s/'"$ac_delim"'$/,g/; t
52850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52851 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52852 rm -f conf$
$subs.
sed
52853 cat >>$CONFIG_STATUS <<_ACEOF
52859 for ac_last_try
in false false false false false
:; do
52860 cat >conf$
$subs.
sed <<_ACEOF
52861 GCC_PCH!$GCC_PCH$ac_delim
52862 ICC_PCH!$ICC_PCH$ac_delim
52863 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52864 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52865 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52866 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52867 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52868 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52869 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52870 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52871 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52872 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52873 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52874 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52875 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52876 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52877 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52878 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52879 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52880 COND_BUILD_release!$COND_BUILD_release$ac_delim
52881 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52882 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52883 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52884 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52885 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52886 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52887 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52888 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52889 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52890 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52891 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52892 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52893 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52899 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52900 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52901 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52902 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52903 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52904 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52905 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52910 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52911 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52912 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52913 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52915 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52916 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52917 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52918 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52919 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52920 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52921 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52922 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52923 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52924 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52925 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52926 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52927 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52928 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52929 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52930 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52931 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52932 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52933 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52934 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52935 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52937 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
52938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52939 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
52940 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52941 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52942 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52943 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52944 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52945 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52946 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52947 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52948 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52949 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52950 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52951 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52952 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52953 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52954 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52955 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52956 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52957 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52962 elif $ac_last_try; then
52963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52965 { (exit 1); exit 1; }; }
52967 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52971 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52972 if test -n "$ac_eof"; then
52973 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52974 ac_eof
=`expr $ac_eof + 1`
52977 cat >>$CONFIG_STATUS <<_ACEOF
52978 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52983 s/^/s,@/; s/!/@,|#_!!_#|/
52986 s/'"$ac_delim"'$/,g/; t
52988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52989 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52990 rm -f conf$
$subs.
sed
52991 cat >>$CONFIG_STATUS <<_ACEOF
52997 for ac_last_try
in false false false false false
:; do
52998 cat >conf$
$subs.
sed <<_ACEOF
52999 COND_SHARED_0!$COND_SHARED_0$ac_delim
53000 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53001 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53002 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53003 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53004 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53005 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53006 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53007 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53008 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53009 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53010 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53011 COND_SHARED_1!$COND_SHARED_1$ac_delim
53012 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53013 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53014 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53015 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53016 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53017 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53018 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53019 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53020 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53022 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53024 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53025 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53026 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53027 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53028 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53029 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53030 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53031 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53032 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53033 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53034 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53035 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53036 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53037 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53038 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53039 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53040 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53041 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53042 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53043 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53044 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53045 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53046 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53047 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53048 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53049 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53050 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53051 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53052 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53053 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53054 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53055 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53056 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53057 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53058 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53059 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53060 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53061 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53062 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53063 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53064 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53065 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53066 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53067 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53068 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53069 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53070 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53071 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53072 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53073 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53074 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53075 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53076 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53077 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53078 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53079 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53080 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53081 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53082 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53083 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53084 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53085 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53086 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53087 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53088 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53089 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53090 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53091 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53092 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53093 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53094 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53095 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53100 elif $ac_last_try; then
53101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53103 { (exit 1); exit 1; }; }
53105 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53109 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53110 if test -n "$ac_eof"; then
53111 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53112 ac_eof
=`expr $ac_eof + 1`
53115 cat >>$CONFIG_STATUS <<_ACEOF
53116 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53121 s/^/s,@/; s/!/@,|#_!!_#|/
53124 s/'"$ac_delim"'$/,g/; t
53126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53127 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53128 rm -f conf$
$subs.
sed
53129 cat >>$CONFIG_STATUS <<_ACEOF
53135 for ac_last_try
in false false false false false
:; do
53136 cat >conf$
$subs.
sed <<_ACEOF
53137 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53138 DEREZ!$DEREZ$ac_delim
53139 SHARED!$SHARED$ac_delim
53140 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53141 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53142 USE_GUI!$USE_GUI$ac_delim
53143 AFMINSTALL!$AFMINSTALL$ac_delim
53144 WIN32INSTALL!$WIN32INSTALL$ac_delim
53145 TOOLKIT!$TOOLKIT$ac_delim
53146 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53147 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53148 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53149 cross_compiling!$cross_compiling$ac_delim
53150 WIDGET_SET!$WIDGET_SET$ac_delim
53151 WX_RELEASE!$WX_RELEASE$ac_delim
53152 WX_VERSION!$WX_VERSION$ac_delim
53153 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53154 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53155 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53156 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53157 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53158 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53159 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53160 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53161 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53162 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53163 GUIDIST!$GUIDIST$ac_delim
53164 DISTDIR!$DISTDIR$ac_delim
53165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53170 RESCOMP!$RESCOMP$ac_delim
53171 RESFLAGS!$RESFLAGS$ac_delim
53172 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53173 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53174 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53175 LIBWXMACRES!$LIBWXMACRES$ac_delim
53176 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53177 MACSETFILE!$MACSETFILE$ac_delim
53179 DLLTOOL!$DLLTOOL$ac_delim
53180 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53181 LIBOBJS!$LIBOBJS$ac_delim
53182 LTLIBOBJS!$LTLIBOBJS$ac_delim
53185 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53187 elif $ac_last_try; then
53188 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53189 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53190 { (exit 1); exit 1; }; }
53192 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53196 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53197 if test -n "$ac_eof"; then
53198 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53199 ac_eof
=`expr $ac_eof + 1`
53202 cat >>$CONFIG_STATUS <<_ACEOF
53203 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53207 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53208 s/^/s,@/; s/!/@,|#_!!_#|/
53211 s/'"$ac_delim"'$/,g/; t
53213 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53214 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53215 rm -f conf$
$subs.
sed
53216 cat >>$CONFIG_STATUS <<_ACEOF
53223 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53224 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53225 # trailing colons and then remove the whole line if VPATH becomes empty
53226 # (actually we leave an empty line to preserve line numbers).
53227 if test "x$srcdir" = x.
; then
53228 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53229 s/:*\$(srcdir):*/:/
53230 s/:*\${srcdir}:*/:/
53232 s/^\([^=]*=[ ]*\):*/\1/
53238 cat >>$CONFIG_STATUS <<\_ACEOF
53239 fi # test -n "$CONFIG_FILES"
53242 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53245 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53247 case $ac_mode$ac_tag in
53249 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53250 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53251 { (exit 1); exit 1; }; };;
53252 :[FH
]-) ac_tag
=-:-;;
53253 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53270 -) ac_f
="$tmp/stdin";;
53271 *) # Look for the file first in the build tree, then in the source tree
53272 # (if the path is not absolute). The absolute path cannot be DOS-style,
53273 # because $ac_f cannot contain `:'.
53277 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53279 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53280 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53281 { (exit 1); exit 1; }; };;
53283 ac_file_inputs
="$ac_file_inputs $ac_f"
53286 # Let's still pretend it is `configure' which instantiates (i.e., don't
53287 # use $as_me), people would be surprised to read:
53288 # /* config.h. Generated by config.status. */
53289 configure_input
="Generated from "`IFS=:
53290 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53291 if test x
"$ac_file" != x
-; then
53292 configure_input
="$ac_file. $configure_input"
53293 { echo "$as_me:$LINENO: creating $ac_file" >&5
53294 echo "$as_me: creating $ac_file" >&6;}
53298 *:-:* | *:-) cat >"$tmp/stdin";;
53303 ac_dir
=`$as_dirname -- "$ac_file" ||
53304 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53305 X"$ac_file" : 'X\(//\)[^/]' \| \
53306 X"$ac_file" : 'X\(//\)$' \| \
53307 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53313 /^X\(\/\/\)[^/].*/{
53328 -*) as_dir
=.
/$as_dir;;
53330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53334 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53335 *) as_qdir
=$as_dir;;
53337 as_dirs
="'$as_qdir' $as_dirs"
53338 as_dir
=`$as_dirname -- "$as_dir" ||
53339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53340 X"$as_dir" : 'X\(//\)[^/]' \| \
53341 X"$as_dir" : 'X\(//\)$' \| \
53342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53348 /^X\(\/\/\)[^/].*/{
53361 test -d "$as_dir" && break
53363 test -z "$as_dirs" || eval "mkdir $as_dirs"
53364 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53365 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53366 { (exit 1); exit 1; }; }; }
53370 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53372 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53373 # A ".." for each directory in $ac_dir_suffix.
53374 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53375 case $ac_top_builddir_sub in
53376 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53377 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53380 ac_abs_top_builddir
=$ac_pwd
53381 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53382 # for backward compatibility:
53383 ac_top_builddir
=$ac_top_build_prefix
53386 .
) # We are building in place.
53388 ac_top_srcdir
=$ac_top_builddir_sub
53389 ac_abs_top_srcdir
=$ac_pwd ;;
53390 [\\/]* | ?
:[\\/]* ) # Absolute name.
53391 ac_srcdir
=$srcdir$ac_dir_suffix;
53392 ac_top_srcdir
=$srcdir
53393 ac_abs_top_srcdir
=$srcdir ;;
53394 *) # Relative name.
53395 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53396 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53397 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53399 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53409 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53410 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53414 cat >>$CONFIG_STATUS <<\_ACEOF
53415 # If the template does not know about datarootdir, expand it.
53416 # FIXME: This hack should be removed a few years after 2.60.
53417 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53419 case `sed -n '/datarootdir/ {
53428 ' $ac_file_inputs` in
53429 *datarootdir
*) ac_datarootdir_seen
=yes;;
53430 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53431 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53432 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53434 cat >>$CONFIG_STATUS <<_ACEOF
53435 ac_datarootdir_hack='
53436 s&@datadir@&$datadir&g
53437 s&@docdir@&$docdir&g
53438 s&@infodir@&$infodir&g
53439 s&@localedir@&$localedir&g
53440 s&@mandir@&$mandir&g
53441 s&\\\${datarootdir}&$datarootdir&g' ;;
53445 # Neutralize VPATH when `$srcdir' = `.'.
53446 # Shell code in configure.ac might set extrasub.
53447 # FIXME: do we really want to maintain this feature?
53448 cat >>$CONFIG_STATUS <<_ACEOF
53452 cat >>$CONFIG_STATUS <<\_ACEOF
53454 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53455 s
&@configure_input@
&$configure_input&;t t
53456 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53457 s
&@srcdir@
&$ac_srcdir&;t t
53458 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53459 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53460 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53461 s
&@builddir@
&$ac_builddir&;t t
53462 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53463 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53464 s
&@INSTALL@
&$ac_INSTALL&;t t
53465 $ac_datarootdir_hack
53466 " $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
53468 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53469 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53470 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53471 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53472 which seems to be undefined. Please make sure it is defined." >&5
53473 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53474 which seems to be undefined. Please make sure it is defined." >&2;}
53478 -) cat "$tmp/out"; rm -f "$tmp/out";;
53479 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53488 # Transform confdefs.h into a sed script `conftest.defines', that
53489 # substitutes the proper values into config.h.in to produce config.h.
53490 rm -f conftest.defines conftest.
tail
53491 # First, append a space to every undef/define line, to ease matching.
53492 echo 's/$/ /' >conftest.defines
53493 # Then, protect against being on the right side of a sed subst, or in
53494 # an unquoted here document, in config.status. If some macros were
53495 # called several times there might be several #defines for the same
53496 # symbol, which is useless. But do not sort them, since the last
53497 # AC_DEFINE must be honored.
53498 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53499 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53500 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53501 # PARAMS is the parameter list in the macro definition--in most cases, it's
53502 # just an empty string.
53503 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53504 ac_dB
='\\)[ (].*,\\1define\\2'
53512 s/^[ ]*#[ ]*define[ ][ ]*//
53517 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53518 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53519 ' >>conftest.defines
53521 # Remove the space that was appended to ease matching.
53522 # Then replace #undef with comments. This is necessary, for
53523 # example, in the case of _POSIX_SOURCE, which is predefined and required
53524 # on some systems where configure will not decide to define it.
53525 # (The regexp can be short, since the line contains either #define or #undef.)
53527 s,^[ #]*u.*,/* & */,' >>conftest.defines
53529 # Break up conftest.defines:
53530 ac_max_sed_lines
=50
53532 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53533 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53534 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53536 ac_in
='$ac_file_inputs'
53537 ac_out
='"$tmp/out1"'
53538 ac_nxt
='"$tmp/out2"'
53542 # Write a here document:
53543 cat >>$CONFIG_STATUS <<_ACEOF
53544 # First, check the format of the line:
53545 cat >"\$tmp/defines.sed" <<\\CEOF
53546 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53547 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53551 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53553 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53554 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53555 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53556 grep . conftest.
tail >/dev
/null
|| break
53557 rm -f conftest.defines
53558 mv conftest.
tail conftest.defines
53560 rm -f conftest.defines conftest.
tail
53562 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53563 cat >>$CONFIG_STATUS <<\_ACEOF
53564 if test x
"$ac_file" != x
-; then
53565 echo "/* $configure_input */" >"$tmp/config.h"
53566 cat "$ac_result" >>"$tmp/config.h"
53567 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53568 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53569 echo "$as_me: $ac_file is unchanged" >&6;}
53572 mv "$tmp/config.h" $ac_file
53575 echo "/* $configure_input */"
53581 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53582 echo "$as_me: executing $ac_file commands" >&6;}
53587 case $ac_file$ac_mode in
53589 mkdir -p $outdir &&
53590 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53592 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53593 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53594 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53595 "wx-config":C
) rm -f wx
-config
53596 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53603 { (exit 0); exit 0; }
53605 chmod +x
$CONFIG_STATUS
53606 ac_clean_files
=$ac_clean_files_save
53609 # configure is writing to config.log, and then calls config.status.
53610 # config.status does its own redirection, appending to config.log.
53611 # Unfortunately, on DOS this fails, as config.log is still kept open
53612 # by configure, so config.status won't be able to write to it; its
53613 # output is simply discarded. So we exec the FD to /dev/null,
53614 # effectively closing config.log, so it can be properly (re)opened and
53615 # appended to by config.status. When coming back to configure, we
53616 # need to make the FD available again.
53617 if test "$no_create" != yes; then
53619 ac_config_status_args
=
53620 test "$silent" = yes &&
53621 ac_config_status_args
="$ac_config_status_args --quiet"
53623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53626 # would make configure fail if this is the last instruction.
53627 $ac_cs_success || { (exit 1); exit 1; }
53631 # CONFIG_SUBDIRS section.
53633 if test "$no_recursion" != yes; then
53635 # Remove --cache-file and --srcdir arguments so they do not pile up.
53636 ac_sub_configure_args
=
53638 eval "set x $ac_configure_args"
53642 if test -n "$ac_prev"; then
53647 -cache-file | --cache-file | --cache-fil | --cache-fi \
53648 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53649 ac_prev
=cache_file
;;
53650 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53651 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53654 --config-cache | -C)
53656 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53658 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53660 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53662 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53666 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53668 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53672 # Always prepend --prefix to ensure using the same prefix
53673 # in subdir configurations.
53674 ac_arg
="--prefix=$prefix"
53676 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53678 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53681 if test "$silent" = yes; then
53682 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53686 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53688 # Do not complain, so a configure script can configure whichever
53689 # parts of a large source tree are present.
53690 test -d "$srcdir/$ac_dir" || continue
53692 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53693 echo "$as_me:$LINENO: $ac_msg" >&5
53697 -*) as_dir
=.
/$as_dir;;
53699 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53703 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53704 *) as_qdir
=$as_dir;;
53706 as_dirs
="'$as_qdir' $as_dirs"
53707 as_dir
=`$as_dirname -- "$as_dir" ||
53708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53709 X"$as_dir" : 'X\(//\)[^/]' \| \
53710 X"$as_dir" : 'X\(//\)$' \| \
53711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53717 /^X\(\/\/\)[^/].*/{
53730 test -d "$as_dir" && break
53732 test -z "$as_dirs" || eval "mkdir $as_dirs"
53733 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53734 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53735 { (exit 1); exit 1; }; }; }
53739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53741 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53742 # A ".." for each directory in $ac_dir_suffix.
53743 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53744 case $ac_top_builddir_sub in
53745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53749 ac_abs_top_builddir
=$ac_pwd
53750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53751 # for backward compatibility:
53752 ac_top_builddir
=$ac_top_build_prefix
53755 .
) # We are building in place.
53757 ac_top_srcdir
=$ac_top_builddir_sub
53758 ac_abs_top_srcdir
=$ac_pwd ;;
53759 [\\/]* | ?
:[\\/]* ) # Absolute name.
53760 ac_srcdir
=$srcdir$ac_dir_suffix;
53761 ac_top_srcdir
=$srcdir
53762 ac_abs_top_srcdir
=$srcdir ;;
53763 *) # Relative name.
53764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53773 # Check for guested configure; otherwise get Cygnus style configure.
53774 if test -f "$ac_srcdir/configure.gnu"; then
53775 ac_sub_configure
=$ac_srcdir/configure.gnu
53776 elif test -f "$ac_srcdir/configure"; then
53777 ac_sub_configure
=$ac_srcdir/configure
53778 elif test -f "$ac_srcdir/configure.in"; then
53779 # This should be Cygnus configure.
53780 ac_sub_configure
=$ac_aux_dir/configure
53782 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53783 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53787 # The recursion is here.
53788 if test -n "$ac_sub_configure"; then
53789 # Make the cache file name correct relative to the subdirectory.
53790 case $cache_file in
53791 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53792 *) # Relative name.
53793 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53796 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53797 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53798 # The eval makes quoting arguments work.
53799 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53800 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53801 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53802 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53803 { (exit 1); exit 1; }; }
53812 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53814 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53815 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53816 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53817 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53818 if test "$wxUSE_UNICODE" = "yes"; then
53819 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53820 echo " (using UTF-8)"
53822 echo " (using wchar_t)"
53828 echo " What level of wxWidgets compatibility should be enabled?"
53829 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53830 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53832 echo " Which libraries should wxWidgets use?"
53833 echo " STL ${wxUSE_STL}"
53834 echo " jpeg ${wxUSE_LIBJPEG-none}"
53835 echo " png ${wxUSE_LIBPNG-none}"
53836 echo " regex ${wxUSE_REGEX}"
53837 echo " tiff ${wxUSE_LIBTIFF-none}"
53838 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53839 echo " xpm ${wxUSE_LIBXPM-none}"
53841 echo " zlib ${wxUSE_ZLIB}"
53842 echo " expat ${wxUSE_EXPAT}"
53843 echo " libmspack ${wxUSE_LIBMSPACK}"
53844 echo " sdl ${wxUSE_LIBSDL}"