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.2.
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.2'
579 PACKAGE_STRING
='wxWidgets 2.9.2'
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
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars
='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all
='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version
=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file
=/dev
/null
1111 program_transform_name
=s
,x
,x
,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir
='${exec_prefix}/bin'
1126 sbindir
='${exec_prefix}/sbin'
1127 libexecdir
='${exec_prefix}/libexec'
1128 datarootdir
='${prefix}/share'
1129 datadir
='${datarootdir}'
1130 sysconfdir
='${prefix}/etc'
1131 sharedstatedir
='${prefix}/com'
1132 localstatedir
='${prefix}/var'
1133 includedir
='${prefix}/include'
1134 oldincludedir
='/usr/include'
1135 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir
='${datarootdir}/info'
1141 libdir
='${exec_prefix}/lib'
1142 localedir
='${datarootdir}/locale'
1143 mandir
='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\
$ac_option
1157 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir
=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev
=build_alias
;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias
=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev
=cache_file
;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file
=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file
=config.cache
;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir
=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev
=datarootdir
;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir
=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=no
;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir
=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir
=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_
$ac_feature=\
$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev
=exec_prefix
;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix
=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help
=long
;;
1242 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1243 ac_init_help
=recursive
;;
1244 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1245 ac_init_help
=short
;;
1247 -host | --host | --hos | --ho)
1248 ac_prev
=host_alias
;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias
=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir
=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev
=includedir
;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir
=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir
=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir
=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev
=libexecdir
;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir
=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev
=localedir
;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir
=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev
=localstatedir
;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir
=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir
=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev
=oldincludedir
;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir
=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix
=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev
=program_prefix
;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix
=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev
=program_suffix
;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix
=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev
=program_transform_name
;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name
=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir
=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir
=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev
=sharedstatedir
;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir
=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir
=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev
=sysconfdir
;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir
=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev
=target_alias
;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias
=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version
=: ;;
1416 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_
$ac_package=\
$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_
$ac_package=no
;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev
=x_includes
;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes
=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev
=x_libraries
;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries
=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\
$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1490 [\\/$
]* | ?
:[\\/]* ) continue;;
1491 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target
=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x
; then
1506 if test "x$build_alias" = x
; then
1507 cross_compiling
=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1518 test "$silent" = yes && exec 6>/dev
/null
1521 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di
=`ls -di .` &&
1523 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted
=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir
=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted
=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are
in DIR
1658 --x-libraries=DIR X library files are
in DIR
1661 --build=BUILD configure
for building on BUILD
[guessed
]
1662 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short
| recursive
) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1674 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1675 --disable-gui don
't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1690 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets
2.6 compatibility
1710 --disable-compat28 disable wxWidgets
2.8 compatibility
1711 --disable-rpath disable use of rpath
for uninstalled builds
1712 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even
if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x
-locale support
(requires wxLocale
)
1717 --enable-config use wxConfig
(and derived
) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP
(requires wxProtocol
1720 --enable-http use wxHTTP
(requires wxProtocol
1721 --enable-fileproto use wxFileProto class
(requires wxProtocol
1722 --enable-sockets use socket
/network classes
1723 --enable-ipv6 enable IPv6 support
in wxSocket
1724 --enable-ole use OLE classes
(Win32 only
)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication
(wxSocket etc.
)
1727 --enable-baseevtloop use event loop
in console programs too
1728 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding
/decoding functions
1734 --enable-backtrace use wxStackWalker class
for getting backtraces
1735 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class
for DLL loading
1741 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1742 --enable-exceptions build exception
-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual
file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP
/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support
in wxProtocol
1773 --enable-protocol-ftp FTP support
in wxProtocol
1774 --enable-protocol-file FILE support
in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig
(Win32 only
)
1777 --enable-regkey use wxRegKey class
(Win32 only
)
1778 --enable-docview use document view architecture
1779 --enable-help use
help subsystem
1780 --enable-mshtmlhelp use MS HTML Help
(win32
)
1781 --enable-html use wxHTML sub
-library
1782 --enable-htmlhelp use wxHTML
-based help
1783 --enable-xrc use XRC resources sub
-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout
-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl
(Mac
)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context
2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag
'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-richmsgdlg use wxRichMessageDialog class
1847 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1848 --enable-sash use wxSashWindow class
1849 --enable-scrollbar use wxScrollBar class and scrollable windows
1850 --enable-searchctrl use wxSearchCtrl class
1851 --enable-slider use wxSlider class
1852 --enable-spinbtn use wxSpinButton class
1853 --enable-spinctrl use wxSpinCtrl class
1854 --enable-splitter use wxSplitterWindow class
1855 --enable-statbmp use wxStaticBitmap class
1856 --enable-statbox use wxStaticBox class
1857 --enable-statline use wxStaticLine class
1858 --enable-stattext use wxStaticText class
1859 --enable-statusbar use wxStatusBar class
1860 --enable-taskbaricon use wxTaskBarIcon class
1861 --enable-tbarnative use native wxToolBar class
1862 --enable-textctrl use wxTextCtrl class
1863 --enable-tipwindow use wxTipWindow class
1864 --enable-togglebtn use wxToggleButton class
1865 --enable-toolbar use wxToolBar class
1866 --enable-toolbook use wxToolbook class
1867 --enable-treebook use wxTreebook class
1868 --enable-treectrl use wxTreeCtrl class
1869 --enable-commondlg use all common dialogs
1870 --enable-aboutdlg use wxAboutBox
1871 --enable-choicedlg use wxChoiceDialog
1872 --enable-coldlg use wxColourDialog
1873 --enable-filedlg use wxFileDialog
1874 --enable-finddlg use wxFindReplaceDialog
1875 --enable-fontdlg use wxFontDialog
1876 --enable-dirdlg use wxDirDialog
1877 --enable-msgdlg use wxMessageDialog
1878 --enable-numberdlg use wxNumberEntryDialog
1879 --enable-splash use wxSplashScreen
1880 --enable-textdlg use wxTextDialog
1881 --enable-tipdlg use startup tips
1882 --enable-progressdlg use wxProgressDialog
1883 --enable-wizarddlg use wxWizard
1884 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1885 --enable-miniframe use wxMiniFrame class
1886 --enable-tooltips use wxToolTip class
1887 --enable-splines use spline drawing code
1888 --enable-mousewheel use mousewheel
1889 --enable-validators use wxValidator and derived classes
1890 --enable-busyinfo use wxBusyInfo
1891 --enable-joystick use wxJoystick
1892 --enable-metafiles use wxMetaFile
(Win32 only
)
1893 --enable-dragimage use wxDragImage
1894 --enable-accessibility enable accessibility support
1895 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1896 --enable-palette use wxPalette class
1897 --enable-image use wxImage class
1898 --enable-gif use gif images
(GIF
file format
)
1899 --enable-pcx use pcx images
(PCX
file format
)
1900 --enable-tga use tga images
(TGA
file format
)
1901 --enable-iff use iff images
(IFF
file format
)
1902 --enable-pnm use pnm images
(PNM
file format
)
1903 --enable-xpm use xpm images
(XPM
file format
)
1904 --enable-ico_cur use Windows ICO and CUR formats
1905 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1906 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1907 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1908 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1909 --enable-wxdib use wxDIB class
(Win32 only
)
1910 --enable-autoidman use automatic ids management
1911 --disable-largefile omit support
for large files
1912 --disable-gtktest do not try to compile and run a
test GTK
+ program
1913 --disable-gtktest Do not try to compile and run a
test GTK program
1914 --disable-sdltest Do not try to compile and run a
test SDL program
1915 --enable-omf use OMF object format
(OS
/2)
1916 --disable-dependency-tracking
1917 don
't use dependency tracking even if the compiler
1919 --disable-precomp-headers
1920 don't use precompiled headers even
if compiler can
1923 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1924 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1925 --without-subdirs don
't generate makefiles for samples/demos/...
1926 --with-flavour=NAME specify a name to identify this build
1927 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1928 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1929 --with-motif use Motif/Lesstif
1930 --with-osx_carbon use Mac OS X (Carbon)
1931 --with-osx_cocoa use Mac OS X (Cocoa)
1932 --with-osx_iphone use iPhone OS X port
1933 --with-osx use Mac OS X (default port, currently Carbon)
1934 --with-carbon same as --with-osx_carbon
1935 --with-cocoa same as --with-osx_cocoa
1936 --with-iphone same as --with-osx_iphone
1937 --with-mac same as --with-osx
1938 --with-old_cocoa use old, deprecated, Cocoa port
1939 --with-wine use Wine
1940 --with-msw use MS-Windows
1941 --with-pm use OS/2 Presentation Manager
1942 --with-mgl use SciTech MGL
1943 --with-directfb use DirectFB
1944 --with-microwin use MicroWindows
1946 --with-libpng use libpng (PNG image format)
1947 --with-libjpeg use libjpeg (JPEG file format)
1948 --with-libtiff use libtiff (TIFF file format)
1949 --with-libxpm use libxpm (XPM file format)
1950 --with-libiconv use libiconv (character conversion)
1951 --with-libmspack use libmspack (CHM help files loading)
1952 --without-gtkprint don't use GTK printing support
1953 --without-gnomeprint don
't use GNOME printing libraries
1954 --with-gnomevfs use GNOME VFS for associating MIME types
1955 --with-hildon use Hildon framework for Nokia 770/800/810
1956 --with-opengl use OpenGL (or Mesa)
1957 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1958 --with-sdl use SDL for audio on Unix
1959 --with-regex enable support for wxRegEx class
1960 --with-zlib use zlib for LZW compression
1961 --with-expat enable XML support using expat parser
1962 --with-macosx-sdk=PATH use an OS X SDK at PATH
1963 --with-macosx-version-min=VER build binaries which require at least this OS X version
1964 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1965 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1966 --with-x use the X Window System
1967 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1968 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1969 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1970 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1971 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1973 Some influential environment variables:
1974 CC C compiler command
1975 CFLAGS C compiler flags
1976 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1977 nonstandard directory <lib dir>
1978 LIBS libraries to pass to the linker, e.g. -l<library>
1979 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1980 you have headers in a nonstandard directory <include dir>
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 PKG_CONFIG path to pkg-config utility
1987 C compiler flags for DIRECTFB, overriding pkg-config
1989 linker flags for DIRECTFB, overriding pkg-config
1990 XMKMF Path to xmkmf, Makefile generator for X Window System
1992 C compiler flags for PANGOX, overriding pkg-config
1993 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1995 C compiler flags for PANGOFT2, overriding pkg-config
1997 linker flags for PANGOFT2, overriding pkg-config
1999 C compiler flags for PANGOXFT, overriding pkg-config
2001 linker flags for PANGOXFT, overriding pkg-config
2003 C compiler flags for GTKPRINT, overriding pkg-config
2005 linker flags for GTKPRINT, overriding pkg-config
2006 LIBGNOMEPRINTUI_CFLAGS
2007 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 LIBGNOMEPRINTUI_LIBS
2009 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2011 C compiler flags for GNOMEVFS, overriding pkg-config
2013 linker flags for GNOMEVFS, overriding pkg-config
2015 C compiler flags for HILDON, overriding pkg-config
2016 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2018 C compiler flags for HILDON2, overriding pkg-config
2020 linker flags for HILDON2, overriding pkg-config
2022 C compiler flags for CAIRO, overriding pkg-config
2023 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2024 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2025 GST_LIBS linker flags for GST, overriding pkg-config
2027 Use these variables to override the choices made by `configure' or to
help
2028 it to
find libraries and programs with nonstandard names
/locations.
2030 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2035 if test "$ac_init_help" = "recursive"; then
2036 # If there are subdirs, report their specific --help.
2037 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2038 test -d "$ac_dir" || continue
2042 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2044 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2045 # A ".." for each directory in $ac_dir_suffix.
2046 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2047 case $ac_top_builddir_sub in
2048 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2049 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2052 ac_abs_top_builddir
=$ac_pwd
2053 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2054 # for backward compatibility:
2055 ac_top_builddir
=$ac_top_build_prefix
2058 .
) # We are building in place.
2060 ac_top_srcdir
=$ac_top_builddir_sub
2061 ac_abs_top_srcdir
=$ac_pwd ;;
2062 [\\/]* | ?
:[\\/]* ) # Absolute name.
2063 ac_srcdir
=$srcdir$ac_dir_suffix;
2064 ac_top_srcdir
=$srcdir
2065 ac_abs_top_srcdir
=$srcdir ;;
2067 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2068 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2069 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2071 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2073 cd "$ac_dir" || { ac_status
=$?
; continue; }
2074 # Check for guested configure.
2075 if test -f "$ac_srcdir/configure.gnu"; then
2077 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2078 elif test -f "$ac_srcdir/configure"; then
2080 $SHELL "$ac_srcdir/configure" --help=recursive
2082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2084 cd "$ac_pwd" || { ac_status
=$?
; break; }
2088 test -n "$ac_init_help" && exit $ac_status
2089 if $ac_init_version; then
2091 wxWidgets configure
2.9.2
2092 generated by GNU Autoconf
2.61
2094 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2095 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2096 This configure
script is free software
; the Free Software Foundation
2097 gives unlimited permission to copy
, distribute and modify it.
2101 cat >config.log
<<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2105 It was created by wxWidgets $as_me 2.9.2, which was
2106 generated by GNU Autoconf 2.61. Invocation command line was
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 echo "PATH: $as_dir"
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_must_keep_next
=false
2172 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2174 | -silent | --silent | --silen | --sile | --sil)
2177 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2182 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2183 if test $ac_must_keep_next = true
; then
2184 ac_must_keep_next
=false
# Got value, back to normal.
2187 *=* | --config-cache | -C | -disable-* | --disable-* \
2188 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2189 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2190 | -with-* | --with-* | -without-* | --without-* | --x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 -* ) ac_must_keep_next
=true
;;
2198 ac_configure_args
="$ac_configure_args '$ac_arg'"
2203 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2204 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2217 ## ---------------- ##
2218 ## Cache variables. ##
2219 ## ---------------- ##
2222 # The following way of writing the cache mishandles newlines in values,
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2229 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2233 _ | IFS | as_nl) ;; #(
2234 *) $as_unset $ac_var ;;
2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240 *${as_nl}ac_space=\ *)
2242 "s/'\''/'\''\\\\'\'''\''/g;
2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2259 for ac_var in $ac_subst_vars
2261 eval ac_val=\$$ac_var
2263 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 echo "$ac_var='\''$ac_val'\''"
2269 if test -n "$ac_subst_files"; then
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2276 for ac_var
in $ac_subst_files
2278 eval ac_val
=\$
$ac_var
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 echo "$ac_var='\''$ac_val'\''"
2287 if test -s confdefs.h; then
2297 test "$ac_signal" != 0 &&
2298 echo "$as_me: caught signal $ac_signal"
2299 echo "$as_me: exit $exit_status"
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305 for ac_signal
in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest
* confdefs.h
2313 # Predefined preprocessor variables.
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 set x
"$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE
; then
2345 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2347 set x
"$ac_default_prefix/share/config.site" \
2348 "$ac_default_prefix/etc/config.site"
2353 if test -r "$ac_site_file"; then
2354 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2355 echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2361 if test -r "$cache_file"; then
2362 # Some versions of bash will fail to source /dev/null (special
2363 # files actually), so we avoid doing that.
2364 if test -f "$cache_file"; then
2365 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2366 echo "$as_me: loading cache $cache_file" >&6;}
2368 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2369 *) .
"./$cache_file";;
2373 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2374 echo "$as_me: creating cache $cache_file" >&6;}
2378 # Check that the precious variables saved in the cache have kept the same
2380 ac_cache_corrupted
=false
2381 for ac_var
in $ac_precious_vars; do
2382 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2383 eval ac_new_set
=\
$ac_env_${ac_var}_set
2384 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2385 eval ac_new_val
=\
$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted
=: ;;
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted
=: ;;
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2401 echo "$as_me: former value: $ac_old_val" >&2;}
2402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2403 echo "$as_me: current value: $ac_new_val" >&2;}
2404 ac_cache_corrupted
=:
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2410 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg
=$ac_var=$ac_new_val ;;
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2419 if $ac_cache_corrupted; then
2420 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2421 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2423 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2424 { (exit 1); exit 1; }; }
2452 ac_cpp
='$CPP $CPPFLAGS'
2453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2462 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2465 ac_install_sh
="$ac_aux_dir/install-sh -c"
2467 elif test -f "$ac_dir/install.sh"; then
2469 ac_install_sh
="$ac_aux_dir/install.sh -c"
2471 elif test -f "$ac_dir/shtool"; then
2473 ac_install_sh
="$ac_aux_dir/shtool install -c"
2477 if test -z "$ac_aux_dir"; then
2478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2479 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2480 { (exit 1); exit 1; }; }
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2492 # Make sure we can run config.sub.
2493 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2494 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2495 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2496 { (exit 1); exit 1; }; }
2498 { echo "$as_me:$LINENO: checking build system type" >&5
2499 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_build+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 ac_build_alias
=$build_alias
2504 test "x$ac_build_alias" = x
&&
2505 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2506 test "x$ac_build_alias" = x
&&
2507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509 { (exit 1); exit 1; }; }
2510 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517 echo "${ECHO_T}$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2521 echo "$as_me: error: invalid value of canonical build" >&2;}
2522 { (exit 1); exit 1; }; };;
2525 ac_save_IFS
=$IFS; IFS
='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2538 { echo "$as_me:$LINENO: checking host system type" >&5
2539 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2540 if test "${ac_cv_host+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test "x$host_alias" = x
; then
2544 ac_cv_host
=$ac_cv_build
2546 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2547 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2548 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2553 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2554 echo "${ECHO_T}$ac_cv_host" >&6; }
2557 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2558 echo "$as_me: error: invalid value of canonical host" >&2;}
2559 { (exit 1); exit 1; }; };;
2562 ac_save_IFS
=$IFS; IFS
='-'
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2572 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2576 if test "$cross_compiling" != "no"; then
2577 HOST_PREFIX
="${host_alias}-"
2578 HOST_SUFFIX
="-$host_alias"
2585 wx_major_version_number
=2
2586 wx_minor_version_number
=9
2588 wx_subrelease_number
=0
2590 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2591 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2592 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2594 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2597 wx_top_builddir
="`pwd`"
2610 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2616 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2624 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2626 DEFAULT_wxUSE_OLD_COCOA
=0
2628 DEFAULT_wxUSE_OSX_CARBON
=0
2629 DEFAULT_wxUSE_OSX_COCOA
=0
2630 DEFAULT_wxUSE_OSX_IPHONE
=0
2632 DEFAULT_wxUSE_MICROWIN
=0
2633 DEFAULT_wxUSE_MOTIF
=0
2639 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_GTK
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2644 DEFAULT_DEFAULT_wxUSE_MGL
=0
2645 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2646 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2647 DEFAULT_DEFAULT_wxUSE_MSW
=0
2648 DEFAULT_DEFAULT_wxUSE_PM
=0
2649 DEFAULT_DEFAULT_wxUSE_X11
=0
2650 DEFAULT_DEFAULT_wxUSE_DFB
=0
2654 DYLIB_RPATH_INSTALL
=
2655 DYLIB_RPATH_POSTLINK
=
2657 DEFAULT_STD_FLAG
=yes
2662 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2664 cat >>confdefs.h
<<\_ACEOF
2669 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2673 cat >>confdefs.h
<<\_ACEOF
2678 if test "x$TMP" = "xalpha"; then
2680 cat >>confdefs.h
<<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_GTK
=1
2687 *-*-gnu* | *-*-k*bsd
*-gnu )
2690 if test "x$TMP" = "xalpha"; then
2692 cat >>confdefs.h
<<\_ACEOF
2697 DEFAULT_DEFAULT_wxUSE_GTK
=1
2699 *-*-irix5* | *-*-irix6* )
2702 cat >>confdefs.h
<<\_ACEOF
2706 cat >>confdefs.h
<<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_X11
=1
2724 cat >>confdefs.h
<<\_ACEOF
2728 cat >>confdefs.h
<<\_ACEOF
2729 #define __SOLARIS__ 1
2732 cat >>confdefs.h
<<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2743 cat >>confdefs.h
<<\_ACEOF
2747 cat >>confdefs.h
<<\_ACEOF
2751 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2760 cat >>confdefs.h
<<\_ACEOF
2761 #define __FREEBSD__ 1
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_GTK
=1
2770 *-*-openbsd*|*-*-mirbsd*)
2773 cat >>confdefs.h
<<\_ACEOF
2774 #define __OPENBSD__ 1
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_GTK
=1
2786 cat >>confdefs.h
<<\_ACEOF
2787 #define __NETBSD__ 1
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_GTK
=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2797 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2802 cat >>confdefs.h
<<\_ACEOF
2806 cat >>confdefs.h
<<\_ACEOF
2810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2816 cat >>confdefs.h
<<\_ACEOF
2820 cat >>confdefs.h
<<\_ACEOF
2824 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2829 cat >>confdefs.h
<<\_ACEOF
2833 cat >>confdefs.h
<<\_ACEOF
2837 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2843 cat >>confdefs.h
<<\_ACEOF
2847 cat >>confdefs.h
<<\_ACEOF
2851 cat >>confdefs.h
<<\_ACEOF
2855 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2862 cat >>confdefs.h
<<\_ACEOF
2863 #define __UNIXWARE__ 1
2868 *-*-cygwin* | *-*-mingw32* )
2870 DEFAULT_DEFAULT_wxUSE_MSW
=1
2876 cat >>confdefs.h
<<\_ACEOF
2881 DEFAULT_DEFAULT_wxUSE_MGL
=1
2884 *-pc-os2_emx | *-pc-os2-emx )
2885 cat >>confdefs.h
<<\_ACEOF
2890 cat >>confdefs.h
<<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_PM
=1
2897 LDFLAGS
="$LDFLAGS -Zcrtdll"
2898 ac_executable_extensions
=".exe"
2899 export ac_executable_extensions
2903 for ac_dir
in $PATH; do
2905 if test -z "$ac_TEMP_PATH"; then
2906 ac_TEMP_PATH
="$ac_dir"
2908 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2911 export PATH
="$ac_TEMP_PATH"
2919 cat >>confdefs.h
<<\_ACEOF
2923 cat >>confdefs.h
<<\_ACEOF
2924 #define __DARWIN__ 1
2927 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2933 cat >>confdefs.h
<<\_ACEOF
2937 cat >>confdefs.h
<<\_ACEOF
2938 #define __DARWIN__ 1
2941 cat >>confdefs.h
<<\_ACEOF
2942 #define TARGET_CARBON 1
2945 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2950 cat >>confdefs.h
<<\_ACEOF
2957 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2958 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2959 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2960 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2962 DEFAULT_DEFAULT_wxUSE_X11
=1
2963 DEFAULT_wxUSE_SHARED
=no
2968 DEFAULT_wxUSE_ALL_FEATURES
=yes
2970 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2973 DEFAULT_wxUSE_DMALLOC
=no
2974 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2975 DEFAULT_wxUSE_LIBHILDON
=no
2976 DEFAULT_wxUSE_LIBHILDON2
=no
2977 DEFAULT_wxUSE_LIBMSPACK
=no
2978 DEFAULT_wxUSE_LIBSDL
=no
2980 DEFAULT_wxUSE_ACCESSIBILITY
=no
2981 DEFAULT_wxUSE_IPV6
=no
2982 DEFAULT_wxUSE_GSTREAMER8
=no
2983 DEFAULT_wxUSE_UIACTIONSIMULATOR
=no
2985 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2986 DEFAULT_wxUSE_OPENGL
=auto
2987 DEFAULT_wxUSE_MEDIACTRL
=auto
2988 DEFAULT_wxUSE_COMPILER_TLS
=auto
2990 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2992 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2994 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2996 DEFAULT_wxUSE_GTK2
=yes
2998 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3004 enablestring
=disable
3006 if test -z "$defaultval"; then
3007 if test x
"$enablestring" = xdisable
; then
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3016 # Check whether --enable-gui was given.
3017 if test "${enable_gui+set}" = set; then
3018 enableval
=$enable_gui;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_gui
='wxUSE_GUI=yes'
3022 wx_cv_use_gui
='wxUSE_GUI=no'
3027 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3032 eval "$wx_cv_use_gui"
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_GUI = no; then
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3060 # Check whether --enable-monolithic was given.
3061 if test "${enable_monolithic+set}" = set; then
3062 enableval=$enable_monolithic;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3066 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3071 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3076 eval "$wx_cv_use_monolithic"
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_MONOLITHIC = no; then
3085 result=$wxUSE_MONOLITHIC
3088 { echo "$as_me:$LINENO: result
: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3094 if test -z "$defaultval"; then
3095 if test x"$enablestring" = xdisable; then
3102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3103 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3104 # Check whether --enable-plugins was given.
3105 if test "${enable_plugins+set}" = set; then
3106 enableval=$enable_plugins;
3107 if test "$enableval" = yes; then
3108 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3110 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3115 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120 eval "$wx_cv_use_plugins"
3122 if test x
"$enablestring" = xdisable
; then
3123 if test $wxUSE_PLUGINS = no
; then
3129 result
=$wxUSE_PLUGINS
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3137 defaultval
=$wxUSE_ALL_FEATURES
3138 if test -z "$defaultval"; then
3139 if test x
"$withstring" = xwithout
; then
3145 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3146 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3148 # Check whether --with-subdirs was given.
3149 if test "${with_subdirs+set}" = set; then
3150 withval
=$with_subdirs;
3151 if test "$withval" = yes; then
3152 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3154 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3159 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3164 eval "$wx_cv_use_subdirs"
3166 if test x"$withstring" = xwithout; then
3167 if test $wxWITH_SUBDIRS = yes; then
3173 result=$wxWITH_SUBDIRS
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3180 # Check whether --with-flavour was given.
3181 if test "${with_flavour+set}" = set; then
3182 withval=$with_flavour; WX_FLAVOUR="$withval"
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3197 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3198 # Check whether --enable-official_build was given.
3199 if test "${enable_official_build+set}" = set; then
3200 enableval=$enable_official_build;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3214 eval "$wx_cv_use_official_build"
3216 if test x"$enablestring" = xdisable; then
3217 if test $wxUSE_OFFICIAL_BUILD = no; then
3223 result=$wxUSE_OFFICIAL_BUILD
3226 { echo "$as_me:$LINENO: result
: $result" >&5
3227 echo "${ECHO_T}$result" >&6; }
3229 # Check whether --enable-vendor was given.
3230 if test "${enable_vendor+set}" = set; then
3231 enableval=$enable_vendor; VENDOR="$enableval"
3234 if test "x
$VENDOR" = "x
"; then
3239 enablestring=disable
3241 if test -z "$defaultval"; then
3242 if test x"$enablestring" = xdisable; then
3249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3250 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3251 # Check whether --enable-all-features was given.
3252 if test "${enable_all_features+set}" = set; then
3253 enableval=$enable_all_features;
3254 if test "$enableval" = yes; then
3255 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3257 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3267 eval "$wx_cv_use_all_features"
3269 if test x
"$enablestring" = xdisable
; then
3270 if test $wxUSE_ALL_FEATURES = no
; then
3276 result
=$wxUSE_ALL_FEATURES
3279 { echo "$as_me:$LINENO: result: $result" >&5
3280 echo "${ECHO_T}$result" >&6; }
3283 if test "$wxUSE_ALL_FEATURES" = "no"; then
3284 DEFAULT_wxUSE_MEDIACTRL
=no
3288 if test "$wxUSE_GUI" = "yes"; then
3293 if test -z "$defaultval"; then
3294 if test x
"$enablestring" = xdisable
; then
3301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3302 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3303 # Check whether --enable-universal was given.
3304 if test "${enable_universal+set}" = set; then
3305 enableval
=$enable_universal;
3306 if test "$enableval" = yes; then
3307 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3309 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3314 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3319 eval "$wx_cv_use_universal"
3321 if test x"$enablestring" = xdisable; then
3322 if test $wxUSE_UNIVERSAL = no; then
3328 result=$wxUSE_UNIVERSAL
3331 { echo "$as_me:$LINENO: result: $result" >&5
3332 echo "${ECHO_T}$result" >&6; }
3334 if test "$wxUSE_UNIVERSAL" = "yes"; then
3336 # Check whether --with-themes was given.
3337 if test "${with_themes+set}" = set; then
3338 withval=$with_themes; wxUNIV_THEMES="$withval"
3344 # Check whether --with-gtk was given.
3345 if test "${with_gtk+set}" = set; then
3346 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-motif was given.
3351 if test "${with_motif+set}" = set; then
3352 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-osx_carbon was given.
3357 if test "${with_osx_carbon+set}" = set; then
3358 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-osx_cocoa was given.
3363 if test "${with_osx_cocoa+set}" = set; then
3364 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-osx_iphone was given.
3369 if test "${with_osx_iphone+set}" = set; then
3370 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-osx was given.
3375 if test "${with_osx+set}" = set; then
3376 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-carbon was given.
3381 if test "${with_carbon+set}" = set; then
3382 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-cocoa was given.
3387 if test "${with_cocoa+set}" = set; then
3388 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-iphone was given.
3393 if test "${with_iphone+set}" = set; then
3394 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-mac was given.
3399 if test "${with_mac+set}" = set; then
3400 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-old_cocoa was given.
3405 if test "${with_old_cocoa+set}" = set; then
3406 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-wine was given.
3411 if test "${with_wine+set}" = set; then
3412 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3416 # Check whether --with-msw was given.
3417 if test "${with_msw+set}" = set; then
3418 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3422 # Check whether --with-pm was given.
3423 if test "${with_pm+set}" = set; then
3424 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-mgl was given.
3429 if test "${with_mgl+set}" = set; then
3430 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-directfb was given.
3435 if test "${with_directfb+set}" = set; then
3436 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3440 # Check whether --with-microwin was given.
3441 if test "${with_microwin+set}" = set; then
3442 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3446 # Check whether --with-x11 was given.
3447 if test "${with_x11+set}" = set; then
3448 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3464 # Check whether --enable-nanox was given.
3465 if test "${enable_nanox+set}" = set; then
3466 enableval=$enable_nanox;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3470 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3475 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3480 eval "$wx_cv_use_nanox"
3482 if test x"$enablestring" = xdisable; then
3483 if test $wxUSE_NANOX = no; then
3492 { echo "$as_me:$LINENO: result
: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3496 # Check whether --enable-gtk2 was given.
3497 if test "${enable_gtk2+set}" = set; then
3498 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3504 if test -z "$defaultval"; then
3505 if test x"$enablestring" = xdisable; then
3512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3513 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3514 # Check whether --enable-gpe was given.
3515 if test "${enable_gpe+set}" = set; then
3516 enableval=$enable_gpe;
3517 if test "$enableval" = yes; then
3518 wx_cv_use_gpe='wxUSE_GPE=yes'
3520 wx_cv_use_gpe='wxUSE_GPE=no'
3525 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3530 eval "$wx_cv_use_gpe"
3532 if test x
"$enablestring" = xdisable
; then
3533 if test $wxUSE_GPE = no
; then
3542 { echo "$as_me:$LINENO: result: $result" >&5
3543 echo "${ECHO_T}$result" >&6; }
3547 { echo "$as_me:$LINENO: checking for toolkit" >&5
3548 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3552 # In Wine, we need to default to MSW, not GTK or MOTIF
3553 if test "$wxUSE_WINE" = "yes"; then
3554 DEFAULT_DEFAULT_wxUSE_GTK
=0
3555 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3556 DEFAULT_DEFAULT_wxUSE_MSW
=1
3563 if test "$wxUSE_GUI" = "yes"; then
3565 if test "$USE_BEOS" = 1; then
3566 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3567 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3568 { (exit 1); exit 1; }; }
3571 if test "$TOOLKIT_GIVEN" = 1; then
3572 for toolkit
in $ALL_TOOLKITS; do
3574 eval "value=\$${var}"
3575 if test "x$value" = "xno"; then
3577 elif test "x$value" != "x"; then
3581 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3582 eval "wx${toolkit}_VERSION=$value"
3586 for toolkit
in $ALL_TOOLKITS; do
3587 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3588 eval "wxUSE_$toolkit=\$${var}"
3592 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3593 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3594 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3597 *-pc-os2_emx | *-pc-os2-emx )
3598 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3601 case "$NUM_TOOLKITS" in
3605 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3606 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3607 { (exit 1); exit 1; }; }
3610 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3611 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3612 { (exit 1); exit 1; }; }
3615 # to be removed when --disable-gtk2 isn't needed
3616 if test "x$wxUSE_GTK2" = "xyes"; then
3619 elif test "x$wxUSE_GTK2" = "xno"; then
3624 for toolkit
in $ALL_TOOLKITS; do
3626 eval "value=\$${var}"
3627 if test "$value" = 1; then
3628 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3629 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3630 echo "${ECHO_T}$toolkit_echo" >&6; }
3634 if test "x$host_alias" != "x"; then
3635 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3636 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3638 { echo "$as_me:$LINENO: result: base only" >&5
3639 echo "${ECHO_T}base only" >&6; }
3644 if test "$wxUSE_OSX_CARBON" = 1 \
3645 -o "$wxUSE_OSX_COCOA" = 1 \
3646 -o "$wxUSE_OSX_IPHONE" = 1; then
3652 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3653 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3655 # Check whether --with-libpng was given.
3656 if test "${with_libpng+set}" = set; then
3657 withval
=$with_libpng;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3660 elif test "$withval" = no
; then
3661 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3662 elif test "$withval" = sys
; then
3663 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3674 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3679 eval "$wx_cv_use_libpng"
3681 if test "$wxUSE_LIBPNG" = yes; then
3682 { echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6; }
3684 elif test "$wxUSE_LIBPNG" = no; then
3685 { echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6; }
3687 elif test "$wxUSE_LIBPNG" = sys; then
3688 { echo "$as_me:$LINENO: result: system version" >&5
3689 echo "${ECHO_T}system version" >&6; }
3690 elif test "$wxUSE_LIBPNG" = builtin; then
3691 { echo "$as_me:$LINENO: result: builtin version" >&5
3692 echo "${ECHO_T}builtin version" >&6; }
3694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3695 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3696 { (exit 1); exit 1; }; }
3700 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3701 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3703 # Check whether --with-libjpeg was given.
3704 if test "${with_libjpeg+set}" = set; then
3705 withval=$with_libjpeg;
3706 if test "$withval" = yes; then
3707 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3708 elif test "$withval" = no; then
3709 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3710 elif test "$withval" = sys; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3712 elif test "$withval" = builtin; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3716 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3717 { (exit 1); exit 1; }; }
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3727 eval "$wx_cv_use_libjpeg"
3729 if test "$wxUSE_LIBJPEG" = yes; then
3730 { echo "$as_me:$LINENO: result
: yes" >&5
3731 echo "${ECHO_T}yes" >&6; }
3732 elif test "$wxUSE_LIBJPEG" = no; then
3733 { echo "$as_me:$LINENO: result
: no
" >&5
3734 echo "${ECHO_T}no
" >&6; }
3735 elif test "$wxUSE_LIBJPEG" = sys; then
3736 { echo "$as_me:$LINENO: result
: system version
" >&5
3737 echo "${ECHO_T}system version
" >&6; }
3738 elif test "$wxUSE_LIBJPEG" = builtin; then
3739 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3740 echo "${ECHO_T}builtin version
" >&6; }
3742 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3743 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3748 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3749 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3751 # Check whether --with-libtiff was given.
3752 if test "${with_libtiff+set}" = set; then
3753 withval=$with_libtiff;
3754 if test "$withval" = yes; then
3755 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3756 elif test "$withval" = no; then
3757 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3758 elif test "$withval" = sys; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3760 elif test "$withval" = builtin; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3763 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3764 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3765 { (exit 1); exit 1; }; }
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3775 eval "$wx_cv_use_libtiff"
3777 if test "$wxUSE_LIBTIFF" = yes; then
3778 { echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6; }
3780 elif test "$wxUSE_LIBTIFF" = no
; then
3781 { echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6; }
3783 elif test "$wxUSE_LIBTIFF" = sys
; then
3784 { echo "$as_me:$LINENO: result: system version" >&5
3785 echo "${ECHO_T}system version" >&6; }
3786 elif test "$wxUSE_LIBTIFF" = builtin; then
3787 { echo "$as_me:$LINENO: result: builtin version" >&5
3788 echo "${ECHO_T}builtin version" >&6; }
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3796 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3797 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3799 # Check whether --with-libxpm was given.
3800 if test "${with_libxpm+set}" = set; then
3801 withval
=$with_libxpm;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3804 elif test "$withval" = no
; then
3805 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3806 elif test "$withval" = sys
; then
3807 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3808 elif test "$withval" = builtin; then
3809 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3813 { (exit 1); exit 1; }; }
3818 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3823 eval "$wx_cv_use_libxpm"
3825 if test "$wxUSE_LIBXPM" = yes; then
3826 { echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6; }
3828 elif test "$wxUSE_LIBXPM" = no; then
3829 { echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6; }
3831 elif test "$wxUSE_LIBXPM" = sys; then
3832 { echo "$as_me:$LINENO: result: system version" >&5
3833 echo "${ECHO_T}system version" >&6; }
3834 elif test "$wxUSE_LIBXPM" = builtin; then
3835 { echo "$as_me:$LINENO: result: builtin version" >&5
3836 echo "${ECHO_T}builtin version" >&6; }
3838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3839 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3840 { (exit 1); exit 1; }; }
3845 defaultval=$wxUSE_ALL_FEATURES
3846 if test -z "$defaultval"; then
3847 if test x"$withstring" = xwithout; then
3853 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3854 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3856 # Check whether --with-libiconv was given.
3857 if test "${with_libiconv+set}" = set; then
3858 withval=$with_libiconv;
3859 if test "$withval" = yes; then
3860 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3862 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3867 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3872 eval "$wx_cv_use_libiconv"
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBICONV = yes; then
3881 result=$wxUSE_LIBICONV
3884 { echo "$as_me:$LINENO: result
: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3897 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3898 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3900 # Check whether --with-libmspack was given.
3901 if test "${with_libmspack+set}" = set; then
3902 withval=$with_libmspack;
3903 if test "$withval" = yes; then
3904 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3906 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3911 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3916 eval "$wx_cv_use_libmspack"
3918 if test x
"$withstring" = xwithout
; then
3919 if test $wxUSE_LIBMSPACK = yes; then
3925 result
=$wxUSE_LIBMSPACK
3928 { echo "$as_me:$LINENO: result: $result" >&5
3929 echo "${ECHO_T}$result" >&6; }
3933 defaultval
=$wxUSE_ALL_FEATURES
3934 if test -z "$defaultval"; then
3935 if test x
"$withstring" = xwithout
; then
3941 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3942 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3944 # Check whether --with-gtkprint was given.
3945 if test "${with_gtkprint+set}" = set; then
3946 withval
=$with_gtkprint;
3947 if test "$withval" = yes; then
3948 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3950 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3955 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3960 eval "$wx_cv_use_gtkprint"
3962 if test x"$withstring" = xwithout; then
3963 if test $wxUSE_GTKPRINT = yes; then
3969 result=$wxUSE_GTKPRINT
3972 { echo "$as_me:$LINENO: result: $result" >&5
3973 echo "${ECHO_T}$result" >&6; }
3977 defaultval=$wxUSE_ALL_FEATURES
3978 if test -z "$defaultval"; then
3979 if test x"$withstring" = xwithout; then
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3988 # Check whether --with-gnomeprint was given.
3989 if test "${with_gnomeprint+set}" = set; then
3990 withval=$with_gnomeprint;
3991 if test "$withval" = yes; then
3992 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3994 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3999 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4004 eval "$wx_cv_use_gnomeprint"
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_LIBGNOMEPRINT = yes; then
4013 result=$wxUSE_LIBGNOMEPRINT
4016 { echo "$as_me:$LINENO: result
: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4021 defaultval=$wxUSE_ALL_FEATURES
4022 if test -z "$defaultval"; then
4023 if test x"$withstring" = xwithout; then
4029 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4030 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4032 # Check whether --with-gnomevfs was given.
4033 if test "${with_gnomevfs+set}" = set; then
4034 withval=$with_gnomevfs;
4035 if test "$withval" = yes; then
4036 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4038 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4043 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4048 eval "$wx_cv_use_gnomevfs"
4050 if test x
"$withstring" = xwithout
; then
4051 if test $wxUSE_LIBGNOMEVFS = yes; then
4057 result
=$wxUSE_LIBGNOMEVFS
4060 { echo "$as_me:$LINENO: result: $result" >&5
4061 echo "${ECHO_T}$result" >&6; }
4065 defaultval
=$wxUSE_ALL_FEATURES
4066 if test -z "$defaultval"; then
4067 if test x
"$withstring" = xwithout
; then
4073 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4074 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4076 # Check whether --with-hildon was given.
4077 if test "${with_hildon+set}" = set; then
4078 withval
=$with_hildon;
4079 if test "$withval" = yes; then
4080 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4082 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4087 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4092 eval "$wx_cv_use_hildon"
4094 if test x"$withstring" = xwithout; then
4095 if test $wxUSE_LIBHILDON = yes; then
4101 result=$wxUSE_LIBHILDON
4104 { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4109 defaultval=$wxUSE_ALL_FEATURES
4110 if test -z "$defaultval"; then
4111 if test x"$withstring" = xwithout; then
4117 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4120 # Check whether --with-opengl was given.
4121 if test "${with_opengl+set}" = set; then
4122 withval=$with_opengl;
4123 if test "$withval" = yes; then
4124 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4126 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4131 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4136 eval "$wx_cv_use_opengl"
4138 if test x"$withstring" = xwithout; then
4139 if test $wxUSE_OPENGL = yes; then
4145 result=$wxUSE_OPENGL
4148 { echo "$as_me:$LINENO: result
: $result" >&5
4149 echo "${ECHO_T}$result" >&6; }
4156 defaultval=$wxUSE_ALL_FEATURES
4157 if test -z "$defaultval"; then
4158 if test x"$withstring" = xwithout; then
4164 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4165 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4167 # Check whether --with-dmalloc was given.
4168 if test "${with_dmalloc+set}" = set; then
4169 withval=$with_dmalloc;
4170 if test "$withval" = yes; then
4171 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4173 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4178 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4183 eval "$wx_cv_use_dmalloc"
4185 if test x
"$withstring" = xwithout
; then
4186 if test $wxUSE_DMALLOC = yes; then
4192 result
=$wxUSE_DMALLOC
4195 { echo "$as_me:$LINENO: result: $result" >&5
4196 echo "${ECHO_T}$result" >&6; }
4200 defaultval
=$wxUSE_ALL_FEATURES
4201 if test -z "$defaultval"; then
4202 if test x
"$withstring" = xwithout
; then
4208 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4209 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4211 # Check whether --with-sdl was given.
4212 if test "${with_sdl+set}" = set; then
4214 if test "$withval" = yes; then
4215 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4217 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4222 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4227 eval "$wx_cv_use_sdl"
4229 if test x"$withstring" = xwithout; then
4230 if test $wxUSE_LIBSDL = yes; then
4236 result=$wxUSE_LIBSDL
4239 { echo "$as_me:$LINENO: result: $result" >&5
4240 echo "${ECHO_T}$result" >&6; }
4243 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4244 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4246 # Check whether --with-regex was given.
4247 if test "${with_regex+set}" = set; then
4248 withval=$with_regex;
4249 if test "$withval" = yes; then
4250 wx_cv_use_regex='wxUSE_REGEX
=yes'
4251 elif test "$withval" = no; then
4252 wx_cv_use_regex='wxUSE_REGEX
=no
'
4253 elif test "$withval" = sys; then
4254 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4255 elif test "$withval" = builtin; then
4256 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4260 { (exit 1); exit 1; }; }
4265 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4270 eval "$wx_cv_use_regex"
4272 if test "$wxUSE_REGEX" = yes; then
4273 { echo "$as_me:$LINENO: result
: yes" >&5
4274 echo "${ECHO_T}yes" >&6; }
4275 elif test "$wxUSE_REGEX" = no; then
4276 { echo "$as_me:$LINENO: result
: no
" >&5
4277 echo "${ECHO_T}no
" >&6; }
4278 elif test "$wxUSE_REGEX" = sys; then
4279 { echo "$as_me:$LINENO: result
: system version
" >&5
4280 echo "${ECHO_T}system version
" >&6; }
4281 elif test "$wxUSE_REGEX" = builtin; then
4282 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4283 echo "${ECHO_T}builtin version
" >&6; }
4285 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4286 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4291 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4292 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4294 # Check whether --with-zlib was given.
4295 if test "${with_zlib+set}" = set; then
4297 if test "$withval" = yes; then
4298 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4299 elif test "$withval" = no; then
4300 wx_cv_use_zlib='wxUSE_ZLIB=no'
4301 elif test "$withval" = sys; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4303 elif test "$withval" = builtin; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4306 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4307 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4313 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4318 eval "$wx_cv_use_zlib"
4320 if test "$wxUSE_ZLIB" = yes; then
4321 { echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6; }
4323 elif test "$wxUSE_ZLIB" = no
; then
4324 { echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6; }
4326 elif test "$wxUSE_ZLIB" = sys
; then
4327 { echo "$as_me:$LINENO: result: system version" >&5
4328 echo "${ECHO_T}system version" >&6; }
4329 elif test "$wxUSE_ZLIB" = builtin; then
4330 { echo "$as_me:$LINENO: result: builtin version" >&5
4331 echo "${ECHO_T}builtin version" >&6; }
4333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4335 { (exit 1); exit 1; }; }
4339 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4340 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4342 # Check whether --with-expat was given.
4343 if test "${with_expat+set}" = set; then
4344 withval
=$with_expat;
4345 if test "$withval" = yes; then
4346 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4347 elif test "$withval" = no
; then
4348 wx_cv_use_expat
='wxUSE_EXPAT=no'
4349 elif test "$withval" = sys
; then
4350 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4351 elif test "$withval" = builtin; then
4352 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4354 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4355 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4356 { (exit 1); exit 1; }; }
4361 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4366 eval "$wx_cv_use_expat"
4368 if test "$wxUSE_EXPAT" = yes; then
4369 { echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6; }
4371 elif test "$wxUSE_EXPAT" = no; then
4372 { echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6; }
4374 elif test "$wxUSE_EXPAT" = sys; then
4375 { echo "$as_me:$LINENO: result: system version" >&5
4376 echo "${ECHO_T}system version" >&6; }
4377 elif test "$wxUSE_EXPAT" = builtin; then
4378 { echo "$as_me:$LINENO: result: builtin version" >&5
4379 echo "${ECHO_T}builtin version" >&6; }
4381 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4382 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4383 { (exit 1); exit 1; }; }
4387 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4388 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4390 # Check whether --with-macosx-sdk was given.
4391 if test "${with_macosx_sdk+set}" = set; then
4392 withval=$with_macosx_sdk;
4393 wxUSE_MACOSX_SDK=$withval
4394 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4398 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4399 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4401 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4402 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4404 # Check whether --with-macosx-version-min was given.
4405 if test "${with_macosx_version_min+set}" = set; then
4406 withval=$with_macosx_version_min;
4407 wxUSE_MACOSX_VERSION_MIN=$withval
4408 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4416 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4417 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4418 # Check whether --enable-debug was given.
4419 if test "${enable_debug+set}" = set; then
4420 enableval=$enable_debug;
4421 if test "$enableval" = yes; then
4423 elif test "$enableval" = no; then
4425 elif test "$enableval" = max; then
4427 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4429 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4430 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4431 { (exit 1); exit 1; }; }
4440 case "$wxUSE_DEBUG" in
4442 DEFAULT_wxUSE_DEBUG_FLAG=yes
4443 DEFAULT_wxUSE_DEBUG_INFO=yes
4445 DEFAULT_wxUSE_OPTIMISE=no
4449 DEFAULT_wxUSE_DEBUG_FLAG=no
4450 DEFAULT_wxUSE_DEBUG_INFO=no
4454 DEFAULT_wxUSE_DEBUG_FLAG=yes
4455 DEFAULT_wxUSE_DEBUG_INFO=no
4460 enablestring=disable
4462 if test -z "$defaultval"; then
4463 if test x"$enablestring" = xdisable; then
4470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4471 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4472 # Check whether --enable-debug_flag was given.
4473 if test "${enable_debug_flag+set}" = set; then
4474 enableval=$enable_debug_flag;
4475 if test "$enableval" = yes; then
4476 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4478 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4483 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4488 eval "$wx_cv_use_debug_flag"
4490 if test x"$enablestring" = xdisable; then
4491 if test $wxUSE_DEBUG_FLAG = no; then
4497 result=$wxUSE_DEBUG_FLAG
4500 { echo "$as_me:$LINENO: result
: $result" >&5
4501 echo "${ECHO_T}$result" >&6; }
4506 if test -z "$defaultval"; then
4507 if test x"$enablestring" = xdisable; then
4514 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4515 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4516 # Check whether --enable-debug_info was given.
4517 if test "${enable_debug_info+set}" = set; then
4518 enableval=$enable_debug_info;
4519 if test "$enableval" = yes; then
4520 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4522 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4527 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4532 eval "$wx_cv_use_debug_info"
4534 if test x
"$enablestring" = xdisable
; then
4535 if test $wxUSE_DEBUG_INFO = no
; then
4541 result
=$wxUSE_DEBUG_INFO
4544 { echo "$as_me:$LINENO: result: $result" >&5
4545 echo "${ECHO_T}$result" >&6; }
4552 if test -z "$defaultval"; then
4553 if test x
"$enablestring" = xdisable
; then
4560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4562 # Check whether --enable-debug_gdb was given.
4563 if test "${enable_debug_gdb+set}" = set; then
4564 enableval
=$enable_debug_gdb;
4565 if test "$enableval" = yes; then
4566 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4568 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4573 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4578 eval "$wx_cv_use_debug_gdb"
4580 if test x"$enablestring" = xdisable; then
4581 if test $wxUSE_DEBUG_GDB = no; then
4587 result=$wxUSE_DEBUG_GDB
4590 { echo "$as_me:$LINENO: result: $result" >&5
4591 echo "${ECHO_T}$result" >&6; }
4596 if test -z "$defaultval"; then
4597 if test x"$enablestring" = xdisable; then
4604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4606 # Check whether --enable-debug_cntxt was given.
4607 if test "${enable_debug_cntxt+set}" = set; then
4608 enableval=$enable_debug_cntxt;
4609 if test "$enableval" = yes; then
4610 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4612 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4617 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4622 eval "$wx_cv_use_debug_cntxt"
4624 if test x"$enablestring" = xdisable; then
4625 if test $wxUSE_DEBUG_CONTEXT = no; then
4631 result=$wxUSE_DEBUG_CONTEXT
4634 { echo "$as_me:$LINENO: result
: $result" >&5
4635 echo "${ECHO_T}$result" >&6; }
4640 if test -z "$defaultval"; then
4641 if test x"$enablestring" = xdisable; then
4648 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4649 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4650 # Check whether --enable-mem_tracing was given.
4651 if test "${enable_mem_tracing+set}" = set; then
4652 enableval=$enable_mem_tracing;
4653 if test "$enableval" = yes; then
4654 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4656 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4661 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4666 eval "$wx_cv_use_mem_tracing"
4668 if test x
"$enablestring" = xdisable
; then
4669 if test $wxUSE_MEM_TRACING = no
; then
4675 result
=$wxUSE_MEM_TRACING
4678 { echo "$as_me:$LINENO: result: $result" >&5
4679 echo "${ECHO_T}$result" >&6; }
4684 enablestring
=disable
4686 if test -z "$defaultval"; then
4687 if test x
"$enablestring" = xdisable
; then
4694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4696 # Check whether --enable-shared was given.
4697 if test "${enable_shared+set}" = set; then
4698 enableval
=$enable_shared;
4699 if test "$enableval" = yes; then
4700 wx_cv_use_shared
='wxUSE_SHARED=yes'
4702 wx_cv_use_shared
='wxUSE_SHARED=no'
4707 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4712 eval "$wx_cv_use_shared"
4714 if test x"$enablestring" = xdisable; then
4715 if test $wxUSE_SHARED = no; then
4721 result=$wxUSE_SHARED
4724 { echo "$as_me:$LINENO: result: $result" >&5
4725 echo "${ECHO_T}$result" >&6; }
4730 if test -z "$defaultval"; then
4731 if test x"$enablestring" = xdisable; then
4738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4740 # Check whether --enable-stl was given.
4741 if test "${enable_stl+set}" = set; then
4742 enableval=$enable_stl;
4743 if test "$enableval" = yes; then
4744 wx_cv_use_stl='wxUSE_STL
=yes'
4746 wx_cv_use_stl='wxUSE_STL
=no
'
4751 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4756 eval "$wx_cv_use_stl"
4758 if test x"$enablestring" = xdisable; then
4759 if test $wxUSE_STL = no; then
4768 { echo "$as_me:$LINENO: result
: $result" >&5
4769 echo "${ECHO_T}$result" >&6; }
4774 if test -z "$defaultval"; then
4775 if test x"$enablestring" = xdisable; then
4782 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4783 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4784 # Check whether --enable-std_iostreams was given.
4785 if test "${enable_std_iostreams+set}" = set; then
4786 enableval=$enable_std_iostreams;
4787 if test "$enableval" = yes; then
4788 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4790 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4795 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4800 eval "$wx_cv_use_std_iostreams"
4802 if test x
"$enablestring" = xdisable
; then
4803 if test $wxUSE_STD_IOSTREAM = no
; then
4809 result
=$wxUSE_STD_IOSTREAM
4812 { echo "$as_me:$LINENO: result: $result" >&5
4813 echo "${ECHO_T}$result" >&6; }
4818 if test -z "$defaultval"; then
4819 if test x
"$enablestring" = xdisable
; then
4826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4828 # Check whether --enable-std_string was given.
4829 if test "${enable_std_string+set}" = set; then
4830 enableval
=$enable_std_string;
4831 if test "$enableval" = yes; then
4832 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4834 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4839 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4844 eval "$wx_cv_use_std_string"
4846 if test x"$enablestring" = xdisable; then
4847 if test $wxUSE_STD_STRING = no; then
4853 result=$wxUSE_STD_STRING
4856 { echo "$as_me:$LINENO: result: $result" >&5
4857 echo "${ECHO_T}$result" >&6; }
4860 enablestring=disable
4862 if test -z "$defaultval"; then
4863 if test x"$enablestring" = xdisable; then
4870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4872 # Check whether --enable-unicode was given.
4873 if test "${enable_unicode+set}" = set; then
4874 enableval=$enable_unicode;
4875 if test "$enableval" = yes; then
4876 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4878 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4883 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4888 eval "$wx_cv_use_unicode"
4890 if test x"$enablestring" = xdisable; then
4891 if test $wxUSE_UNICODE = no; then
4897 result=$wxUSE_UNICODE
4900 { echo "$as_me:$LINENO: result
: $result" >&5
4901 echo "${ECHO_T}$result" >&6; }
4906 if test -z "$defaultval"; then
4907 if test x"$enablestring" = xdisable; then
4914 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4915 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4916 # Check whether --enable-mslu was given.
4917 if test "${enable_mslu+set}" = set; then
4918 enableval=$enable_mslu;
4919 if test "$enableval" = yes; then
4920 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4932 eval "$wx_cv_use_mslu"
4934 if test x
"$enablestring" = xdisable
; then
4935 if test $wxUSE_UNICODE_MSLU = no
; then
4941 result
=$wxUSE_UNICODE_MSLU
4944 { echo "$as_me:$LINENO: result: $result" >&5
4945 echo "${ECHO_T}$result" >&6; }
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4951 # Check whether --enable-utf8 was given.
4952 if test "${enable_utf8+set}" = set; then
4953 enableval
=$enable_utf8;
4954 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4958 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4963 eval "$wx_cv_use_utf8"
4965 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4966 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4971 if test -z "$defaultval"; then
4972 if test x
"$enablestring" = xdisable
; then
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4981 # Check whether --enable-utf8only was given.
4982 if test "${enable_utf8only+set}" = set; then
4983 enableval
=$enable_utf8only;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4987 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4992 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4997 eval "$wx_cv_use_utf8only"
4999 if test x"$enablestring" = xdisable; then
5000 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5006 result=$wxUSE_UNICODE_UTF8_LOCALE
5009 { echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6; }
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5025 # Check whether --enable-extended_rtti was given.
5026 if test "${enable_extended_rtti+set}" = set; then
5027 enableval=$enable_extended_rtti;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5031 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5036 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5041 eval "$wx_cv_use_extended_rtti"
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_EXTENDED_RTTI = no; then
5050 result=$wxUSE_EXTENDED_RTTI
5053 { echo "$as_me:$LINENO: result
: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5056 if test "$USE_OS2" = 1; then
5057 DEFAULT_wxUSE_OMF=no
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5070 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5071 # Check whether --enable-omf was given.
5072 if test "${enable_omf+set}" = set; then
5073 enableval=$enable_omf;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_omf='wxUSE_OMF=yes'
5077 wx_cv_use_omf='wxUSE_OMF=no'
5082 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5087 eval "$wx_cv_use_omf"
5089 if test x
"$enablestring" = xdisable
; then
5090 if test $wxUSE_OMF = no
; then
5099 { echo "$as_me:$LINENO: result: $result" >&5
5100 echo "${ECHO_T}$result" >&6; }
5105 enablestring
=disable
5107 if test -z "$defaultval"; then
5108 if test x
"$enablestring" = xdisable
; then
5115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5117 # Check whether --enable-optimise was given.
5118 if test "${enable_optimise+set}" = set; then
5119 enableval
=$enable_optimise;
5120 if test "$enableval" = yes; then
5121 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5123 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5128 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5133 eval "$wx_cv_use_optimise"
5135 if test x"$enablestring" = xdisable; then
5136 if test $wxUSE_OPTIMISE = no; then
5142 result=$wxUSE_OPTIMISE
5145 { echo "$as_me:$LINENO: result: $result" >&5
5146 echo "${ECHO_T}$result" >&6; }
5152 if test -z "$defaultval"; then
5153 if test x"$enablestring" = xdisable; then
5160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5162 # Check whether --enable-profile was given.
5163 if test "${enable_profile+set}" = set; then
5164 enableval=$enable_profile;
5165 if test "$enableval" = yes; then
5166 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5168 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5173 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5178 eval "$wx_cv_use_profile"
5180 if test x"$enablestring" = xdisable; then
5181 if test $wxUSE_PROFILE = no; then
5187 result=$wxUSE_PROFILE
5190 { echo "$as_me:$LINENO: result
: $result" >&5
5191 echo "${ECHO_T}$result" >&6; }
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5204 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5205 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5206 # Check whether --enable-no_rtti was given.
5207 if test "${enable_no_rtti+set}" = set; then
5208 enableval=$enable_no_rtti;
5209 if test "$enableval" = yes; then
5210 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5212 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5217 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5222 eval "$wx_cv_use_no_rtti"
5224 if test x
"$enablestring" = xdisable
; then
5225 if test $wxUSE_NO_RTTI = no
; then
5231 result
=$wxUSE_NO_RTTI
5234 { echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6; }
5240 if test -z "$defaultval"; then
5241 if test x
"$enablestring" = xdisable
; then
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5250 # Check whether --enable-no_exceptions was given.
5251 if test "${enable_no_exceptions+set}" = set; then
5252 enableval
=$enable_no_exceptions;
5253 if test "$enableval" = yes; then
5254 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5256 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5261 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5266 eval "$wx_cv_use_no_exceptions"
5268 if test x"$enablestring" = xdisable; then
5269 if test $wxUSE_NO_EXCEPTIONS = no; then
5275 result=$wxUSE_NO_EXCEPTIONS
5278 { echo "$as_me:$LINENO: result: $result" >&5
5279 echo "${ECHO_T}$result" >&6; }
5284 if test -z "$defaultval"; then
5285 if test x"$enablestring" = xdisable; then
5292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5293 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5294 # Check whether --enable-permissive was given.
5295 if test "${enable_permissive+set}" = set; then
5296 enableval=$enable_permissive;
5297 if test "$enableval" = yes; then
5298 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5300 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5305 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5310 eval "$wx_cv_use_permissive"
5312 if test x"$enablestring" = xdisable; then
5313 if test $wxUSE_PERMISSIVE = no; then
5319 result=$wxUSE_PERMISSIVE
5322 { echo "$as_me:$LINENO: result
: $result" >&5
5323 echo "${ECHO_T}$result" >&6; }
5328 if test -z "$defaultval"; then
5329 if test x"$enablestring" = xdisable; then
5336 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5337 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5338 # Check whether --enable-no_deps was given.
5339 if test "${enable_no_deps+set}" = set; then
5340 enableval=$enable_no_deps;
5341 if test "$enableval" = yes; then
5342 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5344 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5349 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5354 eval "$wx_cv_use_no_deps"
5356 if test x
"$enablestring" = xdisable
; then
5357 if test $wxUSE_NO_DEPS = no
; then
5363 result
=$wxUSE_NO_DEPS
5366 { echo "$as_me:$LINENO: result: $result" >&5
5367 echo "${ECHO_T}$result" >&6; }
5370 enablestring
=disable
5372 if test -z "$defaultval"; then
5373 if test x
"$enablestring" = xdisable
; then
5380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5382 # Check whether --enable-vararg_macros was given.
5383 if test "${enable_vararg_macros+set}" = set; then
5384 enableval
=$enable_vararg_macros;
5385 if test "$enableval" = yes; then
5386 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5388 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5393 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5398 eval "$wx_cv_use_vararg_macros"
5400 if test x"$enablestring" = xdisable; then
5401 if test $wxUSE_VARARG_MACROS = no; then
5407 result=$wxUSE_VARARG_MACROS
5410 { echo "$as_me:$LINENO: result: $result" >&5
5411 echo "${ECHO_T}$result" >&6; }
5415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5416 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5417 # Check whether --enable-universal_binary was given.
5418 if test "${enable_universal_binary+set}" = set; then
5419 enableval=$enable_universal_binary;
5420 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5424 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5429 eval "$wx_cv_use_universal_binary"
5431 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5432 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5438 if test -z "$defaultval"; then
5439 if test x"$enablestring" = xdisable; then
5446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5448 # Check whether --enable-compat26 was given.
5449 if test "${enable_compat26+set}" = set; then
5450 enableval=$enable_compat26;
5451 if test "$enableval" = yes; then
5452 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5454 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5459 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5464 eval "$wx_cv_use_compat26"
5466 if test x"$enablestring" = xdisable; then
5467 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5473 result=$WXWIN_COMPATIBILITY_2_6
5476 { echo "$as_me:$LINENO: result
: $result" >&5
5477 echo "${ECHO_T}$result" >&6; }
5480 enablestring=disable
5482 if test -z "$defaultval"; then
5483 if test x"$enablestring" = xdisable; then
5490 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5491 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5492 # Check whether --enable-compat28 was given.
5493 if test "${enable_compat28+set}" = set; then
5494 enableval=$enable_compat28;
5495 if test "$enableval" = yes; then
5496 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5498 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5503 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5508 eval "$wx_cv_use_compat28"
5510 if test x
"$enablestring" = xdisable
; then
5511 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5517 result
=$WXWIN_COMPATIBILITY_2_8
5520 { echo "$as_me:$LINENO: result: $result" >&5
5521 echo "${ECHO_T}$result" >&6; }
5525 enablestring
=disable
5527 if test -z "$defaultval"; then
5528 if test x
"$enablestring" = xdisable
; then
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5537 # Check whether --enable-rpath was given.
5538 if test "${enable_rpath+set}" = set; then
5539 enableval
=$enable_rpath;
5540 if test "$enableval" = yes; then
5541 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5543 wx_cv_use_rpath
='wxUSE_RPATH=no'
5548 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5553 eval "$wx_cv_use_rpath"
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_RPATH = no; then
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5572 if test -z "$defaultval"; then
5573 if test x"$enablestring" = xdisable; then
5580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5582 # Check whether --enable-objc_uniquifying was given.
5583 if test "${enable_objc_uniquifying+set}" = set; then
5584 enableval=$enable_objc_uniquifying;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5588 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5593 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5598 eval "$wx_cv_use_objc_uniquifying"
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5607 result=$wxUSE_OBJC_UNIQUIFYING
5610 { echo "$as_me:$LINENO: result
: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5615 enablestring=disable
5617 if test -z "$defaultval"; then
5618 if test x"$enablestring" = xdisable; then
5625 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5626 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5627 # Check whether --enable-visibility was given.
5628 if test "${enable_visibility+set}" = set; then
5629 enableval=$enable_visibility;
5630 if test "$enableval" = yes; then
5631 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5633 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5638 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5643 eval "$wx_cv_use_visibility"
5645 if test x
"$enablestring" = xdisable
; then
5646 if test $wxUSE_VISIBILITY = no
; then
5652 result
=$wxUSE_VISIBILITY
5655 { echo "$as_me:$LINENO: result: $result" >&5
5656 echo "${ECHO_T}$result" >&6; }
5659 enablestring
=disable
5661 if test -z "$defaultval"; then
5662 if test x
"$enablestring" = xdisable
; then
5669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5671 # Check whether --enable-tls was given.
5672 if test "${enable_tls+set}" = set; then
5673 enableval
=$enable_tls;
5674 if test "$enableval" = yes; then
5675 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5677 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5682 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5687 eval "$wx_cv_use_tls"
5689 if test x"$enablestring" = xdisable; then
5690 if test $wxUSE_COMPILER_TLS = no; then
5696 result=$wxUSE_COMPILER_TLS
5699 { echo "$as_me:$LINENO: result: $result" >&5
5700 echo "${ECHO_T}$result" >&6; }
5706 defaultval=$wxUSE_ALL_FEATURES
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5717 # Check whether --enable-intl was given.
5718 if test "${enable_intl+set}" = set; then
5719 enableval=$enable_intl;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_intl='wxUSE_INTL
=yes'
5723 wx_cv_use_intl='wxUSE_INTL
=no
'
5728 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5733 eval "$wx_cv_use_intl"
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_INTL = no; then
5745 { echo "$as_me:$LINENO: result
: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5750 defaultval=$wxUSE_ALL_FEATURES
5751 if test -z "$defaultval"; then
5752 if test x"$enablestring" = xdisable; then
5759 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5760 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5761 # Check whether --enable-xlocale was given.
5762 if test "${enable_xlocale+set}" = set; then
5763 enableval=$enable_xlocale;
5764 if test "$enableval" = yes; then
5765 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5767 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5772 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5777 eval "$wx_cv_use_xlocale"
5779 if test x
"$enablestring" = xdisable
; then
5780 if test $wxUSE_XLOCALE = no
; then
5786 result
=$wxUSE_XLOCALE
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5794 defaultval
=$wxUSE_ALL_FEATURES
5795 if test -z "$defaultval"; then
5796 if test x
"$enablestring" = xdisable
; then
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5805 # Check whether --enable-config was given.
5806 if test "${enable_config+set}" = set; then
5807 enableval
=$enable_config;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_config
='wxUSE_CONFIG=yes'
5811 wx_cv_use_config
='wxUSE_CONFIG=no'
5816 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5821 eval "$wx_cv_use_config"
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_CONFIG = no; then
5830 result=$wxUSE_CONFIG
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5839 defaultval=$wxUSE_ALL_FEATURES
5840 if test -z "$defaultval"; then
5841 if test x"$enablestring" = xdisable; then
5848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5850 # Check whether --enable-protocols was given.
5851 if test "${enable_protocols+set}" = set; then
5852 enableval=$enable_protocols;
5853 if test "$enableval" = yes; then
5854 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5856 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5861 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5866 eval "$wx_cv_use_protocols"
5868 if test x"$enablestring" = xdisable; then
5869 if test $wxUSE_PROTOCOL = no; then
5875 result=$wxUSE_PROTOCOL
5878 { echo "$as_me:$LINENO: result
: $result" >&5
5879 echo "${ECHO_T}$result" >&6; }
5883 defaultval=$wxUSE_ALL_FEATURES
5884 if test -z "$defaultval"; then
5885 if test x"$enablestring" = xdisable; then
5892 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5893 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5894 # Check whether --enable-ftp was given.
5895 if test "${enable_ftp+set}" = set; then
5896 enableval=$enable_ftp;
5897 if test "$enableval" = yes; then
5898 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5900 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5905 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5910 eval "$wx_cv_use_ftp"
5912 if test x
"$enablestring" = xdisable
; then
5913 if test $wxUSE_PROTOCOL_FTP = no
; then
5919 result
=$wxUSE_PROTOCOL_FTP
5922 { echo "$as_me:$LINENO: result: $result" >&5
5923 echo "${ECHO_T}$result" >&6; }
5927 defaultval
=$wxUSE_ALL_FEATURES
5928 if test -z "$defaultval"; then
5929 if test x
"$enablestring" = xdisable
; then
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5938 # Check whether --enable-http was given.
5939 if test "${enable_http+set}" = set; then
5940 enableval
=$enable_http;
5941 if test "$enableval" = yes; then
5942 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5944 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5949 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5954 eval "$wx_cv_use_http"
5956 if test x"$enablestring" = xdisable; then
5957 if test $wxUSE_PROTOCOL_HTTP = no; then
5963 result=$wxUSE_PROTOCOL_HTTP
5966 { echo "$as_me:$LINENO: result: $result" >&5
5967 echo "${ECHO_T}$result" >&6; }
5971 defaultval=$wxUSE_ALL_FEATURES
5972 if test -z "$defaultval"; then
5973 if test x"$enablestring" = xdisable; then
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5982 # Check whether --enable-fileproto was given.
5983 if test "${enable_fileproto+set}" = set; then
5984 enableval=$enable_fileproto;
5985 if test "$enableval" = yes; then
5986 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5988 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5993 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5998 eval "$wx_cv_use_fileproto"
6000 if test x"$enablestring" = xdisable; then
6001 if test $wxUSE_PROTOCOL_FILE = no; then
6007 result=$wxUSE_PROTOCOL_FILE
6010 { echo "$as_me:$LINENO: result
: $result" >&5
6011 echo "${ECHO_T}$result" >&6; }
6015 defaultval=$wxUSE_ALL_FEATURES
6016 if test -z "$defaultval"; then
6017 if test x"$enablestring" = xdisable; then
6024 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6025 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6026 # Check whether --enable-sockets was given.
6027 if test "${enable_sockets+set}" = set; then
6028 enableval=$enable_sockets;
6029 if test "$enableval" = yes; then
6030 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6032 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6037 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6042 eval "$wx_cv_use_sockets"
6044 if test x
"$enablestring" = xdisable
; then
6045 if test $wxUSE_SOCKETS = no
; then
6051 result
=$wxUSE_SOCKETS
6054 { echo "$as_me:$LINENO: result: $result" >&5
6055 echo "${ECHO_T}$result" >&6; }
6059 defaultval
=$wxUSE_ALL_FEATURES
6060 if test -z "$defaultval"; then
6061 if test x
"$enablestring" = xdisable
; then
6068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6070 # Check whether --enable-ipv6 was given.
6071 if test "${enable_ipv6+set}" = set; then
6072 enableval
=$enable_ipv6;
6073 if test "$enableval" = yes; then
6074 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6076 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6081 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6086 eval "$wx_cv_use_ipv6"
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_IPV6 = no; then
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6114 # Check whether --enable-ole was given.
6115 if test "${enable_ole+set}" = set; then
6116 enableval=$enable_ole;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_ole='wxUSE_OLE
=yes'
6120 wx_cv_use_ole='wxUSE_OLE
=no
'
6125 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6130 eval "$wx_cv_use_ole"
6132 if test x"$enablestring" = xdisable; then
6133 if test $wxUSE_OLE = no; then
6142 { echo "$as_me:$LINENO: result
: $result" >&5
6143 echo "${ECHO_T}$result" >&6; }
6147 defaultval=$wxUSE_ALL_FEATURES
6148 if test -z "$defaultval"; then
6149 if test x"$enablestring" = xdisable; then
6156 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6157 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6158 # Check whether --enable-dataobj was given.
6159 if test "${enable_dataobj+set}" = set; then
6160 enableval=$enable_dataobj;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6164 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6169 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6174 eval "$wx_cv_use_dataobj"
6176 if test x
"$enablestring" = xdisable
; then
6177 if test $wxUSE_DATAOBJ = no
; then
6183 result
=$wxUSE_DATAOBJ
6186 { echo "$as_me:$LINENO: result: $result" >&5
6187 echo "${ECHO_T}$result" >&6; }
6192 defaultval
=$wxUSE_ALL_FEATURES
6193 if test -z "$defaultval"; then
6194 if test x
"$enablestring" = xdisable
; then
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6203 # Check whether --enable-ipc was given.
6204 if test "${enable_ipc+set}" = set; then
6205 enableval
=$enable_ipc;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_ipc
='wxUSE_IPC=yes'
6209 wx_cv_use_ipc
='wxUSE_IPC=no'
6214 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6219 eval "$wx_cv_use_ipc"
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_IPC = no; then
6231 { echo "$as_me:$LINENO: result: $result" >&5
6232 echo "${ECHO_T}$result" >&6; }
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6248 # Check whether --enable-baseevtloop was given.
6249 if test "${enable_baseevtloop+set}" = set; then
6250 enableval=$enable_baseevtloop;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6254 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6259 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6264 eval "$wx_cv_use_baseevtloop"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6273 result=$wxUSE_CONSOLE_EVENTLOOP
6276 { echo "$as_me:$LINENO: result
: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6291 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6292 # Check whether --enable-epollloop was given.
6293 if test "${enable_epollloop+set}" = set; then
6294 enableval=$enable_epollloop;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6298 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6303 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6308 eval "$wx_cv_use_epollloop"
6310 if test x
"$enablestring" = xdisable
; then
6311 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6317 result
=$wxUSE_EPOLL_DISPATCHER
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval
=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x
"$enablestring" = xdisable
; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6336 # Check whether --enable-selectloop was given.
6337 if test "${enable_selectloop+set}" = set; then
6338 enableval
=$enable_selectloop;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6342 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6347 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6352 eval "$wx_cv_use_selectloop"
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_SELECT_DISPATCHER = no; then
6361 result=$wxUSE_SELECT_DISPATCHER
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6381 # Check whether --enable-any was given.
6382 if test "${enable_any+set}" = set; then
6383 enableval=$enable_any;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_any='wxUSE_ANY
=yes'
6387 wx_cv_use_any='wxUSE_ANY
=no
'
6392 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6397 eval "$wx_cv_use_any"
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_ANY = no; then
6409 { echo "$as_me:$LINENO: result
: $result" >&5
6410 echo "${ECHO_T}$result" >&6; }
6414 defaultval=$wxUSE_ALL_FEATURES
6415 if test -z "$defaultval"; then
6416 if test x"$enablestring" = xdisable; then
6423 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6424 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6425 # Check whether --enable-apple_ieee was given.
6426 if test "${enable_apple_ieee+set}" = set; then
6427 enableval=$enable_apple_ieee;
6428 if test "$enableval" = yes; then
6429 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6431 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6436 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6441 eval "$wx_cv_use_apple_ieee"
6443 if test x
"$enablestring" = xdisable
; then
6444 if test $wxUSE_APPLE_IEEE = no
; then
6450 result
=$wxUSE_APPLE_IEEE
6453 { echo "$as_me:$LINENO: result: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6458 defaultval
=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x
"$enablestring" = xdisable
; then
6467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6469 # Check whether --enable-arcstream was given.
6470 if test "${enable_arcstream+set}" = set; then
6471 enableval
=$enable_arcstream;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6475 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6480 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6485 eval "$wx_cv_use_arcstream"
6487 if test x"$enablestring" = xdisable; then
6488 if test $wxUSE_ARCHIVE_STREAMS = no; then
6494 result=$wxUSE_ARCHIVE_STREAMS
6497 { echo "$as_me:$LINENO: result: $result" >&5
6498 echo "${ECHO_T}$result" >&6; }
6502 defaultval=$wxUSE_ALL_FEATURES
6503 if test -z "$defaultval"; then
6504 if test x"$enablestring" = xdisable; then
6511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6513 # Check whether --enable-base64 was given.
6514 if test "${enable_base64+set}" = set; then
6515 enableval=$enable_base64;
6516 if test "$enableval" = yes; then
6517 wx_cv_use_base64='wxUSE_BASE64
=yes'
6519 wx_cv_use_base64='wxUSE_BASE64
=no
'
6524 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6529 eval "$wx_cv_use_base64"
6531 if test x"$enablestring" = xdisable; then
6532 if test $wxUSE_BASE64 = no; then
6538 result=$wxUSE_BASE64
6541 { echo "$as_me:$LINENO: result
: $result" >&5
6542 echo "${ECHO_T}$result" >&6; }
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6555 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6556 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6557 # Check whether --enable-backtrace was given.
6558 if test "${enable_backtrace+set}" = set; then
6559 enableval=$enable_backtrace;
6560 if test "$enableval" = yes; then
6561 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6563 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6568 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6573 eval "$wx_cv_use_backtrace"
6575 if test x
"$enablestring" = xdisable
; then
6576 if test $wxUSE_STACKWALKER = no
; then
6582 result
=$wxUSE_STACKWALKER
6585 { echo "$as_me:$LINENO: result: $result" >&5
6586 echo "${ECHO_T}$result" >&6; }
6590 defaultval
=$wxUSE_ALL_FEATURES
6591 if test -z "$defaultval"; then
6592 if test x
"$enablestring" = xdisable
; then
6599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6600 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6601 # Check whether --enable-catch_segvs was given.
6602 if test "${enable_catch_segvs+set}" = set; then
6603 enableval
=$enable_catch_segvs;
6604 if test "$enableval" = yes; then
6605 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6607 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6612 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6617 eval "$wx_cv_use_catch_segvs"
6619 if test x"$enablestring" = xdisable; then
6620 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6626 result=$wxUSE_ON_FATAL_EXCEPTION
6629 { echo "$as_me:$LINENO: result: $result" >&5
6630 echo "${ECHO_T}$result" >&6; }
6634 defaultval=$wxUSE_ALL_FEATURES
6635 if test -z "$defaultval"; then
6636 if test x"$enablestring" = xdisable; then
6643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6645 # Check whether --enable-cmdline was given.
6646 if test "${enable_cmdline+set}" = set; then
6647 enableval=$enable_cmdline;
6648 if test "$enableval" = yes; then
6649 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6651 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6656 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6661 eval "$wx_cv_use_cmdline"
6663 if test x"$enablestring" = xdisable; then
6664 if test $wxUSE_CMDLINE_PARSER = no; then
6670 result=$wxUSE_CMDLINE_PARSER
6673 { echo "$as_me:$LINENO: result
: $result" >&5
6674 echo "${ECHO_T}$result" >&6; }
6678 defaultval=$wxUSE_ALL_FEATURES
6679 if test -z "$defaultval"; then
6680 if test x"$enablestring" = xdisable; then
6687 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6688 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6689 # Check whether --enable-datetime was given.
6690 if test "${enable_datetime+set}" = set; then
6691 enableval=$enable_datetime;
6692 if test "$enableval" = yes; then
6693 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6695 wx_cv_use_datetime='wxUSE_DATETIME=no'
6700 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6705 eval "$wx_cv_use_datetime"
6707 if test x
"$enablestring" = xdisable
; then
6708 if test $wxUSE_DATETIME = no
; then
6714 result
=$wxUSE_DATETIME
6717 { echo "$as_me:$LINENO: result: $result" >&5
6718 echo "${ECHO_T}$result" >&6; }
6722 defaultval
=$wxUSE_ALL_FEATURES
6723 if test -z "$defaultval"; then
6724 if test x
"$enablestring" = xdisable
; then
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6733 # Check whether --enable-debugreport was given.
6734 if test "${enable_debugreport+set}" = set; then
6735 enableval
=$enable_debugreport;
6736 if test "$enableval" = yes; then
6737 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6739 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6744 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6749 eval "$wx_cv_use_debugreport"
6751 if test x"$enablestring" = xdisable; then
6752 if test $wxUSE_DEBUGREPORT = no; then
6758 result=$wxUSE_DEBUGREPORT
6761 { echo "$as_me:$LINENO: result: $result" >&5
6762 echo "${ECHO_T}$result" >&6; }
6766 defaultval=$wxUSE_ALL_FEATURES
6767 if test -z "$defaultval"; then
6768 if test x"$enablestring" = xdisable; then
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6777 # Check whether --enable-dialupman was given.
6778 if test "${enable_dialupman+set}" = set; then
6779 enableval=$enable_dialupman;
6780 if test "$enableval" = yes; then
6781 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6783 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6788 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6793 eval "$wx_cv_use_dialupman"
6795 if test x"$enablestring" = xdisable; then
6796 if test $wxUSE_DIALUP_MANAGER = no; then
6802 result=$wxUSE_DIALUP_MANAGER
6805 { echo "$as_me:$LINENO: result
: $result" >&5
6806 echo "${ECHO_T}$result" >&6; }
6810 defaultval=$wxUSE_ALL_FEATURES
6811 if test -z "$defaultval"; then
6812 if test x"$enablestring" = xdisable; then
6819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6820 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6821 # Check whether --enable-dynlib was given.
6822 if test "${enable_dynlib+set}" = set; then
6823 enableval=$enable_dynlib;
6824 if test "$enableval" = yes; then
6825 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6827 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6832 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6837 eval "$wx_cv_use_dynlib"
6839 if test x
"$enablestring" = xdisable
; then
6840 if test $wxUSE_DYNLIB_CLASS = no
; then
6846 result
=$wxUSE_DYNLIB_CLASS
6849 { echo "$as_me:$LINENO: result: $result" >&5
6850 echo "${ECHO_T}$result" >&6; }
6854 defaultval
=$wxUSE_ALL_FEATURES
6855 if test -z "$defaultval"; then
6856 if test x
"$enablestring" = xdisable
; then
6863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6865 # Check whether --enable-dynamicloader was given.
6866 if test "${enable_dynamicloader+set}" = set; then
6867 enableval
=$enable_dynamicloader;
6868 if test "$enableval" = yes; then
6869 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6871 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6876 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6881 eval "$wx_cv_use_dynamicloader"
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_DYNAMIC_LOADER = no; then
6890 result=$wxUSE_DYNAMIC_LOADER
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6909 # Check whether --enable-exceptions was given.
6910 if test "${enable_exceptions+set}" = set; then
6911 enableval=$enable_exceptions;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6915 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6920 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6925 eval "$wx_cv_use_exceptions"
6927 if test x"$enablestring" = xdisable; then
6928 if test $wxUSE_EXCEPTIONS = no; then
6934 result=$wxUSE_EXCEPTIONS
6937 { echo "$as_me:$LINENO: result
: $result" >&5
6938 echo "${ECHO_T}$result" >&6; }
6942 defaultval=$wxUSE_ALL_FEATURES
6943 if test -z "$defaultval"; then
6944 if test x"$enablestring" = xdisable; then
6951 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6952 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6953 # Check whether --enable-ffile was given.
6954 if test "${enable_ffile+set}" = set; then
6955 enableval=$enable_ffile;
6956 if test "$enableval" = yes; then
6957 wx_cv_use_ffile='wxUSE_FFILE=yes'
6959 wx_cv_use_ffile='wxUSE_FFILE=no'
6964 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6969 eval "$wx_cv_use_ffile"
6971 if test x
"$enablestring" = xdisable
; then
6972 if test $wxUSE_FFILE = no
; then
6981 { echo "$as_me:$LINENO: result: $result" >&5
6982 echo "${ECHO_T}$result" >&6; }
6986 defaultval
=$wxUSE_ALL_FEATURES
6987 if test -z "$defaultval"; then
6988 if test x
"$enablestring" = xdisable
; then
6995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6997 # Check whether --enable-file was given.
6998 if test "${enable_file+set}" = set; then
6999 enableval
=$enable_file;
7000 if test "$enableval" = yes; then
7001 wx_cv_use_file
='wxUSE_FILE=yes'
7003 wx_cv_use_file
='wxUSE_FILE=no'
7008 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7013 eval "$wx_cv_use_file"
7015 if test x"$enablestring" = xdisable; then
7016 if test $wxUSE_FILE = no; then
7025 { echo "$as_me:$LINENO: result: $result" >&5
7026 echo "${ECHO_T}$result" >&6; }
7030 defaultval=$wxUSE_ALL_FEATURES
7031 if test -z "$defaultval"; then
7032 if test x"$enablestring" = xdisable; then
7039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7041 # Check whether --enable-filehistory was given.
7042 if test "${enable_filehistory+set}" = set; then
7043 enableval=$enable_filehistory;
7044 if test "$enableval" = yes; then
7045 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7047 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7052 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7057 eval "$wx_cv_use_filehistory"
7059 if test x"$enablestring" = xdisable; then
7060 if test $wxUSE_FILE_HISTORY = no; then
7066 result=$wxUSE_FILE_HISTORY
7069 { echo "$as_me:$LINENO: result
: $result" >&5
7070 echo "${ECHO_T}$result" >&6; }
7074 defaultval=$wxUSE_ALL_FEATURES
7075 if test -z "$defaultval"; then
7076 if test x"$enablestring" = xdisable; then
7083 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7084 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7085 # Check whether --enable-filesystem was given.
7086 if test "${enable_filesystem+set}" = set; then
7087 enableval=$enable_filesystem;
7088 if test "$enableval" = yes; then
7089 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7091 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7096 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7101 eval "$wx_cv_use_filesystem"
7103 if test x
"$enablestring" = xdisable
; then
7104 if test $wxUSE_FILESYSTEM = no
; then
7110 result
=$wxUSE_FILESYSTEM
7113 { echo "$as_me:$LINENO: result: $result" >&5
7114 echo "${ECHO_T}$result" >&6; }
7118 defaultval
=$wxUSE_ALL_FEATURES
7119 if test -z "$defaultval"; then
7120 if test x
"$enablestring" = xdisable
; then
7127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7129 # Check whether --enable-fontenum was given.
7130 if test "${enable_fontenum+set}" = set; then
7131 enableval
=$enable_fontenum;
7132 if test "$enableval" = yes; then
7133 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7135 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7140 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7145 eval "$wx_cv_use_fontenum"
7147 if test x"$enablestring" = xdisable; then
7148 if test $wxUSE_FONTENUM = no; then
7154 result=$wxUSE_FONTENUM
7157 { echo "$as_me:$LINENO: result: $result" >&5
7158 echo "${ECHO_T}$result" >&6; }
7162 defaultval=$wxUSE_ALL_FEATURES
7163 if test -z "$defaultval"; then
7164 if test x"$enablestring" = xdisable; then
7171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7173 # Check whether --enable-fontmap was given.
7174 if test "${enable_fontmap+set}" = set; then
7175 enableval=$enable_fontmap;
7176 if test "$enableval" = yes; then
7177 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7179 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7184 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7189 eval "$wx_cv_use_fontmap"
7191 if test x"$enablestring" = xdisable; then
7192 if test $wxUSE_FONTMAP = no; then
7198 result=$wxUSE_FONTMAP
7201 { echo "$as_me:$LINENO: result
: $result" >&5
7202 echo "${ECHO_T}$result" >&6; }
7206 defaultval=$wxUSE_ALL_FEATURES
7207 if test -z "$defaultval"; then
7208 if test x"$enablestring" = xdisable; then
7215 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7216 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7217 # Check whether --enable-fs_archive was given.
7218 if test "${enable_fs_archive+set}" = set; then
7219 enableval=$enable_fs_archive;
7220 if test "$enableval" = yes; then
7221 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7223 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7228 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7233 eval "$wx_cv_use_fs_archive"
7235 if test x
"$enablestring" = xdisable
; then
7236 if test $wxUSE_FS_ARCHIVE = no
; then
7242 result
=$wxUSE_FS_ARCHIVE
7245 { echo "$as_me:$LINENO: result: $result" >&5
7246 echo "${ECHO_T}$result" >&6; }
7250 defaultval
=$wxUSE_ALL_FEATURES
7251 if test -z "$defaultval"; then
7252 if test x
"$enablestring" = xdisable
; then
7259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7260 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7261 # Check whether --enable-fs_inet was given.
7262 if test "${enable_fs_inet+set}" = set; then
7263 enableval
=$enable_fs_inet;
7264 if test "$enableval" = yes; then
7265 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7267 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7272 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7277 eval "$wx_cv_use_fs_inet"
7279 if test x"$enablestring" = xdisable; then
7280 if test $wxUSE_FS_INET = no; then
7286 result=$wxUSE_FS_INET
7289 { echo "$as_me:$LINENO: result: $result" >&5
7290 echo "${ECHO_T}$result" >&6; }
7294 defaultval=$wxUSE_ALL_FEATURES
7295 if test -z "$defaultval"; then
7296 if test x"$enablestring" = xdisable; then
7303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7304 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7305 # Check whether --enable-fs_zip was given.
7306 if test "${enable_fs_zip+set}" = set; then
7307 enableval=$enable_fs_zip;
7308 if test "$enableval" = yes; then
7309 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7311 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7316 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7321 eval "$wx_cv_use_fs_zip"
7323 if test x"$enablestring" = xdisable; then
7324 if test $wxUSE_FS_ZIP = no; then
7330 result=$wxUSE_FS_ZIP
7333 { echo "$as_me:$LINENO: result
: $result" >&5
7334 echo "${ECHO_T}$result" >&6; }
7338 defaultval=$wxUSE_ALL_FEATURES
7339 if test -z "$defaultval"; then
7340 if test x"$enablestring" = xdisable; then
7347 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7348 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7349 # Check whether --enable-fswatcher was given.
7350 if test "${enable_fswatcher+set}" = set; then
7351 enableval=$enable_fswatcher;
7352 if test "$enableval" = yes; then
7353 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7355 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7360 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7365 eval "$wx_cv_use_fswatcher"
7367 if test x
"$enablestring" = xdisable
; then
7368 if test $wxUSE_FSWATCHER = no
; then
7374 result
=$wxUSE_FSWATCHER
7377 { echo "$as_me:$LINENO: result: $result" >&5
7378 echo "${ECHO_T}$result" >&6; }
7382 defaultval
=$wxUSE_ALL_FEATURES
7383 if test -z "$defaultval"; then
7384 if test x
"$enablestring" = xdisable
; then
7391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7393 # Check whether --enable-geometry was given.
7394 if test "${enable_geometry+set}" = set; then
7395 enableval
=$enable_geometry;
7396 if test "$enableval" = yes; then
7397 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7399 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7404 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7409 eval "$wx_cv_use_geometry"
7411 if test x"$enablestring" = xdisable; then
7412 if test $wxUSE_GEOMETRY = no; then
7418 result=$wxUSE_GEOMETRY
7421 { echo "$as_me:$LINENO: result: $result" >&5
7422 echo "${ECHO_T}$result" >&6; }
7426 defaultval=$wxUSE_ALL_FEATURES
7427 if test -z "$defaultval"; then
7428 if test x"$enablestring" = xdisable; then
7435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7437 # Check whether --enable-log was given.
7438 if test "${enable_log+set}" = set; then
7439 enableval=$enable_log;
7440 if test "$enableval" = yes; then
7441 wx_cv_use_log='wxUSE_LOG
=yes'
7443 wx_cv_use_log='wxUSE_LOG
=no
'
7448 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7453 eval "$wx_cv_use_log"
7455 if test x"$enablestring" = xdisable; then
7456 if test $wxUSE_LOG = no; then
7465 { echo "$as_me:$LINENO: result
: $result" >&5
7466 echo "${ECHO_T}$result" >&6; }
7470 defaultval=$wxUSE_ALL_FEATURES
7471 if test -z "$defaultval"; then
7472 if test x"$enablestring" = xdisable; then
7479 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7480 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7481 # Check whether --enable-longlong was given.
7482 if test "${enable_longlong+set}" = set; then
7483 enableval=$enable_longlong;
7484 if test "$enableval" = yes; then
7485 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7487 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7492 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7497 eval "$wx_cv_use_longlong"
7499 if test x
"$enablestring" = xdisable
; then
7500 if test $wxUSE_LONGLONG = no
; then
7506 result
=$wxUSE_LONGLONG
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7514 defaultval
=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x
"$enablestring" = xdisable
; then
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7525 # Check whether --enable-mimetype was given.
7526 if test "${enable_mimetype+set}" = set; then
7527 enableval
=$enable_mimetype;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7531 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7536 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7541 eval "$wx_cv_use_mimetype"
7543 if test x"$enablestring" = xdisable; then
7544 if test $wxUSE_MIMETYPE = no; then
7550 result=$wxUSE_MIMETYPE
7553 { echo "$as_me:$LINENO: result: $result" >&5
7554 echo "${ECHO_T}$result" >&6; }
7558 defaultval=$wxUSE_ALL_FEATURES
7559 if test -z "$defaultval"; then
7560 if test x"$enablestring" = xdisable; then
7567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7569 # Check whether --enable-printfposparam was given.
7570 if test "${enable_printfposparam+set}" = set; then
7571 enableval=$enable_printfposparam;
7572 if test "$enableval" = yes; then
7573 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7575 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7580 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7585 eval "$wx_cv_use_printfposparam"
7587 if test x"$enablestring" = xdisable; then
7588 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7594 result=$wxUSE_PRINTF_POS_PARAMS
7597 { echo "$as_me:$LINENO: result
: $result" >&5
7598 echo "${ECHO_T}$result" >&6; }
7602 defaultval=$wxUSE_ALL_FEATURES
7603 if test -z "$defaultval"; then
7604 if test x"$enablestring" = xdisable; then
7611 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7612 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7613 # Check whether --enable-snglinst was given.
7614 if test "${enable_snglinst+set}" = set; then
7615 enableval=$enable_snglinst;
7616 if test "$enableval" = yes; then
7617 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7619 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7624 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7629 eval "$wx_cv_use_snglinst"
7631 if test x
"$enablestring" = xdisable
; then
7632 if test $wxUSE_SNGLINST_CHECKER = no
; then
7638 result
=$wxUSE_SNGLINST_CHECKER
7641 { echo "$as_me:$LINENO: result: $result" >&5
7642 echo "${ECHO_T}$result" >&6; }
7646 defaultval
=$wxUSE_ALL_FEATURES
7647 if test -z "$defaultval"; then
7648 if test x
"$enablestring" = xdisable
; then
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7657 # Check whether --enable-sound was given.
7658 if test "${enable_sound+set}" = set; then
7659 enableval
=$enable_sound;
7660 if test "$enableval" = yes; then
7661 wx_cv_use_sound
='wxUSE_SOUND=yes'
7663 wx_cv_use_sound
='wxUSE_SOUND=no'
7668 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7673 eval "$wx_cv_use_sound"
7675 if test x"$enablestring" = xdisable; then
7676 if test $wxUSE_SOUND = no; then
7685 { echo "$as_me:$LINENO: result: $result" >&5
7686 echo "${ECHO_T}$result" >&6; }
7690 defaultval=$wxUSE_ALL_FEATURES
7691 if test -z "$defaultval"; then
7692 if test x"$enablestring" = xdisable; then
7699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7701 # Check whether --enable-stdpaths was given.
7702 if test "${enable_stdpaths+set}" = set; then
7703 enableval=$enable_stdpaths;
7704 if test "$enableval" = yes; then
7705 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7707 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7712 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7717 eval "$wx_cv_use_stdpaths"
7719 if test x"$enablestring" = xdisable; then
7720 if test $wxUSE_STDPATHS = no; then
7726 result=$wxUSE_STDPATHS
7729 { echo "$as_me:$LINENO: result
: $result" >&5
7730 echo "${ECHO_T}$result" >&6; }
7734 defaultval=$wxUSE_ALL_FEATURES
7735 if test -z "$defaultval"; then
7736 if test x"$enablestring" = xdisable; then
7743 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7744 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7745 # Check whether --enable-stopwatch was given.
7746 if test "${enable_stopwatch+set}" = set; then
7747 enableval=$enable_stopwatch;
7748 if test "$enableval" = yes; then
7749 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7751 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7756 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7761 eval "$wx_cv_use_stopwatch"
7763 if test x
"$enablestring" = xdisable
; then
7764 if test $wxUSE_STOPWATCH = no
; then
7770 result
=$wxUSE_STOPWATCH
7773 { echo "$as_me:$LINENO: result: $result" >&5
7774 echo "${ECHO_T}$result" >&6; }
7778 defaultval
=$wxUSE_ALL_FEATURES
7779 if test -z "$defaultval"; then
7780 if test x
"$enablestring" = xdisable
; then
7787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7789 # Check whether --enable-streams was given.
7790 if test "${enable_streams+set}" = set; then
7791 enableval
=$enable_streams;
7792 if test "$enableval" = yes; then
7793 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7795 wx_cv_use_streams
='wxUSE_STREAMS=no'
7800 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7805 eval "$wx_cv_use_streams"
7807 if test x"$enablestring" = xdisable; then
7808 if test $wxUSE_STREAMS = no; then
7814 result=$wxUSE_STREAMS
7817 { echo "$as_me:$LINENO: result: $result" >&5
7818 echo "${ECHO_T}$result" >&6; }
7822 defaultval=$wxUSE_ALL_FEATURES
7823 if test -z "$defaultval"; then
7824 if test x"$enablestring" = xdisable; then
7831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7833 # Check whether --enable-sysoptions was given.
7834 if test "${enable_sysoptions+set}" = set; then
7835 enableval=$enable_sysoptions;
7836 if test "$enableval" = yes; then
7837 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7839 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7844 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7849 eval "$wx_cv_use_sysoptions"
7851 if test x"$enablestring" = xdisable; then
7852 if test $wxUSE_SYSTEM_OPTIONS = no; then
7858 result=$wxUSE_SYSTEM_OPTIONS
7861 { echo "$as_me:$LINENO: result
: $result" >&5
7862 echo "${ECHO_T}$result" >&6; }
7866 defaultval=$wxUSE_ALL_FEATURES
7867 if test -z "$defaultval"; then
7868 if test x"$enablestring" = xdisable; then
7875 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7876 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7877 # Check whether --enable-tarstream was given.
7878 if test "${enable_tarstream+set}" = set; then
7879 enableval=$enable_tarstream;
7880 if test "$enableval" = yes; then
7881 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7883 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7888 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7893 eval "$wx_cv_use_tarstream"
7895 if test x
"$enablestring" = xdisable
; then
7896 if test $wxUSE_TARSTREAM = no
; then
7902 result
=$wxUSE_TARSTREAM
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7910 defaultval
=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x
"$enablestring" = xdisable
; then
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7921 # Check whether --enable-textbuf was given.
7922 if test "${enable_textbuf+set}" = set; then
7923 enableval
=$enable_textbuf;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7927 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7932 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7937 eval "$wx_cv_use_textbuf"
7939 if test x"$enablestring" = xdisable; then
7940 if test $wxUSE_TEXTBUFFER = no; then
7946 result=$wxUSE_TEXTBUFFER
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7954 defaultval=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x"$enablestring" = xdisable; then
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7965 # Check whether --enable-textfile was given.
7966 if test "${enable_textfile+set}" = set; then
7967 enableval=$enable_textfile;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7971 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7976 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7981 eval "$wx_cv_use_textfile"
7983 if test x"$enablestring" = xdisable; then
7984 if test $wxUSE_TEXTFILE = no; then
7990 result=$wxUSE_TEXTFILE
7993 { echo "$as_me:$LINENO: result
: $result" >&5
7994 echo "${ECHO_T}$result" >&6; }
7998 defaultval=$wxUSE_ALL_FEATURES
7999 if test -z "$defaultval"; then
8000 if test x"$enablestring" = xdisable; then
8007 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8008 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8009 # Check whether --enable-timer was given.
8010 if test "${enable_timer+set}" = set; then
8011 enableval=$enable_timer;
8012 if test "$enableval" = yes; then
8013 wx_cv_use_timer='wxUSE_TIMER=yes'
8015 wx_cv_use_timer='wxUSE_TIMER=no'
8020 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8025 eval "$wx_cv_use_timer"
8027 if test x
"$enablestring" = xdisable
; then
8028 if test $wxUSE_TIMER = no
; then
8037 { echo "$as_me:$LINENO: result: $result" >&5
8038 echo "${ECHO_T}$result" >&6; }
8042 defaultval
=$wxUSE_ALL_FEATURES
8043 if test -z "$defaultval"; then
8044 if test x
"$enablestring" = xdisable
; then
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8053 # Check whether --enable-variant was given.
8054 if test "${enable_variant+set}" = set; then
8055 enableval
=$enable_variant;
8056 if test "$enableval" = yes; then
8057 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8059 wx_cv_use_variant
='wxUSE_VARIANT=no'
8064 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8069 eval "$wx_cv_use_variant"
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_VARIANT = no; then
8078 result=$wxUSE_VARIANT
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8086 defaultval=$wxUSE_ALL_FEATURES
8087 if test -z "$defaultval"; then
8088 if test x"$enablestring" = xdisable; then
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8097 # Check whether --enable-zipstream was given.
8098 if test "${enable_zipstream+set}" = set; then
8099 enableval=$enable_zipstream;
8100 if test "$enableval" = yes; then
8101 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8103 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8108 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8113 eval "$wx_cv_use_zipstream"
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_ZIPSTREAM = no; then
8122 result=$wxUSE_ZIPSTREAM
8125 { echo "$as_me:$LINENO: result
: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8131 defaultval=$wxUSE_ALL_FEATURES
8132 if test -z "$defaultval"; then
8133 if test x"$enablestring" = xdisable; then
8140 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8141 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8142 # Check whether --enable-url was given.
8143 if test "${enable_url+set}" = set; then
8144 enableval=$enable_url;
8145 if test "$enableval" = yes; then
8146 wx_cv_use_url='wxUSE_URL=yes'
8148 wx_cv_use_url='wxUSE_URL=no'
8153 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8158 eval "$wx_cv_use_url"
8160 if test x
"$enablestring" = xdisable
; then
8161 if test $wxUSE_URL = no
; then
8170 { echo "$as_me:$LINENO: result: $result" >&5
8171 echo "${ECHO_T}$result" >&6; }
8175 defaultval
=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x
"$enablestring" = xdisable
; then
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8186 # Check whether --enable-protocol was given.
8187 if test "${enable_protocol+set}" = set; then
8188 enableval
=$enable_protocol;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8192 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8197 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8202 eval "$wx_cv_use_protocol"
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_PROTOCOL = no; then
8211 result=$wxUSE_PROTOCOL
8214 { echo "$as_me:$LINENO: result: $result" >&5
8215 echo "${ECHO_T}$result" >&6; }
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8230 # Check whether --enable-protocol_http was given.
8231 if test "${enable_protocol_http+set}" = set; then
8232 enableval=$enable_protocol_http;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8236 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8241 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8246 eval "$wx_cv_use_protocol_http"
8248 if test x"$enablestring" = xdisable; then
8249 if test $wxUSE_PROTOCOL_HTTP = no; then
8255 result=$wxUSE_PROTOCOL_HTTP
8258 { echo "$as_me:$LINENO: result
: $result" >&5
8259 echo "${ECHO_T}$result" >&6; }
8263 defaultval=$wxUSE_ALL_FEATURES
8264 if test -z "$defaultval"; then
8265 if test x"$enablestring" = xdisable; then
8272 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8273 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8274 # Check whether --enable-protocol_ftp was given.
8275 if test "${enable_protocol_ftp+set}" = set; then
8276 enableval=$enable_protocol_ftp;
8277 if test "$enableval" = yes; then
8278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8280 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8285 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8290 eval "$wx_cv_use_protocol_ftp"
8292 if test x
"$enablestring" = xdisable
; then
8293 if test $wxUSE_PROTOCOL_FTP = no
; then
8299 result
=$wxUSE_PROTOCOL_FTP
8302 { echo "$as_me:$LINENO: result: $result" >&5
8303 echo "${ECHO_T}$result" >&6; }
8307 defaultval
=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x
"$enablestring" = xdisable
; then
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8318 # Check whether --enable-protocol_file was given.
8319 if test "${enable_protocol_file+set}" = set; then
8320 enableval
=$enable_protocol_file;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8324 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8329 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8334 eval "$wx_cv_use_protocol_file"
8336 if test x"$enablestring" = xdisable; then
8337 if test $wxUSE_PROTOCOL_FILE = no; then
8343 result=$wxUSE_PROTOCOL_FILE
8346 { echo "$as_me:$LINENO: result: $result" >&5
8347 echo "${ECHO_T}$result" >&6; }
8352 defaultval=$wxUSE_ALL_FEATURES
8353 if test -z "$defaultval"; then
8354 if test x"$enablestring" = xdisable; then
8361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8363 # Check whether --enable-threads was given.
8364 if test "${enable_threads+set}" = set; then
8365 enableval=$enable_threads;
8366 if test "$enableval" = yes; then
8367 wx_cv_use_threads='wxUSE_THREADS
=yes'
8369 wx_cv_use_threads='wxUSE_THREADS
=no
'
8374 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8379 eval "$wx_cv_use_threads"
8381 if test x"$enablestring" = xdisable; then
8382 if test $wxUSE_THREADS = no; then
8388 result=$wxUSE_THREADS
8391 { echo "$as_me:$LINENO: result
: $result" >&5
8392 echo "${ECHO_T}$result" >&6; }
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8407 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8408 # Check whether --enable-iniconf was given.
8409 if test "${enable_iniconf+set}" = set; then
8410 enableval=$enable_iniconf;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8414 wx_cv_use_iniconf='wxUSE_INICONF=no'
8419 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8424 eval "$wx_cv_use_iniconf"
8426 if test x
"$enablestring" = xdisable
; then
8427 if test $wxUSE_INICONF = no
; then
8433 result
=$wxUSE_INICONF
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval
=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x
"$enablestring" = xdisable
; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8452 # Check whether --enable-regkey was given.
8453 if test "${enable_regkey+set}" = set; then
8454 enableval
=$enable_regkey;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8458 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8463 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8468 eval "$wx_cv_use_regkey"
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_REGKEY = no; then
8477 result=$wxUSE_REGKEY
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8484 if test "$wxUSE_GUI" = "yes"; then
8489 defaultval=$wxUSE_ALL_FEATURES
8490 if test -z "$defaultval"; then
8491 if test x"$enablestring" = xdisable; then
8498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8500 # Check whether --enable-docview was given.
8501 if test "${enable_docview+set}" = set; then
8502 enableval=$enable_docview;
8503 if test "$enableval" = yes; then
8504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8506 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8511 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8516 eval "$wx_cv_use_docview"
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8525 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8528 { echo "$as_me:$LINENO: result
: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8533 defaultval=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8542 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8543 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8544 # Check whether --enable-help was given.
8545 if test "${enable_help+set}" = set; then
8546 enableval=$enable_help;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_help='wxUSE_HELP=yes'
8550 wx_cv_use_help='wxUSE_HELP=no'
8555 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8560 eval "$wx_cv_use_help"
8562 if test x
"$enablestring" = xdisable
; then
8563 if test $wxUSE_HELP = no
; then
8572 { echo "$as_me:$LINENO: result: $result" >&5
8573 echo "${ECHO_T}$result" >&6; }
8577 defaultval
=$wxUSE_ALL_FEATURES
8578 if test -z "$defaultval"; then
8579 if test x
"$enablestring" = xdisable
; then
8586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8588 # Check whether --enable-mshtmlhelp was given.
8589 if test "${enable_mshtmlhelp+set}" = set; then
8590 enableval
=$enable_mshtmlhelp;
8591 if test "$enableval" = yes; then
8592 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8594 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8599 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8604 eval "$wx_cv_use_mshtmlhelp"
8606 if test x"$enablestring" = xdisable; then
8607 if test $wxUSE_MS_HTML_HELP = no; then
8613 result=$wxUSE_MS_HTML_HELP
8616 { echo "$as_me:$LINENO: result: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8621 defaultval=$wxUSE_ALL_FEATURES
8622 if test -z "$defaultval"; then
8623 if test x"$enablestring" = xdisable; then
8630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8632 # Check whether --enable-html was given.
8633 if test "${enable_html+set}" = set; then
8634 enableval=$enable_html;
8635 if test "$enableval" = yes; then
8636 wx_cv_use_html='wxUSE_HTML
=yes'
8638 wx_cv_use_html='wxUSE_HTML
=no
'
8643 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8648 eval "$wx_cv_use_html"
8650 if test x"$enablestring" = xdisable; then
8651 if test $wxUSE_HTML = no; then
8660 { echo "$as_me:$LINENO: result
: $result" >&5
8661 echo "${ECHO_T}$result" >&6; }
8665 defaultval=$wxUSE_ALL_FEATURES
8666 if test -z "$defaultval"; then
8667 if test x"$enablestring" = xdisable; then
8674 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8675 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8676 # Check whether --enable-htmlhelp was given.
8677 if test "${enable_htmlhelp+set}" = set; then
8678 enableval=$enable_htmlhelp;
8679 if test "$enableval" = yes; then
8680 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8682 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8687 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8692 eval "$wx_cv_use_htmlhelp"
8694 if test x
"$enablestring" = xdisable
; then
8695 if test $wxUSE_WXHTML_HELP = no
; then
8701 result
=$wxUSE_WXHTML_HELP
8704 { echo "$as_me:$LINENO: result: $result" >&5
8705 echo "${ECHO_T}$result" >&6; }
8709 defaultval
=$wxUSE_ALL_FEATURES
8710 if test -z "$defaultval"; then
8711 if test x
"$enablestring" = xdisable
; then
8718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8720 # Check whether --enable-xrc was given.
8721 if test "${enable_xrc+set}" = set; then
8722 enableval
=$enable_xrc;
8723 if test "$enableval" = yes; then
8724 wx_cv_use_xrc
='wxUSE_XRC=yes'
8726 wx_cv_use_xrc
='wxUSE_XRC=no'
8731 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8736 eval "$wx_cv_use_xrc"
8738 if test x"$enablestring" = xdisable; then
8739 if test $wxUSE_XRC = no; then
8748 { echo "$as_me:$LINENO: result: $result" >&5
8749 echo "${ECHO_T}$result" >&6; }
8753 defaultval=$wxUSE_ALL_FEATURES
8754 if test -z "$defaultval"; then
8755 if test x"$enablestring" = xdisable; then
8762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8763 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8764 # Check whether --enable-aui was given.
8765 if test "${enable_aui+set}" = set; then
8766 enableval=$enable_aui;
8767 if test "$enableval" = yes; then
8768 wx_cv_use_aui='wxUSE_AUI
=yes'
8770 wx_cv_use_aui='wxUSE_AUI
=no
'
8775 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8780 eval "$wx_cv_use_aui"
8782 if test x"$enablestring" = xdisable; then
8783 if test $wxUSE_AUI = no; then
8792 { echo "$as_me:$LINENO: result
: $result" >&5
8793 echo "${ECHO_T}$result" >&6; }
8797 defaultval=$wxUSE_ALL_FEATURES
8798 if test -z "$defaultval"; then
8799 if test x"$enablestring" = xdisable; then
8806 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8807 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8808 # Check whether --enable-propgrid was given.
8809 if test "${enable_propgrid+set}" = set; then
8810 enableval=$enable_propgrid;
8811 if test "$enableval" = yes; then
8812 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8814 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8819 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8824 eval "$wx_cv_use_propgrid"
8826 if test x
"$enablestring" = xdisable
; then
8827 if test $wxUSE_PROPGRID = no
; then
8833 result
=$wxUSE_PROPGRID
8836 { echo "$as_me:$LINENO: result: $result" >&5
8837 echo "${ECHO_T}$result" >&6; }
8841 defaultval
=$wxUSE_ALL_FEATURES
8842 if test -z "$defaultval"; then
8843 if test x
"$enablestring" = xdisable
; then
8850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8852 # Check whether --enable-ribbon was given.
8853 if test "${enable_ribbon+set}" = set; then
8854 enableval
=$enable_ribbon;
8855 if test "$enableval" = yes; then
8856 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8858 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8863 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8868 eval "$wx_cv_use_ribbon"
8870 if test x"$enablestring" = xdisable; then
8871 if test $wxUSE_RIBBON = no; then
8877 result=$wxUSE_RIBBON
8880 { echo "$as_me:$LINENO: result: $result" >&5
8881 echo "${ECHO_T}$result" >&6; }
8885 defaultval=$wxUSE_ALL_FEATURES
8886 if test -z "$defaultval"; then
8887 if test x"$enablestring" = xdisable; then
8894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8896 # Check whether --enable-stc was given.
8897 if test "${enable_stc+set}" = set; then
8898 enableval=$enable_stc;
8899 if test "$enableval" = yes; then
8900 wx_cv_use_stc='wxUSE_STC
=yes'
8902 wx_cv_use_stc='wxUSE_STC
=no
'
8907 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8912 eval "$wx_cv_use_stc"
8914 if test x"$enablestring" = xdisable; then
8915 if test $wxUSE_STC = no; then
8924 { echo "$as_me:$LINENO: result
: $result" >&5
8925 echo "${ECHO_T}$result" >&6; }
8929 defaultval=$wxUSE_ALL_FEATURES
8930 if test -z "$defaultval"; then
8931 if test x"$enablestring" = xdisable; then
8938 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8939 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8940 # Check whether --enable-constraints was given.
8941 if test "${enable_constraints+set}" = set; then
8942 enableval=$enable_constraints;
8943 if test "$enableval" = yes; then
8944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8951 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8956 eval "$wx_cv_use_constraints"
8958 if test x
"$enablestring" = xdisable
; then
8959 if test $wxUSE_CONSTRAINTS = no
; then
8965 result
=$wxUSE_CONSTRAINTS
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8973 defaultval
=$wxUSE_ALL_FEATURES
8974 if test -z "$defaultval"; then
8975 if test x
"$enablestring" = xdisable
; then
8982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8984 # Check whether --enable-loggui was given.
8985 if test "${enable_loggui+set}" = set; then
8986 enableval
=$enable_loggui;
8987 if test "$enableval" = yes; then
8988 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8990 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8995 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9000 eval "$wx_cv_use_loggui"
9002 if test x"$enablestring" = xdisable; then
9003 if test $wxUSE_LOGGUI = no; then
9009 result=$wxUSE_LOGGUI
9012 { echo "$as_me:$LINENO: result: $result" >&5
9013 echo "${ECHO_T}$result" >&6; }
9017 defaultval=$wxUSE_ALL_FEATURES
9018 if test -z "$defaultval"; then
9019 if test x"$enablestring" = xdisable; then
9026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9028 # Check whether --enable-logwin was given.
9029 if test "${enable_logwin+set}" = set; then
9030 enableval=$enable_logwin;
9031 if test "$enableval" = yes; then
9032 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9034 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9039 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9044 eval "$wx_cv_use_logwin"
9046 if test x"$enablestring" = xdisable; then
9047 if test $wxUSE_LOGWINDOW = no; then
9053 result=$wxUSE_LOGWINDOW
9056 { echo "$as_me:$LINENO: result
: $result" >&5
9057 echo "${ECHO_T}$result" >&6; }
9061 defaultval=$wxUSE_ALL_FEATURES
9062 if test -z "$defaultval"; then
9063 if test x"$enablestring" = xdisable; then
9070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9071 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9072 # Check whether --enable-logdialog was given.
9073 if test "${enable_logdialog+set}" = set; then
9074 enableval=$enable_logdialog;
9075 if test "$enableval" = yes; then
9076 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9078 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9083 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9088 eval "$wx_cv_use_logdialog"
9090 if test x
"$enablestring" = xdisable
; then
9091 if test $wxUSE_LOGDIALOG = no
; then
9097 result
=$wxUSE_LOGDIALOG
9100 { echo "$as_me:$LINENO: result: $result" >&5
9101 echo "${ECHO_T}$result" >&6; }
9105 defaultval
=$wxUSE_ALL_FEATURES
9106 if test -z "$defaultval"; then
9107 if test x
"$enablestring" = xdisable
; then
9114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9116 # Check whether --enable-mdi was given.
9117 if test "${enable_mdi+set}" = set; then
9118 enableval
=$enable_mdi;
9119 if test "$enableval" = yes; then
9120 wx_cv_use_mdi
='wxUSE_MDI=yes'
9122 wx_cv_use_mdi
='wxUSE_MDI=no'
9127 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9132 eval "$wx_cv_use_mdi"
9134 if test x"$enablestring" = xdisable; then
9135 if test $wxUSE_MDI = no; then
9144 { echo "$as_me:$LINENO: result: $result" >&5
9145 echo "${ECHO_T}$result" >&6; }
9149 defaultval=$wxUSE_ALL_FEATURES
9150 if test -z "$defaultval"; then
9151 if test x"$enablestring" = xdisable; then
9158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9160 # Check whether --enable-mdidoc was given.
9161 if test "${enable_mdidoc+set}" = set; then
9162 enableval=$enable_mdidoc;
9163 if test "$enableval" = yes; then
9164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9166 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9171 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9176 eval "$wx_cv_use_mdidoc"
9178 if test x"$enablestring" = xdisable; then
9179 if test $wxUSE_MDI_ARCHITECTURE = no; then
9185 result=$wxUSE_MDI_ARCHITECTURE
9188 { echo "$as_me:$LINENO: result
: $result" >&5
9189 echo "${ECHO_T}$result" >&6; }
9193 defaultval=$wxUSE_ALL_FEATURES
9194 if test -z "$defaultval"; then
9195 if test x"$enablestring" = xdisable; then
9202 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9203 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9204 # Check whether --enable-mediactrl was given.
9205 if test "${enable_mediactrl+set}" = set; then
9206 enableval=$enable_mediactrl;
9207 if test "$enableval" = yes; then
9208 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9210 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9215 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9220 eval "$wx_cv_use_mediactrl"
9222 if test x
"$enablestring" = xdisable
; then
9223 if test $wxUSE_MEDIACTRL = no
; then
9229 result
=$wxUSE_MEDIACTRL
9232 { echo "$as_me:$LINENO: result: $result" >&5
9233 echo "${ECHO_T}$result" >&6; }
9237 defaultval
=$wxUSE_ALL_FEATURES
9238 if test -z "$defaultval"; then
9239 if test x
"$enablestring" = xdisable
; then
9246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9248 # Check whether --enable-gstreamer8 was given.
9249 if test "${enable_gstreamer8+set}" = set; then
9250 enableval
=$enable_gstreamer8;
9251 if test "$enableval" = yes; then
9252 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9254 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9259 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9264 eval "$wx_cv_use_gstreamer8"
9266 if test x"$enablestring" = xdisable; then
9267 if test $wxUSE_GSTREAMER8 = no; then
9273 result=$wxUSE_GSTREAMER8
9276 { echo "$as_me:$LINENO: result: $result" >&5
9277 echo "${ECHO_T}$result" >&6; }
9281 defaultval=$wxUSE_ALL_FEATURES
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9292 # Check whether --enable-webkit was given.
9293 if test "${enable_webkit+set}" = set; then
9294 enableval=$enable_webkit;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9298 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9303 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9308 eval "$wx_cv_use_webkit"
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_WEBKIT = no; then
9317 result=$wxUSE_WEBKIT
9320 { echo "$as_me:$LINENO: result
: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9325 defaultval=$wxUSE_ALL_FEATURES
9326 if test -z "$defaultval"; then
9327 if test x"$enablestring" = xdisable; then
9334 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9335 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9336 # Check whether --enable-richtext was given.
9337 if test "${enable_richtext+set}" = set; then
9338 enableval=$enable_richtext;
9339 if test "$enableval" = yes; then
9340 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9342 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9347 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9352 eval "$wx_cv_use_richtext"
9354 if test x
"$enablestring" = xdisable
; then
9355 if test $wxUSE_RICHTEXT = no
; then
9361 result
=$wxUSE_RICHTEXT
9364 { echo "$as_me:$LINENO: result: $result" >&5
9365 echo "${ECHO_T}$result" >&6; }
9369 defaultval
=$wxUSE_ALL_FEATURES
9370 if test -z "$defaultval"; then
9371 if test x
"$enablestring" = xdisable
; then
9378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9379 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9380 # Check whether --enable-postscript was given.
9381 if test "${enable_postscript+set}" = set; then
9382 enableval
=$enable_postscript;
9383 if test "$enableval" = yes; then
9384 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9386 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9391 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9396 eval "$wx_cv_use_postscript"
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_POSTSCRIPT = no; then
9405 result=$wxUSE_POSTSCRIPT
9408 { echo "$as_me:$LINENO: result: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9424 # Check whether --enable-printarch was given.
9425 if test "${enable_printarch+set}" = set; then
9426 enableval=$enable_printarch;
9427 if test "$enableval" = yes; then
9428 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9430 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9435 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9440 eval "$wx_cv_use_printarch"
9442 if test x"$enablestring" = xdisable; then
9443 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9449 result=$wxUSE_PRINTING_ARCHITECTURE
9452 { echo "$as_me:$LINENO: result
: $result" >&5
9453 echo "${ECHO_T}$result" >&6; }
9457 defaultval=$wxUSE_ALL_FEATURES
9458 if test -z "$defaultval"; then
9459 if test x"$enablestring" = xdisable; then
9466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9467 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9468 # Check whether --enable-svg was given.
9469 if test "${enable_svg+set}" = set; then
9470 enableval=$enable_svg;
9471 if test "$enableval" = yes; then
9472 wx_cv_use_svg='wxUSE_SVG=yes'
9474 wx_cv_use_svg='wxUSE_SVG=no'
9479 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9484 eval "$wx_cv_use_svg"
9486 if test x
"$enablestring" = xdisable
; then
9487 if test $wxUSE_SVG = no
; then
9496 { echo "$as_me:$LINENO: result: $result" >&5
9497 echo "${ECHO_T}$result" >&6; }
9500 if test "$wxUSE_MAC" != 1; then
9503 defaultval
=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x
"$enablestring" = xdisable
; then
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9514 # Check whether --enable-graphics_ctx was given.
9515 if test "${enable_graphics_ctx+set}" = set; then
9516 enableval
=$enable_graphics_ctx;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9520 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9525 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9530 eval "$wx_cv_use_graphics_ctx"
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9539 result=$wxUSE_GRAPHICS_CONTEXT
9542 { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9550 defaultval=$wxUSE_ALL_FEATURES
9551 if test -z "$defaultval"; then
9552 if test x"$enablestring" = xdisable; then
9559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9561 # Check whether --enable-clipboard was given.
9562 if test "${enable_clipboard+set}" = set; then
9563 enableval=$enable_clipboard;
9564 if test "$enableval" = yes; then
9565 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9567 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9572 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9577 eval "$wx_cv_use_clipboard"
9579 if test x"$enablestring" = xdisable; then
9580 if test $wxUSE_CLIPBOARD = no; then
9586 result=$wxUSE_CLIPBOARD
9589 { echo "$as_me:$LINENO: result
: $result" >&5
9590 echo "${ECHO_T}$result" >&6; }
9594 defaultval=$wxUSE_ALL_FEATURES
9595 if test -z "$defaultval"; then
9596 if test x"$enablestring" = xdisable; then
9603 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9604 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9605 # Check whether --enable-dnd was given.
9606 if test "${enable_dnd+set}" = set; then
9607 enableval=$enable_dnd;
9608 if test "$enableval" = yes; then
9609 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9611 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9616 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9621 eval "$wx_cv_use_dnd"
9623 if test x
"$enablestring" = xdisable
; then
9624 if test $wxUSE_DRAG_AND_DROP = no
; then
9630 result
=$wxUSE_DRAG_AND_DROP
9633 { echo "$as_me:$LINENO: result: $result" >&5
9634 echo "${ECHO_T}$result" >&6; }
9638 defaultval
=$wxUSE_ALL_FEATURES
9639 if test -z "$defaultval"; then
9640 if test x
"$enablestring" = xdisable
; then
9647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9648 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9649 # Check whether --enable-metafile was given.
9650 if test "${enable_metafile+set}" = set; then
9651 enableval
=$enable_metafile;
9652 if test "$enableval" = yes; then
9653 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9655 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9660 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9665 eval "$wx_cv_use_metafile"
9667 if test x"$enablestring" = xdisable; then
9668 if test $wxUSE_METAFILE = no; then
9674 result=$wxUSE_METAFILE
9677 { echo "$as_me:$LINENO: result: $result" >&5
9678 echo "${ECHO_T}$result" >&6; }
9682 DEFAULT_wxUSE_CONTROLS=none
9684 enablestring=disable
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9696 # Check whether --enable-controls was given.
9697 if test "${enable_controls+set}" = set; then
9698 enableval=$enable_controls;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9702 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9707 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9712 eval "$wx_cv_use_controls"
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CONTROLS = no; then
9721 result=$wxUSE_CONTROLS
9724 { echo "$as_me:$LINENO: result
: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9728 if test "$wxUSE_CONTROLS" = "no
"; then
9729 DEFAULT_wxUSE_ACCEL=no
9730 DEFAULT_wxUSE_ANIMATIONCTRL=no
9731 DEFAULT_wxUSE_BMPBUTTON=no
9732 DEFAULT_wxUSE_BUTTON=no
9733 DEFAULT_wxUSE_CALCTRL=no
9734 DEFAULT_wxUSE_CARET=no
9735 DEFAULT_wxUSE_CHECKBOX=no
9736 DEFAULT_wxUSE_CHECKLISTBOX=no
9737 DEFAULT_wxUSE_CHOICE=no
9738 DEFAULT_wxUSE_CHOICEBOOK=no
9739 DEFAULT_wxUSE_COLLPANE=no
9740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMBOBOX=no
9743 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9744 DEFAULT_wxUSE_DATAVIEWCTRL=no
9745 DEFAULT_wxUSE_DATEPICKCTRL=no
9746 DEFAULT_wxUSE_DETECT_SM=no
9747 DEFAULT_wxUSE_DIRPICKERCTRL=no
9748 DEFAULT_wxUSE_DISPLAY=no
9749 DEFAULT_wxUSE_FILECTRL=no
9750 DEFAULT_wxUSE_FILEPICKERCTRL=no
9751 DEFAULT_wxUSE_FONTPICKERCTRL=no
9752 DEFAULT_wxUSE_GAUGE=no
9753 DEFAULT_wxUSE_GRID=no
9754 DEFAULT_wxUSE_HEADERCTRL=no
9755 DEFAULT_wxUSE_HYPERLINKCTRL=no
9756 DEFAULT_wxUSE_IMAGLIST=no
9757 DEFAULT_wxUSE_LISTBOOK=no
9758 DEFAULT_wxUSE_LISTBOX=no
9759 DEFAULT_wxUSE_LISTCTRL=no
9760 DEFAULT_wxUSE_NOTEBOOK=no
9761 DEFAULT_wxUSE_POPUPWIN=no
9762 DEFAULT_wxUSE_RADIOBOX=no
9763 DEFAULT_wxUSE_RADIOBTN=no
9764 DEFAULT_wxUSE_RICHMSGDLG=no
9765 DEFAULT_wxUSE_REARRANGECTRL=no
9766 DEFAULT_wxUSE_SASH=no
9767 DEFAULT_wxUSE_SCROLLBAR=no
9768 DEFAULT_wxUSE_SEARCHCTRL=no
9769 DEFAULT_wxUSE_SLIDER=no
9770 DEFAULT_wxUSE_SPINBTN=no
9771 DEFAULT_wxUSE_SPINCTRL=no
9772 DEFAULT_wxUSE_SPLITTER=no
9773 DEFAULT_wxUSE_STATBMP=no
9774 DEFAULT_wxUSE_STATBOX=no
9775 DEFAULT_wxUSE_STATLINE=no
9776 DEFAULT_wxUSE_STATUSBAR=no
9777 DEFAULT_wxUSE_TIPWINDOW=no
9778 DEFAULT_wxUSE_TOGGLEBTN=no
9779 DEFAULT_wxUSE_TOOLBAR=no
9780 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9781 DEFAULT_wxUSE_TOOLBOOK=no
9782 DEFAULT_wxUSE_TOOLTIPS=no
9783 DEFAULT_wxUSE_TREEBOOK=no
9784 DEFAULT_wxUSE_TREECTRL=no
9789 defaultval=$wxUSE_ALL_FEATURES
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9798 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9799 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9800 # Check whether --enable-accel was given.
9801 if test "${enable_accel+set}" = set; then
9802 enableval=$enable_accel;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_accel='wxUSE_ACCEL=yes'
9806 wx_cv_use_accel='wxUSE_ACCEL=no'
9811 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9816 eval "$wx_cv_use_accel"
9818 if test x
"$enablestring" = xdisable
; then
9819 if test $wxUSE_ACCEL = no
; then
9828 { echo "$as_me:$LINENO: result: $result" >&5
9829 echo "${ECHO_T}$result" >&6; }
9833 defaultval
=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x
"$enablestring" = xdisable
; then
9842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9844 # Check whether --enable-animatectrl was given.
9845 if test "${enable_animatectrl+set}" = set; then
9846 enableval
=$enable_animatectrl;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9850 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9855 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9860 eval "$wx_cv_use_animatectrl"
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_ANIMATIONCTRL = no; then
9869 result=$wxUSE_ANIMATIONCTRL
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9888 # Check whether --enable-bmpbutton was given.
9889 if test "${enable_bmpbutton+set}" = set; then
9890 enableval=$enable_bmpbutton;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9894 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9899 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9904 eval "$wx_cv_use_bmpbutton"
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_BMPBUTTON = no; then
9913 result=$wxUSE_BMPBUTTON
9916 { echo "$as_me:$LINENO: result
: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9930 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9931 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9932 # Check whether --enable-bmpcombobox was given.
9933 if test "${enable_bmpcombobox+set}" = set; then
9934 enableval=$enable_bmpcombobox;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9938 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9943 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9948 eval "$wx_cv_use_bmpcombobox"
9950 if test x
"$enablestring" = xdisable
; then
9951 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9957 result
=$wxUSE_BITMAPCOMBOBOX
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9965 defaultval
=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x
"$enablestring" = xdisable
; then
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9976 # Check whether --enable-button was given.
9977 if test "${enable_button+set}" = set; then
9978 enableval
=$enable_button;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_button
='wxUSE_BUTTON=yes'
9982 wx_cv_use_button
='wxUSE_BUTTON=no'
9987 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9992 eval "$wx_cv_use_button"
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_BUTTON = no; then
10001 result=$wxUSE_BUTTON
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10009 defaultval=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x"$enablestring" = xdisable; then
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10020 # Check whether --enable-calendar was given.
10021 if test "${enable_calendar+set}" = set; then
10022 enableval=$enable_calendar;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10026 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10031 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10036 eval "$wx_cv_use_calendar"
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_CALCTRL = no; then
10045 result=$wxUSE_CALCTRL
10048 { echo "$as_me:$LINENO: result
: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10062 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10063 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10064 # Check whether --enable-caret was given.
10065 if test "${enable_caret+set}" = set; then
10066 enableval=$enable_caret;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_caret='wxUSE_CARET=yes'
10070 wx_cv_use_caret='wxUSE_CARET=no'
10075 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10080 eval "$wx_cv_use_caret"
10082 if test x
"$enablestring" = xdisable
; then
10083 if test $wxUSE_CARET = no
; then
10089 result
=$wxUSE_CARET
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10097 defaultval
=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x
"$enablestring" = xdisable
; then
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10108 # Check whether --enable-checkbox was given.
10109 if test "${enable_checkbox+set}" = set; then
10110 enableval
=$enable_checkbox;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10114 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10119 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10124 eval "$wx_cv_use_checkbox"
10126 if test x"$enablestring" = xdisable; then
10127 if test $wxUSE_CHECKBOX = no; then
10133 result=$wxUSE_CHECKBOX
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10141 defaultval=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x"$enablestring" = xdisable; then
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10152 # Check whether --enable-checklst was given.
10153 if test "${enable_checklst+set}" = set; then
10154 enableval=$enable_checklst;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10158 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10163 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10168 eval "$wx_cv_use_checklst"
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_CHECKLST = no; then
10177 result=$wxUSE_CHECKLST
10180 { echo "$as_me:$LINENO: result
: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10194 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10195 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10196 # Check whether --enable-choice was given.
10197 if test "${enable_choice+set}" = set; then
10198 enableval=$enable_choice;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_choice='wxUSE_CHOICE=yes'
10202 wx_cv_use_choice='wxUSE_CHOICE=no'
10207 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10212 eval "$wx_cv_use_choice"
10214 if test x
"$enablestring" = xdisable
; then
10215 if test $wxUSE_CHOICE = no
; then
10221 result
=$wxUSE_CHOICE
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10229 defaultval
=$wxUSE_ALL_FEATURES
10230 if test -z "$defaultval"; then
10231 if test x
"$enablestring" = xdisable
; then
10238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10240 # Check whether --enable-choicebook was given.
10241 if test "${enable_choicebook+set}" = set; then
10242 enableval
=$enable_choicebook;
10243 if test "$enableval" = yes; then
10244 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10246 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10251 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10256 eval "$wx_cv_use_choicebook"
10258 if test x"$enablestring" = xdisable; then
10259 if test $wxUSE_CHOICEBOOK = no; then
10265 result=$wxUSE_CHOICEBOOK
10268 { echo "$as_me:$LINENO: result: $result" >&5
10269 echo "${ECHO_T}$result" >&6; }
10273 defaultval=$wxUSE_ALL_FEATURES
10274 if test -z "$defaultval"; then
10275 if test x"$enablestring" = xdisable; then
10282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10284 # Check whether --enable-collpane was given.
10285 if test "${enable_collpane+set}" = set; then
10286 enableval=$enable_collpane;
10287 if test "$enableval" = yes; then
10288 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10290 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10295 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10300 eval "$wx_cv_use_collpane"
10302 if test x"$enablestring" = xdisable; then
10303 if test $wxUSE_COLLPANE = no; then
10309 result=$wxUSE_COLLPANE
10312 { echo "$as_me:$LINENO: result
: $result" >&5
10313 echo "${ECHO_T}$result" >&6; }
10317 defaultval=$wxUSE_ALL_FEATURES
10318 if test -z "$defaultval"; then
10319 if test x"$enablestring" = xdisable; then
10326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10327 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10328 # Check whether --enable-colourpicker was given.
10329 if test "${enable_colourpicker+set}" = set; then
10330 enableval=$enable_colourpicker;
10331 if test "$enableval" = yes; then
10332 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10334 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10339 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10344 eval "$wx_cv_use_colourpicker"
10346 if test x
"$enablestring" = xdisable
; then
10347 if test $wxUSE_COLOURPICKERCTRL = no
; then
10353 result
=$wxUSE_COLOURPICKERCTRL
10356 { echo "$as_me:$LINENO: result: $result" >&5
10357 echo "${ECHO_T}$result" >&6; }
10361 defaultval
=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x
"$enablestring" = xdisable
; then
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10372 # Check whether --enable-combobox was given.
10373 if test "${enable_combobox+set}" = set; then
10374 enableval
=$enable_combobox;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10378 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10383 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10388 eval "$wx_cv_use_combobox"
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_COMBOBOX = no; then
10397 result=$wxUSE_COMBOBOX
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10405 defaultval=$wxUSE_ALL_FEATURES
10406 if test -z "$defaultval"; then
10407 if test x"$enablestring" = xdisable; then
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10416 # Check whether --enable-comboctrl was given.
10417 if test "${enable_comboctrl+set}" = set; then
10418 enableval=$enable_comboctrl;
10419 if test "$enableval" = yes; then
10420 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10422 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10427 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10432 eval "$wx_cv_use_comboctrl"
10434 if test x"$enablestring" = xdisable; then
10435 if test $wxUSE_COMBOCTRL = no; then
10441 result=$wxUSE_COMBOCTRL
10444 { echo "$as_me:$LINENO: result
: $result" >&5
10445 echo "${ECHO_T}$result" >&6; }
10449 defaultval=$wxUSE_ALL_FEATURES
10450 if test -z "$defaultval"; then
10451 if test x"$enablestring" = xdisable; then
10458 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10459 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10460 # Check whether --enable-commandlinkbutton was given.
10461 if test "${enable_commandlinkbutton+set}" = set; then
10462 enableval=$enable_commandlinkbutton;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10466 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10471 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10476 eval "$wx_cv_use_commandlinkbutton"
10478 if test x
"$enablestring" = xdisable
; then
10479 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10485 result
=$wxUSE_COMMANDLINKBUTTON
10488 { echo "$as_me:$LINENO: result: $result" >&5
10489 echo "${ECHO_T}$result" >&6; }
10493 defaultval
=$wxUSE_ALL_FEATURES
10494 if test -z "$defaultval"; then
10495 if test x
"$enablestring" = xdisable
; then
10502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10504 # Check whether --enable-dataviewctrl was given.
10505 if test "${enable_dataviewctrl+set}" = set; then
10506 enableval
=$enable_dataviewctrl;
10507 if test "$enableval" = yes; then
10508 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10510 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10515 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10520 eval "$wx_cv_use_dataviewctrl"
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_DATAVIEWCTRL = no; then
10529 result=$wxUSE_DATAVIEWCTRL
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10548 # Check whether --enable-datepick was given.
10549 if test "${enable_datepick+set}" = set; then
10550 enableval=$enable_datepick;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10554 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10559 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10564 eval "$wx_cv_use_datepick"
10566 if test x"$enablestring" = xdisable; then
10567 if test $wxUSE_DATEPICKCTRL = no; then
10573 result=$wxUSE_DATEPICKCTRL
10576 { echo "$as_me:$LINENO: result
: $result" >&5
10577 echo "${ECHO_T}$result" >&6; }
10581 defaultval=$wxUSE_ALL_FEATURES
10582 if test -z "$defaultval"; then
10583 if test x"$enablestring" = xdisable; then
10590 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10591 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10592 # Check whether --enable-detect_sm was given.
10593 if test "${enable_detect_sm+set}" = set; then
10594 enableval=$enable_detect_sm;
10595 if test "$enableval" = yes; then
10596 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10598 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10603 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10608 eval "$wx_cv_use_detect_sm"
10610 if test x
"$enablestring" = xdisable
; then
10611 if test $wxUSE_DETECT_SM = no
; then
10617 result
=$wxUSE_DETECT_SM
10620 { echo "$as_me:$LINENO: result: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10625 defaultval
=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x
"$enablestring" = xdisable
; then
10634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10635 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10636 # Check whether --enable-dirpicker was given.
10637 if test "${enable_dirpicker+set}" = set; then
10638 enableval
=$enable_dirpicker;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10642 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10647 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10652 eval "$wx_cv_use_dirpicker"
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_DIRPICKERCTRL = no; then
10661 result=$wxUSE_DIRPICKERCTRL
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10680 # Check whether --enable-display was given.
10681 if test "${enable_display+set}" = set; then
10682 enableval=$enable_display;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10686 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10691 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10696 eval "$wx_cv_use_display"
10698 if test x"$enablestring" = xdisable; then
10699 if test $wxUSE_DISPLAY = no; then
10705 result=$wxUSE_DISPLAY
10708 { echo "$as_me:$LINENO: result
: $result" >&5
10709 echo "${ECHO_T}$result" >&6; }
10713 defaultval=$wxUSE_ALL_FEATURES
10714 if test -z "$defaultval"; then
10715 if test x"$enablestring" = xdisable; then
10722 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10723 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10724 # Check whether --enable-editablebox was given.
10725 if test "${enable_editablebox+set}" = set; then
10726 enableval=$enable_editablebox;
10727 if test "$enableval" = yes; then
10728 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10730 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10735 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10740 eval "$wx_cv_use_editablebox"
10742 if test x
"$enablestring" = xdisable
; then
10743 if test $wxUSE_EDITABLELISTBOX = no
; then
10749 result
=$wxUSE_EDITABLELISTBOX
10752 { echo "$as_me:$LINENO: result: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10757 defaultval
=$wxUSE_ALL_FEATURES
10758 if test -z "$defaultval"; then
10759 if test x
"$enablestring" = xdisable
; then
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10768 # Check whether --enable-filectrl was given.
10769 if test "${enable_filectrl+set}" = set; then
10770 enableval
=$enable_filectrl;
10771 if test "$enableval" = yes; then
10772 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10774 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10779 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10784 eval "$wx_cv_use_filectrl"
10786 if test x"$enablestring" = xdisable; then
10787 if test $wxUSE_FILECTRL = no; then
10793 result=$wxUSE_FILECTRL
10796 { echo "$as_me:$LINENO: result: $result" >&5
10797 echo "${ECHO_T}$result" >&6; }
10801 defaultval=$wxUSE_ALL_FEATURES
10802 if test -z "$defaultval"; then
10803 if test x"$enablestring" = xdisable; then
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10812 # Check whether --enable-filepicker was given.
10813 if test "${enable_filepicker+set}" = set; then
10814 enableval=$enable_filepicker;
10815 if test "$enableval" = yes; then
10816 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10818 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10823 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10828 eval "$wx_cv_use_filepicker"
10830 if test x"$enablestring" = xdisable; then
10831 if test $wxUSE_FILEPICKERCTRL = no; then
10837 result=$wxUSE_FILEPICKERCTRL
10840 { echo "$as_me:$LINENO: result
: $result" >&5
10841 echo "${ECHO_T}$result" >&6; }
10845 defaultval=$wxUSE_ALL_FEATURES
10846 if test -z "$defaultval"; then
10847 if test x"$enablestring" = xdisable; then
10854 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10855 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10856 # Check whether --enable-fontpicker was given.
10857 if test "${enable_fontpicker+set}" = set; then
10858 enableval=$enable_fontpicker;
10859 if test "$enableval" = yes; then
10860 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10862 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10867 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10872 eval "$wx_cv_use_fontpicker"
10874 if test x
"$enablestring" = xdisable
; then
10875 if test $wxUSE_FONTPICKERCTRL = no
; then
10881 result
=$wxUSE_FONTPICKERCTRL
10884 { echo "$as_me:$LINENO: result: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10889 defaultval
=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x
"$enablestring" = xdisable
; then
10898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10899 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10900 # Check whether --enable-gauge was given.
10901 if test "${enable_gauge+set}" = set; then
10902 enableval
=$enable_gauge;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10906 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10911 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10916 eval "$wx_cv_use_gauge"
10918 if test x"$enablestring" = xdisable; then
10919 if test $wxUSE_GAUGE = no; then
10925 result=$wxUSE_GAUGE
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10944 # Check whether --enable-grid was given.
10945 if test "${enable_grid+set}" = set; then
10946 enableval=$enable_grid;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_grid='wxUSE_GRID
=yes'
10950 wx_cv_use_grid='wxUSE_GRID
=no
'
10955 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10960 eval "$wx_cv_use_grid"
10962 if test x"$enablestring" = xdisable; then
10963 if test $wxUSE_GRID = no; then
10972 { echo "$as_me:$LINENO: result
: $result" >&5
10973 echo "${ECHO_T}$result" >&6; }
10977 defaultval=$wxUSE_ALL_FEATURES
10978 if test -z "$defaultval"; then
10979 if test x"$enablestring" = xdisable; then
10986 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
10987 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
10988 # Check whether --enable-headerctrl was given.
10989 if test "${enable_headerctrl+set}" = set; then
10990 enableval=$enable_headerctrl;
10991 if test "$enableval" = yes; then
10992 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10994 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10999 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11004 eval "$wx_cv_use_headerctrl"
11006 if test x
"$enablestring" = xdisable
; then
11007 if test $wxUSE_HEADERCTRL = no
; then
11013 result
=$wxUSE_HEADERCTRL
11016 { echo "$as_me:$LINENO: result: $result" >&5
11017 echo "${ECHO_T}$result" >&6; }
11021 defaultval
=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x
"$enablestring" = xdisable
; then
11030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11032 # Check whether --enable-hyperlink was given.
11033 if test "${enable_hyperlink+set}" = set; then
11034 enableval
=$enable_hyperlink;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11038 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11043 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11048 eval "$wx_cv_use_hyperlink"
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_HYPERLINKCTRL = no; then
11057 result=$wxUSE_HYPERLINKCTRL
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11076 # Check whether --enable-imaglist was given.
11077 if test "${enable_imaglist+set}" = set; then
11078 enableval=$enable_imaglist;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11082 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11087 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11092 eval "$wx_cv_use_imaglist"
11094 if test x"$enablestring" = xdisable; then
11095 if test $wxUSE_IMAGLIST = no; then
11101 result=$wxUSE_IMAGLIST
11104 { echo "$as_me:$LINENO: result
: $result" >&5
11105 echo "${ECHO_T}$result" >&6; }
11109 defaultval=$wxUSE_ALL_FEATURES
11110 if test -z "$defaultval"; then
11111 if test x"$enablestring" = xdisable; then
11118 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11119 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11120 # Check whether --enable-infobar was given.
11121 if test "${enable_infobar+set}" = set; then
11122 enableval=$enable_infobar;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11126 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11131 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11136 eval "$wx_cv_use_infobar"
11138 if test x
"$enablestring" = xdisable
; then
11139 if test $wxUSE_INFOBAR = no
; then
11145 result
=$wxUSE_INFOBAR
11148 { echo "$as_me:$LINENO: result: $result" >&5
11149 echo "${ECHO_T}$result" >&6; }
11153 defaultval
=$wxUSE_ALL_FEATURES
11154 if test -z "$defaultval"; then
11155 if test x
"$enablestring" = xdisable
; then
11162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11164 # Check whether --enable-listbook was given.
11165 if test "${enable_listbook+set}" = set; then
11166 enableval
=$enable_listbook;
11167 if test "$enableval" = yes; then
11168 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11170 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11175 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11180 eval "$wx_cv_use_listbook"
11182 if test x"$enablestring" = xdisable; then
11183 if test $wxUSE_LISTBOOK = no; then
11189 result=$wxUSE_LISTBOOK
11192 { echo "$as_me:$LINENO: result: $result" >&5
11193 echo "${ECHO_T}$result" >&6; }
11197 defaultval=$wxUSE_ALL_FEATURES
11198 if test -z "$defaultval"; then
11199 if test x"$enablestring" = xdisable; then
11206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11208 # Check whether --enable-listbox was given.
11209 if test "${enable_listbox+set}" = set; then
11210 enableval=$enable_listbox;
11211 if test "$enableval" = yes; then
11212 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11214 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11219 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11224 eval "$wx_cv_use_listbox"
11226 if test x"$enablestring" = xdisable; then
11227 if test $wxUSE_LISTBOX = no; then
11233 result=$wxUSE_LISTBOX
11236 { echo "$as_me:$LINENO: result
: $result" >&5
11237 echo "${ECHO_T}$result" >&6; }
11241 defaultval=$wxUSE_ALL_FEATURES
11242 if test -z "$defaultval"; then
11243 if test x"$enablestring" = xdisable; then
11250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11251 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11252 # Check whether --enable-listctrl was given.
11253 if test "${enable_listctrl+set}" = set; then
11254 enableval=$enable_listctrl;
11255 if test "$enableval" = yes; then
11256 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11258 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11263 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11268 eval "$wx_cv_use_listctrl"
11270 if test x
"$enablestring" = xdisable
; then
11271 if test $wxUSE_LISTCTRL = no
; then
11277 result
=$wxUSE_LISTCTRL
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11285 defaultval
=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x
"$enablestring" = xdisable
; then
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11296 # Check whether --enable-notebook was given.
11297 if test "${enable_notebook+set}" = set; then
11298 enableval
=$enable_notebook;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11302 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11307 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11312 eval "$wx_cv_use_notebook"
11314 if test x"$enablestring" = xdisable; then
11315 if test $wxUSE_NOTEBOOK = no; then
11321 result=$wxUSE_NOTEBOOK
11324 { echo "$as_me:$LINENO: result: $result" >&5
11325 echo "${ECHO_T}$result" >&6; }
11329 defaultval=$wxUSE_ALL_FEATURES
11330 if test -z "$defaultval"; then
11331 if test x"$enablestring" = xdisable; then
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11340 # Check whether --enable-notifmsg was given.
11341 if test "${enable_notifmsg+set}" = set; then
11342 enableval=$enable_notifmsg;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11346 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11351 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11356 eval "$wx_cv_use_notifmsg"
11358 if test x"$enablestring" = xdisable; then
11359 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11365 result=$wxUSE_NOTIFICATION_MESSAGE
11368 { echo "$as_me:$LINENO: result
: $result" >&5
11369 echo "${ECHO_T}$result" >&6; }
11373 defaultval=$wxUSE_ALL_FEATURES
11374 if test -z "$defaultval"; then
11375 if test x"$enablestring" = xdisable; then
11382 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11383 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11384 # Check whether --enable-odcombobox was given.
11385 if test "${enable_odcombobox+set}" = set; then
11386 enableval=$enable_odcombobox;
11387 if test "$enableval" = yes; then
11388 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11390 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11395 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11400 eval "$wx_cv_use_odcombobox"
11402 if test x
"$enablestring" = xdisable
; then
11403 if test $wxUSE_ODCOMBOBOX = no
; then
11409 result
=$wxUSE_ODCOMBOBOX
11412 { echo "$as_me:$LINENO: result: $result" >&5
11413 echo "${ECHO_T}$result" >&6; }
11417 defaultval
=$wxUSE_ALL_FEATURES
11418 if test -z "$defaultval"; then
11419 if test x
"$enablestring" = xdisable
; then
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11428 # Check whether --enable-popupwin was given.
11429 if test "${enable_popupwin+set}" = set; then
11430 enableval
=$enable_popupwin;
11431 if test "$enableval" = yes; then
11432 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11434 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11439 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11444 eval "$wx_cv_use_popupwin"
11446 if test x"$enablestring" = xdisable; then
11447 if test $wxUSE_POPUPWIN = no; then
11453 result=$wxUSE_POPUPWIN
11456 { echo "$as_me:$LINENO: result: $result" >&5
11457 echo "${ECHO_T}$result" >&6; }
11461 defaultval=$wxUSE_ALL_FEATURES
11462 if test -z "$defaultval"; then
11463 if test x"$enablestring" = xdisable; then
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11472 # Check whether --enable-radiobox was given.
11473 if test "${enable_radiobox+set}" = set; then
11474 enableval=$enable_radiobox;
11475 if test "$enableval" = yes; then
11476 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11478 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11483 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11488 eval "$wx_cv_use_radiobox"
11490 if test x"$enablestring" = xdisable; then
11491 if test $wxUSE_RADIOBOX = no; then
11497 result=$wxUSE_RADIOBOX
11500 { echo "$as_me:$LINENO: result
: $result" >&5
11501 echo "${ECHO_T}$result" >&6; }
11505 defaultval=$wxUSE_ALL_FEATURES
11506 if test -z "$defaultval"; then
11507 if test x"$enablestring" = xdisable; then
11514 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11515 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11516 # Check whether --enable-radiobtn was given.
11517 if test "${enable_radiobtn+set}" = set; then
11518 enableval=$enable_radiobtn;
11519 if test "$enableval" = yes; then
11520 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11522 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11527 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11532 eval "$wx_cv_use_radiobtn"
11534 if test x
"$enablestring" = xdisable
; then
11535 if test $wxUSE_RADIOBTN = no
; then
11541 result
=$wxUSE_RADIOBTN
11544 { echo "$as_me:$LINENO: result: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11549 defaultval
=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x
"$enablestring" = xdisable
; then
11558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11560 # Check whether --enable-richmsgdlg was given.
11561 if test "${enable_richmsgdlg+set}" = set; then
11562 enableval
=$enable_richmsgdlg;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11566 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11571 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11576 eval "$wx_cv_use_richmsgdlg"
11578 if test x"$enablestring" = xdisable; then
11579 if test $wxUSE_RICHMSGDLG = no; then
11585 result=$wxUSE_RICHMSGDLG
11588 { echo "$as_me:$LINENO: result: $result" >&5
11589 echo "${ECHO_T}$result" >&6; }
11593 defaultval=$wxUSE_ALL_FEATURES
11594 if test -z "$defaultval"; then
11595 if test x"$enablestring" = xdisable; then
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11604 # Check whether --enable-rearrangectrl was given.
11605 if test "${enable_rearrangectrl+set}" = set; then
11606 enableval=$enable_rearrangectrl;
11607 if test "$enableval" = yes; then
11608 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11610 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11615 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11620 eval "$wx_cv_use_rearrangectrl"
11622 if test x"$enablestring" = xdisable; then
11623 if test $wxUSE_REARRANGECTRL = no; then
11629 result=$wxUSE_REARRANGECTRL
11632 { echo "$as_me:$LINENO: result
: $result" >&5
11633 echo "${ECHO_T}$result" >&6; }
11637 defaultval=$wxUSE_ALL_FEATURES
11638 if test -z "$defaultval"; then
11639 if test x"$enablestring" = xdisable; then
11646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11647 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11648 # Check whether --enable-sash was given.
11649 if test "${enable_sash+set}" = set; then
11650 enableval=$enable_sash;
11651 if test "$enableval" = yes; then
11652 wx_cv_use_sash='wxUSE_SASH=yes'
11654 wx_cv_use_sash='wxUSE_SASH=no'
11659 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11664 eval "$wx_cv_use_sash"
11666 if test x
"$enablestring" = xdisable
; then
11667 if test $wxUSE_SASH = no
; then
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11681 defaultval
=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x
"$enablestring" = xdisable
; then
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11692 # Check whether --enable-scrollbar was given.
11693 if test "${enable_scrollbar+set}" = set; then
11694 enableval
=$enable_scrollbar;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11698 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11703 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11708 eval "$wx_cv_use_scrollbar"
11710 if test x"$enablestring" = xdisable; then
11711 if test $wxUSE_SCROLLBAR = no; then
11717 result=$wxUSE_SCROLLBAR
11720 { echo "$as_me:$LINENO: result: $result" >&5
11721 echo "${ECHO_T}$result" >&6; }
11725 defaultval=$wxUSE_ALL_FEATURES
11726 if test -z "$defaultval"; then
11727 if test x"$enablestring" = xdisable; then
11734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11735 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11736 # Check whether --enable-searchctrl was given.
11737 if test "${enable_searchctrl+set}" = set; then
11738 enableval=$enable_searchctrl;
11739 if test "$enableval" = yes; then
11740 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11742 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11747 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11752 eval "$wx_cv_use_searchctrl"
11754 if test x"$enablestring" = xdisable; then
11755 if test $wxUSE_SEARCHCTRL = no; then
11761 result=$wxUSE_SEARCHCTRL
11764 { echo "$as_me:$LINENO: result
: $result" >&5
11765 echo "${ECHO_T}$result" >&6; }
11769 defaultval=$wxUSE_ALL_FEATURES
11770 if test -z "$defaultval"; then
11771 if test x"$enablestring" = xdisable; then
11778 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11779 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11780 # Check whether --enable-slider was given.
11781 if test "${enable_slider+set}" = set; then
11782 enableval=$enable_slider;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_slider='wxUSE_SLIDER=yes'
11786 wx_cv_use_slider='wxUSE_SLIDER=no'
11791 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11796 eval "$wx_cv_use_slider"
11798 if test x
"$enablestring" = xdisable
; then
11799 if test $wxUSE_SLIDER = no
; then
11805 result
=$wxUSE_SLIDER
11808 { echo "$as_me:$LINENO: result: $result" >&5
11809 echo "${ECHO_T}$result" >&6; }
11813 defaultval
=$wxUSE_ALL_FEATURES
11814 if test -z "$defaultval"; then
11815 if test x
"$enablestring" = xdisable
; then
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11824 # Check whether --enable-spinbtn was given.
11825 if test "${enable_spinbtn+set}" = set; then
11826 enableval
=$enable_spinbtn;
11827 if test "$enableval" = yes; then
11828 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11830 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11835 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11840 eval "$wx_cv_use_spinbtn"
11842 if test x"$enablestring" = xdisable; then
11843 if test $wxUSE_SPINBTN = no; then
11849 result=$wxUSE_SPINBTN
11852 { echo "$as_me:$LINENO: result: $result" >&5
11853 echo "${ECHO_T}$result" >&6; }
11857 defaultval=$wxUSE_ALL_FEATURES
11858 if test -z "$defaultval"; then
11859 if test x"$enablestring" = xdisable; then
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11868 # Check whether --enable-spinctrl was given.
11869 if test "${enable_spinctrl+set}" = set; then
11870 enableval=$enable_spinctrl;
11871 if test "$enableval" = yes; then
11872 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11874 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11879 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11884 eval "$wx_cv_use_spinctrl"
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_SPINCTRL = no; then
11893 result=$wxUSE_SPINCTRL
11896 { echo "$as_me:$LINENO: result
: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11910 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11911 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11912 # Check whether --enable-splitter was given.
11913 if test "${enable_splitter+set}" = set; then
11914 enableval=$enable_splitter;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11918 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11923 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11928 eval "$wx_cv_use_splitter"
11930 if test x
"$enablestring" = xdisable
; then
11931 if test $wxUSE_SPLITTER = no
; then
11937 result
=$wxUSE_SPLITTER
11940 { echo "$as_me:$LINENO: result: $result" >&5
11941 echo "${ECHO_T}$result" >&6; }
11945 defaultval
=$wxUSE_ALL_FEATURES
11946 if test -z "$defaultval"; then
11947 if test x
"$enablestring" = xdisable
; then
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11956 # Check whether --enable-statbmp was given.
11957 if test "${enable_statbmp+set}" = set; then
11958 enableval
=$enable_statbmp;
11959 if test "$enableval" = yes; then
11960 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11962 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11967 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11972 eval "$wx_cv_use_statbmp"
11974 if test x"$enablestring" = xdisable; then
11975 if test $wxUSE_STATBMP = no; then
11981 result=$wxUSE_STATBMP
11984 { echo "$as_me:$LINENO: result: $result" >&5
11985 echo "${ECHO_T}$result" >&6; }
11989 defaultval=$wxUSE_ALL_FEATURES
11990 if test -z "$defaultval"; then
11991 if test x"$enablestring" = xdisable; then
11998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11999 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12000 # Check whether --enable-statbox was given.
12001 if test "${enable_statbox+set}" = set; then
12002 enableval=$enable_statbox;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12006 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12011 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12016 eval "$wx_cv_use_statbox"
12018 if test x"$enablestring" = xdisable; then
12019 if test $wxUSE_STATBOX = no; then
12025 result=$wxUSE_STATBOX
12028 { echo "$as_me:$LINENO: result
: $result" >&5
12029 echo "${ECHO_T}$result" >&6; }
12033 defaultval=$wxUSE_ALL_FEATURES
12034 if test -z "$defaultval"; then
12035 if test x"$enablestring" = xdisable; then
12042 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12043 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12044 # Check whether --enable-statline was given.
12045 if test "${enable_statline+set}" = set; then
12046 enableval=$enable_statline;
12047 if test "$enableval" = yes; then
12048 wx_cv_use_statline='wxUSE_STATLINE=yes'
12050 wx_cv_use_statline='wxUSE_STATLINE=no'
12055 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12060 eval "$wx_cv_use_statline"
12062 if test x
"$enablestring" = xdisable
; then
12063 if test $wxUSE_STATLINE = no
; then
12069 result
=$wxUSE_STATLINE
12072 { echo "$as_me:$LINENO: result: $result" >&5
12073 echo "${ECHO_T}$result" >&6; }
12077 defaultval
=$wxUSE_ALL_FEATURES
12078 if test -z "$defaultval"; then
12079 if test x
"$enablestring" = xdisable
; then
12086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12087 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12088 # Check whether --enable-stattext was given.
12089 if test "${enable_stattext+set}" = set; then
12090 enableval
=$enable_stattext;
12091 if test "$enableval" = yes; then
12092 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12094 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12099 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12104 eval "$wx_cv_use_stattext"
12106 if test x"$enablestring" = xdisable; then
12107 if test $wxUSE_STATTEXT = no; then
12113 result=$wxUSE_STATTEXT
12116 { echo "$as_me:$LINENO: result: $result" >&5
12117 echo "${ECHO_T}$result" >&6; }
12121 defaultval=$wxUSE_ALL_FEATURES
12122 if test -z "$defaultval"; then
12123 if test x"$enablestring" = xdisable; then
12130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12131 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12132 # Check whether --enable-statusbar was given.
12133 if test "${enable_statusbar+set}" = set; then
12134 enableval=$enable_statusbar;
12135 if test "$enableval" = yes; then
12136 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12138 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12143 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12148 eval "$wx_cv_use_statusbar"
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_STATUSBAR = no; then
12157 result=$wxUSE_STATUSBAR
12160 { echo "$as_me:$LINENO: result
: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12174 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12175 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12176 # Check whether --enable-taskbaricon was given.
12177 if test "${enable_taskbaricon+set}" = set; then
12178 enableval=$enable_taskbaricon;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12182 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12187 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12192 eval "$wx_cv_use_taskbaricon"
12194 if test x
"$enablestring" = xdisable
; then
12195 if test $wxUSE_TASKBARICON = no
; then
12201 result
=$wxUSE_TASKBARICON
12204 { echo "$as_me:$LINENO: result: $result" >&5
12205 echo "${ECHO_T}$result" >&6; }
12209 defaultval
=$wxUSE_ALL_FEATURES
12210 if test -z "$defaultval"; then
12211 if test x
"$enablestring" = xdisable
; then
12218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12219 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12220 # Check whether --enable-tbarnative was given.
12221 if test "${enable_tbarnative+set}" = set; then
12222 enableval
=$enable_tbarnative;
12223 if test "$enableval" = yes; then
12224 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12226 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12231 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12236 eval "$wx_cv_use_tbarnative"
12238 if test x"$enablestring" = xdisable; then
12239 if test $wxUSE_TOOLBAR_NATIVE = no; then
12245 result=$wxUSE_TOOLBAR_NATIVE
12248 { echo "$as_me:$LINENO: result: $result" >&5
12249 echo "${ECHO_T}$result" >&6; }
12253 defaultval=$wxUSE_ALL_FEATURES
12254 if test -z "$defaultval"; then
12255 if test x"$enablestring" = xdisable; then
12262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12263 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12264 # Check whether --enable-textctrl was given.
12265 if test "${enable_textctrl+set}" = set; then
12266 enableval=$enable_textctrl;
12267 if test "$enableval" = yes; then
12268 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12270 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12275 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12280 eval "$wx_cv_use_textctrl"
12282 if test x"$enablestring" = xdisable; then
12283 if test $wxUSE_TEXTCTRL = no; then
12289 result=$wxUSE_TEXTCTRL
12292 { echo "$as_me:$LINENO: result
: $result" >&5
12293 echo "${ECHO_T}$result" >&6; }
12297 defaultval=$wxUSE_ALL_FEATURES
12298 if test -z "$defaultval"; then
12299 if test x"$enablestring" = xdisable; then
12306 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12307 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12308 # Check whether --enable-tipwindow was given.
12309 if test "${enable_tipwindow+set}" = set; then
12310 enableval=$enable_tipwindow;
12311 if test "$enableval" = yes; then
12312 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12314 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12319 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12324 eval "$wx_cv_use_tipwindow"
12326 if test x
"$enablestring" = xdisable
; then
12327 if test $wxUSE_TIPWINDOW = no
; then
12333 result
=$wxUSE_TIPWINDOW
12336 { echo "$as_me:$LINENO: result: $result" >&5
12337 echo "${ECHO_T}$result" >&6; }
12341 defaultval
=$wxUSE_ALL_FEATURES
12342 if test -z "$defaultval"; then
12343 if test x
"$enablestring" = xdisable
; then
12350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12351 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12352 # Check whether --enable-togglebtn was given.
12353 if test "${enable_togglebtn+set}" = set; then
12354 enableval
=$enable_togglebtn;
12355 if test "$enableval" = yes; then
12356 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12358 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12363 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12368 eval "$wx_cv_use_togglebtn"
12370 if test x"$enablestring" = xdisable; then
12371 if test $wxUSE_TOGGLEBTN = no; then
12377 result=$wxUSE_TOGGLEBTN
12380 { echo "$as_me:$LINENO: result: $result" >&5
12381 echo "${ECHO_T}$result" >&6; }
12385 defaultval=$wxUSE_ALL_FEATURES
12386 if test -z "$defaultval"; then
12387 if test x"$enablestring" = xdisable; then
12394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12395 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12396 # Check whether --enable-toolbar was given.
12397 if test "${enable_toolbar+set}" = set; then
12398 enableval=$enable_toolbar;
12399 if test "$enableval" = yes; then
12400 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12402 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12407 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12412 eval "$wx_cv_use_toolbar"
12414 if test x"$enablestring" = xdisable; then
12415 if test $wxUSE_TOOLBAR = no; then
12421 result=$wxUSE_TOOLBAR
12424 { echo "$as_me:$LINENO: result
: $result" >&5
12425 echo "${ECHO_T}$result" >&6; }
12429 defaultval=$wxUSE_ALL_FEATURES
12430 if test -z "$defaultval"; then
12431 if test x"$enablestring" = xdisable; then
12438 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12439 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12440 # Check whether --enable-toolbook was given.
12441 if test "${enable_toolbook+set}" = set; then
12442 enableval=$enable_toolbook;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12446 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12451 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12456 eval "$wx_cv_use_toolbook"
12458 if test x
"$enablestring" = xdisable
; then
12459 if test $wxUSE_TOOLBOOK = no
; then
12465 result
=$wxUSE_TOOLBOOK
12468 { echo "$as_me:$LINENO: result: $result" >&5
12469 echo "${ECHO_T}$result" >&6; }
12473 defaultval
=$wxUSE_ALL_FEATURES
12474 if test -z "$defaultval"; then
12475 if test x
"$enablestring" = xdisable
; then
12482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12483 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12484 # Check whether --enable-treebook was given.
12485 if test "${enable_treebook+set}" = set; then
12486 enableval
=$enable_treebook;
12487 if test "$enableval" = yes; then
12488 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12490 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12495 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12500 eval "$wx_cv_use_treebook"
12502 if test x"$enablestring" = xdisable; then
12503 if test $wxUSE_TREEBOOK = no; then
12509 result=$wxUSE_TREEBOOK
12512 { echo "$as_me:$LINENO: result: $result" >&5
12513 echo "${ECHO_T}$result" >&6; }
12517 defaultval=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x"$enablestring" = xdisable; then
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12528 # Check whether --enable-treectrl was given.
12529 if test "${enable_treectrl+set}" = set; then
12530 enableval=$enable_treectrl;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12534 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12539 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12544 eval "$wx_cv_use_treectrl"
12546 if test x"$enablestring" = xdisable; then
12547 if test $wxUSE_TREECTRL = no; then
12553 result=$wxUSE_TREECTRL
12556 { echo "$as_me:$LINENO: result
: $result" >&5
12557 echo "${ECHO_T}$result" >&6; }
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12572 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12573 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12574 # Check whether --enable-commondlg was given.
12575 if test "${enable_commondlg+set}" = set; then
12576 enableval=$enable_commondlg;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12580 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12585 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12590 eval "$wx_cv_use_commondlg"
12592 if test x
"$enablestring" = xdisable
; then
12593 if test $wxUSE_COMMONDLGS = no
; then
12599 result
=$wxUSE_COMMONDLGS
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval
=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x
"$enablestring" = xdisable
; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12618 # Check whether --enable-aboutdlg was given.
12619 if test "${enable_aboutdlg+set}" = set; then
12620 enableval
=$enable_aboutdlg;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12624 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12629 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12634 eval "$wx_cv_use_aboutdlg"
12636 if test x"$enablestring" = xdisable; then
12637 if test $wxUSE_ABOUTDLG = no; then
12643 result=$wxUSE_ABOUTDLG
12646 { echo "$as_me:$LINENO: result: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12651 defaultval=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x"$enablestring" = xdisable; then
12660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12661 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12662 # Check whether --enable-choicedlg was given.
12663 if test "${enable_choicedlg+set}" = set; then
12664 enableval=$enable_choicedlg;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12668 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12673 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12678 eval "$wx_cv_use_choicedlg"
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_CHOICEDLG = no; then
12687 result=$wxUSE_CHOICEDLG
12690 { echo "$as_me:$LINENO: result
: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12695 defaultval=$wxUSE_ALL_FEATURES
12696 if test -z "$defaultval"; then
12697 if test x"$enablestring" = xdisable; then
12704 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12705 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12706 # Check whether --enable-coldlg was given.
12707 if test "${enable_coldlg+set}" = set; then
12708 enableval=$enable_coldlg;
12709 if test "$enableval" = yes; then
12710 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12712 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12717 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12722 eval "$wx_cv_use_coldlg"
12724 if test x
"$enablestring" = xdisable
; then
12725 if test $wxUSE_COLOURDLG = no
; then
12731 result
=$wxUSE_COLOURDLG
12734 { echo "$as_me:$LINENO: result: $result" >&5
12735 echo "${ECHO_T}$result" >&6; }
12739 defaultval
=$wxUSE_ALL_FEATURES
12740 if test -z "$defaultval"; then
12741 if test x
"$enablestring" = xdisable
; then
12748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12749 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12750 # Check whether --enable-filedlg was given.
12751 if test "${enable_filedlg+set}" = set; then
12752 enableval
=$enable_filedlg;
12753 if test "$enableval" = yes; then
12754 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12756 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12761 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12766 eval "$wx_cv_use_filedlg"
12768 if test x"$enablestring" = xdisable; then
12769 if test $wxUSE_FILEDLG = no; then
12775 result=$wxUSE_FILEDLG
12778 { echo "$as_me:$LINENO: result: $result" >&5
12779 echo "${ECHO_T}$result" >&6; }
12783 defaultval=$wxUSE_ALL_FEATURES
12784 if test -z "$defaultval"; then
12785 if test x"$enablestring" = xdisable; then
12792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12793 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12794 # Check whether --enable-finddlg was given.
12795 if test "${enable_finddlg+set}" = set; then
12796 enableval=$enable_finddlg;
12797 if test "$enableval" = yes; then
12798 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12800 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12805 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12810 eval "$wx_cv_use_finddlg"
12812 if test x"$enablestring" = xdisable; then
12813 if test $wxUSE_FINDREPLDLG = no; then
12819 result=$wxUSE_FINDREPLDLG
12822 { echo "$as_me:$LINENO: result
: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12827 defaultval=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x"$enablestring" = xdisable; then
12836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12837 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12838 # Check whether --enable-fontdlg was given.
12839 if test "${enable_fontdlg+set}" = set; then
12840 enableval=$enable_fontdlg;
12841 if test "$enableval" = yes; then
12842 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12844 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12849 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12854 eval "$wx_cv_use_fontdlg"
12856 if test x
"$enablestring" = xdisable
; then
12857 if test $wxUSE_FONTDLG = no
; then
12863 result
=$wxUSE_FONTDLG
12866 { echo "$as_me:$LINENO: result: $result" >&5
12867 echo "${ECHO_T}$result" >&6; }
12871 defaultval
=$wxUSE_ALL_FEATURES
12872 if test -z "$defaultval"; then
12873 if test x
"$enablestring" = xdisable
; then
12880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12881 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12882 # Check whether --enable-dirdlg was given.
12883 if test "${enable_dirdlg+set}" = set; then
12884 enableval
=$enable_dirdlg;
12885 if test "$enableval" = yes; then
12886 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12888 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12893 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12898 eval "$wx_cv_use_dirdlg"
12900 if test x"$enablestring" = xdisable; then
12901 if test $wxUSE_DIRDLG = no; then
12907 result=$wxUSE_DIRDLG
12910 { echo "$as_me:$LINENO: result: $result" >&5
12911 echo "${ECHO_T}$result" >&6; }
12915 defaultval=$wxUSE_ALL_FEATURES
12916 if test -z "$defaultval"; then
12917 if test x"$enablestring" = xdisable; then
12924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12925 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12926 # Check whether --enable-msgdlg was given.
12927 if test "${enable_msgdlg+set}" = set; then
12928 enableval=$enable_msgdlg;
12929 if test "$enableval" = yes; then
12930 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12932 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12937 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12942 eval "$wx_cv_use_msgdlg"
12944 if test x"$enablestring" = xdisable; then
12945 if test $wxUSE_MSGDLG = no; then
12951 result=$wxUSE_MSGDLG
12954 { echo "$as_me:$LINENO: result
: $result" >&5
12955 echo "${ECHO_T}$result" >&6; }
12959 defaultval=$wxUSE_ALL_FEATURES
12960 if test -z "$defaultval"; then
12961 if test x"$enablestring" = xdisable; then
12968 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12969 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12970 # Check whether --enable-numberdlg was given.
12971 if test "${enable_numberdlg+set}" = set; then
12972 enableval=$enable_numberdlg;
12973 if test "$enableval" = yes; then
12974 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12976 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12981 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12986 eval "$wx_cv_use_numberdlg"
12988 if test x
"$enablestring" = xdisable
; then
12989 if test $wxUSE_NUMBERDLG = no
; then
12995 result
=$wxUSE_NUMBERDLG
12998 { echo "$as_me:$LINENO: result: $result" >&5
12999 echo "${ECHO_T}$result" >&6; }
13003 defaultval
=$wxUSE_ALL_FEATURES
13004 if test -z "$defaultval"; then
13005 if test x
"$enablestring" = xdisable
; then
13012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13013 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13014 # Check whether --enable-splash was given.
13015 if test "${enable_splash+set}" = set; then
13016 enableval
=$enable_splash;
13017 if test "$enableval" = yes; then
13018 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13020 wx_cv_use_splash
='wxUSE_SPLASH=no'
13025 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13030 eval "$wx_cv_use_splash"
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_SPLASH = no; then
13039 result=$wxUSE_SPLASH
13042 { echo "$as_me:$LINENO: result: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13047 defaultval=$wxUSE_ALL_FEATURES
13048 if test -z "$defaultval"; then
13049 if test x"$enablestring" = xdisable; then
13056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13057 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13058 # Check whether --enable-textdlg was given.
13059 if test "${enable_textdlg+set}" = set; then
13060 enableval=$enable_textdlg;
13061 if test "$enableval" = yes; then
13062 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13064 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13069 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13074 eval "$wx_cv_use_textdlg"
13076 if test x"$enablestring" = xdisable; then
13077 if test $wxUSE_TEXTDLG = no; then
13083 result=$wxUSE_TEXTDLG
13086 { echo "$as_me:$LINENO: result
: $result" >&5
13087 echo "${ECHO_T}$result" >&6; }
13091 defaultval=$wxUSE_ALL_FEATURES
13092 if test -z "$defaultval"; then
13093 if test x"$enablestring" = xdisable; then
13100 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13101 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13102 # Check whether --enable-tipdlg was given.
13103 if test "${enable_tipdlg+set}" = set; then
13104 enableval=$enable_tipdlg;
13105 if test "$enableval" = yes; then
13106 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13108 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13113 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13118 eval "$wx_cv_use_tipdlg"
13120 if test x
"$enablestring" = xdisable
; then
13121 if test $wxUSE_STARTUP_TIPS = no
; then
13127 result
=$wxUSE_STARTUP_TIPS
13130 { echo "$as_me:$LINENO: result: $result" >&5
13131 echo "${ECHO_T}$result" >&6; }
13135 defaultval
=$wxUSE_ALL_FEATURES
13136 if test -z "$defaultval"; then
13137 if test x
"$enablestring" = xdisable
; then
13144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13145 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13146 # Check whether --enable-progressdlg was given.
13147 if test "${enable_progressdlg+set}" = set; then
13148 enableval
=$enable_progressdlg;
13149 if test "$enableval" = yes; then
13150 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13152 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13157 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13162 eval "$wx_cv_use_progressdlg"
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_PROGRESSDLG = no; then
13171 result=$wxUSE_PROGRESSDLG
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13190 # Check whether --enable-wizarddlg was given.
13191 if test "${enable_wizarddlg+set}" = set; then
13192 enableval=$enable_wizarddlg;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13196 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13201 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13206 eval "$wx_cv_use_wizarddlg"
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_WIZARDDLG = no; then
13215 result=$wxUSE_WIZARDDLG
13218 { echo "$as_me:$LINENO: result
: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13225 defaultval=$wxUSE_ALL_FEATURES
13226 if test -z "$defaultval"; then
13227 if test x"$enablestring" = xdisable; then
13234 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13235 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13236 # Check whether --enable-menus was given.
13237 if test "${enable_menus+set}" = set; then
13238 enableval=$enable_menus;
13239 if test "$enableval" = yes; then
13240 wx_cv_use_menus='wxUSE_MENUS=yes'
13242 wx_cv_use_menus='wxUSE_MENUS=no'
13247 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13252 eval "$wx_cv_use_menus"
13254 if test x
"$enablestring" = xdisable
; then
13255 if test $wxUSE_MENUS = no
; then
13261 result
=$wxUSE_MENUS
13264 { echo "$as_me:$LINENO: result: $result" >&5
13265 echo "${ECHO_T}$result" >&6; }
13269 defaultval
=$wxUSE_ALL_FEATURES
13270 if test -z "$defaultval"; then
13271 if test x
"$enablestring" = xdisable
; then
13278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13279 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13280 # Check whether --enable-miniframe was given.
13281 if test "${enable_miniframe+set}" = set; then
13282 enableval
=$enable_miniframe;
13283 if test "$enableval" = yes; then
13284 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13286 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13291 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13296 eval "$wx_cv_use_miniframe"
13298 if test x"$enablestring" = xdisable; then
13299 if test $wxUSE_MINIFRAME = no; then
13305 result=$wxUSE_MINIFRAME
13308 { echo "$as_me:$LINENO: result: $result" >&5
13309 echo "${ECHO_T}$result" >&6; }
13313 defaultval=$wxUSE_ALL_FEATURES
13314 if test -z "$defaultval"; then
13315 if test x"$enablestring" = xdisable; then
13322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13323 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13324 # Check whether --enable-tooltips was given.
13325 if test "${enable_tooltips+set}" = set; then
13326 enableval=$enable_tooltips;
13327 if test "$enableval" = yes; then
13328 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13330 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13335 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13340 eval "$wx_cv_use_tooltips"
13342 if test x"$enablestring" = xdisable; then
13343 if test $wxUSE_TOOLTIPS = no; then
13349 result=$wxUSE_TOOLTIPS
13352 { echo "$as_me:$LINENO: result
: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13357 defaultval=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x"$enablestring" = xdisable; then
13366 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13367 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13368 # Check whether --enable-splines was given.
13369 if test "${enable_splines+set}" = set; then
13370 enableval=$enable_splines;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_splines='wxUSE_SPLINES=yes'
13374 wx_cv_use_splines='wxUSE_SPLINES=no'
13379 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13384 eval "$wx_cv_use_splines"
13386 if test x
"$enablestring" = xdisable
; then
13387 if test $wxUSE_SPLINES = no
; then
13393 result
=$wxUSE_SPLINES
13396 { echo "$as_me:$LINENO: result: $result" >&5
13397 echo "${ECHO_T}$result" >&6; }
13401 defaultval
=$wxUSE_ALL_FEATURES
13402 if test -z "$defaultval"; then
13403 if test x
"$enablestring" = xdisable
; then
13410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13411 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13412 # Check whether --enable-mousewheel was given.
13413 if test "${enable_mousewheel+set}" = set; then
13414 enableval
=$enable_mousewheel;
13415 if test "$enableval" = yes; then
13416 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13418 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13423 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13428 eval "$wx_cv_use_mousewheel"
13430 if test x"$enablestring" = xdisable; then
13431 if test $wxUSE_MOUSEWHEEL = no; then
13437 result=$wxUSE_MOUSEWHEEL
13440 { echo "$as_me:$LINENO: result: $result" >&5
13441 echo "${ECHO_T}$result" >&6; }
13445 defaultval=$wxUSE_ALL_FEATURES
13446 if test -z "$defaultval"; then
13447 if test x"$enablestring" = xdisable; then
13454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13455 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13456 # Check whether --enable-validators was given.
13457 if test "${enable_validators+set}" = set; then
13458 enableval=$enable_validators;
13459 if test "$enableval" = yes; then
13460 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13462 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13467 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13472 eval "$wx_cv_use_validators"
13474 if test x"$enablestring" = xdisable; then
13475 if test $wxUSE_VALIDATORS = no; then
13481 result=$wxUSE_VALIDATORS
13484 { echo "$as_me:$LINENO: result
: $result" >&5
13485 echo "${ECHO_T}$result" >&6; }
13489 defaultval=$wxUSE_ALL_FEATURES
13490 if test -z "$defaultval"; then
13491 if test x"$enablestring" = xdisable; then
13498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13499 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13500 # Check whether --enable-busyinfo was given.
13501 if test "${enable_busyinfo+set}" = set; then
13502 enableval=$enable_busyinfo;
13503 if test "$enableval" = yes; then
13504 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13506 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13511 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13516 eval "$wx_cv_use_busyinfo"
13518 if test x
"$enablestring" = xdisable
; then
13519 if test $wxUSE_BUSYINFO = no
; then
13525 result
=$wxUSE_BUSYINFO
13528 { echo "$as_me:$LINENO: result: $result" >&5
13529 echo "${ECHO_T}$result" >&6; }
13533 defaultval
=$wxUSE_ALL_FEATURES
13534 if test -z "$defaultval"; then
13535 if test x
"$enablestring" = xdisable
; then
13542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13543 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13544 # Check whether --enable-joystick was given.
13545 if test "${enable_joystick+set}" = set; then
13546 enableval
=$enable_joystick;
13547 if test "$enableval" = yes; then
13548 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13550 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13555 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13560 eval "$wx_cv_use_joystick"
13562 if test x"$enablestring" = xdisable; then
13563 if test $wxUSE_JOYSTICK = no; then
13569 result=$wxUSE_JOYSTICK
13572 { echo "$as_me:$LINENO: result: $result" >&5
13573 echo "${ECHO_T}$result" >&6; }
13577 defaultval=$wxUSE_ALL_FEATURES
13578 if test -z "$defaultval"; then
13579 if test x"$enablestring" = xdisable; then
13586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13587 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13588 # Check whether --enable-metafile was given.
13589 if test "${enable_metafile+set}" = set; then
13590 enableval=$enable_metafile;
13591 if test "$enableval" = yes; then
13592 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13594 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13599 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13604 eval "$wx_cv_use_metafile"
13606 if test x"$enablestring" = xdisable; then
13607 if test $wxUSE_METAFILE = no; then
13613 result=$wxUSE_METAFILE
13616 { echo "$as_me:$LINENO: result
: $result" >&5
13617 echo "${ECHO_T}$result" >&6; }
13621 defaultval=$wxUSE_ALL_FEATURES
13622 if test -z "$defaultval"; then
13623 if test x"$enablestring" = xdisable; then
13630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13631 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13632 # Check whether --enable-dragimage was given.
13633 if test "${enable_dragimage+set}" = set; then
13634 enableval=$enable_dragimage;
13635 if test "$enableval" = yes; then
13636 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13638 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13643 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13648 eval "$wx_cv_use_dragimage"
13650 if test x
"$enablestring" = xdisable
; then
13651 if test $wxUSE_DRAGIMAGE = no
; then
13657 result
=$wxUSE_DRAGIMAGE
13660 { echo "$as_me:$LINENO: result: $result" >&5
13661 echo "${ECHO_T}$result" >&6; }
13665 defaultval
=$wxUSE_ALL_FEATURES
13666 if test -z "$defaultval"; then
13667 if test x
"$enablestring" = xdisable
; then
13674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13675 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13676 # Check whether --enable-accessibility was given.
13677 if test "${enable_accessibility+set}" = set; then
13678 enableval
=$enable_accessibility;
13679 if test "$enableval" = yes; then
13680 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13682 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13687 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13692 eval "$wx_cv_use_accessibility"
13694 if test x"$enablestring" = xdisable; then
13695 if test $wxUSE_ACCESSIBILITY = no; then
13701 result=$wxUSE_ACCESSIBILITY
13704 { echo "$as_me:$LINENO: result: $result" >&5
13705 echo "${ECHO_T}$result" >&6; }
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13720 # Check whether --enable-uiactionsim was given.
13721 if test "${enable_uiactionsim+set}" = set; then
13722 enableval=$enable_uiactionsim;
13723 if test "$enableval" = yes; then
13724 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
13726 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
13731 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13736 eval "$wx_cv_use_uiactionsim"
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_UIACTIONSIMULATOR = no; then
13745 result=$wxUSE_UIACTIONSIMULATOR
13748 { echo "$as_me:$LINENO: result
: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13755 defaultval=$wxUSE_ALL_FEATURES
13756 if test -z "$defaultval"; then
13757 if test x"$enablestring" = xdisable; then
13764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13765 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13766 # Check whether --enable-palette was given.
13767 if test "${enable_palette+set}" = set; then
13768 enableval=$enable_palette;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_palette='wxUSE_PALETTE=yes'
13772 wx_cv_use_palette='wxUSE_PALETTE=no'
13777 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13782 eval "$wx_cv_use_palette"
13784 if test x
"$enablestring" = xdisable
; then
13785 if test $wxUSE_PALETTE = no
; then
13791 result
=$wxUSE_PALETTE
13794 { echo "$as_me:$LINENO: result: $result" >&5
13795 echo "${ECHO_T}$result" >&6; }
13799 defaultval
=$wxUSE_ALL_FEATURES
13800 if test -z "$defaultval"; then
13801 if test x
"$enablestring" = xdisable
; then
13808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13809 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13810 # Check whether --enable-image was given.
13811 if test "${enable_image+set}" = set; then
13812 enableval
=$enable_image;
13813 if test "$enableval" = yes; then
13814 wx_cv_use_image
='wxUSE_IMAGE=yes'
13816 wx_cv_use_image
='wxUSE_IMAGE=no'
13821 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13826 eval "$wx_cv_use_image"
13828 if test x"$enablestring" = xdisable; then
13829 if test $wxUSE_IMAGE = no; then
13835 result=$wxUSE_IMAGE
13838 { echo "$as_me:$LINENO: result: $result" >&5
13839 echo "${ECHO_T}$result" >&6; }
13843 defaultval=$wxUSE_ALL_FEATURES
13844 if test -z "$defaultval"; then
13845 if test x"$enablestring" = xdisable; then
13852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13853 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13854 # Check whether --enable-gif was given.
13855 if test "${enable_gif+set}" = set; then
13856 enableval=$enable_gif;
13857 if test "$enableval" = yes; then
13858 wx_cv_use_gif='wxUSE_GIF
=yes'
13860 wx_cv_use_gif='wxUSE_GIF
=no
'
13865 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13870 eval "$wx_cv_use_gif"
13872 if test x"$enablestring" = xdisable; then
13873 if test $wxUSE_GIF = no; then
13882 { echo "$as_me:$LINENO: result
: $result" >&5
13883 echo "${ECHO_T}$result" >&6; }
13887 defaultval=$wxUSE_ALL_FEATURES
13888 if test -z "$defaultval"; then
13889 if test x"$enablestring" = xdisable; then
13896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13897 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13898 # Check whether --enable-pcx was given.
13899 if test "${enable_pcx+set}" = set; then
13900 enableval=$enable_pcx;
13901 if test "$enableval" = yes; then
13902 wx_cv_use_pcx='wxUSE_PCX=yes'
13904 wx_cv_use_pcx='wxUSE_PCX=no'
13909 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13914 eval "$wx_cv_use_pcx"
13916 if test x
"$enablestring" = xdisable
; then
13917 if test $wxUSE_PCX = no
; then
13926 { echo "$as_me:$LINENO: result: $result" >&5
13927 echo "${ECHO_T}$result" >&6; }
13931 defaultval
=$wxUSE_ALL_FEATURES
13932 if test -z "$defaultval"; then
13933 if test x
"$enablestring" = xdisable
; then
13940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13941 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13942 # Check whether --enable-tga was given.
13943 if test "${enable_tga+set}" = set; then
13944 enableval
=$enable_tga;
13945 if test "$enableval" = yes; then
13946 wx_cv_use_tga
='wxUSE_TGA=yes'
13948 wx_cv_use_tga
='wxUSE_TGA=no'
13953 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13958 eval "$wx_cv_use_tga"
13960 if test x"$enablestring" = xdisable; then
13961 if test $wxUSE_TGA = no; then
13970 { echo "$as_me:$LINENO: result: $result" >&5
13971 echo "${ECHO_T}$result" >&6; }
13975 defaultval=$wxUSE_ALL_FEATURES
13976 if test -z "$defaultval"; then
13977 if test x"$enablestring" = xdisable; then
13984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13985 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13986 # Check whether --enable-iff was given.
13987 if test "${enable_iff+set}" = set; then
13988 enableval=$enable_iff;
13989 if test "$enableval" = yes; then
13990 wx_cv_use_iff='wxUSE_IFF
=yes'
13992 wx_cv_use_iff='wxUSE_IFF
=no
'
13997 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14002 eval "$wx_cv_use_iff"
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_IFF = no; then
14014 { echo "$as_me:$LINENO: result
: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14029 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14030 # Check whether --enable-pnm was given.
14031 if test "${enable_pnm+set}" = set; then
14032 enableval=$enable_pnm;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_pnm='wxUSE_PNM=yes'
14036 wx_cv_use_pnm='wxUSE_PNM=no'
14041 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14046 eval "$wx_cv_use_pnm"
14048 if test x
"$enablestring" = xdisable
; then
14049 if test $wxUSE_PNM = no
; then
14058 { echo "$as_me:$LINENO: result: $result" >&5
14059 echo "${ECHO_T}$result" >&6; }
14063 defaultval
=$wxUSE_ALL_FEATURES
14064 if test -z "$defaultval"; then
14065 if test x
"$enablestring" = xdisable
; then
14072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14073 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14074 # Check whether --enable-xpm was given.
14075 if test "${enable_xpm+set}" = set; then
14076 enableval
=$enable_xpm;
14077 if test "$enableval" = yes; then
14078 wx_cv_use_xpm
='wxUSE_XPM=yes'
14080 wx_cv_use_xpm
='wxUSE_XPM=no'
14085 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14090 eval "$wx_cv_use_xpm"
14092 if test x"$enablestring" = xdisable; then
14093 if test $wxUSE_XPM = no; then
14102 { echo "$as_me:$LINENO: result: $result" >&5
14103 echo "${ECHO_T}$result" >&6; }
14107 defaultval=$wxUSE_ALL_FEATURES
14108 if test -z "$defaultval"; then
14109 if test x"$enablestring" = xdisable; then
14116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14117 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14118 # Check whether --enable-ico_cur was given.
14119 if test "${enable_ico_cur+set}" = set; then
14120 enableval=$enable_ico_cur;
14121 if test "$enableval" = yes; then
14122 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14124 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14129 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14134 eval "$wx_cv_use_ico_cur"
14136 if test x"$enablestring" = xdisable; then
14137 if test $wxUSE_ICO_CUR = no; then
14143 result=$wxUSE_ICO_CUR
14146 { echo "$as_me:$LINENO: result
: $result" >&5
14147 echo "${ECHO_T}$result" >&6; }
14153 defaultval=$wxUSE_ALL_FEATURES
14154 if test -z "$defaultval"; then
14155 if test x"$enablestring" = xdisable; then
14162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14163 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14164 # Check whether --enable-dccache was given.
14165 if test "${enable_dccache+set}" = set; then
14166 enableval=$enable_dccache;
14167 if test "$enableval" = yes; then
14168 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14170 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14175 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14180 eval "$wx_cv_use_dccache"
14182 if test x
"$enablestring" = xdisable
; then
14183 if test $wxUSE_DC_CACHEING = no
; then
14189 result
=$wxUSE_DC_CACHEING
14192 { echo "$as_me:$LINENO: result: $result" >&5
14193 echo "${ECHO_T}$result" >&6; }
14197 defaultval
=$wxUSE_ALL_FEATURES
14198 if test -z "$defaultval"; then
14199 if test x
"$enablestring" = xdisable
; then
14206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14207 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14208 # Check whether --enable-ps-in-msw was given.
14209 if test "${enable_ps_in_msw+set}" = set; then
14210 enableval
=$enable_ps_in_msw;
14211 if test "$enableval" = yes; then
14212 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14214 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14219 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14224 eval "$wx_cv_use_ps_in_msw"
14226 if test x"$enablestring" = xdisable; then
14227 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14233 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14236 { echo "$as_me:$LINENO: result: $result" >&5
14237 echo "${ECHO_T}$result" >&6; }
14241 defaultval=$wxUSE_ALL_FEATURES
14242 if test -z "$defaultval"; then
14243 if test x"$enablestring" = xdisable; then
14250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14251 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14252 # Check whether --enable-ownerdrawn was given.
14253 if test "${enable_ownerdrawn+set}" = set; then
14254 enableval=$enable_ownerdrawn;
14255 if test "$enableval" = yes; then
14256 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14258 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14263 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14268 eval "$wx_cv_use_ownerdrawn"
14270 if test x"$enablestring" = xdisable; then
14271 if test $wxUSE_OWNER_DRAWN = no; then
14277 result=$wxUSE_OWNER_DRAWN
14280 { echo "$as_me:$LINENO: result
: $result" >&5
14281 echo "${ECHO_T}$result" >&6; }
14285 defaultval=$wxUSE_ALL_FEATURES
14286 if test -z "$defaultval"; then
14287 if test x"$enablestring" = xdisable; then
14294 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14295 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14296 # Check whether --enable-uxtheme was given.
14297 if test "${enable_uxtheme+set}" = set; then
14298 enableval=$enable_uxtheme;
14299 if test "$enableval" = yes; then
14300 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14302 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14307 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14312 eval "$wx_cv_use_uxtheme"
14314 if test x
"$enablestring" = xdisable
; then
14315 if test $wxUSE_UXTHEME = no
; then
14321 result
=$wxUSE_UXTHEME
14324 { echo "$as_me:$LINENO: result: $result" >&5
14325 echo "${ECHO_T}$result" >&6; }
14329 defaultval
=$wxUSE_ALL_FEATURES
14330 if test -z "$defaultval"; then
14331 if test x
"$enablestring" = xdisable
; then
14338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14339 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14340 # Check whether --enable-wxdib was given.
14341 if test "${enable_wxdib+set}" = set; then
14342 enableval
=$enable_wxdib;
14343 if test "$enableval" = yes; then
14344 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14346 wx_cv_use_wxdib
='wxUSE_DIB=no'
14351 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14356 eval "$wx_cv_use_wxdib"
14358 if test x"$enablestring" = xdisable; then
14359 if test $wxUSE_DIB = no; then
14368 { echo "$as_me:$LINENO: result: $result" >&5
14369 echo "${ECHO_T}$result" >&6; }
14372 if test "$wxUSE_MSW" != 1; then
14373 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14378 defaultval=$wxUSE_ALL_FEATURES
14379 if test -z "$defaultval"; then
14380 if test x"$enablestring" = xdisable; then
14387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14388 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14389 # Check whether --enable-autoidman was given.
14390 if test "${enable_autoidman+set}" = set; then
14391 enableval=$enable_autoidman;
14392 if test "$enableval" = yes; then
14393 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14395 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14400 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14405 eval "$wx_cv_use_autoidman"
14407 if test x"$enablestring" = xdisable; then
14408 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14414 result=$wxUSE_AUTOID_MANAGEMENT
14417 { echo "$as_me:$LINENO: result
: $result" >&5
14418 echo "${ECHO_T}$result" >&6; }
14424 cat >confcache <<\_ACEOF
14425 # This file is a shell script that caches the results of configure
14426 # tests run on this system so they can be shared between configure
14427 # scripts and configure runs, see configure's option --config-cache.
14428 # It is not useful on other systems. If it contains results you don't
14429 # want to keep, you may remove or edit it.
14431 # config.status only pays attention to the cache file if you give it
14432 # the --recheck option to rerun configure.
14434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14436 # following values.
14440 # The following way of writing the cache mishandles newlines in values,
14441 # but we know of no workaround that is simple, portable, and efficient.
14442 # So, we kill variables containing newlines.
14443 # Ultrix sh set writes to stderr and can't be redirected directly,
14444 # and sets the high bit in the cache file unless we assign to the vars.
14446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14447 eval ac_val=\$$ac_var
14451 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14452 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14455 _ | IFS | as_nl) ;; #(
14456 *) $as_unset $ac_var ;;
14462 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14463 *${as_nl}ac_space=\ *)
14464 # `set' does not quote correctly, so add quotes (double-quote
14465 # substitution turns \\\\ into \\, and sed turns \\ into \).
14468 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14471 # `set' quotes correctly as required by POSIX, so do not add quotes.
14472 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14481 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14483 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14485 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14486 if test -w "$cache_file"; then
14487 test "x
$cache_file" != "x
/dev
/null
" &&
14488 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14489 echo "$as_me: updating cache
$cache_file" >&6;}
14490 cat confcache >$cache_file
14492 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14493 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14500 ac_cpp='$CPP $CPPFLAGS'
14501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14504 if test -n "$ac_tool_prefix"; then
14505 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14506 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14507 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14509 if test "${ac_cv_prog_CC+set}" = set; then
14510 echo $ECHO_N "(cached
) $ECHO_C" >&6
14512 if test -n "$CC"; then
14513 ac_cv_prog_CC="$CC" # Let the user override the test.
14515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14516 for as_dir in $PATH
14519 test -z "$as_dir" && as_dir=.
14520 for ac_exec_ext in '' $ac_executable_extensions; do
14521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14522 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14523 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14533 if test -n "$CC"; then
14534 { echo "$as_me:$LINENO: result
: $CC" >&5
14535 echo "${ECHO_T}$CC" >&6; }
14537 { echo "$as_me:$LINENO: result
: no
" >&5
14538 echo "${ECHO_T}no
" >&6; }
14543 if test -z "$ac_cv_prog_CC"; then
14545 # Extract the first word of "gcc
", so it can be a program name with args.
14546 set dummy gcc; ac_word=$2
14547 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14548 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14550 echo $ECHO_N "(cached
) $ECHO_C" >&6
14552 if test -n "$ac_ct_CC"; then
14553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14556 for as_dir in $PATH
14559 test -z "$as_dir" && as_dir=.
14560 for ac_exec_ext in '' $ac_executable_extensions; do
14561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14562 ac_cv_prog_ac_ct_CC="gcc
"
14563 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14573 if test -n "$ac_ct_CC"; then
14574 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14575 echo "${ECHO_T}$ac_ct_CC" >&6; }
14577 { echo "$as_me:$LINENO: result
: no
" >&5
14578 echo "${ECHO_T}no
" >&6; }
14581 if test "x
$ac_ct_CC" = x; then
14584 case $cross_compiling:$ac_tool_warned in
14586 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14587 whose name does not start with the
host triplet. If you think this
14588 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14589 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14590 whose name does not start with the
host triplet. If you think this
14591 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14592 ac_tool_warned=yes ;;
14597 CC="$ac_cv_prog_CC"
14600 if test -z "$CC"; then
14601 if test -n "$ac_tool_prefix"; then
14602 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14603 set dummy ${ac_tool_prefix}cc; ac_word=$2
14604 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14605 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14606 if test "${ac_cv_prog_CC+set}" = set; then
14607 echo $ECHO_N "(cached
) $ECHO_C" >&6
14609 if test -n "$CC"; then
14610 ac_cv_prog_CC="$CC" # Let the user override the test.
14612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14613 for as_dir in $PATH
14616 test -z "$as_dir" && as_dir=.
14617 for ac_exec_ext in '' $ac_executable_extensions; do
14618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14619 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14620 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14630 if test -n "$CC"; then
14631 { echo "$as_me:$LINENO: result
: $CC" >&5
14632 echo "${ECHO_T}$CC" >&6; }
14634 { echo "$as_me:$LINENO: result
: no
" >&5
14635 echo "${ECHO_T}no
" >&6; }
14641 if test -z "$CC"; then
14642 # Extract the first word of "cc
", so it can be a program name with args.
14643 set dummy cc; ac_word=$2
14644 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14645 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14646 if test "${ac_cv_prog_CC+set}" = set; then
14647 echo $ECHO_N "(cached
) $ECHO_C" >&6
14649 if test -n "$CC"; then
14650 ac_cv_prog_CC="$CC" # Let the user override the test.
14652 ac_prog_rejected=no
14653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14654 for as_dir in $PATH
14657 test -z "$as_dir" && as_dir=.
14658 for ac_exec_ext in '' $ac_executable_extensions; do
14659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14660 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14661 ac_prog_rejected=yes
14665 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14672 if test $ac_prog_rejected = yes; then
14673 # We found a bogon in the path, so make sure we never use it.
14674 set dummy $ac_cv_prog_CC
14676 if test $# != 0; then
14677 # We chose a different compiler from the bogus one.
14678 # However, it has the same basename, so the bogon will be chosen
14679 # first if we set CC to just the basename; use the full file name.
14681 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14687 if test -n "$CC"; then
14688 { echo "$as_me:$LINENO: result
: $CC" >&5
14689 echo "${ECHO_T}$CC" >&6; }
14691 { echo "$as_me:$LINENO: result
: no
" >&5
14692 echo "${ECHO_T}no
" >&6; }
14697 if test -z "$CC"; then
14698 if test -n "$ac_tool_prefix"; then
14699 for ac_prog in cl.exe
14701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14703 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14704 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14705 if test "${ac_cv_prog_CC+set}" = set; then
14706 echo $ECHO_N "(cached
) $ECHO_C" >&6
14708 if test -n "$CC"; then
14709 ac_cv_prog_CC="$CC" # Let the user override the test.
14711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14712 for as_dir in $PATH
14715 test -z "$as_dir" && as_dir=.
14716 for ac_exec_ext in '' $ac_executable_extensions; do
14717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14718 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14719 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14729 if test -n "$CC"; then
14730 { echo "$as_me:$LINENO: result
: $CC" >&5
14731 echo "${ECHO_T}$CC" >&6; }
14733 { echo "$as_me:$LINENO: result
: no
" >&5
14734 echo "${ECHO_T}no
" >&6; }
14738 test -n "$CC" && break
14741 if test -z "$CC"; then
14743 for ac_prog in cl.exe
14745 # Extract the first word of "$ac_prog", so it can be a program name with args.
14746 set dummy $ac_prog; ac_word=$2
14747 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14748 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14750 echo $ECHO_N "(cached
) $ECHO_C" >&6
14752 if test -n "$ac_ct_CC"; then
14753 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14756 for as_dir in $PATH
14759 test -z "$as_dir" && as_dir=.
14760 for ac_exec_ext in '' $ac_executable_extensions; do
14761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14762 ac_cv_prog_ac_ct_CC="$ac_prog"
14763 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14773 if test -n "$ac_ct_CC"; then
14774 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14775 echo "${ECHO_T}$ac_ct_CC" >&6; }
14777 { echo "$as_me:$LINENO: result
: no
" >&5
14778 echo "${ECHO_T}no
" >&6; }
14782 test -n "$ac_ct_CC" && break
14785 if test "x
$ac_ct_CC" = x; then
14788 case $cross_compiling:$ac_tool_warned in
14790 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14791 whose name does not start with the
host triplet. If you think this
14792 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14793 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14794 whose name does not start with the
host triplet. If you think this
14795 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14796 ac_tool_warned=yes ;;
14805 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14806 See \
`config.log' for more details." >&5
14807 echo "$as_me: error: no acceptable C compiler found in \$PATH
14808 See \`config.log
' for more details." >&2;}
14809 { (exit 1); exit 1; }; }
14811 # Provide some information about the compiler.
14812 echo "$as_me:$LINENO: checking for C compiler version" >&5
14813 ac_compiler=`set X $ac_compile; echo $2`
14814 { (ac_try="$ac_compiler --version >&5"
14815 case "(($ac_try" in
14816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14817 *) ac_try_echo=$ac_try;;
14819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14820 (eval "$ac_compiler --version >&5") 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }
14824 { (ac_try="$ac_compiler -v >&5"
14825 case "(($ac_try" in
14826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14827 *) ac_try_echo=$ac_try;;
14829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14830 (eval "$ac_compiler -v >&5") 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }
14834 { (ac_try="$ac_compiler -V >&5"
14835 case "(($ac_try" in
14836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14837 *) ac_try_echo=$ac_try;;
14839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14840 (eval "$ac_compiler -V >&5") 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }
14845 cat >conftest.$ac_ext <<_ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14860 ac_clean_files_save=$ac_clean_files
14861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14862 # Try to create an executable without -o first, disregard a.out.
14863 # It will help us diagnose broken compilers, and finding out an intuition
14865 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14867 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14869 # List of possible output files, starting from the most likely.
14870 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14871 # only as a last resort. b.out is created by i960 compilers.
14872 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14874 # The IRIX 6 linker writes into existing files which may not be
14875 # executable, retaining their permissions. Remove them first so a
14876 # subsequent execution test works.
14878 for ac_file
in $ac_files
14881 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14882 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14887 if { (ac_try
="$ac_link_default"
14888 case "(($ac_try" in
14889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_link_default") 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; then
14897 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14898 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14899 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14900 # so that the user can short-circuit this test for compilers unknown to
14902 for ac_file in $ac_files ''
14904 test -f "$ac_file" || continue
14906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14909 # We found the default executable, but exeext='' is most
14913 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14915 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14917 # We set ac_cv_exeext here because the later test for it is not
14918 # safe: cross compilers may not add the suffix if given an `-o'
14919 # argument, so we may need to know it at that point already.
14920 # Even if this section looks crufty: it has the advantage of
14921 # actually working.
14927 test "$ac_cv_exeext" = no && ac_cv_exeext=
14933 { echo "$as_me:$LINENO: result: $ac_file" >&5
14934 echo "${ECHO_T}$ac_file" >&6; }
14935 if test -z "$ac_file"; then
14936 echo "$as_me: failed program was:" >&5
14937 sed 's
/^
/| /' conftest.$ac_ext >&5
14939 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14940 See \`config.log' for more details.
" >&5
14941 echo "$as_me: error
: C compiler cannot create executables
14942 See \
`config.log' for more details." >&2;}
14943 { (exit 77); exit 77; }; }
14946 ac_exeext=$ac_cv_exeext
14948 # Check that the compiler produces executables we can run. If not, either
14949 # the compiler is broken, or we cross compile.
14950 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14953 # If not cross compiling, check that we can run a simple program.
14954 if test "$cross_compiling" != yes; then
14955 if { ac_try='./$ac_file'
14956 { (case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14958 *) ac_try_echo
=$ac_try;;
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_try") 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14967 if test "$cross_compiling" = maybe
; then
14968 cross_compiling
=yes
14970 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14971 If you meant to cross compile, use \`--host'.
14972 See \`config.log' for more details." >&5
14973 echo "$as_me: error: cannot run C compiled programs.
14974 If you meant to cross compile, use \`--host'.
14975 See \`config.log' for more details." >&2;}
14976 { (exit 1); exit 1; }; }
14980 { echo "$as_me:$LINENO: result: yes" >&5
14981 echo "${ECHO_T}yes" >&6; }
14983 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14984 ac_clean_files
=$ac_clean_files_save
14985 # Check that the compiler produces executables we can run. If not, either
14986 # the compiler is broken, or we cross compile.
14987 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14988 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14989 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14990 echo "${ECHO_T}$cross_compiling" >&6; }
14992 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14993 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14994 if { (ac_try
="$ac_link"
14995 case "(($ac_try" in
14996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_link") 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; then
15004 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15005 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15006 # work properly (i.e., refer to `conftest.exe'), while it won't with
15008 for ac_file
in conftest.exe conftest conftest.
*; do
15009 test -f "$ac_file" || continue
15011 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15012 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15018 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15019 See \`config.log' for more details." >&5
15020 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15021 See \`config.log' for more details." >&2;}
15022 { (exit 1); exit 1; }; }
15025 rm -f conftest
$ac_cv_exeext
15026 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15027 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15029 rm -f conftest.
$ac_ext
15030 EXEEXT
=$ac_cv_exeext
15032 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15033 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15034 if test "${ac_cv_objext+set}" = set; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 cat >conftest.
$ac_ext <<_ACEOF
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15052 rm -f conftest.o conftest.obj
15053 if { (ac_try
="$ac_compile"
15054 case "(($ac_try" in
15055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15056 *) ac_try_echo=$ac_try;;
15058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15059 (eval "$ac_compile") 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; then
15063 for ac_file in conftest.o conftest.obj conftest.*; do
15064 test -f "$ac_file" || continue;
15066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15067 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15075 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15076 See \`config.log
' for more details." >&5
15077 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15078 See \`config.log' for more details.
" >&2;}
15079 { (exit 1); exit 1; }; }
15082 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15084 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15085 echo "${ECHO_T}$ac_cv_objext" >&6; }
15086 OBJEXT=$ac_cv_objext
15088 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15089 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15090 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15091 echo $ECHO_N "(cached
) $ECHO_C" >&6
15093 cat >conftest.$ac_ext <<_ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15120 grep -v '^ *+' conftest.er1 >conftest.err
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15128 ac_compiler_gnu=yes
15130 echo "$as_me: failed program was
:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15140 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15141 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15142 GCC=`test $ac_compiler_gnu = yes && echo yes`
15143 ac_test_CFLAGS=${CFLAGS+set}
15144 ac_save_CFLAGS=$CFLAGS
15145 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15146 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15147 if test "${ac_cv_prog_cc_g+set}" = set; then
15148 echo $ECHO_N "(cached
) $ECHO_C" >&6
15150 ac_save_c_werror_flag=$ac_c_werror_flag
15151 ac_c_werror_flag=yes
15154 cat >conftest.$ac_ext <<_ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15169 rm -f conftest.$ac_objext
15170 if { (ac_try="$ac_compile"
15171 case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_compile") 2>conftest.er1
15178 grep -v '^ *+' conftest.er1 >conftest.err
15180 cat conftest.err >&5
15181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15182 (exit $ac_status); } && {
15183 test -z "$ac_c_werror_flag" ||
15184 test ! -s conftest.err
15185 } && test -s conftest.$ac_objext; then
15186 ac_cv_prog_cc_g=yes
15188 echo "$as_me: failed program was
:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15192 cat >conftest.$ac_ext <<_ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15207 rm -f conftest.$ac_objext
15208 if { (ac_try="$ac_compile"
15209 case "(($ac_try" in
15210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15211 *) ac_try_echo=$ac_try;;
15213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15214 (eval "$ac_compile") 2>conftest.er1
15216 grep -v '^ *+' conftest.er1 >conftest.err
15218 cat conftest.err >&5
15219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15220 (exit $ac_status); } && {
15221 test -z "$ac_c_werror_flag" ||
15222 test ! -s conftest.err
15223 } && test -s conftest.$ac_objext; then
15226 echo "$as_me: failed program was
:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15229 ac_c_werror_flag=$ac_save_c_werror_flag
15231 cat >conftest.$ac_ext <<_ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15246 rm -f conftest.$ac_objext
15247 if { (ac_try="$ac_compile"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15253 (eval "$ac_compile") 2>conftest.er1
15255 grep -v '^ *+' conftest.er1 >conftest.err
15257 cat conftest.err >&5
15258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15259 (exit $ac_status); } && {
15260 test -z "$ac_c_werror_flag" ||
15261 test ! -s conftest.err
15262 } && test -s conftest.$ac_objext; then
15263 ac_cv_prog_cc_g=yes
15265 echo "$as_me: failed program was
:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15278 ac_c_werror_flag=$ac_save_c_werror_flag
15280 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15281 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15282 if test "$ac_test_CFLAGS" = set; then
15283 CFLAGS=$ac_save_CFLAGS
15284 elif test $ac_cv_prog_cc_g = yes; then
15285 if test "$GCC" = yes; then
15291 if test "$GCC" = yes; then
15297 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15298 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15299 if test "${ac_cv_prog_cc_c89+set}" = set; then
15300 echo $ECHO_N "(cached
) $ECHO_C" >&6
15302 ac_cv_prog_cc_c89=no
15304 cat >conftest.$ac_ext <<_ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 #include <stdarg.h>
15312 #include <sys/types.h>
15313 #include <sys/stat.h>
15314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15315 struct buf { int x; };
15316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15317 static char *e (p, i)
15323 static char *f (char * (*g) (char **, int), char **p, ...)
15328 s = g (p, va_arg (v,int));
15333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15334 function prototypes and stuff, but not '\xHH' hex character constants.
15335 These don't provoke an error unfortunately, instead are silently treated
15336 as 'x'. The following induces an error, until -std is added to get
15337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15338 array size at least. It's necessary to write '\x00'==0 to get something
15339 that's true only with -std. */
15340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15343 inside strings and character constants. */
15345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15347 int test (int i, double x);
15348 struct s1 {int (*f) (int a);};
15349 struct s2 {int (*f) (double a);};
15350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15364 CC="$ac_save_CC $ac_arg"
15365 rm -f conftest.$ac_objext
15366 if { (ac_try="$ac_compile"
15367 case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15372 (eval "$ac_compile") 2>conftest.er1
15374 grep -v '^ *+' conftest.er1 >conftest.err
15376 cat conftest.err >&5
15377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15378 (exit $ac_status); } && {
15379 test -z "$ac_c_werror_flag" ||
15380 test ! -s conftest.err
15381 } && test -s conftest.$ac_objext; then
15382 ac_cv_prog_cc_c89=$ac_arg
15384 echo "$as_me: failed program was
:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15390 rm -f core conftest.err conftest.$ac_objext
15391 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15393 rm -f conftest.$ac_ext
15398 case "x
$ac_cv_prog_cc_c89" in
15400 { echo "$as_me:$LINENO: result
: none needed
" >&5
15401 echo "${ECHO_T}none needed
" >&6; } ;;
15403 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15404 echo "${ECHO_T}unsupported
" >&6; } ;;
15406 CC="$CC $ac_cv_prog_cc_c89"
15407 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15408 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15431 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15432 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15433 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15434 echo $ECHO_N "(cached
) $ECHO_C" >&6
15436 cat >conftest.$ac_ext <<_ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15447 #ifndef __INTEL_COMPILER
15455 rm -f conftest.$ac_objext
15456 if { (ac_try="$ac_compile"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compile") 2>conftest.er1
15464 grep -v '^ *+' conftest.er1 >conftest.err
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15468 (exit $ac_status); } && {
15469 test -z "$ac_c_werror_flag" ||
15470 test ! -s conftest.err
15471 } && test -s conftest.$ac_objext; then
15472 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15474 echo "$as_me: failed program was
:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15477 bakefile_cv_c_compiler___INTEL_COMPILER=no
15481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15485 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15486 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15487 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15493 ac_cpp='$CPP $CPPFLAGS'
15494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15501 if test "$INTELCC" = "yes"; then
15505 ac_cpp='$CPP $CPPFLAGS'
15506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15510 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15511 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15512 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15513 echo $ECHO_N "(cached
) $ECHO_C" >&6
15515 cat >conftest.$ac_ext <<_ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15526 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15534 rm -f conftest.$ac_objext
15535 if { (ac_try="$ac_compile"
15536 case "(($ac_try" in
15537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15538 *) ac_try_echo=$ac_try;;
15540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15541 (eval "$ac_compile") 2>conftest.er1
15543 grep -v '^ *+' conftest.er1 >conftest.err
15545 cat conftest.err >&5
15546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15547 (exit $ac_status); } && {
15548 test -z "$ac_c_werror_flag" ||
15549 test ! -s conftest.err
15550 } && test -s conftest.$ac_objext; then
15551 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15553 echo "$as_me: failed program was
:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15556 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15564 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15565 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15566 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15572 ac_cpp='$CPP $CPPFLAGS'
15573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15588 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15590 echo $ECHO_N "(cached
) $ECHO_C" >&6
15592 cat >conftest.$ac_ext <<_ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15603 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15617 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15620 grep -v '^ *+' conftest.er1 >conftest.err
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15630 echo "$as_me: failed program was
:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15633 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15643 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15658 if test "x
$GCC" != "xyes
"; then
15659 if test "xCC
" = "xC
"; then
15660 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15661 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15662 if test "${bakefile_cv_c_exto+set}" = set; then
15663 echo $ECHO_N "(cached
) $ECHO_C" >&6
15665 cat >conftest.$ac_ext <<_ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15680 rm -f conftest.$ac_objext conftest.$ac_ext.o
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15685 (exit $ac_status); }; then
15686 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15688 conftest.$ac_ext.o)
15689 bakefile_cv_c_exto="-ext o
"
15696 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15697 See \
`config.log' for more details." >&5
15698 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15699 See \`config.log
' for more details." >&2;}
15700 { (exit 1); exit 1; }; }
15704 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15707 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15708 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15709 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15710 if test "c" = "c"; then
15711 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15713 if test "c" = "cxx"; then
15714 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15718 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15719 unset ac_cv_prog_cc_g
15720 ac_test_CFLAGS=${CFLAGS+set}
15721 ac_save_CFLAGS=$CFLAGS
15722 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15723 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15724 if test "${ac_cv_prog_cc_g+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15727 ac_save_c_werror_flag=$ac_c_werror_flag
15728 ac_c_werror_flag=yes
15731 cat >conftest.$ac_ext <<_ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15746 rm -f conftest.$ac_objext
15747 if { (ac_try="$ac_compile"
15748 case "(($ac_try" in
15749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15750 *) ac_try_echo=$ac_try;;
15752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15753 (eval "$ac_compile") 2>conftest.er1
15755 grep -v '^
*+' conftest.er1 >conftest.err
15757 cat conftest.err >&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } && {
15760 test -z "$ac_c_werror_flag" ||
15761 test ! -s conftest.err
15762 } && test -s conftest.$ac_objext; then
15763 ac_cv_prog_cc_g=yes
15765 echo "$as_me: failed program was:" >&5
15766 sed 's
/^
/| /' conftest.$ac_ext >&5
15769 cat >conftest.$ac_ext <<_ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15784 rm -f conftest.$ac_objext
15785 if { (ac_try="$ac_compile"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_compile") 2>conftest.er1
15793 grep -v '^
*+' conftest.er1 >conftest.err
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } && {
15798 test -z "$ac_c_werror_flag" ||
15799 test ! -s conftest.err
15800 } && test -s conftest.$ac_objext; then
15803 echo "$as_me: failed program was:" >&5
15804 sed 's
/^
/| /' conftest.$ac_ext >&5
15806 ac_c_werror_flag=$ac_save_c_werror_flag
15808 cat >conftest.$ac_ext <<_ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15823 rm -f conftest.$ac_objext
15824 if { (ac_try="$ac_compile"
15825 case "(($ac_try" in
15826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15827 *) ac_try_echo=$ac_try;;
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830 (eval "$ac_compile") 2>conftest.er1
15832 grep -v '^
*+' conftest.er1 >conftest.err
15834 cat conftest.err >&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } && {
15837 test -z "$ac_c_werror_flag" ||
15838 test ! -s conftest.err
15839 } && test -s conftest.$ac_objext; then
15840 ac_cv_prog_cc_g=yes
15842 echo "$as_me: failed program was:" >&5
15843 sed 's
/^
/| /' conftest.$ac_ext >&5
15848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 ac_c_werror_flag=$ac_save_c_werror_flag
15857 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15858 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15859 if test "$ac_test_CFLAGS" = set; then
15860 CFLAGS=$ac_save_CFLAGS
15861 elif test $ac_cv_prog_cc_g = yes; then
15862 if test "$GCC" = yes; then
15868 if test "$GCC" = yes; then
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15884 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15887 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15888 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15889 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 cat >conftest.$ac_ext <<_ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15911 rm -f conftest.$ac_objext
15912 if { (ac_try="$ac_compile"
15913 case "(($ac_try" in
15914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_compile") 2>conftest.er1
15920 grep -v '^
*+' conftest.er1 >conftest.err
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } && {
15925 test -z "$ac_c_werror_flag" ||
15926 test ! -s conftest.err
15927 } && test -s conftest.$ac_objext; then
15928 bakefile_cv_c_compiler___xlC__=yes
15930 echo "$as_me: failed program was:" >&5
15931 sed 's
/^
/| /' conftest.$ac_ext >&5
15933 bakefile_cv_c_compiler___xlC__=no
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15942 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15943 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15951 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15964 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15967 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15968 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15969 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15991 rm -f conftest.$ac_objext
15992 if { (ac_try="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_compile") 2>conftest.er1
16000 grep -v '^
*+' conftest.er1 >conftest.err
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } && {
16005 test -z "$ac_c_werror_flag" ||
16006 test ! -s conftest.err
16007 } && test -s conftest.$ac_objext; then
16008 bakefile_cv_c_compiler___MWERKS__=yes
16010 echo "$as_me: failed program was:" >&5
16011 sed 's
/^
/| /' conftest.$ac_ext >&5
16013 bakefile_cv_c_compiler___MWERKS__=no
16017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16022 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16023 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16031 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16036 if test "$MWCC" != "yes"; then
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16042 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16046 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16047 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 cat >conftest.$ac_ext <<_ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16069 rm -f conftest.$ac_objext
16070 if { (ac_try="$ac_compile"
16071 case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_compile") 2>conftest.er1
16078 grep -v '^
*+' conftest.er1 >conftest.err
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } && {
16083 test -z "$ac_c_werror_flag" ||
16084 test ! -s conftest.err
16085 } && test -s conftest.$ac_objext; then
16086 bakefile_cv_c_compiler___xlC__=yes
16088 echo "$as_me: failed program was:" >&5
16089 sed 's
/^
/| /' conftest.$ac_ext >&5
16091 bakefile_cv_c_compiler___xlC__=no
16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16100 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16101 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16109 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16121 ac_cpp='$CPP $CPPFLAGS'
16122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16123 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16126 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16127 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16128 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 cat >conftest.$ac_ext <<_ACEOF
16134 cat confdefs.h >>conftest.$ac_ext
16135 cat >>conftest.$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16142 #ifndef _SGI_COMPILER_VERSION
16150 rm -f conftest.$ac_objext
16151 if { (ac_try="$ac_compile"
16152 case "(($ac_try" in
16153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_compile") 2>conftest.er1
16159 grep -v '^
*+' conftest.er1 >conftest.err
16161 cat conftest.err >&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } && {
16164 test -z "$ac_c_werror_flag" ||
16165 test ! -s conftest.err
16166 } && test -s conftest.$ac_objext; then
16167 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16169 echo "$as_me: failed program was:" >&5
16170 sed 's
/^
/| /' conftest.$ac_ext >&5
16172 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16180 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16181 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16182 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16188 ac_cpp='$CPP $CPPFLAGS'
16189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16198 if test "$INTELCC" != "yes"; then
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16204 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16208 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16209 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 cat >conftest.$ac_ext <<_ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16240 grep -v '^
*+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then
16248 bakefile_cv_c_compiler___SUNPRO_C=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's
/^
/| /' conftest.$ac_ext >&5
16253 bakefile_cv_c_compiler___SUNPRO_C=no
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16262 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16263 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16285 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16288 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16289 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16321 grep -v '^
*+' conftest.er1 >conftest.err
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_c_compiler___HP_cc=yes
16331 echo "$as_me: failed program was:" >&5
16332 sed 's
/^
/| /' conftest.$ac_ext >&5
16334 bakefile_cv_c_compiler___HP_cc=no
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16343 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16344 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16352 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16365 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16368 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16369 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16370 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 cat >conftest.$ac_ext <<_ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16392 rm -f conftest.$ac_objext
16393 if { (ac_try="$ac_compile"
16394 case "(($ac_try" in
16395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16396 *) ac_try_echo=$ac_try;;
16398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16399 (eval "$ac_compile") 2>conftest.er1
16401 grep -v '^
*+' conftest.er1 >conftest.err
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } && {
16406 test -z "$ac_c_werror_flag" ||
16407 test ! -s conftest.err
16408 } && test -s conftest.$ac_objext; then
16409 bakefile_cv_c_compiler___DECC=yes
16411 echo "$as_me: failed program was:" >&5
16412 sed 's
/^
/| /' conftest.$ac_ext >&5
16414 bakefile_cv_c_compiler___DECC=no
16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16422 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16423 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16424 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16432 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16445 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16449 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16450 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16453 cat >conftest.$ac_ext <<_ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16472 rm -f conftest.$ac_objext
16473 if { (ac_try="$ac_compile"
16474 case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_compile") 2>conftest.er1
16481 grep -v '^
*+' conftest.er1 >conftest.err
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } && {
16486 test -z "$ac_c_werror_flag" ||
16487 test ! -s conftest.err
16488 } && test -s conftest.$ac_objext; then
16489 bakefile_cv_c_compiler___SUNPRO_C=yes
16491 echo "$as_me: failed program was:" >&5
16492 sed 's
/^
/| /' conftest.$ac_ext >&5
16494 bakefile_cv_c_compiler___SUNPRO_C=no
16498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16502 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16503 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16504 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16510 ac_cpp='$CPP $CPPFLAGS'
16511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16512 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16526 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16529 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16530 # On Suns, sometimes $CPP names a directory.
16531 if test -n "$CPP" && test -d "$CPP"; then
16534 if test -z "$CPP"; then
16535 if test "${ac_cv_prog_CPP+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 # Double quotes because CPP needs to be expanded
16539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16541 ac_preproc_ok=false
16542 for ac_c_preproc_warn_flag in '' yes
16544 # Use a header file that comes with gcc, so configuring glibc
16545 # with a fresh cross-compiler works.
16546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16547 # <limits.h> exists even on freestanding compilers.
16548 # On the NeXT, cc -E runs the code through the compiler's parser
,
16549 # not just through cpp. "Syntax error" is here to catch this case.
16550 cat >conftest.
$ac_ext <<_ACEOF
16553 cat confdefs.h
>>conftest.
$ac_ext
16554 cat >>conftest.
$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16557 # include <limits.h>
16559 # include <assert.h>
16563 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16564 case "(($ac_try" in
16565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16571 grep -v '^ *+' conftest.er1 >conftest.err
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } >/dev/null && {
16576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16577 test ! -s conftest.err
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16584 # Broken: fails on valid input.
16588 rm -f conftest.err conftest.$ac_ext
16590 # OK, works on sane cases. Now check whether nonexistent headers
16591 # can be detected and how.
16592 cat >conftest.$ac_ext <<_ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 #include <ac_nonexistent.h>
16600 if { (ac_try="$ac_cpp conftest.$ac_ext"
16601 case "(($ac_try" in
16602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16603 *) ac_try_echo
=$ac_try;;
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16608 grep -v '^ *+' conftest.er1
>conftest.err
16610 cat conftest.err
>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } >/dev
/null
&& {
16613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16614 test ! -s conftest.err
16616 # Broken: success on invalid input.
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16622 # Passes both tests.
16627 rm -f conftest.err conftest.
$ac_ext
16630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16631 rm -f conftest.err conftest.
$ac_ext
16632 if $ac_preproc_ok; then
16637 ac_cv_prog_CPP
=$CPP
16640 CPP
=$ac_cv_prog_CPP
16642 ac_cv_prog_CPP
=$CPP
16644 { echo "$as_me:$LINENO: result: $CPP" >&5
16645 echo "${ECHO_T}$CPP" >&6; }
16646 ac_preproc_ok
=false
16647 for ac_c_preproc_warn_flag
in '' yes
16649 # Use a header file that comes with gcc, so configuring glibc
16650 # with a fresh cross-compiler works.
16651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16652 # <limits.h> exists even on freestanding compilers.
16653 # On the NeXT, cc -E runs the code through the compiler's parser,
16654 # not just through cpp. "Syntax error" is here to catch this case.
16655 cat >conftest.
$ac_ext <<_ACEOF
16658 cat confdefs.h
>>conftest.
$ac_ext
16659 cat >>conftest.
$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16662 # include <limits.h>
16664 # include <assert.h>
16668 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16669 case "(($ac_try" in
16670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1 >conftest.err
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } >/dev/null && {
16681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16689 # Broken: fails on valid input.
16693 rm -f conftest.err conftest.$ac_ext
16695 # OK, works on sane cases. Now check whether nonexistent headers
16696 # can be detected and how.
16697 cat >conftest.$ac_ext <<_ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 #include <ac_nonexistent.h>
16705 if { (ac_try="$ac_cpp conftest.$ac_ext"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16708 *) ac_try_echo
=$ac_try;;
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16713 grep -v '^ *+' conftest.er1
>conftest.err
16715 cat conftest.err
>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } >/dev
/null
&& {
16718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16721 # Broken: success on invalid input.
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16727 # Passes both tests.
16732 rm -f conftest.err conftest.
$ac_ext
16735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16736 rm -f conftest.err conftest.
$ac_ext
16737 if $ac_preproc_ok; then
16740 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16741 See \`config.log' for more details." >&5
16742 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16743 See \`config.log' for more details." >&2;}
16744 { (exit 1); exit 1; }; }
16748 ac_cpp
='$CPP $CPPFLAGS'
16749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16754 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16755 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16756 if test "${ac_cv_path_GREP+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 # Extract the first word of "grep ggrep" to use in msg output
16760 if test -z "$GREP"; then
16761 set dummy
grep ggrep
; ac_prog_name
=$2
16762 if test "${ac_cv_path_GREP+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 ac_path_GREP_found
=false
16766 # Loop through the user's path and test for each of PROGNAME-LIST
16767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16768 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16771 test -z "$as_dir" && as_dir
=.
16772 for ac_prog
in grep ggrep
; do
16773 for ac_exec_ext
in '' $ac_executable_extensions; do
16774 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16775 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16776 # Check for GNU ac_path_GREP and select it if it is found.
16777 # Check for GNU $ac_path_GREP
16778 case `"$ac_path_GREP" --version 2>&1` in
16780 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16783 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16786 cat "conftest.in" "conftest.in" >"conftest.tmp"
16787 mv "conftest.tmp" "conftest.in"
16788 cp "conftest.in" "conftest.nl"
16789 echo 'GREP' >> "conftest.nl"
16790 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16791 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16792 ac_count
=`expr $ac_count + 1`
16793 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16794 # Best one so far, save it but keep looking for a better one
16795 ac_cv_path_GREP
="$ac_path_GREP"
16796 ac_path_GREP_max
=$ac_count
16798 # 10*(2^10) chars as input seems more than enough
16799 test $ac_count -gt 10 && break
16801 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16805 $ac_path_GREP_found && break 3
16815 GREP
="$ac_cv_path_GREP"
16816 if test -z "$GREP"; then
16817 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16818 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16819 { (exit 1); exit 1; }; }
16823 ac_cv_path_GREP
=$GREP
16828 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16829 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16830 GREP
="$ac_cv_path_GREP"
16833 { echo "$as_me:$LINENO: checking for egrep" >&5
16834 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16835 if test "${ac_cv_path_EGREP+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16839 then ac_cv_path_EGREP
="$GREP -E"
16841 # Extract the first word of "egrep" to use in msg output
16842 if test -z "$EGREP"; then
16843 set dummy
egrep; ac_prog_name
=$2
16844 if test "${ac_cv_path_EGREP+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 ac_path_EGREP_found
=false
16848 # Loop through the user's path and test for each of PROGNAME-LIST
16849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16850 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16853 test -z "$as_dir" && as_dir
=.
16854 for ac_prog
in egrep; do
16855 for ac_exec_ext
in '' $ac_executable_extensions; do
16856 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16857 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16858 # Check for GNU ac_path_EGREP and select it if it is found.
16859 # Check for GNU $ac_path_EGREP
16860 case `"$ac_path_EGREP" --version 2>&1` in
16862 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16865 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16868 cat "conftest.in" "conftest.in" >"conftest.tmp"
16869 mv "conftest.tmp" "conftest.in"
16870 cp "conftest.in" "conftest.nl"
16871 echo 'EGREP' >> "conftest.nl"
16872 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16873 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16874 ac_count
=`expr $ac_count + 1`
16875 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16876 # Best one so far, save it but keep looking for a better one
16877 ac_cv_path_EGREP
="$ac_path_EGREP"
16878 ac_path_EGREP_max
=$ac_count
16880 # 10*(2^10) chars as input seems more than enough
16881 test $ac_count -gt 10 && break
16883 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16887 $ac_path_EGREP_found && break 3
16897 EGREP
="$ac_cv_path_EGREP"
16898 if test -z "$EGREP"; then
16899 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16900 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16901 { (exit 1); exit 1; }; }
16905 ac_cv_path_EGREP
=$EGREP
16911 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16912 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16913 EGREP
="$ac_cv_path_EGREP"
16916 if test $ac_cv_c_compiler_gnu = yes; then
16917 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16918 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16919 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 ac_pattern
="Autoconf.*'x'"
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16933 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16934 ac_cv_prog_gcc_traditional
=yes
16936 ac_cv_prog_gcc_traditional
=no
16941 if test $ac_cv_prog_gcc_traditional = no
; then
16942 cat >conftest.
$ac_ext <<_ACEOF
16945 cat confdefs.h
>>conftest.
$ac_ext
16946 cat >>conftest.
$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 #include <termio.h>
16951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16952 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16953 ac_cv_prog_gcc_traditional
=yes
16959 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16960 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16961 if test $ac_cv_prog_gcc_traditional = yes; then
16962 CC
="$CC -traditional"
16967 CXXFLAGS
=${CXXFLAGS:=}
16969 ac_cpp
='$CXXCPP $CPPFLAGS'
16970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16973 if test -z "$CXX"; then
16974 if test -n "$CCC"; then
16977 if test -n "$ac_tool_prefix"; then
16978 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16981 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16984 if test "${ac_cv_prog_CXX+set}" = set; then
16985 echo $ECHO_N "(cached) $ECHO_C" >&6
16987 if test -n "$CXX"; then
16988 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16991 for as_dir
in $PATH
16994 test -z "$as_dir" && as_dir
=.
16995 for ac_exec_ext
in '' $ac_executable_extensions; do
16996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16997 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17007 CXX
=$ac_cv_prog_CXX
17008 if test -n "$CXX"; then
17009 { echo "$as_me:$LINENO: result: $CXX" >&5
17010 echo "${ECHO_T}$CXX" >&6; }
17012 { echo "$as_me:$LINENO: result: no" >&5
17013 echo "${ECHO_T}no" >&6; }
17017 test -n "$CXX" && break
17020 if test -z "$CXX"; then
17022 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17024 # Extract the first word of "$ac_prog", so it can be a program name with args.
17025 set dummy
$ac_prog; ac_word
=$2
17026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17028 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 if test -n "$ac_ct_CXX"; then
17032 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17035 for as_dir
in $PATH
17038 test -z "$as_dir" && as_dir
=.
17039 for ac_exec_ext
in '' $ac_executable_extensions; do
17040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17041 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17051 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17052 if test -n "$ac_ct_CXX"; then
17053 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17054 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17056 { echo "$as_me:$LINENO: result: no" >&5
17057 echo "${ECHO_T}no" >&6; }
17061 test -n "$ac_ct_CXX" && break
17064 if test "x$ac_ct_CXX" = x
; then
17067 case $cross_compiling:$ac_tool_warned in
17069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17070 whose name does not start with the host triplet. If you think this
17071 configuration is useful to you, please write to autoconf@gnu.org." >&5
17072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17073 whose name does not start with the host triplet. If you think this
17074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17075 ac_tool_warned
=yes ;;
17083 # Provide some information about the compiler.
17084 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17085 ac_compiler
=`set X $ac_compile; echo $2`
17086 { (ac_try
="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }
17096 { (ac_try="$ac_compiler -v >&5"
17097 case "(($ac_try" in
17098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17099 *) ac_try_echo
=$ac_try;;
17101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17102 (eval "$ac_compiler -v >&5") 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }
17106 { (ac_try
="$ac_compiler -V >&5"
17107 case "(($ac_try" in
17108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;;
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compiler -V >&5") 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }
17117 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17118 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17119 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 cat >conftest.$ac_ext <<_ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17144 *) ac_try_echo
=$ac_try;;
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17149 grep -v '^ *+' conftest.er1
>conftest.err
17151 cat conftest.err
>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_cxx_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.
$ac_objext; then
17157 ac_compiler_gnu
=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17166 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17169 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17171 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17172 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17173 ac_save_CXXFLAGS
=$CXXFLAGS
17174 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17175 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17176 if test "${ac_cv_prog_cxx_g+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17179 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17180 ac_cxx_werror_flag
=yes
17181 ac_cv_prog_cxx_g
=no
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17198 rm -f conftest.
$ac_objext
17199 if { (ac_try
="$ac_compile"
17200 case "(($ac_try" in
17201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_compile") 2>conftest.er1
17207 grep -v '^ *+' conftest.er1 >conftest.err
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } && {
17212 test -z "$ac_cxx_werror_flag" ||
17213 test ! -s conftest.err
17214 } && test -s conftest.$ac_objext; then
17215 ac_cv_prog_cxx_g=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17236 rm -f conftest.$ac_objext
17237 if { (ac_try="$ac_compile"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17240 *) ac_try_echo
=$ac_try;;
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_compile") 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_cxx_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest.
$ac_objext; then
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.
$ac_ext >&5
17258 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17260 cat >conftest.
$ac_ext <<_ACEOF
17263 cat confdefs.h
>>conftest.
$ac_ext
17264 cat >>conftest.
$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17275 rm -f conftest.
$ac_objext
17276 if { (ac_try
="$ac_compile"
17277 case "(($ac_try" in
17278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17279 *) ac_try_echo=$ac_try;;
17281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17282 (eval "$ac_compile") 2>conftest.er1
17284 grep -v '^ *+' conftest.er1 >conftest.err
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } && {
17289 test -z "$ac_cxx_werror_flag" ||
17290 test ! -s conftest.err
17291 } && test -s conftest.$ac_objext; then
17292 ac_cv_prog_cxx_g=yes
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17307 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17309 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17310 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17311 if test "$ac_test_CXXFLAGS" = set; then
17312 CXXFLAGS=$ac_save_CXXFLAGS
17313 elif test $ac_cv_prog_cxx_g = yes; then
17314 if test "$GXX" = yes; then
17320 if test "$GXX" = yes; then
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17340 ac_cpp='$CXXCPP $CPPFLAGS'
17341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17345 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17346 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17347 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 cat >conftest.$ac_ext <<_ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17361 #ifndef __INTEL_COMPILER
17369 rm -f conftest.$ac_objext
17370 if { (ac_try="$ac_compile"
17371 case "(($ac_try" in
17372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17373 *) ac_try_echo
=$ac_try;;
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_compile") 2>conftest.er1
17378 grep -v '^ *+' conftest.er1
>conftest.err
17380 cat conftest.err
>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && {
17383 test -z "$ac_cxx_werror_flag" ||
17384 test ! -s conftest.err
17385 } && test -s conftest.
$ac_objext; then
17386 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17391 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17400 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17401 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17407 ac_cpp
='$CPP $CPPFLAGS'
17408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17415 if test "$INTELCXX" = "yes"; then
17419 ac_cpp
='$CXXCPP $CPPFLAGS'
17420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17424 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17425 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17426 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 cat >conftest.
$ac_ext <<_ACEOF
17432 cat confdefs.h
>>conftest.
$ac_ext
17433 cat >>conftest.
$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17440 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17448 rm -f conftest.
$ac_objext
17449 if { (ac_try
="$ac_compile"
17450 case "(($ac_try" in
17451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17455 (eval "$ac_compile") 2>conftest.er1
17457 grep -v '^ *+' conftest.er1 >conftest.err
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } && {
17462 test -z "$ac_cxx_werror_flag" ||
17463 test ! -s conftest.err
17464 } && test -s conftest.$ac_objext; then
17465 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17470 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17480 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496 ac_cpp='$CXXCPP $CPPFLAGS'
17497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17501 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17502 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17503 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 cat >conftest.$ac_ext <<_ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17517 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17525 rm -f conftest.$ac_objext
17526 if { (ac_try="$ac_compile"
17527 case "(($ac_try" in
17528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17529 *) ac_try_echo
=$ac_try;;
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_compile") 2>conftest.er1
17534 grep -v '^ *+' conftest.er1
>conftest.err
17536 cat conftest.err
>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } && {
17539 test -z "$ac_cxx_werror_flag" ||
17540 test ! -s conftest.err
17541 } && test -s conftest.
$ac_objext; then
17542 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.
$ac_ext >&5
17547 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17555 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17556 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17557 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17563 ac_cpp
='$CPP $CPPFLAGS'
17564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17572 if test "x$GCXX" != "xyes"; then
17573 if test "xCXX" = "xC"; then
17574 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17575 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17576 if test "${bakefile_cv_c_exto+set}" = set; then
17577 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 cat >conftest.
$ac_ext <<_ACEOF
17582 cat confdefs.h
>>conftest.
$ac_ext
17583 cat >>conftest.
$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17594 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; then
17600 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17602 conftest.
$ac_ext.o
)
17603 bakefile_cv_c_exto
="-ext o"
17610 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17611 See \`config.log' for more details." >&5
17612 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17613 See \`config.log' for more details." >&2;}
17614 { (exit 1); exit 1; }; }
17618 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17621 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17622 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17623 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17624 if test "c" = "c"; then
17625 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17627 if test "c" = "cxx"; then
17628 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17632 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17633 unset ac_cv_prog_cc_g
17634 ac_test_CFLAGS
=${CFLAGS+set}
17635 ac_save_CFLAGS
=$CFLAGS
17636 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17637 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17638 if test "${ac_cv_prog_cc_g+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 ac_save_c_werror_flag
=$ac_c_werror_flag
17642 ac_c_werror_flag
=yes
17645 cat >conftest.
$ac_ext <<_ACEOF
17648 cat confdefs.h
>>conftest.
$ac_ext
17649 cat >>conftest.
$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17660 rm -f conftest.
$ac_objext
17661 if { (ac_try
="$ac_compile"
17662 case "(($ac_try" in
17663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17664 *) ac_try_echo=$ac_try;;
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_compile") 2>conftest.er1
17669 grep -v '^ *+' conftest.er1 >conftest.err
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } && {
17674 test -z "$ac_c_werror_flag" ||
17675 test ! -s conftest.err
17676 } && test -s conftest.$ac_objext; then
17677 ac_cv_prog_cc_g=yes
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17698 rm -f conftest.$ac_objext
17699 if { (ac_try="$ac_compile"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17702 *) ac_try_echo
=$ac_try;;
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_compile") 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest.
$ac_objext; then
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 ac_c_werror_flag
=$ac_save_c_werror_flag
17722 cat >conftest.
$ac_ext <<_ACEOF
17725 cat confdefs.h
>>conftest.
$ac_ext
17726 cat >>conftest.
$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17737 rm -f conftest.
$ac_objext
17738 if { (ac_try
="$ac_compile"
17739 case "(($ac_try" in
17740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_compile") 2>conftest.er1
17746 grep -v '^ *+' conftest.er1 >conftest.err
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && {
17751 test -z "$ac_c_werror_flag" ||
17752 test ! -s conftest.err
17753 } && test -s conftest.$ac_objext; then
17754 ac_cv_prog_cc_g=yes
17756 echo "$as_me: failed program was:" >&5
17757 sed 's/^/| /' conftest.$ac_ext >&5
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 ac_c_werror_flag=$ac_save_c_werror_flag
17771 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17772 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17773 if test "$ac_test_CFLAGS" = set; then
17774 CFLAGS=$ac_save_CFLAGS
17775 elif test $ac_cv_prog_cc_g = yes; then
17776 if test "$GCC" = yes; then
17782 if test "$GCC" = yes; then
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17801 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17802 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17803 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 cat >conftest.$ac_ext <<_ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17829 *) ac_try_echo
=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1
>conftest.err
17836 cat conftest.err
>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_cxx_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.
$ac_objext; then
17842 bakefile_cv_cxx_compiler___xlC__
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 bakefile_cv_cxx_compiler___xlC__
=no
17851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17856 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17857 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17863 ac_cpp
='$CPP $CPPFLAGS'
17864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17876 ac_cpp
='$CXXCPP $CPPFLAGS'
17877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17881 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17882 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17883 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 cat >conftest.
$ac_ext <<_ACEOF
17889 cat confdefs.h
>>conftest.
$ac_ext
17890 cat >>conftest.
$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17905 rm -f conftest.
$ac_objext
17906 if { (ac_try
="$ac_compile"
17907 case "(($ac_try" in
17908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_compile") 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && {
17919 test -z "$ac_cxx_werror_flag" ||
17920 test ! -s conftest.err
17921 } && test -s conftest.$ac_objext; then
17922 bakefile_cv_cxx_compiler___MWERKS__=yes
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17927 bakefile_cv_cxx_compiler___MWERKS__=no
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17937 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950 if test "$MWCXX" != "yes"; then
17954 ac_cpp='$CXXCPP $CPPFLAGS'
17955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17959 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17960 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17961 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 cat >conftest.$ac_ext <<_ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17983 rm -f conftest.$ac_objext
17984 if { (ac_try="$ac_compile"
17985 case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17987 *) ac_try_echo
=$ac_try;;
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_compile") 2>conftest.er1
17992 grep -v '^ *+' conftest.er1
>conftest.err
17994 cat conftest.err
>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } && {
17997 test -z "$ac_cxx_werror_flag" ||
17998 test ! -s conftest.err
17999 } && test -s conftest.
$ac_objext; then
18000 bakefile_cv_cxx_compiler___xlC__
=yes
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 bakefile_cv_cxx_compiler___xlC__
=no
18009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18013 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18014 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18015 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18021 ac_cpp
='$CPP $CPPFLAGS'
18022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18035 ac_cpp
='$CXXCPP $CPPFLAGS'
18036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18040 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18041 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18042 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18056 #ifndef _SGI_COMPILER_VERSION
18064 rm -f conftest.
$ac_objext
18065 if { (ac_try
="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18073 grep -v '^ *+' conftest.er1 >conftest.err
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_cxx_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.$ac_ext >&5
18086 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18095 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18096 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18112 if test "$INTELCXX" != "yes"; then
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18137 #ifndef __SUNPRO_CC
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18149 *) ac_try_echo
=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_cxx_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.
$ac_objext; then
18162 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18177 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18183 ac_cpp
='$CPP $CPPFLAGS'
18184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18197 ac_cpp
='$CXXCPP $CPPFLAGS'
18198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 cat >conftest.
$ac_ext <<_ACEOF
18210 cat confdefs.h
>>conftest.
$ac_ext
18211 cat >>conftest.
$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18226 rm -f conftest.
$ac_objext
18227 if { (ac_try
="$ac_compile"
18228 case "(($ac_try" in
18229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_compile") 2>conftest.er1
18235 grep -v '^ *+' conftest.er1 >conftest.err
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest.$ac_objext; then
18243 bakefile_cv_cxx_compiler___HP_aCC=yes
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 bakefile_cv_cxx_compiler___HP_aCC=no
18252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18277 ac_cpp='$CXXCPP $CPPFLAGS'
18278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 cat >conftest.$ac_ext <<_ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18306 rm -f conftest.$ac_objext
18307 if { (ac_try="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18310 *) ac_try_echo
=$ac_try;;
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18315 grep -v '^ *+' conftest.er1
>conftest.err
18317 cat conftest.err
>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_cxx_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.
$ac_objext; then
18323 bakefile_cv_cxx_compiler___DECCXX
=yes
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 bakefile_cv_cxx_compiler___DECCXX
=no
18332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18344 ac_cpp
='$CPP $CPPFLAGS'
18345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18357 ac_cpp
='$CXXCPP $CPPFLAGS'
18358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 cat >conftest.
$ac_ext <<_ACEOF
18370 cat confdefs.h
>>conftest.
$ac_ext
18371 cat >>conftest.
$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18378 #ifndef __SUNPRO_CC
18386 rm -f conftest.
$ac_objext
18387 if { (ac_try
="$ac_compile"
18388 case "(($ac_try" in
18389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18390 *) ac_try_echo=$ac_try;;
18392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18393 (eval "$ac_compile") 2>conftest.er1
18395 grep -v '^ *+' conftest.er1 >conftest.err
18397 cat conftest.err >&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } && {
18400 test -z "$ac_cxx_werror_flag" ||
18401 test ! -s conftest.err
18402 } && test -s conftest.$ac_objext; then
18403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18424 ac_cpp='$CPP $CPPFLAGS'
18425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18440 { (exit 1); exit 1; }; }
18443 if test "x$SUNCXX" != xyes; then
18444 if test -n "$ac_tool_prefix"; then
18445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18446 set dummy ${ac_tool_prefix}ar; ac_word=$2
18447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18449 if test "${ac_cv_prog_AR+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18452 if test -n "$AR"; then
18453 ac_cv_prog_AR="$AR" # Let the user override the test.
18455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18456 for as_dir in $PATH
18459 test -z "$as_dir" && as_dir=.
18460 for ac_exec_ext in '' $ac_executable_extensions; do
18461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18462 ac_cv_prog_AR="${ac_tool_prefix}ar"
18463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18473 if test -n "$AR"; then
18474 { echo "$as_me:$LINENO: result: $AR" >&5
18475 echo "${ECHO_T}$AR" >&6; }
18477 { echo "$as_me:$LINENO: result: no" >&5
18478 echo "${ECHO_T}no" >&6; }
18483 if test -z "$ac_cv_prog_AR"; then
18485 # Extract the first word of "ar", so it can be a program name with args.
18486 set dummy ar; ac_word=$2
18487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 if test -n "$ac_ct_AR"; then
18493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18496 for as_dir in $PATH
18499 test -z "$as_dir" && as_dir=.
18500 for ac_exec_ext in '' $ac_executable_extensions; do
18501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18502 ac_cv_prog_ac_ct_AR="ar"
18503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18513 if test -n "$ac_ct_AR"; then
18514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18515 echo "${ECHO_T}$ac_ct_AR" >&6; }
18517 { echo "$as_me:$LINENO: result: no" >&5
18518 echo "${ECHO_T}no" >&6; }
18521 if test "x$ac_ct_AR" = x; then
18524 case $cross_compiling:$ac_tool_warned in
18526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18527 whose name does not start with the host triplet. If you think this
18528 configuration is useful to you, please write to autoconf@gnu.org." >&5
18529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18530 whose name does not start with the host triplet. If you think this
18531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18532 ac_tool_warned=yes ;;
18537 AR="$ac_cv_prog_AR"
18540 if test "x$AR" = "x" ; then
18541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18543 { (exit 1); exit 1; }; }
18548 if test "$wxUSE_MAC" = 1; then
18550 retest_macosx_linking=no
18552 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18553 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18554 # Implicitly turn on the new --with-macosx-sdk using the default
18555 # SDK which provides the behavior this option has always had.
18556 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18557 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18558 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18559 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18560 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18561 wxUSE_MACOSX_SDK=yes
18564 # Complain to user if he specified an argument to --enable-universal_binary
18565 # and also 1) specified --with-macosx-sdk using the default (yes) or
18566 # 2) specified --with-macosx-sdk using a path or 3) specified
18567 # --without-macosx-sdk (no).
18568 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18569 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18570 See \`config.log
' for more details." >&5
18571 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18572 See \`config.log' for more details.
" >&2;}
18573 { (exit 1); exit 1; }; }
18575 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18576 # special-case the empty string because the below test simply
18577 # converts "no
" to the empty string anyway.
18578 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18579 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18580 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18583 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18584 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18585 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18586 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18587 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18588 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18589 retest_macosx_linking=yes
18591 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18592 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18596 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18598 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18599 # TODO: Search for most recent SDK and use it.
18600 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18604 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18605 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18606 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18607 if ! test -d "$wxUSE_MACOSX_SDK"; then
18608 { { echo "$as_me:$LINENO: error
: not found
18609 See \
`config.log' for more details." >&5
18610 echo "$as_me: error: not found
18611 See \`config.log
' for more details." >&2;}
18612 { (exit 1); exit 1; }; }
18614 { echo "$as_me:$LINENO: result: exists" >&5
18615 echo "${ECHO_T}exists" >&6; }
18617 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18618 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18619 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18620 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18621 retest_macosx_linking=yes
18624 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18625 wxUSE_MACOSX_VERSION_MIN=
18626 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18627 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18628 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18629 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18631 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/'`
18633 # If that failed, try again with the new key
18634 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18636 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/'`
18640 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18641 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18642 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18643 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18645 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18646 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18647 wxUSE_MACOSX_VERSION_MIN=
18650 wxUSE_MACOSX_VERSION_MIN=
18652 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18653 for ac_prog in sw_vers
18655 # Extract the first word of "$ac_prog", so it can be a program name with args.
18656 set dummy $ac_prog; ac_word=$2
18657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18659 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18662 if test -n "$OSX_SW_VERS"; then
18663 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18666 for as_dir in $PATH
18669 test -z "$as_dir" && as_dir=.
18670 for ac_exec_ext in '' $ac_executable_extensions; do
18671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18672 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18682 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18683 if test -n "$OSX_SW_VERS"; then
18684 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18685 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18687 { echo "$as_me:$LINENO: result: no" >&5
18688 echo "${ECHO_T}no" >&6; }
18692 test -n "$OSX_SW_VERS" && break
18695 if test "$OSX_SW_VERS" != ""; then
18696 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18698 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18699 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18703 case "$OSX_VERSION" in
18705 wxUSE_MACOSX_VERSION_MIN=10.4
18709 if test "$wxUSE_OSX_CARBON" = 1; then
18710 # otherwise configure stops on leopard for universal_binary
18711 wxUSE_MACOSX_VERSION_MIN=10.4
18713 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18714 wxUSE_MACOSX_VERSION_MIN=10.5
18721 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18725 if test "$wxUSE_OSX_CARBON" = 1; then
18729 if test "x$NEEDS_GCC40" == "xyes"; then
18730 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18731 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18732 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18733 if test "x$CC" = "xgcc"; then
18734 CCVERSION=`$CC --version | grep 4.[2-9].`
18735 if test "x$CCVERSION" != "x"; then
18736 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18737 CC="/usr/bin/gcc-4.0"
18741 if test "x$CXX" = "xg++"; then
18742 CCVERSION=`$CXX --version | grep 4.[2-9].`
18743 if test "x$CCVERSION" != "x"; then
18744 CXX="/usr/bin/g++-4.0"
18749 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18750 if test "$wxUSE_OSX_IPHONE" = 1; then
18751 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18753 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18755 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18756 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18757 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18758 retest_macosx_linking=yes
18761 if test "x$retest_macosx_linking" = "xyes"; then
18763 ac_cpp='$CPP $CPPFLAGS'
18764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18765 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18768 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18769 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18770 cat >conftest.$ac_ext <<_ACEOF
18773 cat confdefs.h >>conftest.$ac_ext
18774 cat >>conftest.$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18785 rm -f conftest.$ac_objext conftest$ac_exeext
18786 if { (ac_try="$ac_link"
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_link") 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_exeext &&
18802 $as_test_x conftest$ac_exeext; then
18803 { echo "$as_me:$LINENO: result: yes" >&5
18804 echo "${ECHO_T}yes" >&6; }
18806 echo "$as_me: failed program was:" >&5
18807 sed 's
/^
/| /' conftest.$ac_ext >&5
18809 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18810 See \`config.log' for more details.
" >&5
18811 echo "$as_me: error
: no. Try a different SDK
18812 See \
`config.log' for more details." >&2;}
18813 { (exit 1); exit 1; }; }; exit 1
18816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18817 conftest$ac_exeext conftest.$ac_ext
18819 ac_cpp='$CPP $CPPFLAGS'
18820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18831 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18832 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18833 cat >conftest.$ac_ext <<_ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18848 rm -f conftest.$ac_objext conftest$ac_exeext
18849 if { (ac_try="$ac_link"
18850 case "(($ac_try" in
18851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18852 *) ac_try_echo
=$ac_try;;
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_link") 2>conftest.er1
18857 grep -v '^ *+' conftest.er1
>conftest.err
18859 cat conftest.err
>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } && {
18862 test -z "$ac_cxx_werror_flag" ||
18863 test ! -s conftest.err
18864 } && test -s conftest
$ac_exeext &&
18865 $as_test_x conftest
$ac_exeext; then
18866 { echo "$as_me:$LINENO: result: yes" >&5
18867 echo "${ECHO_T}yes" >&6; }
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18872 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: no. Try a different SDK
18875 See \`config.log' for more details." >&2;}
18876 { (exit 1); exit 1; }; }; exit 1
18879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18880 conftest
$ac_exeext conftest.
$ac_ext
18882 ac_cpp
='$CPP $CPPFLAGS'
18883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18893 INSTALL_PROGRAM
="cp -fp"
18894 INSTALL_DATA
="cp -fp"
18901 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18902 CXXFLAGS
="-qunique $CXXFLAGS"
18906 powerpc
-*-darwin* )
18907 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18908 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18919 #ifndef __POWERPC__
18920 choke me for lack of PowerPC
18927 rm -f conftest.
$ac_objext
18928 if { (ac_try
="$ac_compile"
18929 case "(($ac_try" in
18930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_compile") 2>conftest.er1
18936 grep -v '^ *+' conftest.er1 >conftest.err
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } && {
18941 test -z "$ac_c_werror_flag" ||
18942 test ! -s conftest.err
18943 } && test -s conftest.$ac_objext; then
18944 { echo "$as_me:$LINENO: result: yes" >&5
18945 echo "${ECHO_T}yes" >&6; }
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18950 { echo "$as_me:$LINENO: result: no" >&5
18951 echo "${ECHO_T}no" >&6; }
18952 cat >>confdefs.h <<\_ACEOF
18953 #define __POWERPC__ 1
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18966 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18967 cat >conftest.$ac_ext <<_ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 #include <CoreFoundation/CFBase.h>
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18987 *) ac_try_echo
=$ac_try;;
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18992 grep -v '^ *+' conftest.er1
>conftest.err
18994 cat conftest.err
>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.
$ac_objext; then
19000 { echo "$as_me:$LINENO: result: yes" >&5
19001 echo "${ECHO_T}yes" >&6; }
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.
$ac_ext >&5
19006 { echo "$as_me:$LINENO: result: no" >&5
19007 echo "${ECHO_T}no" >&6; }
19008 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19009 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19010 cat >conftest.
$ac_ext <<_ACEOF
19013 cat confdefs.h
>>conftest.
$ac_ext
19014 cat >>conftest.
$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 #define __CF_USE_FRAMEWORK_INCLUDES__
19017 #include <CoreFoundation/CFBase.h>
19027 rm -f conftest.
$ac_objext
19028 if { (ac_try
="$ac_compile"
19029 case "(($ac_try" in
19030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19031 *) ac_try_echo=$ac_try;;
19033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19034 (eval "$ac_compile") 2>conftest.er1
19036 grep -v '^ *+' conftest.er1 >conftest.err
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } && {
19041 test -z "$ac_c_werror_flag" ||
19042 test ! -s conftest.err
19043 } && test -s conftest.$ac_objext; then
19044 { echo "$as_me:$LINENO: result: yes" >&5
19045 echo "${ECHO_T}yes" >&6; }
19046 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19051 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19052 See \`config.log
' for more details." >&5
19053 echo "$as_me: error: no. CoreFoundation not available.
19054 See \`config.log' for more details.
" >&2;}
19055 { (exit 1); exit 1; }; }
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 doesnt_want_win32=0
19072 if test "$wxUSE_MSW" = 1 ; then
19075 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19076 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19077 if test "${wx_cv_nocygwin+set}" = set; then
19078 echo $ECHO_N "(cached
) $ECHO_C" >&6
19081 cat >conftest.$ac_ext <<_ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19100 rm -f conftest.$ac_objext
19101 if { (ac_try="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19109 grep -v '^ *+' conftest.er1 >conftest.err
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.$ac_objext; then
19119 echo "$as_me: failed program was
:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19131 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19133 if test "$wx_cv_nocygwin" = "yes"; then
19136 doesnt_want_win32=1
19139 if test "$wants_win32" = 1 ; then
19140 BAKEFILE_FORCE_PLATFORM=win32
19148 if test "$wxUSE_WINE" = "yes"; then
19150 LDFLAGS_GUI="-mwindows"
19153 if test "$wants_win32" = 1 ; then
19156 cat >>confdefs.h <<\_ACEOF
19157 #define __WIN32__ 1
19160 cat >>confdefs.h <<\_ACEOF
19161 #define __WIN95__ 1
19164 cat >>confdefs.h <<\_ACEOF
19165 #define __WINDOWS__ 1
19168 cat >>confdefs.h <<\_ACEOF
19169 #define __GNUWIN32__ 1
19172 cat >>confdefs.h <<\_ACEOF
19177 if test "$doesnt_want_win32" = 1 ; then
19182 if test "$USE_UNIX" = 1 ; then
19184 cat >>confdefs.h <<\_ACEOF
19191 *-pc-os2_emx | *-pc-os2-emx )
19192 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19193 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19194 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19195 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19196 echo $ECHO_N "(cached
) $ECHO_C" >&6
19198 ac_check_lib_save_LIBS=$LIBS
19199 LIBS="-lcExt $LIBS"
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19207 /* Override any GCC internal prototype to avoid an error.
19208 Use char because int might match the return type of a GCC
19209 builtin and then its argument prototype would still apply. */
19222 rm -f conftest.$ac_objext conftest$ac_exeext
19223 if { (ac_try="$ac_link"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_link") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest$ac_exeext &&
19239 $as_test_x conftest$ac_exeext; then
19240 ac_cv_lib_cExt_drand48=yes
19242 echo "$as_me: failed program was
:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 ac_cv_lib_cExt_drand48=no
19248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19249 conftest$ac_exeext conftest.$ac_ext
19250 LIBS=$ac_check_lib_save_LIBS
19252 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19253 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19254 if test $ac_cv_lib_cExt_drand48 = yes; then
19255 LIBS="$LIBS -lcExt"
19259 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19261 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19262 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19263 if test "${wx_cv_gccversion+set}" = set; then
19264 echo $ECHO_N "(cached
) $ECHO_C" >&6
19267 if test "$cross_compiling" = yes; then
19268 wx_cv_gccversion="EMX2
"
19271 cat >conftest.$ac_ext <<_ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19282 FILE *f=fopen("conftestval
", "w
");
19287 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19289 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19299 rm -f conftest$ac_exeext
19300 if { (ac_try="$ac_link"
19301 case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19305 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_link") 2>&5
19308 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19310 { (case "(($ac_try" in
19311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19312 *) ac_try_echo=$ac_try;;
19314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19315 (eval "$ac_try") 2>&5
19317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19318 (exit $ac_status); }; }; then
19319 wx_cv_gccversion=`cat conftestval`
19321 echo "$as_me: program exited with status
$ac_status" >&5
19322 echo "$as_me: failed program was
:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19325 ( exit $ac_status )
19326 wx_cv_gccversion="EMX2
"
19328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19334 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19335 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19336 if test "$wx_cv_gccversion" = "EMX2
"; then
19337 LIBS="$LIBS -lstdcpp"
19338 LDFLAGS="$LDFLAGS -Zsysv-signals"
19340 if test "$wx_cv_gccversion" = "EMX3
"; then
19341 LIBS="$LIBS -lstdcxx -lgcc"
19342 LDFLAGS="$LDFLAGS -Zsysv-signals"
19344 LIBS="$LIBS -lstdc++"
19347 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19348 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19349 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19356 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19357 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19358 if test "${ac_cv_string_strcasecmp+set}" = set; then
19359 echo $ECHO_N "(cached
) $ECHO_C" >&6
19362 cat >conftest.$ac_ext <<_ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19369 #include <string.h>
19375 strcasecmp("foo
", "bar
");
19381 rm -f conftest.$ac_objext conftest$ac_exeext
19382 if { (ac_try="$ac_link"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_link") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest$ac_exeext &&
19398 $as_test_x conftest$ac_exeext; then
19399 ac_cv_string_strcasecmp=yes
19401 echo "$as_me: failed program was
:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 ac_cv_string_strcasecmp=no
19408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19409 conftest$ac_exeext conftest.$ac_ext
19412 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19413 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19415 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19416 cat >>confdefs.h <<\_ACEOF
19417 #define HAVE_STRCASECMP_IN_STRING_H 1
19421 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19422 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19423 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19424 echo $ECHO_N "(cached
) $ECHO_C" >&6
19427 cat >conftest.$ac_ext <<_ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19434 #include <strings.h>
19440 strcasecmp("foo
", "bar
");
19446 rm -f conftest.$ac_objext conftest$ac_exeext
19447 if { (ac_try="$ac_link"
19448 case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 *) ac_try_echo=$ac_try;;
19452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_link") 2>conftest.er1
19455 grep -v '^ *+' conftest.er1 >conftest.err
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19459 (exit $ac_status); } && {
19460 test -z "$ac_c_werror_flag" ||
19461 test ! -s conftest.err
19462 } && test -s conftest$ac_exeext &&
19463 $as_test_x conftest$ac_exeext; then
19464 ac_cv_strings_strcasecmp=yes
19466 echo "$as_me: failed program was
:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19469 ac_cv_strings_strcasecmp=no
19473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19474 conftest$ac_exeext conftest.$ac_ext
19477 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19478 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19480 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19481 cat >>confdefs.h <<\_ACEOF
19482 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19486 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19487 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19488 { (exit 1); exit 1; }; }
19496 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19497 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19498 if test "${ac_cv_header_stdc+set}" = set; then
19499 echo $ECHO_N "(cached
) $ECHO_C" >&6
19501 cat >conftest.$ac_ext <<_ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <stdlib.h>
19508 #include <stdarg.h>
19509 #include <string.h>
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19529 grep -v '^ *+' conftest.er1 >conftest.err
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19537 ac_cv_header_stdc=yes
19539 echo "$as_me: failed program was
:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19542 ac_cv_header_stdc=no
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 if test $ac_cv_header_stdc = yes; then
19548 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19549 cat >conftest.$ac_ext <<_ACEOF
19552 cat confdefs.h >>conftest.$ac_ext
19553 cat >>conftest.$ac_ext <<_ACEOF
19554 /* end confdefs.h. */
19555 #include <string.h>
19558 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19559 $EGREP "memchr
" >/dev/null 2>&1; then
19562 ac_cv_header_stdc=no
19568 if test $ac_cv_header_stdc = yes; then
19569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19570 cat >conftest.$ac_ext <<_ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <stdlib.h>
19579 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19580 $EGREP "free
" >/dev/null 2>&1; then
19583 ac_cv_header_stdc=no
19589 if test $ac_cv_header_stdc = yes; then
19590 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19591 if test "$cross_compiling" = yes; then
19594 cat >conftest.$ac_ext <<_ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19601 #include <stdlib.h>
19602 #if ((' ' & 0x0FF) == 0x020)
19603 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19604 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19606 # define ISLOWER(c) \
19607 (('a' <= (c) && (c) <= 'i') \
19608 || ('j' <= (c) && (c) <= 'r') \
19609 || ('s' <= (c) && (c) <= 'z'))
19610 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19618 for (i = 0; i < 256; i++)
19619 if (XOR (islower (i), ISLOWER (i))
19620 || toupper (i) != TOUPPER (i))
19625 rm -f conftest$ac_exeext
19626 if { (ac_try="$ac_link"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_link") 2>&5
19634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19636 { (case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_try") 2>&5
19643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19644 (exit $ac_status); }; }; then
19647 echo "$as_me: program exited with status
$ac_status" >&5
19648 echo "$as_me: failed program was
:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19651 ( exit $ac_status )
19652 ac_cv_header_stdc=no
19654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19660 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19661 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19662 if test $ac_cv_header_stdc = yes; then
19664 cat >>confdefs.h <<\_ACEOF
19665 #define STDC_HEADERS 1
19670 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19680 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19681 inttypes.h stdint.h unistd.h
19683 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19684 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19685 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19686 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19687 echo $ECHO_N "(cached
) $ECHO_C" >&6
19689 cat >conftest.$ac_ext <<_ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19697 #include <$ac_header>
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19708 grep -v '^ *+' conftest.er1 >conftest.err
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 eval "$as_ac_Header=yes"
19718 echo "$as_me: failed program was
:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19721 eval "$as_ac_Header=no
"
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19726 ac_res=`eval echo '${'$as_ac_Header'}'`
19727 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19728 echo "${ECHO_T}$ac_res" >&6; }
19729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19730 cat >>confdefs.h <<_ACEOF
19731 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19741 for ac_header in langinfo.h wchar.h
19743 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19744 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19745 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19746 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19747 echo $ECHO_N "(cached
) $ECHO_C" >&6
19749 cat >conftest.$ac_ext <<_ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19757 #include <$ac_header>
19759 rm -f conftest.$ac_objext
19760 if { (ac_try="$ac_compile"
19761 case "(($ac_try" in
19762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19763 *) ac_try_echo=$ac_try;;
19765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19766 (eval "$ac_compile") 2>conftest.er1
19768 grep -v '^ *+' conftest.er1 >conftest.err
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19772 (exit $ac_status); } && {
19773 test -z "$ac_c_werror_flag" ||
19774 test ! -s conftest.err
19775 } && test -s conftest.$ac_objext; then
19776 eval "$as_ac_Header=yes"
19778 echo "$as_me: failed program was
:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19781 eval "$as_ac_Header=no
"
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19786 ac_res=`eval echo '${'$as_ac_Header'}'`
19787 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19788 echo "${ECHO_T}$ac_res" >&6; }
19789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19790 cat >>confdefs.h <<_ACEOF
19791 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19799 if test "$ac_cv_header_wchar_h" != "yes"; then
19801 for ac_header in wcstr.h
19803 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19804 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19805 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19806 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19807 echo $ECHO_N "(cached
) $ECHO_C" >&6
19809 cat >conftest.$ac_ext <<_ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19817 #include <$ac_header>
19819 rm -f conftest.$ac_objext
19820 if { (ac_try="$ac_compile"
19821 case "(($ac_try" in
19822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19823 *) ac_try_echo=$ac_try;;
19825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19826 (eval "$ac_compile") 2>conftest.er1
19828 grep -v '^ *+' conftest.er1 >conftest.err
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19832 (exit $ac_status); } && {
19833 test -z "$ac_c_werror_flag" ||
19834 test ! -s conftest.err
19835 } && test -s conftest.$ac_objext; then
19836 eval "$as_ac_Header=yes"
19838 echo "$as_me: failed program was
:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19841 eval "$as_ac_Header=no
"
19844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 ac_res=`eval echo '${'$as_ac_Header'}'`
19847 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19848 echo "${ECHO_T}$ac_res" >&6; }
19849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19850 cat >>confdefs.h <<_ACEOF
19851 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19861 *-pc-os2_emx | *-pc-os2-emx )
19862 if test $ac_cv_header_langinfo_h = "yes" \
19863 -a \( "$wx_cv_gccversion" = "EMX2
" \
19864 -o "$wx_cv_gccversion" = "EMX3
" \
19865 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19866 LIBS="$LIBS -lintl"
19871 if test "$USE_UNIX" = 1 ; then
19873 for ac_header in sys/select.h
19875 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19876 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19877 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19878 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19879 echo $ECHO_N "(cached
) $ECHO_C" >&6
19881 cat >conftest.$ac_ext <<_ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 $ac_includes_default
19889 #include <$ac_header>
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19900 grep -v '^ *+' conftest.er1 >conftest.err
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 eval "$as_ac_Header=yes"
19910 echo "$as_me: failed program was
:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 eval "$as_ac_Header=no
"
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 ac_res=`eval echo '${'$as_ac_Header'}'`
19919 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19920 echo "${ECHO_T}$ac_res" >&6; }
19921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19922 cat >>confdefs.h <<_ACEOF
19923 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19933 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19934 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19935 if test "${ac_cv_c_const+set}" = set; then
19936 echo $ECHO_N "(cached
) $ECHO_C" >&6
19938 cat >conftest.$ac_ext <<_ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19948 /* FIXME: Include the comments suggested by Paul. */
19949 #ifndef __cplusplus
19950 /* Ultrix mips cc rejects this. */
19951 typedef int charset[2];
19953 /* SunOS 4.1.1 cc rejects this. */
19954 char const *const *pcpcc;
19956 /* NEC SVR4.0.2 mips cc rejects this. */
19957 struct point {int x, y;};
19958 static struct point const zero = {0,0};
19959 /* AIX XL C 1.02.0.0 rejects this.
19960 It does not let you subtract one const X* pointer from another in
19961 an arm of an if-expression whose if-part is not a constant
19963 const char *g = "string
";
19964 pcpcc = &g + (g ? g-g : 0);
19965 /* HPUX 7.0 cc rejects these. */
19967 ppc = (char**) pcpcc;
19968 pcpcc = (char const *const *) ppc;
19969 { /* SCO 3.2v4 cc rejects this. */
19971 char const *s = 0 ? (char *) 0 : (char const *) 0;
19976 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19977 int x[] = {25, 17};
19978 const int *foo = &x[0];
19981 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19982 typedef const int *iptr;
19986 { /* AIX XL C 1.02.0.0 rejects this saying
19987 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19988 struct s { int j; const int *ap[3]; };
19989 struct s *b; b->j = 5;
19991 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19992 const int foo = 10;
19993 if (!foo) return 0;
19995 return !cs[0] && !zero.x;
20002 rm -f conftest.$ac_objext
20003 if { (ac_try="$ac_compile"
20004 case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
20011 grep -v '^ *+' conftest.er1 >conftest.err
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
20021 echo "$as_me: failed program was
:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20030 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20031 if test $ac_cv_c_const = no; then
20033 cat >>confdefs.h <<\_ACEOF
20039 { echo "$as_me:$LINENO: checking
for inline
" >&5
20040 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20041 if test "${ac_cv_c_inline+set}" = set; then
20042 echo $ECHO_N "(cached
) $ECHO_C" >&6
20045 for ac_kw in inline __inline__ __inline; do
20046 cat >conftest.$ac_ext <<_ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #ifndef __cplusplus
20054 static $ac_kw foo_t static_foo () {return 0; }
20055 $ac_kw foo_t foo () {return 0; }
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20068 grep -v '^ *+' conftest.er1 >conftest.err
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.$ac_objext; then
20076 ac_cv_c_inline=$ac_kw
20078 echo "$as_me: failed program was
:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 test "$ac_cv_c_inline" != no && break
20089 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20090 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20093 case $ac_cv_c_inline in
20096 case $ac_cv_c_inline in
20098 *) ac_val=$ac_cv_c_inline;;
20100 cat >>confdefs.h <<_ACEOF
20101 #ifndef __cplusplus
20102 #define inline $ac_val
20109 { echo "$as_me:$LINENO: checking
for short
" >&5
20110 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20111 if test "${ac_cv_type_short+set}" = set; then
20112 echo $ECHO_N "(cached
) $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 typedef short ac__type_new_;
20125 if ((ac__type_new_ *) 0)
20127 if (sizeof (ac__type_new_))
20133 rm -f conftest.$ac_objext
20134 if { (ac_try="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20142 grep -v '^ *+' conftest.er1 >conftest.err
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest.$ac_objext; then
20150 ac_cv_type_short=yes
20152 echo "$as_me: failed program was
:" >&5
20153 sed 's/^/| /' conftest.$ac_ext >&5
20155 ac_cv_type_short=no
20158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20161 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20163 # The cast to long int works around a bug in the HP C Compiler
20164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20166 # This bug is HP SR number 8606223364.
20167 { echo "$as_me:$LINENO: checking size of short
" >&5
20168 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20169 if test "${ac_cv_sizeof_short+set}" = set; then
20170 echo $ECHO_N "(cached
) $ECHO_C" >&6
20172 if test "$cross_compiling" = yes; then
20173 # Depending upon the size, compute the lo and hi bounds.
20174 cat >conftest.$ac_ext <<_ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef short ac__type_sizeof_;
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20201 grep -v '^ *+' conftest.er1 >conftest.err
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20211 cat >conftest.$ac_ext <<_ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef short ac__type_sizeof_;
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20238 grep -v '^ *+' conftest.er1 >conftest.err
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20246 ac_hi=$ac_mid; break
20248 echo "$as_me: failed program was
:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20251 ac_lo=`expr $ac_mid + 1`
20252 if test $ac_lo -le $ac_mid; then
20256 ac_mid=`expr 2 '*' $ac_mid + 1`
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 echo "$as_me: failed program was
:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20265 cat >conftest.$ac_ext <<_ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 $ac_includes_default
20272 typedef short ac__type_sizeof_;
20276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20283 rm -f conftest.$ac_objext
20284 if { (ac_try="$ac_compile"
20285 case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_compile") 2>conftest.er1
20292 grep -v '^ *+' conftest.er1 >conftest.err
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20296 (exit $ac_status); } && {
20297 test -z "$ac_c_werror_flag" ||
20298 test ! -s conftest.err
20299 } && test -s conftest.$ac_objext; then
20302 cat >conftest.$ac_ext <<_ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20309 typedef short ac__type_sizeof_;
20313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20320 rm -f conftest.$ac_objext
20321 if { (ac_try="$ac_compile"
20322 case "(($ac_try" in
20323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_compile") 2>conftest.er1
20329 grep -v '^ *+' conftest.er1 >conftest.err
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20333 (exit $ac_status); } && {
20334 test -z "$ac_c_werror_flag" ||
20335 test ! -s conftest.err
20336 } && test -s conftest.$ac_objext; then
20337 ac_lo=$ac_mid; break
20339 echo "$as_me: failed program was
:" >&5
20340 sed 's/^/| /' conftest.$ac_ext >&5
20342 ac_hi=`expr '(' $ac_mid ')' - 1`
20343 if test $ac_mid -le $ac_hi; then
20347 ac_mid=`expr 2 '*' $ac_mid`
20350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 echo "$as_me: failed program was
:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363 # Binary search between lo and hi bounds.
20364 while test "x
$ac_lo" != "x
$ac_hi"; do
20365 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20366 cat >conftest.$ac_ext <<_ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20373 typedef short ac__type_sizeof_;
20377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20384 rm -f conftest.$ac_objext
20385 if { (ac_try="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20393 grep -v '^ *+' conftest.er1 >conftest.err
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20403 echo "$as_me: failed program was
:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 ac_lo=`expr '(' $ac_mid ')' + 1`
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20412 ?*) ac_cv_sizeof_short=$ac_lo;;
20413 '') if test "$ac_cv_type_short" = yes; then
20414 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20415 See \
`config.log' for more details." >&5
20416 echo "$as_me: error: cannot compute sizeof (short)
20417 See \`config.log
' for more details." >&2;}
20418 { (exit 77); exit 77; }; }
20420 ac_cv_sizeof_short=0
20424 cat >conftest.$ac_ext <<_ACEOF
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20431 typedef short ac__type_sizeof_;
20432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20435 #include <stdlib.h>
20440 FILE *f = fopen ("conftest.val", "w");
20443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20445 long int i = longval ();
20446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20448 fprintf (f, "%ld\n", i);
20452 unsigned long int i = ulongval ();
20453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20455 fprintf (f, "%lu\n", i);
20457 return ferror (f) || fclose (f) != 0;
20463 rm -f conftest$ac_exeext
20464 if { (ac_try="$ac_link"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_link") 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20474 { (case "(($ac_try" in
20475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_try") 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; }; then
20483 ac_cv_sizeof_short=`cat conftest.val`
20485 echo "$as_me: program exited with status $ac_status" >&5
20486 echo "$as_me: failed program was:" >&5
20487 sed 's
/^
/| /' conftest.$ac_ext >&5
20489 ( exit $ac_status )
20490 if test "$ac_cv_type_short" = yes; then
20491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20492 See \`config.log' for more details.
" >&5
20493 echo "$as_me: error
: cannot compute sizeof
(short
)
20494 See \
`config.log' for more details." >&2;}
20495 { (exit 77); exit 77; }; }
20497 ac_cv_sizeof_short=0
20500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20505 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20509 cat >>confdefs.h <<_ACEOF
20510 #define SIZEOF_SHORT $ac_cv_sizeof_short
20514 { echo "$as_me:$LINENO: checking for void *" >&5
20515 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20516 if test "${ac_cv_type_void_p+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 cat >conftest.$ac_ext <<_ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20526 typedef void * ac__type_new_;
20530 if ((ac__type_new_ *) 0)
20532 if (sizeof (ac__type_new_))
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20542 *) ac_try_echo
=$ac_try;;
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.
$ac_objext; then
20555 ac_cv_type_void_p
=yes
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 ac_cv_type_void_p
=no
20563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20566 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20568 # The cast to long int works around a bug in the HP C Compiler
20569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20571 # This bug is HP SR number 8606223364.
20572 { echo "$as_me:$LINENO: checking size of void *" >&5
20573 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20574 if test "${ac_cv_sizeof_void_p+set}" = set; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 if test "$cross_compiling" = yes; then
20578 # Depending upon the size, compute the lo and hi bounds.
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef void * ac__type_sizeof_;
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20597 rm -f conftest.
$ac_objext
20598 if { (ac_try
="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20606 grep -v '^ *+' conftest.er1 >conftest.err
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20616 cat >conftest.$ac_ext <<_ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef void * ac__type_sizeof_;
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20638 *) ac_try_echo
=$ac_try;;
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.
$ac_objext; then
20651 ac_hi
=$ac_mid; break
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.
$ac_ext >&5
20656 ac_lo
=`expr $ac_mid + 1`
20657 if test $ac_lo -le $ac_mid; then
20661 ac_mid
=`expr 2 '*' $ac_mid + 1`
20664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.
$ac_ext >&5
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20677 typedef void * ac__type_sizeof_;
20681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20688 rm -f conftest.
$ac_objext
20689 if { (ac_try
="$ac_compile"
20690 case "(($ac_try" in
20691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_compile") 2>conftest.er1
20697 grep -v '^ *+' conftest.er1 >conftest.err
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } && {
20702 test -z "$ac_c_werror_flag" ||
20703 test ! -s conftest.err
20704 } && test -s conftest.$ac_objext; then
20707 cat >conftest.$ac_ext <<_ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 typedef void * ac__type_sizeof_;
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20729 *) ac_try_echo
=$ac_try;;
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20734 grep -v '^ *+' conftest.er1
>conftest.err
20736 cat conftest.err
>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.
$ac_objext; then
20742 ac_lo
=$ac_mid; break
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20747 ac_hi
=`expr '(' $ac_mid ')' - 1`
20748 if test $ac_mid -le $ac_hi; then
20752 ac_mid
=`expr 2 '*' $ac_mid`
20755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.
$ac_ext >&5
20764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 # Binary search between lo and hi bounds.
20769 while test "x$ac_lo" != "x$ac_hi"; do
20770 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20771 cat >conftest.
$ac_ext <<_ACEOF
20774 cat confdefs.h
>>conftest.
$ac_ext
20775 cat >>conftest.
$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20778 typedef void * ac__type_sizeof_;
20782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20789 rm -f conftest.
$ac_objext
20790 if { (ac_try
="$ac_compile"
20791 case "(($ac_try" in
20792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_compile") 2>conftest.er1
20798 grep -v '^ *+' conftest.er1 >conftest.err
20800 cat conftest.err >&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } && {
20803 test -z "$ac_c_werror_flag" ||
20804 test ! -s conftest.err
20805 } && test -s conftest.$ac_objext; then
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 ac_lo=`expr '(' $ac_mid ')' + 1`
20814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20818 '') if test "$ac_cv_type_void_p" = yes; then
20819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20820 See \`config.log
' for more details." >&5
20821 echo "$as_me: error: cannot compute sizeof (void *)
20822 See \`config.log' for more details.
" >&2;}
20823 { (exit 77); exit 77; }; }
20825 ac_cv_sizeof_void_p=0
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 $ac_includes_default
20836 typedef void * ac__type_sizeof_;
20837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20840 #include <stdlib.h>
20845 FILE *f = fopen ("conftest.val
", "w
");
20848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20850 long int i = longval ();
20851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20853 fprintf (f, "%ld
\n", i);
20857 unsigned long int i = ulongval ();
20858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20860 fprintf (f, "%lu
\n", i);
20862 return ferror (f) || fclose (f) != 0;
20868 rm -f conftest$ac_exeext
20869 if { (ac_try="$ac_link"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_link") 2>&5
20877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20879 { (case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_try") 2>&5
20886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 ac_cv_sizeof_void_p=`cat conftest.val`
20890 echo "$as_me: program exited with status
$ac_status" >&5
20891 echo "$as_me: failed program was
:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ( exit $ac_status )
20895 if test "$ac_cv_type_void_p" = yes; then
20896 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20897 See \
`config.log' for more details." >&5
20898 echo "$as_me: error: cannot compute sizeof (void *)
20899 See \`config.log
' for more details." >&2;}
20900 { (exit 77); exit 77; }; }
20902 ac_cv_sizeof_void_p=0
20905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20910 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20914 cat >>confdefs.h <<_ACEOF
20915 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20919 { echo "$as_me:$LINENO: checking for int" >&5
20920 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20921 if test "${ac_cv_type_int+set}" = set; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 cat >conftest.$ac_ext <<_ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 $ac_includes_default
20931 typedef int ac__type_new_;
20935 if ((ac__type_new_ *) 0)
20937 if (sizeof (ac__type_new_))
20943 rm -f conftest.$ac_objext
20944 if { (ac_try="$ac_compile"
20945 case "(($ac_try" in
20946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20947 *) ac_try_echo=$ac_try;;
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20950 (eval "$ac_compile") 2>conftest.er1
20952 grep -v '^
*+' conftest.er1 >conftest.err
20954 cat conftest.err >&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } && {
20957 test -z "$ac_c_werror_flag" ||
20958 test ! -s conftest.err
20959 } && test -s conftest.$ac_objext; then
20962 echo "$as_me: failed program was:" >&5
20963 sed 's
/^
/| /' conftest.$ac_ext >&5
20968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20971 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20973 # The cast to long int works around a bug in the HP C Compiler
20974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20976 # This bug is HP SR number 8606223364.
20977 { echo "$as_me:$LINENO: checking size of int" >&5
20978 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20979 if test "${ac_cv_sizeof_int+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 if test "$cross_compiling" = yes; then
20983 # Depending upon the size, compute the lo and hi bounds.
20984 cat >conftest.
$ac_ext <<_ACEOF
20987 cat confdefs.h
>>conftest.
$ac_ext
20988 cat >>conftest.
$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef int ac__type_sizeof_;
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21002 rm -f conftest.
$ac_objext
21003 if { (ac_try
="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21011 grep -v '^ *+' conftest.er1 >conftest.err
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.$ac_objext; then
21021 cat >conftest.$ac_ext <<_ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef int ac__type_sizeof_;
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21043 *) ac_try_echo
=$ac_try;;
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21048 grep -v '^ *+' conftest.er1
>conftest.err
21050 cat conftest.err
>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.
$ac_objext; then
21056 ac_hi
=$ac_mid; break
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.
$ac_ext >&5
21061 ac_lo
=`expr $ac_mid + 1`
21062 if test $ac_lo -le $ac_mid; then
21066 ac_mid
=`expr 2 '*' $ac_mid + 1`
21069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 cat >conftest.
$ac_ext <<_ACEOF
21078 cat confdefs.h
>>conftest.
$ac_ext
21079 cat >>conftest.
$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 $ac_includes_default
21082 typedef int ac__type_sizeof_;
21086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21093 rm -f conftest.
$ac_objext
21094 if { (ac_try
="$ac_compile"
21095 case "(($ac_try" in
21096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_compile") 2>conftest.er1
21102 grep -v '^ *+' conftest.er1 >conftest.err
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && {
21107 test -z "$ac_c_werror_flag" ||
21108 test ! -s conftest.err
21109 } && test -s conftest.$ac_objext; then
21112 cat >conftest.$ac_ext <<_ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 $ac_includes_default
21119 typedef int ac__type_sizeof_;
21123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21130 rm -f conftest.$ac_objext
21131 if { (ac_try="$ac_compile"
21132 case "(($ac_try" in
21133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21134 *) ac_try_echo
=$ac_try;;
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
21139 grep -v '^ *+' conftest.er1
>conftest.err
21141 cat conftest.err
>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.
$ac_objext; then
21147 ac_lo
=$ac_mid; break
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.
$ac_ext >&5
21152 ac_hi
=`expr '(' $ac_mid ')' - 1`
21153 if test $ac_mid -le $ac_hi; then
21157 ac_mid
=`expr 2 '*' $ac_mid`
21160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.
$ac_ext >&5
21169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21173 # Binary search between lo and hi bounds.
21174 while test "x$ac_lo" != "x$ac_hi"; do
21175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21176 cat >conftest.
$ac_ext <<_ACEOF
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21183 typedef int ac__type_sizeof_;
21187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21194 rm -f conftest.
$ac_objext
21195 if { (ac_try
="$ac_compile"
21196 case "(($ac_try" in
21197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21198 *) ac_try_echo=$ac_try;;
21200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21201 (eval "$ac_compile") 2>conftest.er1
21203 grep -v '^ *+' conftest.er1 >conftest.err
21205 cat conftest.err >&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } && {
21208 test -z "$ac_c_werror_flag" ||
21209 test ! -s conftest.err
21210 } && test -s conftest.$ac_objext; then
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21216 ac_lo=`expr '(' $ac_mid ')' + 1`
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21222 ?*) ac_cv_sizeof_int=$ac_lo;;
21223 '') if test "$ac_cv_type_int" = yes; then
21224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21225 See \`config.log
' for more details." >&5
21226 echo "$as_me: error: cannot compute sizeof (int)
21227 See \`config.log' for more details.
" >&2;}
21228 { (exit 77); exit 77; }; }
21234 cat >conftest.$ac_ext <<_ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 $ac_includes_default
21241 typedef int ac__type_sizeof_;
21242 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21243 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21245 #include <stdlib.h>
21250 FILE *f = fopen ("conftest.val
", "w
");
21253 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21255 long int i = longval ();
21256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21258 fprintf (f, "%ld
\n", i);
21262 unsigned long int i = ulongval ();
21263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21265 fprintf (f, "%lu
\n", i);
21267 return ferror (f) || fclose (f) != 0;
21273 rm -f conftest$ac_exeext
21274 if { (ac_try="$ac_link"
21275 case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21277 *) ac_try_echo=$ac_try;;
21279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_link") 2>&5
21282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21284 { (case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_try") 2>&5
21291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 ac_cv_sizeof_int=`cat conftest.val`
21295 echo "$as_me: program exited with status
$ac_status" >&5
21296 echo "$as_me: failed program was
:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ( exit $ac_status )
21300 if test "$ac_cv_type_int" = yes; then
21301 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21302 See \
`config.log' for more details." >&5
21303 echo "$as_me: error: cannot compute sizeof (int)
21304 See \`config.log
' for more details." >&2;}
21305 { (exit 77); exit 77; }; }
21310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21314 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21315 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21319 cat >>confdefs.h <<_ACEOF
21320 #define SIZEOF_INT $ac_cv_sizeof_int
21324 { echo "$as_me:$LINENO: checking for long" >&5
21325 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21326 if test "${ac_cv_type_long+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 cat >conftest.$ac_ext <<_ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 typedef long ac__type_new_;
21340 if ((ac__type_new_ *) 0)
21342 if (sizeof (ac__type_new_))
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355 (eval "$ac_compile") 2>conftest.er1
21357 grep -v '^
*+' conftest.er1 >conftest.err
21359 cat conftest.err >&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); } && {
21362 test -z "$ac_c_werror_flag" ||
21363 test ! -s conftest.err
21364 } && test -s conftest.$ac_objext; then
21365 ac_cv_type_long=yes
21367 echo "$as_me: failed program was:" >&5
21368 sed 's
/^
/| /' conftest.$ac_ext >&5
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21376 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21378 # The cast to long int works around a bug in the HP C Compiler
21379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21381 # This bug is HP SR number 8606223364.
21382 { echo "$as_me:$LINENO: checking size of long" >&5
21383 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21384 if test "${ac_cv_sizeof_long+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 if test "$cross_compiling" = yes; then
21388 # Depending upon the size, compute the lo and hi bounds.
21389 cat >conftest.
$ac_ext <<_ACEOF
21392 cat confdefs.h
>>conftest.
$ac_ext
21393 cat >>conftest.
$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21396 typedef long ac__type_sizeof_;
21400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21407 rm -f conftest.
$ac_objext
21408 if { (ac_try
="$ac_compile"
21409 case "(($ac_try" in
21410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21411 *) ac_try_echo=$ac_try;;
21413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21414 (eval "$ac_compile") 2>conftest.er1
21416 grep -v '^ *+' conftest.er1 >conftest.err
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } && {
21421 test -z "$ac_c_werror_flag" ||
21422 test ! -s conftest.err
21423 } && test -s conftest.$ac_objext; then
21426 cat >conftest.$ac_ext <<_ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 typedef long ac__type_sizeof_;
21437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21444 rm -f conftest.$ac_objext
21445 if { (ac_try="$ac_compile"
21446 case "(($ac_try" in
21447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21448 *) ac_try_echo
=$ac_try;;
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_compile") 2>conftest.er1
21453 grep -v '^ *+' conftest.er1
>conftest.err
21455 cat conftest.err
>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && {
21458 test -z "$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21460 } && test -s conftest.
$ac_objext; then
21461 ac_hi
=$ac_mid; break
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21466 ac_lo
=`expr $ac_mid + 1`
21467 if test $ac_lo -le $ac_mid; then
21471 ac_mid
=`expr 2 '*' $ac_mid + 1`
21474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.
$ac_ext >&5
21480 cat >conftest.
$ac_ext <<_ACEOF
21483 cat confdefs.h
>>conftest.
$ac_ext
21484 cat >>conftest.
$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 $ac_includes_default
21487 typedef long ac__type_sizeof_;
21491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21498 rm -f conftest.
$ac_objext
21499 if { (ac_try
="$ac_compile"
21500 case "(($ac_try" in
21501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_compile") 2>conftest.er1
21507 grep -v '^ *+' conftest.er1 >conftest.err
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } && {
21512 test -z "$ac_c_werror_flag" ||
21513 test ! -s conftest.err
21514 } && test -s conftest.$ac_objext; then
21517 cat >conftest.$ac_ext <<_ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 $ac_includes_default
21524 typedef long ac__type_sizeof_;
21528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21535 rm -f conftest.$ac_objext
21536 if { (ac_try="$ac_compile"
21537 case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21539 *) ac_try_echo
=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_compile") 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && {
21549 test -z "$ac_c_werror_flag" ||
21550 test ! -s conftest.err
21551 } && test -s conftest.
$ac_objext; then
21552 ac_lo
=$ac_mid; break
21554 echo "$as_me: failed program was:" >&5
21555 sed 's/^/| /' conftest.
$ac_ext >&5
21557 ac_hi
=`expr '(' $ac_mid ')' - 1`
21558 if test $ac_mid -le $ac_hi; then
21562 ac_mid
=`expr 2 '*' $ac_mid`
21565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.
$ac_ext >&5
21574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21578 # Binary search between lo and hi bounds.
21579 while test "x$ac_lo" != "x$ac_hi"; do
21580 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21581 cat >conftest.
$ac_ext <<_ACEOF
21584 cat confdefs.h
>>conftest.
$ac_ext
21585 cat >>conftest.
$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 $ac_includes_default
21588 typedef long ac__type_sizeof_;
21592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21599 rm -f conftest.
$ac_objext
21600 if { (ac_try
="$ac_compile"
21601 case "(($ac_try" in
21602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21603 *) ac_try_echo=$ac_try;;
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_compile") 2>conftest.er1
21608 grep -v '^ *+' conftest.er1 >conftest.err
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } && {
21613 test -z "$ac_c_werror_flag" ||
21614 test ! -s conftest.err
21615 } && test -s conftest.$ac_objext; then
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21621 ac_lo=`expr '(' $ac_mid ')' + 1`
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627 ?*) ac_cv_sizeof_long=$ac_lo;;
21628 '') if test "$ac_cv_type_long" = yes; then
21629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21630 See \`config.log
' for more details." >&5
21631 echo "$as_me: error: cannot compute sizeof (long)
21632 See \`config.log' for more details.
" >&2;}
21633 { (exit 77); exit 77; }; }
21635 ac_cv_sizeof_long=0
21639 cat >conftest.$ac_ext <<_ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645 $ac_includes_default
21646 typedef long ac__type_sizeof_;
21647 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21648 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21650 #include <stdlib.h>
21655 FILE *f = fopen ("conftest.val
", "w
");
21658 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21660 long int i = longval ();
21661 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21663 fprintf (f, "%ld
\n", i);
21667 unsigned long int i = ulongval ();
21668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21670 fprintf (f, "%lu
\n", i);
21672 return ferror (f) || fclose (f) != 0;
21678 rm -f conftest$ac_exeext
21679 if { (ac_try="$ac_link"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21684 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_link") 2>&5
21687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21689 { (case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_try") 2>&5
21696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 ac_cv_sizeof_long=`cat conftest.val`
21700 echo "$as_me: program exited with status
$ac_status" >&5
21701 echo "$as_me: failed program was
:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21704 ( exit $ac_status )
21705 if test "$ac_cv_type_long" = yes; then
21706 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21707 See \
`config.log' for more details." >&5
21708 echo "$as_me: error: cannot compute sizeof (long)
21709 See \`config.log
' for more details." >&2;}
21710 { (exit 77); exit 77; }; }
21712 ac_cv_sizeof_long=0
21715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21719 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21720 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21724 cat >>confdefs.h <<_ACEOF
21725 #define SIZEOF_LONG $ac_cv_sizeof_long
21729 { echo "$as_me:$LINENO: checking for size_t" >&5
21730 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21731 if test "${ac_cv_type_size_t+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 cat >conftest.$ac_ext <<_ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21741 typedef size_t ac__type_new_;
21745 if ((ac__type_new_ *) 0)
21747 if (sizeof (ac__type_new_))
21753 rm -f conftest.$ac_objext
21754 if { (ac_try="$ac_compile"
21755 case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_compile") 2>conftest.er1
21762 grep -v '^
*+' conftest.er1 >conftest.err
21764 cat conftest.err >&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } && {
21767 test -z "$ac_c_werror_flag" ||
21768 test ! -s conftest.err
21769 } && test -s conftest.$ac_objext; then
21770 ac_cv_type_size_t=yes
21772 echo "$as_me: failed program was:" >&5
21773 sed 's
/^
/| /' conftest.$ac_ext >&5
21775 ac_cv_type_size_t=no
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21781 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21783 # The cast to long int works around a bug in the HP C Compiler
21784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21786 # This bug is HP SR number 8606223364.
21787 { echo "$as_me:$LINENO: checking size of size_t" >&5
21788 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21789 if test "${ac_cv_sizeof_size_t+set}" = set; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 if test "$cross_compiling" = yes; then
21793 # Depending upon the size, compute the lo and hi bounds.
21794 cat >conftest.
$ac_ext <<_ACEOF
21797 cat confdefs.h
>>conftest.
$ac_ext
21798 cat >>conftest.
$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 $ac_includes_default
21801 typedef size_t ac__type_sizeof_;
21805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21812 rm -f conftest.
$ac_objext
21813 if { (ac_try
="$ac_compile"
21814 case "(($ac_try" in
21815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21816 *) ac_try_echo=$ac_try;;
21818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21819 (eval "$ac_compile") 2>conftest.er1
21821 grep -v '^ *+' conftest.er1 >conftest.err
21823 cat conftest.err >&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); } && {
21826 test -z "$ac_c_werror_flag" ||
21827 test ! -s conftest.err
21828 } && test -s conftest.$ac_objext; then
21831 cat >conftest.$ac_ext <<_ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837 $ac_includes_default
21838 typedef size_t ac__type_sizeof_;
21842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21849 rm -f conftest.$ac_objext
21850 if { (ac_try="$ac_compile"
21851 case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21853 *) ac_try_echo
=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_compile") 2>conftest.er1
21858 grep -v '^ *+' conftest.er1
>conftest.err
21860 cat conftest.err
>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } && {
21863 test -z "$ac_c_werror_flag" ||
21864 test ! -s conftest.err
21865 } && test -s conftest.
$ac_objext; then
21866 ac_hi
=$ac_mid; break
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21871 ac_lo
=`expr $ac_mid + 1`
21872 if test $ac_lo -le $ac_mid; then
21876 ac_mid
=`expr 2 '*' $ac_mid + 1`
21879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.
$ac_ext >&5
21885 cat >conftest.
$ac_ext <<_ACEOF
21888 cat confdefs.h
>>conftest.
$ac_ext
21889 cat >>conftest.
$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef size_t ac__type_sizeof_;
21896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21903 rm -f conftest.
$ac_objext
21904 if { (ac_try
="$ac_compile"
21905 case "(($ac_try" in
21906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_compile") 2>conftest.er1
21912 grep -v '^ *+' conftest.er1 >conftest.err
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest.$ac_objext; then
21922 cat >conftest.$ac_ext <<_ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef size_t ac__type_sizeof_;
21933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21940 rm -f conftest.$ac_objext
21941 if { (ac_try="$ac_compile"
21942 case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21944 *) ac_try_echo
=$ac_try;;
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_compile") 2>conftest.er1
21949 grep -v '^ *+' conftest.er1
>conftest.err
21951 cat conftest.err
>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && {
21954 test -z "$ac_c_werror_flag" ||
21955 test ! -s conftest.err
21956 } && test -s conftest.
$ac_objext; then
21957 ac_lo
=$ac_mid; break
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.
$ac_ext >&5
21962 ac_hi
=`expr '(' $ac_mid ')' - 1`
21963 if test $ac_mid -le $ac_hi; then
21967 ac_mid
=`expr 2 '*' $ac_mid`
21970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.
$ac_ext >&5
21979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21983 # Binary search between lo and hi bounds.
21984 while test "x$ac_lo" != "x$ac_hi"; do
21985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21986 cat >conftest.
$ac_ext <<_ACEOF
21989 cat confdefs.h
>>conftest.
$ac_ext
21990 cat >>conftest.
$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21993 typedef size_t ac__type_sizeof_;
21997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22004 rm -f conftest.
$ac_objext
22005 if { (ac_try
="$ac_compile"
22006 case "(($ac_try" in
22007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22011 (eval "$ac_compile") 2>conftest.er1
22013 grep -v '^ *+' conftest.er1 >conftest.err
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } && {
22018 test -z "$ac_c_werror_flag" ||
22019 test ! -s conftest.err
22020 } && test -s conftest.$ac_objext; then
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22026 ac_lo=`expr '(' $ac_mid ')' + 1`
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22032 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22033 '') if test "$ac_cv_type_size_t" = yes; then
22034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22035 See \`config.log
' for more details." >&5
22036 echo "$as_me: error: cannot compute sizeof (size_t)
22037 See \`config.log' for more details.
" >&2;}
22038 { (exit 77); exit 77; }; }
22040 ac_cv_sizeof_size_t=0
22044 cat >conftest.$ac_ext <<_ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050 $ac_includes_default
22051 typedef size_t ac__type_sizeof_;
22052 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22053 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22055 #include <stdlib.h>
22060 FILE *f = fopen ("conftest.val
", "w
");
22063 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22065 long int i = longval ();
22066 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22068 fprintf (f, "%ld
\n", i);
22072 unsigned long int i = ulongval ();
22073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22075 fprintf (f, "%lu
\n", i);
22077 return ferror (f) || fclose (f) != 0;
22083 rm -f conftest$ac_exeext
22084 if { (ac_try="$ac_link"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_link") 2>&5
22092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22094 { (case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_try") 2>&5
22101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 ac_cv_sizeof_size_t=`cat conftest.val`
22105 echo "$as_me: program exited with status
$ac_status" >&5
22106 echo "$as_me: failed program was
:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22109 ( exit $ac_status )
22110 if test "$ac_cv_type_size_t" = yes; then
22111 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22112 See \
`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (size_t)
22114 See \`config.log
' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22117 ac_cv_sizeof_size_t=0
22120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22124 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22125 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22129 cat >>confdefs.h <<_ACEOF
22130 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22137 { echo "$as_me:$LINENO: checking for long long" >&5
22138 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22139 if test "${ac_cv_type_long_long+set}" = set; then
22140 echo $ECHO_N "(cached) $ECHO_C" >&6
22142 cat >conftest.$ac_ext <<_ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 $ac_includes_default
22149 typedef long long ac__type_new_;
22153 if ((ac__type_new_ *) 0)
22155 if (sizeof (ac__type_new_))
22161 rm -f conftest.$ac_objext
22162 if { (ac_try="$ac_compile"
22163 case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_compile") 2>conftest.er1
22170 grep -v '^
*+' conftest.er1 >conftest.err
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } && {
22175 test -z "$ac_c_werror_flag" ||
22176 test ! -s conftest.err
22177 } && test -s conftest.$ac_objext; then
22178 ac_cv_type_long_long=yes
22180 echo "$as_me: failed program was:" >&5
22181 sed 's
/^
/| /' conftest.$ac_ext >&5
22183 ac_cv_type_long_long=no
22186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22188 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22189 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22191 # The cast to long int works around a bug in the HP C Compiler
22192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22194 # This bug is HP SR number 8606223364.
22195 { echo "$as_me:$LINENO: checking size of long long" >&5
22196 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22197 if test "${ac_cv_sizeof_long_long+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22200 if test "$cross_compiling" = yes; then
22201 # Depending upon the size, compute the lo and hi bounds.
22202 cat >conftest.
$ac_ext <<_ACEOF
22205 cat confdefs.h
>>conftest.
$ac_ext
22206 cat >>conftest.
$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long long ac__type_sizeof_;
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22220 rm -f conftest.
$ac_objext
22221 if { (ac_try
="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22229 grep -v '^ *+' conftest.er1 >conftest.err
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22239 cat >conftest.$ac_ext <<_ACEOF
22242 cat confdefs.h >>conftest.$ac_ext
22243 cat >>conftest.$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22245 $ac_includes_default
22246 typedef long long ac__type_sizeof_;
22250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22261 *) ac_try_echo
=$ac_try;;
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22266 grep -v '^ *+' conftest.er1
>conftest.err
22268 cat conftest.err
>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.
$ac_objext; then
22274 ac_hi
=$ac_mid; break
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22279 ac_lo
=`expr $ac_mid + 1`
22280 if test $ac_lo -le $ac_mid; then
22284 ac_mid
=`expr 2 '*' $ac_mid + 1`
22287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.
$ac_ext >&5
22293 cat >conftest.
$ac_ext <<_ACEOF
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef long long ac__type_sizeof_;
22304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22311 rm -f conftest.
$ac_objext
22312 if { (ac_try
="$ac_compile"
22313 case "(($ac_try" in
22314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_compile") 2>conftest.er1
22320 grep -v '^ *+' conftest.er1 >conftest.err
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && {
22325 test -z "$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22327 } && test -s conftest.$ac_objext; then
22330 cat >conftest.$ac_ext <<_ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22348 rm -f conftest.$ac_objext
22349 if { (ac_try="$ac_compile"
22350 case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22352 *) ac_try_echo
=$ac_try;;
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_compile") 2>conftest.er1
22357 grep -v '^ *+' conftest.er1
>conftest.err
22359 cat conftest.err
>&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); } && {
22362 test -z "$ac_c_werror_flag" ||
22363 test ! -s conftest.err
22364 } && test -s conftest.
$ac_objext; then
22365 ac_lo
=$ac_mid; break
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.
$ac_ext >&5
22370 ac_hi
=`expr '(' $ac_mid ')' - 1`
22371 if test $ac_mid -le $ac_hi; then
22375 ac_mid
=`expr 2 '*' $ac_mid`
22378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.
$ac_ext >&5
22387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22391 # Binary search between lo and hi bounds.
22392 while test "x$ac_lo" != "x$ac_hi"; do
22393 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22394 cat >conftest.
$ac_ext <<_ACEOF
22397 cat confdefs.h
>>conftest.
$ac_ext
22398 cat >>conftest.
$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 $ac_includes_default
22401 typedef long long ac__type_sizeof_;
22405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22412 rm -f conftest.
$ac_objext
22413 if { (ac_try
="$ac_compile"
22414 case "(($ac_try" in
22415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_compile") 2>conftest.er1
22421 grep -v '^ *+' conftest.er1 >conftest.err
22423 cat conftest.err >&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && {
22426 test -z "$ac_c_werror_flag" ||
22427 test ! -s conftest.err
22428 } && test -s conftest.$ac_objext; then
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22434 ac_lo=`expr '(' $ac_mid ')' + 1`
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22441 '') if test "$ac_cv_type_long_long" = yes; then
22442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22443 See \`config.log
' for more details." >&5
22444 echo "$as_me: error: cannot compute sizeof (long long)
22445 See \`config.log' for more details.
" >&2;}
22446 { (exit 77); exit 77; }; }
22448 ac_cv_sizeof_long_long=0
22452 cat >conftest.$ac_ext <<_ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458 $ac_includes_default
22459 typedef long long ac__type_sizeof_;
22460 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22461 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22463 #include <stdlib.h>
22468 FILE *f = fopen ("conftest.val
", "w
");
22471 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22473 long int i = longval ();
22474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22476 fprintf (f, "%ld
\n", i);
22480 unsigned long int i = ulongval ();
22481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22483 fprintf (f, "%lu
\n", i);
22485 return ferror (f) || fclose (f) != 0;
22491 rm -f conftest$ac_exeext
22492 if { (ac_try="$ac_link"
22493 case "(($ac_try" in
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22495 *) ac_try_echo=$ac_try;;
22497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22498 (eval "$ac_link") 2>&5
22500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22502 { (case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_try") 2>&5
22509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 ac_cv_sizeof_long_long=`cat conftest.val`
22513 echo "$as_me: program exited with status
$ac_status" >&5
22514 echo "$as_me: failed program was
:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22517 ( exit $ac_status )
22518 if test "$ac_cv_type_long_long" = yes; then
22519 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22520 See \
`config.log' for more details." >&5
22521 echo "$as_me: error: cannot compute sizeof (long long)
22522 See \`config.log
' for more details." >&2;}
22523 { (exit 77); exit 77; }; }
22525 ac_cv_sizeof_long_long=0
22528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22532 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22533 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22537 cat >>confdefs.h <<_ACEOF
22538 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22544 { echo "$as_me:$LINENO: checking for long long" >&5
22545 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22546 if test "${ac_cv_type_long_long+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 cat >conftest.$ac_ext <<_ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 $ac_includes_default
22556 typedef long long ac__type_new_;
22560 if ((ac__type_new_ *) 0)
22562 if (sizeof (ac__type_new_))
22568 rm -f conftest.$ac_objext
22569 if { (ac_try="$ac_compile"
22570 case "(($ac_try" in
22571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22572 *) ac_try_echo=$ac_try;;
22574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22575 (eval "$ac_compile") 2>conftest.er1
22577 grep -v '^
*+' conftest.er1 >conftest.err
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } && {
22582 test -z "$ac_c_werror_flag" ||
22583 test ! -s conftest.err
22584 } && test -s conftest.$ac_objext; then
22585 ac_cv_type_long_long=yes
22587 echo "$as_me: failed program was:" >&5
22588 sed 's
/^
/| /' conftest.$ac_ext >&5
22590 ac_cv_type_long_long=no
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22596 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22598 # The cast to long int works around a bug in the HP C Compiler
22599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22601 # This bug is HP SR number 8606223364.
22602 { echo "$as_me:$LINENO: checking size of long long" >&5
22603 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22604 if test "${ac_cv_sizeof_long_long+set}" = set; then
22605 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 if test "$cross_compiling" = yes; then
22608 # Depending upon the size, compute the lo and hi bounds.
22609 cat >conftest.
$ac_ext <<_ACEOF
22612 cat confdefs.h
>>conftest.
$ac_ext
22613 cat >>conftest.
$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22616 typedef long long ac__type_sizeof_;
22620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22627 rm -f conftest.
$ac_objext
22628 if { (ac_try
="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22636 grep -v '^ *+' conftest.er1 >conftest.err
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } && {
22641 test -z "$ac_c_werror_flag" ||
22642 test ! -s conftest.err
22643 } && test -s conftest.$ac_objext; then
22646 cat >conftest.$ac_ext <<_ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 $ac_includes_default
22653 typedef long long ac__type_sizeof_;
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22668 *) ac_try_echo
=$ac_try;;
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22673 grep -v '^ *+' conftest.er1
>conftest.err
22675 cat conftest.err
>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.
$ac_objext; then
22681 ac_hi
=$ac_mid; break
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.
$ac_ext >&5
22686 ac_lo
=`expr $ac_mid + 1`
22687 if test $ac_lo -le $ac_mid; then
22691 ac_mid
=`expr 2 '*' $ac_mid + 1`
22694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.
$ac_ext >&5
22700 cat >conftest.
$ac_ext <<_ACEOF
22703 cat confdefs.h
>>conftest.
$ac_ext
22704 cat >>conftest.
$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 $ac_includes_default
22707 typedef long long ac__type_sizeof_;
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22718 rm -f conftest.
$ac_objext
22719 if { (ac_try
="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22727 grep -v '^ *+' conftest.er1 >conftest.err
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22737 cat >conftest.$ac_ext <<_ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22759 *) ac_try_echo
=$ac_try;;
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22764 grep -v '^ *+' conftest.er1
>conftest.err
22766 cat conftest.err
>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.
$ac_objext; then
22772 ac_lo
=$ac_mid; break
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.
$ac_ext >&5
22777 ac_hi
=`expr '(' $ac_mid ')' - 1`
22778 if test $ac_mid -le $ac_hi; then
22782 ac_mid
=`expr 2 '*' $ac_mid`
22785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.
$ac_ext >&5
22794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22798 # Binary search between lo and hi bounds.
22799 while test "x$ac_lo" != "x$ac_hi"; do
22800 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22801 cat >conftest.
$ac_ext <<_ACEOF
22804 cat confdefs.h
>>conftest.
$ac_ext
22805 cat >>conftest.
$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 $ac_includes_default
22808 typedef long long ac__type_sizeof_;
22812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22819 rm -f conftest.
$ac_objext
22820 if { (ac_try
="$ac_compile"
22821 case "(($ac_try" in
22822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_compile") 2>conftest.er1
22828 grep -v '^ *+' conftest.er1 >conftest.err
22830 cat conftest.err >&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } && {
22833 test -z "$ac_c_werror_flag" ||
22834 test ! -s conftest.err
22835 } && test -s conftest.$ac_objext; then
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22841 ac_lo=`expr '(' $ac_mid ')' + 1`
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22847 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22848 '') if test "$ac_cv_type_long_long" = yes; then
22849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22850 See \`config.log
' for more details." >&5
22851 echo "$as_me: error: cannot compute sizeof (long long)
22852 See \`config.log' for more details.
" >&2;}
22853 { (exit 77); exit 77; }; }
22855 ac_cv_sizeof_long_long=0
22859 cat >conftest.$ac_ext <<_ACEOF
22862 cat confdefs.h >>conftest.$ac_ext
22863 cat >>conftest.$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22865 $ac_includes_default
22866 typedef long long ac__type_sizeof_;
22867 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22868 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22870 #include <stdlib.h>
22875 FILE *f = fopen ("conftest.val
", "w
");
22878 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22880 long int i = longval ();
22881 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22883 fprintf (f, "%ld
\n", i);
22887 unsigned long int i = ulongval ();
22888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22890 fprintf (f, "%lu
\n", i);
22892 return ferror (f) || fclose (f) != 0;
22898 rm -f conftest$ac_exeext
22899 if { (ac_try="$ac_link"
22900 case "(($ac_try" in
22901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22902 *) ac_try_echo=$ac_try;;
22904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22905 (eval "$ac_link") 2>&5
22907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22909 { (case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_try") 2>&5
22916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_sizeof_long_long=`cat conftest.val`
22920 echo "$as_me: program exited with status
$ac_status" >&5
22921 echo "$as_me: failed program was
:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22924 ( exit $ac_status )
22925 if test "$ac_cv_type_long_long" = yes; then
22926 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22927 See \
`config.log' for more details." >&5
22928 echo "$as_me: error: cannot compute sizeof (long long)
22929 See \`config.log
' for more details." >&2;}
22930 { (exit 77); exit 77; }; }
22932 ac_cv_sizeof_long_long=0
22935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22939 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22940 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22944 cat >>confdefs.h <<_ACEOF
22945 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22949 if test "$ac_cv_sizeof_long_long" != 0; then
22950 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22954 { echo "$as_me:$LINENO: checking for long long" >&5
22955 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22956 if test "${ac_cv_type_long_long+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 cat >conftest.$ac_ext <<_ACEOF
22962 cat confdefs.h >>conftest.$ac_ext
22963 cat >>conftest.$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965 $ac_includes_default
22966 typedef long long ac__type_new_;
22970 if ((ac__type_new_ *) 0)
22972 if (sizeof (ac__type_new_))
22978 rm -f conftest.$ac_objext
22979 if { (ac_try="$ac_compile"
22980 case "(($ac_try" in
22981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982 *) ac_try_echo=$ac_try;;
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_compile") 2>conftest.er1
22987 grep -v '^
*+' conftest.er1 >conftest.err
22989 cat conftest.err >&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && {
22992 test -z "$ac_c_werror_flag" ||
22993 test ! -s conftest.err
22994 } && test -s conftest.$ac_objext; then
22995 ac_cv_type_long_long=yes
22997 echo "$as_me: failed program was:" >&5
22998 sed 's
/^
/| /' conftest.$ac_ext >&5
23000 ac_cv_type_long_long=no
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23006 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23008 # The cast to long int works around a bug in the HP C Compiler
23009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23011 # This bug is HP SR number 8606223364.
23012 { echo "$as_me:$LINENO: checking size of long long" >&5
23013 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23014 if test "${ac_cv_sizeof_long_long+set}" = set; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23017 if test "$cross_compiling" = yes; then
23018 # Depending upon the size, compute the lo and hi bounds.
23019 cat >conftest.
$ac_ext <<_ACEOF
23022 cat confdefs.h
>>conftest.
$ac_ext
23023 cat >>conftest.
$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 $ac_includes_default
23026 typedef long long ac__type_sizeof_;
23030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23037 rm -f conftest.
$ac_objext
23038 if { (ac_try
="$ac_compile"
23039 case "(($ac_try" in
23040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23056 cat >conftest.$ac_ext <<_ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 $ac_includes_default
23063 typedef long long ac__type_sizeof_;
23067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23074 rm -f conftest.$ac_objext
23075 if { (ac_try="$ac_compile"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23078 *) ac_try_echo
=$ac_try;;
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_compile") 2>conftest.er1
23083 grep -v '^ *+' conftest.er1
>conftest.err
23085 cat conftest.err
>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest.
$ac_objext; then
23091 ac_hi
=$ac_mid; break
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.
$ac_ext >&5
23096 ac_lo
=`expr $ac_mid + 1`
23097 if test $ac_lo -le $ac_mid; then
23101 ac_mid
=`expr 2 '*' $ac_mid + 1`
23104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.
$ac_ext >&5
23110 cat >conftest.
$ac_ext <<_ACEOF
23113 cat confdefs.h
>>conftest.
$ac_ext
23114 cat >>conftest.
$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 $ac_includes_default
23117 typedef long long ac__type_sizeof_;
23121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23128 rm -f conftest.
$ac_objext
23129 if { (ac_try
="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23137 grep -v '^ *+' conftest.er1 >conftest.err
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && {
23142 test -z "$ac_c_werror_flag" ||
23143 test ! -s conftest.err
23144 } && test -s conftest.$ac_objext; then
23147 cat >conftest.$ac_ext <<_ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef long long ac__type_sizeof_;
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23169 *) ac_try_echo
=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23174 grep -v '^ *+' conftest.er1
>conftest.err
23176 cat conftest.err
>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.
$ac_objext; then
23182 ac_lo
=$ac_mid; break
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.
$ac_ext >&5
23187 ac_hi
=`expr '(' $ac_mid ')' - 1`
23188 if test $ac_mid -le $ac_hi; then
23192 ac_mid
=`expr 2 '*' $ac_mid`
23195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.
$ac_ext >&5
23204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23208 # Binary search between lo and hi bounds.
23209 while test "x$ac_lo" != "x$ac_hi"; do
23210 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23211 cat >conftest.
$ac_ext <<_ACEOF
23214 cat confdefs.h
>>conftest.
$ac_ext
23215 cat >>conftest.
$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef long long ac__type_sizeof_;
23222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23229 rm -f conftest.
$ac_objext
23230 if { (ac_try
="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23238 grep -v '^ *+' conftest.er1 >conftest.err
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.$ac_objext; then
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23251 ac_lo=`expr '(' $ac_mid ')' + 1`
23254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23258 '') if test "$ac_cv_type_long_long" = yes; then
23259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23260 See \`config.log
' for more details." >&5
23261 echo "$as_me: error: cannot compute sizeof (long long)
23262 See \`config.log' for more details.
" >&2;}
23263 { (exit 77); exit 77; }; }
23265 ac_cv_sizeof_long_long=0
23269 cat >conftest.$ac_ext <<_ACEOF
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275 $ac_includes_default
23276 typedef long long ac__type_sizeof_;
23277 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23278 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23280 #include <stdlib.h>
23285 FILE *f = fopen ("conftest.val
", "w
");
23288 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23290 long int i = longval ();
23291 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23293 fprintf (f, "%ld
\n", i);
23297 unsigned long int i = ulongval ();
23298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23300 fprintf (f, "%lu
\n", i);
23302 return ferror (f) || fclose (f) != 0;
23308 rm -f conftest$ac_exeext
23309 if { (ac_try="$ac_link"
23310 case "(($ac_try" in
23311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312 *) ac_try_echo=$ac_try;;
23314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23315 (eval "$ac_link") 2>&5
23317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23319 { (case "(($ac_try" in
23320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_try") 2>&5
23326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328 ac_cv_sizeof_long_long=`cat conftest.val`
23330 echo "$as_me: program exited with status
$ac_status" >&5
23331 echo "$as_me: failed program was
:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23334 ( exit $ac_status )
23335 if test "$ac_cv_type_long_long" = yes; then
23336 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23337 See \
`config.log' for more details." >&5
23338 echo "$as_me: error: cannot compute sizeof (long long)
23339 See \`config.log
' for more details." >&2;}
23340 { (exit 77); exit 77; }; }
23342 ac_cv_sizeof_long_long=0
23345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23349 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23350 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23354 cat >>confdefs.h <<_ACEOF
23355 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23361 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23362 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23363 if test "${ac_cv_type_wchar_t+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 cat >conftest.$ac_ext <<_ACEOF
23369 cat confdefs.h >>conftest.$ac_ext
23370 cat >>conftest.$ac_ext <<_ACEOF
23371 /* end confdefs.h. */
23373 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23374 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23375 # error "fake wchar_t"
23377 #ifdef HAVE_WCHAR_H
23379 # include <stddef.h>
23381 # include <wchar.h>
23383 #ifdef HAVE_STDLIB_H
23384 # include <stdlib.h>
23390 typedef wchar_t ac__type_new_
;
23394 if ((ac__type_new_
*) 0)
23396 if (sizeof
(ac__type_new_
))
23402 rm -f conftest.
$ac_objext
23403 if { (ac_try
="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23411 grep -v '^ *+' conftest.er1 >conftest.err
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_c_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 ac_cv_type_wchar_t=yes
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23424 ac_cv_type_wchar_t=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23430 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23432 # The cast to long int works around a bug in the HP C Compiler
23433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23434 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23435 # This bug is HP SR number 8606223364.
23436 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23437 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23438 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 if test "$cross_compiling" = yes; then
23442 # Depending upon the size, compute the lo and hi bounds.
23443 cat >conftest.$ac_ext <<_ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23450 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23451 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23452 # error "fake wchar_t"
23454 #ifdef HAVE_WCHAR_H
23456 # include <stddef.h>
23458 # include <wchar.h>
23460 #ifdef HAVE_STDLIB_H
23461 # include <stdlib.h>
23467 typedef wchar_t ac__type_sizeof_
;
23471 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23478 rm -f conftest.
$ac_objext
23479 if { (ac_try
="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23487 grep -v '^ *+' conftest.er1 >conftest.err
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_c_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23497 cat >conftest.$ac_ext <<_ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23506 # error "fake wchar_t"
23508 #ifdef HAVE_WCHAR_H
23510 # include <stddef.h>
23512 # include <wchar.h>
23514 #ifdef HAVE_STDLIB_H
23515 # include <stdlib.h>
23521 typedef wchar_t ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23536 *) ac_try_echo
=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1
>conftest.err
23543 cat conftest.err
>&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.
$ac_objext; then
23549 ac_hi
=$ac_mid; break
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.
$ac_ext >&5
23554 ac_lo
=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23559 ac_mid
=`expr 2 '*' $ac_mid + 1`
23562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23568 cat >conftest.
$ac_ext <<_ACEOF
23571 cat confdefs.h
>>conftest.
$ac_ext
23572 cat >>conftest.
$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23575 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23576 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23577 # error "fake wchar_t"
23579 #ifdef HAVE_WCHAR_H
23581 # include <stddef.h>
23583 # include <wchar.h>
23585 #ifdef HAVE_STDLIB_H
23586 # include <stdlib.h>
23592 typedef wchar_t ac__type_sizeof_;
23596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23603 rm -f conftest.
$ac_objext
23604 if { (ac_try
="$ac_compile"
23605 case "(($ac_try" in
23606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_compile") 2>conftest.er1
23612 grep -v '^ *+' conftest.er1 >conftest.err
23614 cat conftest.err >&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } && {
23617 test -z "$ac_c_werror_flag" ||
23618 test ! -s conftest.err
23619 } && test -s conftest.$ac_objext; then
23622 cat >conftest.$ac_ext <<_ACEOF
23625 cat confdefs.h >>conftest.$ac_ext
23626 cat >>conftest.$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23629 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23630 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23631 # error "fake wchar_t"
23633 #ifdef HAVE_WCHAR_H
23635 # include <stddef.h>
23637 # include <wchar.h>
23639 #ifdef HAVE_STDLIB_H
23640 # include <stdlib.h>
23646 typedef wchar_t ac__type_sizeof_;
23650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23657 rm -f conftest.$ac_objext
23658 if { (ac_try="$ac_compile"
23659 case "(($ac_try" in
23660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23661 *) ac_try_echo
=$ac_try;;
23663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23664 (eval "$ac_compile") 2>conftest.er1
23666 grep -v '^ *+' conftest.er1
>conftest.err
23668 cat conftest.err
>&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } && {
23671 test -z "$ac_c_werror_flag" ||
23672 test ! -s conftest.err
23673 } && test -s conftest.
$ac_objext; then
23674 ac_lo
=$ac_mid; break
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.
$ac_ext >&5
23679 ac_hi
=`expr '(' $ac_mid ')' - 1`
23680 if test $ac_mid -le $ac_hi; then
23684 ac_mid
=`expr 2 '*' $ac_mid`
23687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.
$ac_ext >&5
23696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23700 # Binary search between lo and hi bounds.
23701 while test "x$ac_lo" != "x$ac_hi"; do
23702 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23703 cat >conftest.
$ac_ext <<_ACEOF
23706 cat confdefs.h
>>conftest.
$ac_ext
23707 cat >>conftest.
$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23710 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23711 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23712 # error "fake wchar_t"
23714 #ifdef HAVE_WCHAR_H
23716 # include <stddef.h>
23718 # include <wchar.h>
23720 #ifdef HAVE_STDLIB_H
23721 # include <stdlib.h>
23727 typedef wchar_t ac__type_sizeof_;
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23738 rm -f conftest.
$ac_objext
23739 if { (ac_try
="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23747 grep -v '^ *+' conftest.er1 >conftest.err
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23760 ac_lo=`expr '(' $ac_mid ')' + 1`
23763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23767 '') if test "$ac_cv_type_wchar_t" = yes; then
23768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23769 See \`config.log
' for more details." >&5
23770 echo "$as_me: error: cannot compute sizeof (wchar_t)
23771 See \`config.log' for more details.
" >&2;}
23772 { (exit 77); exit 77; }; }
23774 ac_cv_sizeof_wchar_t=0
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23786 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23787 # error "fake wchar_t
"
23789 #ifdef HAVE_WCHAR_H
23791 # include <stddef.h>
23793 # include <wchar.h>
23795 #ifdef HAVE_STDLIB_H
23796 # include <stdlib.h>
23802 typedef wchar_t ac__type_sizeof_;
23803 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23804 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23806 #include <stdlib.h>
23811 FILE *f = fopen ("conftest.val
", "w
");
23814 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23816 long int i = longval ();
23817 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23819 fprintf (f, "%ld
\n", i);
23823 unsigned long int i = ulongval ();
23824 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23826 fprintf (f, "%lu
\n", i);
23828 return ferror (f) || fclose (f) != 0;
23834 rm -f conftest$ac_exeext
23835 if { (ac_try="$ac_link"
23836 case "(($ac_try" in
23837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23838 *) ac_try_echo=$ac_try;;
23840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23841 (eval "$ac_link") 2>&5
23843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23845 { (case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_try") 2>&5
23852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854 ac_cv_sizeof_wchar_t=`cat conftest.val`
23856 echo "$as_me: program exited with status
$ac_status" >&5
23857 echo "$as_me: failed program was
:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23860 ( exit $ac_status )
23861 if test "$ac_cv_type_wchar_t" = yes; then
23862 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23863 See \
`config.log' for more details." >&5
23864 echo "$as_me: error: cannot compute sizeof (wchar_t)
23865 See \`config.log
' for more details." >&2;}
23866 { (exit 77); exit 77; }; }
23868 ac_cv_sizeof_wchar_t=0
23871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23875 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23876 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23880 cat >>confdefs.h <<_ACEOF
23881 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23885 if test "$ac_cv_sizeof_wchar_t" != 0; then
23891 { echo "$as_me:$LINENO: checking for va_copy" >&5
23892 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23893 if test "${wx_cv_func_va_copy+set}" = set; then
23894 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23900 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903 cat >conftest.$ac_ext <<_ACEOF
23905 #include <stdarg.h>
23906 void foo(char *f, ...)
23920 rm -f conftest.$ac_objext conftest$ac_exeext
23921 if { (ac_try="$ac_link"
23922 case "(($ac_try" in
23923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_link") 2>conftest.er1
23929 grep -v '^
*+' conftest.er1 >conftest.err
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } && {
23934 test -z "$ac_cxx_werror_flag" ||
23935 test ! -s conftest.err
23936 } && test -s conftest$ac_exeext &&
23937 $as_test_x conftest$ac_exeext; then
23938 wx_cv_func_va_copy=yes
23940 echo "$as_me: failed program was:" >&5
23941 sed 's
/^
/| /' conftest.$ac_ext >&5
23943 wx_cv_func_va_copy=no
23947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23948 conftest$ac_exeext conftest.$ac_ext
23950 ac_cpp='$CPP $CPPFLAGS'
23951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23952 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23958 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23959 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23961 if test $wx_cv_func_va_copy = "yes"; then
23962 cat >>confdefs.h <<\_ACEOF
23963 #define HAVE_VA_COPY 1
23967 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23968 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23969 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23970 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 if test "$cross_compiling" = yes; then
23974 wx_cv_type_va_list_lvalue=yes
23977 cat >conftest.$ac_ext <<_ACEOF
23979 #include <stdarg.h>
23980 int foo(char *f, ...)
23985 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23993 return foo("hi", 17);
23996 rm -f conftest$ac_exeext
23997 if { (ac_try="$ac_link"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_link") 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24007 { (case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_try") 2>&5
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; }; then
24016 wx_cv_type_va_list_lvalue=yes
24018 echo "$as_me: program exited with status $ac_status" >&5
24019 echo "$as_me: failed program was:" >&5
24020 sed 's
/^
/| /' conftest.$ac_ext >&5
24022 ( exit $ac_status )
24023 wx_cv_type_va_list_lvalue=no
24025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24032 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24033 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24035 if test $wx_cv_type_va_list_lvalue != "yes"; then
24036 cat >>confdefs.h <<\_ACEOF
24037 #define VA_LIST_IS_ARRAY 1
24043 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24045 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24046 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24047 if test "${wx_cv_have_variadic_macros+set}" = set; then
24048 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24054 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24057 cat >conftest.$ac_ext <<_ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24065 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24071 test("%s %d %p", "test", 1, 0);
24078 rm -f conftest.$ac_objext
24079 if { (ac_try="$ac_compile"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_compile") 2>conftest.er1
24087 grep -v '^
*+' conftest.er1 >conftest.err
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_cxx_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest.$ac_objext; then
24095 wx_cv_have_variadic_macros=yes
24097 echo "$as_me: failed program was:" >&5
24098 sed 's
/^
/| /' conftest.$ac_ext >&5
24100 wx_cv_have_variadic_macros=no
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24108 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24114 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24115 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24117 if test $wx_cv_have_variadic_macros = "yes"; then
24118 cat >>confdefs.h <<\_ACEOF
24119 #define HAVE_VARIADIC_MACROS 1
24126 LARGEFILE_CPPFLAGS=
24127 # Check whether --enable-largefile was given.
24128 if test "${enable_largefile+set}" = set; then
24129 enableval=$enable_largefile;
24132 if test "$enable_largefile" != no; then
24135 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24136 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24137 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24141 cat >conftest.$ac_ext <<_ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 #define _FILE_OFFSET_BITS 64
24148 #include <sys/types.h>
24153 unsigned int field: sizeof(off_t) == 8;
24160 rm -f conftest.$ac_objext
24161 if { (ac_try="$ac_compile"
24162 case "(($ac_try" in
24163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24164 *) ac_try_echo=$ac_try;;
24166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24167 (eval "$ac_compile") 2>conftest.er1
24169 grep -v '^
*+' conftest.er1 >conftest.err
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } && {
24174 test -z "$ac_c_werror_flag" ||
24175 test ! -s conftest.err
24176 } && test -s conftest.$ac_objext; then
24177 ac_cv_sys_file_offset_bits=64
24179 echo "$as_me: failed program was:" >&5
24180 sed 's
/^
/| /' conftest.$ac_ext >&5
24182 ac_cv_sys_file_offset_bits=no
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24189 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24190 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24192 if test "$ac_cv_sys_file_offset_bits" != no; then
24194 cat >>confdefs.h <<_ACEOF
24195 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24200 if test "x$wx_largefile" != "xyes"; then
24202 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24203 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24204 if test "${ac_cv_sys_large_files+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 cat >conftest.$ac_ext <<_ACEOF
24211 cat confdefs.h >>conftest.$ac_ext
24212 cat >>conftest.$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24214 #define _LARGE_FILES 1
24215 #include <sys/types.h>
24220 unsigned int field: sizeof(off_t) == 8;
24227 rm -f conftest.$ac_objext
24228 if { (ac_try="$ac_compile"
24229 case "(($ac_try" in
24230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24231 *) ac_try_echo=$ac_try;;
24233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24234 (eval "$ac_compile") 2>conftest.er1
24236 grep -v '^
*+' conftest.er1 >conftest.err
24238 cat conftest.err >&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } && {
24241 test -z "$ac_c_werror_flag" ||
24242 test ! -s conftest.err
24243 } && test -s conftest.$ac_objext; then
24244 ac_cv_sys_large_files=1
24246 echo "$as_me: failed program was:" >&5
24247 sed 's
/^
/| /' conftest.$ac_ext >&5
24249 ac_cv_sys_large_files=no
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24257 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24259 if test "$ac_cv_sys_large_files" != no; then
24261 cat >>confdefs.h <<_ACEOF
24262 #define _LARGE_FILES $ac_cv_sys_large_files
24269 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24270 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24271 if test "x$wx_largefile" = "xyes"; then
24272 cat >>confdefs.h <<\_ACEOF
24273 #define HAVE_LARGEFILE_SUPPORT 1
24277 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24278 echo "${ECHO_T}$wx_largefile" >&6; }
24281 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24282 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24283 elif test "$ac_cv_sys_large_files" = 1; then
24284 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24287 if test -n "$LARGEFILE_CPPFLAGS"; then
24288 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24290 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24291 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24292 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24293 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 ac_cpp='$CXXCPP $CPPFLAGS'
24299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24300 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24303 cat >conftest.$ac_ext <<_ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24314 #ifndef __STDC_EXT__
24322 rm -f conftest.$ac_objext
24323 if { (ac_try="$ac_compile"
24324 case "(($ac_try" in
24325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24326 *) ac_try_echo=$ac_try;;
24328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24331 grep -v '^
*+' conftest.er1 >conftest.err
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_cxx_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24339 wx_cv_STDC_EXT_required=no
24341 echo "$as_me: failed program was:" >&5
24342 sed 's
/^
/| /' conftest.$ac_ext >&5
24344 wx_cv_STDC_EXT_required=yes
24348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24350 ac_cpp='$CPP $CPPFLAGS'
24351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24352 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24359 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24360 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24361 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24367 ac_cpp='$CXXCPP $CPPFLAGS'
24368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24369 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24372 old_CPPFLAGS="$CPPFLAGS"
24373 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24374 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24375 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24376 if test "${ac_cv_sys_largefile_source+set}" = set; then
24377 echo $ECHO_N "(cached) $ECHO_C" >&6
24380 cat >conftest.$ac_ext <<_ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386 #include <sys/types.h> /* for off_t */
24391 int (*fp) (FILE *, off_t, int) = fseeko;
24392 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24397 rm -f conftest.$ac_objext conftest$ac_exeext
24398 if { (ac_try="$ac_link"
24399 case "(($ac_try" in
24400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 *) ac_try_echo=$ac_try;;
24403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 (eval "$ac_link") 2>conftest.er1
24406 grep -v '^
*+' conftest.er1 >conftest.err
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } && {
24411 test -z "$ac_cxx_werror_flag" ||
24412 test ! -s conftest.err
24413 } && test -s conftest$ac_exeext &&
24414 $as_test_x conftest$ac_exeext; then
24415 ac_cv_sys_largefile_source=no; break
24417 echo "$as_me: failed program was:" >&5
24418 sed 's
/^
/| /' conftest.$ac_ext >&5
24423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24424 conftest$ac_exeext conftest.$ac_ext
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 #define _LARGEFILE_SOURCE 1
24432 #include <sys/types.h> /* for off_t */
24437 int (*fp) (FILE *, off_t, int) = fseeko;
24438 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24443 rm -f conftest.$ac_objext conftest$ac_exeext
24444 if { (ac_try="$ac_link"
24445 case "(($ac_try" in
24446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_link") 2>conftest.er1
24452 grep -v '^
*+' conftest.er1 >conftest.err
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_cxx_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest$ac_exeext &&
24460 $as_test_x conftest$ac_exeext; then
24461 ac_cv_sys_largefile_source=1; break
24463 echo "$as_me: failed program was:" >&5
24464 sed 's
/^
/| /' conftest.$ac_ext >&5
24469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24470 conftest$ac_exeext conftest.$ac_ext
24471 ac_cv_sys_largefile_source=unknown
24475 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24476 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24477 case $ac_cv_sys_largefile_source in #(
24480 cat >>confdefs.h <<_ACEOF
24481 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24487 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24488 # in glibc 2.1.3, but that breaks too many other things.
24489 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24490 if test $ac_cv_sys_largefile_source != unknown; then
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_FSEEKO 1
24498 CPPFLAGS="$old_CPPFLAGS"
24500 ac_cpp='$CPP $CPPFLAGS'
24501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24502 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24505 if test "$ac_cv_sys_largefile_source" != no; then
24506 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24509 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24510 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24511 if test "${ac_cv_c_bigendian+set}" = set; then
24512 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 ac_cv_c_bigendian=unknown
24515 # See if sys/param.h defines the BYTE_ORDER macro.
24516 cat >conftest.$ac_ext <<_ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 #include <sys/types.h>
24523 #include <sys/param.h>
24528 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24529 bogus endian macros
24535 rm -f conftest.$ac_objext
24536 if { (ac_try="$ac_compile"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_compile") 2>conftest.er1
24544 grep -v '^
*+' conftest.er1 >conftest.err
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && {
24549 test -z "$ac_c_werror_flag" ||
24550 test ! -s conftest.err
24551 } && test -s conftest.$ac_objext; then
24552 # It does; now see whether it defined to BIG_ENDIAN or not.
24553 cat >conftest.$ac_ext <<_ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 #include <sys/types.h>
24560 #include <sys/param.h>
24565 #if BYTE_ORDER != BIG_ENDIAN
24572 rm -f conftest.$ac_objext
24573 if { (ac_try="$ac_compile"
24574 case "(($ac_try" in
24575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24576 *) ac_try_echo=$ac_try;;
24578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24579 (eval "$ac_compile") 2>conftest.er1
24581 grep -v '^
*+' conftest.er1 >conftest.err
24583 cat conftest.err >&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } && {
24586 test -z "$ac_c_werror_flag" ||
24587 test ! -s conftest.err
24588 } && test -s conftest.$ac_objext; then
24589 ac_cv_c_bigendian=yes
24591 echo "$as_me: failed program was:" >&5
24592 sed 's
/^
/| /' conftest.$ac_ext >&5
24594 ac_cv_c_bigendian=no
24597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24599 echo "$as_me: failed program was:" >&5
24600 sed 's
/^
/| /' conftest.$ac_ext >&5
24605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24606 if test $ac_cv_c_bigendian = unknown; then
24607 if test "$cross_compiling" = yes; then
24608 ac_cv_c_bigendian=unknown
24610 cat >conftest.$ac_ext <<_ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24617 /* Are we little or big endian? From Harbison&Steele. */
24621 char c[sizeof (long)];
24624 exit (u.c[sizeof (long) - 1] == 1);
24627 rm -f conftest$ac_exeext
24628 if { (ac_try="$ac_link"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_link") 2>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
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_try") 2>&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; }; then
24647 ac_cv_c_bigendian=no
24649 echo "$as_me: program exited with status $ac_status" >&5
24650 echo "$as_me: failed program was:" >&5
24651 sed 's
/^
/| /' conftest.$ac_ext >&5
24653 ( exit $ac_status )
24654 ac_cv_c_bigendian=yes
24656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24662 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24663 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24664 if test $ac_cv_c_bigendian = unknown; then
24665 { 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
24666 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;}
24668 if test $ac_cv_c_bigendian = yes; then
24669 cat >>confdefs.h <<\_ACEOF
24670 #define WORDS_BIGENDIAN 1
24679 ac_cpp='$CXXCPP $CPPFLAGS'
24680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24681 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24686 for ac_header in iostream
24688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 cat >conftest.$ac_ext <<_ACEOF
24697 cat confdefs.h >>conftest.$ac_ext
24698 cat >>conftest.$ac_ext <<_ACEOF
24699 /* end confdefs.h. */
24702 #include <$ac_header>
24704 rm -f conftest.$ac_objext
24705 if { (ac_try="$ac_compile"
24706 case "(($ac_try" in
24707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24708 *) ac_try_echo=$ac_try;;
24710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24711 (eval "$ac_compile") 2>conftest.er1
24713 grep -v '^
*+' conftest.er1 >conftest.err
24715 cat conftest.err >&5
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); } && {
24718 test -z "$ac_cxx_werror_flag" ||
24719 test ! -s conftest.err
24720 } && test -s conftest.$ac_objext; then
24721 eval "$as_ac_Header=yes"
24723 echo "$as_me: failed program was:" >&5
24724 sed 's
/^
/| /' conftest.$ac_ext >&5
24726 eval "$as_ac_Header=no"
24729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_res=`eval echo '${'$as_ac_Header'}'`
24732 { echo "$as_me:$LINENO: result: $ac_res" >&5
24733 echo "${ECHO_T}$ac_res" >&6; }
24734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24735 cat >>confdefs.h <<_ACEOF
24736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24744 if test "$ac_cv_header_iostream" = "yes" ; then
24747 cat >>confdefs.h <<\_ACEOF
24748 #define wxUSE_IOSTREAMH 1
24754 ac_cpp='$CPP $CPPFLAGS'
24755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24756 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24762 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24763 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24764 if test "${wx_cv_explicit+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 ac_cpp='$CXXCPP $CPPFLAGS'
24771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24772 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776 cat >conftest.$ac_ext <<_ACEOF
24779 cat confdefs.h >>conftest.$ac_ext
24780 cat >>conftest.$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24783 class Foo { public: explicit Foo(int) {} };
24795 rm -f conftest.$ac_objext
24796 if { (ac_try="$ac_compile"
24797 case "(($ac_try" in
24798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24799 *) ac_try_echo=$ac_try;;
24801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24802 (eval "$ac_compile") 2>conftest.er1
24804 grep -v '^
*+' conftest.er1 >conftest.err
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } && {
24809 test -z "$ac_cxx_werror_flag" ||
24810 test ! -s conftest.err
24811 } && test -s conftest.$ac_objext; then
24813 cat >conftest.$ac_ext <<_ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24820 class Foo { public: explicit Foo(int) {} };
24821 static void TakeFoo(const Foo& foo) { }
24834 rm -f conftest.$ac_objext
24835 if { (ac_try="$ac_compile"
24836 case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_compile") 2>conftest.er1
24843 grep -v '^
*+' conftest.er1 >conftest.err
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } && {
24848 test -z "$ac_cxx_werror_flag" ||
24849 test ! -s conftest.err
24850 } && test -s conftest.$ac_objext; then
24853 echo "$as_me: failed program was:" >&5
24854 sed 's
/^
/| /' conftest.$ac_ext >&5
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 echo "$as_me: failed program was:" >&5
24864 sed 's
/^
/| /' conftest.$ac_ext >&5
24870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24875 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24880 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24881 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24883 if test "$wx_cv_explicit" = "yes"; then
24884 cat >>confdefs.h <<\_ACEOF
24885 #define HAVE_EXPLICIT 1
24891 if test "x$SUNCXX" = xyes; then
24892 CXXFLAGS="-features=tmplife $CXXFLAGS"
24895 if test "x$SUNCC" = xyes; then
24896 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24899 if test "x$SGICC" = "xyes"; then
24900 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24901 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24902 if test "${wx_cv_prog_sgicc744+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 cat >conftest.$ac_ext <<_ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24917 #if _SGI_COMPILER_VERSION >= 744
24918 chock me: mipsPro is 7.4.4 or later
24925 rm -f conftest.$ac_objext
24926 if { (ac_try="$ac_compile"
24927 case "(($ac_try" in
24928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24929 *) ac_try_echo=$ac_try;;
24931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24932 (eval "$ac_compile") 2>conftest.er1
24934 grep -v '^
*+' conftest.er1 >conftest.err
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } && {
24939 test -z "$ac_c_werror_flag" ||
24940 test ! -s conftest.err
24941 } && test -s conftest.$ac_objext; then
24942 wx_cv_prog_sgicc744=no
24944 echo "$as_me: failed program was:" >&5
24945 sed 's
/^
/| /' conftest.$ac_ext >&5
24947 wx_cv_prog_sgicc744=yes
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24956 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24958 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24959 CFLAGS="-woff 3970 $CFLAGS"
24962 if test "x$SGICXX" = "xyes"; then
24963 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24964 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24965 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24966 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24972 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24975 cat >conftest.$ac_ext <<_ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24986 #if _SGI_COMPILER_VERSION >= 744
24987 chock me: mipsPro is 7.4.4 or later
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25003 grep -v '^
*+' conftest.er1 >conftest.err
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_prog_sgicxx744=no
25013 echo "$as_me: failed program was:" >&5
25014 sed 's
/^
/| /' conftest.$ac_ext >&5
25016 wx_cv_prog_sgicxx744=yes
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022 ac_cpp='$CPP $CPPFLAGS'
25023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25024 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25031 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25033 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25034 CXXFLAGS="-woff 3970 $CXXFLAGS"
25038 if test "x$HPCC" = "xyes"; then
25039 CFLAGS="+W 2011,2450 $CFLAGS"
25041 if test "x$HPCXX" = "xyes"; then
25042 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25045 if test "x$COMPAQCXX" = "xyes"; then
25046 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25050 ac_cpp='$CXXCPP $CPPFLAGS'
25051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25052 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25056 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25057 if test "$wxUSE_UNICODE" = "yes"; then
25058 std_string="std::wstring"
25059 char_type="wchar_t"
25061 std_string="std::string"
25065 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25066 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25067 if test "${wx_cv_class_stdstring+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 cat >conftest.$ac_ext <<_ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25086 rm -f conftest.$ac_objext
25087 if { (ac_try="$ac_compile"
25088 case "(($ac_try" in
25089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090 *) ac_try_echo=$ac_try;;
25092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093 (eval "$ac_compile") 2>conftest.er1
25095 grep -v '^
*+' conftest.er1 >conftest.err
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && {
25100 test -z "$ac_cxx_werror_flag" ||
25101 test ! -s conftest.err
25102 } && test -s conftest.$ac_objext; then
25103 wx_cv_class_stdstring=yes
25105 echo "$as_me: failed program was:" >&5
25106 sed 's
/^
/| /' conftest.$ac_ext >&5
25108 wx_cv_class_stdstring=no
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25117 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25119 if test "$wx_cv_class_stdstring" = yes; then
25120 if test "$wxUSE_UNICODE" = "yes"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define HAVE_STD_WSTRING 1
25127 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25128 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25129 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25133 cat >conftest.$ac_ext <<_ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25140 #ifdef HAVE_WCHAR_H
25142 # include <stddef.h>
25144 # include <wchar.h>
25146 #ifdef HAVE_STDLIB_H
25147 # include <stdlib.h>
25155 std::basic_string<$char_type> foo;
25156 const $char_type* dummy = foo.c_str();
25161 rm -f conftest.$ac_objext
25162 if { (ac_try="$ac_compile"
25163 case "(($ac_try" in
25164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25165 *) ac_try_echo=$ac_try;;
25167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25168 (eval "$ac_compile") 2>conftest.er1
25170 grep -v '^
*+' conftest.er1 >conftest.err
25172 cat conftest.err >&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } && {
25175 test -z "$ac_cxx_werror_flag" ||
25176 test ! -s conftest.err
25177 } && test -s conftest.$ac_objext; then
25178 wx_cv_class_stdbasicstring=yes
25180 echo "$as_me: failed program was:" >&5
25181 sed 's
/^
/| /' conftest.$ac_ext >&5
25183 wx_cv_class_stdbasicstring=no
25187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25191 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25192 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25194 if test "$wx_cv_class_stdbasicstring" != yes; then
25195 if test "$wxUSE_STL" = "yes"; then
25196 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25197 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25198 { (exit 1); exit 1; }; }
25199 elif test "$wxUSE_STD_STRING" = "yes"; then
25200 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25201 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25202 { (exit 1); exit 1; }; }
25204 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25205 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25206 wxUSE_STD_STRING=no
25212 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25213 { echo "$as_me:$LINENO: checking for std::istream" >&5
25214 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25215 if test "${ac_cv_type_std__istream+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 cat >conftest.$ac_ext <<_ACEOF
25221 cat confdefs.h >>conftest.$ac_ext
25222 cat >>conftest.$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25224 #include <iostream>
25226 typedef std::istream ac__type_new_;
25230 if ((ac__type_new_ *) 0)
25232 if (sizeof (ac__type_new_))
25238 rm -f conftest.$ac_objext
25239 if { (ac_try="$ac_compile"
25240 case "(($ac_try" in
25241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25242 *) ac_try_echo=$ac_try;;
25244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25245 (eval "$ac_compile") 2>conftest.er1
25247 grep -v '^
*+' conftest.er1 >conftest.err
25249 cat conftest.err >&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); } && {
25252 test -z "$ac_cxx_werror_flag" ||
25253 test ! -s conftest.err
25254 } && test -s conftest.$ac_objext; then
25255 ac_cv_type_std__istream=yes
25257 echo "$as_me: failed program was:" >&5
25258 sed 's
/^
/| /' conftest.$ac_ext >&5
25260 ac_cv_type_std__istream=no
25263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25265 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25266 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25267 if test $ac_cv_type_std__istream = yes; then
25269 cat >>confdefs.h <<_ACEOF
25270 #define HAVE_STD__ISTREAM 1
25275 wxUSE_STD_IOSTREAM=no
25277 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25278 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25279 if test "${ac_cv_type_std__ostream+set}" = set; then
25280 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 cat >conftest.$ac_ext <<_ACEOF
25285 cat confdefs.h >>conftest.$ac_ext
25286 cat >>conftest.$ac_ext <<_ACEOF
25287 /* end confdefs.h. */
25288 #include <iostream>
25290 typedef std::ostream ac__type_new_;
25294 if ((ac__type_new_ *) 0)
25296 if (sizeof (ac__type_new_))
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25311 grep -v '^
*+' conftest.er1 >conftest.err
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_cxx_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25319 ac_cv_type_std__ostream=yes
25321 echo "$as_me: failed program was:" >&5
25322 sed 's
/^
/| /' conftest.$ac_ext >&5
25324 ac_cv_type_std__ostream=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25330 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25331 if test $ac_cv_type_std__ostream = yes; then
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_STD__OSTREAM 1
25339 wxUSE_STD_IOSTREAM=no
25343 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25344 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25345 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25346 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25347 { (exit 1); exit 1; }; }
25349 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25350 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25355 if test "$wxUSE_STL" = "yes"; then
25356 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25357 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25358 if test "${wx_cv_lib_stl+set}" = set; then
25359 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 cat >conftest.$ac_ext <<_ACEOF
25364 cat confdefs.h >>conftest.$ac_ext
25365 cat >>conftest.$ac_ext <<_ACEOF
25366 /* end confdefs.h. */
25368 #include <functional>
25369 #include <algorithm>
25375 std::vector<int> moo;
25376 std::list<int> foo;
25377 std::vector<int>::iterator it =
25378 std::find_if(moo.begin(), moo.end(),
25379 std::bind2nd(std::less<int>(), 3));
25384 rm -f conftest.$ac_objext
25385 if { (ac_try="$ac_compile"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_compile") 2>conftest.er1
25393 grep -v '^
*+' conftest.er1 >conftest.err
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_cxx_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest.$ac_objext; then
25403 echo "$as_me: failed program was:" >&5
25404 sed 's
/^
/| /' conftest.$ac_ext >&5
25410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25413 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25414 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25416 if test "$wx_cv_lib_stl" != yes; then
25417 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25418 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25419 { (exit 1); exit 1; }; }
25422 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25423 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25424 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25427 cat >conftest.$ac_ext <<_ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25437 std::string foo, bar;
25439 foo.compare(1, 1, bar);
25440 foo.compare(1, 1, bar, 1, 1);
25442 foo.compare(1, 1, "");
25443 foo.compare(1, 1, "", 2);
25448 rm -f conftest.$ac_objext
25449 if { (ac_try="$ac_compile"
25450 case "(($ac_try" in
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_compile") 2>conftest.er1
25457 grep -v '^
*+' conftest.er1 >conftest.err
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } && {
25462 test -z "$ac_cxx_werror_flag" ||
25463 test ! -s conftest.err
25464 } && test -s conftest.$ac_objext; then
25465 wx_cv_func_stdstring_compare=yes
25467 echo "$as_me: failed program was:" >&5
25468 sed 's
/^
/| /' conftest.$ac_ext >&5
25470 wx_cv_func_stdstring_compare=no
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25477 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25478 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25480 if test "$wx_cv_func_stdstring_compare" = yes; then
25481 cat >>confdefs.h <<\_ACEOF
25482 #define HAVE_STD_STRING_COMPARE 1
25487 if test "$wx_cv_class_gnuhashmapset" = yes; then
25488 cat >>confdefs.h <<\_ACEOF
25489 #define HAVE_EXT_HASH_MAP 1
25492 cat >>confdefs.h <<\_ACEOF
25493 #define HAVE_GNU_CXX_HASH_MAP 1
25498 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25499 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25500 if test "${ac_cv_header_unordered_map+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 cat >conftest.$ac_ext <<_ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25512 #include <unordered_map>
25514 rm -f conftest.$ac_objext
25515 if { (ac_try="$ac_compile"
25516 case "(($ac_try" in
25517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25518 *) ac_try_echo=$ac_try;;
25520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25521 (eval "$ac_compile") 2>conftest.er1
25523 grep -v '^
*+' conftest.er1 >conftest.err
25525 cat conftest.err >&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); } && {
25528 test -z "$ac_cxx_werror_flag" ||
25529 test ! -s conftest.err
25530 } && test -s conftest.$ac_objext; then
25531 ac_cv_header_unordered_map=yes
25533 echo "$as_me: failed program was:" >&5
25534 sed 's
/^
/| /' conftest.$ac_ext >&5
25536 ac_cv_header_unordered_map=no
25539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25541 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25542 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25543 if test $ac_cv_header_unordered_map = yes; then
25544 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25545 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25546 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 cat >conftest.$ac_ext <<_ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 #include <unordered_map>
25556 #include <unordered_set>
25560 std::unordered_map<double*, char*> test1;
25561 std::unordered_set<char*> test2;
25566 rm -f conftest.$ac_objext
25567 if { (ac_try="$ac_compile"
25568 case "(($ac_try" in
25569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570 *) ac_try_echo=$ac_try;;
25572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573 (eval "$ac_compile") 2>conftest.er1
25575 grep -v '^
*+' conftest.er1 >conftest.err
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } && {
25580 test -z "$ac_cxx_werror_flag" ||
25581 test ! -s conftest.err
25582 } && test -s conftest.$ac_objext; then
25583 wx_cv_class_stdunorderedmapset=yes
25585 echo "$as_me: failed program was:" >&5
25586 sed 's
/^
/| /' conftest.$ac_ext >&5
25588 wx_cv_class_stdunorderedmapset=no
25591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25596 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25601 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25602 cat >>confdefs.h <<\_ACEOF
25603 #define HAVE_STD_UNORDERED_MAP 1
25606 cat >>confdefs.h <<\_ACEOF
25607 #define HAVE_STD_UNORDERED_SET 1
25611 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25612 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25613 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 cat >conftest.$ac_ext <<_ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25625 #include <tr1/unordered_map>
25627 rm -f conftest.$ac_objext
25628 if { (ac_try="$ac_compile"
25629 case "(($ac_try" in
25630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25631 *) ac_try_echo=$ac_try;;
25633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25634 (eval "$ac_compile") 2>conftest.er1
25636 grep -v '^
*+' conftest.er1 >conftest.err
25638 cat conftest.err >&5
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } && {
25641 test -z "$ac_cxx_werror_flag" ||
25642 test ! -s conftest.err
25643 } && test -s conftest.$ac_objext; then
25644 ac_cv_header_tr1_unordered_map=yes
25646 echo "$as_me: failed program was:" >&5
25647 sed 's
/^
/| /' conftest.$ac_ext >&5
25649 ac_cv_header_tr1_unordered_map=no
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25654 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25655 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25656 if test $ac_cv_header_tr1_unordered_map = yes; then
25657 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25658 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25659 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 cat >conftest.$ac_ext <<_ACEOF
25665 cat confdefs.h >>conftest.$ac_ext
25666 cat >>conftest.$ac_ext <<_ACEOF
25667 /* end confdefs.h. */
25668 #include <tr1/unordered_map>
25669 #include <tr1/unordered_set>
25673 std::tr1::unordered_map<double*, char*> test1;
25674 std::tr1::unordered_set<char*> test2;
25675 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25676 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25682 rm -f conftest.
$ac_objext
25683 if { (ac_try
="$ac_compile"
25684 case "(($ac_try" in
25685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25686 *) ac_try_echo=$ac_try;;
25688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25689 (eval "$ac_compile") 2>conftest.er1
25691 grep -v '^ *+' conftest.er1 >conftest.err
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } && {
25696 test -z "$ac_cxx_werror_flag" ||
25697 test ! -s conftest.err
25698 } && test -s conftest.$ac_objext; then
25699 wx_cv_class_tr1unorderedmapset=yes
25701 echo "$as_me: failed program was:" >&5
25702 sed 's/^/| /' conftest.$ac_ext >&5
25704 wx_cv_class_tr1unorderedmapset=no
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25711 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25712 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25717 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25718 cat >>confdefs.h <<\_ACEOF
25719 #define HAVE_TR1_UNORDERED_MAP 1
25722 cat >>confdefs.h <<\_ACEOF
25723 #define HAVE_TR1_UNORDERED_SET 1
25727 { echo "$as_me:$LINENO: checking for hash_map" >&5
25728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25729 if test "${ac_cv_header_hash_map+set}" = set; then
25730 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 cat >conftest.$ac_ext <<_ACEOF
25735 cat confdefs.h >>conftest.$ac_ext
25736 cat >>conftest.$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25741 #include <hash_map>
25743 rm -f conftest.$ac_objext
25744 if { (ac_try="$ac_compile"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25747 *) ac_try_echo
=$ac_try;;
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_compile") 2>conftest.er1
25752 grep -v '^ *+' conftest.er1
>conftest.err
25754 cat conftest.err
>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_cxx_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest.
$ac_objext; then
25760 ac_cv_header_hash_map
=yes
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.
$ac_ext >&5
25765 ac_cv_header_hash_map
=no
25768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25770 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25771 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25772 if test $ac_cv_header_hash_map = yes; then
25773 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25774 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25775 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 cat >conftest.
$ac_ext <<_ACEOF
25781 cat confdefs.h
>>conftest.
$ac_ext
25782 cat >>conftest.
$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784 #include <hash_map>
25785 #include <hash_set>
25789 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25790 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25795 rm -f conftest.
$ac_objext
25796 if { (ac_try
="$ac_compile"
25797 case "(($ac_try" in
25798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25799 *) ac_try_echo=$ac_try;;
25801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25802 (eval "$ac_compile") 2>conftest.er1
25804 grep -v '^ *+' conftest.er1 >conftest.err
25806 cat conftest.err >&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } && {
25809 test -z "$ac_cxx_werror_flag" ||
25810 test ! -s conftest.err
25811 } && test -s conftest.$ac_objext; then
25812 wx_cv_class_stdhashmapset=yes
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25817 wx_cv_class_stdhashmapset=no
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25825 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25830 if test "$wx_cv_class_stdhashmapset" = yes; then
25831 cat >>confdefs.h <<\_ACEOF
25832 #define HAVE_HASH_MAP 1
25835 cat >>confdefs.h <<\_ACEOF
25836 #define HAVE_STD_HASH_MAP 1
25841 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25842 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25843 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 cat >conftest.$ac_ext <<_ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25855 #include <ext/hash_map>
25857 rm -f conftest.$ac_objext
25858 if { (ac_try="$ac_compile"
25859 case "(($ac_try" in
25860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25861 *) ac_try_echo
=$ac_try;;
25863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25864 (eval "$ac_compile") 2>conftest.er1
25866 grep -v '^ *+' conftest.er1
>conftest.err
25868 cat conftest.err
>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && {
25871 test -z "$ac_cxx_werror_flag" ||
25872 test ! -s conftest.err
25873 } && test -s conftest.
$ac_objext; then
25874 ac_cv_header_ext_hash_map
=yes
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.
$ac_ext >&5
25879 ac_cv_header_ext_hash_map
=no
25882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25884 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25885 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25886 if test $ac_cv_header_ext_hash_map = yes; then
25887 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25888 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25889 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 cat >conftest.
$ac_ext <<_ACEOF
25895 cat confdefs.h
>>conftest.
$ac_ext
25896 cat >>conftest.
$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898 #include <ext/hash_map>
25899 #include <ext/hash_set>
25903 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25904 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25909 rm -f conftest.
$ac_objext
25910 if { (ac_try
="$ac_compile"
25911 case "(($ac_try" in
25912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25913 *) ac_try_echo=$ac_try;;
25915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25916 (eval "$ac_compile") 2>conftest.er1
25918 grep -v '^ *+' conftest.er1 >conftest.err
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } && {
25923 test -z "$ac_cxx_werror_flag" ||
25924 test ! -s conftest.err
25925 } && test -s conftest.$ac_objext; then
25926 wx_cv_class_gnuhashmapset=yes
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.$ac_ext >&5
25931 wx_cv_class_gnuhashmapset=no
25934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25938 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25939 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25949 ac_cpp='$CXXCPP $CPPFLAGS'
25950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25953 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25954 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25955 if test -z "$CXXCPP"; then
25956 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25957 echo $ECHO_N "(cached) $ECHO_C" >&6
25959 # Double quotes because CXXCPP needs to be expanded
25960 for CXXCPP in "$CXX -E" "/lib/cpp"
25962 ac_preproc_ok=false
25963 for ac_cxx_preproc_warn_flag in '' yes
25965 # Use a header file that comes with gcc, so configuring glibc
25966 # with a fresh cross-compiler works.
25967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 # <limits.h> exists even on freestanding compilers.
25969 # On the NeXT, cc -E runs the code through the compiler's parser,
25970 # not just through cpp. "Syntax error" is here to catch this case.
25971 cat >conftest.$ac_ext <<_ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25978 # include <limits.h>
25980 # include <assert.h>
25984 if { (ac_try="$ac_cpp conftest.$ac_ext"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25987 *) ac_try_echo
=$ac_try;;
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25992 grep -v '^ *+' conftest.er1
>conftest.err
25994 cat conftest.err
>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } >/dev
/null
&& {
25997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25998 test ! -s conftest.err
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.
$ac_ext >&5
26005 # Broken: fails on valid input.
26009 rm -f conftest.err conftest.
$ac_ext
26011 # OK, works on sane cases. Now check whether nonexistent headers
26012 # can be detected and how.
26013 cat >conftest.
$ac_ext <<_ACEOF
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <ac_nonexistent.h>
26021 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26022 case "(($ac_try" in
26023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26024 *) ac_try_echo=$ac_try;;
26026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26029 grep -v '^ *+' conftest.er1 >conftest.err
26031 cat conftest.err >&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } >/dev/null && {
26034 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26035 test ! -s conftest.err
26037 # Broken: success on invalid input.
26040 echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26043 # Passes both tests.
26048 rm -f conftest.err conftest.$ac_ext
26051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26052 rm -f conftest.err conftest.
$ac_ext
26053 if $ac_preproc_ok; then
26058 ac_cv_prog_CXXCPP
=$CXXCPP
26061 CXXCPP
=$ac_cv_prog_CXXCPP
26063 ac_cv_prog_CXXCPP
=$CXXCPP
26065 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26066 echo "${ECHO_T}$CXXCPP" >&6; }
26067 ac_preproc_ok
=false
26068 for ac_cxx_preproc_warn_flag
in '' yes
26070 # Use a header file that comes with gcc, so configuring glibc
26071 # with a fresh cross-compiler works.
26072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26073 # <limits.h> exists even on freestanding compilers.
26074 # On the NeXT, cc -E runs the code through the compiler's parser,
26075 # not just through cpp. "Syntax error" is here to catch this case.
26076 cat >conftest.
$ac_ext <<_ACEOF
26079 cat confdefs.h
>>conftest.
$ac_ext
26080 cat >>conftest.
$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26083 # include <limits.h>
26085 # include <assert.h>
26089 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26090 case "(($ac_try" in
26091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26092 *) ac_try_echo=$ac_try;;
26094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26097 grep -v '^ *+' conftest.er1 >conftest.err
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } >/dev/null && {
26102 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26103 test ! -s conftest.err
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26110 # Broken: fails on valid input.
26114 rm -f conftest.err conftest.$ac_ext
26116 # OK, works on sane cases. Now check whether nonexistent headers
26117 # can be detected and how.
26118 cat >conftest.$ac_ext <<_ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 #include <ac_nonexistent.h>
26126 if { (ac_try="$ac_cpp conftest.$ac_ext"
26127 case "(($ac_try" in
26128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26129 *) ac_try_echo
=$ac_try;;
26131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26134 grep -v '^ *+' conftest.er1
>conftest.err
26136 cat conftest.err
>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } >/dev
/null
&& {
26139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26140 test ! -s conftest.err
26142 # Broken: success on invalid input.
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.
$ac_ext >&5
26148 # Passes both tests.
26153 rm -f conftest.err conftest.
$ac_ext
26156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26157 rm -f conftest.err conftest.
$ac_ext
26158 if $ac_preproc_ok; then
26161 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26162 See \`config.log' for more details." >&5
26163 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26164 See \`config.log' for more details." >&2;}
26165 { (exit 1); exit 1; }; }
26169 ac_cpp
='$CXXCPP $CPPFLAGS'
26170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26177 for ac_header
in type_traits tr
1/type_traits
26179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26180 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26181 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26183 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 ac_res
=`eval echo '${'$as_ac_Header'}'`
26187 { echo "$as_me:$LINENO: result: $ac_res" >&5
26188 echo "${ECHO_T}$ac_res" >&6; }
26190 # Is the header compilable?
26191 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26193 cat >conftest.
$ac_ext <<_ACEOF
26196 cat confdefs.h
>>conftest.
$ac_ext
26197 cat >>conftest.
$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199 $ac_includes_default
26200 #include <$ac_header>
26202 rm -f conftest.
$ac_objext
26203 if { (ac_try
="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26211 grep -v '^ *+' conftest.er1 >conftest.err
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26219 ac_header_compiler=yes
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26224 ac_header_compiler=no
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26229 echo "${ECHO_T}$ac_header_compiler" >&6; }
26231 # Is the header present?
26232 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26234 cat >conftest.$ac_ext <<_ACEOF
26237 cat confdefs.h >>conftest.$ac_ext
26238 cat >>conftest.$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26240 #include <$ac_header>
26242 if { (ac_try="$ac_cpp conftest.$ac_ext"
26243 case "(($ac_try" in
26244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26245 *) ac_try_echo
=$ac_try;;
26247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26250 grep -v '^ *+' conftest.er1
>conftest.err
26252 cat conftest.err
>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } >/dev
/null
&& {
26255 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26256 test ! -s conftest.err
26258 ac_header_preproc
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_header_preproc
=no
26266 rm -f conftest.err conftest.
$ac_ext
26267 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26268 echo "${ECHO_T}$ac_header_preproc" >&6; }
26270 # So? What about this header?
26271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26277 ac_header_preproc
=yes
26280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26293 ## ----------------------------------------- ##
26294 ## Report this to wx-dev@lists.wxwidgets.org ##
26295 ## ----------------------------------------- ##
26297 ) | sed "s/^/$as_me: WARNING: /" >&2
26300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26302 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26303 echo $ECHO_N "(cached) $ECHO_C" >&6
26305 eval "$as_ac_Header=\$ac_header_preproc"
26307 ac_res
=`eval echo '${'$as_ac_Header'}'`
26308 { echo "$as_me:$LINENO: result: $ac_res" >&5
26309 echo "${ECHO_T}$ac_res" >&6; }
26312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26313 cat >>confdefs.h
<<_ACEOF
26314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26324 if test -n "$GCC"; then
26325 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26326 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26327 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26328 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 cat >conftest.
$ac_ext <<_ACEOF
26334 cat confdefs.h
>>conftest.
$ac_ext
26335 cat >>conftest.
$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26342 unsigned int value=0;
26343 /* wxAtomicInc doesn't use return value here */
26344 __sync_fetch_and_add(&value, 2);
26345 __sync_sub_and_fetch(&value, 1);
26346 /* but wxAtomicDec does, so mimic that: */
26347 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26353 rm -f conftest.
$ac_objext conftest
$ac_exeext
26354 if { (ac_try
="$ac_link"
26355 case "(($ac_try" in
26356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26357 *) ac_try_echo=$ac_try;;
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_link") 2>conftest.er1
26362 grep -v '^ *+' conftest.er1 >conftest.err
26364 cat conftest.err >&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } && {
26367 test -z "$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26369 } && test -s conftest$ac_exeext &&
26370 $as_test_x conftest$ac_exeext; then
26371 wx_cv_cc_gcc_atomic_builtins=yes
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26376 wx_cv_cc_gcc_atomic_builtins=no
26379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26380 conftest$ac_exeext conftest.$ac_ext
26384 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26385 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26386 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26387 cat >>confdefs.h <<\_ACEOF
26388 #define HAVE_GCC_ATOMIC_BUILTINS 1
26396 ac_cpp='$CPP $CPPFLAGS'
26397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26404 /usr/local/include \
26405 /usr/local/X11/include \
26406 /usr/local/include/X11 \
26407 /usr/local/X11R7/include \
26408 /usr/local/X11R6/include \
26409 /usr/local/include/X11R7 \
26410 /usr/local/include/X11R6 \
26412 /usr/Motif-2.1/include \
26413 /usr/Motif-1.2/include \
26414 /usr/include/Motif1.2 \
26417 /usr/openwin/include \
26421 /usr/X11R7/include \
26422 /usr/X11R6/include \
26423 /usr/X11R6.4/include \
26425 /usr/include/X11R7 \
26426 /usr/include/X11R6 \
26431 /usr/XFree86/include/X11 \
26434 /usr/local/X1R5/include \
26435 /usr/local/include/X11R5 \
26436 /usr/X11R5/include \
26437 /usr/include/X11R5 \
26439 /usr/local/X11R4/include \
26440 /usr/local/include/X11R4 \
26441 /usr/X11R4/include \
26442 /usr/include/X11R4 \
26444 /usr/openwin/share/include"
26446 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26447 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26451 if test "${wx_cv_std_libpath+set}" = set; then
26452 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26456 for e in a so sl dylib dll.a; do
26458 if test -f $libc; then
26461 cat >conftest.$ac_ext <<_ACEOF
26462 int main() { return 0; }
26464 rm -f conftest.$ac_objext conftest$ac_exeext
26465 if { (ac_try="$ac_link"
26466 case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26468 *) ac_try_echo
=$ac_try;;
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_link") 2>conftest.er1
26473 grep -v '^ *+' conftest.er1
>conftest.err
26475 cat conftest.err
>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } && {
26478 test -z "$ac_c_werror_flag" ||
26479 test ! -s conftest.err
26480 } && test -s conftest
$ac_exeext &&
26481 $as_test_x conftest
$ac_exeext; then
26482 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.
$ac_ext >&5
26490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26491 conftest
$ac_exeext conftest.
$ac_ext
26493 if test "x$wx_cv_std_libpath" != "x"; then
26499 if test "x$wx_cv_std_libpath" = "x"; then
26500 wx_cv_std_libpath
="lib"
26509 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26510 wx_cv_std_libpath
="lib/64"
26512 wx_cv_std_libpath
="lib"
26517 if test "$ac_cv_sizeof_void_p" = 8 -a \
26518 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26519 wx_cv_std_libpath
="lib64"
26521 wx_cv_std_libpath
="lib"
26526 wx_cv_std_libpath
="lib";
26530 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26531 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26533 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26535 if test "$build" != "$host" -a "$GCC" = yes; then
26536 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26537 cross_root
=`dirname $cross_root`
26538 cross_root
=`dirname $cross_root`
26540 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26541 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26542 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26544 if test -z "$PKG_CONFIG_PATH"; then
26545 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26546 export PKG_CONFIG_PATH
26549 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26552 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26554 if test -f "$ac_dir/X11/Intrinsic.h"; then
26555 ac_find_includes
=$ac_dir
26560 x_includes
=$ac_find_includes
26562 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26565 for ac_dir
in $SEARCH_LIB;
26567 for ac_extension
in a so sl dylib dll.a
; do
26568 if test -f "$ac_dir/libXt.$ac_extension"; then
26569 ac_find_libraries
=$ac_dir
26575 x_libraries
=$ac_find_libraries
26581 cat >confcache
<<\_ACEOF
26582 # This file is a shell script that caches the results of configure
26583 # tests run on this system so they can be shared between configure
26584 # scripts and configure runs, see configure's option --config-cache.
26585 # It is not useful on other systems. If it contains results you don't
26586 # want to keep, you may remove or edit it.
26588 # config.status only pays attention to the cache file if you give it
26589 # the --recheck option to rerun configure.
26591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26593 # following values.
26597 # The following way of writing the cache mishandles newlines in values,
26598 # but we know of no workaround that is simple, portable, and efficient.
26599 # So, we kill variables containing newlines.
26600 # Ultrix sh set writes to stderr and can't be redirected directly,
26601 # and sets the high bit in the cache file unless we assign to the vars.
26603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26604 eval ac_val
=\$
$ac_var
26608 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26609 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26612 _
| IFS
| as_nl
) ;; #(
26613 *) $as_unset $ac_var ;;
26619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26620 *${as_nl}ac_space
=\
*)
26621 # `set' does not quote correctly, so add quotes (double-quote
26622 # substitution turns \\\\ into \\, and sed turns \\ into \).
26625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26628 # `set' quotes correctly as required by POSIX, so do not add quotes.
26629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26642 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26643 if test -w "$cache_file"; then
26644 test "x$cache_file" != "x/dev/null" &&
26645 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26646 echo "$as_me: updating cache $cache_file" >&6;}
26647 cat confcache
>$cache_file
26649 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26650 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26655 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26656 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26657 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26658 if test "${wx_cv_lib_glibc21+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 cat >conftest.
$ac_ext <<_ACEOF
26665 cat confdefs.h
>>conftest.
$ac_ext
26666 cat >>conftest.
$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668 #include <features.h>
26673 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26681 rm -f conftest.
$ac_objext
26682 if { (ac_try
="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26690 grep -v '^ *+' conftest.er1 >conftest.err
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_c_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26699 wx_cv_lib_glibc21=yes
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26706 wx_cv_lib_glibc21=no
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26714 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26715 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26716 if test "$wx_cv_lib_glibc21" = "yes"; then
26717 cat >>confdefs.h <<\_ACEOF
26718 #define wxHAVE_GLIBC2 1
26724 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26725 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26726 cat >>confdefs.h <<\_ACEOF
26727 #define _GNU_SOURCE 1
26738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26744 cat >conftest.$ac_ext <<_ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define $ac_func innocuous_$ac_func
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char $ac_func (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26760 # include <limits.h>
26762 # include <assert.h>
26767 /* Override any GCC internal prototype to avoid an error.
26768 Use char because int might match the return type of a GCC
26769 builtin and then its argument prototype would still apply. */
26774 /* The GNU C library defines this for functions which it implements
26775 to always fail with ENOSYS. Some functions are actually named
26776 something starting with __ and the normal name is an alias. */
26777 #if defined __stub_$ac_func || defined __stub___$ac_func
26784 return $ac_func ();
26789 rm -f conftest.$ac_objext conftest$ac_exeext
26790 if { (ac_try="$ac_link"
26791 case "(($ac_try" in
26792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26793 *) ac_try_echo
=$ac_try;;
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_link") 2>conftest.er1
26798 grep -v '^ *+' conftest.er1
>conftest.err
26800 cat conftest.err
>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_c_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest
$ac_exeext &&
26806 $as_test_x conftest
$ac_exeext; then
26807 eval "$as_ac_var=yes"
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.
$ac_ext >&5
26812 eval "$as_ac_var=no"
26815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26816 conftest
$ac_exeext conftest.
$ac_ext
26818 ac_res
=`eval echo '${'$as_ac_var'}'`
26819 { echo "$as_me:$LINENO: result: $ac_res" >&5
26820 echo "${ECHO_T}$ac_res" >&6; }
26821 if test `eval echo '${'$as_ac_var'}'` = yes; then
26822 cat >>confdefs.h
<<_ACEOF
26823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26830 for ac_func
in floor
26832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26835 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 cat >conftest.
$ac_ext <<_ACEOF
26841 cat confdefs.h
>>conftest.
$ac_ext
26842 cat >>conftest.
$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26846 #define $ac_func innocuous_$ac_func
26848 /* System header to define __stub macros and hopefully few prototypes,
26849 which can conflict with char $ac_func (); below.
26850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26851 <limits.h> exists even on freestanding compilers. */
26854 # include <limits.h>
26856 # include <assert.h>
26861 /* Override any GCC internal prototype to avoid an error.
26862 Use char because int might match the return type of a GCC
26863 builtin and then its argument prototype would still apply. */
26868 /* The GNU C library defines this for functions which it implements
26869 to always fail with ENOSYS. Some functions are actually named
26870 something starting with __ and the normal name is an alias. */
26871 #if defined __stub_$ac_func || defined __stub___$ac_func
26878 return $ac_func ();
26883 rm -f conftest.
$ac_objext conftest
$ac_exeext
26884 if { (ac_try
="$ac_link"
26885 case "(($ac_try" in
26886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_link") 2>conftest.er1
26892 grep -v '^ *+' conftest.er1 >conftest.err
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest$ac_exeext &&
26900 $as_test_x conftest$ac_exeext; then
26901 eval "$as_ac_var=yes"
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26906 eval "$as_ac_var=no"
26909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26910 conftest$ac_exeext conftest.$ac_ext
26912 ac_res=`eval echo '${'$as_ac_var'}'`
26913 { echo "$as_me:$LINENO: result: $ac_res" >&5
26914 echo "${ECHO_T}$ac_res" >&6; }
26915 if test `eval echo '${'$as_ac_var'}'` = yes; then
26916 cat >>confdefs.h <<_ACEOF
26917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26923 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26924 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26925 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26926 { echo "$as_me:$LINENO: result: yes" >&5
26927 echo "${ECHO_T}yes" >&6; }
26929 { echo "$as_me:$LINENO: result: no" >&5
26930 echo "${ECHO_T}no" >&6; }
26932 # use different functions to avoid configure caching
26938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 cat >conftest.$ac_ext <<_ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26952 #define $ac_func innocuous_$ac_func
26954 /* System header to define __stub macros and hopefully few prototypes,
26955 which can conflict with char $ac_func (); below.
26956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26957 <limits.h> exists even on freestanding compilers. */
26960 # include <limits.h>
26962 # include <assert.h>
26967 /* Override any GCC internal prototype to avoid an error.
26968 Use char because int might match the return type of a GCC
26969 builtin and then its argument prototype would still apply. */
26974 /* The GNU C library defines this for functions which it implements
26975 to always fail with ENOSYS. Some functions are actually named
26976 something starting with __ and the normal name is an alias. */
26977 #if defined __stub_$ac_func || defined __stub___$ac_func
26984 return $ac_func ();
26989 rm -f conftest.$ac_objext conftest$ac_exeext
26990 if { (ac_try="$ac_link"
26991 case "(($ac_try" in
26992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26993 *) ac_try_echo
=$ac_try;;
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_link") 2>conftest.er1
26998 grep -v '^ *+' conftest.er1
>conftest.err
27000 cat conftest.err
>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_c_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest
$ac_exeext &&
27006 $as_test_x conftest
$ac_exeext; then
27007 eval "$as_ac_var=yes"
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.
$ac_ext >&5
27012 eval "$as_ac_var=no"
27015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27016 conftest
$ac_exeext conftest.
$ac_ext
27018 ac_res
=`eval echo '${'$as_ac_var'}'`
27019 { echo "$as_me:$LINENO: result: $ac_res" >&5
27020 echo "${ECHO_T}$ac_res" >&6; }
27021 if test `eval echo '${'$as_ac_var'}'` = yes; then
27022 cat >>confdefs.h
<<_ACEOF
27023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27030 for ac_func
in ceil
27032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27035 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27036 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 cat >conftest.
$ac_ext <<_ACEOF
27041 cat confdefs.h
>>conftest.
$ac_ext
27042 cat >>conftest.
$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27046 #define $ac_func innocuous_$ac_func
27048 /* System header to define __stub macros and hopefully few prototypes,
27049 which can conflict with char $ac_func (); below.
27050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27051 <limits.h> exists even on freestanding compilers. */
27054 # include <limits.h>
27056 # include <assert.h>
27061 /* Override any GCC internal prototype to avoid an error.
27062 Use char because int might match the return type of a GCC
27063 builtin and then its argument prototype would still apply. */
27068 /* The GNU C library defines this for functions which it implements
27069 to always fail with ENOSYS. Some functions are actually named
27070 something starting with __ and the normal name is an alias. */
27071 #if defined __stub_$ac_func || defined __stub___$ac_func
27078 return $ac_func ();
27083 rm -f conftest.
$ac_objext conftest
$ac_exeext
27084 if { (ac_try
="$ac_link"
27085 case "(($ac_try" in
27086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27087 *) ac_try_echo=$ac_try;;
27089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27090 (eval "$ac_link") 2>conftest.er1
27092 grep -v '^ *+' conftest.er1 >conftest.err
27094 cat conftest.err >&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); } && {
27097 test -z "$ac_c_werror_flag" ||
27098 test ! -s conftest.err
27099 } && test -s conftest$ac_exeext &&
27100 $as_test_x conftest$ac_exeext; then
27101 eval "$as_ac_var=yes"
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27106 eval "$as_ac_var=no"
27109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27110 conftest$ac_exeext conftest.$ac_ext
27112 ac_res=`eval echo '${'$as_ac_var'}'`
27113 { echo "$as_me:$LINENO: result: $ac_res" >&5
27114 echo "${ECHO_T}$ac_res" >&6; }
27115 if test `eval echo '${'$as_ac_var'}'` = yes; then
27116 cat >>confdefs.h <<_ACEOF
27117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27123 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27124 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27125 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27126 { echo "$as_me:$LINENO: result: yes" >&5
27127 echo "${ECHO_T}yes" >&6; }
27129 { echo "$as_me:$LINENO: result: no" >&5
27130 echo "${ECHO_T}no" >&6; }
27131 # not sure we should warn the user, crash, etc.
27136 ac_cpp='$CXXCPP $CPPFLAGS'
27137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27141 if test "wxUSE_UNICODE" = "yes"; then
27143 for wx_func in wcstoull
27145 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27146 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27147 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 cat >conftest.$ac_ext <<_ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27160 $ac_includes_default
27176 rm -f conftest.$ac_objext conftest$ac_exeext
27177 if { (ac_try="$ac_link"
27178 case "(($ac_try" in
27179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27180 *) ac_try_echo
=$ac_try;;
27182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27183 (eval "$ac_link") 2>conftest.er1
27185 grep -v '^ *+' conftest.er1
>conftest.err
27187 cat conftest.err
>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } && {
27190 test -z "$ac_cxx_werror_flag" ||
27191 test ! -s conftest.err
27192 } && test -s conftest
$ac_exeext &&
27193 $as_test_x conftest
$ac_exeext; then
27194 eval wx_cv_func_
$wx_func=yes
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.
$ac_ext >&5
27199 eval wx_cv_func_
$wx_func=no
27202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27203 conftest
$ac_exeext conftest.
$ac_ext
27206 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27207 { echo "$as_me:$LINENO: result: $ac_res" >&5
27208 echo "${ECHO_T}$ac_res" >&6; }
27210 if eval test \
$wx_cv_func_$wx_func = yes
27212 cat >>confdefs.h
<<_ACEOF
27213 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27225 for wx_func
in strtoull
27227 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27228 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27229 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 cat >conftest.
$ac_ext <<_ACEOF
27237 cat confdefs.h
>>conftest.
$ac_ext
27238 cat >>conftest.
$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27242 $ac_includes_default
27258 rm -f conftest.
$ac_objext conftest
$ac_exeext
27259 if { (ac_try
="$ac_link"
27260 case "(($ac_try" in
27261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27262 *) ac_try_echo=$ac_try;;
27264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27265 (eval "$ac_link") 2>conftest.er1
27267 grep -v '^ *+' conftest.er1 >conftest.err
27269 cat conftest.err >&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } && {
27272 test -z "$ac_cxx_werror_flag" ||
27273 test ! -s conftest.err
27274 } && test -s conftest$ac_exeext &&
27275 $as_test_x conftest$ac_exeext; then
27276 eval wx_cv_func_$wx_func=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27281 eval wx_cv_func_$wx_func=no
27284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27285 conftest$ac_exeext conftest.$ac_ext
27288 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27289 { echo "$as_me:$LINENO: result: $ac_res" >&5
27290 echo "${ECHO_T}$ac_res" >&6; }
27292 if eval test \$wx_cv_func_$wx_func = yes
27294 cat >>confdefs.h <<_ACEOF
27295 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27307 ac_cpp='$CPP $CPPFLAGS'
27308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27315 if test "$wxUSE_REGEX" != "no"; then
27316 cat >>confdefs.h <<\_ACEOF
27317 #define wxUSE_REGEX 1
27321 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27322 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27323 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27324 wxUSE_REGEX=builtin
27327 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27328 { echo "$as_me:$LINENO: checking for regex.h" >&5
27329 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27330 if test "${ac_cv_header_regex_h+set}" = set; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 cat >conftest.$ac_ext <<_ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27343 rm -f conftest.$ac_objext
27344 if { (ac_try="$ac_compile"
27345 case "(($ac_try" in
27346 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27347 *) ac_try_echo
=$ac_try;;
27349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27350 (eval "$ac_compile") 2>conftest.er1
27352 grep -v '^ *+' conftest.er1
>conftest.err
27354 cat conftest.err
>&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } && {
27357 test -z "$ac_c_werror_flag" ||
27358 test ! -s conftest.err
27359 } && test -s conftest.
$ac_objext; then
27360 ac_cv_header_regex_h
=yes
27362 echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.
$ac_ext >&5
27365 ac_cv_header_regex_h
=no
27368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27370 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27371 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27372 if test $ac_cv_header_regex_h = yes; then
27375 for ac_func
in regcomp re_search
27377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27380 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27381 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 cat >conftest.
$ac_ext <<_ACEOF
27386 cat confdefs.h
>>conftest.
$ac_ext
27387 cat >>conftest.
$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27391 #define $ac_func innocuous_$ac_func
27393 /* System header to define __stub macros and hopefully few prototypes,
27394 which can conflict with char $ac_func (); below.
27395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27396 <limits.h> exists even on freestanding compilers. */
27399 # include <limits.h>
27401 # include <assert.h>
27406 /* Override any GCC internal prototype to avoid an error.
27407 Use char because int might match the return type of a GCC
27408 builtin and then its argument prototype would still apply. */
27413 /* The GNU C library defines this for functions which it implements
27414 to always fail with ENOSYS. Some functions are actually named
27415 something starting with __ and the normal name is an alias. */
27416 #if defined __stub_$ac_func || defined __stub___$ac_func
27423 return $ac_func ();
27428 rm -f conftest.
$ac_objext conftest
$ac_exeext
27429 if { (ac_try
="$ac_link"
27430 case "(($ac_try" in
27431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_link") 2>conftest.er1
27437 grep -v '^ *+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_c_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest$ac_exeext &&
27445 $as_test_x conftest$ac_exeext; then
27446 eval "$as_ac_var=yes"
27448 echo "$as_me: failed program was:" >&5
27449 sed 's/^/| /' conftest.$ac_ext >&5
27451 eval "$as_ac_var=no"
27454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27455 conftest$ac_exeext conftest.$ac_ext
27457 ac_res=`eval echo '${'$as_ac_var'}'`
27458 { echo "$as_me:$LINENO: result: $ac_res" >&5
27459 echo "${ECHO_T}$ac_res" >&6; }
27460 if test `eval echo '${'$as_ac_var'}'` = yes; then
27461 cat >>confdefs.h <<_ACEOF
27462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27472 if test "x$ac_cv_func_regcomp" != "xyes"; then
27473 if test "$wxUSE_REGEX" = "sys" ; then
27474 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27475 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27476 { (exit 1); exit 1; }; }
27478 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27479 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27480 wxUSE_REGEX=builtin
27484 cat >>confdefs.h <<\_ACEOF
27485 #define WX_NO_REGEX_ADVANCED 1
27494 if test "$wxUSE_ZLIB" != "no" ; then
27495 cat >>confdefs.h <<\_ACEOF
27496 #define wxUSE_ZLIB 1
27500 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27501 if test "$USE_DARWIN" = 1; then
27502 system_zlib_h_ok="yes"
27504 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27505 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27506 if test "${ac_cv_header_zlib_h+set}" = set; then
27507 echo $ECHO_N "(cached) $ECHO_C" >&6
27509 if test "$cross_compiling" = yes; then
27510 unset ac_cv_header_zlib_h
27513 cat >conftest.$ac_ext <<_ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27525 FILE *f=fopen("conftestval", "w");
27528 ZLIB_VERSION[0] == '1' &&
27529 (ZLIB_VERSION[2] > '1' ||
27530 (ZLIB_VERSION[2] == '1' &&
27531 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27536 rm -f conftest$ac_exeext
27537 if { (ac_try="$ac_link"
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_link") 2>&5
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27547 { (case "(($ac_try" in
27548 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27549 *) ac_try_echo=$ac_try;;
27551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552 (eval "$ac_try") 2>&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 ac_cv_header_zlib_h=`cat conftestval
`
27558 echo "$as_me: program exited with status $ac_status" >&5
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27562 ( exit $ac_status )
27563 ac_cv_header_zlib_h=no
27565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27571 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27573 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27574 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27575 if test "${ac_cv_header_zlib_h+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 cat >conftest.$ac_ext <<_ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27592 *) ac_try_echo
=$ac_try;;
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27597 grep -v '^ *+' conftest.er1
>conftest.err
27599 cat conftest.err
>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.
$ac_objext; then
27605 ac_cv_header_zlib_h
=yes
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.
$ac_ext >&5
27610 ac_cv_header_zlib_h
=no
27613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27615 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27616 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27620 system_zlib_h_ok
=$ac_cv_header_zlib_h
27623 if test "$system_zlib_h_ok" = "yes"; then
27624 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27625 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27626 if test "${ac_cv_lib_z_deflate+set}" = set; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 ac_check_lib_save_LIBS
=$LIBS
27631 cat >conftest.
$ac_ext <<_ACEOF
27634 cat confdefs.h
>>conftest.
$ac_ext
27635 cat >>conftest.
$ac_ext <<_ACEOF
27636 /* end confdefs.h. */
27638 /* Override any GCC internal prototype to avoid an error.
27639 Use char because int might match the return type of a GCC
27640 builtin and then its argument prototype would still apply. */
27653 rm -f conftest.
$ac_objext conftest
$ac_exeext
27654 if { (ac_try
="$ac_link"
27655 case "(($ac_try" in
27656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27657 *) ac_try_echo=$ac_try;;
27659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27660 (eval "$ac_link") 2>conftest.er1
27662 grep -v '^ *+' conftest.er1 >conftest.err
27664 cat conftest.err >&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } && {
27667 test -z "$ac_c_werror_flag" ||
27668 test ! -s conftest.err
27669 } && test -s conftest$ac_exeext &&
27670 $as_test_x conftest$ac_exeext; then
27671 ac_cv_lib_z_deflate=yes
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27676 ac_cv_lib_z_deflate=no
27679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27680 conftest$ac_exeext conftest.$ac_ext
27681 LIBS=$ac_check_lib_save_LIBS
27683 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27684 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27685 if test $ac_cv_lib_z_deflate = yes; then
27691 if test "x$ZLIB_LINK" = "x" ; then
27692 if test "$wxUSE_ZLIB" = "sys" ; then
27693 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27694 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27695 { (exit 1); exit 1; }; }
27697 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27698 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27709 if test "$wxUSE_LIBPNG" != "no" ; then
27710 cat >>confdefs.h <<\_ACEOF
27711 #define wxUSE_LIBPNG 1
27715 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27716 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27717 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27721 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27722 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27723 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27724 wxUSE_LIBPNG=builtin
27727 if test "$wxUSE_MGL" != 1 ; then
27728 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27729 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27730 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27731 if test "${ac_cv_header_png_h+set}" = set; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 if test "$cross_compiling" = yes; then
27735 unset ac_cv_header_png_h
27738 cat >conftest.$ac_ext <<_ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27750 FILE *f=fopen("conftestval", "w");
27753 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27758 rm -f conftest$ac_exeext
27759 if { (ac_try="$ac_link"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27762 *) ac_try_echo
=$ac_try;;
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_link") 2>&5
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27769 { (case "(($ac_try" in
27770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27771 *) ac_try_echo=$ac_try;;
27773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27774 (eval "$ac_try") 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 ac_cv_header_png_h=`cat conftestval
`
27780 echo "$as_me: program exited with status $ac_status" >&5
27781 echo "$as_me: failed program was:" >&5
27782 sed 's/^/| /' conftest.$ac_ext >&5
27784 ( exit $ac_status )
27785 ac_cv_header_png_h=no
27787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27793 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27794 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27795 { echo "$as_me:$LINENO: checking for png.h" >&5
27796 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27797 if test "${ac_cv_header_png_h+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27800 cat >conftest.$ac_ext <<_ACEOF
27803 cat confdefs.h >>conftest.$ac_ext
27804 cat >>conftest.$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27810 rm -f conftest.$ac_objext
27811 if { (ac_try="$ac_compile"
27812 case "(($ac_try" in
27813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27814 *) ac_try_echo
=$ac_try;;
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_compile") 2>conftest.er1
27819 grep -v '^ *+' conftest.er1
>conftest.err
27821 cat conftest.err
>&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } && {
27824 test -z "$ac_c_werror_flag" ||
27825 test ! -s conftest.err
27826 } && test -s conftest.
$ac_objext; then
27827 ac_cv_header_png_h
=yes
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.
$ac_ext >&5
27832 ac_cv_header_png_h
=no
27835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27837 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27838 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27842 if test "$ac_cv_header_png_h" = "yes"; then
27843 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27844 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27845 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 ac_check_lib_save_LIBS
=$LIBS
27849 LIBS
="-lpng -lz -lm $LIBS"
27850 cat >conftest.
$ac_ext <<_ACEOF
27853 cat confdefs.h
>>conftest.
$ac_ext
27854 cat >>conftest.
$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27857 /* Override any GCC internal prototype to avoid an error.
27858 Use char because int might match the return type of a GCC
27859 builtin and then its argument prototype would still apply. */
27863 char png_sig_cmp ();
27867 return png_sig_cmp ();
27872 rm -f conftest.
$ac_objext conftest
$ac_exeext
27873 if { (ac_try
="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27881 grep -v '^ *+' conftest.er1 >conftest.err
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_c_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 ac_cv_lib_png_png_sig_cmp=yes
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 ac_cv_lib_png_png_sig_cmp=no
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27900 LIBS=$ac_check_lib_save_LIBS
27902 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27903 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27904 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27905 PNG_LINK=" -lpng -lz"
27910 if test "x$PNG_LINK" = "x" ; then
27911 if test "$wxUSE_LIBPNG" = "sys" ; then
27912 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27913 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27914 { (exit 1); exit 1; }; }
27916 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27917 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27918 wxUSE_LIBPNG=builtin
27929 if test "$wxUSE_LIBJPEG" != "no" ; then
27930 cat >>confdefs.h <<\_ACEOF
27931 #define wxUSE_LIBJPEG 1
27935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27936 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27937 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27941 if test "$wxUSE_MGL" != 1 ; then
27942 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27943 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27944 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 cat >conftest.$ac_ext <<_ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27955 #undef HAVE_STDLIB_H
27957 #include <jpeglib.h>
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27972 *) ac_try_echo
=$ac_try;;
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_compile") 2>conftest.er1
27977 grep -v '^ *+' conftest.er1
>conftest.err
27979 cat conftest.err
>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest.
$ac_objext; then
27985 ac_cv_header_jpeglib_h
=yes
27987 echo "$as_me: failed program was:" >&5
27988 sed 's/^/| /' conftest.
$ac_ext >&5
27990 ac_cv_header_jpeglib_h
=no
27994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27998 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27999 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28001 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28002 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28003 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28004 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28007 ac_check_lib_save_LIBS
=$LIBS
28008 LIBS
="-ljpeg $LIBS"
28009 cat >conftest.
$ac_ext <<_ACEOF
28012 cat confdefs.h
>>conftest.
$ac_ext
28013 cat >>conftest.
$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28016 /* Override any GCC internal prototype to avoid an error.
28017 Use char because int might match the return type of a GCC
28018 builtin and then its argument prototype would still apply. */
28022 char jpeg_read_header ();
28026 return jpeg_read_header ();
28031 rm -f conftest.
$ac_objext conftest
$ac_exeext
28032 if { (ac_try
="$ac_link"
28033 case "(($ac_try" in
28034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_link") 2>conftest.er1
28040 grep -v '^ *+' conftest.er1 >conftest.err
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_c_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest$ac_exeext &&
28048 $as_test_x conftest$ac_exeext; then
28049 ac_cv_lib_jpeg_jpeg_read_header=yes
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28054 ac_cv_lib_jpeg_jpeg_read_header=no
28057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28058 conftest$ac_exeext conftest.$ac_ext
28059 LIBS=$ac_check_lib_save_LIBS
28061 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28062 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28063 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28064 JPEG_LINK=" -ljpeg"
28069 if test "x$JPEG_LINK" = "x" ; then
28070 if test "$wxUSE_LIBJPEG" = "sys" ; then
28071 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28072 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28073 { (exit 1); exit 1; }; }
28075 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28076 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28077 wxUSE_LIBJPEG=builtin
28082 if test "$wxUSE_MSW" = 1; then
28083 { echo "$as_me:$LINENO: checking for boolean" >&5
28084 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28085 if test "${ac_cv_type_boolean+set}" = set; then
28086 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 cat >conftest.$ac_ext <<_ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094 #include <windows.h>
28096 typedef boolean ac__type_new_;
28100 if ((ac__type_new_ *) 0)
28102 if (sizeof (ac__type_new_))
28108 rm -f conftest.$ac_objext
28109 if { (ac_try="$ac_compile"
28110 case "(($ac_try" in
28111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28112 *) ac_try_echo
=$ac_try;;
28114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28115 (eval "$ac_compile") 2>conftest.er1
28117 grep -v '^ *+' conftest.er1
>conftest.err
28119 cat conftest.err
>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } && {
28122 test -z "$ac_c_werror_flag" ||
28123 test ! -s conftest.err
28124 } && test -s conftest.
$ac_objext; then
28125 ac_cv_type_boolean
=yes
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28130 ac_cv_type_boolean
=no
28133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28135 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28136 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28137 if test $ac_cv_type_boolean = yes; then
28139 cat >>confdefs.h
<<_ACEOF
28140 #define HAVE_BOOLEAN 1
28144 { echo "$as_me:$LINENO: checking for boolean" >&5
28145 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28146 if test "${ac_cv_type_boolean+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28149 cat >conftest.
$ac_ext <<_ACEOF
28152 cat confdefs.h
>>conftest.
$ac_ext
28153 cat >>conftest.
$ac_ext <<_ACEOF
28154 /* end confdefs.h. */
28156 #undef HAVE_BOOLEAN
28158 #include <jpeglib.h>
28161 typedef boolean ac__type_new_;
28165 if ((ac__type_new_ *) 0)
28167 if (sizeof (ac__type_new_))
28173 rm -f conftest.
$ac_objext
28174 if { (ac_try
="$ac_compile"
28175 case "(($ac_try" in
28176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28177 *) ac_try_echo=$ac_try;;
28179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28180 (eval "$ac_compile") 2>conftest.er1
28182 grep -v '^ *+' conftest.er1 >conftest.err
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } && {
28187 test -z "$ac_c_werror_flag" ||
28188 test ! -s conftest.err
28189 } && test -s conftest.$ac_objext; then
28190 ac_cv_type_boolean=yes
28192 echo "$as_me: failed program was:" >&5
28193 sed 's/^/| /' conftest.$ac_ext >&5
28195 ac_cv_type_boolean=no
28198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28201 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28203 # The cast to long int works around a bug in the HP C Compiler
28204 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28205 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28206 # This bug is HP SR number 8606223364.
28207 { echo "$as_me:$LINENO: checking size of boolean" >&5
28208 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28209 if test "${ac_cv_sizeof_boolean+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28212 if test "$cross_compiling" = yes; then
28213 # Depending upon the size, compute the lo and hi bounds.
28214 cat >conftest.$ac_ext <<_ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28221 #undef HAVE_BOOLEAN
28223 #include <jpeglib.h>
28226 typedef boolean ac__type_sizeof_;
28230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28237 rm -f conftest.$ac_objext
28238 if { (ac_try="$ac_compile"
28239 case "(($ac_try" in
28240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28241 *) ac_try_echo=$ac_try;;
28243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28244 (eval "$ac_compile") 2>conftest.er1
28246 grep -v '^
*+' conftest.er1 >conftest.err
28248 cat conftest.err >&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); } && {
28251 test -z "$ac_c_werror_flag" ||
28252 test ! -s conftest.err
28253 } && test -s conftest.$ac_objext; then
28256 cat >conftest.$ac_ext <<_ACEOF
28259 cat confdefs.h >>conftest.$ac_ext
28260 cat >>conftest.$ac_ext <<_ACEOF
28261 /* end confdefs.h. */
28263 #undef HAVE_BOOLEAN
28265 #include <jpeglib.h>
28268 typedef boolean ac__type_sizeof_;
28272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28279 rm -f conftest.$ac_objext
28280 if { (ac_try="$ac_compile"
28281 case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28283 *) ac_try_echo=$ac_try;;
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_compile") 2>conftest.er1
28288 grep -v '^
*+' conftest.er1 >conftest.err
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } && {
28293 test -z "$ac_c_werror_flag" ||
28294 test ! -s conftest.err
28295 } && test -s conftest.$ac_objext; then
28296 ac_hi=$ac_mid; break
28298 echo "$as_me: failed program was:" >&5
28299 sed 's
/^
/| /' conftest.$ac_ext >&5
28301 ac_lo=`expr $ac_mid + 1`
28302 if test $ac_lo -le $ac_mid; then
28306 ac_mid=`expr 2 '*' $ac_mid + 1`
28309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28312 echo "$as_me: failed program was:" >&5
28313 sed 's
/^
/| /' conftest.$ac_ext >&5
28315 cat >conftest.$ac_ext <<_ACEOF
28318 cat confdefs.h >>conftest.$ac_ext
28319 cat >>conftest.$ac_ext <<_ACEOF
28320 /* end confdefs.h. */
28322 #undef HAVE_BOOLEAN
28324 #include <jpeglib.h>
28327 typedef boolean ac__type_sizeof_;
28331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 *) ac_try_echo=$ac_try;;
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28347 grep -v '^
*+' conftest.er1 >conftest.err
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.$ac_objext; then
28357 cat >conftest.$ac_ext <<_ACEOF
28360 cat confdefs.h >>conftest.$ac_ext
28361 cat >>conftest.$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28364 #undef HAVE_BOOLEAN
28366 #include <jpeglib.h>
28369 typedef boolean ac__type_sizeof_;
28373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28380 rm -f conftest.$ac_objext
28381 if { (ac_try="$ac_compile"
28382 case "(($ac_try" in
28383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384 *) ac_try_echo=$ac_try;;
28386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387 (eval "$ac_compile") 2>conftest.er1
28389 grep -v '^
*+' conftest.er1 >conftest.err
28391 cat conftest.err >&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } && {
28394 test -z "$ac_c_werror_flag" ||
28395 test ! -s conftest.err
28396 } && test -s conftest.$ac_objext; then
28397 ac_lo=$ac_mid; break
28399 echo "$as_me: failed program was:" >&5
28400 sed 's
/^
/| /' conftest.$ac_ext >&5
28402 ac_hi=`expr '(' $ac_mid ')' - 1`
28403 if test $ac_mid -le $ac_hi; then
28407 ac_mid=`expr 2 '*' $ac_mid`
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28413 echo "$as_me: failed program was:" >&5
28414 sed 's
/^
/| /' conftest.$ac_ext >&5
28419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 # Binary search between lo and hi bounds.
28424 while test "x$ac_lo" != "x$ac_hi"; do
28425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28426 cat >conftest.$ac_ext <<_ACEOF
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28433 #undef HAVE_BOOLEAN
28435 #include <jpeglib.h>
28438 typedef boolean ac__type_sizeof_;
28442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28449 rm -f conftest.$ac_objext
28450 if { (ac_try="$ac_compile"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_compile") 2>conftest.er1
28458 grep -v '^
*+' conftest.er1 >conftest.err
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest.$ac_objext; then
28468 echo "$as_me: failed program was:" >&5
28469 sed 's
/^
/| /' conftest.$ac_ext >&5
28471 ac_lo=`expr '(' $ac_mid ')' + 1`
28474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28477 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28478 '') if test "$ac_cv_type_boolean" = yes; then
28479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28480 See \`config.log' for more details.
" >&5
28481 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28482 See \
`config.log' for more details." >&2;}
28483 { (exit 77); exit 77; }; }
28485 ac_cv_sizeof_boolean=0
28489 cat >conftest.$ac_ext <<_ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28496 #undef HAVE_BOOLEAN
28498 #include <jpeglib.h>
28501 typedef boolean ac__type_sizeof_;
28502 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28503 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28505 #include <stdlib.h>
28510 FILE *f = fopen ("conftest.val", "w");
28513 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28515 long int i = longval ();
28516 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28518 fprintf (f, "%ld\n", i);
28522 unsigned long int i = ulongval ();
28523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28525 fprintf (f, "%lu\n", i);
28527 return ferror (f) || fclose (f) != 0;
28533 rm -f conftest$ac_exeext
28534 if { (ac_try="$ac_link"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28537 *) ac_try_echo
=$ac_try;;
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_link") 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28544 { (case "(($ac_try" in
28545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28546 *) ac_try_echo=$ac_try;;
28548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28549 (eval "$ac_try") 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28553 ac_cv_sizeof_boolean=`cat conftest.val
`
28555 echo "$as_me: program exited with status $ac_status" >&5
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28559 ( exit $ac_status )
28560 if test "$ac_cv_type_boolean" = yes; then
28561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28562 See \`config.log
' for more details." >&5
28563 echo "$as_me: error: cannot compute sizeof (boolean)
28564 See \`config.log' for more details.
" >&2;}
28565 { (exit 77); exit 77; }; }
28567 ac_cv_sizeof_boolean=0
28570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28574 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28575 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28579 cat >>confdefs.h <<_ACEOF
28580 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28584 cat >>confdefs.h <<_ACEOF
28585 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28599 TIFF_PREREQ_LINKS=-lm
28600 if test "$wxUSE_LIBTIFF" != "no
" ; then
28601 cat >>confdefs.h <<\_ACEOF
28602 #define wxUSE_LIBTIFF 1
28606 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28607 if test "$wxUSE_LIBJPEG" = "sys
"; then
28608 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28610 if test "$wxUSE_ZLIB" = "sys
"; then
28611 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28613 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28614 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28615 if test "${ac_cv_header_tiffio_h+set}" = set; then
28616 echo $ECHO_N "(cached
) $ECHO_C" >&6
28618 cat >conftest.$ac_ext <<_ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28627 #include <tiffio.h>
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28638 grep -v '^ *+' conftest.er1 >conftest.err
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28646 ac_cv_header_tiffio_h=yes
28648 echo "$as_me: failed program was
:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28651 ac_cv_header_tiffio_h=no
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28656 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28657 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28658 if test $ac_cv_header_tiffio_h = yes; then
28660 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28661 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28662 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28663 echo $ECHO_N "(cached
) $ECHO_C" >&6
28665 ac_check_lib_save_LIBS=$LIBS
28666 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28667 cat >conftest.$ac_ext <<_ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28674 /* Override any GCC internal prototype to avoid an error.
28675 Use char because int might match the return type of a GCC
28676 builtin and then its argument prototype would still apply. */
28684 return TIFFError ();
28689 rm -f conftest.$ac_objext conftest$ac_exeext
28690 if { (ac_try="$ac_link"
28691 case "(($ac_try" in
28692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28693 *) ac_try_echo=$ac_try;;
28695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28696 (eval "$ac_link") 2>conftest.er1
28698 grep -v '^ *+' conftest.er1 >conftest.err
28700 cat conftest.err >&5
28701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28702 (exit $ac_status); } && {
28703 test -z "$ac_c_werror_flag" ||
28704 test ! -s conftest.err
28705 } && test -s conftest$ac_exeext &&
28706 $as_test_x conftest$ac_exeext; then
28707 ac_cv_lib_tiff_TIFFError=yes
28709 echo "$as_me: failed program was
:" >&5
28710 sed 's/^/| /' conftest.$ac_ext >&5
28712 ac_cv_lib_tiff_TIFFError=no
28715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28716 conftest$ac_exeext conftest.$ac_ext
28717 LIBS=$ac_check_lib_save_LIBS
28719 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28720 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28721 if test $ac_cv_lib_tiff_TIFFError = yes; then
28722 TIFF_LINK=" -ltiff"
28730 if test "x
$TIFF_LINK" = "x
" ; then
28731 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28732 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28733 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28734 { (exit 1); exit 1; }; }
28736 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28737 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28738 wxUSE_LIBTIFF=builtin
28744 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28745 if test "$wxUSE_LIBJPEG" = "no
"; then
28746 ac_configure_args="$ac_configure_args --disable-jpeg"
28748 subdirs="$subdirs src
/tiff
"
28754 if test "$wxUSE_WCHAR_T" != "yes"; then
28755 if test "$wxUSE_EXPAT" != "no
"; then
28756 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28757 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28760 if test "$wxUSE_XML" != "no
"; then
28761 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28762 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28767 if test "$wxUSE_EXPAT" != "no
"; then
28769 cat >>confdefs.h <<\_ACEOF
28770 #define wxUSE_EXPAT 1
28773 cat >>confdefs.h <<\_ACEOF
28774 #define wxUSE_XML 1
28778 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28779 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28780 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28781 if test "${ac_cv_header_expat_h+set}" = set; then
28782 echo $ECHO_N "(cached
) $ECHO_C" >&6
28784 cat >conftest.$ac_ext <<_ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28794 rm -f conftest.$ac_objext
28795 if { (ac_try="$ac_compile"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_compile") 2>conftest.er1
28803 grep -v '^ *+' conftest.er1 >conftest.err
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28807 (exit $ac_status); } && {
28808 test -z "$ac_c_werror_flag" ||
28809 test ! -s conftest.err
28810 } && test -s conftest.$ac_objext; then
28811 ac_cv_header_expat_h=yes
28813 echo "$as_me: failed program was
:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28816 ac_cv_header_expat_h=no
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28822 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28823 if test $ac_cv_header_expat_h = yes; then
28828 if test "x
$found_expat_h" = "x1
"; then
28829 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28830 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28831 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28832 echo $ECHO_N "(cached
) $ECHO_C" >&6
28836 ac_cpp='$CXXCPP $CPPFLAGS'
28837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28841 cat >conftest.$ac_ext <<_ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28856 rm -f conftest.$ac_objext
28857 if { (ac_try="$ac_compile"
28858 case "(($ac_try" in
28859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_compile") 2>conftest.er1
28865 grep -v '^ *+' conftest.er1 >conftest.err
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28869 (exit $ac_status); } && {
28870 test -z "$ac_cxx_werror_flag" ||
28871 test ! -s conftest.err
28872 } && test -s conftest.$ac_objext; then
28873 wx_cv_expat_is_not_broken=yes
28875 echo "$as_me: failed program was
:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28878 wx_cv_expat_is_not_broken=no
28882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 ac_cpp='$CPP $CPPFLAGS'
28885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28892 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28893 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28894 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28895 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28896 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28897 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28898 echo $ECHO_N "(cached
) $ECHO_C" >&6
28900 ac_check_lib_save_LIBS=$LIBS
28901 LIBS="-lexpat $LIBS"
28902 cat >conftest.$ac_ext <<_ACEOF
28905 cat confdefs.h >>conftest.$ac_ext
28906 cat >>conftest.$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28909 /* Override any GCC internal prototype to avoid an error.
28910 Use char because int might match the return type of a GCC
28911 builtin and then its argument prototype would still apply. */
28915 char XML_ParserCreate ();
28919 return XML_ParserCreate ();
28924 rm -f conftest.$ac_objext conftest$ac_exeext
28925 if { (ac_try="$ac_link"
28926 case "(($ac_try" in
28927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28928 *) ac_try_echo=$ac_try;;
28930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28931 (eval "$ac_link") 2>conftest.er1
28933 grep -v '^ *+' conftest.er1 >conftest.err
28935 cat conftest.err >&5
28936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28937 (exit $ac_status); } && {
28938 test -z "$ac_c_werror_flag" ||
28939 test ! -s conftest.err
28940 } && test -s conftest$ac_exeext &&
28941 $as_test_x conftest$ac_exeext; then
28942 ac_cv_lib_expat_XML_ParserCreate=yes
28944 echo "$as_me: failed program was
:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28947 ac_cv_lib_expat_XML_ParserCreate=no
28950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28951 conftest$ac_exeext conftest.$ac_ext
28952 LIBS=$ac_check_lib_save_LIBS
28954 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28955 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28956 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28957 EXPAT_LINK=" -lexpat"
28962 if test "x
$EXPAT_LINK" = "x
" ; then
28963 if test "$wxUSE_EXPAT" = "sys
" ; then
28964 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28965 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28966 { (exit 1); exit 1; }; }
28968 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28969 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28970 wxUSE_EXPAT=builtin
28976 if test "$wxUSE_EXPAT" = "builtin" ; then
28977 subdirs="$subdirs src
/expat
"
28984 if test "$wxUSE_LIBMSPACK" != "no
"; then
28985 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28986 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28987 if test "${ac_cv_header_mspack_h+set}" = set; then
28988 echo $ECHO_N "(cached
) $ECHO_C" >&6
28990 cat >conftest.$ac_ext <<_ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28998 #include <mspack.h>
29000 rm -f conftest.$ac_objext
29001 if { (ac_try="$ac_compile"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_compile") 2>conftest.er1
29009 grep -v '^ *+' conftest.er1 >conftest.err
29011 cat conftest.err >&5
29012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest.$ac_objext; then
29017 ac_cv_header_mspack_h=yes
29019 echo "$as_me: failed program was
:" >&5
29020 sed 's/^/| /' conftest.$ac_ext >&5
29022 ac_cv_header_mspack_h=no
29025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29028 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29029 if test $ac_cv_header_mspack_h = yes; then
29034 if test "x
$found_mspack_h" = "x1
"; then
29035 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29036 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29037 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29038 echo $ECHO_N "(cached
) $ECHO_C" >&6
29040 ac_check_lib_save_LIBS=$LIBS
29041 LIBS="-lmspack $LIBS"
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29049 /* Override any GCC internal prototype to avoid an error.
29050 Use char because int might match the return type of a GCC
29051 builtin and then its argument prototype would still apply. */
29055 char mspack_create_chm_decompressor ();
29059 return mspack_create_chm_decompressor ();
29064 rm -f conftest.$ac_objext conftest$ac_exeext
29065 if { (ac_try="$ac_link"
29066 case "(($ac_try" in
29067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_link") 2>conftest.er1
29073 grep -v '^ *+' conftest.er1 >conftest.err
29075 cat conftest.err >&5
29076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29077 (exit $ac_status); } && {
29078 test -z "$ac_c_werror_flag" ||
29079 test ! -s conftest.err
29080 } && test -s conftest$ac_exeext &&
29081 $as_test_x conftest$ac_exeext; then
29082 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29084 echo "$as_me: failed program was
:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29087 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29091 conftest$ac_exeext conftest.$ac_ext
29092 LIBS=$ac_check_lib_save_LIBS
29094 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29095 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29096 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29097 MSPACK_LINK=" -lmspack"
29101 if test "x
$MSPACK_LINK" = "x
" ; then
29106 if test "$wxUSE_LIBMSPACK" != "no
"; then
29107 cat >>confdefs.h <<\_ACEOF
29108 #define wxUSE_LIBMSPACK 1
29122 if test "$USE_WIN32" = 1 ; then
29124 for ac_header in w32api.h
29126 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29127 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29128 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29129 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29130 echo $ECHO_N "(cached
) $ECHO_C" >&6
29132 cat >conftest.$ac_ext <<_ACEOF
29135 cat confdefs.h >>conftest.$ac_ext
29136 cat >>conftest.$ac_ext <<_ACEOF
29137 /* end confdefs.h. */
29140 #include <$ac_header>
29142 rm -f conftest.$ac_objext
29143 if { (ac_try="$ac_compile"
29144 case "(($ac_try" in
29145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29146 *) ac_try_echo=$ac_try;;
29148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29149 (eval "$ac_compile") 2>conftest.er1
29151 grep -v '^ *+' conftest.er1 >conftest.err
29153 cat conftest.err >&5
29154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29155 (exit $ac_status); } && {
29156 test -z "$ac_c_werror_flag" ||
29157 test ! -s conftest.err
29158 } && test -s conftest.$ac_objext; then
29159 eval "$as_ac_Header=yes"
29161 echo "$as_me: failed program was
:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29164 eval "$as_ac_Header=no
"
29167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29169 ac_res=`eval echo '${'$as_ac_Header'}'`
29170 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29171 echo "${ECHO_T}$ac_res" >&6; }
29172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29173 cat >>confdefs.h <<_ACEOF
29174 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29181 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29182 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29183 if test "${ac_cv_header_windows_h+set}" = set; then
29184 echo $ECHO_N "(cached
) $ECHO_C" >&6
29186 cat >conftest.$ac_ext <<_ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h. */
29194 #include <windows.h>
29196 rm -f conftest.$ac_objext
29197 if { (ac_try="$ac_compile"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;;
29202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_compile") 2>conftest.er1
29205 grep -v '^ *+' conftest.er1 >conftest.err
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest.$ac_objext; then
29213 ac_cv_header_windows_h=yes
29215 echo "$as_me: failed program was
:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29218 ac_cv_header_windows_h=no
29221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29223 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29224 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29225 if test $ac_cv_header_windows_h = yes; then
29229 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29230 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29231 { (exit 1); exit 1; }; }
29238 x86_64-*-mingw32* )
29239 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29241 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29244 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29247 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29248 LIBS="$LIBS -loleacc"
29253 LIBS="$LIBS -lkernel32 -luser32"
29256 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29257 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29259 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29261 WIN32INSTALL=win32install
29263 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29264 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29265 if test "${ac_cv_header_pbt_h+set}" = set; then
29266 echo $ECHO_N "(cached
) $ECHO_C" >&6
29268 cat >conftest.$ac_ext <<_ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29278 rm -f conftest.$ac_objext
29279 if { (ac_try="$ac_compile"
29280 case "(($ac_try" in
29281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29282 *) ac_try_echo=$ac_try;;
29284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29285 (eval "$ac_compile") 2>conftest.er1
29287 grep -v '^ *+' conftest.er1 >conftest.err
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29291 (exit $ac_status); } && {
29292 test -z "$ac_c_werror_flag" ||
29293 test ! -s conftest.err
29294 } && test -s conftest.$ac_objext; then
29295 ac_cv_header_pbt_h=yes
29297 echo "$as_me: failed program was
:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29300 ac_cv_header_pbt_h=no
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29306 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29307 if test $ac_cv_header_pbt_h = yes; then
29310 cat >>confdefs.h <<\_ACEOF
29311 #define NEED_PBT_H 1
29319 if test "$wxUSE_GUI" = "yes"; then
29329 if test "$wxUSE_OLD_COCOA" = 1 ; then
29330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29331 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29332 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29333 wxUSE_PRINTING_ARCHITECTURE=no
29335 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29336 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29337 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29338 wxUSE_DRAG_AND_DROP=no
29340 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29341 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29342 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29347 if test "$wxUSE_MSW" = 1 ; then
29353 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29357 if test "$wxUSE_GTK" = 1; then
29358 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29359 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29361 gtk_version_cached=1
29362 if test "${wx_cv_lib_gtk+set}" = set; then
29363 echo $ECHO_N "(cached
) $ECHO_C" >&6
29366 gtk_version_cached=0
29367 { echo "$as_me:$LINENO: result
: " >&5
29368 echo "${ECHO_T}" >&6; }
29371 if test "$wxUSE_THREADS" = "yes"; then
29372 GTK_MODULES=gthread
29376 if test "x
$wxGTK_VERSION" != "x1
"
29380 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29385 # Check whether --enable-gtktest was given.
29386 if test "${enable_gtktest+set}" = set; then
29387 enableval=$enable_gtktest;
29393 pkg_config_args=gtk+-2.0
29394 for module in . $GTK_MODULES
29398 pkg_config_args="$pkg_config_args gthread
-2.0
"
29405 # Extract the first word of "pkg
-config", so it can be a program name with args.
29406 set dummy pkg-config; ac_word=$2
29407 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29408 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29409 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29410 echo $ECHO_N "(cached
) $ECHO_C" >&6
29412 case $PKG_CONFIG in
29414 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29418 for as_dir in $PATH
29421 test -z "$as_dir" && as_dir=.
29422 for ac_exec_ext in '' $ac_executable_extensions; do
29423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29424 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29425 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29436 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29437 if test -n "$PKG_CONFIG"; then
29438 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29439 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29441 { echo "$as_me:$LINENO: result
: no
" >&5
29442 echo "${ECHO_T}no
" >&6; }
29447 if test x$PKG_CONFIG != xno ; then
29448 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29451 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29459 min_gtk_version=2.4.0
29460 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29461 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29463 if test x$PKG_CONFIG != xno ; then
29464 ## don't try to run the test against uninstalled libtool libs
29465 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29466 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29470 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29477 if test x"$no_gtk" = x ; then
29478 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29479 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29480 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29482 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29484 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29486 if test "x
$enable_gtktest" = "xyes
" ; then
29487 ac_save_CFLAGS="$CFLAGS"
29488 ac_save_LIBS="$LIBS"
29489 CFLAGS="$CFLAGS $GTK_CFLAGS"
29490 LIBS="$GTK_LIBS $LIBS"
29492 if test "$cross_compiling" = yes; then
29493 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29495 cat >conftest.$ac_ext <<_ACEOF
29498 cat confdefs.h >>conftest.$ac_ext
29499 cat >>conftest.$ac_ext <<_ACEOF
29500 /* end confdefs.h. */
29502 #include <gtk/gtk.h>
29504 #include <stdlib.h>
29509 int major, minor, micro;
29512 system ("touch conf.gtktest
");
29514 /* HP/UX 9 (%@#!) writes to sscanf strings */
29515 tmp_version = g_strdup("$min_gtk_version");
29516 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29517 printf("%s
, bad version string
\n", "$min_gtk_version");
29521 if ((gtk_major_version != $gtk_config_major_version) ||
29522 (gtk_minor_version != $gtk_config_minor_version) ||
29523 (gtk_micro_version != $gtk_config_micro_version))
29525 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29526 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29527 gtk_major_version, gtk_minor_version, gtk_micro_version);
29528 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29529 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29530 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29531 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29532 printf("*** required on your system.
\n");
29533 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29534 printf("*** to point to the correct configuration files
\n");
29536 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29537 (gtk_minor_version != GTK_MINOR_VERSION) ||
29538 (gtk_micro_version != GTK_MICRO_VERSION))
29540 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29541 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29542 printf("*** library
(version
%d.
%d.
%d
)\n",
29543 gtk_major_version, gtk_minor_version, gtk_micro_version);
29547 if ((gtk_major_version > major) ||
29548 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29549 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29555 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29556 gtk_major_version, gtk_minor_version, gtk_micro_version);
29557 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29558 major, minor, micro);
29559 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29561 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29562 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29563 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29564 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29565 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29566 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29567 printf("*** so that the correct libraries are found
at run
-time))\n");
29574 rm -f conftest$ac_exeext
29575 if { (ac_try="$ac_link"
29576 case "(($ac_try" in
29577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29578 *) ac_try_echo=$ac_try;;
29580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29581 (eval "$ac_link") 2>&5
29583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29585 { (case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_try") 2>&5
29592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29593 (exit $ac_status); }; }; then
29596 echo "$as_me: program exited with status
$ac_status" >&5
29597 echo "$as_me: failed program was
:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29600 ( exit $ac_status )
29603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29607 CFLAGS="$ac_save_CFLAGS"
29608 LIBS="$ac_save_LIBS"
29611 if test "x
$no_gtk" = x ; then
29612 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29613 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29616 { echo "$as_me:$LINENO: result
: no
" >&5
29617 echo "${ECHO_T}no
" >&6; }
29618 if test "$PKG_CONFIG" = "no
" ; then
29619 echo "*** A new enough version of pkg
-config was not found.
"
29620 echo "*** See http
://pkgconfig.sourceforge.net
"
29622 if test -f conf.gtktest ; then
29625 echo "*** Could not run GTK
+ test program
, checking why...
"
29626 ac_save_CFLAGS="$CFLAGS"
29627 ac_save_LIBS="$LIBS"
29628 CFLAGS="$CFLAGS $GTK_CFLAGS"
29629 LIBS="$LIBS $GTK_LIBS"
29630 cat >conftest.$ac_ext <<_ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29637 #include <gtk/gtk.h>
29643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (ac_try="$ac_link"
29650 case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_link") 2>conftest.er1
29657 grep -v '^ *+' conftest.er1 >conftest.err
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29661 (exit $ac_status); } && {
29662 test -z "$ac_c_werror_flag" ||
29663 test ! -s conftest.err
29664 } && test -s conftest$ac_exeext &&
29665 $as_test_x conftest$ac_exeext; then
29666 echo "*** The
test program compiled
, but did not run. This usually means
"
29667 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29668 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29669 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29670 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29671 echo "*** is required on your system"
29673 echo "*** If you have an old version installed, it is best to remove it, although"
29674 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29676 echo "$as_me: failed program was:" >&5
29677 sed 's
/^
/| /' conftest.$ac_ext >&5
29679 echo "*** The test program failed to compile or link. See the file config.log for the"
29680 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29684 conftest$ac_exeext conftest.$ac_ext
29685 CFLAGS="$ac_save_CFLAGS"
29686 LIBS="$ac_save_LIBS"
29700 if test "$wxUSE_SHARED" != "yes"; then
29701 GTK_LIBS="$GTK_LIBS -lX11"
29706 if test -z "$wx_cv_lib_gtk"; then
29707 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29709 # Check whether --with-gtk-prefix was given.
29710 if test "${with_gtk_prefix+set}" = set; then
29711 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29713 gtk_config_prefix=""
29717 # Check whether --with-gtk-exec-prefix was given.
29718 if test "${with_gtk_exec_prefix+set}" = set; then
29719 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29721 gtk_config_exec_prefix=""
29724 # Check whether --enable-gtktest was given.
29725 if test "${enable_gtktest+set}" = set; then
29726 enableval=$enable_gtktest;
29732 for module in . $GTK_MODULES
29736 gtk_config_args="$gtk_config_args gthread"
29741 if test x$gtk_config_exec_prefix != x ; then
29742 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29743 if test x${GTK_CONFIG+set} != xset ; then
29744 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29747 if test x$gtk_config_prefix != x ; then
29748 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29749 if test x${GTK_CONFIG+set} != xset ; then
29750 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29754 # Extract the first word of "gtk-config", so it can be a program name with args.
29755 set dummy gtk-config; ac_word=$2
29756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29758 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 case $GTK_CONFIG in
29763 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29767 for as_dir in $PATH
29770 test -z "$as_dir" && as_dir=.
29771 for ac_exec_ext in '' $ac_executable_extensions; do
29772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29773 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29781 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29785 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29786 if test -n "$GTK_CONFIG"; then
29787 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29788 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29790 { echo "$as_me:$LINENO: result: no" >&5
29791 echo "${ECHO_T}no" >&6; }
29795 min_gtk_version=1.2.7
29796 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29797 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29799 if test "$GTK_CONFIG" = "no" ; then
29802 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29803 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29804 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29805 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29806 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29807 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29808 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29809 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29810 if test "x$enable_gtktest" = "xyes" ; then
29811 ac_save_CFLAGS="$CFLAGS"
29812 ac_save_LIBS="$LIBS"
29813 CFLAGS="$CFLAGS $GTK_CFLAGS"
29814 LIBS="$GTK_LIBS $LIBS"
29816 if test "$cross_compiling" = yes; then
29817 echo $ac_n "cross compiling; assumed OK... $ac_c"
29819 cat >conftest.$ac_ext <<_ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29826 #include <gtk/gtk.h>
29828 #include <stdlib.h>
29833 int major, minor, micro;
29836 system ("touch conf.gtktest");
29838 /* HP/UX 9 (%@#!) writes to sscanf strings */
29839 tmp_version = g_strdup("$min_gtk_version");
29840 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29841 printf("%s, bad version string\n", "$min_gtk_version");
29845 if ((gtk_major_version != $gtk_config_major_version) ||
29846 (gtk_minor_version != $gtk_config_minor_version) ||
29847 (gtk_micro_version != $gtk_config_micro_version))
29849 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29850 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29851 gtk_major_version, gtk_minor_version, gtk_micro_version);
29852 printf ("*** was found! If gtk-config was correct, then it is best\n");
29853 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29854 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29855 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29856 printf("*** required on your system.\n");
29857 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29858 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29859 printf("*** before re-running configure\n");
29861 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29862 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29863 (gtk_minor_version != GTK_MINOR_VERSION) ||
29864 (gtk_micro_version != GTK_MICRO_VERSION))
29866 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29867 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29868 printf("*** library (version %d.%d.%d)\n",
29869 gtk_major_version, gtk_minor_version, gtk_micro_version);
29871 #endif /* defined (GTK_MAJOR_VERSION) ... */
29874 if ((gtk_major_version > major) ||
29875 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29876 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29882 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29883 gtk_major_version, gtk_minor_version, gtk_micro_version);
29884 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29885 major, minor, micro);
29886 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29888 printf("*** If you have already installed a sufficiently new version, this error\n");
29889 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29890 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29891 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29892 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29893 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29894 printf("*** so that the correct libraries are found at run-time))\n");
29901 rm -f conftest$ac_exeext
29902 if { (ac_try="$ac_link"
29903 case "(($ac_try" in
29904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29905 *) ac_try_echo=$ac_try;;
29907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29908 (eval "$ac_link") 2>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29912 { (case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_try") 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29923 echo "$as_me: program exited with status $ac_status" >&5
29924 echo "$as_me: failed program was:" >&5
29925 sed 's
/^
/| /' conftest.$ac_ext >&5
29927 ( exit $ac_status )
29930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29934 CFLAGS="$ac_save_CFLAGS"
29935 LIBS="$ac_save_LIBS"
29938 if test "x$no_gtk" = x ; then
29939 { echo "$as_me:$LINENO: result: yes" >&5
29940 echo "${ECHO_T}yes" >&6; }
29941 wx_cv_lib_gtk=1.2.7
29943 { echo "$as_me:$LINENO: result: no" >&5
29944 echo "${ECHO_T}no" >&6; }
29945 if test "$GTK_CONFIG" = "no" ; then
29946 echo "*** The gtk-config script installed by GTK could not be found"
29947 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29948 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29949 echo "*** full path to gtk-config."
29951 if test -f conf.gtktest ; then
29954 echo "*** Could not run GTK test program, checking why..."
29955 CFLAGS="$CFLAGS $GTK_CFLAGS"
29956 LIBS="$LIBS $GTK_LIBS"
29957 cat >conftest.$ac_ext <<_ACEOF
29960 cat confdefs.h >>conftest.$ac_ext
29961 cat >>conftest.$ac_ext <<_ACEOF
29962 /* end confdefs.h. */
29964 #include <gtk/gtk.h>
29970 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29975 rm -f conftest.$ac_objext conftest$ac_exeext
29976 if { (ac_try="$ac_link"
29977 case "(($ac_try" in
29978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29979 *) ac_try_echo=$ac_try;;
29981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29982 (eval "$ac_link") 2>conftest.er1
29984 grep -v '^
*+' conftest.er1 >conftest.err
29986 cat conftest.err >&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } && {
29989 test -z "$ac_c_werror_flag" ||
29990 test ! -s conftest.err
29991 } && test -s conftest$ac_exeext &&
29992 $as_test_x conftest$ac_exeext; then
29993 echo "*** The test program compiled, but did not run. This usually means"
29994 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29995 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29996 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29997 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29998 echo "*** is required on your system
"
30000 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30003 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30004 echo "*** came with the system with the
command"
30006 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30008 echo "$as_me: failed program was
:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30011 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30012 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30013 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30014 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30018 conftest$ac_exeext conftest.$ac_ext
30019 CFLAGS="$ac_save_CFLAGS"
30020 LIBS="$ac_save_LIBS"
30032 if test -z "$wx_cv_lib_gtk"; then
30034 # Check whether --with-gtk-prefix was given.
30035 if test "${with_gtk_prefix+set}" = set; then
30036 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30038 gtk_config_prefix=""
30042 # Check whether --with-gtk-exec-prefix was given.
30043 if test "${with_gtk_exec_prefix+set}" = set; then
30044 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30046 gtk_config_exec_prefix=""
30049 # Check whether --enable-gtktest was given.
30050 if test "${enable_gtktest+set}" = set; then
30051 enableval=$enable_gtktest;
30057 for module in . $GTK_MODULES
30061 gtk_config_args="$gtk_config_args gthread
"
30066 if test x$gtk_config_exec_prefix != x ; then
30067 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30068 if test x${GTK_CONFIG+set} != xset ; then
30069 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30072 if test x$gtk_config_prefix != x ; then
30073 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30074 if test x${GTK_CONFIG+set} != xset ; then
30075 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30079 # Extract the first word of "gtk
-config", so it can be a program name with args.
30080 set dummy gtk-config; ac_word=$2
30081 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30083 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30084 echo $ECHO_N "(cached
) $ECHO_C" >&6
30086 case $GTK_CONFIG in
30088 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30092 for as_dir in $PATH
30095 test -z "$as_dir" && as_dir=.
30096 for ac_exec_ext in '' $ac_executable_extensions; do
30097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30098 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30099 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30106 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30110 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30111 if test -n "$GTK_CONFIG"; then
30112 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30113 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30115 { echo "$as_me:$LINENO: result
: no
" >&5
30116 echo "${ECHO_T}no
" >&6; }
30120 min_gtk_version=1.2.3
30121 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30122 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30124 if test "$GTK_CONFIG" = "no
" ; then
30127 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30128 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30129 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30131 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30133 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30135 if test "x
$enable_gtktest" = "xyes
" ; then
30136 ac_save_CFLAGS="$CFLAGS"
30137 ac_save_LIBS="$LIBS"
30138 CFLAGS="$CFLAGS $GTK_CFLAGS"
30139 LIBS="$GTK_LIBS $LIBS"
30141 if test "$cross_compiling" = yes; then
30142 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30144 cat >conftest.$ac_ext <<_ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30151 #include <gtk/gtk.h>
30153 #include <stdlib.h>
30158 int major, minor, micro;
30161 system ("touch conf.gtktest
");
30163 /* HP/UX 9 (%@#!) writes to sscanf strings */
30164 tmp_version = g_strdup("$min_gtk_version");
30165 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30166 printf("%s
, bad version string
\n", "$min_gtk_version");
30170 if ((gtk_major_version != $gtk_config_major_version) ||
30171 (gtk_minor_version != $gtk_config_minor_version) ||
30172 (gtk_micro_version != $gtk_config_micro_version))
30174 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30175 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30176 gtk_major_version, gtk_minor_version, gtk_micro_version);
30177 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30178 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30179 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30180 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30181 printf("*** required on your system.
\n");
30182 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30183 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30184 printf("*** before re
-running configure
\n");
30186 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30187 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30188 (gtk_minor_version != GTK_MINOR_VERSION) ||
30189 (gtk_micro_version != GTK_MICRO_VERSION))
30191 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30192 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30193 printf("*** library
(version
%d.
%d.
%d
)\n",
30194 gtk_major_version, gtk_minor_version, gtk_micro_version);
30196 #endif /* defined (GTK_MAJOR_VERSION) ... */
30199 if ((gtk_major_version > major) ||
30200 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30201 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30207 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30208 gtk_major_version, gtk_minor_version, gtk_micro_version);
30209 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30210 major, minor, micro);
30211 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30213 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30214 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30215 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30216 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30217 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30218 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30219 printf("*** so that the correct libraries are found
at run
-time))\n");
30226 rm -f conftest$ac_exeext
30227 if { (ac_try="$ac_link"
30228 case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_link") 2>&5
30235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30237 { (case "(($ac_try" in
30238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30239 *) ac_try_echo=$ac_try;;
30241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30242 (eval "$ac_try") 2>&5
30244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30245 (exit $ac_status); }; }; then
30248 echo "$as_me: program exited with status
$ac_status" >&5
30249 echo "$as_me: failed program was
:" >&5
30250 sed 's/^/| /' conftest.$ac_ext >&5
30252 ( exit $ac_status )
30255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30259 CFLAGS="$ac_save_CFLAGS"
30260 LIBS="$ac_save_LIBS"
30263 if test "x
$no_gtk" = x ; then
30264 { echo "$as_me:$LINENO: result
: yes" >&5
30265 echo "${ECHO_T}yes" >&6; }
30266 wx_cv_lib_gtk=1.2.3
30268 { echo "$as_me:$LINENO: result
: no
" >&5
30269 echo "${ECHO_T}no
" >&6; }
30270 if test "$GTK_CONFIG" = "no
" ; then
30271 echo "*** The gtk
-config script installed by GTK could not be found
"
30272 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30273 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30274 echo "*** full path to gtk
-config.
"
30276 if test -f conf.gtktest ; then
30279 echo "*** Could not run GTK
test program
, checking why...
"
30280 CFLAGS="$CFLAGS $GTK_CFLAGS"
30281 LIBS="$LIBS $GTK_LIBS"
30282 cat >conftest.$ac_ext <<_ACEOF
30285 cat confdefs.h >>conftest.$ac_ext
30286 cat >>conftest.$ac_ext <<_ACEOF
30287 /* end confdefs.h. */
30289 #include <gtk/gtk.h>
30295 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30300 rm -f conftest.$ac_objext conftest$ac_exeext
30301 if { (ac_try="$ac_link"
30302 case "(($ac_try" in
30303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30306 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_link") 2>conftest.er1
30309 grep -v '^ *+' conftest.er1 >conftest.err
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest$ac_exeext &&
30317 $as_test_x conftest$ac_exeext; then
30318 echo "*** The
test program compiled
, but did not run. This usually means
"
30319 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30320 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30321 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30322 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30323 echo "*** is required on your system"
30325 echo "*** If you have an old version installed, it is best to remove it, although"
30326 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30328 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30329 echo "*** came with the system with the command"
30331 echo "*** rpm --erase --nodeps gtk gtk-devel"
30333 echo "$as_me: failed program was:" >&5
30334 sed 's
/^
/| /' conftest.$ac_ext >&5
30336 echo "*** The test program failed to compile or link. See the file config.log for the"
30337 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30338 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30339 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30343 conftest$ac_exeext conftest.$ac_ext
30344 CFLAGS="$ac_save_CFLAGS"
30345 LIBS="$ac_save_LIBS"
30360 if test -z "$wx_cv_lib_gtk"; then
30363 wx_cv_cflags_gtk=$GTK_CFLAGS
30364 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
30371 if test "$gtk_version_cached" = 1; then
30372 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30373 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30376 case "$wx_cv_lib_gtk" in
30385 *) { { echo "$as_me:$LINENO: error:
30386 The development files for GTK+ were not found. For GTK+ 2, please
30387 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30388 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30389 and that the version is 1.2.3 or above. Also check that the
30390 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30391 --libs' are in the LD_LIBRARY_PATH or equivalent.
30393 echo "$as_me: error:
30394 The development files for GTK+ were not found. For GTK+ 2, please
30395 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30396 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30397 and that the version is 1.2.3 or above. Also check that the
30398 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30399 --libs' are in the LD_LIBRARY_PATH or equivalent.
30401 { (exit 1); exit 1; }; }
30405 if test "$WXGTK2" = 1; then
30406 save_CFLAGS="$CFLAGS"
30408 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30409 LIBS="$LIBS $wx_cv_libs_gtk"
30411 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30412 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30413 cat >conftest.$ac_ext <<_ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30420 #include <gtk/gtk.h>
30426 #if !GTK_CHECK_VERSION(2,18,0)
30434 rm -f conftest.$ac_objext
30435 if { (ac_try="$ac_compile"
30436 case "(($ac_try" in
30437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30438 *) ac_try_echo=$ac_try;;
30440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30441 (eval "$ac_compile") 2>conftest.er1
30443 grep -v '^
*+' conftest.er1 >conftest.err
30445 cat conftest.err >&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); } && {
30448 test -z "$ac_c_werror_flag" ||
30449 test ! -s conftest.err
30450 } && test -s conftest.$ac_objext; then
30452 cat >>confdefs.h <<\_ACEOF
30453 #define __WXGTK218__ 1
30456 cat >>confdefs.h <<\_ACEOF
30457 #define __WXGTK210__ 1
30460 cat >>confdefs.h <<\_ACEOF
30461 #define __WXGTK26__ 1
30464 { echo "$as_me:$LINENO: result: yes" >&5
30465 echo "${ECHO_T}yes" >&6; }
30469 echo "$as_me: failed program was:" >&5
30470 sed 's
/^
/| /' conftest.$ac_ext >&5
30473 { echo "$as_me:$LINENO: result: no" >&5
30474 echo "${ECHO_T}no" >&6; }
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30481 if test "$ac_wxgtk218" = 0; then
30482 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30483 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30484 cat >conftest.$ac_ext <<_ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30491 #include <gtk/gtk.h>
30497 #if !GTK_CHECK_VERSION(2,10,0)
30505 rm -f conftest.$ac_objext
30506 if { (ac_try="$ac_compile"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30509 *) ac_try_echo=$ac_try;;
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_compile") 2>conftest.er1
30514 grep -v '^
*+' conftest.er1 >conftest.err
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest.$ac_objext; then
30523 cat >>confdefs.h <<\_ACEOF
30524 #define __WXGTK210__ 1
30527 cat >>confdefs.h <<\_ACEOF
30528 #define __WXGTK26__ 1
30531 { echo "$as_me:$LINENO: result: yes" >&5
30532 echo "${ECHO_T}yes" >&6; }
30536 echo "$as_me: failed program was:" >&5
30537 sed 's
/^
/| /' conftest.$ac_ext >&5
30540 { echo "$as_me:$LINENO: result: no" >&5
30541 echo "${ECHO_T}no" >&6; }
30546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30548 if test "$ac_wxgtk210" = 0; then
30549 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30550 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30551 cat >conftest.$ac_ext <<_ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30558 #include <gtk/gtk.h>
30564 #if !GTK_CHECK_VERSION(2,6,0)
30572 rm -f conftest.$ac_objext
30573 if { (ac_try="$ac_compile"
30574 case "(($ac_try" in
30575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30576 *) ac_try_echo=$ac_try;;
30578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30579 (eval "$ac_compile") 2>conftest.er1
30581 grep -v '^
*+' conftest.er1 >conftest.err
30583 cat conftest.err >&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } && {
30586 test -z "$ac_c_werror_flag" ||
30587 test ! -s conftest.err
30588 } && test -s conftest.$ac_objext; then
30590 cat >>confdefs.h <<\_ACEOF
30591 #define __WXGTK26__ 1
30594 { echo "$as_me:$LINENO: result: yes" >&5
30595 echo "${ECHO_T}yes" >&6; }
30599 echo "$as_me: failed program was:" >&5
30600 sed 's
/^
/| /' conftest.$ac_ext >&5
30603 { echo "$as_me:$LINENO: result: no" >&5
30604 echo "${ECHO_T}no" >&6; }
30609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30613 CFLAGS="$save_CFLAGS"
30616 if test "$wxUSE_UNICODE" = "yes"; then
30617 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30618 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30622 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30623 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30624 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 ac_check_lib_save_LIBS=$LIBS
30629 cat >conftest.$ac_ext <<_ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30636 /* Override any GCC internal prototype to avoid an error.
30637 Use char because int might match the return type of a GCC
30638 builtin and then its argument prototype would still apply. */
30642 char gdk_im_open ();
30646 return gdk_im_open ();
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30655 *) ac_try_echo=$ac_try;;
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_link") 2>conftest.er1
30660 grep -v '^
*+' conftest.er1 >conftest.err
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } && {
30665 test -z "$ac_c_werror_flag" ||
30666 test ! -s conftest.err
30667 } && test -s conftest$ac_exeext &&
30668 $as_test_x conftest$ac_exeext; then
30669 ac_cv_lib_gdk_gdk_im_open=yes
30671 echo "$as_me: failed program was:" >&5
30672 sed 's
/^
/| /' conftest.$ac_ext >&5
30674 ac_cv_lib_gdk_gdk_im_open=no
30677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30678 conftest$ac_exeext conftest.$ac_ext
30679 LIBS=$ac_check_lib_save_LIBS
30681 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30682 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30683 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30684 cat >>confdefs.h <<\_ACEOF
30691 if test "$USE_DARWIN" != 1; then
30693 for ac_func in poll
30695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 cat >conftest.$ac_ext <<_ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30709 #define $ac_func innocuous_$ac_func
30711 /* System header to define __stub macros and hopefully few prototypes,
30712 which can conflict with char $ac_func (); below.
30713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30714 <limits.h> exists even on freestanding compilers. */
30717 # include <limits.h>
30719 # include <assert.h>
30724 /* Override any GCC internal prototype to avoid an error.
30725 Use char because int might match the return type of a GCC
30726 builtin and then its argument prototype would still apply. */
30731 /* The GNU C library defines this for functions which it implements
30732 to always fail with ENOSYS. Some functions are actually named
30733 something starting with __ and the normal name is an alias. */
30734 #if defined __stub_$ac_func || defined __stub___$ac_func
30741 return $ac_func ();
30746 rm -f conftest.$ac_objext conftest$ac_exeext
30747 if { (ac_try="$ac_link"
30748 case "(($ac_try" in
30749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30750 *) ac_try_echo=$ac_try;;
30752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30753 (eval "$ac_link") 2>conftest.er1
30755 grep -v '^
*+' conftest.er1 >conftest.err
30757 cat conftest.err >&5
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); } && {
30760 test -z "$ac_c_werror_flag" ||
30761 test ! -s conftest.err
30762 } && test -s conftest$ac_exeext &&
30763 $as_test_x conftest$ac_exeext; then
30764 eval "$as_ac_var=yes"
30766 echo "$as_me: failed program was:" >&5
30767 sed 's
/^
/| /' conftest.$ac_ext >&5
30769 eval "$as_ac_var=no"
30772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30773 conftest$ac_exeext conftest.$ac_ext
30775 ac_res=`eval echo '${'$as_ac_var'}'`
30776 { echo "$as_me:$LINENO: result: $ac_res" >&5
30777 echo "${ECHO_T}$ac_res" >&6; }
30778 if test `eval echo '${'$as_ac_var'}'` = yes; then
30779 cat >>confdefs.h <<_ACEOF
30780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30789 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30790 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30792 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30794 AFMINSTALL=afminstall
30798 if test "$wxUSE_GPE" = "yes"; then
30799 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30800 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30803 for ac_dir in $SEARCH_LIB;
30805 for ac_extension in a so sl dylib dll.a; do
30806 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30807 ac_find_libraries=$ac_dir
30813 if test "$ac_find_libraries" != "" ; then
30815 if test "$ac_find_libraries" = "default location"; then
30818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30820 if test $result = 0; then
30823 ac_path_to_link=" -L$ac_find_libraries"
30827 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30829 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30830 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30832 { echo "$as_me:$LINENO: result: not found" >&5
30833 echo "${ECHO_T}not found" >&6; }
30839 if test "$wxUSE_MGL" = 1; then
30840 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30841 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30842 if test "x$MGL_ROOT" = x ; then
30843 { echo "$as_me:$LINENO: result: not found" >&5
30844 echo "${ECHO_T}not found" >&6; }
30845 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30846 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30847 { (exit 1); exit 1; }; }
30849 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30850 echo "${ECHO_T}$MGL_ROOT" >&6; }
30853 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30854 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30857 if test "x$wxUSE_SHARED" = xyes ; then
30858 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30860 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30864 mgl_os_candidates="dos32/dj2"
30867 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30868 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30869 { (exit 1); exit 1; }; }
30875 for mgl_os_i in $mgl_os_candidates ; do
30876 if test "x$mgl_os" = x ; then
30877 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30878 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30879 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30884 if test "x$mgl_lib_type" = x ; then
30885 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30886 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30887 mgl_lib_type=release
30894 if test "x$mgl_os" = x ; then
30895 { echo "$as_me:$LINENO: result: not found" >&5
30896 echo "${ECHO_T}not found" >&6; }
30897 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30898 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30899 { (exit 1); exit 1; }; }
30901 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30902 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30904 wxUSE_UNIVERSAL="yes"
30906 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30907 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30909 AFMINSTALL=afminstall
30914 if test "$wxUSE_DFB" = 1; then
30917 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30918 if test -n "$ac_tool_prefix"; then
30919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30920 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30924 echo $ECHO_N "(cached) $ECHO_C" >&6
30926 case $PKG_CONFIG in
30928 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30932 for as_dir in $PATH
30935 test -z "$as_dir" && as_dir=.
30936 for ac_exec_ext in '' $ac_executable_extensions; do
30937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30938 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30950 if test -n "$PKG_CONFIG"; then
30951 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30952 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30954 { echo "$as_me:$LINENO: result: no" >&5
30955 echo "${ECHO_T}no" >&6; }
30960 if test -z "$ac_cv_path_PKG_CONFIG"; then
30961 ac_pt_PKG_CONFIG=$PKG_CONFIG
30962 # Extract the first word of "pkg-config", so it can be a program name with args.
30963 set dummy pkg-config; ac_word=$2
30964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30966 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 case $ac_pt_PKG_CONFIG in
30971 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30975 for as_dir in $PATH
30978 test -z "$as_dir" && as_dir=.
30979 for ac_exec_ext in '' $ac_executable_extensions; do
30980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30981 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30992 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30993 if test -n "$ac_pt_PKG_CONFIG"; then
30994 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30995 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30997 { echo "$as_me:$LINENO: result: no" >&5
30998 echo "${ECHO_T}no" >&6; }
31001 if test "x$ac_pt_PKG_CONFIG" = x; then
31004 case $cross_compiling:$ac_tool_warned in
31006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31007 whose name does not start with the host triplet. If you think this
31008 configuration is useful to you, please write to autoconf@gnu.org." >&5
31009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31010 whose name does not start with the host triplet. If you think this
31011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31012 ac_tool_warned=yes ;;
31014 PKG_CONFIG=$ac_pt_PKG_CONFIG
31017 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31021 if test -n "$PKG_CONFIG"; then
31022 _pkg_min_version=0.9.0
31023 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31024 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31025 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31026 { echo "$as_me:$LINENO: result: yes" >&5
31027 echo "${ECHO_T}yes" >&6; }
31029 { echo "$as_me:$LINENO: result: no" >&5
31030 echo "${ECHO_T}no" >&6; }
31038 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31039 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31041 if test -n "$PKG_CONFIG"; then
31042 if test -n "$DIRECTFB_CFLAGS"; then
31043 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31045 if test -n "$PKG_CONFIG" && \
31046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31047 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); }; then
31051 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31059 if test -n "$PKG_CONFIG"; then
31060 if test -n "$DIRECTFB_LIBS"; then
31061 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31063 if test -n "$PKG_CONFIG" && \
31064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31065 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; then
31069 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31080 if test $pkg_failed = yes; then
31082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31083 _pkg_short_errors_supported=yes
31085 _pkg_short_errors_supported=no
31087 if test $_pkg_short_errors_supported = yes; then
31088 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31090 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31092 # Put the nasty error message in config.log where it belongs
31093 echo "$DIRECTFB_PKG_ERRORS" >&5
31096 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31097 echo "$as_me: error: DirectFB not found." >&2;}
31098 { (exit 1); exit 1; }; }
31101 elif test $pkg_failed = untried; then
31103 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31104 echo "$as_me: error: DirectFB not found." >&2;}
31105 { (exit 1); exit 1; }; }
31109 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31110 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31111 { echo "$as_me:$LINENO: result: yes" >&5
31112 echo "${ECHO_T}yes" >&6; }
31114 wxUSE_UNIVERSAL="yes"
31115 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31116 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31123 if test "$wxUSE_MICROWIN" = 1; then
31124 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31125 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31126 if test "x$MICROWINDOWS" = x ; then
31127 { echo "$as_me:$LINENO: result: not found" >&5
31128 echo "${ECHO_T}not found" >&6; }
31129 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31130 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31131 { (exit 1); exit 1; }; }
31133 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31134 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31137 if test -f $MICROWINDOWS/lib/libmwin.a; then
31138 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31139 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31141 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31142 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31143 { (exit 1); exit 1; }; }
31146 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31147 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31149 wxUSE_UNIVERSAL="yes"
31151 AFMINSTALL=afminstall
31153 GUIDIST=MICROWIN_DIST
31155 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31158 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31159 { echo "$as_me:$LINENO: checking for X" >&5
31160 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31163 # Check whether --with-x was given.
31164 if test "${with_x+set}" = set; then
31168 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31169 if test "x$with_x" = xno; then
31170 # The user explicitly disabled X.
31173 case $x_includes,$x_libraries in #(
31174 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31175 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31176 { (exit 1); exit 1; }; };; #(
31177 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 # One or both of the vars are not set, and there is no cached value.
31181 ac_x_includes=no ac_x_libraries=no
31182 rm -f -r conftest.dir
31183 if mkdir conftest.dir; then
31185 cat >Imakefile <<'_ACEOF'
31187 @echo incroot='${INCROOT}'
31189 @echo usrlibdir='${USRLIBDIR}'
31191 @echo libdir='${LIBDIR}'
31193 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31195 for ac_var in incroot usrlibdir libdir; do
31196 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31198 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31199 for ac_extension in a so sl; do
31200 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31201 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31202 ac_im_usrlibdir=$ac_im_libdir; break
31205 # Screen out bogus values from the imake configuration. They are
31206 # bogus both because they are the default anyway, and because
31207 # using them would break gcc on systems where it needs fixed includes.
31208 case $ac_im_incroot in
31209 /usr/include) ac_x_includes= ;;
31210 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31212 case $ac_im_usrlibdir in
31213 /usr/lib | /lib) ;;
31214 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31218 rm -f -r conftest.dir
31221 # Standard set of common directories for X headers.
31222 # Check X11 before X11Rn because it is often a symlink to the current release.
31234 /usr
/local
/X
11/include
31235 /usr
/local
/X
11R
6/include
31236 /usr
/local
/X
11R
5/include
31237 /usr
/local
/X
11R
4/include
31239 /usr
/local
/include
/X11
31240 /usr
/local
/include
/X11R6
31241 /usr
/local
/include
/X11R5
31242 /usr
/local
/include
/X11R4
31246 /usr
/XFree
86/include
/X11
31250 /usr
/unsupported
/include
31251 /usr
/athena
/include
31252 /usr
/local
/x
11r
5/include
31253 /usr
/lpp
/Xamples
/include
31255 /usr
/openwin
/include
31256 /usr
/openwin
/share
/include
'
31258 if test "$ac_x_includes" = no; then
31259 # Guess where to find include files, by looking for Xlib.h.
31260 # First, try using that file with no special directory specified.
31261 cat >conftest.$ac_ext <<_ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 #include <X11/Xlib.h>
31269 if { (ac_try="$ac_cpp conftest.$ac_ext"
31270 case "(($ac_try" in
31271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31272 *) ac_try_echo=$ac_try;;
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31277 grep -v '^
*+' conftest.er1 >conftest.err
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } >/dev/null && {
31282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31283 test ! -s conftest.err
31285 # We can compile using X headers with no special include directory.
31288 echo "$as_me: failed program was:" >&5
31289 sed 's
/^
/| /' conftest.$ac_ext >&5
31291 for ac_dir in $ac_x_header_dirs; do
31292 if test -r "$ac_dir/X11/Xlib.h"; then
31293 ac_x_includes=$ac_dir
31299 rm -f conftest.err conftest.$ac_ext
31300 fi # $ac_x_includes = no
31302 if test "$ac_x_libraries" = no; then
31303 # Check for the libraries.
31304 # See if we find them without any special options.
31305 # Don't add to
$LIBS permanently.
31308 cat >conftest.
$ac_ext <<_ACEOF
31311 cat confdefs.h
>>conftest.
$ac_ext
31312 cat >>conftest.
$ac_ext <<_ACEOF
31313 /* end confdefs.h. */
31314 #include <X11/Xlib.h>
31323 rm -f conftest.
$ac_objext conftest
$ac_exeext
31324 if { (ac_try
="$ac_link"
31325 case "(($ac_try" in
31326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_link") 2>conftest.er1
31332 grep -v '^ *+' conftest.er1 >conftest.err
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest$ac_exeext &&
31340 $as_test_x conftest$ac_exeext; then
31342 # We can link X programs with no special library path.
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.$ac_ext >&5
31349 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31351 # Don't even attempt the hair of trying to link an X program!
31352 for ac_extension in a so sl; do
31353 if test -r "$ac_dir/libX11.$ac_extension"; then
31354 ac_x_libraries=$ac_dir
31361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31362 conftest$ac_exeext conftest.$ac_ext
31363 fi # $ac_x_libraries = no
31365 case $ac_x_includes,$ac_x_libraries in #(
31366 no,* | *,no | *\'*)
31367 # Didn't find X, or a directory has "'" in its name.
31368 ac_cv_have_x="have_x=no";; #(
31370 # Record where we found X for the cache.
31371 ac_cv_have_x="have_x=yes\
31372 ac_x_includes='$ac_x_includes'\
31373 ac_x_libraries='$ac_x_libraries'"
31379 eval "$ac_cv_have_x"
31382 if test "$have_x" != yes; then
31383 { echo "$as_me:$LINENO: result: $have_x" >&5
31384 echo "${ECHO_T}$have_x" >&6; }
31387 # If each of the values was on the command line, it overrides each guess.
31388 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31389 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31390 # Update the cache value to reflect the command line values.
31391 ac_cv_have_x="have_x=yes\
31392 ac_x_includes='$x_includes'\
31393 ac_x_libraries='$x_libraries'"
31394 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31395 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31398 if test "$no_x" = yes; then
31399 # Not all programs may use this symbol, but it does not hurt to define it.
31401 cat >>confdefs.h <<\_ACEOF
31402 #define X_DISPLAY_MISSING 1
31405 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31407 if test -n "$x_includes"; then
31408 X_CFLAGS="$X_CFLAGS -I$x_includes"
31411 # It would also be nice to do this for all -L options, not just this one.
31412 if test -n "$x_libraries"; then
31413 X_LIBS="$X_LIBS -L$x_libraries"
31414 # For Solaris; some versions of Sun CC require a space after -R and
31415 # others require no space. Words are not sufficient . . . .
31416 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31417 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31418 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31419 ac_xsave_c_werror_flag=$ac_c_werror_flag
31420 ac_c_werror_flag=yes
31421 cat >conftest.$ac_ext <<_ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31436 rm -f conftest.$ac_objext conftest$ac_exeext
31437 if { (ac_try="$ac_link"
31438 case "(($ac_try" in
31439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31440 *) ac_try_echo
=$ac_try;;
31442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31443 (eval "$ac_link") 2>conftest.er1
31445 grep -v '^ *+' conftest.er1
>conftest.err
31447 cat conftest.err
>&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } && {
31450 test -z "$ac_c_werror_flag" ||
31451 test ! -s conftest.err
31452 } && test -s conftest
$ac_exeext &&
31453 $as_test_x conftest
$ac_exeext; then
31454 { echo "$as_me:$LINENO: result: no" >&5
31455 echo "${ECHO_T}no" >&6; }
31456 X_LIBS
="$X_LIBS -R$x_libraries"
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.
$ac_ext >&5
31461 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31462 cat >conftest.
$ac_ext <<_ACEOF
31465 cat confdefs.h
>>conftest.
$ac_ext
31466 cat >>conftest.
$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31477 rm -f conftest.
$ac_objext conftest
$ac_exeext
31478 if { (ac_try
="$ac_link"
31479 case "(($ac_try" in
31480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_link") 2>conftest.er1
31486 grep -v '^ *+' conftest.er1 >conftest.err
31488 cat conftest.err >&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } && {
31491 test -z "$ac_c_werror_flag" ||
31492 test ! -s conftest.err
31493 } && test -s conftest$ac_exeext &&
31494 $as_test_x conftest$ac_exeext; then
31495 { echo "$as_me:$LINENO: result: yes" >&5
31496 echo "${ECHO_T}yes" >&6; }
31497 X_LIBS="$X_LIBS -R $x_libraries"
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31502 { echo "$as_me:$LINENO: result: neither works" >&5
31503 echo "${ECHO_T}neither works" >&6; }
31506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31507 conftest$ac_exeext conftest.$ac_ext
31510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31511 conftest$ac_exeext conftest.$ac_ext
31512 ac_c_werror_flag=$ac_xsave_c_werror_flag
31513 LIBS=$ac_xsave_LIBS
31516 # Check for system-dependent libraries X programs must link with.
31517 # Do this before checking for the system-independent R6 libraries
31518 # (-lICE), since we may need -lsocket or whatever for X linking.
31520 if test "$ISC" = yes; then
31521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31523 # Martyn Johnson says this is needed for Ultrix, if the X
31524 # libraries were built with DECnet support. And Karl Berry says
31525 # the Alpha needs dnet_stub (dnet does not exist).
31526 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31527 cat >conftest.$ac_ext <<_ACEOF
31530 cat confdefs.h >>conftest.$ac_ext
31531 cat >>conftest.$ac_ext <<_ACEOF
31532 /* end confdefs.h. */
31534 /* Override any GCC internal prototype to avoid an error.
31535 Use char because int might match the return type of a GCC
31536 builtin and then its argument prototype would still apply. */
31540 char XOpenDisplay ();
31544 return XOpenDisplay ();
31549 rm -f conftest.$ac_objext conftest$ac_exeext
31550 if { (ac_try="$ac_link"
31551 case "(($ac_try" in
31552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31553 *) ac_try_echo
=$ac_try;;
31555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31556 (eval "$ac_link") 2>conftest.er1
31558 grep -v '^ *+' conftest.er1
>conftest.err
31560 cat conftest.err
>&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); } && {
31563 test -z "$ac_c_werror_flag" ||
31564 test ! -s conftest.err
31565 } && test -s conftest
$ac_exeext &&
31566 $as_test_x conftest
$ac_exeext; then
31569 echo "$as_me: failed program was:" >&5
31570 sed 's/^/| /' conftest.
$ac_ext >&5
31572 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31573 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31574 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31575 echo $ECHO_N "(cached) $ECHO_C" >&6
31577 ac_check_lib_save_LIBS
=$LIBS
31578 LIBS
="-ldnet $LIBS"
31579 cat >conftest.
$ac_ext <<_ACEOF
31582 cat confdefs.h
>>conftest.
$ac_ext
31583 cat >>conftest.
$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31586 /* Override any GCC internal prototype to avoid an error.
31587 Use char because int might match the return type of a GCC
31588 builtin and then its argument prototype would still apply. */
31596 return dnet_ntoa ();
31601 rm -f conftest.
$ac_objext conftest
$ac_exeext
31602 if { (ac_try
="$ac_link"
31603 case "(($ac_try" in
31604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31605 *) ac_try_echo=$ac_try;;
31607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31608 (eval "$ac_link") 2>conftest.er1
31610 grep -v '^ *+' conftest.er1 >conftest.err
31612 cat conftest.err >&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } && {
31615 test -z "$ac_c_werror_flag" ||
31616 test ! -s conftest.err
31617 } && test -s conftest$ac_exeext &&
31618 $as_test_x conftest$ac_exeext; then
31619 ac_cv_lib_dnet_dnet_ntoa=yes
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31624 ac_cv_lib_dnet_dnet_ntoa=no
31627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31628 conftest$ac_exeext conftest.$ac_ext
31629 LIBS=$ac_check_lib_save_LIBS
31631 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31632 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31633 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31634 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31637 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31638 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31639 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31640 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 ac_check_lib_save_LIBS=$LIBS
31644 LIBS="-ldnet_stub $LIBS"
31645 cat >conftest.$ac_ext <<_ACEOF
31648 cat confdefs.h >>conftest.$ac_ext
31649 cat >>conftest.$ac_ext <<_ACEOF
31650 /* end confdefs.h. */
31652 /* Override any GCC internal prototype to avoid an error.
31653 Use char because int might match the return type of a GCC
31654 builtin and then its argument prototype would still apply. */
31662 return dnet_ntoa ();
31667 rm -f conftest.$ac_objext conftest$ac_exeext
31668 if { (ac_try="$ac_link"
31669 case "(($ac_try" in
31670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31671 *) ac_try_echo
=$ac_try;;
31673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31674 (eval "$ac_link") 2>conftest.er1
31676 grep -v '^ *+' conftest.er1
>conftest.err
31678 cat conftest.err
>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } && {
31681 test -z "$ac_c_werror_flag" ||
31682 test ! -s conftest.err
31683 } && test -s conftest
$ac_exeext &&
31684 $as_test_x conftest
$ac_exeext; then
31685 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31687 echo "$as_me: failed program was:" >&5
31688 sed 's/^/| /' conftest.
$ac_ext >&5
31690 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31694 conftest
$ac_exeext conftest.
$ac_ext
31695 LIBS
=$ac_check_lib_save_LIBS
31697 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31698 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31699 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31700 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31706 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31707 conftest
$ac_exeext conftest.
$ac_ext
31708 LIBS
="$ac_xsave_LIBS"
31710 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31711 # to get the SysV transport functions.
31712 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31714 # The nsl library prevents programs from opening the X display
31715 # on Irix 5.2, according to T.E. Dickey.
31716 # The functions gethostbyname, getservbyname, and inet_addr are
31717 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31718 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31719 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31720 if test "${ac_cv_func_gethostbyname+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 cat >conftest.
$ac_ext <<_ACEOF
31726 cat confdefs.h
>>conftest.
$ac_ext
31727 cat >>conftest.
$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31731 #define gethostbyname innocuous_gethostbyname
31733 /* System header to define __stub macros and hopefully few prototypes,
31734 which can conflict with char gethostbyname (); below.
31735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31736 <limits.h> exists even on freestanding compilers. */
31739 # include <limits.h>
31741 # include <assert.h>
31744 #undef gethostbyname
31746 /* Override any GCC internal prototype to avoid an error.
31747 Use char because int might match the return type of a GCC
31748 builtin and then its argument prototype would still apply. */
31752 char gethostbyname ();
31753 /* The GNU C library defines this for functions which it implements
31754 to always fail with ENOSYS. Some functions are actually named
31755 something starting with __ and the normal name is an alias. */
31756 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31763 return gethostbyname ();
31768 rm -f conftest.
$ac_objext conftest
$ac_exeext
31769 if { (ac_try
="$ac_link"
31770 case "(($ac_try" in
31771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31772 *) ac_try_echo=$ac_try;;
31774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31775 (eval "$ac_link") 2>conftest.er1
31777 grep -v '^ *+' conftest.er1 >conftest.err
31779 cat conftest.err >&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } && {
31782 test -z "$ac_c_werror_flag" ||
31783 test ! -s conftest.err
31784 } && test -s conftest$ac_exeext &&
31785 $as_test_x conftest$ac_exeext; then
31786 ac_cv_func_gethostbyname=yes
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.$ac_ext >&5
31791 ac_cv_func_gethostbyname=no
31794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31795 conftest$ac_exeext conftest.$ac_ext
31797 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31798 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31800 if test $ac_cv_func_gethostbyname = no; then
31801 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31802 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31803 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 ac_check_lib_save_LIBS=$LIBS
31808 cat >conftest.$ac_ext <<_ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31815 /* Override any GCC internal prototype to avoid an error.
31816 Use char because int might match the return type of a GCC
31817 builtin and then its argument prototype would still apply. */
31821 char gethostbyname ();
31825 return gethostbyname ();
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (ac_try="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31834 *) ac_try_echo
=$ac_try;;
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31839 grep -v '^ *+' conftest.er1
>conftest.err
31841 cat conftest.err
>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest
$ac_exeext &&
31847 $as_test_x conftest
$ac_exeext; then
31848 ac_cv_lib_nsl_gethostbyname
=yes
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.
$ac_ext >&5
31853 ac_cv_lib_nsl_gethostbyname
=no
31856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31857 conftest
$ac_exeext conftest.
$ac_ext
31858 LIBS
=$ac_check_lib_save_LIBS
31860 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31861 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31862 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31863 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31866 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31867 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31868 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31869 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 ac_check_lib_save_LIBS
=$LIBS
31874 cat >conftest.
$ac_ext <<_ACEOF
31877 cat confdefs.h
>>conftest.
$ac_ext
31878 cat >>conftest.
$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31881 /* Override any GCC internal prototype to avoid an error.
31882 Use char because int might match the return type of a GCC
31883 builtin and then its argument prototype would still apply. */
31887 char gethostbyname ();
31891 return gethostbyname ();
31896 rm -f conftest.
$ac_objext conftest
$ac_exeext
31897 if { (ac_try
="$ac_link"
31898 case "(($ac_try" in
31899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_link") 2>conftest.er1
31905 grep -v '^ *+' conftest.er1 >conftest.err
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest$ac_exeext &&
31913 $as_test_x conftest$ac_exeext; then
31914 ac_cv_lib_bsd_gethostbyname=yes
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.$ac_ext >&5
31919 ac_cv_lib_bsd_gethostbyname=no
31922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31923 conftest$ac_exeext conftest.$ac_ext
31924 LIBS=$ac_check_lib_save_LIBS
31926 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31927 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31928 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31935 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31936 # socket/setsockopt and other routines are undefined under SCO ODT
31937 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31938 # on later versions), says Simon Leinen: it contains gethostby*
31939 # variants that don't use the name server (or something). -lsocket
31940 # must be given before -lnsl if both are needed. We assume that
31941 # if connect needs -lnsl, so does gethostbyname.
31942 { echo "$as_me:$LINENO: checking for connect" >&5
31943 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31944 if test "${ac_cv_func_connect+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 cat >conftest.$ac_ext <<_ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31953 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31955 #define connect innocuous_connect
31957 /* System header to define __stub macros and hopefully few prototypes,
31958 which can conflict with char connect (); below.
31959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31960 <limits.h> exists even on freestanding compilers. */
31963 # include <limits.h>
31965 # include <assert.h>
31970 /* Override any GCC internal prototype to avoid an error.
31971 Use char because int might match the return type of a GCC
31972 builtin and then its argument prototype would still apply. */
31977 /* The GNU C library defines this for functions which it implements
31978 to always fail with ENOSYS. Some functions are actually named
31979 something starting with __ and the normal name is an alias. */
31980 #if defined __stub_connect || defined __stub___connect
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (ac_try="$ac_link"
31994 case "(($ac_try" in
31995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31996 *) ac_try_echo
=$ac_try;;
31998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31999 (eval "$ac_link") 2>conftest.er1
32001 grep -v '^ *+' conftest.er1
>conftest.err
32003 cat conftest.err
>&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); } && {
32006 test -z "$ac_c_werror_flag" ||
32007 test ! -s conftest.err
32008 } && test -s conftest
$ac_exeext &&
32009 $as_test_x conftest
$ac_exeext; then
32010 ac_cv_func_connect
=yes
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.
$ac_ext >&5
32015 ac_cv_func_connect
=no
32018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32019 conftest
$ac_exeext conftest.
$ac_ext
32021 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32022 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32024 if test $ac_cv_func_connect = no
; then
32025 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32026 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32027 if test "${ac_cv_lib_socket_connect+set}" = set; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32030 ac_check_lib_save_LIBS
=$LIBS
32031 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32032 cat >conftest.
$ac_ext <<_ACEOF
32035 cat confdefs.h
>>conftest.
$ac_ext
32036 cat >>conftest.
$ac_ext <<_ACEOF
32037 /* end confdefs.h. */
32039 /* Override any GCC internal prototype to avoid an error.
32040 Use char because int might match the return type of a GCC
32041 builtin and then its argument prototype would still apply. */
32054 rm -f conftest.
$ac_objext conftest
$ac_exeext
32055 if { (ac_try
="$ac_link"
32056 case "(($ac_try" in
32057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32058 *) ac_try_echo=$ac_try;;
32060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32061 (eval "$ac_link") 2>conftest.er1
32063 grep -v '^ *+' conftest.er1 >conftest.err
32065 cat conftest.err >&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); } && {
32068 test -z "$ac_c_werror_flag" ||
32069 test ! -s conftest.err
32070 } && test -s conftest$ac_exeext &&
32071 $as_test_x conftest$ac_exeext; then
32072 ac_cv_lib_socket_connect=yes
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32077 ac_cv_lib_socket_connect=no
32080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32081 conftest$ac_exeext conftest.$ac_ext
32082 LIBS=$ac_check_lib_save_LIBS
32084 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32085 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32086 if test $ac_cv_lib_socket_connect = yes; then
32087 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32092 # Guillermo Gomez says -lposix is necessary on A/UX.
32093 { echo "$as_me:$LINENO: checking for remove" >&5
32094 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32095 if test "${ac_cv_func_remove+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 cat >conftest.$ac_ext <<_ACEOF
32101 cat confdefs.h >>conftest.$ac_ext
32102 cat >>conftest.$ac_ext <<_ACEOF
32103 /* end confdefs.h. */
32104 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32106 #define remove innocuous_remove
32108 /* System header to define __stub macros and hopefully few prototypes,
32109 which can conflict with char remove (); below.
32110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32111 <limits.h> exists even on freestanding compilers. */
32114 # include <limits.h>
32116 # include <assert.h>
32121 /* Override any GCC internal prototype to avoid an error.
32122 Use char because int might match the return type of a GCC
32123 builtin and then its argument prototype would still apply. */
32128 /* The GNU C library defines this for functions which it implements
32129 to always fail with ENOSYS. Some functions are actually named
32130 something starting with __ and the normal name is an alias. */
32131 #if defined __stub_remove || defined __stub___remove
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (ac_try="$ac_link"
32145 case "(($ac_try" in
32146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32147 *) ac_try_echo
=$ac_try;;
32149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32150 (eval "$ac_link") 2>conftest.er1
32152 grep -v '^ *+' conftest.er1
>conftest.err
32154 cat conftest.err
>&5
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); } && {
32157 test -z "$ac_c_werror_flag" ||
32158 test ! -s conftest.err
32159 } && test -s conftest
$ac_exeext &&
32160 $as_test_x conftest
$ac_exeext; then
32161 ac_cv_func_remove
=yes
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.
$ac_ext >&5
32166 ac_cv_func_remove
=no
32169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32170 conftest
$ac_exeext conftest.
$ac_ext
32172 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32173 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32175 if test $ac_cv_func_remove = no
; then
32176 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32177 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32178 if test "${ac_cv_lib_posix_remove+set}" = set; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32181 ac_check_lib_save_LIBS
=$LIBS
32182 LIBS
="-lposix $LIBS"
32183 cat >conftest.
$ac_ext <<_ACEOF
32186 cat confdefs.h
>>conftest.
$ac_ext
32187 cat >>conftest.
$ac_ext <<_ACEOF
32188 /* end confdefs.h. */
32190 /* Override any GCC internal prototype to avoid an error.
32191 Use char because int might match the return type of a GCC
32192 builtin and then its argument prototype would still apply. */
32205 rm -f conftest.
$ac_objext conftest
$ac_exeext
32206 if { (ac_try
="$ac_link"
32207 case "(($ac_try" in
32208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32209 *) ac_try_echo=$ac_try;;
32211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32212 (eval "$ac_link") 2>conftest.er1
32214 grep -v '^ *+' conftest.er1 >conftest.err
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } && {
32219 test -z "$ac_c_werror_flag" ||
32220 test ! -s conftest.err
32221 } && test -s conftest$ac_exeext &&
32222 $as_test_x conftest$ac_exeext; then
32223 ac_cv_lib_posix_remove=yes
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32228 ac_cv_lib_posix_remove=no
32231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32232 conftest$ac_exeext conftest.$ac_ext
32233 LIBS=$ac_check_lib_save_LIBS
32235 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32236 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32237 if test $ac_cv_lib_posix_remove = yes; then
32238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32243 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32244 { echo "$as_me:$LINENO: checking for shmat" >&5
32245 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32246 if test "${ac_cv_func_shmat+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32249 cat >conftest.$ac_ext <<_ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32255 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32257 #define shmat innocuous_shmat
32259 /* System header to define __stub macros and hopefully few prototypes,
32260 which can conflict with char shmat (); below.
32261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32262 <limits.h> exists even on freestanding compilers. */
32265 # include <limits.h>
32267 # include <assert.h>
32272 /* Override any GCC internal prototype to avoid an error.
32273 Use char because int might match the return type of a GCC
32274 builtin and then its argument prototype would still apply. */
32279 /* The GNU C library defines this for functions which it implements
32280 to always fail with ENOSYS. Some functions are actually named
32281 something starting with __ and the normal name is an alias. */
32282 #if defined __stub_shmat || defined __stub___shmat
32294 rm -f conftest.$ac_objext conftest$ac_exeext
32295 if { (ac_try="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32298 *) ac_try_echo
=$ac_try;;
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32303 grep -v '^ *+' conftest.er1
>conftest.err
32305 cat conftest.err
>&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest
$ac_exeext &&
32311 $as_test_x conftest
$ac_exeext; then
32312 ac_cv_func_shmat
=yes
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32317 ac_cv_func_shmat
=no
32320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32321 conftest
$ac_exeext conftest.
$ac_ext
32323 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32324 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32326 if test $ac_cv_func_shmat = no
; then
32327 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32328 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32329 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 ac_check_lib_save_LIBS
=$LIBS
32334 cat >conftest.
$ac_ext <<_ACEOF
32337 cat confdefs.h
>>conftest.
$ac_ext
32338 cat >>conftest.
$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32341 /* Override any GCC internal prototype to avoid an error.
32342 Use char because int might match the return type of a GCC
32343 builtin and then its argument prototype would still apply. */
32356 rm -f conftest.
$ac_objext conftest
$ac_exeext
32357 if { (ac_try
="$ac_link"
32358 case "(($ac_try" in
32359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32360 *) ac_try_echo=$ac_try;;
32362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32363 (eval "$ac_link") 2>conftest.er1
32365 grep -v '^ *+' conftest.er1 >conftest.err
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } && {
32370 test -z "$ac_c_werror_flag" ||
32371 test ! -s conftest.err
32372 } && test -s conftest$ac_exeext &&
32373 $as_test_x conftest$ac_exeext; then
32374 ac_cv_lib_ipc_shmat=yes
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32379 ac_cv_lib_ipc_shmat=no
32382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32386 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32387 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32388 if test $ac_cv_lib_ipc_shmat = yes; then
32389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32395 # Check for libraries that X11R6 Xt/Xaw programs need.
32396 ac_save_LDFLAGS=$LDFLAGS
32397 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32398 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32399 # check for ICE first), but we must link in the order -lSM -lICE or
32400 # we get undefined symbols. So assume we have SM if we have ICE.
32401 # These have to be linked with before -lX11, unlike the other
32402 # libraries we check for below, so use a different variable.
32403 # John Interrante, Karl Berry
32404 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32405 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32406 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 ac_check_lib_save_LIBS=$LIBS
32410 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32411 cat >conftest.$ac_ext <<_ACEOF
32414 cat confdefs.h >>conftest.$ac_ext
32415 cat >>conftest.$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32418 /* Override any GCC internal prototype to avoid an error.
32419 Use char because int might match the return type of a GCC
32420 builtin and then its argument prototype would still apply. */
32424 char IceConnectionNumber ();
32428 return IceConnectionNumber ();
32433 rm -f conftest.$ac_objext conftest$ac_exeext
32434 if { (ac_try="$ac_link"
32435 case "(($ac_try" in
32436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32437 *) ac_try_echo
=$ac_try;;
32439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32440 (eval "$ac_link") 2>conftest.er1
32442 grep -v '^ *+' conftest.er1
>conftest.err
32444 cat conftest.err
>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); } && {
32447 test -z "$ac_c_werror_flag" ||
32448 test ! -s conftest.err
32449 } && test -s conftest
$ac_exeext &&
32450 $as_test_x conftest
$ac_exeext; then
32451 ac_cv_lib_ICE_IceConnectionNumber
=yes
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.
$ac_ext >&5
32456 ac_cv_lib_ICE_IceConnectionNumber
=no
32459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32460 conftest
$ac_exeext conftest.
$ac_ext
32461 LIBS
=$ac_check_lib_save_LIBS
32463 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32464 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32465 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32466 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32469 LDFLAGS
=$ac_save_LDFLAGS
32474 if test "$no_x" = "yes"; then
32475 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32476 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32477 { (exit 1); exit 1; }; }
32480 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32481 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32482 AFMINSTALL
=afminstall
32483 COMPILED_X_PROGRAM
=0
32487 if test "$wxUSE_X11" = 1; then
32488 if test "$wxUSE_NANOX" = "yes"; then
32489 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32490 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32491 if test "x$MICROWIN" = x
; then
32492 { echo "$as_me:$LINENO: result: not found" >&5
32493 echo "${ECHO_T}not found" >&6; }
32494 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32495 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32496 { (exit 1); exit 1; }; }
32498 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32499 echo "${ECHO_T}$MICROWIN" >&6; }
32500 cat >>confdefs.h
<<\_ACEOF
32501 #define wxUSE_NANOX 1
32507 if test "$wxUSE_UNICODE" = "yes"; then
32510 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32511 if test -n "$ac_tool_prefix"; then
32512 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32513 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32516 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 case $PKG_CONFIG in
32521 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32525 for as_dir
in $PATH
32528 test -z "$as_dir" && as_dir
=.
32529 for ac_exec_ext
in '' $ac_executable_extensions; do
32530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32531 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32542 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32543 if test -n "$PKG_CONFIG"; then
32544 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32545 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32547 { echo "$as_me:$LINENO: result: no" >&5
32548 echo "${ECHO_T}no" >&6; }
32553 if test -z "$ac_cv_path_PKG_CONFIG"; then
32554 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32555 # Extract the first word of "pkg-config", so it can be a program name with args.
32556 set dummy pkg
-config; ac_word
=$2
32557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32559 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32560 echo $ECHO_N "(cached) $ECHO_C" >&6
32562 case $ac_pt_PKG_CONFIG in
32564 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32568 for as_dir
in $PATH
32571 test -z "$as_dir" && as_dir
=.
32572 for ac_exec_ext
in '' $ac_executable_extensions; do
32573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32574 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32585 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32586 if test -n "$ac_pt_PKG_CONFIG"; then
32587 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32588 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32590 { echo "$as_me:$LINENO: result: no" >&5
32591 echo "${ECHO_T}no" >&6; }
32594 if test "x$ac_pt_PKG_CONFIG" = x
; then
32597 case $cross_compiling:$ac_tool_warned in
32599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32600 whose name does not start with the host triplet. If you think this
32601 configuration is useful to you, please write to autoconf@gnu.org." >&5
32602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32603 whose name does not start with the host triplet. If you think this
32604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32605 ac_tool_warned
=yes ;;
32607 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32610 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32614 if test -n "$PKG_CONFIG"; then
32615 _pkg_min_version
=0.9.0
32616 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32617 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32618 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32619 { echo "$as_me:$LINENO: result: yes" >&5
32620 echo "${ECHO_T}yes" >&6; }
32622 { echo "$as_me:$LINENO: result: no" >&5
32623 echo "${ECHO_T}no" >&6; }
32631 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32632 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32634 if test -n "$PKG_CONFIG"; then
32635 if test -n "$PANGOX_CFLAGS"; then
32636 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32638 if test -n "$PKG_CONFIG" && \
32639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32640 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); }; then
32644 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32652 if test -n "$PKG_CONFIG"; then
32653 if test -n "$PANGOX_LIBS"; then
32654 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32656 if test -n "$PKG_CONFIG" && \
32657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32658 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; then
32662 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32673 if test $pkg_failed = yes; then
32675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32676 _pkg_short_errors_supported
=yes
32678 _pkg_short_errors_supported
=no
32680 if test $_pkg_short_errors_supported = yes; then
32681 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32683 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32685 # Put the nasty error message in config.log where it belongs
32686 echo "$PANGOX_PKG_ERRORS" >&5
32689 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32690 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32691 { (exit 1); exit 1; }; }
32694 elif test $pkg_failed = untried
; then
32696 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32697 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32698 { (exit 1); exit 1; }; }
32702 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32703 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32704 { echo "$as_me:$LINENO: result: yes" >&5
32705 echo "${ECHO_T}yes" >&6; }
32707 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32708 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32714 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32715 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32717 if test -n "$PKG_CONFIG"; then
32718 if test -n "$PANGOFT2_CFLAGS"; then
32719 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32721 if test -n "$PKG_CONFIG" && \
32722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32723 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; then
32727 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32735 if test -n "$PKG_CONFIG"; then
32736 if test -n "$PANGOFT2_LIBS"; then
32737 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32739 if test -n "$PKG_CONFIG" && \
32740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32741 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; then
32745 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32756 if test $pkg_failed = yes; then
32758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32759 _pkg_short_errors_supported
=yes
32761 _pkg_short_errors_supported
=no
32763 if test $_pkg_short_errors_supported = yes; then
32764 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32766 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32768 # Put the nasty error message in config.log where it belongs
32769 echo "$PANGOFT2_PKG_ERRORS" >&5
32772 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32773 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32774 wxUSE_PRINTING_ARCHITECTURE
="no"
32777 elif test $pkg_failed = untried
; then
32779 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32780 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32781 wxUSE_PRINTING_ARCHITECTURE
="no"
32785 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32786 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32787 { echo "$as_me:$LINENO: result: yes" >&5
32788 echo "${ECHO_T}yes" >&6; }
32790 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32791 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32792 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32797 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32798 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32800 if test -n "$PKG_CONFIG"; then
32801 if test -n "$PANGOXFT_CFLAGS"; then
32802 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32804 if test -n "$PKG_CONFIG" && \
32805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32806 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; then
32810 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32818 if test -n "$PKG_CONFIG"; then
32819 if test -n "$PANGOXFT_LIBS"; then
32820 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32822 if test -n "$PKG_CONFIG" && \
32823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32824 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; then
32828 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32839 if test $pkg_failed = yes; then
32841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32842 _pkg_short_errors_supported
=yes
32844 _pkg_short_errors_supported
=no
32846 if test $_pkg_short_errors_supported = yes; then
32847 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32849 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32851 # Put the nasty error message in config.log where it belongs
32852 echo "$PANGOXFT_PKG_ERRORS" >&5
32855 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32856 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32859 elif test $pkg_failed = untried
; then
32861 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32862 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32866 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32867 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32868 { echo "$as_me:$LINENO: result: yes" >&5
32869 echo "${ECHO_T}yes" >&6; }
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define HAVE_PANGO_XFT 1
32875 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32876 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32877 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32881 LIBS
="$LIBS $PANGOX_LIBS"
32883 for ac_func
in pango_font_family_is_monospace
32885 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32888 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 cat >conftest.
$ac_ext <<_ACEOF
32894 cat confdefs.h
>>conftest.
$ac_ext
32895 cat >>conftest.
$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32899 #define $ac_func innocuous_$ac_func
32901 /* System header to define __stub macros and hopefully few prototypes,
32902 which can conflict with char $ac_func (); below.
32903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32904 <limits.h> exists even on freestanding compilers. */
32907 # include <limits.h>
32909 # include <assert.h>
32914 /* Override any GCC internal prototype to avoid an error.
32915 Use char because int might match the return type of a GCC
32916 builtin and then its argument prototype would still apply. */
32921 /* The GNU C library defines this for functions which it implements
32922 to always fail with ENOSYS. Some functions are actually named
32923 something starting with __ and the normal name is an alias. */
32924 #if defined __stub_$ac_func || defined __stub___$ac_func
32931 return $ac_func ();
32936 rm -f conftest.
$ac_objext conftest
$ac_exeext
32937 if { (ac_try
="$ac_link"
32938 case "(($ac_try" in
32939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32940 *) ac_try_echo=$ac_try;;
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943 (eval "$ac_link") 2>conftest.er1
32945 grep -v '^ *+' conftest.er1 >conftest.err
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } && {
32950 test -z "$ac_c_werror_flag" ||
32951 test ! -s conftest.err
32952 } && test -s conftest$ac_exeext &&
32953 $as_test_x conftest$ac_exeext; then
32954 eval "$as_ac_var=yes"
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32959 eval "$as_ac_var=no"
32962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32963 conftest$ac_exeext conftest.$ac_ext
32965 ac_res=`eval echo '${'$as_ac_var'}'`
32966 { echo "$as_me:$LINENO: result: $ac_res" >&5
32967 echo "${ECHO_T}$ac_res" >&6; }
32968 if test `eval echo '${'$as_ac_var'}'` = yes; then
32969 cat >>confdefs.h <<_ACEOF
32970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32979 wxUSE_UNIVERSAL="yes"
32981 if test "$wxUSE_NANOX" = "yes"; then
32982 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32983 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"
32984 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32993 if test "$wxUSE_MOTIF" = 1; then
32994 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32995 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32998 for ac_dir in $SEARCH_INCLUDE /usr/include;
33000 if test -f "$ac_dir/Xm/Xm.h"; then
33001 ac_find_includes=$ac_dir
33006 if test "$ac_find_includes" != "" ; then
33007 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33008 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33010 if test "x$ac_find_includes" = "x/usr/include"; then
33011 ac_path_to_include=""
33013 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33015 if test $result = 0; then
33016 ac_path_to_include=""
33018 ac_path_to_include=" -I$ac_find_includes"
33022 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33024 save_CFLAGS=$CFLAGS
33025 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33027 cat >conftest.$ac_ext <<_ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33041 version = xmUseVersion;
33047 rm -f conftest.$ac_objext
33048 if { (ac_try="$ac_compile"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33051 *) ac_try_echo
=$ac_try;;
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_compile") 2>conftest.er1
33056 grep -v '^ *+' conftest.er1
>conftest.err
33058 cat conftest.err
>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_c_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest.
$ac_objext; then
33065 { echo "$as_me:$LINENO: result: found in default search path" >&5
33066 echo "${ECHO_T}found in default search path" >&6; }
33067 COMPILED_X_PROGRAM
=1
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.
$ac_ext >&5
33074 { echo "$as_me:$LINENO: result: no" >&5
33075 echo "${ECHO_T}no" >&6; }
33076 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33077 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33078 { (exit 1); exit 1; }; }
33083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33085 CFLAGS
=$save_CFLAGS
33089 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33090 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33093 for ac_dir
in $SEARCH_LIB;
33095 for ac_extension
in a so sl dylib dll.a
; do
33096 if test -f "$ac_dir/libXm.$ac_extension"; then
33097 ac_find_libraries
=$ac_dir
33104 if test "x$ac_find_libraries" != "x" ; then
33105 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33106 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33109 if test "$ac_find_libraries" = "default location"; then
33112 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33114 if test $result = 0; then
33117 ac_path_to_link
=" -L$ac_find_libraries"
33121 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33123 save_CFLAGS
=$CFLAGS
33124 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33126 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33142 version = xmUseVersion;
33148 rm -f conftest.
$ac_objext conftest
$ac_exeext
33149 if { (ac_try
="$ac_link"
33150 case "(($ac_try" in
33151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33152 *) ac_try_echo=$ac_try;;
33154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33155 (eval "$ac_link") 2>conftest.er1
33157 grep -v '^ *+' conftest.er1 >conftest.err
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } && {
33162 test -z "$ac_c_werror_flag" ||
33163 test ! -s conftest.err
33164 } && test -s conftest$ac_exeext &&
33165 $as_test_x conftest$ac_exeext; then
33167 { echo "$as_me:$LINENO: result: found in default search path" >&5
33168 echo "${ECHO_T}found in default search path" >&6; }
33169 COMPILED_X_PROGRAM=1
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33176 { echo "$as_me:$LINENO: result: no" >&5
33177 echo "${ECHO_T}no" >&6; }
33178 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33179 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33180 { (exit 1); exit 1; }; }
33185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33186 conftest$ac_exeext conftest.$ac_ext
33188 CFLAGS=$save_CFLAGS
33192 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33193 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33197 for libp in "" " -lXp"; do
33198 if test "$libs_found" = 0; then
33199 for libsm_ice in "" " -lSM -lICE"; do
33200 if test "$libs_found" = 0; then
33202 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33203 save_CFLAGS=$CFLAGS
33204 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33206 cat >conftest.$ac_ext <<_ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33214 #include <Xm/List.h>
33220 XmString string = NULL;
33223 XmListAddItem(w, string, position);
33229 rm -f conftest.$ac_objext conftest$ac_exeext
33230 if { (ac_try="$ac_link"
33231 case "(($ac_try" in
33232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33233 *) ac_try_echo
=$ac_try;;
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_link") 2>conftest.er1
33238 grep -v '^ *+' conftest.er1
>conftest.err
33240 cat conftest.err
>&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest
$ac_exeext &&
33246 $as_test_x conftest
$ac_exeext; then
33249 libsm_ice_link
="$libsm_ice"
33250 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33251 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.
$ac_ext >&5
33262 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33263 conftest
$ac_exeext conftest.
$ac_ext
33266 CFLAGS
=$save_CFLAGS
33272 if test "$libs_found" = 0; then
33273 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33274 echo "${ECHO_T}can't find the right libraries" >&6; }
33275 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33276 echo "$as_me: error: can't link a simple motif program" >&2;}
33277 { (exit 1); exit 1; }; }
33280 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33281 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33282 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 ac_check_lib_save_LIBS
=$LIBS
33287 cat >conftest.
$ac_ext <<_ACEOF
33290 cat confdefs.h
>>conftest.
$ac_ext
33291 cat >>conftest.
$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33294 /* Override any GCC internal prototype to avoid an error.
33295 Use char because int might match the return type of a GCC
33296 builtin and then its argument prototype would still apply. */
33300 char SgCreateList ();
33304 return SgCreateList ();
33309 rm -f conftest.
$ac_objext conftest
$ac_exeext
33310 if { (ac_try
="$ac_link"
33311 case "(($ac_try" in
33312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_link") 2>conftest.er1
33318 grep -v '^ *+' conftest.er1 >conftest.err
33320 cat conftest.err >&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_c_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest$ac_exeext &&
33326 $as_test_x conftest$ac_exeext; then
33327 ac_cv_lib_Sgm_SgCreateList=yes
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 ac_cv_lib_Sgm_SgCreateList=no
33335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33336 conftest$ac_exeext conftest.$ac_ext
33337 LIBS=$ac_check_lib_save_LIBS
33339 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33340 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33341 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33342 libsgm_link=" -lSgm"
33346 save_CFLAGS=$CFLAGS
33347 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33349 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33350 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33351 if test "${wx_cv_lib_motif2+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 cat >conftest.$ac_ext <<_ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33367 #if XmVersion < 2000
33375 rm -f conftest.$ac_objext
33376 if { (ac_try="$ac_compile"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33379 *) ac_try_echo
=$ac_try;;
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_compile") 2>conftest.er1
33384 grep -v '^ *+' conftest.er1
>conftest.err
33386 cat conftest.err
>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_c_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest.
$ac_objext; then
33392 wx_cv_lib_motif2
="yes"
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.
$ac_ext >&5
33397 wx_cv_lib_motif2
="no"
33400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33402 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33403 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33404 if test "$wx_cv_lib_motif2" = "yes"; then
33405 cat >>confdefs.h
<<\_ACEOF
33406 #define __WXMOTIF20__ 1
33410 cat >>confdefs.h
<<\_ACEOF
33411 #define __WXMOTIF20__ 0
33416 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33417 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33418 if test "${wx_cv_lib_lesstif+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 cat >conftest.
$ac_ext <<_ACEOF
33424 cat confdefs.h
>>conftest.
$ac_ext
33425 cat >>conftest.
$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33434 #if !defined(LesstifVersion) || LesstifVersion <= 0
33442 rm -f conftest.
$ac_objext
33443 if { (ac_try
="$ac_compile"
33444 case "(($ac_try" in
33445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_compile") 2>conftest.er1
33451 grep -v '^ *+' conftest.er1 >conftest.err
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest.$ac_objext; then
33459 wx_cv_lib_lesstif="yes"
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33464 wx_cv_lib_lesstif="no"
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33470 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33471 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33472 if test "$wx_cv_lib_lesstif" = "yes"; then
33473 cat >>confdefs.h <<\_ACEOF
33474 #define __WXLESSTIF__ 1
33478 cat >>confdefs.h <<\_ACEOF
33479 #define __WXLESSTIF__ 0
33484 CFLAGS=$save_CFLAGS
33486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33491 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33492 if test "$wxUSE_LIBXPM" = "sys"; then
33493 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33494 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33497 for ac_dir in $SEARCH_LIB;
33499 for ac_extension in a so sl dylib dll.a; do
33500 if test -f "$ac_dir/libXpm.$ac_extension"; then
33501 ac_find_libraries=$ac_dir
33507 if test "$ac_find_libraries" != "" ; then
33509 if test "$ac_find_libraries" = "default location"; then
33512 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33514 if test $result = 0; then
33517 ac_path_to_link=" -L$ac_find_libraries"
33521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33522 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33523 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33525 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33526 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33527 if test "${wx_cv_x11_xpm_h+set}" = set; then
33528 echo $ECHO_N "(cached) $ECHO_C" >&6
33531 save_CFLAGS=$CFLAGS
33532 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33534 cat >conftest.$ac_ext <<_ACEOF
33537 cat confdefs.h >>conftest.$ac_ext
33538 cat >>conftest.$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33541 #include <X11/xpm.h>
33548 version = XpmLibraryVersion();
33554 rm -f conftest.$ac_objext
33555 if { (ac_try="$ac_compile"
33556 case "(($ac_try" in
33557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33558 *) ac_try_echo
=$ac_try;;
33560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33561 (eval "$ac_compile") 2>conftest.er1
33563 grep -v '^ *+' conftest.er1
>conftest.err
33565 cat conftest.err
>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } && {
33568 test -z "$ac_c_werror_flag" ||
33569 test ! -s conftest.err
33570 } && test -s conftest.
$ac_objext; then
33571 wx_cv_x11_xpm_h
=yes
33573 echo "$as_me: failed program was:" >&5
33574 sed 's/^/| /' conftest.
$ac_ext >&5
33580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33582 CFLAGS
=$save_CFLAGS
33586 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33587 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33589 if test $wx_cv_x11_xpm_h = "yes"; then
33590 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33591 cat >>confdefs.h
<<\_ACEOF
33592 #define wxHAVE_LIB_XPM 1
33596 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33597 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33603 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33604 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33605 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33608 ac_check_lib_save_LIBS
=$LIBS
33609 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33610 cat >conftest.
$ac_ext <<_ACEOF
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33617 /* Override any GCC internal prototype to avoid an error.
33618 Use char because int might match the return type of a GCC
33619 builtin and then its argument prototype would still apply. */
33623 char XShapeQueryExtension ();
33627 return XShapeQueryExtension ();
33632 rm -f conftest.
$ac_objext conftest
$ac_exeext
33633 if { (ac_try
="$ac_link"
33634 case "(($ac_try" in
33635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33636 *) ac_try_echo=$ac_try;;
33638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33639 (eval "$ac_link") 2>conftest.er1
33641 grep -v '^ *+' conftest.er1 >conftest.err
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } && {
33646 test -z "$ac_c_werror_flag" ||
33647 test ! -s conftest.err
33648 } && test -s conftest$ac_exeext &&
33649 $as_test_x conftest$ac_exeext; then
33650 ac_cv_lib_Xext_XShapeQueryExtension=yes
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33655 ac_cv_lib_Xext_XShapeQueryExtension=no
33658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33659 conftest$ac_exeext conftest.$ac_ext
33660 LIBS=$ac_check_lib_save_LIBS
33662 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33663 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33664 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33672 if test "$wxHAVE_XEXT_LIB" = 1; then
33673 save_CFLAGS="$CFLAGS"
33674 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33676 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33677 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33678 cat >conftest.$ac_ext <<_ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33685 #include <X11/Xlib.h>
33686 #include <X11/extensions/shape.h>
33692 int dummy1, dummy2;
33693 XShapeQueryExtension((Display*)NULL,
33694 (int*)NULL, (int*)NULL);
33700 rm -f conftest.$ac_objext
33701 if { (ac_try="$ac_compile"
33702 case "(($ac_try" in
33703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33704 *) ac_try_echo
=$ac_try;;
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707 (eval "$ac_compile") 2>conftest.er1
33709 grep -v '^ *+' conftest.er1
>conftest.err
33711 cat conftest.err
>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } && {
33714 test -z "$ac_c_werror_flag" ||
33715 test ! -s conftest.err
33716 } && test -s conftest.
$ac_objext; then
33718 cat >>confdefs.h
<<\_ACEOF
33719 #define HAVE_XSHAPE 1
33722 { echo "$as_me:$LINENO: result: found" >&5
33723 echo "${ECHO_T}found" >&6; }
33726 echo "$as_me: failed program was:" >&5
33727 sed 's/^/| /' conftest.
$ac_ext >&5
33730 { echo "$as_me:$LINENO: result: not found" >&5
33731 echo "${ECHO_T}not found" >&6; }
33735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33736 CFLAGS
="$save_CFLAGS"
33741 if test "$wxUSE_OSX_CARBON" = 1; then
33742 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33743 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33744 if test "$GCC" = yes; then
33745 { echo "$as_me:$LINENO: result: gcc" >&5
33746 echo "${ECHO_T}gcc" >&6; }
33747 CPPFLAGS_PASCAL
="-fpascal-strings"
33748 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33749 { echo "$as_me:$LINENO: result: xlc" >&5
33750 echo "${ECHO_T}xlc" >&6; }
33751 CPPFLAGS_PASCAL
="-qmacpstr"
33753 { echo "$as_me:$LINENO: result: none" >&5
33754 echo "${ECHO_T}none" >&6; }
33757 if test "x$wxUSE_UNIX" = "xyes"; then
33758 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33760 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33764 GUIDIST
=OSX_CARBON_DIST
33765 WXBASEPORT
="_carbon"
33767 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33770 if test "$wxUSE_OSX_COCOA" = 1; then
33772 GUIDIST
=OSX_COCOA_DIST
33774 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33777 if test "$wxUSE_OSX_IPHONE" = 1; then
33781 if test "$wxUSE_OLD_COCOA" = 1; then
33786 if test "$wxUSE_PM" = 1; then
33789 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33790 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33791 if test "${wx_cv_spbcdata+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 cat >conftest.
$ac_ext <<_ACEOF
33798 cat confdefs.h
>>conftest.
$ac_ext
33799 cat >>conftest.
$ac_ext <<_ACEOF
33800 /* end confdefs.h. */
33815 rm -f conftest.
$ac_objext
33816 if { (ac_try
="$ac_compile"
33817 case "(($ac_try" in
33818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33819 *) ac_try_echo=$ac_try;;
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_compile") 2>conftest.er1
33824 grep -v '^ *+' conftest.er1 >conftest.err
33826 cat conftest.err >&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } && {
33829 test -z "$ac_c_werror_flag" ||
33830 test ! -s conftest.err
33831 } && test -s conftest.$ac_objext; then
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33846 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33848 if test $wx_cv_spbcdata = "yes"; then
33849 cat >>confdefs.h <<\_ACEOF
33850 #define HAVE_SPBCDATA 1
33856 if test "$TOOLKIT" = "PM" ; then
33859 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33862 if test "$wxUSE_UNIVERSAL" = "yes"; then
33863 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33867 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33868 DISTDIR="wx\$(TOOLKIT)"
33874 if test "$USE_WIN32" = 1 ; then
33878 GUIDIST="BASE_DIST"
33884 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33885 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33886 wxUSE_UNICODE_UTF8=yes
33887 elif test "$USE_OS2" = 1 ; then
33888 wxUSE_UNICODE_UTF8=yes
33890 wxUSE_UNICODE_UTF8=no
33895 if test "$wxUSE_GUI" = "yes"; then
33896 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33898 for ac_header in X11/Xlib.h
33900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 cat >conftest.$ac_ext <<_ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33914 #include <$ac_header>
33916 rm -f conftest.$ac_objext
33917 if { (ac_try="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33920 *) ac_try_echo
=$ac_try;;
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33925 grep -v '^ *+' conftest.er1
>conftest.err
33927 cat conftest.err
>&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.
$ac_objext; then
33933 eval "$as_ac_Header=yes"
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 eval "$as_ac_Header=no"
33941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33943 ac_res
=`eval echo '${'$as_ac_Header'}'`
33944 { echo "$as_me:$LINENO: result: $ac_res" >&5
33945 echo "${ECHO_T}$ac_res" >&6; }
33946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33947 cat >>confdefs.h
<<_ACEOF
33948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33956 for ac_header
in X
11/XKBlib.h
33958 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33961 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33964 cat >conftest.
$ac_ext <<_ACEOF
33967 cat confdefs.h
>>conftest.
$ac_ext
33968 cat >>conftest.
$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33971 #if HAVE_X11_XLIB_H
33972 #include <X11/Xlib.h>
33976 #include <$ac_header>
33978 rm -f conftest.
$ac_objext
33979 if { (ac_try
="$ac_compile"
33980 case "(($ac_try" in
33981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33982 *) ac_try_echo=$ac_try;;
33984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33985 (eval "$ac_compile") 2>conftest.er1
33987 grep -v '^ *+' conftest.er1 >conftest.err
33989 cat conftest.err >&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); } && {
33992 test -z "$ac_c_werror_flag" ||
33993 test ! -s conftest.err
33994 } && test -s conftest.$ac_objext; then
33995 eval "$as_ac_Header=yes"
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
34000 eval "$as_ac_Header=no"
34003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34005 ac_res=`eval echo '${'$as_ac_Header'}'`
34006 { echo "$as_me:$LINENO: result: $ac_res" >&5
34007 echo "${ECHO_T}$ac_res" >&6; }
34008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34009 cat >>confdefs.h <<_ACEOF
34010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34023 if test "$wxUSE_DISPLAY" = "yes"; then
34024 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34025 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34026 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34029 for ac_dir in $SEARCH_LIB;
34031 for ac_extension in a so sl dylib dll.a; do
34032 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34033 ac_find_libraries=$ac_dir
34039 if test "$ac_find_libraries" != "" ; then
34041 if test "$ac_find_libraries" = "default location"; then
34044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34046 if test $result = 0; then
34049 ac_path_to_link=" -L$ac_find_libraries"
34053 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34054 LDFLAGS="$LDFLAGS $ac_path_to_link"
34057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34058 { echo "$as_me:$LINENO: result: yes" >&5
34059 echo "${ECHO_T}yes" >&6; }
34061 { echo "$as_me:$LINENO: result: no" >&5
34062 echo "${ECHO_T}no" >&6; }
34063 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34064 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34067 elif test "$wxUSE_MSW" = 1; then
34068 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34069 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34070 if test "${ac_cv_header_ddraw_h+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 cat >conftest.$ac_ext <<_ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 #include <windows.h>
34083 rm -f conftest.$ac_objext
34084 if { (ac_try="$ac_compile"
34085 case "(($ac_try" in
34086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34087 *) ac_try_echo
=$ac_try;;
34089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34090 (eval "$ac_compile") 2>conftest.er1
34092 grep -v '^ *+' conftest.er1
>conftest.err
34094 cat conftest.err
>&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); } && {
34097 test -z "$ac_c_werror_flag" ||
34098 test ! -s conftest.err
34099 } && test -s conftest.
$ac_objext; then
34100 ac_cv_header_ddraw_h
=yes
34102 echo "$as_me: failed program was:" >&5
34103 sed 's/^/| /' conftest.
$ac_ext >&5
34105 ac_cv_header_ddraw_h
=no
34108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34110 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34111 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34117 if test "$wxUSE_DISPLAY" = "yes"; then
34118 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34119 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34120 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34123 for ac_dir
in $SEARCH_LIB;
34125 for ac_extension
in a so sl dylib dll.a
; do
34126 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34127 ac_find_libraries
=$ac_dir
34133 if test "$ac_find_libraries" != "" ; then
34134 { echo "$as_me:$LINENO: result: yes" >&5
34135 echo "${ECHO_T}yes" >&6; }
34137 for ac_header
in X
11/extensions
/xf86vmode.h
34139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34142 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 cat >conftest.
$ac_ext <<_ACEOF
34148 cat confdefs.h
>>conftest.
$ac_ext
34149 cat >>conftest.
$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34152 #if HAVE_X11_XLIB_H
34153 #include <X11/Xlib.h>
34157 #include <$ac_header>
34159 rm -f conftest.
$ac_objext
34160 if { (ac_try
="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34168 grep -v '^ *+' conftest.er1 >conftest.err
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 eval "$as_ac_Header=yes"
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34181 eval "$as_ac_Header=no"
34184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186 ac_res=`eval echo '${'$as_ac_Header'}'`
34187 { echo "$as_me:$LINENO: result: $ac_res" >&5
34188 echo "${ECHO_T}$ac_res" >&6; }
34189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34190 cat >>confdefs.h <<_ACEOF
34191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34194 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34201 { echo "$as_me:$LINENO: result: no" >&5
34202 echo "${ECHO_T}no" >&6; }
34207 if test "$wxUSE_DETECT_SM" = "yes"; then
34208 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34209 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34210 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34213 for ac_dir in $SEARCH_LIB;
34215 for ac_extension in a so sl dylib dll.a; do
34216 if test -f "$ac_dir/libSM.$ac_extension"; then
34217 ac_find_libraries=$ac_dir
34223 if test "$ac_find_libraries" != "" ; then
34225 if test "$ac_find_libraries" = "default location"; then
34228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34230 if test $result = 0; then
34233 ac_path_to_link=" -L$ac_find_libraries"
34237 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34238 LDFLAGS="$LDFLAGS $ac_path_to_link"
34240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34241 { echo "$as_me:$LINENO: result: yes" >&5
34242 echo "${ECHO_T}yes" >&6; }
34244 { echo "$as_me:$LINENO: result: no" >&5
34245 echo "${ECHO_T}no" >&6; }
34246 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34247 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34248 wxUSE_DETECT_SM="no"
34251 wxUSE_DETECT_SM="no"
34258 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34261 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34262 OPENGL_LIBS="-framework OpenGL -framework AGL"
34263 elif test "$wxUSE_MSW" = 1; then
34264 OPENGL_LIBS="-lopengl32 -lglu32"
34265 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34267 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34268 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34271 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34273 if test -f "$ac_dir/GL/gl.h"; then
34274 ac_find_includes=$ac_dir
34279 if test "$ac_find_includes" != "" ; then
34280 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34281 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34283 if test "x$ac_find_includes" = "x/usr/include"; then
34284 ac_path_to_include=""
34286 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34288 if test $result = 0; then
34289 ac_path_to_include=""
34291 ac_path_to_include=" -I$ac_find_includes"
34295 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34297 { echo "$as_me:$LINENO: result: not found" >&5
34298 echo "${ECHO_T}not found" >&6; }
34301 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34302 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34303 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 cat >conftest.$ac_ext <<_ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34316 rm -f conftest.$ac_objext
34317 if { (ac_try="$ac_compile"
34318 case "(($ac_try" in
34319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34320 *) ac_try_echo
=$ac_try;;
34322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34323 (eval "$ac_compile") 2>conftest.er1
34325 grep -v '^ *+' conftest.er1
>conftest.err
34327 cat conftest.err
>&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); } && {
34330 test -z "$ac_c_werror_flag" ||
34331 test ! -s conftest.err
34332 } && test -s conftest.
$ac_objext; then
34333 ac_cv_header_GL_gl_h
=yes
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.
$ac_ext >&5
34338 ac_cv_header_GL_gl_h
=no
34341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34343 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34344 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34345 if test $ac_cv_header_GL_gl_h = yes; then
34347 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34348 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34349 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34350 echo $ECHO_N "(cached) $ECHO_C" >&6
34352 cat >conftest.
$ac_ext <<_ACEOF
34355 cat confdefs.h
>>conftest.
$ac_ext
34356 cat >>conftest.
$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34360 #include <GL/glu.h>
34362 rm -f conftest.
$ac_objext
34363 if { (ac_try
="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34371 grep -v '^ *+' conftest.er1 >conftest.err
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.$ac_objext; then
34379 ac_cv_header_GL_glu_h=yes
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34384 ac_cv_header_GL_glu_h=no
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34389 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34390 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34391 if test $ac_cv_header_GL_glu_h = yes; then
34395 { echo "$as_me:$LINENO: checking for -lGL" >&5
34396 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34399 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34401 for ac_extension in a so sl dylib dll.a; do
34402 if test -f "$ac_dir/libGL.$ac_extension"; then
34403 ac_find_libraries=$ac_dir
34409 if test "$ac_find_libraries" != "" ; then
34410 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34411 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34414 if test "$ac_find_libraries" = "default location"; then
34417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34419 if test $result = 0; then
34422 ac_path_to_link=" -L$ac_find_libraries"
34426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34427 LDFLAGS_GL="$ac_path_to_link"
34430 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34431 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34434 for ac_dir in $SEARCH_LIB;
34436 for ac_extension in a so sl dylib dll.a; do
34437 if test -f "$ac_dir/libGLU.$ac_extension"; then
34438 ac_find_libraries=$ac_dir
34444 if test "$ac_find_libraries" != "" ; then
34446 if test "$ac_find_libraries" = "default location"; then
34449 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34451 if test $result = 0; then
34454 ac_path_to_link=" -L$ac_find_libraries"
34458 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34459 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34460 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34464 OPENGL_LIBS="-lGL -lGLU"
34465 { echo "$as_me:$LINENO: result: yes" >&5
34466 echo "${ECHO_T}yes" >&6; }
34468 { echo "$as_me:$LINENO: result: no" >&5
34469 echo "${ECHO_T}no" >&6; }
34472 { echo "$as_me:$LINENO: result: no" >&5
34473 echo "${ECHO_T}no" >&6; }
34476 if test "$found_gl" != 1; then
34477 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34478 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34481 for ac_dir in $SEARCH_LIB;
34483 for ac_extension in a so sl dylib dll.a; do
34484 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34485 ac_find_libraries=$ac_dir
34491 if test "$ac_find_libraries" != "" ; then
34493 if test "$ac_find_libraries" = "default location"; then
34496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34498 if test $result = 0; then
34501 ac_path_to_link=" -L$ac_find_libraries"
34505 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34506 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34507 { echo "$as_me:$LINENO: result: yes" >&5
34508 echo "${ECHO_T}yes" >&6; }
34510 { echo "$as_me:$LINENO: result: no" >&5
34511 echo "${ECHO_T}no" >&6; }
34523 if test "x$OPENGL_LIBS" = "x"; then
34524 if test "$wxUSE_OPENGL" = "yes"; then
34525 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34526 echo "$as_me: error: OpenGL libraries not available" >&2;}
34527 { (exit 1); exit 1; }; }
34529 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34530 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34536 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34537 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34541 if test "$wxUSE_OPENGL" = "auto"; then
34545 if test "$wxUSE_OPENGL" = "yes"; then
34547 cat >>confdefs.h <<\_ACEOF
34548 #define wxUSE_OPENGL 1
34551 cat >>confdefs.h <<\_ACEOF
34552 #define wxUSE_GLCANVAS 1
34555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34560 if test -n "$TOOLKIT" ; then
34561 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34566 if test "$wxUSE_SHARED" = "yes"; then
34570 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34571 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34576 if test "$wxUSE_SHARED" = "yes"; then
34580 *-*-cygwin* | *-*-mingw* )
34581 wx_cv_version_script=no
34585 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34586 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34587 if test "${wx_cv_version_script+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 echo "VER_1 { *; };" >conftest.sym
34592 echo "int main() { return 0; }" >conftest.cpp
34595 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34596 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; } ; then
34602 if test -s conftest.stderr ; then
34603 wx_cv_version_script=no
34605 wx_cv_version_script=yes
34608 wx_cv_version_script=no
34611 if test $wx_cv_version_script = yes
34613 echo "struct B { virtual ~B() { } }; \
34614 struct D : public B { }; \
34615 void F() { D d; }" > conftest.cpp
34618 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34619 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; } &&
34626 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34627 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; }
34635 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34636 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; }
34643 wx_cv_version_script=yes
34645 wx_cv_version_script=no
34650 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34651 rm -f conftest1.output conftest2.output conftest3.output
34654 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34655 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34657 if test $wx_cv_version_script = yes ; then
34658 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34664 if test "$wxUSE_VISIBILITY" != "no"; then
34667 if test -n "$GCC"; then
34668 CFLAGS_VISIBILITY="-fvisibility=hidden"
34669 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34670 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34671 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34672 if test "${wx_cv_cc_visibility+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34676 wx_save_CXXFLAGS="$CXXFLAGS"
34677 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34684 cat >conftest.$ac_ext <<_ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34691 /* we need gcc >= 4.0, older versions with visibility support
34692 didn't have class visibility: */
34693 #if defined(__GNUC__) && __GNUC__ < 4
34694 error this gcc is too old;
34697 /* visibility only makes sense for ELF shared libs: */
34698 #if !defined(__ELF__) && !defined(__APPLE__)
34699 error this platform has no visibility;
34702 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34703 extern __attribute__((__visibility__("default"))) int exportedvar;
34704 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34705 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34706 class __attribute__((__visibility__("default"))) Foo {
34718 rm -f conftest.$ac_objext
34719 if { (ac_try="$ac_compile"
34720 case "(($ac_try" in
34721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34722 *) ac_try_echo
=$ac_try;;
34724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34725 (eval "$ac_compile") 2>conftest.er1
34727 grep -v '^ *+' conftest.er1
>conftest.err
34729 cat conftest.err
>&5
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); } && {
34732 test -z "$ac_cxx_werror_flag" ||
34733 test ! -s conftest.err
34734 } && test -s conftest.
$ac_objext; then
34735 wx_cv_cc_visibility
=yes
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.
$ac_ext >&5
34740 wx_cv_cc_visibility
=no
34743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34745 ac_cpp
='$CPP $CPPFLAGS'
34746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34750 CXXFLAGS
="$wx_save_CXXFLAGS"
34753 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34754 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34755 if test $wx_cv_cc_visibility = yes; then
34756 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34757 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34758 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 wx_save_CXXFLAGS
="$CXXFLAGS"
34763 wx_save_LDFLAGS
="$LDFLAGS"
34764 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34765 LDFLAGS
="$LDFLAGS -shared -fPIC"
34767 ac_cpp
='$CXXCPP $CPPFLAGS'
34768 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34769 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34772 cat >conftest.
$ac_ext <<_ACEOF
34775 cat confdefs.h
>>conftest.
$ac_ext
34776 cat >>conftest.
$ac_ext <<_ACEOF
34777 /* end confdefs.h. */
34785 std::string s("hello");
34792 rm -f conftest.
$ac_objext conftest
$ac_exeext
34793 if { (ac_try
="$ac_link"
34794 case "(($ac_try" in
34795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34796 *) ac_try_echo=$ac_try;;
34798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34799 (eval "$ac_link") 2>conftest.er1
34801 grep -v '^ *+' conftest.er1 >conftest.err
34803 cat conftest.err >&5
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); } && {
34806 test -z "$ac_cxx_werror_flag" ||
34807 test ! -s conftest.err
34808 } && test -s conftest$ac_exeext &&
34809 $as_test_x conftest$ac_exeext; then
34810 wx_cv_cc_broken_libstdcxx_visibility=no
34812 echo "$as_me: failed program was:" >&5
34813 sed 's/^/| /' conftest.$ac_ext >&5
34815 wx_cv_cc_broken_libstdcxx_visibility=yes
34818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34819 conftest$ac_exeext conftest.$ac_ext
34821 ac_cpp='$CPP $CPPFLAGS'
34822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34826 CXXFLAGS="$wx_save_CXXFLAGS"
34827 LDFLAGS="$wx_save_LDFLAGS"
34830 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34831 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34833 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34834 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34835 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34836 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 ac_cpp='$CXXCPP $CPPFLAGS'
34842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34846 cat >conftest.$ac_ext <<_ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34853 #pragma GCC visibility push(default)
34855 #pragma GCC visibility pop
34861 std::string s("hello");
34868 rm -f conftest.$ac_objext conftest$ac_exeext
34869 if { (ac_try="$ac_link"
34870 case "(($ac_try" in
34871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34872 *) ac_try_echo
=$ac_try;;
34874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34875 (eval "$ac_link") 2>conftest.er1
34877 grep -v '^ *+' conftest.er1
>conftest.err
34879 cat conftest.err
>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); } && {
34882 test -z "$ac_cxx_werror_flag" ||
34883 test ! -s conftest.err
34884 } && test -s conftest
$ac_exeext &&
34885 $as_test_x conftest
$ac_exeext; then
34886 wx_cv_cc_visibility_workaround
=no
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.
$ac_ext >&5
34891 wx_cv_cc_visibility_workaround
=yes
34894 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34895 conftest
$ac_exeext conftest.
$ac_ext
34897 ac_cpp
='$CPP $CPPFLAGS'
34898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34905 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34906 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34908 if test $wx_cv_cc_visibility_workaround = no
; then
34909 wx_cv_cc_visibility
=no
34914 if test $wx_cv_cc_visibility = yes; then
34915 cat >>confdefs.h
<<\_ACEOF
34916 #define HAVE_VISIBILITY 1
34919 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34920 cat >>confdefs.h
<<\_ACEOF
34921 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34926 CFLAGS_VISIBILITY
=""
34927 CXXFLAGS_VISIBILITY
=""
34935 if test "x$SUNCXX" = xyes
; then
34936 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34937 WXCONFIG_RPATH
="-R\$libdir"
34940 *-*-linux* | *-*-gnu* )
34941 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34942 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34947 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34949 saveLdflags
="$LDFLAGS"
34950 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34951 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34952 echo $ECHO_N "checking if the linker accepts -rpath... $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. */
34968 rm -f conftest.
$ac_objext conftest
$ac_exeext
34969 if { (ac_try
="$ac_link"
34970 case "(($ac_try" in
34971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34972 *) ac_try_echo=$ac_try;;
34974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34975 (eval "$ac_link") 2>conftest.er1
34977 grep -v '^ *+' conftest.er1 >conftest.err
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } && {
34982 test -z "$ac_c_werror_flag" ||
34983 test ! -s conftest.err
34984 } && test -s conftest$ac_exeext &&
34985 $as_test_x conftest$ac_exeext; then
34987 { echo "$as_me:$LINENO: result: yes" >&5
34988 echo "${ECHO_T}yes" >&6; }
34989 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34990 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34997 { echo "$as_me:$LINENO: result: no" >&5
34998 echo "${ECHO_T}no" >&6; }
34999 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35000 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35001 LDFLAGS="$saveLdflags -Wl,-R,/"
35002 cat >conftest.$ac_ext <<_ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35017 rm -f conftest.$ac_objext conftest$ac_exeext
35018 if { (ac_try="$ac_link"
35019 case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35021 *) ac_try_echo
=$ac_try;;
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_link") 2>conftest.er1
35026 grep -v '^ *+' conftest.er1
>conftest.err
35028 cat conftest.err
>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest
$ac_exeext &&
35034 $as_test_x conftest
$ac_exeext; then
35036 { echo "$as_me:$LINENO: result: yes" >&5
35037 echo "${ECHO_T}yes" >&6; }
35038 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35039 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.
$ac_ext >&5
35046 { echo "$as_me:$LINENO: result: no" >&5
35047 echo "${ECHO_T}no" >&6; }
35051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35052 conftest
$ac_exeext conftest.
$ac_ext
35056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35057 conftest
$ac_exeext conftest.
$ac_ext
35058 LDFLAGS
="$saveLdflags"
35062 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35063 if test "$install_name_tool" -a -x "$install_name_tool"; then
35064 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35065 cat <<EOF >change-install-names
35067 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35068 for i in \${libnames} ; do
35069 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35070 for dep in \${libnames} ; do
35071 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35075 chmod +x change
-install-names
35076 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35079 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35082 *-*-cygwin* | *-*-mingw32* )
35086 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35087 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35093 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35095 if test $wxUSE_RPATH = "no"; then
35096 SAMPLES_RPATH_FLAG
=''
35097 DYLIB_PATH_POSTLINK
=''
35105 config_linkage_component
="-static"
35112 lib_unicode_suffix
=
35114 if test "$wxUSE_UNICODE" = "yes"; then
35115 lib_unicode_suffix
=u
35116 WX_CHARTYPE
="unicode"
35120 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35121 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35124 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35128 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35130 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35132 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35135 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35136 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35138 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35140 if test "${TOOLKIT_DIR}" = "os2"; then
35141 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35143 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35148 if test "$wxUSE_OLD_COCOA" = 1; then
35151 ac_cpp
='$CPP $CPPFLAGS'
35152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35158 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35159 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35160 cat >conftest.
$ac_ext <<_ACEOF
35163 cat confdefs.h
>>conftest.
$ac_ext
35164 cat >>conftest.
$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35166 #include <AppKit/NSEvent.h>
35167 #include <CoreFoundation/CoreFoundation.h>
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_c_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest.$ac_objext; then
35194 { echo "$as_me:$LINENO: result: no" >&5
35195 echo "${ECHO_T}no" >&6; }
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35200 { echo "$as_me:$LINENO: result: yes" >&5
35201 echo "${ECHO_T}yes" >&6; }
35202 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35203 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35204 cat >conftest.$ac_ext <<_ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #define __Point__ 1
35211 #include <AppKit/NSEvent.h>
35212 #include <CoreFoundation/CoreFoundation.h>
35222 rm -f conftest.$ac_objext
35223 if { (ac_try="$ac_compile"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35226 *) ac_try_echo
=$ac_try;;
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_compile") 2>conftest.er1
35231 grep -v '^ *+' conftest.er1
>conftest.err
35233 cat conftest.err
>&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest.
$ac_objext; then
35239 { echo "$as_me:$LINENO: result: yes" >&5
35240 echo "${ECHO_T}yes" >&6; }
35241 cat >>confdefs.h
<<\_ACEOF
35242 #define __Point__ 1
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.
$ac_ext >&5
35250 { { echo "$as_me:$LINENO: error: no
35251 See \`config.log' for more details." >&5
35252 echo "$as_me: error: no
35253 See \`config.log' for more details." >&2;}
35254 { (exit 1); exit 1; }; }
35258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35264 ac_cpp
='$CPP $CPPFLAGS'
35265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35272 { echo "$as_me:$LINENO: checking for mode_t" >&5
35273 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35274 if test "${ac_cv_type_mode_t+set}" = set; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35277 cat >conftest.
$ac_ext <<_ACEOF
35280 cat confdefs.h
>>conftest.
$ac_ext
35281 cat >>conftest.
$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283 $ac_includes_default
35284 typedef mode_t ac__type_new_;
35288 if ((ac__type_new_ *) 0)
35290 if (sizeof (ac__type_new_))
35296 rm -f conftest.
$ac_objext
35297 if { (ac_try
="$ac_compile"
35298 case "(($ac_try" in
35299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35300 *) ac_try_echo=$ac_try;;
35302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35303 (eval "$ac_compile") 2>conftest.er1
35305 grep -v '^ *+' conftest.er1 >conftest.err
35307 cat conftest.err >&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); } && {
35310 test -z "$ac_c_werror_flag" ||
35311 test ! -s conftest.err
35312 } && test -s conftest.$ac_objext; then
35313 ac_cv_type_mode_t=yes
35315 echo "$as_me: failed program was:" >&5
35316 sed 's/^/| /' conftest.$ac_ext >&5
35318 ac_cv_type_mode_t=no
35321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35323 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35324 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35325 if test $ac_cv_type_mode_t = yes; then
35329 cat >>confdefs.h <<_ACEOF
35335 { echo "$as_me:$LINENO: checking for off_t" >&5
35336 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35337 if test "${ac_cv_type_off_t+set}" = set; then
35338 echo $ECHO_N "(cached) $ECHO_C" >&6
35340 cat >conftest.$ac_ext <<_ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346 $ac_includes_default
35347 typedef off_t ac__type_new_;
35351 if ((ac__type_new_ *) 0)
35353 if (sizeof (ac__type_new_))
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35363 *) ac_try_echo
=$ac_try;;
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35368 grep -v '^ *+' conftest.er1
>conftest.err
35370 cat conftest.err
>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.
$ac_objext; then
35376 ac_cv_type_off_t
=yes
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.
$ac_ext >&5
35381 ac_cv_type_off_t
=no
35384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35386 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35387 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35388 if test $ac_cv_type_off_t = yes; then
35392 cat >>confdefs.h
<<_ACEOF
35393 #define off_t long int
35398 { echo "$as_me:$LINENO: checking for pid_t" >&5
35399 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35400 if test "${ac_cv_type_pid_t+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.
$ac_ext <<_ACEOF
35406 cat confdefs.h
>>conftest.
$ac_ext
35407 cat >>conftest.
$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409 $ac_includes_default
35410 typedef pid_t ac__type_new_;
35414 if ((ac__type_new_ *) 0)
35416 if (sizeof (ac__type_new_))
35422 rm -f conftest.
$ac_objext
35423 if { (ac_try
="$ac_compile"
35424 case "(($ac_try" in
35425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35426 *) ac_try_echo=$ac_try;;
35428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35429 (eval "$ac_compile") 2>conftest.er1
35431 grep -v '^ *+' conftest.er1 >conftest.err
35433 cat conftest.err >&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); } && {
35436 test -z "$ac_c_werror_flag" ||
35437 test ! -s conftest.err
35438 } && test -s conftest.$ac_objext; then
35439 ac_cv_type_pid_t=yes
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.$ac_ext >&5
35444 ac_cv_type_pid_t=no
35447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35450 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35451 if test $ac_cv_type_pid_t = yes; then
35455 cat >>confdefs.h <<_ACEOF
35461 { echo "$as_me:$LINENO: checking for size_t" >&5
35462 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35463 if test "${ac_cv_type_size_t+set}" = set; then
35464 echo $ECHO_N "(cached) $ECHO_C" >&6
35466 cat >conftest.$ac_ext <<_ACEOF
35469 cat confdefs.h >>conftest.$ac_ext
35470 cat >>conftest.$ac_ext <<_ACEOF
35471 /* end confdefs.h. */
35472 $ac_includes_default
35473 typedef size_t ac__type_new_;
35477 if ((ac__type_new_ *) 0)
35479 if (sizeof (ac__type_new_))
35485 rm -f conftest.$ac_objext
35486 if { (ac_try="$ac_compile"
35487 case "(($ac_try" in
35488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35489 *) ac_try_echo
=$ac_try;;
35491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35492 (eval "$ac_compile") 2>conftest.er1
35494 grep -v '^ *+' conftest.er1
>conftest.err
35496 cat conftest.err
>&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); } && {
35499 test -z "$ac_c_werror_flag" ||
35500 test ! -s conftest.err
35501 } && test -s conftest.
$ac_objext; then
35502 ac_cv_type_size_t
=yes
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.
$ac_ext >&5
35507 ac_cv_type_size_t
=no
35510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35512 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35513 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35514 if test $ac_cv_type_size_t = yes; then
35518 cat >>confdefs.h
<<_ACEOF
35519 #define size_t unsigned int
35525 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35526 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35527 if test "${ac_cv_type_ssize_t+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 cat >conftest.
$ac_ext <<_ACEOF
35533 cat confdefs.h
>>conftest.
$ac_ext
35534 cat >>conftest.
$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 $ac_includes_default
35537 typedef ssize_t ac__type_new_;
35541 if ((ac__type_new_ *) 0)
35543 if (sizeof (ac__type_new_))
35549 rm -f conftest.
$ac_objext
35550 if { (ac_try
="$ac_compile"
35551 case "(($ac_try" in
35552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_compile") 2>conftest.er1
35558 grep -v '^ *+' conftest.er1 >conftest.err
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest.$ac_objext; then
35566 ac_cv_type_ssize_t=yes
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35571 ac_cv_type_ssize_t=no
35574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35577 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35578 if test $ac_cv_type_ssize_t = yes; then
35580 cat >>confdefs.h <<_ACEOF
35581 #define HAVE_SSIZE_T 1
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35594 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35595 if test "${wx_cv_size_t_is_uint+set}" = set; then
35596 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 cat >conftest.$ac_ext <<_ACEOF
35602 cat confdefs.h >>conftest.$ac_ext
35603 cat >>conftest.$ac_ext <<_ACEOF
35604 /* end confdefs.h. */
35605 #include <stddef.h>
35612 struct Foo { void foo(size_t); void foo(unsigned int); };
35620 rm -f conftest.$ac_objext
35621 if { (ac_try="$ac_compile"
35622 case "(($ac_try" in
35623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35624 *) ac_try_echo
=$ac_try;;
35626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35627 (eval "$ac_compile") 2>conftest.er1
35629 grep -v '^ *+' conftest.er1
>conftest.err
35631 cat conftest.err
>&5
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); } && {
35634 test -z "$ac_cxx_werror_flag" ||
35635 test ! -s conftest.err
35636 } && test -s conftest.
$ac_objext; then
35637 wx_cv_size_t_is_uint
=no
35639 echo "$as_me: failed program was:" >&5
35640 sed 's/^/| /' conftest.
$ac_ext >&5
35642 wx_cv_size_t_is_uint
=yes
35646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35650 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35651 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35653 if test "$wx_cv_size_t_is_uint" = "yes"; then
35654 cat >>confdefs.h
<<\_ACEOF
35655 #define wxSIZE_T_IS_UINT 1
35659 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35660 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35661 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 cat >conftest.
$ac_ext <<_ACEOF
35667 cat confdefs.h
>>conftest.
$ac_ext
35668 cat >>conftest.
$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35670 #include <stddef.h>
35677 struct Foo { void foo(size_t); void foo(unsigned long); };
35685 rm -f conftest.
$ac_objext
35686 if { (ac_try
="$ac_compile"
35687 case "(($ac_try" in
35688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35689 *) ac_try_echo=$ac_try;;
35691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35692 (eval "$ac_compile") 2>conftest.er1
35694 grep -v '^ *+' conftest.er1 >conftest.err
35696 cat conftest.err >&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); } && {
35699 test -z "$ac_cxx_werror_flag" ||
35700 test ! -s conftest.err
35701 } && test -s conftest.$ac_objext; then
35702 wx_cv_size_t_is_ulong=no
35704 echo "$as_me: failed program was:" >&5
35705 sed 's/^/| /' conftest.$ac_ext >&5
35707 wx_cv_size_t_is_ulong=yes
35711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35715 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35717 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxSIZE_T_IS_ULONG 1
35725 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35726 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35727 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 cat >conftest.$ac_ext <<_ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35743 struct Foo { void foo(wchar_t);
35744 void foo(unsigned short);
35745 void foo(unsigned int);
35746 void foo(unsigned long); };
35754 rm -f conftest.$ac_objext
35755 if { (ac_try="$ac_compile"
35756 case "(($ac_try" in
35757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35758 *) ac_try_echo
=$ac_try;;
35760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35761 (eval "$ac_compile") 2>conftest.er1
35763 grep -v '^ *+' conftest.er1
>conftest.err
35765 cat conftest.err
>&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } && {
35768 test -z "$ac_cxx_werror_flag" ||
35769 test ! -s conftest.err
35770 } && test -s conftest.
$ac_objext; then
35771 wx_cv_wchar_t_is_separate_type
=yes
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.
$ac_ext >&5
35776 wx_cv_wchar_t_is_separate_type
=no
35780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35783 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35784 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35786 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35787 cat >>confdefs.h
<<\_ACEOF
35788 #define wxWCHAR_T_IS_REAL_TYPE 1
35792 cat >>confdefs.h
<<\_ACEOF
35793 #define wxWCHAR_T_IS_REAL_TYPE 0
35799 ac_cpp
='$CPP $CPPFLAGS'
35800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35805 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35806 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35807 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 cat >conftest.
$ac_ext <<_ACEOF
35814 cat confdefs.h
>>conftest.
$ac_ext
35815 cat >>conftest.
$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35830 rm -f conftest.
$ac_objext
35831 if { (ac_try
="$ac_compile"
35832 case "(($ac_try" in
35833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35834 *) ac_try_echo=$ac_try;;
35836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35837 (eval "$ac_compile") 2>conftest.er1
35839 grep -v '^ *+' conftest.er1 >conftest.err
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } && {
35844 test -z "$ac_c_werror_flag" ||
35845 test ! -s conftest.err
35846 } && test -s conftest.$ac_objext; then
35848 wx_cv_struct_pw_gecos=yes
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35855 wx_cv_struct_pw_gecos=no
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35865 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35867 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35868 cat >>confdefs.h <<\_ACEOF
35869 #define HAVE_PW_GECOS 1
35875 if test "$wxUSE_WCHAR_T" = "yes"; then
35876 cat >>confdefs.h <<\_ACEOF
35877 #define wxUSE_WCHAR_T 1
35884 for ac_func in wcslen
35886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35890 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 cat >conftest.$ac_ext <<_ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35900 #define $ac_func innocuous_$ac_func
35902 /* System header to define __stub macros and hopefully few prototypes,
35903 which can conflict with char $ac_func (); below.
35904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35905 <limits.h> exists even on freestanding compilers. */
35908 # include <limits.h>
35910 # include <assert.h>
35915 /* Override any GCC internal prototype to avoid an error.
35916 Use char because int might match the return type of a GCC
35917 builtin and then its argument prototype would still apply. */
35922 /* The GNU C library defines this for functions which it implements
35923 to always fail with ENOSYS. Some functions are actually named
35924 something starting with __ and the normal name is an alias. */
35925 #if defined __stub_$ac_func || defined __stub___$ac_func
35932 return $ac_func ();
35937 rm -f conftest.$ac_objext conftest$ac_exeext
35938 if { (ac_try="$ac_link"
35939 case "(($ac_try" in
35940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35941 *) ac_try_echo
=$ac_try;;
35943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35944 (eval "$ac_link") 2>conftest.er1
35946 grep -v '^ *+' conftest.er1
>conftest.err
35948 cat conftest.err
>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } && {
35951 test -z "$ac_c_werror_flag" ||
35952 test ! -s conftest.err
35953 } && test -s conftest
$ac_exeext &&
35954 $as_test_x conftest
$ac_exeext; then
35955 eval "$as_ac_var=yes"
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.
$ac_ext >&5
35960 eval "$as_ac_var=no"
35963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35964 conftest
$ac_exeext conftest.
$ac_ext
35966 ac_res
=`eval echo '${'$as_ac_var'}'`
35967 { echo "$as_me:$LINENO: result: $ac_res" >&5
35968 echo "${ECHO_T}$ac_res" >&6; }
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h
<<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35978 if test "$WCSLEN_FOUND" = 0; then
35979 if test "$TOOLKIT" = "MSW"; then
35980 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35981 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35982 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35983 echo $ECHO_N "(cached) $ECHO_C" >&6
35985 ac_check_lib_save_LIBS
=$LIBS
35986 LIBS
="-lmsvcrt $LIBS"
35987 cat >conftest.
$ac_ext <<_ACEOF
35990 cat confdefs.h
>>conftest.
$ac_ext
35991 cat >>conftest.
$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35994 /* Override any GCC internal prototype to avoid an error.
35995 Use char because int might match the return type of a GCC
35996 builtin and then its argument prototype would still apply. */
36009 rm -f conftest.
$ac_objext conftest
$ac_exeext
36010 if { (ac_try
="$ac_link"
36011 case "(($ac_try" in
36012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36013 *) ac_try_echo=$ac_try;;
36015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36016 (eval "$ac_link") 2>conftest.er1
36018 grep -v '^ *+' conftest.er1 >conftest.err
36020 cat conftest.err >&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); } && {
36023 test -z "$ac_c_werror_flag" ||
36024 test ! -s conftest.err
36025 } && test -s conftest$ac_exeext &&
36026 $as_test_x conftest$ac_exeext; then
36027 ac_cv_lib_msvcrt_wcslen=yes
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36032 ac_cv_lib_msvcrt_wcslen=no
36035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36036 conftest$ac_exeext conftest.$ac_ext
36037 LIBS=$ac_check_lib_save_LIBS
36039 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36040 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36041 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36046 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36047 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36048 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36051 ac_check_lib_save_LIBS=$LIBS
36053 cat >conftest.$ac_ext <<_ACEOF
36056 cat confdefs.h >>conftest.$ac_ext
36057 cat >>conftest.$ac_ext <<_ACEOF
36058 /* end confdefs.h. */
36060 /* Override any GCC internal prototype to avoid an error.
36061 Use char because int might match the return type of a GCC
36062 builtin and then its argument prototype would still apply. */
36075 rm -f conftest.$ac_objext conftest$ac_exeext
36076 if { (ac_try="$ac_link"
36077 case "(($ac_try" in
36078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36079 *) ac_try_echo
=$ac_try;;
36081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36082 (eval "$ac_link") 2>conftest.er1
36084 grep -v '^ *+' conftest.er1
>conftest.err
36086 cat conftest.err
>&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); } && {
36089 test -z "$ac_c_werror_flag" ||
36090 test ! -s conftest.err
36091 } && test -s conftest
$ac_exeext &&
36092 $as_test_x conftest
$ac_exeext; then
36093 ac_cv_lib_w_wcslen
=yes
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.
$ac_ext >&5
36098 ac_cv_lib_w_wcslen
=no
36101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36102 conftest
$ac_exeext conftest.
$ac_ext
36103 LIBS
=$ac_check_lib_save_LIBS
36105 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36106 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36107 if test $ac_cv_lib_w_wcslen = yes; then
36117 if test "$WCSLEN_FOUND" = 1; then
36118 cat >>confdefs.h
<<\_ACEOF
36119 #define HAVE_WCSLEN 1
36129 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36134 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 cat >conftest.
$ac_ext <<_ACEOF
36140 cat confdefs.h
>>conftest.
$ac_ext
36141 cat >>conftest.
$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36145 #define $ac_func innocuous_$ac_func
36147 /* System header to define __stub macros and hopefully few prototypes,
36148 which can conflict with char $ac_func (); below.
36149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36150 <limits.h> exists even on freestanding compilers. */
36153 # include <limits.h>
36155 # include <assert.h>
36160 /* Override any GCC internal prototype to avoid an error.
36161 Use char because int might match the return type of a GCC
36162 builtin and then its argument prototype would still apply. */
36167 /* The GNU C library defines this for functions which it implements
36168 to always fail with ENOSYS. Some functions are actually named
36169 something starting with __ and the normal name is an alias. */
36170 #if defined __stub_$ac_func || defined __stub___$ac_func
36177 return $ac_func ();
36182 rm -f conftest.
$ac_objext conftest
$ac_exeext
36183 if { (ac_try
="$ac_link"
36184 case "(($ac_try" in
36185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36186 *) ac_try_echo=$ac_try;;
36188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36189 (eval "$ac_link") 2>conftest.er1
36191 grep -v '^ *+' conftest.er1 >conftest.err
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } && {
36196 test -z "$ac_c_werror_flag" ||
36197 test ! -s conftest.err
36198 } && test -s conftest$ac_exeext &&
36199 $as_test_x conftest$ac_exeext; then
36200 eval "$as_ac_var=yes"
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36205 eval "$as_ac_var=no"
36208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36209 conftest$ac_exeext conftest.$ac_ext
36211 ac_res=`eval echo '${'$as_ac_var'}'`
36212 { echo "$as_me:$LINENO: result: $ac_res" >&5
36213 echo "${ECHO_T}$ac_res" >&6; }
36214 if test `eval echo '${'$as_ac_var'}'` = yes; then
36215 cat >>confdefs.h <<_ACEOF
36216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36223 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36224 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36227 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36228 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36229 if test "${ac_cv_type_mbstate_t+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 cat >conftest.$ac_ext <<_ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36240 typedef mbstate_t ac__type_new_;
36244 if ((ac__type_new_ *) 0)
36246 if (sizeof (ac__type_new_))
36252 rm -f conftest.$ac_objext
36253 if { (ac_try="$ac_compile"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36256 *) ac_try_echo
=$ac_try;;
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_compile") 2>conftest.er1
36261 grep -v '^ *+' conftest.er1
>conftest.err
36263 cat conftest.err
>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest.
$ac_objext; then
36269 ac_cv_type_mbstate_t
=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.
$ac_ext >&5
36274 ac_cv_type_mbstate_t
=no
36277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36279 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36280 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36281 if test $ac_cv_type_mbstate_t = yes; then
36283 cat >>confdefs.h
<<_ACEOF
36284 #define HAVE_MBSTATE_T 1
36288 for ac_func
in wcsrtombs
36290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36293 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36296 cat >conftest.
$ac_ext <<_ACEOF
36299 cat confdefs.h
>>conftest.
$ac_ext
36300 cat >>conftest.
$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36304 #define $ac_func innocuous_$ac_func
36306 /* System header to define __stub macros and hopefully few prototypes,
36307 which can conflict with char $ac_func (); below.
36308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36309 <limits.h> exists even on freestanding compilers. */
36312 # include <limits.h>
36314 # include <assert.h>
36319 /* Override any GCC internal prototype to avoid an error.
36320 Use char because int might match the return type of a GCC
36321 builtin and then its argument prototype would still apply. */
36326 /* The GNU C library defines this for functions which it implements
36327 to always fail with ENOSYS. Some functions are actually named
36328 something starting with __ and the normal name is an alias. */
36329 #if defined __stub_$ac_func || defined __stub___$ac_func
36336 return $ac_func ();
36341 rm -f conftest.
$ac_objext conftest
$ac_exeext
36342 if { (ac_try
="$ac_link"
36343 case "(($ac_try" in
36344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36345 *) ac_try_echo=$ac_try;;
36347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36348 (eval "$ac_link") 2>conftest.er1
36350 grep -v '^ *+' conftest.er1 >conftest.err
36352 cat conftest.err >&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } && {
36355 test -z "$ac_c_werror_flag" ||
36356 test ! -s conftest.err
36357 } && test -s conftest$ac_exeext &&
36358 $as_test_x conftest$ac_exeext; then
36359 eval "$as_ac_var=yes"
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36364 eval "$as_ac_var=no"
36367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36368 conftest$ac_exeext conftest.$ac_ext
36370 ac_res=`eval echo '${'$as_ac_var'}'`
36371 { echo "$as_me:$LINENO: result: $ac_res" >&5
36372 echo "${ECHO_T}$ac_res" >&6; }
36373 if test `eval echo '${'$as_ac_var'}'` = yes; then
36374 cat >>confdefs.h <<_ACEOF
36375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36384 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36385 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36391 for ac_func in snprintf vsnprintf vsscanf
36393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36399 cat >conftest.$ac_ext <<_ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h. */
36405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36407 #define $ac_func innocuous_$ac_func
36409 /* System header to define __stub macros and hopefully few prototypes,
36410 which can conflict with char $ac_func (); below.
36411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36412 <limits.h> exists even on freestanding compilers. */
36415 # include <limits.h>
36417 # include <assert.h>
36422 /* Override any GCC internal prototype to avoid an error.
36423 Use char because int might match the return type of a GCC
36424 builtin and then its argument prototype would still apply. */
36429 /* The GNU C library defines this for functions which it implements
36430 to always fail with ENOSYS. Some functions are actually named
36431 something starting with __ and the normal name is an alias. */
36432 #if defined __stub_$ac_func || defined __stub___$ac_func
36439 return $ac_func ();
36444 rm -f conftest.$ac_objext conftest$ac_exeext
36445 if { (ac_try="$ac_link"
36446 case "(($ac_try" in
36447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36448 *) ac_try_echo
=$ac_try;;
36450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36451 (eval "$ac_link") 2>conftest.er1
36453 grep -v '^ *+' conftest.er1
>conftest.err
36455 cat conftest.err
>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } && {
36458 test -z "$ac_c_werror_flag" ||
36459 test ! -s conftest.err
36460 } && test -s conftest
$ac_exeext &&
36461 $as_test_x conftest
$ac_exeext; then
36462 eval "$as_ac_var=yes"
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.
$ac_ext >&5
36467 eval "$as_ac_var=no"
36470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36471 conftest
$ac_exeext conftest.
$ac_ext
36473 ac_res
=`eval echo '${'$as_ac_var'}'`
36474 { echo "$as_me:$LINENO: result: $ac_res" >&5
36475 echo "${ECHO_T}$ac_res" >&6; }
36476 if test `eval echo '${'$as_ac_var'}'` = yes; then
36477 cat >>confdefs.h
<<_ACEOF
36478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36486 ac_cpp
='$CXXCPP $CPPFLAGS'
36487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36491 if test "$ac_cv_func_vsnprintf" = "yes"; then
36492 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36493 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36494 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36498 cat >conftest.
$ac_ext <<_ACEOF
36501 cat confdefs.h
>>conftest.
$ac_ext
36502 cat >>conftest.
$ac_ext <<_ACEOF
36503 /* end confdefs.h. */
36506 #include <stdarg.h>
36508 #if __MSL__ >= 0x6000
36510 using namespace std;
36520 vsnprintf(buf, 10u, "%s", ap);
36526 rm -f conftest.
$ac_objext
36527 if { (ac_try
="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36535 grep -v '^ *+' conftest.er1 >conftest.err
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_func_vsnprintf_decl=yes
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 wx_cv_func_vsnprintf_decl=no
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36556 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36557 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36559 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36560 cat >>confdefs.h <<\_ACEOF
36561 #define HAVE_VSNPRINTF_DECL 1
36565 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36566 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36567 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 cat >conftest.$ac_ext <<_ACEOF
36574 cat confdefs.h >>conftest.$ac_ext
36575 cat >>conftest.$ac_ext <<_ACEOF
36576 /* end confdefs.h. */
36579 #include <stdarg.h>
36581 #if __MSL__ >= 0x6000
36583 using namespace std;
36593 const char *fmt = "%s";
36594 vsnprintf(buf, 10u, fmt, ap);
36600 rm -f conftest.$ac_objext
36601 if { (ac_try="$ac_compile"
36602 case "(($ac_try" in
36603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36604 *) ac_try_echo
=$ac_try;;
36606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36607 (eval "$ac_compile") 2>conftest.er1
36609 grep -v '^ *+' conftest.er1
>conftest.err
36611 cat conftest.err
>&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } && {
36614 test -z "$ac_cxx_werror_flag" ||
36615 test ! -s conftest.err
36616 } && test -s conftest.
$ac_objext; then
36617 wx_cv_func_broken_vsnprintf_decl
=no
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.
$ac_ext >&5
36622 wx_cv_func_broken_vsnprintf_decl
=yes
36626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36630 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36631 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36633 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36634 cat >>confdefs.h
<<\_ACEOF
36635 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36642 if test "$ac_cv_func_snprintf" = "yes"; then
36643 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36644 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36645 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36649 cat >conftest.
$ac_ext <<_ACEOF
36652 cat confdefs.h
>>conftest.
$ac_ext
36653 cat >>conftest.
$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36657 #include <stdarg.h>
36659 #if __MSL__ >= 0x6000
36661 using namespace std;
36670 snprintf(buf, 10u, "%s", "wx");
36676 rm -f conftest.
$ac_objext
36677 if { (ac_try
="$ac_compile"
36678 case "(($ac_try" in
36679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36680 *) ac_try_echo=$ac_try;;
36682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36683 (eval "$ac_compile") 2>conftest.er1
36685 grep -v '^ *+' conftest.er1 >conftest.err
36687 cat conftest.err >&5
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); } && {
36690 test -z "$ac_cxx_werror_flag" ||
36691 test ! -s conftest.err
36692 } && test -s conftest.$ac_objext; then
36693 wx_cv_func_snprintf_decl=yes
36695 echo "$as_me: failed program was:" >&5
36696 sed 's/^/| /' conftest.$ac_ext >&5
36698 wx_cv_func_snprintf_decl=no
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36707 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36709 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36710 cat >>confdefs.h <<\_ACEOF
36711 #define HAVE_SNPRINTF_DECL 1
36716 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36718 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36719 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36720 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36724 if test "$cross_compiling" = yes; then
36726 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36727 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36728 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36729 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36730 wx_cv_func_snprintf_pos_params=no
36734 cat >conftest.$ac_ext <<_ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36746 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36747 if (strcmp ("2 3 1", buffer) == 0)
36753 rm -f conftest$ac_exeext
36754 if { (ac_try="$ac_link"
36755 case "(($ac_try" in
36756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36757 *) ac_try_echo
=$ac_try;;
36759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36760 (eval "$ac_link") 2>&5
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36764 { (case "(($ac_try" in
36765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36766 *) ac_try_echo=$ac_try;;
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_try") 2>&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; }; then
36773 wx_cv_func_snprintf_pos_params=no
36775 echo "$as_me: program exited with status $ac_status" >&5
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36779 ( exit $ac_status )
36780 wx_cv_func_snprintf_pos_params=yes
36782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36789 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36790 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36792 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36793 cat >>confdefs.h <<\_ACEOF
36794 #define HAVE_UNIX98_PRINTF 1
36801 if test "$ac_cv_func_vsscanf" = "yes"; then
36802 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36803 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36804 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36808 cat >conftest.$ac_ext <<_ACEOF
36811 cat confdefs.h >>conftest.$ac_ext
36812 cat >>conftest.$ac_ext <<_ACEOF
36813 /* end confdefs.h. */
36816 #include <stdarg.h>
36818 #if __MSL__ >= 0x6000
36820 using namespace std;
36830 vsscanf(buf, "%s", args);
36836 rm -f conftest.$ac_objext
36837 if { (ac_try="$ac_compile"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36840 *) ac_try_echo
=$ac_try;;
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_compile") 2>conftest.er1
36845 grep -v '^ *+' conftest.er1
>conftest.err
36847 cat conftest.err
>&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_cxx_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest.
$ac_objext; then
36853 wx_cv_func_vsscanf_decl
=yes
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.
$ac_ext >&5
36858 wx_cv_func_vsscanf_decl
=no
36862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36866 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36867 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36869 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36870 cat >>confdefs.h
<<\_ACEOF
36871 #define HAVE_VSSCANF_DECL 1
36877 ac_cpp
='$CPP $CPPFLAGS'
36878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36883 if test "$wxUSE_UNICODE" = yes; then
36885 wchar_headers
="#include <stdio.h>
36886 #include <wchar.h>"
36890 for ac_header
in widec.h
36892 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36893 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36895 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 cat >conftest.
$ac_ext <<_ACEOF
36901 cat confdefs.h
>>conftest.
$ac_ext
36902 cat >>conftest.
$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 $ac_includes_default
36906 #include <$ac_header>
36908 rm -f conftest.
$ac_objext
36909 if { (ac_try
="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36917 grep -v '^ *+' conftest.er1 >conftest.err
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_c_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 eval "$as_ac_Header=yes"
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36930 eval "$as_ac_Header=no"
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36935 ac_res=`eval echo '${'$as_ac_Header'}'`
36936 { echo "$as_me:$LINENO: result: $ac_res" >&5
36937 echo "${ECHO_T}$ac_res" >&6; }
36938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36939 cat >>confdefs.h <<_ACEOF
36940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36947 if test "$ac_cv_header_widec_h" = "yes"; then
36948 wchar_headers="$wchar_headers
36949 #include <widec.h>"
36954 for wx_func in putws fputws wprintf vswprintf vswscanf
36956 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36957 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36958 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 cat >conftest.$ac_ext <<_ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36971 $ac_includes_default
36987 rm -f conftest.$ac_objext conftest$ac_exeext
36988 if { (ac_try="$ac_link"
36989 case "(($ac_try" in
36990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36991 *) ac_try_echo
=$ac_try;;
36993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36994 (eval "$ac_link") 2>conftest.er1
36996 grep -v '^ *+' conftest.er1
>conftest.err
36998 cat conftest.err
>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } && {
37001 test -z "$ac_c_werror_flag" ||
37002 test ! -s conftest.err
37003 } && test -s conftest
$ac_exeext &&
37004 $as_test_x conftest
$ac_exeext; then
37005 eval wx_cv_func_
$wx_func=yes
37007 echo "$as_me: failed program was:" >&5
37008 sed 's/^/| /' conftest.
$ac_ext >&5
37010 eval wx_cv_func_
$wx_func=no
37013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37014 conftest
$ac_exeext conftest.
$ac_ext
37017 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37018 { echo "$as_me:$LINENO: result: $ac_res" >&5
37019 echo "${ECHO_T}$ac_res" >&6; }
37021 if eval test \
$wx_cv_func_$wx_func = yes
37023 cat >>confdefs.h
<<_ACEOF
37024 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37035 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37036 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37037 cat >conftest.
$ac_ext <<_ACEOF
37040 cat confdefs.h
>>conftest.
$ac_ext
37041 cat >>conftest.
$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37052 rm -f conftest.
$ac_objext
37053 if { (ac_try
="$ac_compile"
37054 case "(($ac_try" in
37055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37056 *) ac_try_echo=$ac_try;;
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059 (eval "$ac_compile") 2>conftest.er1
37061 grep -v '^ *+' conftest.er1 >conftest.err
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } && {
37066 test -z "$ac_c_werror_flag" ||
37067 test ! -s conftest.err
37068 } && test -s conftest.$ac_objext; then
37069 { echo "$as_me:$LINENO: result: yes" >&5
37070 echo "${ECHO_T}yes" >&6; }
37071 cat >>confdefs.h <<\_ACEOF
37072 #define HAVE__VSNWPRINTF 1
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.$ac_ext >&5
37079 { echo "$as_me:$LINENO: result: no" >&5
37080 echo "${ECHO_T}no" >&6; }
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37086 if test "$wxUSE_FILE" = "yes"; then
37088 for wx_func in fsync
37090 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37091 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37092 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37093 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 cat >conftest.$ac_ext <<_ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37105 $ac_includes_default
37121 rm -f conftest.$ac_objext conftest$ac_exeext
37122 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest
$ac_exeext &&
37138 $as_test_x conftest
$ac_exeext; then
37139 eval wx_cv_func_
$wx_func=yes
37141 echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.
$ac_ext >&5
37144 eval wx_cv_func_
$wx_func=no
37147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37148 conftest
$ac_exeext conftest.
$ac_ext
37151 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37152 { echo "$as_me:$LINENO: result: $ac_res" >&5
37153 echo "${ECHO_T}$ac_res" >&6; }
37155 if eval test \
$wx_cv_func_$wx_func = yes
37157 cat >>confdefs.h
<<_ACEOF
37158 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37171 ac_cpp
='$CXXCPP $CPPFLAGS'
37172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37177 for wx_func
in round
37179 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37180 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37181 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 cat >conftest.
$ac_ext <<_ACEOF
37189 cat confdefs.h
>>conftest.
$ac_ext
37190 cat >>conftest.
$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37194 $ac_includes_default
37210 rm -f conftest.
$ac_objext conftest
$ac_exeext
37211 if { (ac_try
="$ac_link"
37212 case "(($ac_try" in
37213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_link") 2>conftest.er1
37219 grep -v '^ *+' conftest.er1 >conftest.err
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_cxx_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest$ac_exeext &&
37227 $as_test_x conftest$ac_exeext; then
37228 eval wx_cv_func_$wx_func=yes
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 eval wx_cv_func_$wx_func=no
37236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37237 conftest$ac_exeext conftest.$ac_ext
37240 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37241 { echo "$as_me:$LINENO: result: $ac_res" >&5
37242 echo "${ECHO_T}$ac_res" >&6; }
37244 if eval test \$wx_cv_func_$wx_func = yes
37246 cat >>confdefs.h <<_ACEOF
37247 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37258 ac_cpp='$CPP $CPPFLAGS'
37259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37264 if test "$TOOLKIT" != "MSW"; then
37266 if test "$wxUSE_LIBICONV" != "no" ; then
37270 # Check whether --with-libiconv-prefix was given.
37271 if test "${with_libiconv_prefix+set}" = set; then
37272 withval=$with_libiconv_prefix;
37273 for dir in `echo "$withval" | tr : ' '`; do
37274 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37275 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37281 { echo "$as_me:$LINENO: checking for iconv" >&5
37282 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37283 if test "${am_cv_func_iconv+set}" = set; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37287 am_cv_func_iconv="no, consider installing GNU libiconv"
37289 cat >conftest.$ac_ext <<_ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295 #include <stdlib.h>
37300 iconv_t cd = iconv_open("","");
37301 iconv(cd,NULL,NULL,NULL,NULL);
37307 rm -f conftest.$ac_objext conftest$ac_exeext
37308 if { (ac_try="$ac_link"
37309 case "(($ac_try" in
37310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37311 *) ac_try_echo
=$ac_try;;
37313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37314 (eval "$ac_link") 2>conftest.er1
37316 grep -v '^ *+' conftest.er1
>conftest.err
37318 cat conftest.err
>&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } && {
37321 test -z "$ac_c_werror_flag" ||
37322 test ! -s conftest.err
37323 } && test -s conftest
$ac_exeext &&
37324 $as_test_x conftest
$ac_exeext; then
37325 am_cv_func_iconv
=yes
37327 echo "$as_me: failed program was:" >&5
37328 sed 's/^/| /' conftest.
$ac_ext >&5
37333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37334 conftest
$ac_exeext conftest.
$ac_ext
37335 if test "$am_cv_func_iconv" != yes; then
37336 am_save_LIBS
="$LIBS"
37337 LIBS
="$LIBS -liconv"
37338 cat >conftest.
$ac_ext <<_ACEOF
37341 cat confdefs.h
>>conftest.
$ac_ext
37342 cat >>conftest.
$ac_ext <<_ACEOF
37343 /* end confdefs.h. */
37344 #include <stdlib.h>
37349 iconv_t cd = iconv_open("","");
37350 iconv(cd,NULL,NULL,NULL,NULL);
37356 rm -f conftest.
$ac_objext conftest
$ac_exeext
37357 if { (ac_try
="$ac_link"
37358 case "(($ac_try" in
37359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37360 *) ac_try_echo=$ac_try;;
37362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37363 (eval "$ac_link") 2>conftest.er1
37365 grep -v '^ *+' conftest.er1 >conftest.err
37367 cat conftest.err >&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); } && {
37370 test -z "$ac_c_werror_flag" ||
37371 test ! -s conftest.err
37372 } && test -s conftest$ac_exeext &&
37373 $as_test_x conftest$ac_exeext; then
37374 am_cv_lib_iconv=yes
37375 am_cv_func_iconv=yes
37377 echo "$as_me: failed program was:" >&5
37378 sed 's/^/| /' conftest.$ac_ext >&5
37383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37384 conftest$ac_exeext conftest.$ac_ext
37385 LIBS="$am_save_LIBS"
37389 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37390 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37391 if test "$am_cv_func_iconv" = yes; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define HAVE_ICONV 1
37397 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37398 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37399 if test "${wx_cv_func_iconv_const+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37402 cat >conftest.$ac_ext <<_ACEOF
37405 cat confdefs.h >>conftest.$ac_ext
37406 cat >>conftest.$ac_ext <<_ACEOF
37407 /* end confdefs.h. */
37409 #include <stdlib.h>
37415 #if defined(__STDC__) || defined(__cplusplus)
37416 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37429 rm -f conftest.$ac_objext
37430 if { (ac_try="$ac_compile"
37431 case "(($ac_try" in
37432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37433 *) ac_try_echo
=$ac_try;;
37435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37436 (eval "$ac_compile") 2>conftest.er1
37438 grep -v '^ *+' conftest.er1
>conftest.err
37440 cat conftest.err
>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } && {
37443 test -z "$ac_c_werror_flag" ||
37444 test ! -s conftest.err
37445 } && test -s conftest.
$ac_objext; then
37446 wx_cv_func_iconv_const
="no"
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.
$ac_ext >&5
37451 wx_cv_func_iconv_const
="yes"
37455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37458 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37459 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37462 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37463 iconv_const
="const"
37467 cat >>confdefs.h
<<_ACEOF
37468 #define ICONV_CONST $iconv_const
37473 if test "$am_cv_lib_iconv" = yes; then
37478 LIBS
="$LIBICONV $LIBS"
37481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37483 for ac_func
in sigaction
37485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37488 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37491 cat >conftest.
$ac_ext <<_ACEOF
37494 cat confdefs.h
>>conftest.
$ac_ext
37495 cat >>conftest.
$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37499 #define $ac_func innocuous_$ac_func
37501 /* System header to define __stub macros and hopefully few prototypes,
37502 which can conflict with char $ac_func (); below.
37503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37504 <limits.h> exists even on freestanding compilers. */
37507 # include <limits.h>
37509 # include <assert.h>
37514 /* Override any GCC internal prototype to avoid an error.
37515 Use char because int might match the return type of a GCC
37516 builtin and then its argument prototype would still apply. */
37521 /* The GNU C library defines this for functions which it implements
37522 to always fail with ENOSYS. Some functions are actually named
37523 something starting with __ and the normal name is an alias. */
37524 #if defined __stub_$ac_func || defined __stub___$ac_func
37531 return $ac_func ();
37536 rm -f conftest.
$ac_objext conftest
$ac_exeext
37537 if { (ac_try
="$ac_link"
37538 case "(($ac_try" in
37539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_link") 2>conftest.er1
37545 grep -v '^ *+' conftest.er1 >conftest.err
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest$ac_exeext &&
37553 $as_test_x conftest$ac_exeext; then
37554 eval "$as_ac_var=yes"
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37559 eval "$as_ac_var=no"
37562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37563 conftest$ac_exeext conftest.$ac_ext
37565 ac_res=`eval echo '${'$as_ac_var'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568 if test `eval echo '${'$as_ac_var'}'` = yes; then
37569 cat >>confdefs.h <<_ACEOF
37570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37577 if test "$ac_cv_func_sigaction" = "no"; then
37578 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37579 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37580 wxUSE_ON_FATAL_EXCEPTION=no
37583 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37584 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37585 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37586 if test "${wx_cv_type_sa_handler+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37596 cat >conftest.$ac_ext <<_ACEOF
37599 cat confdefs.h >>conftest.$ac_ext
37600 cat >>conftest.$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 #include <signal.h>
37607 extern void testSigHandler(int);
37609 struct sigaction sa;
37610 sa.sa_handler = testSigHandler;
37616 rm -f conftest.$ac_objext
37617 if { (ac_try="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37620 *) ac_try_echo
=$ac_try;;
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37625 grep -v '^ *+' conftest.er1
>conftest.err
37627 cat conftest.err
>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_cxx_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest.
$ac_objext; then
37634 wx_cv_type_sa_handler
=int
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.
$ac_ext >&5
37641 wx_cv_type_sa_handler
=void
37645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37647 ac_cpp
='$CPP $CPPFLAGS'
37648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37654 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37655 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37657 cat >>confdefs.h
<<_ACEOF
37658 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37664 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37665 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37666 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37667 if test "${wx_cv_func_backtrace+set}" = set; then
37668 echo $ECHO_N "(cached) $ECHO_C" >&6
37672 ac_cpp
='$CXXCPP $CPPFLAGS'
37673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37677 cat >conftest.
$ac_ext <<_ACEOF
37680 cat confdefs.h
>>conftest.
$ac_ext
37681 cat >>conftest.
$ac_ext <<_ACEOF
37682 /* end confdefs.h. */
37683 #include <execinfo.h>
37691 backtrace(trace, 1);
37692 messages = backtrace_symbols(trace, 1);
37698 rm -f conftest.
$ac_objext
37699 if { (ac_try
="$ac_compile"
37700 case "(($ac_try" in
37701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37702 *) ac_try_echo=$ac_try;;
37704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37705 (eval "$ac_compile") 2>conftest.er1
37707 grep -v '^ *+' conftest.er1 >conftest.err
37709 cat conftest.err >&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } && {
37712 test -z "$ac_cxx_werror_flag" ||
37713 test ! -s conftest.err
37714 } && test -s conftest.$ac_objext; then
37715 wx_cv_func_backtrace=yes
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37720 wx_cv_func_backtrace=no
37724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37726 ac_cpp='$CPP $CPPFLAGS'
37727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37734 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37735 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37738 if test "$wx_cv_func_backtrace" = "no"; then
37739 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37740 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37741 wxUSE_STACKWALKER=no
37743 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37744 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37745 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37755 cat >conftest.$ac_ext <<_ACEOF
37758 cat confdefs.h >>conftest.$ac_ext
37759 cat >>conftest.$ac_ext <<_ACEOF
37760 /* end confdefs.h. */
37761 #include <cxxabi.h>
37767 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (ac_try="$ac_link"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37777 *) ac_try_echo
=$ac_try;;
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_link") 2>conftest.er1
37782 grep -v '^ *+' conftest.er1
>conftest.err
37784 cat conftest.err
>&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_cxx_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest
$ac_exeext &&
37790 $as_test_x conftest
$ac_exeext; then
37791 wx_cv_func_cxa_demangle
=yes
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.
$ac_ext >&5
37796 wx_cv_func_cxa_demangle
=no
37800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37801 conftest
$ac_exeext conftest.
$ac_ext
37803 ac_cpp
='$CPP $CPPFLAGS'
37804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37811 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37812 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37814 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37815 cat >>confdefs.h
<<\_ACEOF
37816 #define HAVE_CXA_DEMANGLE 1
37823 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37824 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37825 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37826 wxUSE_STACKWALKER
=no
37832 for ac_func
in mkstemp mktemp
37834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37837 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37840 cat >conftest.
$ac_ext <<_ACEOF
37843 cat confdefs.h
>>conftest.
$ac_ext
37844 cat >>conftest.
$ac_ext <<_ACEOF
37845 /* end confdefs.h. */
37846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37848 #define $ac_func innocuous_$ac_func
37850 /* System header to define __stub macros and hopefully few prototypes,
37851 which can conflict with char $ac_func (); below.
37852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37853 <limits.h> exists even on freestanding compilers. */
37856 # include <limits.h>
37858 # include <assert.h>
37863 /* Override any GCC internal prototype to avoid an error.
37864 Use char because int might match the return type of a GCC
37865 builtin and then its argument prototype would still apply. */
37870 /* The GNU C library defines this for functions which it implements
37871 to always fail with ENOSYS. Some functions are actually named
37872 something starting with __ and the normal name is an alias. */
37873 #if defined __stub_$ac_func || defined __stub___$ac_func
37880 return $ac_func ();
37885 rm -f conftest.
$ac_objext conftest
$ac_exeext
37886 if { (ac_try
="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37894 grep -v '^ *+' conftest.er1 >conftest.err
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 eval "$as_ac_var=yes"
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 eval "$as_ac_var=no"
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37914 ac_res=`eval echo '${'$as_ac_var'}'`
37915 { echo "$as_me:$LINENO: result: $ac_res" >&5
37916 echo "${ECHO_T}$ac_res" >&6; }
37917 if test `eval echo '${'$as_ac_var'}'` = yes; then
37918 cat >>confdefs.h <<_ACEOF
37919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37926 { echo "$as_me:$LINENO: checking for statfs" >&5
37927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37928 if test "${wx_cv_func_statfs+set}" = set; then
37929 echo $ECHO_N "(cached) $ECHO_C" >&6
37931 cat >conftest.$ac_ext <<_ACEOF
37934 cat confdefs.h >>conftest.$ac_ext
37935 cat >>conftest.$ac_ext <<_ACEOF
37936 /* end confdefs.h. */
37938 #if defined(__BSD__)
37939 #include <sys/param.h>
37940 #include <sys/mount.h>
37942 #include <sys/vfs.h>
37960 rm -f conftest.$ac_objext
37961 if { (ac_try="$ac_compile"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37964 *) ac_try_echo
=$ac_try;;
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_compile") 2>conftest.er1
37969 grep -v '^ *+' conftest.er1
>conftest.err
37971 cat conftest.err
>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_c_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest.
$ac_objext; then
37977 wx_cv_func_statfs
=yes
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.
$ac_ext >&5
37982 wx_cv_func_statfs
=no
37986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37989 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37990 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37992 if test "$wx_cv_func_statfs" = "yes"; then
37993 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37994 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37995 if test "${wx_cv_func_statfs_decl+set}" = set; then
37996 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 ac_cpp
='$CXXCPP $CPPFLAGS'
38000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38004 cat >conftest.
$ac_ext <<_ACEOF
38007 cat confdefs.h
>>conftest.
$ac_ext
38008 cat >>conftest.
$ac_ext <<_ACEOF
38009 /* end confdefs.h. */
38011 #if defined(__BSD__)
38012 #include <sys/param.h>
38013 #include <sys/mount.h>
38015 #include <sys/vfs.h>
38029 rm -f conftest.
$ac_objext
38030 if { (ac_try
="$ac_compile"
38031 case "(($ac_try" in
38032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38033 *) ac_try_echo=$ac_try;;
38035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38036 (eval "$ac_compile") 2>conftest.er1
38038 grep -v '^ *+' conftest.er1 >conftest.err
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } && {
38043 test -z "$ac_cxx_werror_flag" ||
38044 test ! -s conftest.err
38045 } && test -s conftest.$ac_objext; then
38046 wx_cv_func_statfs_decl=yes
38048 echo "$as_me: failed program was:" >&5
38049 sed 's/^/| /' conftest.$ac_ext >&5
38051 wx_cv_func_statfs_decl=no
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38057 ac_cpp='$CPP $CPPFLAGS'
38058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38065 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38067 if test "$wx_cv_func_statfs_decl" = "yes"; then
38068 cat >>confdefs.h <<\_ACEOF
38069 #define HAVE_STATFS_DECL 1
38074 wx_cv_type_statvfs_t="struct statfs"
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_STATFS 1
38080 { echo "$as_me:$LINENO: checking for statvfs" >&5
38081 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38082 if test "${wx_cv_func_statvfs+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 cat >conftest.$ac_ext <<_ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38092 #include <stddef.h>
38093 #include <sys/statvfs.h>
38099 statvfs("/", NULL);
38105 rm -f conftest.$ac_objext
38106 if { (ac_try="$ac_compile"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38109 *) ac_try_echo
=$ac_try;;
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_compile") 2>conftest.er1
38114 grep -v '^ *+' conftest.er1
>conftest.err
38116 cat conftest.err
>&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest.
$ac_objext; then
38122 wx_cv_func_statvfs
=yes
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.
$ac_ext >&5
38127 wx_cv_func_statvfs
=no
38131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38134 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38135 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38137 if test "$wx_cv_func_statvfs" = "yes"; then
38138 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38139 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38140 if test "${wx_cv_type_statvfs_t+set}" = set; then
38141 echo $ECHO_N "(cached) $ECHO_C" >&6
38144 ac_cpp
='$CXXCPP $CPPFLAGS'
38145 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38149 cat >conftest.
$ac_ext <<_ACEOF
38152 cat confdefs.h
>>conftest.
$ac_ext
38153 cat >>conftest.
$ac_ext <<_ACEOF
38154 /* end confdefs.h. */
38156 #include <sys/statvfs.h>
38173 rm -f conftest.
$ac_objext
38174 if { (ac_try
="$ac_compile"
38175 case "(($ac_try" in
38176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38177 *) ac_try_echo=$ac_try;;
38179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38180 (eval "$ac_compile") 2>conftest.er1
38182 grep -v '^ *+' conftest.er1 >conftest.err
38184 cat conftest.err >&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } && {
38187 test -z "$ac_cxx_werror_flag" ||
38188 test ! -s conftest.err
38189 } && test -s conftest.$ac_objext; then
38190 wx_cv_type_statvfs_t=statvfs_t
38192 echo "$as_me: failed program was:" >&5
38193 sed 's/^/| /' conftest.$ac_ext >&5
38196 cat >conftest.$ac_ext <<_ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38203 #include <sys/statvfs.h>
38220 rm -f conftest.$ac_objext
38221 if { (ac_try="$ac_compile"
38222 case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38224 *) ac_try_echo
=$ac_try;;
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_compile") 2>conftest.er1
38229 grep -v '^ *+' conftest.er1
>conftest.err
38231 cat conftest.err
>&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_cxx_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest.
$ac_objext; then
38237 wx_cv_type_statvfs_t
="struct statvfs"
38239 echo "$as_me: failed program was:" >&5
38240 sed 's/^/| /' conftest.
$ac_ext >&5
38242 wx_cv_type_statvfs_t
="unknown"
38246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38253 ac_cpp
='$CPP $CPPFLAGS'
38254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38260 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38261 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38263 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38264 cat >>confdefs.h
<<\_ACEOF
38265 #define HAVE_STATVFS 1
38270 wx_cv_type_statvfs_t
="unknown"
38274 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38275 cat >>confdefs.h
<<_ACEOF
38276 #define WX_STATFS_T $wx_cv_type_statvfs_t
38280 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38281 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38287 for ac_func
in fcntl flock
38289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38292 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38293 echo $ECHO_N "(cached) $ECHO_C" >&6
38295 cat >conftest.
$ac_ext <<_ACEOF
38298 cat confdefs.h
>>conftest.
$ac_ext
38299 cat >>conftest.
$ac_ext <<_ACEOF
38300 /* end confdefs.h. */
38301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38303 #define $ac_func innocuous_$ac_func
38305 /* System header to define __stub macros and hopefully few prototypes,
38306 which can conflict with char $ac_func (); below.
38307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38308 <limits.h> exists even on freestanding compilers. */
38311 # include <limits.h>
38313 # include <assert.h>
38318 /* Override any GCC internal prototype to avoid an error.
38319 Use char because int might match the return type of a GCC
38320 builtin and then its argument prototype would still apply. */
38325 /* The GNU C library defines this for functions which it implements
38326 to always fail with ENOSYS. Some functions are actually named
38327 something starting with __ and the normal name is an alias. */
38328 #if defined __stub_$ac_func || defined __stub___$ac_func
38335 return $ac_func ();
38340 rm -f conftest.
$ac_objext conftest
$ac_exeext
38341 if { (ac_try
="$ac_link"
38342 case "(($ac_try" in
38343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38347 (eval "$ac_link") 2>conftest.er1
38349 grep -v '^ *+' conftest.er1 >conftest.err
38351 cat conftest.err >&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } && {
38354 test -z "$ac_c_werror_flag" ||
38355 test ! -s conftest.err
38356 } && test -s conftest$ac_exeext &&
38357 $as_test_x conftest$ac_exeext; then
38358 eval "$as_ac_var=yes"
38360 echo "$as_me: failed program was:" >&5
38361 sed 's/^/| /' conftest.$ac_ext >&5
38363 eval "$as_ac_var=no"
38366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38367 conftest$ac_exeext conftest.$ac_ext
38369 ac_res=`eval echo '${'$as_ac_var'}'`
38370 { echo "$as_me:$LINENO: result: $ac_res" >&5
38371 echo "${ECHO_T}$ac_res" >&6; }
38372 if test `eval echo '${'$as_ac_var'}'` = yes; then
38373 cat >>confdefs.h <<_ACEOF
38374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38381 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38382 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38383 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38384 wxUSE_SNGLINST_CHECKER=no
38390 for ac_func in setenv putenv
38392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38398 cat >conftest.$ac_ext <<_ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38406 #define $ac_func innocuous_$ac_func
38408 /* System header to define __stub macros and hopefully few prototypes,
38409 which can conflict with char $ac_func (); below.
38410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38411 <limits.h> exists even on freestanding compilers. */
38414 # include <limits.h>
38416 # include <assert.h>
38421 /* Override any GCC internal prototype to avoid an error.
38422 Use char because int might match the return type of a GCC
38423 builtin and then its argument prototype would still apply. */
38428 /* The GNU C library defines this for functions which it implements
38429 to always fail with ENOSYS. Some functions are actually named
38430 something starting with __ and the normal name is an alias. */
38431 #if defined __stub_$ac_func || defined __stub___$ac_func
38438 return $ac_func ();
38443 rm -f conftest.$ac_objext conftest$ac_exeext
38444 if { (ac_try="$ac_link"
38445 case "(($ac_try" in
38446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38447 *) ac_try_echo
=$ac_try;;
38449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38450 (eval "$ac_link") 2>conftest.er1
38452 grep -v '^ *+' conftest.er1
>conftest.err
38454 cat conftest.err
>&5
38455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38456 (exit $ac_status); } && {
38457 test -z "$ac_c_werror_flag" ||
38458 test ! -s conftest.err
38459 } && test -s conftest
$ac_exeext &&
38460 $as_test_x conftest
$ac_exeext; then
38461 eval "$as_ac_var=yes"
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.
$ac_ext >&5
38466 eval "$as_ac_var=no"
38469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38470 conftest
$ac_exeext conftest.
$ac_ext
38472 ac_res
=`eval echo '${'$as_ac_var'}'`
38473 { echo "$as_me:$LINENO: result: $ac_res" >&5
38474 echo "${ECHO_T}$ac_res" >&6; }
38475 if test `eval echo '${'$as_ac_var'}'` = yes; then
38476 cat >>confdefs.h
<<_ACEOF
38477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38483 if test "$ac_cv_func_setenv" = "yes"; then
38485 for ac_func
in unsetenv
38487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38490 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38491 echo $ECHO_N "(cached) $ECHO_C" >&6
38493 cat >conftest.
$ac_ext <<_ACEOF
38496 cat confdefs.h
>>conftest.
$ac_ext
38497 cat >>conftest.
$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38501 #define $ac_func innocuous_$ac_func
38503 /* System header to define __stub macros and hopefully few prototypes,
38504 which can conflict with char $ac_func (); below.
38505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38506 <limits.h> exists even on freestanding compilers. */
38509 # include <limits.h>
38511 # include <assert.h>
38516 /* Override any GCC internal prototype to avoid an error.
38517 Use char because int might match the return type of a GCC
38518 builtin and then its argument prototype would still apply. */
38523 /* The GNU C library defines this for functions which it implements
38524 to always fail with ENOSYS. Some functions are actually named
38525 something starting with __ and the normal name is an alias. */
38526 #if defined __stub_$ac_func || defined __stub___$ac_func
38533 return $ac_func ();
38538 rm -f conftest.
$ac_objext conftest
$ac_exeext
38539 if { (ac_try
="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38547 grep -v '^ *+' conftest.er1 >conftest.err
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 eval "$as_ac_var=yes"
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38561 eval "$as_ac_var=no"
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38567 ac_res=`eval echo '${'$as_ac_var'}'`
38568 { echo "$as_me:$LINENO: result: $ac_res" >&5
38569 echo "${ECHO_T}$ac_res" >&6; }
38570 if test `eval echo '${'$as_ac_var'}'` = yes; then
38571 cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38580 HAVE_SOME_SLEEP_FUNC=0
38581 if test "$USE_BEOS" = 1; then
38582 cat >>confdefs.h <<\_ACEOF
38583 #define HAVE_SLEEP 1
38586 HAVE_SOME_SLEEP_FUNC=1
38589 if test "$USE_DARWIN" = 1; then
38590 cat >>confdefs.h <<\_ACEOF
38591 #define HAVE_USLEEP 1
38594 HAVE_SOME_SLEEP_FUNC=1
38597 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38600 for ac_func in nanosleep
38602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 cat >conftest.$ac_ext <<_ACEOF
38611 cat confdefs.h >>conftest.$ac_ext
38612 cat >>conftest.$ac_ext <<_ACEOF
38613 /* end confdefs.h. */
38614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38616 #define $ac_func innocuous_$ac_func
38618 /* System header to define __stub macros and hopefully few prototypes,
38619 which can conflict with char $ac_func (); below.
38620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38621 <limits.h> exists even on freestanding compilers. */
38624 # include <limits.h>
38626 # include <assert.h>
38631 /* Override any GCC internal prototype to avoid an error.
38632 Use char because int might match the return type of a GCC
38633 builtin and then its argument prototype would still apply. */
38638 /* The GNU C library defines this for functions which it implements
38639 to always fail with ENOSYS. Some functions are actually named
38640 something starting with __ and the normal name is an alias. */
38641 #if defined __stub_$ac_func || defined __stub___$ac_func
38648 return $ac_func ();
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38657 *) ac_try_echo
=$ac_try;;
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38662 grep -v '^ *+' conftest.er1
>conftest.err
38664 cat conftest.err
>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest
$ac_exeext &&
38670 $as_test_x conftest
$ac_exeext; then
38671 eval "$as_ac_var=yes"
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.
$ac_ext >&5
38676 eval "$as_ac_var=no"
38679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38680 conftest
$ac_exeext conftest.
$ac_ext
38682 ac_res
=`eval echo '${'$as_ac_var'}'`
38683 { echo "$as_me:$LINENO: result: $ac_res" >&5
38684 echo "${ECHO_T}$ac_res" >&6; }
38685 if test `eval echo '${'$as_ac_var'}'` = yes; then
38686 cat >>confdefs.h
<<_ACEOF
38687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 cat >>confdefs.h
<<\_ACEOF
38690 #define HAVE_NANOSLEEP 1
38695 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38696 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38697 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38698 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 ac_check_lib_save_LIBS
=$LIBS
38701 LIBS
="-lposix4 $LIBS"
38702 cat >conftest.
$ac_ext <<_ACEOF
38705 cat confdefs.h
>>conftest.
$ac_ext
38706 cat >>conftest.
$ac_ext <<_ACEOF
38707 /* end confdefs.h. */
38709 /* Override any GCC internal prototype to avoid an error.
38710 Use char because int might match the return type of a GCC
38711 builtin and then its argument prototype would still apply. */
38719 return nanosleep ();
38724 rm -f conftest.
$ac_objext conftest
$ac_exeext
38725 if { (ac_try
="$ac_link"
38726 case "(($ac_try" in
38727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38728 *) ac_try_echo=$ac_try;;
38730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38731 (eval "$ac_link") 2>conftest.er1
38733 grep -v '^ *+' conftest.er1 >conftest.err
38735 cat conftest.err >&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); } && {
38738 test -z "$ac_c_werror_flag" ||
38739 test ! -s conftest.err
38740 } && test -s conftest$ac_exeext &&
38741 $as_test_x conftest$ac_exeext; then
38742 ac_cv_lib_posix4_nanosleep=yes
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38747 ac_cv_lib_posix4_nanosleep=no
38750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38751 conftest$ac_exeext conftest.$ac_ext
38752 LIBS=$ac_check_lib_save_LIBS
38754 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38755 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38756 if test $ac_cv_lib_posix4_nanosleep = yes; then
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_NANOSLEEP 1
38762 POSIX4_LINK=" -lposix4"
38767 for wx_func in usleep
38769 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38770 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38771 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38772 echo $ECHO_N "(cached) $ECHO_C" >&6
38775 cat >conftest.$ac_ext <<_ACEOF
38779 cat confdefs.h >>conftest.$ac_ext
38780 cat >>conftest.$ac_ext <<_ACEOF
38781 /* end confdefs.h. */
38784 $ac_includes_default
38800 rm -f conftest.$ac_objext conftest$ac_exeext
38801 if { (ac_try="$ac_link"
38802 case "(($ac_try" in
38803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38804 *) ac_try_echo
=$ac_try;;
38806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38807 (eval "$ac_link") 2>conftest.er1
38809 grep -v '^ *+' conftest.er1
>conftest.err
38811 cat conftest.err
>&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } && {
38814 test -z "$ac_c_werror_flag" ||
38815 test ! -s conftest.err
38816 } && test -s conftest
$ac_exeext &&
38817 $as_test_x conftest
$ac_exeext; then
38818 eval wx_cv_func_
$wx_func=yes
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.
$ac_ext >&5
38823 eval wx_cv_func_
$wx_func=no
38826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38827 conftest
$ac_exeext conftest.
$ac_ext
38830 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38831 { echo "$as_me:$LINENO: result: $ac_res" >&5
38832 echo "${ECHO_T}$ac_res" >&6; }
38834 if eval test \
$wx_cv_func_$wx_func = yes
38836 cat >>confdefs.h
<<_ACEOF
38837 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38843 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38844 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38861 for wx_func
in uname
38863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38865 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38866 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 cat >conftest.
$ac_ext <<_ACEOF
38873 cat confdefs.h
>>conftest.
$ac_ext
38874 cat >>conftest.
$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38877 #include <sys/utsname.h>
38878 $ac_includes_default
38894 rm -f conftest.
$ac_objext conftest
$ac_exeext
38895 if { (ac_try
="$ac_link"
38896 case "(($ac_try" in
38897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38898 *) ac_try_echo=$ac_try;;
38900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38901 (eval "$ac_link") 2>conftest.er1
38903 grep -v '^ *+' conftest.er1 >conftest.err
38905 cat conftest.err >&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } && {
38908 test -z "$ac_c_werror_flag" ||
38909 test ! -s conftest.err
38910 } && test -s conftest$ac_exeext &&
38911 $as_test_x conftest$ac_exeext; then
38912 eval wx_cv_func_$wx_func=yes
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.$ac_ext >&5
38917 eval wx_cv_func_$wx_func=no
38920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38921 conftest$ac_exeext conftest.$ac_ext
38924 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38925 { echo "$as_me:$LINENO: result: $ac_res" >&5
38926 echo "${ECHO_T}$ac_res" >&6; }
38928 if eval test \$wx_cv_func_$wx_func = yes
38930 cat >>confdefs.h <<_ACEOF
38931 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38941 if test "$wx_cv_func_uname" != yes; then
38943 for wx_func in gethostname
38945 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38946 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38947 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38951 cat >conftest.$ac_ext <<_ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38960 $ac_includes_default
38976 rm -f conftest.$ac_objext conftest$ac_exeext
38977 if { (ac_try="$ac_link"
38978 case "(($ac_try" in
38979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38980 *) ac_try_echo
=$ac_try;;
38982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38983 (eval "$ac_link") 2>conftest.er1
38985 grep -v '^ *+' conftest.er1
>conftest.err
38987 cat conftest.err
>&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); } && {
38990 test -z "$ac_c_werror_flag" ||
38991 test ! -s conftest.err
38992 } && test -s conftest
$ac_exeext &&
38993 $as_test_x conftest
$ac_exeext; then
38994 eval wx_cv_func_
$wx_func=yes
38996 echo "$as_me: failed program was:" >&5
38997 sed 's/^/| /' conftest.
$ac_ext >&5
38999 eval wx_cv_func_
$wx_func=no
39002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39003 conftest
$ac_exeext conftest.
$ac_ext
39006 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39007 { echo "$as_me:$LINENO: result: $ac_res" >&5
39008 echo "${ECHO_T}$ac_res" >&6; }
39010 if eval test \
$wx_cv_func_$wx_func = yes
39012 cat >>confdefs.h
<<_ACEOF
39013 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39026 for wx_func
in strtok_r
39028 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39029 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39030 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 cat >conftest.
$ac_ext <<_ACEOF
39038 cat confdefs.h
>>conftest.
$ac_ext
39039 cat >>conftest.
$ac_ext <<_ACEOF
39040 /* end confdefs.h. */
39043 $ac_includes_default
39059 rm -f conftest.
$ac_objext conftest
$ac_exeext
39060 if { (ac_try
="$ac_link"
39061 case "(($ac_try" in
39062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39063 *) ac_try_echo=$ac_try;;
39065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39066 (eval "$ac_link") 2>conftest.er1
39068 grep -v '^ *+' conftest.er1 >conftest.err
39070 cat conftest.err >&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } && {
39073 test -z "$ac_c_werror_flag" ||
39074 test ! -s conftest.err
39075 } && test -s conftest$ac_exeext &&
39076 $as_test_x conftest$ac_exeext; then
39077 eval wx_cv_func_$wx_func=yes
39079 echo "$as_me: failed program was:" >&5
39080 sed 's/^/| /' conftest.$ac_ext >&5
39082 eval wx_cv_func_$wx_func=no
39085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39086 conftest$ac_exeext conftest.$ac_ext
39089 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39090 { echo "$as_me:$LINENO: result: $ac_res" >&5
39091 echo "${ECHO_T}$ac_res" >&6; }
39093 if eval test \$wx_cv_func_$wx_func = yes
39095 cat >>confdefs.h <<_ACEOF
39096 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39109 for ac_func in inet_addr
39111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 cat >conftest.$ac_ext <<_ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39125 #define $ac_func innocuous_$ac_func
39127 /* System header to define __stub macros and hopefully few prototypes,
39128 which can conflict with char $ac_func (); below.
39129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39130 <limits.h> exists even on freestanding compilers. */
39133 # include <limits.h>
39135 # include <assert.h>
39140 /* Override any GCC internal prototype to avoid an error.
39141 Use char because int might match the return type of a GCC
39142 builtin and then its argument prototype would still apply. */
39147 /* The GNU C library defines this for functions which it implements
39148 to always fail with ENOSYS. Some functions are actually named
39149 something starting with __ and the normal name is an alias. */
39150 #if defined __stub_$ac_func || defined __stub___$ac_func
39157 return $ac_func ();
39162 rm -f conftest.$ac_objext conftest$ac_exeext
39163 if { (ac_try="$ac_link"
39164 case "(($ac_try" in
39165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39166 *) ac_try_echo
=$ac_try;;
39168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39169 (eval "$ac_link") 2>conftest.er1
39171 grep -v '^ *+' conftest.er1
>conftest.err
39173 cat conftest.err
>&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } && {
39176 test -z "$ac_c_werror_flag" ||
39177 test ! -s conftest.err
39178 } && test -s conftest
$ac_exeext &&
39179 $as_test_x conftest
$ac_exeext; then
39180 eval "$as_ac_var=yes"
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.
$ac_ext >&5
39185 eval "$as_ac_var=no"
39188 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39189 conftest
$ac_exeext conftest.
$ac_ext
39191 ac_res
=`eval echo '${'$as_ac_var'}'`
39192 { echo "$as_me:$LINENO: result: $ac_res" >&5
39193 echo "${ECHO_T}$ac_res" >&6; }
39194 if test `eval echo '${'$as_ac_var'}'` = yes; then
39195 cat >>confdefs.h
<<_ACEOF
39196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39198 cat >>confdefs.h
<<\_ACEOF
39199 #define HAVE_INET_ADDR 1
39204 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39205 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39206 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 ac_check_lib_save_LIBS
=$LIBS
39211 cat >conftest.
$ac_ext <<_ACEOF
39214 cat confdefs.h
>>conftest.
$ac_ext
39215 cat >>conftest.
$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39218 /* Override any GCC internal prototype to avoid an error.
39219 Use char because int might match the return type of a GCC
39220 builtin and then its argument prototype would still apply. */
39228 return inet_addr ();
39233 rm -f conftest.
$ac_objext conftest
$ac_exeext
39234 if { (ac_try
="$ac_link"
39235 case "(($ac_try" in
39236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39237 *) ac_try_echo=$ac_try;;
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_link") 2>conftest.er1
39242 grep -v '^ *+' conftest.er1 >conftest.err
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest$ac_exeext &&
39250 $as_test_x conftest$ac_exeext; then
39251 ac_cv_lib_nsl_inet_addr=yes
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39256 ac_cv_lib_nsl_inet_addr=no
39259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39260 conftest$ac_exeext conftest.$ac_ext
39261 LIBS=$ac_check_lib_save_LIBS
39263 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39264 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39265 if test $ac_cv_lib_nsl_inet_addr = yes; then
39269 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39270 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39271 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 ac_check_lib_save_LIBS=$LIBS
39275 LIBS="-lresolv $LIBS"
39276 cat >conftest.$ac_ext <<_ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39283 /* Override any GCC internal prototype to avoid an error.
39284 Use char because int might match the return type of a GCC
39285 builtin and then its argument prototype would still apply. */
39293 return inet_addr ();
39298 rm -f conftest.$ac_objext conftest$ac_exeext
39299 if { (ac_try="$ac_link"
39300 case "(($ac_try" in
39301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39302 *) ac_try_echo
=$ac_try;;
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_link") 2>conftest.er1
39307 grep -v '^ *+' conftest.er1
>conftest.err
39309 cat conftest.err
>&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } && {
39312 test -z "$ac_c_werror_flag" ||
39313 test ! -s conftest.err
39314 } && test -s conftest
$ac_exeext &&
39315 $as_test_x conftest
$ac_exeext; then
39316 ac_cv_lib_resolv_inet_addr
=yes
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.
$ac_ext >&5
39321 ac_cv_lib_resolv_inet_addr
=no
39324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39325 conftest
$ac_exeext conftest.
$ac_ext
39326 LIBS
=$ac_check_lib_save_LIBS
39328 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39329 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39330 if test $ac_cv_lib_resolv_inet_addr = yes; then
39334 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39335 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39336 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39337 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 ac_check_lib_save_LIBS
=$LIBS
39340 LIBS
="-lsocket $LIBS"
39341 cat >conftest.
$ac_ext <<_ACEOF
39344 cat confdefs.h
>>conftest.
$ac_ext
39345 cat >>conftest.
$ac_ext <<_ACEOF
39346 /* end confdefs.h. */
39348 /* Override any GCC internal prototype to avoid an error.
39349 Use char because int might match the return type of a GCC
39350 builtin and then its argument prototype would still apply. */
39358 return inet_addr ();
39363 rm -f conftest.
$ac_objext conftest
$ac_exeext
39364 if { (ac_try
="$ac_link"
39365 case "(($ac_try" in
39366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39367 *) ac_try_echo=$ac_try;;
39369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39370 (eval "$ac_link") 2>conftest.er1
39372 grep -v '^ *+' conftest.er1 >conftest.err
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } && {
39377 test -z "$ac_c_werror_flag" ||
39378 test ! -s conftest.err
39379 } && test -s conftest$ac_exeext &&
39380 $as_test_x conftest$ac_exeext; then
39381 ac_cv_lib_socket_inet_addr=yes
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39386 ac_cv_lib_socket_inet_addr=no
39389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39390 conftest$ac_exeext conftest.$ac_ext
39391 LIBS=$ac_check_lib_save_LIBS
39393 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39394 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39395 if test $ac_cv_lib_socket_inet_addr = yes; then
39415 for ac_func in inet_aton
39417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39421 echo $ECHO_N "(cached) $ECHO_C" >&6
39423 cat >conftest.$ac_ext <<_ACEOF
39426 cat confdefs.h >>conftest.$ac_ext
39427 cat >>conftest.$ac_ext <<_ACEOF
39428 /* end confdefs.h. */
39429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39431 #define $ac_func innocuous_$ac_func
39433 /* System header to define __stub macros and hopefully few prototypes,
39434 which can conflict with char $ac_func (); below.
39435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39436 <limits.h> exists even on freestanding compilers. */
39439 # include <limits.h>
39441 # include <assert.h>
39446 /* Override any GCC internal prototype to avoid an error.
39447 Use char because int might match the return type of a GCC
39448 builtin and then its argument prototype would still apply. */
39453 /* The GNU C library defines this for functions which it implements
39454 to always fail with ENOSYS. Some functions are actually named
39455 something starting with __ and the normal name is an alias. */
39456 #if defined __stub_$ac_func || defined __stub___$ac_func
39463 return $ac_func ();
39468 rm -f conftest.$ac_objext conftest$ac_exeext
39469 if { (ac_try="$ac_link"
39470 case "(($ac_try" in
39471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39472 *) ac_try_echo
=$ac_try;;
39474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39475 (eval "$ac_link") 2>conftest.er1
39477 grep -v '^ *+' conftest.er1
>conftest.err
39479 cat conftest.err
>&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } && {
39482 test -z "$ac_c_werror_flag" ||
39483 test ! -s conftest.err
39484 } && test -s conftest
$ac_exeext &&
39485 $as_test_x conftest
$ac_exeext; then
39486 eval "$as_ac_var=yes"
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.
$ac_ext >&5
39491 eval "$as_ac_var=no"
39494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39495 conftest
$ac_exeext conftest.
$ac_ext
39497 ac_res
=`eval echo '${'$as_ac_var'}'`
39498 { echo "$as_me:$LINENO: result: $ac_res" >&5
39499 echo "${ECHO_T}$ac_res" >&6; }
39500 if test `eval echo '${'$as_ac_var'}'` = yes; then
39501 cat >>confdefs.h
<<_ACEOF
39502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39504 cat >>confdefs.h
<<\_ACEOF
39505 #define HAVE_INET_ATON 1
39510 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39511 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39512 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39513 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39516 ac_check_lib_save_LIBS
=$LIBS
39517 LIBS
="-l$INET_LINK $LIBS"
39518 cat >conftest.
$ac_ext <<_ACEOF
39521 cat confdefs.h
>>conftest.
$ac_ext
39522 cat >>conftest.
$ac_ext <<_ACEOF
39523 /* end confdefs.h. */
39525 /* Override any GCC internal prototype to avoid an error.
39526 Use char because int might match the return type of a GCC
39527 builtin and then its argument prototype would still apply. */
39535 return inet_aton ();
39540 rm -f conftest.
$ac_objext conftest
$ac_exeext
39541 if { (ac_try
="$ac_link"
39542 case "(($ac_try" in
39543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39544 *) ac_try_echo=$ac_try;;
39546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39547 (eval "$ac_link") 2>conftest.er1
39549 grep -v '^ *+' conftest.er1 >conftest.err
39551 cat conftest.err >&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } && {
39554 test -z "$ac_c_werror_flag" ||
39555 test ! -s conftest.err
39556 } && test -s conftest$ac_exeext &&
39557 $as_test_x conftest$ac_exeext; then
39558 eval "$as_ac_Lib=yes"
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 eval "$as_ac_Lib=no"
39566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39567 conftest$ac_exeext conftest.$ac_ext
39568 LIBS=$ac_check_lib_save_LIBS
39570 ac_res=`eval echo '${'$as_ac_Lib'}'`
39571 { echo "$as_me:$LINENO: result: $ac_res" >&5
39572 echo "${ECHO_T}$ac_res" >&6; }
39573 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_INET_ATON 1
39585 if test "x$INET_LINK" != "x"; then
39586 cat >>confdefs.h <<\_ACEOF
39587 #define HAVE_INET_ADDR 1
39590 INET_LINK=" -l$INET_LINK"
39594 for wx_func in fdopen
39596 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39597 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39598 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39602 cat >conftest.$ac_ext <<_ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39611 $ac_includes_default
39627 rm -f conftest.$ac_objext conftest$ac_exeext
39628 if { (ac_try="$ac_link"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39631 *) ac_try_echo
=$ac_try;;
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_link") 2>conftest.er1
39636 grep -v '^ *+' conftest.er1
>conftest.err
39638 cat conftest.err
>&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_c_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest
$ac_exeext &&
39644 $as_test_x conftest
$ac_exeext; then
39645 eval wx_cv_func_
$wx_func=yes
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.
$ac_ext >&5
39650 eval wx_cv_func_
$wx_func=no
39653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39654 conftest
$ac_exeext conftest.
$ac_ext
39657 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39658 { echo "$as_me:$LINENO: result: $ac_res" >&5
39659 echo "${ECHO_T}$ac_res" >&6; }
39661 if eval test \
$wx_cv_func_$wx_func = yes
39663 cat >>confdefs.h
<<_ACEOF
39664 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39675 if test "$wxUSE_TARSTREAM" = "yes"; then
39677 for wx_func
in sysconf
39679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39681 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 cat >conftest.
$ac_ext <<_ACEOF
39689 cat confdefs.h
>>conftest.
$ac_ext
39690 cat >>conftest.
$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39694 $ac_includes_default
39710 rm -f conftest.
$ac_objext conftest
$ac_exeext
39711 if { (ac_try
="$ac_link"
39712 case "(($ac_try" in
39713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39714 *) ac_try_echo=$ac_try;;
39716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39717 (eval "$ac_link") 2>conftest.er1
39719 grep -v '^ *+' conftest.er1 >conftest.err
39721 cat conftest.err >&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } && {
39724 test -z "$ac_c_werror_flag" ||
39725 test ! -s conftest.err
39726 } && test -s conftest$ac_exeext &&
39727 $as_test_x conftest$ac_exeext; then
39728 eval wx_cv_func_$wx_func=yes
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.$ac_ext >&5
39733 eval wx_cv_func_$wx_func=no
39736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39737 conftest$ac_exeext conftest.$ac_ext
39740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39741 { echo "$as_me:$LINENO: result: $ac_res" >&5
39742 echo "${ECHO_T}$ac_res" >&6; }
39744 if eval test \$wx_cv_func_$wx_func = yes
39746 cat >>confdefs.h <<_ACEOF
39747 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39759 for wx_func in getpwuid_r
39761 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39762 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39763 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39764 echo $ECHO_N "(cached) $ECHO_C" >&6
39767 cat >conftest.$ac_ext <<_ACEOF
39771 cat confdefs.h >>conftest.$ac_ext
39772 cat >>conftest.$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39779 $ac_includes_default
39789 struct passwd pw, *ppw;
39791 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39799 rm -f conftest.$ac_objext conftest$ac_exeext
39800 if { (ac_try="$ac_link"
39801 case "(($ac_try" in
39802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39803 *) ac_try_echo
=$ac_try;;
39805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39806 (eval "$ac_link") 2>conftest.er1
39808 grep -v '^ *+' conftest.er1
>conftest.err
39810 cat conftest.err
>&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } && {
39813 test -z "$ac_c_werror_flag" ||
39814 test ! -s conftest.err
39815 } && test -s conftest
$ac_exeext &&
39816 $as_test_x conftest
$ac_exeext; then
39817 eval wx_cv_func_
$wx_func=yes
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.
$ac_ext >&5
39822 eval wx_cv_func_
$wx_func=no
39825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39826 conftest
$ac_exeext conftest.
$ac_ext
39829 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39830 { echo "$as_me:$LINENO: result: $ac_res" >&5
39831 echo "${ECHO_T}$ac_res" >&6; }
39833 if eval test \
$wx_cv_func_$wx_func = yes
39835 cat >>confdefs.h
<<_ACEOF
39836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39848 for wx_func
in getgrgid_r
39850 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39851 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39852 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39853 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 cat >conftest.
$ac_ext <<_ACEOF
39860 cat confdefs.h
>>conftest.
$ac_ext
39861 cat >>conftest.
$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39868 $ac_includes_default
39878 struct group grp, *pgrp;
39880 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39888 rm -f conftest.
$ac_objext conftest
$ac_exeext
39889 if { (ac_try
="$ac_link"
39890 case "(($ac_try" in
39891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39892 *) ac_try_echo=$ac_try;;
39894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39895 (eval "$ac_link") 2>conftest.er1
39897 grep -v '^ *+' conftest.er1 >conftest.err
39899 cat conftest.err >&5
39900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901 (exit $ac_status); } && {
39902 test -z "$ac_c_werror_flag" ||
39903 test ! -s conftest.err
39904 } && test -s conftest$ac_exeext &&
39905 $as_test_x conftest$ac_exeext; then
39906 eval wx_cv_func_$wx_func=yes
39908 echo "$as_me: failed program was:" >&5
39909 sed 's/^/| /' conftest.$ac_ext >&5
39911 eval wx_cv_func_$wx_func=no
39914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39915 conftest$ac_exeext conftest.$ac_ext
39918 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39919 { echo "$as_me:$LINENO: result: $ac_res" >&5
39920 echo "${ECHO_T}$ac_res" >&6; }
39922 if eval test \$wx_cv_func_$wx_func = yes
39924 cat >>confdefs.h <<_ACEOF
39925 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39941 cat >confcache <<\_ACEOF
39942 # This file is a shell script that caches the results of configure
39943 # tests run on this system so they can be shared between configure
39944 # scripts and configure runs, see configure's option --config-cache.
39945 # It is not useful on other systems. If it contains results you don't
39946 # want to keep, you may remove or edit it.
39948 # config.status only pays attention to the cache file if you give it
39949 # the --recheck option to rerun configure.
39951 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39953 # following values.
39957 # The following way of writing the cache mishandles newlines in values,
39958 # but we know of no workaround that is simple, portable, and efficient.
39959 # So, we kill variables containing newlines.
39960 # Ultrix sh set writes to stderr and can't be redirected directly,
39961 # and sets the high bit in the cache file unless we assign to the vars.
39963 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39964 eval ac_val
=\$
$ac_var
39968 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39969 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39972 _
| IFS
| as_nl
) ;; #(
39973 *) $as_unset $ac_var ;;
39979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39980 *${as_nl}ac_space
=\
*)
39981 # `set' does not quote correctly, so add quotes (double-quote
39982 # substitution turns \\\\ into \\, and sed turns \\ into \).
39985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39988 # `set' quotes correctly as required by POSIX, so do not add quotes.
39989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40002 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40003 if test -w "$cache_file"; then
40004 test "x$cache_file" != "x/dev/null" &&
40005 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40006 echo "$as_me: updating cache $cache_file" >&6;}
40007 cat confcache
>$cache_file
40009 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40010 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40016 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40022 if test "$wxUSE_THREADS" = "yes" ; then
40023 if test "$USE_BEOS" = 1; then
40024 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40025 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40030 if test "$wxUSE_THREADS" = "yes" ; then
40033 THREAD_OPTS
="-pthread"
40034 if test "x$SUNCXX" = xyes
; then
40035 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40039 *-*-solaris2* | *-*-sunos4* )
40040 if test "x$GCC" = "xyes"; then
40041 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40045 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40047 *-*-darwin* | *-*-cygwin* )
40051 THREAD_OPTS
="pthreads"
40054 if test "x$GCC" = "xyes"; then
40055 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40063 if test "x$GCC" = "xyes"; then
40073 if test "x$GCC" != "xyes"; then
40074 THREAD_OPTS
="-Ethread"
40081 THREAD_OPTS
="none pthread"
40085 THREAD_OPTS
="$THREAD_OPTS pthread none"
40090 for flag
in $THREAD_OPTS; do
40093 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40094 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40098 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40099 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40100 THREADS_CFLAGS
="$flag"
40104 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40105 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40106 THREADS_LINK
="-l$flag"
40111 save_CFLAGS
="$CFLAGS"
40112 LIBS
="$THREADS_LINK $LIBS"
40113 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40115 cat >conftest.
$ac_ext <<_ACEOF
40118 cat confdefs.h
>>conftest.
$ac_ext
40119 cat >>conftest.
$ac_ext <<_ACEOF
40120 /* end confdefs.h. */
40121 #include <pthread.h>
40125 pthread_create(0,0,0,0);
40130 rm -f conftest.
$ac_objext conftest
$ac_exeext
40131 if { (ac_try
="$ac_link"
40132 case "(($ac_try" in
40133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40134 *) ac_try_echo=$ac_try;;
40136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40137 (eval "$ac_link") 2>conftest.er1
40139 grep -v '^ *+' conftest.er1 >conftest.err
40141 cat conftest.err >&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } && {
40144 test -z "$ac_c_werror_flag" ||
40145 test ! -s conftest.err
40146 } && test -s conftest$ac_exeext &&
40147 $as_test_x conftest$ac_exeext; then
40150 echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.$ac_ext >&5
40156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40157 conftest$ac_exeext conftest.$ac_ext
40160 CFLAGS="$save_CFLAGS"
40162 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40163 echo "${ECHO_T}$THREADS_OK" >&6; }
40164 if test "x$THREADS_OK" = "xyes"; then
40172 if test "x$THREADS_OK" != "xyes"; then
40174 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40175 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40177 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40178 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40179 LIBS="$THREADS_LINK $LIBS"
40181 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40182 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40186 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40187 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40188 flag="-D_THREAD_SAFE"
40191 flag="-D_THREAD_SAFE"
40194 flag="-D_REENTRANT"
40195 if test "x$GCC" != "xyes"; then
40196 flag="$flag -D_RWSTD_MULTI_THREAD"
40199 *solaris* | alpha*-osf*)
40200 flag="-D_REENTRANT"
40203 { echo "$as_me:$LINENO: result: ${flag}" >&5
40204 echo "${ECHO_T}${flag}" >&6; }
40205 if test "x$flag" != xno; then
40206 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40209 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40213 if test "$wxUSE_THREADS" = "yes" ; then
40215 for ac_func in thr_setconcurrency
40217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 cat >conftest.$ac_ext <<_ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40239 # include <limits.h>
40241 # include <assert.h>
40246 /* Override any GCC internal prototype to avoid an error.
40247 Use char because int might match the return type of a GCC
40248 builtin and then its argument prototype would still apply. */
40253 /* The GNU C library defines this for functions which it implements
40254 to always fail with ENOSYS. Some functions are actually named
40255 something starting with __ and the normal name is an alias. */
40256 #if defined __stub_$ac_func || defined __stub___$ac_func
40263 return $ac_func ();
40268 rm -f conftest.$ac_objext conftest$ac_exeext
40269 if { (ac_try="$ac_link"
40270 case "(($ac_try" in
40271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40272 *) ac_try_echo
=$ac_try;;
40274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40275 (eval "$ac_link") 2>conftest.er1
40277 grep -v '^ *+' conftest.er1
>conftest.err
40279 cat conftest.err
>&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } && {
40282 test -z "$ac_c_werror_flag" ||
40283 test ! -s conftest.err
40284 } && test -s conftest
$ac_exeext &&
40285 $as_test_x conftest
$ac_exeext; then
40286 eval "$as_ac_var=yes"
40288 echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.
$ac_ext >&5
40291 eval "$as_ac_var=no"
40294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40295 conftest
$ac_exeext conftest.
$ac_ext
40297 ac_res
=`eval echo '${'$as_ac_var'}'`
40298 { echo "$as_me:$LINENO: result: $ac_res" >&5
40299 echo "${ECHO_T}$ac_res" >&6; }
40300 if test `eval echo '${'$as_ac_var'}'` = yes; then
40301 cat >>confdefs.h
<<_ACEOF
40302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40309 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40310 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40311 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40312 echo $ECHO_N "(cached) $ECHO_C" >&6
40316 ac_cpp
='$CXXCPP $CPPFLAGS'
40317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40321 cat >conftest.
$ac_ext <<_ACEOF
40324 cat confdefs.h
>>conftest.
$ac_ext
40325 cat >>conftest.
$ac_ext <<_ACEOF
40326 /* end confdefs.h. */
40327 #include <pthread.h>
40328 void ThreadCleanupFunc(void *p);
40335 pthread_cleanup_push(ThreadCleanupFunc, p);
40336 pthread_cleanup_pop(0);
40342 rm -f conftest.
$ac_objext
40343 if { (ac_try
="$ac_compile"
40344 case "(($ac_try" in
40345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40346 *) ac_try_echo=$ac_try;;
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_compile") 2>conftest.er1
40351 grep -v '^ *+' conftest.er1 >conftest.err
40353 cat conftest.err >&5
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); } && {
40356 test -z "$ac_cxx_werror_flag" ||
40357 test ! -s conftest.err
40358 } && test -s conftest.$ac_objext; then
40360 wx_cv_func_pthread_cleanup=yes
40363 echo "$as_me: failed program was:" >&5
40364 sed 's/^/| /' conftest.$ac_ext >&5
40367 wx_cv_func_pthread_cleanup=no
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40374 ac_cpp='$CPP $CPPFLAGS'
40375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40381 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40382 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40383 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40384 cat >>confdefs.h <<\_ACEOF
40385 #define wxHAVE_PTHREAD_CLEANUP 1
40391 for ac_header in sched.h
40393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40397 echo $ECHO_N "(cached) $ECHO_C" >&6
40399 cat >conftest.$ac_ext <<_ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405 $ac_includes_default
40407 #include <$ac_header>
40409 rm -f conftest.$ac_objext
40410 if { (ac_try="$ac_compile"
40411 case "(($ac_try" in
40412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40413 *) ac_try_echo
=$ac_try;;
40415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40416 (eval "$ac_compile") 2>conftest.er1
40418 grep -v '^ *+' conftest.er1
>conftest.err
40420 cat conftest.err
>&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); } && {
40423 test -z "$ac_c_werror_flag" ||
40424 test ! -s conftest.err
40425 } && test -s conftest.
$ac_objext; then
40426 eval "$as_ac_Header=yes"
40428 echo "$as_me: failed program was:" >&5
40429 sed 's/^/| /' conftest.
$ac_ext >&5
40431 eval "$as_ac_Header=no"
40434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40436 ac_res
=`eval echo '${'$as_ac_Header'}'`
40437 { echo "$as_me:$LINENO: result: $ac_res" >&5
40438 echo "${ECHO_T}$ac_res" >&6; }
40439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40440 cat >>confdefs.h
<<_ACEOF
40441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40448 if test "$ac_cv_header_sched_h" = "yes"; then
40449 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40450 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40451 if test "${ac_cv_func_sched_yield+set}" = set; then
40452 echo $ECHO_N "(cached) $ECHO_C" >&6
40454 cat >conftest.
$ac_ext <<_ACEOF
40457 cat confdefs.h
>>conftest.
$ac_ext
40458 cat >>conftest.
$ac_ext <<_ACEOF
40459 /* end confdefs.h. */
40460 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40462 #define sched_yield innocuous_sched_yield
40464 /* System header to define __stub macros and hopefully few prototypes,
40465 which can conflict with char sched_yield (); below.
40466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40467 <limits.h> exists even on freestanding compilers. */
40470 # include <limits.h>
40472 # include <assert.h>
40477 /* Override any GCC internal prototype to avoid an error.
40478 Use char because int might match the return type of a GCC
40479 builtin and then its argument prototype would still apply. */
40483 char sched_yield ();
40484 /* The GNU C library defines this for functions which it implements
40485 to always fail with ENOSYS. Some functions are actually named
40486 something starting with __ and the normal name is an alias. */
40487 #if defined __stub_sched_yield || defined __stub___sched_yield
40494 return sched_yield ();
40499 rm -f conftest.
$ac_objext conftest
$ac_exeext
40500 if { (ac_try
="$ac_link"
40501 case "(($ac_try" in
40502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40503 *) ac_try_echo=$ac_try;;
40505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40506 (eval "$ac_link") 2>conftest.er1
40508 grep -v '^ *+' conftest.er1 >conftest.err
40510 cat conftest.err >&5
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); } && {
40513 test -z "$ac_c_werror_flag" ||
40514 test ! -s conftest.err
40515 } && test -s conftest$ac_exeext &&
40516 $as_test_x conftest$ac_exeext; then
40517 ac_cv_func_sched_yield=yes
40519 echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40522 ac_cv_func_sched_yield=no
40525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40526 conftest$ac_exeext conftest.$ac_ext
40528 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40529 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40530 if test $ac_cv_func_sched_yield = yes; then
40531 cat >>confdefs.h <<\_ACEOF
40532 #define HAVE_SCHED_YIELD 1
40537 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40538 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40539 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40542 ac_check_lib_save_LIBS=$LIBS
40543 LIBS="-lposix4 $LIBS"
40544 cat >conftest.$ac_ext <<_ACEOF
40547 cat confdefs.h >>conftest.$ac_ext
40548 cat >>conftest.$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40551 /* Override any GCC internal prototype to avoid an error.
40552 Use char because int might match the return type of a GCC
40553 builtin and then its argument prototype would still apply. */
40557 char sched_yield ();
40561 return sched_yield ();
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40570 *) ac_try_echo
=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1
>conftest.err
40577 cat conftest.err
>&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest
$ac_exeext &&
40583 $as_test_x conftest
$ac_exeext; then
40584 ac_cv_lib_posix4_sched_yield
=yes
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.
$ac_ext >&5
40589 ac_cv_lib_posix4_sched_yield
=no
40592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40593 conftest
$ac_exeext conftest.
$ac_ext
40594 LIBS
=$ac_check_lib_save_LIBS
40596 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40597 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40598 if test $ac_cv_lib_posix4_sched_yield = yes; then
40599 cat >>confdefs.h
<<\_ACEOF
40600 #define HAVE_SCHED_YIELD 1
40602 POSIX4_LINK
=" -lposix4"
40604 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40605 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40616 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40617 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40618 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40619 echo $ECHO_N "(cached) $ECHO_C" >&6
40621 cat >conftest.
$ac_ext <<_ACEOF
40624 cat confdefs.h
>>conftest.
$ac_ext
40625 cat >>conftest.
$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40629 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40631 /* System header to define __stub macros and hopefully few prototypes,
40632 which can conflict with char pthread_attr_getschedpolicy (); below.
40633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40634 <limits.h> exists even on freestanding compilers. */
40637 # include <limits.h>
40639 # include <assert.h>
40642 #undef pthread_attr_getschedpolicy
40644 /* Override any GCC internal prototype to avoid an error.
40645 Use char because int might match the return type of a GCC
40646 builtin and then its argument prototype would still apply. */
40650 char pthread_attr_getschedpolicy ();
40651 /* The GNU C library defines this for functions which it implements
40652 to always fail with ENOSYS. Some functions are actually named
40653 something starting with __ and the normal name is an alias. */
40654 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40661 return pthread_attr_getschedpolicy ();
40666 rm -f conftest.
$ac_objext conftest
$ac_exeext
40667 if { (ac_try
="$ac_link"
40668 case "(($ac_try" in
40669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40670 *) ac_try_echo=$ac_try;;
40672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40673 (eval "$ac_link") 2>conftest.er1
40675 grep -v '^ *+' conftest.er1 >conftest.err
40677 cat conftest.err >&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } && {
40680 test -z "$ac_c_werror_flag" ||
40681 test ! -s conftest.err
40682 } && test -s conftest$ac_exeext &&
40683 $as_test_x conftest$ac_exeext; then
40684 ac_cv_func_pthread_attr_getschedpolicy=yes
40686 echo "$as_me: failed program was:" >&5
40687 sed 's/^/| /' conftest.$ac_ext >&5
40689 ac_cv_func_pthread_attr_getschedpolicy=no
40692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40693 conftest$ac_exeext conftest.$ac_ext
40695 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40696 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40697 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40698 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40699 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40700 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40703 cat >conftest.$ac_ext <<_ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40711 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40713 /* System header to define __stub macros and hopefully few prototypes,
40714 which can conflict with char pthread_attr_setschedparam (); below.
40715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40716 <limits.h> exists even on freestanding compilers. */
40719 # include <limits.h>
40721 # include <assert.h>
40724 #undef pthread_attr_setschedparam
40726 /* Override any GCC internal prototype to avoid an error.
40727 Use char because int might match the return type of a GCC
40728 builtin and then its argument prototype would still apply. */
40732 char pthread_attr_setschedparam ();
40733 /* The GNU C library defines this for functions which it implements
40734 to always fail with ENOSYS. Some functions are actually named
40735 something starting with __ and the normal name is an alias. */
40736 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40743 return pthread_attr_setschedparam ();
40748 rm -f conftest.$ac_objext conftest$ac_exeext
40749 if { (ac_try="$ac_link"
40750 case "(($ac_try" in
40751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40752 *) ac_try_echo
=$ac_try;;
40754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40755 (eval "$ac_link") 2>conftest.er1
40757 grep -v '^ *+' conftest.er1
>conftest.err
40759 cat conftest.err
>&5
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); } && {
40762 test -z "$ac_c_werror_flag" ||
40763 test ! -s conftest.err
40764 } && test -s conftest
$ac_exeext &&
40765 $as_test_x conftest
$ac_exeext; then
40766 ac_cv_func_pthread_attr_setschedparam
=yes
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.
$ac_ext >&5
40771 ac_cv_func_pthread_attr_setschedparam
=no
40774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40775 conftest
$ac_exeext conftest.
$ac_ext
40777 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40778 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40779 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40780 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40781 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40782 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 cat >conftest.
$ac_ext <<_ACEOF
40788 cat confdefs.h
>>conftest.
$ac_ext
40789 cat >>conftest.
$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40793 #define sched_get_priority_max innocuous_sched_get_priority_max
40795 /* System header to define __stub macros and hopefully few prototypes,
40796 which can conflict with char sched_get_priority_max (); below.
40797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40798 <limits.h> exists even on freestanding compilers. */
40801 # include <limits.h>
40803 # include <assert.h>
40806 #undef sched_get_priority_max
40808 /* Override any GCC internal prototype to avoid an error.
40809 Use char because int might match the return type of a GCC
40810 builtin and then its argument prototype would still apply. */
40814 char sched_get_priority_max ();
40815 /* The GNU C library defines this for functions which it implements
40816 to always fail with ENOSYS. Some functions are actually named
40817 something starting with __ and the normal name is an alias. */
40818 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40825 return sched_get_priority_max ();
40830 rm -f conftest.
$ac_objext conftest
$ac_exeext
40831 if { (ac_try
="$ac_link"
40832 case "(($ac_try" in
40833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_link") 2>conftest.er1
40839 grep -v '^ *+' conftest.er1 >conftest.err
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest$ac_exeext &&
40847 $as_test_x conftest$ac_exeext; then
40848 ac_cv_func_sched_get_priority_max=yes
40850 echo "$as_me: failed program was:" >&5
40851 sed 's/^/| /' conftest.$ac_ext >&5
40853 ac_cv_func_sched_get_priority_max=no
40856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40857 conftest$ac_exeext conftest.$ac_ext
40859 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40860 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40861 if test $ac_cv_func_sched_get_priority_max = yes; then
40864 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40865 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40866 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40869 ac_check_lib_save_LIBS=$LIBS
40870 LIBS="-lposix4 $LIBS"
40871 cat >conftest.$ac_ext <<_ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40878 /* Override any GCC internal prototype to avoid an error.
40879 Use char because int might match the return type of a GCC
40880 builtin and then its argument prototype would still apply. */
40884 char sched_get_priority_max ();
40888 return sched_get_priority_max ();
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40897 *) ac_try_echo
=$ac_try;;
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40902 grep -v '^ *+' conftest.er1
>conftest.err
40904 cat conftest.err
>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest
$ac_exeext &&
40910 $as_test_x conftest
$ac_exeext; then
40911 ac_cv_lib_posix4_sched_get_priority_max
=yes
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.
$ac_ext >&5
40916 ac_cv_lib_posix4_sched_get_priority_max
=no
40919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40920 conftest
$ac_exeext conftest.
$ac_ext
40921 LIBS
=$ac_check_lib_save_LIBS
40923 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40924 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40925 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40928 POSIX4_LINK
=" -lposix4"
40942 if test "$HAVE_PRIOR_FUNCS" = 1; then
40943 cat >>confdefs.h
<<\_ACEOF
40944 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40948 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40949 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40952 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40953 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40954 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40955 echo $ECHO_N "(cached) $ECHO_C" >&6
40957 cat >conftest.
$ac_ext <<_ACEOF
40960 cat confdefs.h
>>conftest.
$ac_ext
40961 cat >>conftest.
$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40965 #define pthread_cancel innocuous_pthread_cancel
40967 /* System header to define __stub macros and hopefully few prototypes,
40968 which can conflict with char pthread_cancel (); below.
40969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40970 <limits.h> exists even on freestanding compilers. */
40973 # include <limits.h>
40975 # include <assert.h>
40978 #undef pthread_cancel
40980 /* Override any GCC internal prototype to avoid an error.
40981 Use char because int might match the return type of a GCC
40982 builtin and then its argument prototype would still apply. */
40986 char pthread_cancel ();
40987 /* The GNU C library defines this for functions which it implements
40988 to always fail with ENOSYS. Some functions are actually named
40989 something starting with __ and the normal name is an alias. */
40990 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40997 return pthread_cancel ();
41002 rm -f conftest.
$ac_objext conftest
$ac_exeext
41003 if { (ac_try
="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41006 *) ac_try_echo=$ac_try;;
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41011 grep -v '^ *+' conftest.er1 >conftest.err
41013 cat conftest.err >&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest$ac_exeext &&
41019 $as_test_x conftest$ac_exeext; then
41020 ac_cv_func_pthread_cancel=yes
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41025 ac_cv_func_pthread_cancel=no
41028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41029 conftest$ac_exeext conftest.$ac_ext
41031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41032 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41033 if test $ac_cv_func_pthread_cancel = yes; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define HAVE_PTHREAD_CANCEL 1
41039 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41040 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41044 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41045 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41046 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41049 cat >conftest.$ac_ext <<_ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41055 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41057 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41059 /* System header to define __stub macros and hopefully few prototypes,
41060 which can conflict with char pthread_mutex_timedlock (); below.
41061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41062 <limits.h> exists even on freestanding compilers. */
41065 # include <limits.h>
41067 # include <assert.h>
41070 #undef pthread_mutex_timedlock
41072 /* Override any GCC internal prototype to avoid an error.
41073 Use char because int might match the return type of a GCC
41074 builtin and then its argument prototype would still apply. */
41078 char pthread_mutex_timedlock ();
41079 /* The GNU C library defines this for functions which it implements
41080 to always fail with ENOSYS. Some functions are actually named
41081 something starting with __ and the normal name is an alias. */
41082 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41089 return pthread_mutex_timedlock ();
41094 rm -f conftest.$ac_objext conftest$ac_exeext
41095 if { (ac_try="$ac_link"
41096 case "(($ac_try" in
41097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41098 *) ac_try_echo
=$ac_try;;
41100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41101 (eval "$ac_link") 2>conftest.er1
41103 grep -v '^ *+' conftest.er1
>conftest.err
41105 cat conftest.err
>&5
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); } && {
41108 test -z "$ac_c_werror_flag" ||
41109 test ! -s conftest.err
41110 } && test -s conftest
$ac_exeext &&
41111 $as_test_x conftest
$ac_exeext; then
41112 ac_cv_func_pthread_mutex_timedlock
=yes
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.
$ac_ext >&5
41117 ac_cv_func_pthread_mutex_timedlock
=no
41120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41121 conftest
$ac_exeext conftest.
$ac_ext
41123 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41124 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41125 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41126 cat >>confdefs.h
<<\_ACEOF
41127 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41131 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41132 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41136 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41137 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41138 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41139 echo $ECHO_N "(cached) $ECHO_C" >&6
41141 cat >conftest.
$ac_ext <<_ACEOF
41144 cat confdefs.h
>>conftest.
$ac_ext
41145 cat >>conftest.
$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41149 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41151 /* System header to define __stub macros and hopefully few prototypes,
41152 which can conflict with char pthread_attr_setstacksize (); below.
41153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41154 <limits.h> exists even on freestanding compilers. */
41157 # include <limits.h>
41159 # include <assert.h>
41162 #undef pthread_attr_setstacksize
41164 /* Override any GCC internal prototype to avoid an error.
41165 Use char because int might match the return type of a GCC
41166 builtin and then its argument prototype would still apply. */
41170 char pthread_attr_setstacksize ();
41171 /* The GNU C library defines this for functions which it implements
41172 to always fail with ENOSYS. Some functions are actually named
41173 something starting with __ and the normal name is an alias. */
41174 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41181 return pthread_attr_setstacksize ();
41186 rm -f conftest.
$ac_objext conftest
$ac_exeext
41187 if { (ac_try
="$ac_link"
41188 case "(($ac_try" in
41189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41190 *) ac_try_echo=$ac_try;;
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_link") 2>conftest.er1
41195 grep -v '^ *+' conftest.er1 >conftest.err
41197 cat conftest.err >&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_c_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest$ac_exeext &&
41203 $as_test_x conftest$ac_exeext; then
41204 ac_cv_func_pthread_attr_setstacksize=yes
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.$ac_ext >&5
41209 ac_cv_func_pthread_attr_setstacksize=no
41212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41213 conftest$ac_exeext conftest.$ac_ext
41215 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41216 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41217 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41218 cat >>confdefs.h <<\_ACEOF
41219 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41226 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41227 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41228 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41232 cat >conftest.$ac_ext <<_ACEOF
41235 cat confdefs.h >>conftest.$ac_ext
41236 cat >>conftest.$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41238 #include <pthread.h>
41243 pthread_mutexattr_t attr;
41244 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41250 rm -f conftest.$ac_objext
41251 if { (ac_try="$ac_compile"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41254 *) ac_try_echo
=$ac_try;;
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_compile") 2>conftest.er1
41259 grep -v '^ *+' conftest.er1
>conftest.err
41261 cat conftest.err
>&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_c_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest.
$ac_objext; then
41267 wx_cv_type_pthread_mutexattr_t
=yes
41269 echo "$as_me: failed program was:" >&5
41270 sed 's/^/| /' conftest.
$ac_ext >&5
41272 wx_cv_type_pthread_mutexattr_t
=no
41276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41279 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41280 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41282 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define HAVE_PTHREAD_MUTEXATTR_T 1
41288 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41289 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41290 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 cat >conftest.
$ac_ext <<_ACEOF
41297 cat confdefs.h
>>conftest.
$ac_ext
41298 cat >>conftest.
$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 #include <pthread.h>
41305 pthread_mutexattr_t attr;
41306 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41312 rm -f conftest.
$ac_objext
41313 if { (ac_try
="$ac_compile"
41314 case "(($ac_try" in
41315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_compile") 2>conftest.er1
41321 grep -v '^ *+' conftest.er1 >conftest.err
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest.$ac_objext; then
41329 wx_cv_func_pthread_mutexattr_settype_decl=yes
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41334 wx_cv_func_pthread_mutexattr_settype_decl=no
41338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41341 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41342 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41343 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41350 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41351 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41352 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41353 echo $ECHO_N "(cached) $ECHO_C" >&6
41356 cat >conftest.$ac_ext <<_ACEOF
41359 cat confdefs.h >>conftest.$ac_ext
41360 cat >>conftest.$ac_ext <<_ACEOF
41361 /* end confdefs.h. */
41362 #include <pthread.h>
41367 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41373 rm -f conftest.$ac_objext
41374 if { (ac_try="$ac_compile"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41377 *) ac_try_echo
=$ac_try;;
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_compile") 2>conftest.er1
41382 grep -v '^ *+' conftest.er1
>conftest.err
41384 cat conftest.err
>&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest.
$ac_objext; then
41391 wx_cv_type_pthread_rec_mutex_init
=yes
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.
$ac_ext >&5
41398 wx_cv_type_pthread_rec_mutex_init
=no
41403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41406 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41407 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41408 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41409 cat >>confdefs.h
<<\_ACEOF
41410 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41414 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41415 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41419 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41420 if test "$USE_NETBSD" = 1; then
41421 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41422 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41423 wxUSE_COMPILER_TLS
=no
41425 wxUSE_COMPILER_TLS
=yes
41429 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41430 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41431 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41432 if test "${wx_cv_cc___thread+set}" = set; then
41433 echo $ECHO_N "(cached) $ECHO_C" >&6
41436 cat >conftest.
$ac_ext <<_ACEOF
41439 cat confdefs.h
>>conftest.
$ac_ext
41440 cat >>conftest.
$ac_ext <<_ACEOF
41441 /* end confdefs.h. */
41442 #include <pthread.h>
41447 static __thread int n = 0;
41448 static __thread int *p = 0;
41454 rm -f conftest.
$ac_objext
41455 if { (ac_try
="$ac_compile"
41456 case "(($ac_try" in
41457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_compile") 2>conftest.er1
41463 grep -v '^ *+' conftest.er1 >conftest.err
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } && {
41468 test -z "$ac_c_werror_flag" ||
41469 test ! -s conftest.err
41470 } && test -s conftest.$ac_objext; then
41471 wx_cv_cc___thread=yes
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.$ac_ext >&5
41476 wx_cv_cc___thread=no
41480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41485 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41487 if test "$wx_cv_cc___thread" = "yes"; then
41493 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41494 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41496 if test "x$GCC" = "xyes" ; then
41498 if test -z "" ; then
41500 ax_gcc_option_test="int main()
41507 ax_gcc_option_test=""
41512 # Dump the test program to file
41513 cat <<EOF > conftest.c
41514 $ax_gcc_option_test
41517 # Dump back the file to the log, useful for debugging purposes
41518 { ac_try='cat conftest.c 1>&5'
41519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520 (eval $ac_try) 2>&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; }
41525 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; } ; then
41532 { echo "$as_me:$LINENO: result: yes" >&5
41533 echo "${ECHO_T}yes" >&6; }
41535 ax_gcc_version_option=yes
41540 { echo "$as_me:$LINENO: result: no" >&5
41541 echo "${ECHO_T}no" >&6; }
41543 ax_gcc_version_option=no
41551 { echo "$as_me:$LINENO: result: no gcc available" >&5
41552 echo "${ECHO_T}no gcc available" >&6; }
41557 if test "x$GXX" = "xyes"; then
41559 if test "x$ax_gxx_version_option" != "no"; then
41561 { echo "$as_me:$LINENO: checking gxx version" >&5
41562 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41563 if test "${ax_cv_gxx_version+set}" = set; then
41564 echo $ECHO_N "(cached) $ECHO_C" >&6
41567 ax_cv_gxx_version="`$CXX -dumpversion`"
41568 if test "x$ax_cv_gxx_version" = "x"; then
41570 ax_cv_gxx_version=""
41576 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41577 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41578 GXX_VERSION=$ax_cv_gxx_version
41587 if test -n "$ax_cv_gxx_version"; then
41588 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41589 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41590 case "$ax_cv_gxx_version" in
41592 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41593 echo "${ECHO_T}no, it's broken" >&6; }
41594 wx_cv_cc___thread=no
41597 { echo "$as_me:$LINENO: result: yes, it works" >&5
41598 echo "${ECHO_T}yes, it works" >&6; }
41604 if test "$wx_cv_cc___thread" = "yes"; then
41605 cat >>confdefs.h <<\_ACEOF
41606 #define HAVE___THREAD_KEYWORD 1
41614 if test "$wxUSE_THREADS" = "yes" ; then
41616 x86_64-*-mingw32* )
41619 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41620 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41621 if test "${wx_cv_cflags_mthread+set}" = set; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 CFLAGS_OLD="$CFLAGS"
41626 CFLAGS="-mthreads $CFLAGS"
41627 cat >conftest.$ac_ext <<_ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41642 rm -f conftest.$ac_objext
41643 if { (ac_try="$ac_compile"
41644 case "(($ac_try" in
41645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41646 *) ac_try_echo
=$ac_try;;
41648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41649 (eval "$ac_compile") 2>conftest.er1
41651 grep -v '^ *+' conftest.er1
>conftest.err
41653 cat conftest.err
>&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } && {
41656 test -z "$ac_c_werror_flag" ||
41657 test ! -s conftest.err
41658 } && test -s conftest.
$ac_objext; then
41659 wx_cv_cflags_mthread
=yes
41661 echo "$as_me: failed program was:" >&5
41662 sed 's/^/| /' conftest.
$ac_ext >&5
41664 wx_cv_cflags_mthread
=no
41668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41672 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41673 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41675 if test "$wx_cv_cflags_mthread" = "yes"; then
41676 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41677 LDFLAGS
="$LDFLAGS -mthreads"
41679 CFLAGS
="$CFLAGS_OLD"
41683 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41684 LDFLAGS
="$LDFLAGS -Zmt"
41690 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41691 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41692 if test "${ac_cv_func_localtime_r+set}" = set; then
41693 echo $ECHO_N "(cached) $ECHO_C" >&6
41695 cat >conftest.
$ac_ext <<_ACEOF
41698 cat confdefs.h
>>conftest.
$ac_ext
41699 cat >>conftest.
$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41703 #define localtime_r innocuous_localtime_r
41705 /* System header to define __stub macros and hopefully few prototypes,
41706 which can conflict with char localtime_r (); below.
41707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41708 <limits.h> exists even on freestanding compilers. */
41711 # include <limits.h>
41713 # include <assert.h>
41718 /* Override any GCC internal prototype to avoid an error.
41719 Use char because int might match the return type of a GCC
41720 builtin and then its argument prototype would still apply. */
41724 char localtime_r ();
41725 /* The GNU C library defines this for functions which it implements
41726 to always fail with ENOSYS. Some functions are actually named
41727 something starting with __ and the normal name is an alias. */
41728 #if defined __stub_localtime_r || defined __stub___localtime_r
41735 return localtime_r ();
41740 rm -f conftest.
$ac_objext conftest
$ac_exeext
41741 if { (ac_try
="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41749 grep -v '^ *+' conftest.er1 >conftest.err
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } && {
41754 test -z "$ac_c_werror_flag" ||
41755 test ! -s conftest.err
41756 } && test -s conftest$ac_exeext &&
41757 $as_test_x conftest$ac_exeext; then
41758 ac_cv_func_localtime_r=yes
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41763 ac_cv_func_localtime_r=no
41766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41767 conftest$ac_exeext conftest.$ac_ext
41769 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41770 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41771 if test $ac_cv_func_localtime_r = yes; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define HAVE_LOCALTIME_R 1
41778 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41779 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41780 if test "${ac_cv_func_gmtime_r+set}" = set; then
41781 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 cat >conftest.$ac_ext <<_ACEOF
41786 cat confdefs.h >>conftest.$ac_ext
41787 cat >>conftest.$ac_ext <<_ACEOF
41788 /* end confdefs.h. */
41789 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41791 #define gmtime_r innocuous_gmtime_r
41793 /* System header to define __stub macros and hopefully few prototypes,
41794 which can conflict with char gmtime_r (); below.
41795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41796 <limits.h> exists even on freestanding compilers. */
41799 # include <limits.h>
41801 # include <assert.h>
41806 /* Override any GCC internal prototype to avoid an error.
41807 Use char because int might match the return type of a GCC
41808 builtin and then its argument prototype would still apply. */
41813 /* The GNU C library defines this for functions which it implements
41814 to always fail with ENOSYS. Some functions are actually named
41815 something starting with __ and the normal name is an alias. */
41816 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41823 return gmtime_r ();
41828 rm -f conftest.$ac_objext conftest$ac_exeext
41829 if { (ac_try="$ac_link"
41830 case "(($ac_try" in
41831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41832 *) ac_try_echo
=$ac_try;;
41834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41835 (eval "$ac_link") 2>conftest.er1
41837 grep -v '^ *+' conftest.er1
>conftest.err
41839 cat conftest.err
>&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); } && {
41842 test -z "$ac_c_werror_flag" ||
41843 test ! -s conftest.err
41844 } && test -s conftest
$ac_exeext &&
41845 $as_test_x conftest
$ac_exeext; then
41846 ac_cv_func_gmtime_r
=yes
41848 echo "$as_me: failed program was:" >&5
41849 sed 's/^/| /' conftest.
$ac_ext >&5
41851 ac_cv_func_gmtime_r
=no
41854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41855 conftest
$ac_exeext conftest.
$ac_ext
41857 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41858 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41859 if test $ac_cv_func_gmtime_r = yes; then
41860 cat >>confdefs.h
<<\_ACEOF
41861 #define HAVE_GMTIME_R 1
41870 ac_cpp
='$CPP $CPPFLAGS'
41871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41875 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41876 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41878 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41879 echo $ECHO_N "(cached) $ECHO_C" >&6
41883 ################################################################
41885 ac_cv_func_which_gethostbyname_r
=unknown
41888 # ONE ARGUMENT (sanity check)
41891 # This should fail, as there is no variant of gethostbyname_r() that takes
41892 # a single argument. If it actually compiles, then we can assume that
41893 # netdb.h is not declaring the function, and the compiler is thereby
41894 # assuming an implicit prototype. In which case, we're out of luck.
41896 cat >conftest.
$ac_ext <<_ACEOF
41899 cat confdefs.h
>>conftest.
$ac_ext
41900 cat >>conftest.
$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41907 char *name = "www.gnu.org";
41908 (void)gethostbyname_r(name) /* ; */
41914 rm -f conftest.
$ac_objext
41915 if { (ac_try
="$ac_compile"
41916 case "(($ac_try" in
41917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41918 *) ac_try_echo=$ac_try;;
41920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41921 (eval "$ac_compile") 2>conftest.er1
41923 grep -v '^ *+' conftest.er1 >conftest.err
41925 cat conftest.err >&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } && {
41928 test -z "$ac_c_werror_flag" ||
41929 test ! -s conftest.err
41930 } && test -s conftest.$ac_objext; then
41931 ac_cv_func_which_gethostbyname_r=no
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41948 cat >conftest.$ac_ext <<_ACEOF
41951 cat confdefs.h >>conftest.$ac_ext
41952 cat >>conftest.$ac_ext <<_ACEOF
41953 /* end confdefs.h. */
41959 char *name = "www.gnu.org";
41960 struct hostent ret, *retp;
41964 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41970 rm -f conftest.$ac_objext
41971 if { (ac_try="$ac_compile"
41972 case "(($ac_try" in
41973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41974 *) ac_try_echo
=$ac_try;;
41976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41977 (eval "$ac_compile") 2>conftest.er1
41979 grep -v '^ *+' conftest.er1
>conftest.err
41981 cat conftest.err
>&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } && {
41984 test -z "$ac_c_werror_flag" ||
41985 test ! -s conftest.err
41986 } && test -s conftest.
$ac_objext; then
41987 ac_cv_func_which_gethostbyname_r
=six
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.
$ac_ext >&5
41995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42004 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42006 cat >conftest.
$ac_ext <<_ACEOF
42009 cat confdefs.h
>>conftest.
$ac_ext
42010 cat >>conftest.
$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42017 char *name = "www.gnu.org";
42018 struct hostent ret;
42022 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42028 rm -f conftest.
$ac_objext
42029 if { (ac_try
="$ac_compile"
42030 case "(($ac_try" in
42031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42032 *) ac_try_echo=$ac_try;;
42034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42035 (eval "$ac_compile") 2>conftest.er1
42037 grep -v '^ *+' conftest.er1 >conftest.err
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } && {
42042 test -z "$ac_c_werror_flag" ||
42043 test ! -s conftest.err
42044 } && test -s conftest.$ac_objext; then
42045 ac_cv_func_which_gethostbyname_r=five
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42059 # (e.g. AIX, HP-UX, Tru64)
42062 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42064 cat >conftest.$ac_ext <<_ACEOF
42067 cat confdefs.h >>conftest.$ac_ext
42068 cat >>conftest.$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42075 char *name = "www.gnu.org";
42076 struct hostent ret;
42077 struct hostent_data data;
42078 (void)gethostbyname_r(name, &ret, &data) /* ; */
42084 rm -f conftest.$ac_objext
42085 if { (ac_try="$ac_compile"
42086 case "(($ac_try" in
42087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42088 *) ac_try_echo
=$ac_try;;
42090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42091 (eval "$ac_compile") 2>conftest.er1
42093 grep -v '^ *+' conftest.er1
>conftest.err
42095 cat conftest.err
>&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); } && {
42098 test -z "$ac_c_werror_flag" ||
42099 test ! -s conftest.err
42100 } && test -s conftest.
$ac_objext; then
42101 ac_cv_func_which_gethostbyname_r
=three
42103 echo "$as_me: failed program was:" >&5
42104 sed 's/^/| /' conftest.
$ac_ext >&5
42109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42113 ################################################################
42118 case "$ac_cv_func_which_gethostbyname_r" in
42120 { echo "$as_me:$LINENO: result: three" >&5
42121 echo "${ECHO_T}three" >&6; }
42122 cat >>confdefs.h
<<\_ACEOF
42123 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42129 { echo "$as_me:$LINENO: result: five" >&5
42130 echo "${ECHO_T}five" >&6; }
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42138 { echo "$as_me:$LINENO: result: six" >&5
42139 echo "${ECHO_T}six" >&6; }
42140 cat >>confdefs.h
<<\_ACEOF
42141 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42147 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42148 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42152 { echo "$as_me:$LINENO: result: can't tell" >&5
42153 echo "${ECHO_T}can't tell" >&6; }
42157 { { echo "$as_me:$LINENO: error: internal error" >&5
42158 echo "$as_me: error: internal error" >&2;}
42159 { (exit 1); exit 1; }; }
42164 ac_cpp
='$CPP $CPPFLAGS'
42165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42171 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42172 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42173 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42174 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42175 if test "${ac_cv_func_gethostbyname+set}" = set; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 cat >conftest.
$ac_ext <<_ACEOF
42181 cat confdefs.h
>>conftest.
$ac_ext
42182 cat >>conftest.
$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42184 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42186 #define gethostbyname innocuous_gethostbyname
42188 /* System header to define __stub macros and hopefully few prototypes,
42189 which can conflict with char gethostbyname (); below.
42190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42191 <limits.h> exists even on freestanding compilers. */
42194 # include <limits.h>
42196 # include <assert.h>
42199 #undef gethostbyname
42201 /* Override any GCC internal prototype to avoid an error.
42202 Use char because int might match the return type of a GCC
42203 builtin and then its argument prototype would still apply. */
42207 char gethostbyname ();
42208 /* The GNU C library defines this for functions which it implements
42209 to always fail with ENOSYS. Some functions are actually named
42210 something starting with __ and the normal name is an alias. */
42211 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42218 return gethostbyname ();
42223 rm -f conftest.
$ac_objext conftest
$ac_exeext
42224 if { (ac_try
="$ac_link"
42225 case "(($ac_try" in
42226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42227 *) ac_try_echo=$ac_try;;
42229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42230 (eval "$ac_link") 2>conftest.er1
42232 grep -v '^ *+' conftest.er1 >conftest.err
42234 cat conftest.err >&5
42235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42236 (exit $ac_status); } && {
42237 test -z "$ac_c_werror_flag" ||
42238 test ! -s conftest.err
42239 } && test -s conftest$ac_exeext &&
42240 $as_test_x conftest$ac_exeext; then
42241 ac_cv_func_gethostbyname=yes
42243 echo "$as_me: failed program was:" >&5
42244 sed 's/^/| /' conftest.$ac_ext >&5
42246 ac_cv_func_gethostbyname=no
42249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42250 conftest$ac_exeext conftest.$ac_ext
42252 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42253 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42254 if test $ac_cv_func_gethostbyname = yes; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define HAVE_GETHOSTBYNAME 1
42263 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42264 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42265 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42266 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 ac_cpp='$CXXCPP $CPPFLAGS'
42271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42276 cat >conftest.$ac_ext <<_ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42289 struct servent *se, *res;
42292 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42298 rm -f conftest.$ac_objext
42299 if { (ac_try="$ac_compile"
42300 case "(($ac_try" in
42301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42302 *) ac_try_echo
=$ac_try;;
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_compile") 2>conftest.er1
42307 grep -v '^ *+' conftest.er1
>conftest.err
42309 cat conftest.err
>&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_cxx_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest.
$ac_objext; then
42315 ac_cv_func_which_getservbyname_r
=six
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.
$ac_ext >&5
42321 cat >conftest.
$ac_ext <<_ACEOF
42324 cat confdefs.h
>>conftest.
$ac_ext
42325 cat >>conftest.
$ac_ext <<_ACEOF
42326 /* end confdefs.h. */
42334 struct servent *se;
42337 (void) getservbyname_r(name, proto, se, buffer, buflen)
42343 rm -f conftest.
$ac_objext
42344 if { (ac_try
="$ac_compile"
42345 case "(($ac_try" in
42346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42347 *) ac_try_echo=$ac_try;;
42349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42350 (eval "$ac_compile") 2>conftest.er1
42352 grep -v '^ *+' conftest.er1 >conftest.err
42354 cat conftest.err >&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } && {
42357 test -z "$ac_cxx_werror_flag" ||
42358 test ! -s conftest.err
42359 } && test -s conftest.$ac_objext; then
42360 ac_cv_func_which_getservbyname_r=five
42362 echo "$as_me: failed program was:" >&5
42363 sed 's/^/| /' conftest.$ac_ext >&5
42366 cat >conftest.$ac_ext <<_ACEOF
42369 cat confdefs.h >>conftest.$ac_ext
42370 cat >>conftest.$ac_ext <<_ACEOF
42371 /* end confdefs.h. */
42379 struct servent *se;
42380 struct servent_data data;
42381 (void) getservbyname_r(name, proto, se, &data);
42387 rm -f conftest.$ac_objext
42388 if { (ac_try="$ac_compile"
42389 case "(($ac_try" in
42390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42391 *) ac_try_echo
=$ac_try;;
42393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42394 (eval "$ac_compile") 2>conftest.er1
42396 grep -v '^ *+' conftest.er1
>conftest.err
42398 cat conftest.err
>&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); } && {
42401 test -z "$ac_cxx_werror_flag" ||
42402 test ! -s conftest.err
42403 } && test -s conftest.
$ac_objext; then
42404 ac_cv_func_which_getservbyname_r
=four
42406 echo "$as_me: failed program was:" >&5
42407 sed 's/^/| /' conftest.
$ac_ext >&5
42409 ac_cv_func_which_getservbyname_r
=no
42413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42425 ac_cpp
='$CPP $CPPFLAGS'
42426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42433 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42434 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42436 if test $ac_cv_func_which_getservbyname_r = six
; then
42437 cat >>confdefs.h
<<\_ACEOF
42438 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42441 elif test $ac_cv_func_which_getservbyname_r = five
; then
42442 cat >>confdefs.h
<<\_ACEOF
42443 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42446 elif test $ac_cv_func_which_getservbyname_r = four
; then
42447 cat >>confdefs.h
<<\_ACEOF
42448 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42454 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42455 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42457 for ac_func
in getservbyname
42459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42462 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42463 echo $ECHO_N "(cached) $ECHO_C" >&6
42465 cat >conftest.
$ac_ext <<_ACEOF
42468 cat confdefs.h
>>conftest.
$ac_ext
42469 cat >>conftest.
$ac_ext <<_ACEOF
42470 /* end confdefs.h. */
42471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42473 #define $ac_func innocuous_$ac_func
42475 /* System header to define __stub macros and hopefully few prototypes,
42476 which can conflict with char $ac_func (); below.
42477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42478 <limits.h> exists even on freestanding compilers. */
42481 # include <limits.h>
42483 # include <assert.h>
42488 /* Override any GCC internal prototype to avoid an error.
42489 Use char because int might match the return type of a GCC
42490 builtin and then its argument prototype would still apply. */
42495 /* The GNU C library defines this for functions which it implements
42496 to always fail with ENOSYS. Some functions are actually named
42497 something starting with __ and the normal name is an alias. */
42498 #if defined __stub_$ac_func || defined __stub___$ac_func
42505 return $ac_func ();
42510 rm -f conftest.
$ac_objext conftest
$ac_exeext
42511 if { (ac_try
="$ac_link"
42512 case "(($ac_try" in
42513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42514 *) ac_try_echo=$ac_try;;
42516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42517 (eval "$ac_link") 2>conftest.er1
42519 grep -v '^ *+' conftest.er1 >conftest.err
42521 cat conftest.err >&5
42522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42523 (exit $ac_status); } && {
42524 test -z "$ac_c_werror_flag" ||
42525 test ! -s conftest.err
42526 } && test -s conftest$ac_exeext &&
42527 $as_test_x conftest$ac_exeext; then
42528 eval "$as_ac_var=yes"
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42533 eval "$as_ac_var=no"
42536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42537 conftest$ac_exeext conftest.$ac_ext
42539 ac_res=`eval echo '${'$as_ac_var'}'`
42540 { echo "$as_me:$LINENO: result: $ac_res" >&5
42541 echo "${ECHO_T}$ac_res" >&6; }
42542 if test `eval echo '${'$as_ac_var'}'` = yes; then
42543 cat >>confdefs.h <<_ACEOF
42544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42546 cat >>confdefs.h <<\_ACEOF
42547 #define HAVE_GETSERVBYNAME 1
42555 if test "$wxUSE_THREADS" = "yes"; then
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_THREADS 1
42561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42563 if test "$wx_cv_func_strtok_r" = "yes"; then
42564 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42565 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42566 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42567 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42568 { echo "$as_me:$LINENO: result: yes" >&5
42569 echo "${ECHO_T}yes" >&6; }
42571 { echo "$as_me:$LINENO: result: no" >&5
42572 echo "${ECHO_T}no" >&6; }
42577 if test "$WXGTK2" = 1 ; then
42578 cat >>confdefs.h <<_ACEOF
42579 #define __WXGTK20__ $WXGTK2
42585 if test "$WXGTK12" = 1 ; then
42586 cat >>confdefs.h <<_ACEOF
42587 #define __WXGTK12__ $WXGTK12
42592 if test "$WXGTK127" = 1 ; then
42593 cat >>confdefs.h <<_ACEOF
42594 #define __WXGTK127__ $WXGTK127
42599 if test "$WXGPE" = 1 ; then
42600 cat >>confdefs.h <<_ACEOF
42601 #define __WXGPE__ $WXGPE
42607 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42608 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42609 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42610 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42614 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42615 wxUSE_DEBUG_INFO=yes
42616 if test "$GCC" = yes; then
42617 DEBUG_CFLAGS="-ggdb"
42621 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42622 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42624 if test "$wxUSE_GTK" = 1 ; then
42625 if test "x$wxGTK_VERSION" = "x1" ; then
42626 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42631 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_MEMORY_TRACING 1
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_DEBUG_NEW_ALWAYS 1
42644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42647 if test "$wxUSE_DMALLOC" = "yes" ; then
42648 DMALLOC_LIBS="-ldmallocthcxx"
42652 if test "$wxUSE_PROFILE" = "yes" ; then
42653 PROFILE_FLAGS=" -pg"
42656 if test "$GCC" = "yes" ; then
42657 if test "$wxUSE_NO_RTTI" = "yes" ; then
42658 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42660 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42661 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42663 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42664 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42669 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42672 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42678 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42679 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42680 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42682 if test "$wxUSE_OPTIMISE" = "no" ; then
42683 if test "$GCC" = yes ; then
42684 OPTIMISE_CFLAGS="-O0"
42687 if test "$GCC" = yes ; then
42689 *-pc-os2_emx | *-pc-os2-emx )
42690 OPTIMISE_CFLAGS="-O2"
42693 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42697 OPTIMISE_CFLAGS="-O"
42703 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define WXWIN_COMPATIBILITY_2_6 1
42709 WXWIN_COMPATIBILITY_2_8="yes"
42712 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define WXWIN_COMPATIBILITY_2_8 1
42720 if test "$wxUSE_GUI" = "yes"; then
42721 cat >>confdefs.h <<\_ACEOF
42722 #define wxUSE_GUI 1
42729 if test "$wxUSE_UNIX" = "yes"; then
42730 cat >>confdefs.h <<\_ACEOF
42731 #define wxUSE_UNIX 1
42737 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42741 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42742 if test "$USE_DOS" = 1; then
42746 for ac_func in dlopen
42748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42754 cat >conftest.$ac_ext <<_ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42762 #define $ac_func innocuous_$ac_func
42764 /* System header to define __stub macros and hopefully few prototypes,
42765 which can conflict with char $ac_func (); below.
42766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42767 <limits.h> exists even on freestanding compilers. */
42770 # include <limits.h>
42772 # include <assert.h>
42777 /* Override any GCC internal prototype to avoid an error.
42778 Use char because int might match the return type of a GCC
42779 builtin and then its argument prototype would still apply. */
42784 /* The GNU C library defines this for functions which it implements
42785 to always fail with ENOSYS. Some functions are actually named
42786 something starting with __ and the normal name is an alias. */
42787 #if defined __stub_$ac_func || defined __stub___$ac_func
42794 return $ac_func ();
42799 rm -f conftest.$ac_objext conftest$ac_exeext
42800 if { (ac_try="$ac_link"
42801 case "(($ac_try" in
42802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42803 *) ac_try_echo
=$ac_try;;
42805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42806 (eval "$ac_link") 2>conftest.er1
42808 grep -v '^ *+' conftest.er1
>conftest.err
42810 cat conftest.err
>&5
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); } && {
42813 test -z "$ac_c_werror_flag" ||
42814 test ! -s conftest.err
42815 } && test -s conftest
$ac_exeext &&
42816 $as_test_x conftest
$ac_exeext; then
42817 eval "$as_ac_var=yes"
42819 echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.
$ac_ext >&5
42822 eval "$as_ac_var=no"
42825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42826 conftest
$ac_exeext conftest.
$ac_ext
42828 ac_res
=`eval echo '${'$as_ac_var'}'`
42829 { echo "$as_me:$LINENO: result: $ac_res" >&5
42830 echo "${ECHO_T}$ac_res" >&6; }
42831 if test `eval echo '${'$as_ac_var'}'` = yes; then
42832 cat >>confdefs.h
<<_ACEOF
42833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42836 cat >>confdefs.h
<<\_ACEOF
42837 #define HAVE_DLOPEN 1
42844 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42845 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42846 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42849 ac_check_lib_save_LIBS
=$LIBS
42851 cat >conftest.
$ac_ext <<_ACEOF
42854 cat confdefs.h
>>conftest.
$ac_ext
42855 cat >>conftest.
$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42858 /* Override any GCC internal prototype to avoid an error.
42859 Use char because int might match the return type of a GCC
42860 builtin and then its argument prototype would still apply. */
42873 rm -f conftest.
$ac_objext conftest
$ac_exeext
42874 if { (ac_try
="$ac_link"
42875 case "(($ac_try" in
42876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42877 *) ac_try_echo=$ac_try;;
42879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42880 (eval "$ac_link") 2>conftest.er1
42882 grep -v '^ *+' conftest.er1 >conftest.err
42884 cat conftest.err >&5
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); } && {
42887 test -z "$ac_c_werror_flag" ||
42888 test ! -s conftest.err
42889 } && test -s conftest$ac_exeext &&
42890 $as_test_x conftest$ac_exeext; then
42891 ac_cv_lib_dl_dlopen=yes
42893 echo "$as_me: failed program was:" >&5
42894 sed 's/^/| /' conftest.$ac_ext >&5
42896 ac_cv_lib_dl_dlopen=no
42899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42900 conftest$ac_exeext conftest.$ac_ext
42901 LIBS=$ac_check_lib_save_LIBS
42903 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42905 if test $ac_cv_lib_dl_dlopen = yes; then
42907 cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_DLOPEN 1
42912 DL_LINK=" -ldl$DL_LINK"
42917 for ac_func in shl_load
42919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42923 echo $ECHO_N "(cached) $ECHO_C" >&6
42925 cat >conftest.$ac_ext <<_ACEOF
42928 cat confdefs.h >>conftest.$ac_ext
42929 cat >>conftest.$ac_ext <<_ACEOF
42930 /* end confdefs.h. */
42931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42933 #define $ac_func innocuous_$ac_func
42935 /* System header to define __stub macros and hopefully few prototypes,
42936 which can conflict with char $ac_func (); below.
42937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42938 <limits.h> exists even on freestanding compilers. */
42941 # include <limits.h>
42943 # include <assert.h>
42948 /* Override any GCC internal prototype to avoid an error.
42949 Use char because int might match the return type of a GCC
42950 builtin and then its argument prototype would still apply. */
42955 /* The GNU C library defines this for functions which it implements
42956 to always fail with ENOSYS. Some functions are actually named
42957 something starting with __ and the normal name is an alias. */
42958 #if defined __stub_$ac_func || defined __stub___$ac_func
42965 return $ac_func ();
42970 rm -f conftest.$ac_objext conftest$ac_exeext
42971 if { (ac_try="$ac_link"
42972 case "(($ac_try" in
42973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42974 *) ac_try_echo
=$ac_try;;
42976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42977 (eval "$ac_link") 2>conftest.er1
42979 grep -v '^ *+' conftest.er1
>conftest.err
42981 cat conftest.err
>&5
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); } && {
42984 test -z "$ac_c_werror_flag" ||
42985 test ! -s conftest.err
42986 } && test -s conftest
$ac_exeext &&
42987 $as_test_x conftest
$ac_exeext; then
42988 eval "$as_ac_var=yes"
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.
$ac_ext >&5
42993 eval "$as_ac_var=no"
42996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42997 conftest
$ac_exeext conftest.
$ac_ext
42999 ac_res
=`eval echo '${'$as_ac_var'}'`
43000 { echo "$as_me:$LINENO: result: $ac_res" >&5
43001 echo "${ECHO_T}$ac_res" >&6; }
43002 if test `eval echo '${'$as_ac_var'}'` = yes; then
43003 cat >>confdefs.h
<<_ACEOF
43004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43007 cat >>confdefs.h
<<\_ACEOF
43008 #define HAVE_SHL_LOAD 1
43015 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43016 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43017 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43018 echo $ECHO_N "(cached) $ECHO_C" >&6
43020 ac_check_lib_save_LIBS
=$LIBS
43021 LIBS
="-lshl_load $LIBS"
43022 cat >conftest.
$ac_ext <<_ACEOF
43025 cat confdefs.h
>>conftest.
$ac_ext
43026 cat >>conftest.
$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43029 /* Override any GCC internal prototype to avoid an error.
43030 Use char because int might match the return type of a GCC
43031 builtin and then its argument prototype would still apply. */
43044 rm -f conftest.
$ac_objext conftest
$ac_exeext
43045 if { (ac_try
="$ac_link"
43046 case "(($ac_try" in
43047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43048 *) ac_try_echo=$ac_try;;
43050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43051 (eval "$ac_link") 2>conftest.er1
43053 grep -v '^ *+' conftest.er1 >conftest.err
43055 cat conftest.err >&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } && {
43058 test -z "$ac_c_werror_flag" ||
43059 test ! -s conftest.err
43060 } && test -s conftest$ac_exeext &&
43061 $as_test_x conftest$ac_exeext; then
43062 ac_cv_lib_shl_load_dld=yes
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43067 ac_cv_lib_shl_load_dld=no
43070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43071 conftest$ac_exeext conftest.$ac_ext
43072 LIBS=$ac_check_lib_save_LIBS
43074 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43075 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43076 if test $ac_cv_lib_shl_load_dld = yes; then
43079 DL_LINK=" -ldld$DL_LINK"
43095 if test "$HAVE_DL_FUNCS" = 1; then
43097 for ac_func in dlerror
43099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43105 cat >conftest.$ac_ext <<_ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43113 #define $ac_func innocuous_$ac_func
43115 /* System header to define __stub macros and hopefully few prototypes,
43116 which can conflict with char $ac_func (); below.
43117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43118 <limits.h> exists even on freestanding compilers. */
43121 # include <limits.h>
43123 # include <assert.h>
43128 /* Override any GCC internal prototype to avoid an error.
43129 Use char because int might match the return type of a GCC
43130 builtin and then its argument prototype would still apply. */
43135 /* The GNU C library defines this for functions which it implements
43136 to always fail with ENOSYS. Some functions are actually named
43137 something starting with __ and the normal name is an alias. */
43138 #if defined __stub_$ac_func || defined __stub___$ac_func
43145 return $ac_func ();
43150 rm -f conftest.$ac_objext conftest$ac_exeext
43151 if { (ac_try="$ac_link"
43152 case "(($ac_try" in
43153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43154 *) ac_try_echo
=$ac_try;;
43156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43157 (eval "$ac_link") 2>conftest.er1
43159 grep -v '^ *+' conftest.er1
>conftest.err
43161 cat conftest.err
>&5
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); } && {
43164 test -z "$ac_c_werror_flag" ||
43165 test ! -s conftest.err
43166 } && test -s conftest
$ac_exeext &&
43167 $as_test_x conftest
$ac_exeext; then
43168 eval "$as_ac_var=yes"
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.
$ac_ext >&5
43173 eval "$as_ac_var=no"
43176 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43177 conftest
$ac_exeext conftest.
$ac_ext
43179 ac_res
=`eval echo '${'$as_ac_var'}'`
43180 { echo "$as_me:$LINENO: result: $ac_res" >&5
43181 echo "${ECHO_T}$ac_res" >&6; }
43182 if test `eval echo '${'$as_ac_var'}'` = yes; then
43183 cat >>confdefs.h
<<_ACEOF
43184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43186 cat >>confdefs.h
<<\_ACEOF
43187 #define HAVE_DLERROR 1
43192 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43193 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43194 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43195 echo $ECHO_N "(cached) $ECHO_C" >&6
43197 ac_check_lib_save_LIBS
=$LIBS
43199 cat >conftest.
$ac_ext <<_ACEOF
43202 cat confdefs.h
>>conftest.
$ac_ext
43203 cat >>conftest.
$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43206 /* Override any GCC internal prototype to avoid an error.
43207 Use char because int might match the return type of a GCC
43208 builtin and then its argument prototype would still apply. */
43221 rm -f conftest.
$ac_objext conftest
$ac_exeext
43222 if { (ac_try
="$ac_link"
43223 case "(($ac_try" in
43224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43225 *) ac_try_echo=$ac_try;;
43227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43228 (eval "$ac_link") 2>conftest.er1
43230 grep -v '^ *+' conftest.er1 >conftest.err
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } && {
43235 test -z "$ac_c_werror_flag" ||
43236 test ! -s conftest.err
43237 } && test -s conftest$ac_exeext &&
43238 $as_test_x conftest$ac_exeext; then
43239 ac_cv_lib_dl_dlerror=yes
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43244 ac_cv_lib_dl_dlerror=no
43247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43248 conftest$ac_exeext conftest.$ac_ext
43249 LIBS=$ac_check_lib_save_LIBS
43251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43252 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43253 if test $ac_cv_lib_dl_dlerror = yes; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define HAVE_DLERROR 1
43268 if test "$USE_DARWIN" = 1; then
43272 if test "$HAVE_DL_FUNCS" = 0; then
43273 if test "$HAVE_SHL_FUNCS" = 0; then
43274 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43275 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43276 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43277 wxUSE_DYNAMIC_LOADER=no
43278 wxUSE_DYNLIB_CLASS=no
43280 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43281 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43288 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_DYNAMIC_LOADER 1
43294 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_DYNLIB_CLASS 1
43303 if test "$wxUSE_PLUGINS" = "yes" ; then
43304 if test "$wxUSE_SHARED" = "no" ; then
43305 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43306 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43309 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43310 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43311 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43314 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43315 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43316 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43319 if test "$wxUSE_PLUGINS" = "yes" ; then
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_PLUGINS 1
43328 if test "$wxUSE_FSWATCHER" = "yes"; then
43329 if test "$wxUSE_MSW" != "1"; then
43330 if test "$wxUSE_UNIX" = "yes"; then
43332 for ac_header in sys/inotify.h
43334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43335 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43338 echo $ECHO_N "(cached) $ECHO_C" >&6
43340 cat >conftest.$ac_ext <<_ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346 $ac_includes_default
43348 #include <$ac_header>
43350 rm -f conftest.$ac_objext
43351 if { (ac_try="$ac_compile"
43352 case "(($ac_try" in
43353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43354 *) ac_try_echo
=$ac_try;;
43356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43357 (eval "$ac_compile") 2>conftest.er1
43359 grep -v '^ *+' conftest.er1
>conftest.err
43361 cat conftest.err
>&5
43362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363 (exit $ac_status); } && {
43364 test -z "$ac_c_werror_flag" ||
43365 test ! -s conftest.err
43366 } && test -s conftest.
$ac_objext; then
43367 eval "$as_ac_Header=yes"
43369 echo "$as_me: failed program was:" >&5
43370 sed 's/^/| /' conftest.
$ac_ext >&5
43372 eval "$as_ac_Header=no"
43375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43377 ac_res
=`eval echo '${'$as_ac_Header'}'`
43378 { echo "$as_me:$LINENO: result: $ac_res" >&5
43379 echo "${ECHO_T}$ac_res" >&6; }
43380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43381 cat >>confdefs.h
<<_ACEOF
43382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43389 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43390 cat >>confdefs.h
<<\_ACEOF
43391 #define wxHAS_INOTIFY 1
43396 for ac_header
in sys
/event.h
43398 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43401 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 cat >conftest.
$ac_ext <<_ACEOF
43407 cat confdefs.h
>>conftest.
$ac_ext
43408 cat >>conftest.
$ac_ext <<_ACEOF
43409 /* end confdefs.h. */
43410 $ac_includes_default
43412 #include <$ac_header>
43414 rm -f conftest.
$ac_objext
43415 if { (ac_try
="$ac_compile"
43416 case "(($ac_try" in
43417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43418 *) ac_try_echo=$ac_try;;
43420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43421 (eval "$ac_compile") 2>conftest.er1
43423 grep -v '^ *+' conftest.er1 >conftest.err
43425 cat conftest.err >&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); } && {
43428 test -z "$ac_c_werror_flag" ||
43429 test ! -s conftest.err
43430 } && test -s conftest.$ac_objext; then
43431 eval "$as_ac_Header=yes"
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43436 eval "$as_ac_Header=no"
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441 ac_res=`eval echo '${'$as_ac_Header'}'`
43442 { echo "$as_me:$LINENO: result: $ac_res" >&5
43443 echo "${ECHO_T}$ac_res" >&6; }
43444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43445 cat >>confdefs.h <<_ACEOF
43446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43453 if test "$ac_cv_header_sys_event_h" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxHAS_KQUEUE 1
43467 if test "$wxUSE_FSWATCHER" = "yes"; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define wxUSE_FSWATCHER 1
43472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43474 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43475 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43480 if test "$wxUSE_STL" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_STL 1
43487 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_EXTENDED_RTTI 1
43494 if test "$wxUSE_ANY" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_ANY 1
43501 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_APPLE_IEEE 1
43508 if test "$wxUSE_TIMER" = "yes"; then
43509 cat >>confdefs.h <<\_ACEOF
43510 #define wxUSE_TIMER 1
43515 if test "$USE_UNIX" = 1 ; then
43516 if test "$wxUSE_MGL" != 1; then
43517 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43518 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43519 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43520 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 cat >conftest.$ac_ext <<_ACEOF
43526 cat confdefs.h >>conftest.$ac_ext
43527 cat >>conftest.$ac_ext <<_ACEOF
43528 /* end confdefs.h. */
43530 #include <sys/ioctl.h>
43531 #include <sys/soundcard.h>
43537 ioctl(0, SNDCTL_DSP_SPEED, 0);
43543 rm -f conftest.$ac_objext conftest$ac_exeext
43544 if { (ac_try="$ac_link"
43545 case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43547 *) ac_try_echo
=$ac_try;;
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_link") 2>conftest.er1
43552 grep -v '^ *+' conftest.er1
>conftest.err
43554 cat conftest.err
>&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } && {
43557 test -z "$ac_c_werror_flag" ||
43558 test ! -s conftest.err
43559 } && test -s conftest
$ac_exeext &&
43560 $as_test_x conftest
$ac_exeext; then
43561 ac_cv_header_sys_soundcard
=yes
43563 echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.
$ac_ext >&5
43568 LIBS
="$saveLibs -lossaudio"
43569 cat >conftest.
$ac_ext <<_ACEOF
43572 cat confdefs.h
>>conftest.
$ac_ext
43573 cat >>conftest.
$ac_ext <<_ACEOF
43574 /* end confdefs.h. */
43576 #include <sys/ioctl.h>
43577 #include <sys/soundcard.h>
43583 ioctl(0, SNDCTL_DSP_SPEED, 0);
43589 rm -f conftest.
$ac_objext conftest
$ac_exeext
43590 if { (ac_try
="$ac_link"
43591 case "(($ac_try" in
43592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43593 *) ac_try_echo=$ac_try;;
43595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43596 (eval "$ac_link") 2>conftest.er1
43598 grep -v '^ *+' conftest.er1 >conftest.err
43600 cat conftest.err >&5
43601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43602 (exit $ac_status); } && {
43603 test -z "$ac_c_werror_flag" ||
43604 test ! -s conftest.err
43605 } && test -s conftest$ac_exeext &&
43606 $as_test_x conftest$ac_exeext; then
43607 ac_cv_header_sys_soundcard=yes
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43614 ac_cv_header_sys_soundcard=no
43619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43620 conftest$ac_exeext conftest.$ac_ext
43625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43626 conftest$ac_exeext conftest.$ac_ext
43629 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43630 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43633 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43634 cat >>confdefs.h <<\_ACEOF
43635 #define HAVE_SYS_SOUNDCARD_H 1
43642 if test "$wxUSE_SOUND" = "yes"; then
43643 if test "$USE_UNIX" = 1 ; then
43644 if test "$wxUSE_LIBSDL" != "no"; then
43646 # Check whether --with-sdl-prefix was given.
43647 if test "${with_sdl_prefix+set}" = set; then
43648 withval=$with_sdl_prefix; sdl_prefix="$withval"
43654 # Check whether --with-sdl-exec-prefix was given.
43655 if test "${with_sdl_exec_prefix+set}" = set; then
43656 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43661 # Check whether --enable-sdltest was given.
43662 if test "${enable_sdltest+set}" = set; then
43663 enableval=$enable_sdltest;
43669 if test x$sdl_exec_prefix != x ; then
43670 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43671 if test x${SDL_CONFIG+set} != xset ; then
43672 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43675 if test x$sdl_prefix != x ; then
43676 sdl_args="$sdl_args --prefix=$sdl_prefix"
43677 if test x${SDL_CONFIG+set} != xset ; then
43678 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43682 if test "x$prefix" != xNONE; then
43683 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43685 # Extract the first word of "sdl-config", so it can be a program name with args.
43686 set dummy sdl-config; ac_word=$2
43687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43689 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43692 case $SDL_CONFIG in
43694 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43698 for as_dir in $PATH
43701 test -z "$as_dir" && as_dir=.
43702 for ac_exec_ext in '' $ac_executable_extensions; do
43703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43704 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43712 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43716 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43717 if test -n "$SDL_CONFIG"; then
43718 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43719 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43721 { echo "$as_me:$LINENO: result: no" >&5
43722 echo "${ECHO_T}no" >&6; }
43726 min_sdl_version=1.2.0
43727 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43728 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43730 if test "$SDL_CONFIG" = "no" ; then
43733 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43734 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43736 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43738 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43740 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43742 if test "x$enable_sdltest" = "xyes" ; then
43743 ac_save_CFLAGS="$CFLAGS"
43744 ac_save_CXXFLAGS="$CXXFLAGS"
43745 ac_save_LIBS="$LIBS"
43746 CFLAGS="$CFLAGS $SDL_CFLAGS"
43747 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43748 LIBS="$LIBS $SDL_LIBS"
43750 if test "$cross_compiling" = yes; then
43751 echo $ac_n "cross compiling; assumed OK... $ac_c"
43753 cat >conftest.$ac_ext <<_ACEOF
43756 cat confdefs.h >>conftest.$ac_ext
43757 cat >>conftest.$ac_ext <<_ACEOF
43758 /* end confdefs.h. */
43761 #include <stdlib.h>
43762 #include <string.h>
43766 my_strdup (char *str)
43772 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43773 strcpy (new_str, str);
43781 int main (int argc, char *argv[])
43783 int major, minor, micro;
43786 /* This hangs on some systems (?)
43787 system ("touch conf.sdltest");
43789 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43791 /* HP/UX 9 (%@#!) writes to sscanf strings */
43792 tmp_version = my_strdup("$min_sdl_version");
43793 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43794 printf("%s, bad version string\n", "$min_sdl_version");
43798 if (($sdl_major_version > major) ||
43799 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43800 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43806 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43807 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43808 printf("*** best to upgrade to the required version.\n");
43809 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43810 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43811 printf("*** config.cache before re-running configure\n");
43818 rm -f conftest$ac_exeext
43819 if { (ac_try="$ac_link"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43822 *) ac_try_echo
=$ac_try;;
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_link") 2>&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43829 { (case "(($ac_try" in
43830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43831 *) ac_try_echo=$ac_try;;
43833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43834 (eval "$ac_try") 2>&5
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); }; }; then
43840 echo "$as_me: program exited with status $ac_status" >&5
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43844 ( exit $ac_status )
43847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43851 CFLAGS="$ac_save_CFLAGS"
43852 CXXFLAGS="$ac_save_CXXFLAGS"
43853 LIBS="$ac_save_LIBS"
43856 if test "x$no_sdl" = x ; then
43857 { echo "$as_me:$LINENO: result: yes" >&5
43858 echo "${ECHO_T}yes" >&6; }
43860 EXTRALIBS_SDL="$SDL_LIBS"
43861 CFLAGS="$SDL_CFLAGS $CFLAGS"
43862 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_LIBSDL 1
43869 { echo "$as_me:$LINENO: result: no" >&5
43870 echo "${ECHO_T}no" >&6; }
43871 if test "$SDL_CONFIG" = "no" ; then
43872 echo "*** The sdl-config script installed by SDL could not be found"
43873 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43874 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43875 echo "*** full path to sdl-config."
43877 if test -f conf.sdltest ; then
43880 echo "*** Could not run SDL test program, checking why..."
43881 CFLAGS="$CFLAGS $SDL_CFLAGS"
43882 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43883 LIBS="$LIBS $SDL_LIBS"
43884 cat >conftest.$ac_ext <<_ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43894 int main(int argc, char *argv[])
43897 #define main K_and_R_C_main
43907 rm -f conftest.$ac_objext conftest$ac_exeext
43908 if { (ac_try="$ac_link"
43909 case "(($ac_try" in
43910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43911 *) ac_try_echo
=$ac_try;;
43913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43914 (eval "$ac_link") 2>conftest.er1
43916 grep -v '^ *+' conftest.er1
>conftest.err
43918 cat conftest.err
>&5
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); } && {
43921 test -z "$ac_c_werror_flag" ||
43922 test ! -s conftest.err
43923 } && test -s conftest
$ac_exeext &&
43924 $as_test_x conftest
$ac_exeext; then
43925 echo "*** The test program compiled, but did not run. This usually means"
43926 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43927 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43928 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43929 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43930 echo "*** is required on your system"
43932 echo "*** If you have an old version installed, it is best to remove it, although"
43933 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43935 echo "$as_me: failed program was:" >&5
43936 sed 's/^/| /' conftest.
$ac_ext >&5
43938 echo "*** The test program failed to compile or link. See the file config.log for the"
43939 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43940 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43941 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43945 conftest
$ac_exeext conftest.
$ac_ext
43946 CFLAGS
="$ac_save_CFLAGS"
43947 CXXFLAGS
="$ac_save_CXXFLAGS"
43948 LIBS
="$ac_save_LIBS"
43959 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43964 if test "$wxUSE_MGL" = 1; then
43965 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43966 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43972 if test "$wxUSE_SOUND" = "yes"; then
43973 cat >>confdefs.h
<<\_ACEOF
43974 #define wxUSE_SOUND 1
43977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43980 if test "$WXGTK2" = 1; then
43983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43984 if test -n "$ac_tool_prefix"; then
43985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43986 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43990 echo $ECHO_N "(cached) $ECHO_C" >&6
43992 case $PKG_CONFIG in
43994 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43998 for as_dir
in $PATH
44001 test -z "$as_dir" && as_dir
=.
44002 for ac_exec_ext
in '' $ac_executable_extensions; do
44003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44004 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44015 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44016 if test -n "$PKG_CONFIG"; then
44017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44020 { echo "$as_me:$LINENO: result: no" >&5
44021 echo "${ECHO_T}no" >&6; }
44026 if test -z "$ac_cv_path_PKG_CONFIG"; then
44027 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44028 # Extract the first word of "pkg-config", so it can be a program name with args.
44029 set dummy pkg
-config; ac_word
=$2
44030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44033 echo $ECHO_N "(cached) $ECHO_C" >&6
44035 case $ac_pt_PKG_CONFIG in
44037 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44041 for as_dir
in $PATH
44044 test -z "$as_dir" && as_dir
=.
44045 for ac_exec_ext
in '' $ac_executable_extensions; do
44046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44047 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44058 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44059 if test -n "$ac_pt_PKG_CONFIG"; then
44060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44063 { echo "$as_me:$LINENO: result: no" >&5
44064 echo "${ECHO_T}no" >&6; }
44067 if test "x$ac_pt_PKG_CONFIG" = x
; then
44070 case $cross_compiling:$ac_tool_warned in
44072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44073 whose name does not start with the host triplet. If you think this
44074 configuration is useful to you, please write to autoconf@gnu.org." >&5
44075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44076 whose name does not start with the host triplet. If you think this
44077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44078 ac_tool_warned
=yes ;;
44080 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44083 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44087 if test -n "$PKG_CONFIG"; then
44088 _pkg_min_version
=0.9.0
44089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44092 { echo "$as_me:$LINENO: result: yes" >&5
44093 echo "${ECHO_T}yes" >&6; }
44095 { echo "$as_me:$LINENO: result: no" >&5
44096 echo "${ECHO_T}no" >&6; }
44102 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44104 if test "$wxUSE_GTKPRINT" = "yes" ; then
44108 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44109 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44111 if test -n "$PKG_CONFIG"; then
44112 if test -n "$GTKPRINT_CFLAGS"; then
44113 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44115 if test -n "$PKG_CONFIG" && \
44116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44117 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44120 (exit $ac_status); }; then
44121 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44129 if test -n "$PKG_CONFIG"; then
44130 if test -n "$GTKPRINT_LIBS"; then
44131 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44133 if test -n "$PKG_CONFIG" && \
44134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44135 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); }; then
44139 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44150 if test $pkg_failed = yes; then
44152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44153 _pkg_short_errors_supported
=yes
44155 _pkg_short_errors_supported
=no
44157 if test $_pkg_short_errors_supported = yes; then
44158 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44160 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44162 # Put the nasty error message in config.log where it belongs
44163 echo "$GTKPRINT_PKG_ERRORS" >&5
44166 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44167 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44168 wxUSE_GTKPRINT
="no"
44171 elif test $pkg_failed = untried
; then
44173 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44174 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44175 wxUSE_GTKPRINT
="no"
44179 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44180 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44181 { echo "$as_me:$LINENO: result: yes" >&5
44182 echo "${ECHO_T}yes" >&6; }
44184 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44185 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44186 cat >>confdefs.h
<<\_ACEOF
44187 #define wxUSE_GTKPRINT 1
44194 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44198 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44199 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44201 if test -n "$PKG_CONFIG"; then
44202 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44203 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44205 if test -n "$PKG_CONFIG" && \
44206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44207 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); }; then
44211 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44219 if test -n "$PKG_CONFIG"; then
44220 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44221 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44223 if test -n "$PKG_CONFIG" && \
44224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44225 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); }; then
44229 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44240 if test $pkg_failed = yes; then
44242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44243 _pkg_short_errors_supported
=yes
44245 _pkg_short_errors_supported
=no
44247 if test $_pkg_short_errors_supported = yes; then
44248 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44250 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44252 # Put the nasty error message in config.log where it belongs
44253 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44256 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44257 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44258 wxUSE_LIBGNOMEPRINT
="no"
44261 elif test $pkg_failed = untried
; then
44263 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44264 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44265 wxUSE_LIBGNOMEPRINT
="no"
44269 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44270 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44271 { echo "$as_me:$LINENO: result: yes" >&5
44272 echo "${ECHO_T}yes" >&6; }
44274 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44275 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44276 cat >>confdefs.h
<<\_ACEOF
44277 #define wxUSE_LIBGNOMEPRINT 1
44285 if test "$wxUSE_MIMETYPE" = "yes" ; then
44286 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44290 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44291 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44293 if test -n "$PKG_CONFIG"; then
44294 if test -n "$GNOMEVFS_CFLAGS"; then
44295 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44297 if test -n "$PKG_CONFIG" && \
44298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44299 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; then
44303 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44311 if test -n "$PKG_CONFIG"; then
44312 if test -n "$GNOMEVFS_LIBS"; then
44313 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44315 if test -n "$PKG_CONFIG" && \
44316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44317 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44320 (exit $ac_status); }; then
44321 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44332 if test $pkg_failed = yes; then
44334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44335 _pkg_short_errors_supported
=yes
44337 _pkg_short_errors_supported
=no
44339 if test $_pkg_short_errors_supported = yes; then
44340 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44342 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44344 # Put the nasty error message in config.log where it belongs
44345 echo "$GNOMEVFS_PKG_ERRORS" >&5
44348 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44349 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44350 wxUSE_LIBGNOMEVFS
="no"
44353 elif test $pkg_failed = untried
; then
44355 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44356 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44357 wxUSE_LIBGNOMEVFS
="no"
44361 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44362 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44363 { echo "$as_me:$LINENO: result: yes" >&5
44364 echo "${ECHO_T}yes" >&6; }
44366 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44367 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define wxUSE_LIBGNOMEVFS 1
44377 if test "$wxUSE_LIBHILDON" = "yes" ; then
44380 { echo "$as_me:$LINENO: checking for HILDON" >&5
44381 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44383 if test -n "$PKG_CONFIG"; then
44384 if test -n "$HILDON_CFLAGS"; then
44385 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44387 if test -n "$PKG_CONFIG" && \
44388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44389 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); }; then
44393 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44401 if test -n "$PKG_CONFIG"; then
44402 if test -n "$HILDON_LIBS"; then
44403 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44405 if test -n "$PKG_CONFIG" && \
44406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44407 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; then
44411 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44422 if test $pkg_failed = yes; then
44424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44425 _pkg_short_errors_supported
=yes
44427 _pkg_short_errors_supported
=no
44429 if test $_pkg_short_errors_supported = yes; then
44430 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44432 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44434 # Put the nasty error message in config.log where it belongs
44435 echo "$HILDON_PKG_ERRORS" >&5
44438 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44439 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44440 wxUSE_LIBHILDON
="no"
44444 elif test $pkg_failed = untried
; then
44446 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44447 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44448 wxUSE_LIBHILDON
="no"
44453 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44454 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44455 { echo "$as_me:$LINENO: result: yes" >&5
44456 echo "${ECHO_T}yes" >&6; }
44458 EXTRALIBS_HILDON
="$HILDON_LIBS"
44459 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44460 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_LIBHILDON 1
44469 if test "$ac_hildon_lgpl" = 0 ; then
44472 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44473 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44475 if test -n "$PKG_CONFIG"; then
44476 if test -n "$HILDON2_CFLAGS"; then
44477 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44479 if test -n "$PKG_CONFIG" && \
44480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44481 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; then
44485 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44493 if test -n "$PKG_CONFIG"; then
44494 if test -n "$HILDON2_LIBS"; then
44495 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44497 if test -n "$PKG_CONFIG" && \
44498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44499 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; then
44503 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44514 if test $pkg_failed = yes; then
44516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44517 _pkg_short_errors_supported
=yes
44519 _pkg_short_errors_supported
=no
44521 if test $_pkg_short_errors_supported = yes; then
44522 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44524 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44526 # Put the nasty error message in config.log where it belongs
44527 echo "$HILDON2_PKG_ERRORS" >&5
44530 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44531 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44532 wxUSE_LIBHILDON2
="no"
44535 elif test $pkg_failed = untried
; then
44537 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44538 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44539 wxUSE_LIBHILDON2
="no"
44543 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44544 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44545 { echo "$as_me:$LINENO: result: yes" >&5
44546 echo "${ECHO_T}yes" >&6; }
44548 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44549 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44550 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_LIBHILDON2 1
44561 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44562 cat >>confdefs.h
<<\_ACEOF
44563 #define wxUSE_CMDLINE_PARSER 1
44568 if test "$wxUSE_STOPWATCH" = "yes"; then
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_STOPWATCH 1
44575 if test "$wxUSE_DATETIME" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_DATETIME 1
44582 if test "$wxUSE_FILE" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_FILE 1
44589 if test "$wxUSE_FFILE" = "yes"; then
44590 cat >>confdefs.h
<<\_ACEOF
44591 #define wxUSE_FFILE 1
44596 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44597 if test "$wxUSE_STREAMS" != yes; then
44598 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44599 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44600 wxUSE_ARCHIVE_STREAMS
=no
44602 cat >>confdefs.h
<<\_ACEOF
44603 #define wxUSE_ARCHIVE_STREAMS 1
44609 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44610 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44611 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44612 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44613 elif test "$wxUSE_ZLIB" = "no"; then
44614 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44615 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44617 cat >>confdefs.h
<<\_ACEOF
44618 #define wxUSE_ZIPSTREAM 1
44624 if test "$wxUSE_TARSTREAM" = "yes"; then
44625 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44626 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44627 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_TARSTREAM 1
44636 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44637 cat >>confdefs.h
<<\_ACEOF
44638 #define wxUSE_FILE_HISTORY 1
44643 if test "$wxUSE_FILESYSTEM" = "yes"; then
44644 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44645 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44646 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44647 wxUSE_FILESYSTEM
=no
44649 cat >>confdefs.h
<<\_ACEOF
44650 #define wxUSE_FILESYSTEM 1
44656 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44657 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44658 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44659 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44661 cat >>confdefs.h
<<\_ACEOF
44662 #define wxUSE_FS_ARCHIVE 1
44668 if test "$wxUSE_FS_ZIP" = "yes"; then
44669 if test "$wxUSE_FS_ARCHIVE" != yes; then
44670 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44671 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44673 cat >>confdefs.h
<<\_ACEOF
44674 #define wxUSE_FS_ZIP 1
44680 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44681 if test "$USE_UNIX" != 1; then
44682 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44683 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44684 wxUSE_ON_FATAL_EXCEPTION
=no
44686 cat >>confdefs.h
<<\_ACEOF
44687 #define wxUSE_ON_FATAL_EXCEPTION 1
44693 if test "$wxUSE_STACKWALKER" = "yes"; then
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_STACKWALKER 1
44700 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44701 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44702 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44703 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44704 wxUSE_DEBUGREPORT
=no
44706 cat >>confdefs.h
<<\_ACEOF
44707 #define wxUSE_DEBUGREPORT 1
44710 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44716 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44717 cat >>confdefs.h
<<\_ACEOF
44718 #define wxUSE_SNGLINST_CHECKER 1
44723 if test "$wxUSE_BUSYINFO" = "yes"; then
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_BUSYINFO 1
44730 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_STD_IOSTREAM 1
44737 if test "$wxUSE_STD_STRING" = "yes"; then
44738 cat >>confdefs.h
<<\_ACEOF
44739 #define wxUSE_STD_STRING 1
44744 if test "$wxUSE_STDPATHS" = "yes"; then
44745 cat >>confdefs.h
<<\_ACEOF
44746 #define wxUSE_STDPATHS 1
44751 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44752 cat >>confdefs.h
<<\_ACEOF
44753 #define wxUSE_TEXTBUFFER 1
44758 if test "$wxUSE_TEXTFILE" = "yes"; then
44759 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44760 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44761 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44763 cat >>confdefs.h
<<\_ACEOF
44764 #define wxUSE_TEXTFILE 1
44770 if test "$wxUSE_CONFIG" = "yes" ; then
44771 if test "$wxUSE_TEXTFILE" != "yes"; then
44772 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44773 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44775 cat >>confdefs.h
<<\_ACEOF
44776 #define wxUSE_CONFIG 1
44779 cat >>confdefs.h
<<\_ACEOF
44780 #define wxUSE_CONFIG_NATIVE 1
44783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44787 if test "$wxUSE_INTL" = "yes" ; then
44788 if test "$wxUSE_FILE" != "yes"; then
44789 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44790 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_INTL 1
44796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44797 GUIDIST
="$GUIDIST INTL_DIST"
44801 if test "$wxUSE_XLOCALE" = "yes" ; then
44802 cat >>confdefs.h
<<\_ACEOF
44803 #define wxUSE_XLOCALE 1
44806 { echo "$as_me:$LINENO: checking for locale_t" >&5
44807 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44808 if test "${ac_cv_type_locale_t+set}" = set; then
44809 echo $ECHO_N "(cached) $ECHO_C" >&6
44811 cat >conftest.
$ac_ext <<_ACEOF
44814 cat confdefs.h
>>conftest.
$ac_ext
44815 cat >>conftest.
$ac_ext <<_ACEOF
44816 /* end confdefs.h. */
44817 #include <xlocale.h>
44818 #include <locale.h>
44820 typedef locale_t ac__type_new_;
44824 if ((ac__type_new_ *) 0)
44826 if (sizeof (ac__type_new_))
44832 rm -f conftest.
$ac_objext
44833 if { (ac_try
="$ac_compile"
44834 case "(($ac_try" in
44835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44836 *) ac_try_echo=$ac_try;;
44838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44839 (eval "$ac_compile") 2>conftest.er1
44841 grep -v '^ *+' conftest.er1 >conftest.err
44843 cat conftest.err >&5
44844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845 (exit $ac_status); } && {
44846 test -z "$ac_c_werror_flag" ||
44847 test ! -s conftest.err
44848 } && test -s conftest.$ac_objext; then
44849 ac_cv_type_locale_t=yes
44851 echo "$as_me: failed program was:" >&5
44852 sed 's/^/| /' conftest.$ac_ext >&5
44854 ac_cv_type_locale_t=no
44857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44859 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44860 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44861 if test $ac_cv_type_locale_t = yes; then
44863 cat >>confdefs.h <<_ACEOF
44864 #define HAVE_LOCALE_T 1
44872 if test "$wxUSE_LOG" = "yes"; then
44873 cat >>confdefs.h <<\_ACEOF
44874 #define wxUSE_LOG 1
44878 if test "$wxUSE_LOGGUI" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_LOGGUI 1
44885 if test "$wxUSE_LOGWINDOW" = "yes"; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_LOGWINDOW 1
44892 if test "$wxUSE_LOGDIALOG" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_LOG_DIALOG 1
44899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44902 if test "$wxUSE_LONGLONG" = "yes"; then
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_LONGLONG 1
44909 if test "$wxUSE_GEOMETRY" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_GEOMETRY 1
44916 if test "$wxUSE_BASE64" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_BASE64 1
44923 if test "$wxUSE_STREAMS" = "yes" ; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_STREAMS 1
44930 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_PRINTF_POS_PARAMS 1
44937 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_OBJC_UNIQUIFYING 1
44945 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_CONSOLE_EVENTLOOP 1
44951 if test "$wxUSE_UNIX" = "yes"; then
44952 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_SELECT_DISPATCHER 1
44959 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44961 for ac_header in sys/epoll.h
44963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44967 echo $ECHO_N "(cached) $ECHO_C" >&6
44969 cat >conftest.$ac_ext <<_ACEOF
44972 cat confdefs.h >>conftest.$ac_ext
44973 cat >>conftest.$ac_ext <<_ACEOF
44974 /* end confdefs.h. */
44975 $ac_includes_default
44977 #include <$ac_header>
44979 rm -f conftest.$ac_objext
44980 if { (ac_try="$ac_compile"
44981 case "(($ac_try" in
44982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44983 *) ac_try_echo
=$ac_try;;
44985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44986 (eval "$ac_compile") 2>conftest.er1
44988 grep -v '^ *+' conftest.er1
>conftest.err
44990 cat conftest.err
>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); } && {
44993 test -z "$ac_c_werror_flag" ||
44994 test ! -s conftest.err
44995 } && test -s conftest.
$ac_objext; then
44996 eval "$as_ac_Header=yes"
44998 echo "$as_me: failed program was:" >&5
44999 sed 's/^/| /' conftest.
$ac_ext >&5
45001 eval "$as_ac_Header=no"
45004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45006 ac_res
=`eval echo '${'$as_ac_Header'}'`
45007 { echo "$as_me:$LINENO: result: $ac_res" >&5
45008 echo "${ECHO_T}$ac_res" >&6; }
45009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45010 cat >>confdefs.h
<<_ACEOF
45011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45018 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45019 cat >>confdefs.h
<<\_ACEOF
45020 #define wxUSE_EPOLL_DISPATCHER 1
45024 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45025 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45034 for ac_func
in gettimeofday ftime
45036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45039 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45040 echo $ECHO_N "(cached) $ECHO_C" >&6
45042 cat >conftest.
$ac_ext <<_ACEOF
45045 cat confdefs.h
>>conftest.
$ac_ext
45046 cat >>conftest.
$ac_ext <<_ACEOF
45047 /* end confdefs.h. */
45048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45050 #define $ac_func innocuous_$ac_func
45052 /* System header to define __stub macros and hopefully few prototypes,
45053 which can conflict with char $ac_func (); below.
45054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45055 <limits.h> exists even on freestanding compilers. */
45058 # include <limits.h>
45060 # include <assert.h>
45065 /* Override any GCC internal prototype to avoid an error.
45066 Use char because int might match the return type of a GCC
45067 builtin and then its argument prototype would still apply. */
45072 /* The GNU C library defines this for functions which it implements
45073 to always fail with ENOSYS. Some functions are actually named
45074 something starting with __ and the normal name is an alias. */
45075 #if defined __stub_$ac_func || defined __stub___$ac_func
45082 return $ac_func ();
45087 rm -f conftest.
$ac_objext conftest
$ac_exeext
45088 if { (ac_try
="$ac_link"
45089 case "(($ac_try" in
45090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45091 *) ac_try_echo=$ac_try;;
45093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45094 (eval "$ac_link") 2>conftest.er1
45096 grep -v '^ *+' conftest.er1 >conftest.err
45098 cat conftest.err >&5
45099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100 (exit $ac_status); } && {
45101 test -z "$ac_c_werror_flag" ||
45102 test ! -s conftest.err
45103 } && test -s conftest$ac_exeext &&
45104 $as_test_x conftest$ac_exeext; then
45105 eval "$as_ac_var=yes"
45107 echo "$as_me: failed program was:" >&5
45108 sed 's/^/| /' conftest.$ac_ext >&5
45110 eval "$as_ac_var=no"
45113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45114 conftest$ac_exeext conftest.$ac_ext
45116 ac_res=`eval echo '${'$as_ac_var'}'`
45117 { echo "$as_me:$LINENO: result: $ac_res" >&5
45118 echo "${ECHO_T}$ac_res" >&6; }
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45128 if test "$ac_cv_func_gettimeofday" = "yes"; then
45129 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45130 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45131 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45132 echo $ECHO_N "(cached) $ECHO_C" >&6
45135 cat >conftest.$ac_ext <<_ACEOF
45138 cat confdefs.h >>conftest.$ac_ext
45139 cat >>conftest.$ac_ext <<_ACEOF
45140 /* end confdefs.h. */
45142 #include <sys/time.h>
45143 #include <unistd.h>
45150 gettimeofday(&tv, NULL);
45156 rm -f conftest.$ac_objext
45157 if { (ac_try="$ac_compile"
45158 case "(($ac_try" in
45159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45160 *) ac_try_echo
=$ac_try;;
45162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45163 (eval "$ac_compile") 2>conftest.er1
45165 grep -v '^ *+' conftest.er1
>conftest.err
45167 cat conftest.err
>&5
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); } && {
45170 test -z "$ac_c_werror_flag" ||
45171 test ! -s conftest.err
45172 } && test -s conftest.
$ac_objext; then
45173 wx_cv_func_gettimeofday_has_2_args
=yes
45175 echo "$as_me: failed program was:" >&5
45176 sed 's/^/| /' conftest.
$ac_ext >&5
45178 cat >conftest.
$ac_ext <<_ACEOF
45181 cat confdefs.h
>>conftest.
$ac_ext
45182 cat >>conftest.
$ac_ext <<_ACEOF
45183 /* end confdefs.h. */
45185 #include <sys/time.h>
45186 #include <unistd.h>
45199 rm -f conftest.
$ac_objext
45200 if { (ac_try
="$ac_compile"
45201 case "(($ac_try" in
45202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45203 *) ac_try_echo=$ac_try;;
45205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45206 (eval "$ac_compile") 2>conftest.er1
45208 grep -v '^ *+' conftest.er1 >conftest.err
45210 cat conftest.err >&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); } && {
45213 test -z "$ac_c_werror_flag" ||
45214 test ! -s conftest.err
45215 } && test -s conftest.$ac_objext; then
45216 wx_cv_func_gettimeofday_has_2_args=no
45218 echo "$as_me: failed program was:" >&5
45219 sed 's/^/| /' conftest.$ac_ext >&5
45222 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45223 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45224 wx_cv_func_gettimeofday_has_2_args=unknown
45229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45236 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45237 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45239 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define WX_GETTIMEOFDAY_NO_TZ 1
45247 if test "$wxUSE_DATETIME" = "yes"; then
45248 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45249 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45250 if test "${wx_cv_var_timezone+set}" = set; then
45251 echo $ECHO_N "(cached) $ECHO_C" >&6
45255 ac_cpp='$CXXCPP $CPPFLAGS'
45256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45260 cat >conftest.$ac_ext <<_ACEOF
45263 cat confdefs.h >>conftest.$ac_ext
45264 cat >>conftest.$ac_ext <<_ACEOF
45265 /* end confdefs.h. */
45280 rm -f conftest.$ac_objext
45281 if { (ac_try="$ac_compile"
45282 case "(($ac_try" in
45283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45284 *) ac_try_echo
=$ac_try;;
45286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45287 (eval "$ac_compile") 2>conftest.er1
45289 grep -v '^ *+' conftest.er1
>conftest.err
45291 cat conftest.err
>&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } && {
45294 test -z "$ac_cxx_werror_flag" ||
45295 test ! -s conftest.err
45296 } && test -s conftest.
$ac_objext; then
45298 wx_cv_var_timezone
=timezone
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.
$ac_ext >&5
45305 cat >conftest.
$ac_ext <<_ACEOF
45308 cat confdefs.h
>>conftest.
$ac_ext
45309 cat >>conftest.
$ac_ext <<_ACEOF
45310 /* end confdefs.h. */
45325 rm -f conftest.
$ac_objext
45326 if { (ac_try
="$ac_compile"
45327 case "(($ac_try" in
45328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45329 *) ac_try_echo=$ac_try;;
45331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45332 (eval "$ac_compile") 2>conftest.er1
45334 grep -v '^ *+' conftest.er1 >conftest.err
45336 cat conftest.err >&5
45337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45338 (exit $ac_status); } && {
45339 test -z "$ac_cxx_werror_flag" ||
45340 test ! -s conftest.err
45341 } && test -s conftest.$ac_objext; then
45343 wx_cv_var_timezone=_timezone
45346 echo "$as_me: failed program was:" >&5
45347 sed 's/^/| /' conftest.$ac_ext >&5
45350 cat >conftest.$ac_ext <<_ACEOF
45353 cat confdefs.h >>conftest.$ac_ext
45354 cat >>conftest.$ac_ext <<_ACEOF
45355 /* end confdefs.h. */
45370 rm -f conftest.$ac_objext
45371 if { (ac_try="$ac_compile"
45372 case "(($ac_try" in
45373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45374 *) ac_try_echo
=$ac_try;;
45376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45377 (eval "$ac_compile") 2>conftest.er1
45379 grep -v '^ *+' conftest.er1
>conftest.err
45381 cat conftest.err
>&5
45382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45383 (exit $ac_status); } && {
45384 test -z "$ac_cxx_werror_flag" ||
45385 test ! -s conftest.err
45386 } && test -s conftest.
$ac_objext; then
45388 wx_cv_var_timezone
=__timezone
45391 echo "$as_me: failed program was:" >&5
45392 sed 's/^/| /' conftest.
$ac_ext >&5
45395 if test "$USE_DOS" = 0 ; then
45396 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45397 echo "$as_me: WARNING: no timezone variable" >&2;}
45403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45415 ac_cpp
='$CPP $CPPFLAGS'
45416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45423 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45424 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45426 if test "x$wx_cv_var_timezone" != x
; then
45427 cat >>confdefs.h
<<_ACEOF
45428 #define WX_TIMEZONE $wx_cv_var_timezone
45434 for ac_func
in localtime
45436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45439 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45440 echo $ECHO_N "(cached) $ECHO_C" >&6
45442 cat >conftest.
$ac_ext <<_ACEOF
45445 cat confdefs.h
>>conftest.
$ac_ext
45446 cat >>conftest.
$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45450 #define $ac_func innocuous_$ac_func
45452 /* System header to define __stub macros and hopefully few prototypes,
45453 which can conflict with char $ac_func (); below.
45454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45455 <limits.h> exists even on freestanding compilers. */
45458 # include <limits.h>
45460 # include <assert.h>
45465 /* Override any GCC internal prototype to avoid an error.
45466 Use char because int might match the return type of a GCC
45467 builtin and then its argument prototype would still apply. */
45472 /* The GNU C library defines this for functions which it implements
45473 to always fail with ENOSYS. Some functions are actually named
45474 something starting with __ and the normal name is an alias. */
45475 #if defined __stub_$ac_func || defined __stub___$ac_func
45482 return $ac_func ();
45487 rm -f conftest.
$ac_objext conftest
$ac_exeext
45488 if { (ac_try
="$ac_link"
45489 case "(($ac_try" in
45490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45491 *) ac_try_echo=$ac_try;;
45493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45494 (eval "$ac_link") 2>conftest.er1
45496 grep -v '^ *+' conftest.er1 >conftest.err
45498 cat conftest.err >&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); } && {
45501 test -z "$ac_c_werror_flag" ||
45502 test ! -s conftest.err
45503 } && test -s conftest$ac_exeext &&
45504 $as_test_x conftest$ac_exeext; then
45505 eval "$as_ac_var=yes"
45507 echo "$as_me: failed program was:" >&5
45508 sed 's/^/| /' conftest.$ac_ext >&5
45510 eval "$as_ac_var=no"
45513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45514 conftest$ac_exeext conftest.$ac_ext
45516 ac_res=`eval echo '${'$as_ac_var'}'`
45517 { echo "$as_me:$LINENO: result: $ac_res" >&5
45518 echo "${ECHO_T}$ac_res" >&6; }
45519 if test `eval echo '${'$as_ac_var'}'` = yes; then
45520 cat >>confdefs.h <<_ACEOF
45521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45528 if test "$ac_cv_func_localtime" = "yes"; then
45529 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45530 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45531 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45532 echo $ECHO_N "(cached) $ECHO_C" >&6
45535 cat >conftest.$ac_ext <<_ACEOF
45538 cat confdefs.h >>conftest.$ac_ext
45539 cat >>conftest.$ac_ext <<_ACEOF
45540 /* end confdefs.h. */
45555 rm -f conftest.$ac_objext
45556 if { (ac_try="$ac_compile"
45557 case "(($ac_try" in
45558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45559 *) ac_try_echo
=$ac_try;;
45561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45562 (eval "$ac_compile") 2>conftest.er1
45564 grep -v '^ *+' conftest.er1
>conftest.err
45566 cat conftest.err
>&5
45567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45568 (exit $ac_status); } && {
45569 test -z "$ac_c_werror_flag" ||
45570 test ! -s conftest.err
45571 } && test -s conftest.
$ac_objext; then
45573 wx_cv_struct_tm_has_gmtoff
=yes
45576 echo "$as_me: failed program was:" >&5
45577 sed 's/^/| /' conftest.
$ac_ext >&5
45579 wx_cv_struct_tm_has_gmtoff
=no
45583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45586 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45587 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45590 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define WX_GMTOFF_IN_TM 1
45597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45601 if test "$wxUSE_SOCKETS" = "yes"; then
45602 if test "$wxUSE_MGL" = 1; then
45603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45604 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45609 if test "$wxUSE_SOCKETS" = "yes"; then
45610 if test "$TOOLKIT" != "MSW"; then
45611 { echo "$as_me:$LINENO: checking for socket" >&5
45612 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45613 if test "${ac_cv_func_socket+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 cat >conftest.
$ac_ext <<_ACEOF
45619 cat confdefs.h
>>conftest.
$ac_ext
45620 cat >>conftest.
$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45622 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45624 #define socket innocuous_socket
45626 /* System header to define __stub macros and hopefully few prototypes,
45627 which can conflict with char socket (); below.
45628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45629 <limits.h> exists even on freestanding compilers. */
45632 # include <limits.h>
45634 # include <assert.h>
45639 /* Override any GCC internal prototype to avoid an error.
45640 Use char because int might match the return type of a GCC
45641 builtin and then its argument prototype would still apply. */
45646 /* The GNU C library defines this for functions which it implements
45647 to always fail with ENOSYS. Some functions are actually named
45648 something starting with __ and the normal name is an alias. */
45649 #if defined __stub_socket || defined __stub___socket
45661 rm -f conftest.
$ac_objext conftest
$ac_exeext
45662 if { (ac_try
="$ac_link"
45663 case "(($ac_try" in
45664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45665 *) ac_try_echo=$ac_try;;
45667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45668 (eval "$ac_link") 2>conftest.er1
45670 grep -v '^ *+' conftest.er1 >conftest.err
45672 cat conftest.err >&5
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); } && {
45675 test -z "$ac_c_werror_flag" ||
45676 test ! -s conftest.err
45677 } && test -s conftest$ac_exeext &&
45678 $as_test_x conftest$ac_exeext; then
45679 ac_cv_func_socket=yes
45681 echo "$as_me: failed program was:" >&5
45682 sed 's/^/| /' conftest.$ac_ext >&5
45684 ac_cv_func_socket=no
45687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45688 conftest$ac_exeext conftest.$ac_ext
45690 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45691 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45692 if test $ac_cv_func_socket = yes; then
45696 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45697 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45698 if test "${ac_cv_lib_socket_socket+set}" = set; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45701 ac_check_lib_save_LIBS=$LIBS
45702 LIBS="-lsocket $LIBS"
45703 cat >conftest.$ac_ext <<_ACEOF
45706 cat confdefs.h >>conftest.$ac_ext
45707 cat >>conftest.$ac_ext <<_ACEOF
45708 /* end confdefs.h. */
45710 /* Override any GCC internal prototype to avoid an error.
45711 Use char because int might match the return type of a GCC
45712 builtin and then its argument prototype would still apply. */
45725 rm -f conftest.$ac_objext conftest$ac_exeext
45726 if { (ac_try="$ac_link"
45727 case "(($ac_try" in
45728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45729 *) ac_try_echo
=$ac_try;;
45731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45732 (eval "$ac_link") 2>conftest.er1
45734 grep -v '^ *+' conftest.er1
>conftest.err
45736 cat conftest.err
>&5
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); } && {
45739 test -z "$ac_c_werror_flag" ||
45740 test ! -s conftest.err
45741 } && test -s conftest
$ac_exeext &&
45742 $as_test_x conftest
$ac_exeext; then
45743 ac_cv_lib_socket_socket
=yes
45745 echo "$as_me: failed program was:" >&5
45746 sed 's/^/| /' conftest.
$ac_ext >&5
45748 ac_cv_lib_socket_socket
=no
45751 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45752 conftest
$ac_exeext conftest.
$ac_ext
45753 LIBS
=$ac_check_lib_save_LIBS
45755 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45756 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45757 if test $ac_cv_lib_socket_socket = yes; then
45758 if test "$INET_LINK" != " -lsocket"; then
45759 INET_LINK
="$INET_LINK -lsocket"
45763 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45764 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45777 if test "$wxUSE_SOCKETS" = "yes" ; then
45778 if test "$TOOLKIT" != "MSW"; then
45779 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45780 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45781 if test "${wx_cv_type_getsockname3+set}" = set; then
45782 echo $ECHO_N "(cached) $ECHO_C" >&6
45786 ac_cpp
='$CXXCPP $CPPFLAGS'
45787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45791 cat >conftest.
$ac_ext <<_ACEOF
45794 cat confdefs.h
>>conftest.
$ac_ext
45795 cat >>conftest.
$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45798 #include <sys/types.h>
45799 #include <sys/socket.h>
45806 getsockname(0, 0, &len);
45812 rm -f conftest.
$ac_objext
45813 if { (ac_try
="$ac_compile"
45814 case "(($ac_try" in
45815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45816 *) ac_try_echo=$ac_try;;
45818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45819 (eval "$ac_compile") 2>conftest.er1
45821 grep -v '^ *+' conftest.er1 >conftest.err
45823 cat conftest.err >&5
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); } && {
45826 test -z "$ac_cxx_werror_flag" ||
45827 test ! -s conftest.err
45828 } && test -s conftest.$ac_objext; then
45829 wx_cv_type_getsockname3=socklen_t
45831 echo "$as_me: failed program was:" >&5
45832 sed 's/^/| /' conftest.$ac_ext >&5
45835 CFLAGS_OLD="$CFLAGS"
45836 if test "$GCC" = yes ; then
45837 CFLAGS="-Werror $CFLAGS"
45840 cat >conftest.$ac_ext <<_ACEOF
45843 cat confdefs.h >>conftest.$ac_ext
45844 cat >>conftest.$ac_ext <<_ACEOF
45845 /* end confdefs.h. */
45847 #include <sys/types.h>
45848 #include <sys/socket.h>
45855 getsockname(0, 0, &len);
45861 rm -f conftest.$ac_objext
45862 if { (ac_try="$ac_compile"
45863 case "(($ac_try" in
45864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45865 *) ac_try_echo
=$ac_try;;
45867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45868 (eval "$ac_compile") 2>conftest.er1
45870 grep -v '^ *+' conftest.er1
>conftest.err
45872 cat conftest.err
>&5
45873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45874 (exit $ac_status); } && {
45875 test -z "$ac_cxx_werror_flag" ||
45876 test ! -s conftest.err
45877 } && test -s conftest.
$ac_objext; then
45878 wx_cv_type_getsockname3
=size_t
45880 echo "$as_me: failed program was:" >&5
45881 sed 's/^/| /' conftest.
$ac_ext >&5
45883 cat >conftest.
$ac_ext <<_ACEOF
45886 cat confdefs.h
>>conftest.
$ac_ext
45887 cat >>conftest.
$ac_ext <<_ACEOF
45888 /* end confdefs.h. */
45890 #include <sys/types.h>
45891 #include <sys/socket.h>
45898 getsockname(0, 0, &len);
45904 rm -f conftest.
$ac_objext
45905 if { (ac_try
="$ac_compile"
45906 case "(($ac_try" in
45907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45908 *) ac_try_echo=$ac_try;;
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_compile") 2>conftest.er1
45913 grep -v '^ *+' conftest.er1 >conftest.err
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } && {
45918 test -z "$ac_cxx_werror_flag" ||
45919 test ! -s conftest.err
45920 } && test -s conftest.$ac_objext; then
45921 wx_cv_type_getsockname3=int
45923 echo "$as_me: failed program was:" >&5
45924 sed 's/^/| /' conftest.$ac_ext >&5
45926 wx_cv_type_getsockname3=unknown
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936 CFLAGS="$CFLAGS_OLD"
45941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45950 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45951 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45953 if test "$wx_cv_type_getsockname3" = "unknown"; then
45955 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45956 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45958 cat >>confdefs.h <<_ACEOF
45959 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45963 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45964 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45965 if test "${wx_cv_type_getsockopt5+set}" = set; then
45966 echo $ECHO_N "(cached) $ECHO_C" >&6
45970 ac_cpp='$CXXCPP $CPPFLAGS'
45971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975 cat >conftest.$ac_ext <<_ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45982 #include <sys/types.h>
45983 #include <sys/socket.h>
45990 getsockopt(0, 0, 0, 0, &len);
45996 rm -f conftest.$ac_objext
45997 if { (ac_try="$ac_compile"
45998 case "(($ac_try" in
45999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46000 *) ac_try_echo
=$ac_try;;
46002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46003 (eval "$ac_compile") 2>conftest.er1
46005 grep -v '^ *+' conftest.er1
>conftest.err
46007 cat conftest.err
>&5
46008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46009 (exit $ac_status); } && {
46010 test -z "$ac_cxx_werror_flag" ||
46011 test ! -s conftest.err
46012 } && test -s conftest.
$ac_objext; then
46013 wx_cv_type_getsockopt5
=socklen_t
46015 echo "$as_me: failed program was:" >&5
46016 sed 's/^/| /' conftest.
$ac_ext >&5
46019 cat >conftest.
$ac_ext <<_ACEOF
46022 cat confdefs.h
>>conftest.
$ac_ext
46023 cat >>conftest.
$ac_ext <<_ACEOF
46024 /* end confdefs.h. */
46026 #include <sys/types.h>
46027 #include <sys/socket.h>
46034 getsockopt(0, 0, 0, 0, &len);
46040 rm -f conftest.
$ac_objext
46041 if { (ac_try
="$ac_compile"
46042 case "(($ac_try" in
46043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46044 *) ac_try_echo=$ac_try;;
46046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46047 (eval "$ac_compile") 2>conftest.er1
46049 grep -v '^ *+' conftest.er1 >conftest.err
46051 cat conftest.err >&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && {
46054 test -z "$ac_cxx_werror_flag" ||
46055 test ! -s conftest.err
46056 } && test -s conftest.$ac_objext; then
46057 wx_cv_type_getsockopt5=size_t
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.$ac_ext >&5
46062 cat >conftest.$ac_ext <<_ACEOF
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46069 #include <sys/types.h>
46070 #include <sys/socket.h>
46077 getsockopt(0, 0, 0, 0, &len);
46083 rm -f conftest.$ac_objext
46084 if { (ac_try="$ac_compile"
46085 case "(($ac_try" in
46086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46087 *) ac_try_echo
=$ac_try;;
46089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46090 (eval "$ac_compile") 2>conftest.er1
46092 grep -v '^ *+' conftest.er1
>conftest.err
46094 cat conftest.err
>&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } && {
46097 test -z "$ac_cxx_werror_flag" ||
46098 test ! -s conftest.err
46099 } && test -s conftest.
$ac_objext; then
46100 wx_cv_type_getsockopt5
=int
46102 echo "$as_me: failed program was:" >&5
46103 sed 's/^/| /' conftest.
$ac_ext >&5
46105 wx_cv_type_getsockopt5
=unknown
46109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46120 ac_cpp
='$CPP $CPPFLAGS'
46121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46127 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46128 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46130 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46132 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46133 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46135 cat >>confdefs.h
<<_ACEOF
46136 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46143 if test "$wxUSE_SOCKETS" = "yes" ; then
46144 if test "$wxUSE_IPV6" = "yes"; then
46145 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46146 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46147 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46148 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 cat >conftest.
$ac_ext <<_ACEOF
46154 cat confdefs.h
>>conftest.
$ac_ext
46155 cat >>conftest.
$ac_ext <<_ACEOF
46156 /* end confdefs.h. */
46158 #include <sys/types.h>
46159 #include <sys/socket.h>
46160 #include <netinet/in.h>
46166 struct sockaddr_in6 sa6;
46172 rm -f conftest.
$ac_objext
46173 if { (ac_try
="$ac_compile"
46174 case "(($ac_try" in
46175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46176 *) ac_try_echo=$ac_try;;
46178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46179 (eval "$ac_compile") 2>conftest.er1
46181 grep -v '^ *+' conftest.er1 >conftest.err
46183 cat conftest.err >&5
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); } && {
46186 test -z "$ac_c_werror_flag" ||
46187 test ! -s conftest.err
46188 } && test -s conftest.$ac_objext; then
46189 wx_cv_type_sockaddr_in6=yes
46191 echo "$as_me: failed program was:" >&5
46192 sed 's/^/| /' conftest.$ac_ext >&5
46194 wx_cv_type_sockaddr_in6=no
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46202 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46203 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46205 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_IPV6 1
46211 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46212 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_SOCKETS 1
46220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46223 if test "$wxUSE_PROTOCOL" = "yes"; then
46224 if test "$wxUSE_SOCKETS" != "yes"; then
46225 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46226 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46231 if test "$wxUSE_PROTOCOL" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_PROTOCOL 1
46237 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_PROTOCOL_HTTP 1
46243 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_PROTOCOL_FTP 1
46249 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_PROTOCOL_FILE 1
46256 if test "$wxUSE_FS_INET" = "yes"; then
46257 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46258 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46263 if test "$wxUSE_URL" = "yes"; then
46264 if test "$wxUSE_PROTOCOL" != "yes"; then
46265 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46266 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46269 if test "$wxUSE_URL" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_URL 1
46277 if test "$wxUSE_VARIANT" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_VARIANT 1
46284 if test "$wxUSE_FS_INET" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_FS_INET 1
46292 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46295 if test "$TOOLKIT" = "MSW"; then
46298 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46299 if test "$USE_DARWIN" = 1; then
46300 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46301 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46303 ac_cpp='$CXXCPP $CPPFLAGS'
46304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46308 cat >conftest.$ac_ext <<_ACEOF
46311 cat confdefs.h >>conftest.$ac_ext
46312 cat >>conftest.$ac_ext <<_ACEOF
46313 /* end confdefs.h. */
46314 #include <IOKit/hid/IOHIDLib.h>
46318 IOHIDQueueInterface *qi = NULL;
46319 IOHIDCallbackFunction cb = NULL;
46320 qi->setEventCallout(NULL, cb, NULL, NULL);
46325 rm -f conftest.$ac_objext
46326 if { (ac_try="$ac_compile"
46327 case "(($ac_try" in
46328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46329 *) ac_try_echo
=$ac_try;;
46331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46332 (eval "$ac_compile") 2>conftest.er1
46334 grep -v '^ *+' conftest.er1
>conftest.err
46336 cat conftest.err
>&5
46337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338 (exit $ac_status); } && {
46339 test -z "$ac_cxx_werror_flag" ||
46340 test ! -s conftest.err
46341 } && test -s conftest.
$ac_objext; then
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.
$ac_ext >&5
46351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46353 ac_cpp
='$CPP $CPPFLAGS'
46354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46358 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46359 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46363 if test "$wxUSE_MGL" != 1; then
46365 for ac_header
in linux
/joystick.h
46367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46370 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46371 echo $ECHO_N "(cached) $ECHO_C" >&6
46373 cat >conftest.
$ac_ext <<_ACEOF
46376 cat confdefs.h
>>conftest.
$ac_ext
46377 cat >>conftest.
$ac_ext <<_ACEOF
46378 /* end confdefs.h. */
46379 $ac_includes_default
46381 #include <$ac_header>
46383 rm -f conftest.
$ac_objext
46384 if { (ac_try
="$ac_compile"
46385 case "(($ac_try" in
46386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46387 *) ac_try_echo=$ac_try;;
46389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46390 (eval "$ac_compile") 2>conftest.er1
46392 grep -v '^ *+' conftest.er1 >conftest.err
46394 cat conftest.err >&5
46395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46396 (exit $ac_status); } && {
46397 test -z "$ac_c_werror_flag" ||
46398 test ! -s conftest.err
46399 } && test -s conftest.$ac_objext; then
46400 eval "$as_ac_Header=yes"
46402 echo "$as_me: failed program was:" >&5
46403 sed 's/^/| /' conftest.$ac_ext >&5
46405 eval "$as_ac_Header=no"
46408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46410 ac_res=`eval echo '${'$as_ac_Header'}'`
46411 { echo "$as_me:$LINENO: result: $ac_res" >&5
46412 echo "${ECHO_T}$ac_res" >&6; }
46413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46414 cat >>confdefs.h <<_ACEOF
46415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46425 if test "$wxUSE_JOYSTICK" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_JOYSTICK 1
46430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46432 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46433 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46439 if test "$wxUSE_FONTENUM" = "yes" ; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_FONTENUM 1
46446 if test "$wxUSE_FONTMAP" = "yes" ; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_FONTMAP 1
46453 if test "$wxUSE_UNICODE" = "yes" ; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_UNICODE 1
46459 if test "$USE_WIN32" != 1; then
46460 wxUSE_UNICODE_MSLU=no
46463 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46464 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46465 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46466 if test "${ac_cv_lib_unicows_main+set}" = set; then
46467 echo $ECHO_N "(cached) $ECHO_C" >&6
46469 ac_check_lib_save_LIBS=$LIBS
46470 LIBS="-lunicows $LIBS"
46471 cat >conftest.$ac_ext <<_ACEOF
46474 cat confdefs.h >>conftest.$ac_ext
46475 cat >>conftest.$ac_ext <<_ACEOF
46476 /* end confdefs.h. */
46487 rm -f conftest.$ac_objext conftest$ac_exeext
46488 if { (ac_try="$ac_link"
46489 case "(($ac_try" in
46490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46491 *) ac_try_echo
=$ac_try;;
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_link") 2>conftest.er1
46496 grep -v '^ *+' conftest.er1
>conftest.err
46498 cat conftest.err
>&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest
$ac_exeext &&
46504 $as_test_x conftest
$ac_exeext; then
46505 ac_cv_lib_unicows_main
=yes
46507 echo "$as_me: failed program was:" >&5
46508 sed 's/^/| /' conftest.
$ac_ext >&5
46510 ac_cv_lib_unicows_main
=no
46513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46514 conftest
$ac_exeext conftest.
$ac_ext
46515 LIBS
=$ac_check_lib_save_LIBS
46517 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46518 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46519 if test $ac_cv_lib_unicows_main = yes; then
46521 cat >>confdefs.h
<<\_ACEOF
46522 #define wxUSE_UNICODE_MSLU 1
46528 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46529 Applications will only run on Windows NT/2000/XP!" >&5
46530 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46531 Applications will only run on Windows NT/2000/XP!" >&2;}
46532 wxUSE_UNICODE_MSLU
=no
46539 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46540 cat >>confdefs.h
<<\_ACEOF
46541 #define wxUSE_UNICODE_UTF8 1
46545 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46546 cat >>confdefs.h
<<\_ACEOF
46547 #define wxUSE_UTF8_LOCALE_ONLY 1
46554 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46555 cat >>confdefs.h
<<\_ACEOF
46556 #define wxUSE_CONSTRAINTS 1
46559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46562 if test "$wxUSE_MDI" = "yes"; then
46563 cat >>confdefs.h
<<\_ACEOF
46564 #define wxUSE_MDI 1
46568 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46569 cat >>confdefs.h
<<\_ACEOF
46570 #define wxUSE_MDI_ARCHITECTURE 1
46573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46577 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46578 cat >>confdefs.h
<<\_ACEOF
46579 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46585 if test "$wxUSE_HELP" = "yes"; then
46586 cat >>confdefs.h
<<\_ACEOF
46587 #define wxUSE_HELP 1
46590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46592 if test "$wxUSE_MSW" = 1; then
46593 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46594 cat >>confdefs.h
<<\_ACEOF
46595 #define wxUSE_MS_HTML_HELP 1
46601 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46602 if test "$wxUSE_HTML" = "yes"; then
46603 cat >>confdefs.h
<<\_ACEOF
46604 #define wxUSE_WXHTML_HELP 1
46608 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46609 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46610 wxUSE_WXHTML_HELP
=no
46615 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46616 cat >>confdefs.h
<<\_ACEOF
46617 #define wxUSE_PRINTING_ARCHITECTURE 1
46620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46623 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_POSTSCRIPT 1
46630 cat >>confdefs.h
<<\_ACEOF
46631 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46635 if test "$wxUSE_SVG" = "yes"; then
46636 cat >>confdefs.h
<<\_ACEOF
46637 #define wxUSE_SVG 1
46643 if test "$wxUSE_METAFILE" = "yes"; then
46644 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46645 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46646 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46652 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46653 -o "$wxUSE_CLIPBOARD" = "yes" \
46654 -o "$wxUSE_OLE" = "yes" \
46655 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46656 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46657 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46658 if test "${ac_cv_header_ole2_h+set}" = set; then
46659 echo $ECHO_N "(cached) $ECHO_C" >&6
46661 cat >conftest.
$ac_ext <<_ACEOF
46664 cat confdefs.h
>>conftest.
$ac_ext
46665 cat >>conftest.
$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46671 rm -f conftest.
$ac_objext
46672 if { (ac_try
="$ac_compile"
46673 case "(($ac_try" in
46674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46675 *) ac_try_echo=$ac_try;;
46677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46678 (eval "$ac_compile") 2>conftest.er1
46680 grep -v '^ *+' conftest.er1 >conftest.err
46682 cat conftest.err >&5
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); } && {
46685 test -z "$ac_c_werror_flag" ||
46686 test ! -s conftest.err
46687 } && test -s conftest.$ac_objext; then
46688 ac_cv_header_ole2_h=yes
46690 echo "$as_me: failed program was:" >&5
46691 sed 's/^/| /' conftest.$ac_ext >&5
46693 ac_cv_header_ole2_h=no
46696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46698 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46699 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46703 if test "$ac_cv_header_ole2_h" = "yes" ; then
46704 if test "$GCC" = yes ; then
46705 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46706 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46707 cat >conftest.$ac_ext <<_ACEOF
46710 cat confdefs.h >>conftest.$ac_ext
46711 cat >>conftest.$ac_ext <<_ACEOF
46712 /* end confdefs.h. */
46713 #include <windows.h>
46723 rm -f conftest.$ac_objext
46724 if { (ac_try="$ac_compile"
46725 case "(($ac_try" in
46726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46727 *) ac_try_echo
=$ac_try;;
46729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46730 (eval "$ac_compile") 2>conftest.er1
46732 grep -v '^ *+' conftest.er1
>conftest.err
46734 cat conftest.err
>&5
46735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46736 (exit $ac_status); } && {
46737 test -z "$ac_c_werror_flag" ||
46738 test ! -s conftest.err
46739 } && test -s conftest.
$ac_objext; then
46740 { echo "$as_me:$LINENO: result: no" >&5
46741 echo "${ECHO_T}no" >&6; }
46743 echo "$as_me: failed program was:" >&5
46744 sed 's/^/| /' conftest.
$ac_ext >&5
46746 { echo "$as_me:$LINENO: result: yes" >&5
46747 echo "${ECHO_T}yes" >&6; }
46748 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46752 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46753 if test "$wxUSE_OLE" = "yes" ; then
46754 cat >>confdefs.h
<<\_ACEOF
46755 #define wxUSE_OLE 1
46758 cat >>confdefs.h
<<\_ACEOF
46759 #define wxUSE_OLE_AUTOMATION 1
46762 cat >>confdefs.h
<<\_ACEOF
46763 #define wxUSE_ACTIVEX 1
46766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46770 if test "$wxUSE_DATAOBJ" = "yes" ; then
46771 cat >>confdefs.h
<<\_ACEOF
46772 #define wxUSE_DATAOBJ 1
46777 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46778 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46781 wxUSE_DRAG_AND_DROP
=no
46786 if test "$wxUSE_METAFILE" = "yes"; then
46787 cat >>confdefs.h
<<\_ACEOF
46788 #define wxUSE_METAFILE 1
46792 cat >>confdefs.h
<<\_ACEOF
46793 #define wxUSE_ENH_METAFILE 1
46799 if test "$wxUSE_IPC" = "yes"; then
46800 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46801 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46802 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46806 if test "$wxUSE_IPC" = "yes"; then
46807 cat >>confdefs.h
<<\_ACEOF
46808 #define wxUSE_IPC 1
46811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46815 if test "$wxUSE_DATAOBJ" = "yes"; then
46816 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46817 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46818 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46821 cat >>confdefs.h
<<\_ACEOF
46822 #define wxUSE_DATAOBJ 1
46827 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46828 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46830 wxUSE_DRAG_AND_DROP
=no
46833 if test "$wxUSE_CLIPBOARD" = "yes"; then
46834 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46835 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46836 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46840 if test "$wxUSE_CLIPBOARD" = "yes"; then
46841 cat >>confdefs.h
<<\_ACEOF
46842 #define wxUSE_CLIPBOARD 1
46848 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46849 if test "$wxUSE_GTK" = 1; then
46850 if test "$WXGTK12" != 1; then
46851 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46852 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46853 wxUSE_DRAG_AND_DROP
=no
46857 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46858 "$wxUSE_DFB" = 1; then
46859 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46860 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46861 wxUSE_DRAG_AND_DROP
=no
46864 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46865 cat >>confdefs.h
<<\_ACEOF
46866 #define wxUSE_DRAG_AND_DROP 1
46873 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46877 if test "$wxUSE_CLIPBOARD" = "yes"; then
46878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46881 if test "$wxUSE_SPLINES" = "yes" ; then
46882 cat >>confdefs.h
<<\_ACEOF
46883 #define wxUSE_SPLINES 1
46888 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46889 cat >>confdefs.h
<<\_ACEOF
46890 #define wxUSE_MOUSEWHEEL 1
46895 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46896 cat >>confdefs.h
<<\_ACEOF
46897 #define wxUSE_UIACTIONSIMULATOR 1
46900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46905 if test "$wxUSE_CONTROLS" = "yes"; then
46909 if test "$wxUSE_ACCEL" = "yes"; then
46910 cat >>confdefs.h
<<\_ACEOF
46911 #define wxUSE_ACCEL 1
46917 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46918 cat >>confdefs.h
<<\_ACEOF
46919 #define wxUSE_ANIMATIONCTRL 1
46923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46926 if test "$wxUSE_BUTTON" = "yes"; then
46927 cat >>confdefs.h
<<\_ACEOF
46928 #define wxUSE_BUTTON 1
46934 if test "$wxUSE_BMPBUTTON" = "yes"; then
46935 cat >>confdefs.h
<<\_ACEOF
46936 #define wxUSE_BMPBUTTON 1
46942 if test "$wxUSE_CALCTRL" = "yes"; then
46943 cat >>confdefs.h
<<\_ACEOF
46944 #define wxUSE_CALENDARCTRL 1
46948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46951 if test "$wxUSE_CARET" = "yes"; then
46952 cat >>confdefs.h
<<\_ACEOF
46953 #define wxUSE_CARET 1
46957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46960 if test "$wxUSE_COLLPANE" = "yes"; then
46961 cat >>confdefs.h
<<\_ACEOF
46962 #define wxUSE_COLLPANE 1
46966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46969 if test "$wxUSE_COMBOBOX" = "yes"; then
46970 cat >>confdefs.h
<<\_ACEOF
46971 #define wxUSE_COMBOBOX 1
46977 if test "$wxUSE_COMBOCTRL" = "yes"; then
46978 cat >>confdefs.h
<<\_ACEOF
46979 #define wxUSE_COMBOCTRL 1
46985 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46986 cat >>confdefs.h
<<\_ACEOF
46987 #define wxUSE_COMMANDLINKBUTTON 1
46993 if test "$wxUSE_CHOICE" = "yes"; then
46994 cat >>confdefs.h
<<\_ACEOF
46995 #define wxUSE_CHOICE 1
47001 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47002 cat >>confdefs.h
<<\_ACEOF
47003 #define wxUSE_CHOICEBOOK 1
47009 if test "$wxUSE_CHECKBOX" = "yes"; then
47010 cat >>confdefs.h
<<\_ACEOF
47011 #define wxUSE_CHECKBOX 1
47017 if test "$wxUSE_CHECKLST" = "yes"; then
47018 cat >>confdefs.h
<<\_ACEOF
47019 #define wxUSE_CHECKLISTBOX 1
47025 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47026 cat >>confdefs.h
<<\_ACEOF
47027 #define wxUSE_COLOURPICKERCTRL 1
47033 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47034 cat >>confdefs.h
<<\_ACEOF
47035 #define wxUSE_DATEPICKCTRL 1
47041 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47042 cat >>confdefs.h
<<\_ACEOF
47043 #define wxUSE_DIRPICKERCTRL 1
47049 if test "$wxUSE_FILECTRL" = "yes"; then
47050 cat >>confdefs.h
<<\_ACEOF
47051 #define wxUSE_FILECTRL 1
47057 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47058 cat >>confdefs.h
<<\_ACEOF
47059 #define wxUSE_FILEPICKERCTRL 1
47065 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47066 cat >>confdefs.h
<<\_ACEOF
47067 #define wxUSE_FONTPICKERCTRL 1
47073 if test "$wxUSE_DISPLAY" = "yes"; then
47074 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47075 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47076 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47079 cat >>confdefs.h
<<\_ACEOF
47080 #define wxUSE_DISPLAY 1
47083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47087 if test "$wxUSE_DETECT_SM" = "yes"; then
47088 cat >>confdefs.h
<<\_ACEOF
47089 #define wxUSE_DETECT_SM 1
47094 if test "$wxUSE_GAUGE" = "yes"; then
47095 cat >>confdefs.h
<<\_ACEOF
47096 #define wxUSE_GAUGE 1
47102 if test "$wxUSE_GRID" = "yes"; then
47103 cat >>confdefs.h
<<\_ACEOF
47104 #define wxUSE_GRID 1
47108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47111 if test "$wxUSE_HEADERCTRL" = "yes"; then
47112 cat >>confdefs.h
<<\_ACEOF
47113 #define wxUSE_HEADERCTRL 1
47119 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47120 cat >>confdefs.h
<<\_ACEOF
47121 #define wxUSE_HYPERLINKCTRL 1
47127 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47128 cat >>confdefs.h
<<\_ACEOF
47129 #define wxUSE_BITMAPCOMBOBOX 1
47135 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47136 cat >>confdefs.h
<<\_ACEOF
47137 #define wxUSE_DATAVIEWCTRL 1
47141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47144 if test "$wxUSE_IMAGLIST" = "yes"; then
47145 cat >>confdefs.h
<<\_ACEOF
47146 #define wxUSE_IMAGLIST 1
47151 if test "$wxUSE_INFOBAR" = "yes"; then
47152 cat >>confdefs.h
<<\_ACEOF
47153 #define wxUSE_INFOBAR 1
47158 if test "$wxUSE_LISTBOOK" = "yes"; then
47159 cat >>confdefs.h
<<\_ACEOF
47160 #define wxUSE_LISTBOOK 1
47166 if test "$wxUSE_LISTBOX" = "yes"; then
47167 cat >>confdefs.h
<<\_ACEOF
47168 #define wxUSE_LISTBOX 1
47174 if test "$wxUSE_LISTCTRL" = "yes"; then
47175 if test "$wxUSE_IMAGLIST" = "yes"; then
47176 cat >>confdefs.h
<<\_ACEOF
47177 #define wxUSE_LISTCTRL 1
47181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47183 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47184 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47188 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47189 cat >>confdefs.h
<<\_ACEOF
47190 #define wxUSE_EDITABLELISTBOX 1
47196 if test "$wxUSE_NOTEBOOK" = "yes"; then
47197 cat >>confdefs.h
<<\_ACEOF
47198 #define wxUSE_NOTEBOOK 1
47202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47205 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47206 cat >>confdefs.h
<<\_ACEOF
47207 #define wxUSE_NOTIFICATION_MESSAGE 1
47212 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47213 cat >>confdefs.h
<<\_ACEOF
47214 #define wxUSE_ODCOMBOBOX 1
47218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47221 if test "$wxUSE_RADIOBOX" = "yes"; then
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_RADIOBOX 1
47229 if test "$wxUSE_RADIOBTN" = "yes"; then
47230 cat >>confdefs.h
<<\_ACEOF
47231 #define wxUSE_RADIOBTN 1
47237 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define wxUSE_REARRANGECTRL 1
47244 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47245 cat >>confdefs.h
<<\_ACEOF
47246 #define wxUSE_RICHMSGDLG 1
47251 if test "$wxUSE_SASH" = "yes"; then
47252 cat >>confdefs.h
<<\_ACEOF
47253 #define wxUSE_SASH 1
47256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47259 if test "$wxUSE_SCROLLBAR" = "yes"; then
47260 cat >>confdefs.h
<<\_ACEOF
47261 #define wxUSE_SCROLLBAR 1
47265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47268 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47269 cat >>confdefs.h
<<\_ACEOF
47270 #define wxUSE_SEARCHCTRL 1
47276 if test "$wxUSE_SLIDER" = "yes"; then
47277 cat >>confdefs.h
<<\_ACEOF
47278 #define wxUSE_SLIDER 1
47284 if test "$wxUSE_SPINBTN" = "yes"; then
47285 cat >>confdefs.h
<<\_ACEOF
47286 #define wxUSE_SPINBTN 1
47292 if test "$wxUSE_SPINCTRL" = "yes"; then
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_SPINCTRL 1
47300 if test "$wxUSE_SPLITTER" = "yes"; then
47301 cat >>confdefs.h
<<\_ACEOF
47302 #define wxUSE_SPLITTER 1
47305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47308 if test "$wxUSE_STATBMP" = "yes"; then
47309 cat >>confdefs.h
<<\_ACEOF
47310 #define wxUSE_STATBMP 1
47316 if test "$wxUSE_STATBOX" = "yes"; then
47317 cat >>confdefs.h
<<\_ACEOF
47318 #define wxUSE_STATBOX 1
47324 if test "$wxUSE_STATTEXT" = "yes"; then
47325 cat >>confdefs.h
<<\_ACEOF
47326 #define wxUSE_STATTEXT 1
47332 if test "$wxUSE_STATLINE" = "yes"; then
47333 cat >>confdefs.h
<<\_ACEOF
47334 #define wxUSE_STATLINE 1
47340 if test "$wxUSE_STATUSBAR" = "yes"; then
47341 cat >>confdefs.h
<<\_ACEOF
47342 #define wxUSE_NATIVE_STATUSBAR 1
47345 cat >>confdefs.h
<<\_ACEOF
47346 #define wxUSE_STATUSBAR 1
47351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47354 if test "$wxUSE_TEXTCTRL" = "yes"; then
47355 cat >>confdefs.h
<<\_ACEOF
47356 #define wxUSE_TEXTCTRL 1
47360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47362 cat >>confdefs.h
<<\_ACEOF
47363 #define wxUSE_RICHEDIT 1
47366 cat >>confdefs.h
<<\_ACEOF
47367 #define wxUSE_RICHEDIT2 1
47372 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47373 if test "$wxUSE_OLD_COCOA" = 1 ; then
47374 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47375 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47379 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47380 cat >>confdefs.h
<<\_ACEOF
47381 #define wxUSE_TOGGLEBTN 1
47388 if test "$wxUSE_TOOLBAR" = "yes"; then
47389 cat >>confdefs.h
<<\_ACEOF
47390 #define wxUSE_TOOLBAR 1
47395 if test "$wxUSE_UNIVERSAL" = "yes"; then
47396 wxUSE_TOOLBAR_NATIVE
="no"
47398 wxUSE_TOOLBAR_NATIVE
="yes"
47399 cat >>confdefs.h
<<\_ACEOF
47400 #define wxUSE_TOOLBAR_NATIVE 1
47405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47408 if test "$wxUSE_TOOLTIPS" = "yes"; then
47409 if test "$wxUSE_MOTIF" = 1; then
47410 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47411 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47413 if test "$wxUSE_UNIVERSAL" = "yes"; then
47414 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47415 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47417 cat >>confdefs.h
<<\_ACEOF
47418 #define wxUSE_TOOLTIPS 1
47425 if test "$wxUSE_TREEBOOK" = "yes"; then
47426 cat >>confdefs.h
<<\_ACEOF
47427 #define wxUSE_TREEBOOK 1
47433 if test "$wxUSE_TOOLBOOK" = "yes"; then
47434 cat >>confdefs.h
<<\_ACEOF
47435 #define wxUSE_TOOLBOOK 1
47441 if test "$wxUSE_TREECTRL" = "yes"; then
47442 if test "$wxUSE_IMAGLIST" = "yes"; then
47443 cat >>confdefs.h
<<\_ACEOF
47444 #define wxUSE_TREECTRL 1
47448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47450 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47451 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47455 if test "$wxUSE_POPUPWIN" = "yes"; then
47456 if test "$wxUSE_OLD_COCOA" = 1 ; then
47457 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47458 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47460 if test "$wxUSE_PM" = 1; then
47461 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47462 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47464 cat >>confdefs.h
<<\_ACEOF
47465 #define wxUSE_POPUPWIN 1
47468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47475 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47476 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47477 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47478 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47480 cat >>confdefs.h
<<\_ACEOF
47481 #define wxUSE_DIALUP_MANAGER 1
47484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47488 if test "$wxUSE_TIPWINDOW" = "yes"; then
47489 if test "$wxUSE_PM" = 1; then
47490 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47491 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47493 cat >>confdefs.h
<<\_ACEOF
47494 #define wxUSE_TIPWINDOW 1
47500 if test "$USES_CONTROLS" = 1; then
47501 cat >>confdefs.h
<<\_ACEOF
47502 #define wxUSE_CONTROLS 1
47508 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47509 cat >>confdefs.h
<<\_ACEOF
47510 #define wxUSE_ACCESSIBILITY 1
47513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47516 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47517 cat >>confdefs.h
<<\_ACEOF
47518 #define wxUSE_DRAGIMAGE 1
47521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47524 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47525 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47526 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47527 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47529 cat >>confdefs.h
<<\_ACEOF
47530 #define wxUSE_EXCEPTIONS 1
47533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47538 if test "$wxUSE_HTML" = "yes"; then
47539 cat >>confdefs.h
<<\_ACEOF
47540 #define wxUSE_HTML 1
47544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47546 if test "$wxUSE_WEBKIT" = "yes"; then
47547 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47548 old_CPPFLAGS
="$CPPFLAGS"
47549 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47550 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47551 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47552 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 cat >conftest.
$ac_ext <<_ACEOF
47558 cat confdefs.h
>>conftest.
$ac_ext
47559 cat >>conftest.
$ac_ext <<_ACEOF
47560 /* end confdefs.h. */
47562 #include <Carbon/Carbon.h>
47563 #include <WebKit/WebKit.h>
47566 #include <WebKit/HIWebView.h>
47568 rm -f conftest.
$ac_objext
47569 if { (ac_try
="$ac_compile"
47570 case "(($ac_try" in
47571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47572 *) ac_try_echo=$ac_try;;
47574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47575 (eval "$ac_compile") 2>conftest.er1
47577 grep -v '^ *+' conftest.er1 >conftest.err
47579 cat conftest.err >&5
47580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581 (exit $ac_status); } && {
47582 test -z "$ac_c_werror_flag" ||
47583 test ! -s conftest.err
47584 } && test -s conftest.$ac_objext; then
47585 ac_cv_header_WebKit_HIWebView_h=yes
47587 echo "$as_me: failed program was:" >&5
47588 sed 's/^/| /' conftest.$ac_ext >&5
47590 ac_cv_header_WebKit_HIWebView_h=no
47593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47596 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47597 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_WEBKIT 1
47603 WEBKIT_LINK="-framework WebKit"
47607 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47608 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47614 CPPFLAGS="$old_CPPFLAGS"
47615 elif test "$wxUSE_OLD_COCOA" = 1; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_WEBKIT 1
47623 if test "$wxUSE_WEBKIT" = "yes"; then
47624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47629 if test "$wxUSE_XRC" = "yes"; then
47630 if test "$wxUSE_XML" != "yes"; then
47631 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47632 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_XRC 1
47640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47645 if test "$wxUSE_AUI" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_AUI 1
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47655 if test "$wxUSE_PROPGRID" = "yes"; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_PROPGRID 1
47661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47665 if test "$wxUSE_RIBBON" = "yes"; then
47666 cat >>confdefs.h <<\_ACEOF
47667 #define wxUSE_RIBBON 1
47671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47675 if test "$wxUSE_STC" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_STC 1
47681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47683 # Extract the first word of "python", so it can be a program name with args.
47684 set dummy python; ac_word=$2
47685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47687 if test "${ac_cv_path_PYTHON+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47692 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47696 for as_dir in $PATH
47699 test -z "$as_dir" && as_dir=.
47700 for ac_exec_ext in '' $ac_executable_extensions; do
47701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47702 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47713 PYTHON=$ac_cv_path_PYTHON
47714 if test -n "$PYTHON"; then
47715 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47716 echo "${ECHO_T}$PYTHON" >&6; }
47718 { echo "$as_me:$LINENO: result: no" >&5
47719 echo "${ECHO_T}no" >&6; }
47723 if test "x$PYTHON" = "x"; then
47729 if test "$wxUSE_MENUS" = "yes"; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_MENUS 1
47734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47737 if test "$wxUSE_METAFILE" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_METAFILE 1
47744 if test "$wxUSE_MIMETYPE" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_MIMETYPE 1
47751 if test "$wxUSE_MINIFRAME" = "yes"; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_MINIFRAME 1
47758 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_SYSTEM_OPTIONS 1
47765 if test "$wxUSE_TASKBARICON" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_TASKBARICON 1
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47774 if test "$wxUSE_VALIDATORS" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_VALIDATORS 1
47779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47782 if test "$wxUSE_PALETTE" = "yes" ; then
47783 if test "$wxUSE_DFB" = 1; then
47784 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47785 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_PALETTE 1
47795 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47796 LIBS=" -lunicows $LIBS"
47800 if test "$wxUSE_RICHTEXT" = "yes"; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_RICHTEXT 1
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47810 if test "$wxUSE_IMAGE" = "yes" ; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_IMAGE 1
47816 if test "$wxUSE_GIF" = "yes" ; then
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_GIF 1
47823 if test "$wxUSE_PCX" = "yes" ; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_PCX 1
47830 if test "$wxUSE_TGA" = "yes" ; then
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_TGA 1
47837 if test "$wxUSE_IFF" = "yes" ; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_IFF 1
47844 if test "$wxUSE_PNM" = "yes" ; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_PNM 1
47851 if test "$wxUSE_XPM" = "yes" ; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_XPM 1
47858 if test "$wxUSE_ICO_CUR" = "yes" ; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_ICO_CUR 1
47867 if test "$wxUSE_ABOUTDLG" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_ABOUTDLG 1
47874 if test "$wxUSE_CHOICEDLG" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_CHOICEDLG 1
47881 if test "$wxUSE_COLOURDLG" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_COLOURDLG 1
47888 if test "$wxUSE_FILEDLG" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_FILEDLG 1
47895 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_FINDREPLDLG 1
47902 if test "$wxUSE_FONTDLG" = "yes"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_FONTDLG 1
47909 if test "$wxUSE_DIRDLG" = "yes"; then
47910 if test "$wxUSE_TREECTRL" != "yes"; then
47911 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47912 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_DIRDLG 1
47921 if test "$wxUSE_MSGDLG" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_MSGDLG 1
47928 if test "$wxUSE_NUMBERDLG" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_NUMBERDLG 1
47935 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_PROGRESSDLG 1
47942 if test "$wxUSE_SPLASH" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_SPLASH 1
47947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47950 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_STARTUP_TIPS 1
47957 if test "$wxUSE_TEXTDLG" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_TEXTDLG 1
47964 if test "$wxUSE_WIZARDDLG" = "yes"; then
47965 cat >>confdefs.h <<\_ACEOF
47966 #define wxUSE_WIZARDDLG 1
47969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47973 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47974 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_OWNER_DRAWN 1
47983 if test "$wxUSE_MSW" = 1 ; then
47985 if test "$wxUSE_DC_CACHEING" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_DC_CACHEING 1
47992 if test "$wxUSE_DIB" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_WXDIB 1
47999 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48006 if test "$wxUSE_UXTHEME" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_UXTHEME 1
48015 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_AUTOID_MANAGEMENT 1
48022 if test "$USE_WIN32" = 1 ; then
48023 if test "$wxUSE_INICONF" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_INICONF 1
48030 if test "$wxUSE_REGKEY" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_REGKEY 1
48039 if test "$wxUSE_MAC" = 1; then
48040 wxUSE_GRAPHICS_CONTEXT="yes"
48043 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48045 if test "$wxUSE_MSW" = 1; then
48046 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48047 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48048 if test "${wx_cv_lib_gdiplus+set}" = set; then
48049 echo $ECHO_N "(cached) $ECHO_C" >&6
48053 ac_cpp='$CXXCPP $CPPFLAGS'
48054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48058 cat >conftest.$ac_ext <<_ACEOF
48061 cat confdefs.h >>conftest.$ac_ext
48062 cat >>conftest.$ac_ext <<_ACEOF
48063 /* end confdefs.h. */
48064 #include <windows.h>
48065 #include <gdiplus.h>
48070 using namespace Gdiplus;
48076 rm -f conftest.$ac_objext
48077 if { (ac_try="$ac_compile"
48078 case "(($ac_try" in
48079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48080 *) ac_try_echo
=$ac_try;;
48082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48083 (eval "$ac_compile") 2>conftest.er1
48085 grep -v '^ *+' conftest.er1
>conftest.err
48087 cat conftest.err
>&5
48088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48089 (exit $ac_status); } && {
48090 test -z "$ac_cxx_werror_flag" ||
48091 test ! -s conftest.err
48092 } && test -s conftest.
$ac_objext; then
48093 wx_cv_lib_gdiplus
=yes
48095 echo "$as_me: failed program was:" >&5
48096 sed 's/^/| /' conftest.
$ac_ext >&5
48098 wx_cv_lib_gdiplus
=no
48102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48104 ac_cpp
='$CPP $CPPFLAGS'
48105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48112 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48113 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48114 if test "$wx_cv_lib_gdiplus" = "yes"; then
48117 elif test "$wxUSE_GTK" = 1; then
48120 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48121 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48123 if test -n "$PKG_CONFIG"; then
48124 if test -n "$CAIRO_CFLAGS"; then
48125 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48127 if test -n "$PKG_CONFIG" && \
48128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48129 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48132 (exit $ac_status); }; then
48133 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48141 if test -n "$PKG_CONFIG"; then
48142 if test -n "$CAIRO_LIBS"; then
48143 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48145 if test -n "$PKG_CONFIG" && \
48146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48147 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); }; then
48151 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48162 if test $pkg_failed = yes; then
48164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48165 _pkg_short_errors_supported
=yes
48167 _pkg_short_errors_supported
=no
48169 if test $_pkg_short_errors_supported = yes; then
48170 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48172 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48174 # Put the nasty error message in config.log where it belongs
48175 echo "$CAIRO_PKG_ERRORS" >&5
48177 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48178 echo "$as_me: WARNING: Cairo library not found" >&2;}
48180 elif test $pkg_failed = untried
; then
48181 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48182 echo "$as_me: WARNING: Cairo library not found" >&2;}
48185 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48186 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48187 { echo "$as_me:$LINENO: result: yes" >&5
48188 echo "${ECHO_T}yes" >&6; }
48195 if test "$wx_has_graphics" = 1; then
48196 cat >>confdefs.h
<<\_ACEOF
48197 #define wxUSE_GRAPHICS_CONTEXT 1
48201 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48202 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48209 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48212 if test "$wxUSE_GTK" = 1; then
48213 wxUSE_GSTREAMER
="no"
48215 GST_VERSION_MAJOR
=0
48216 GST_VERSION_MINOR
=10
48217 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48219 if test "$wxUSE_GSTREAMER8" = "no"; then
48222 { echo "$as_me:$LINENO: checking for GST" >&5
48223 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48225 if test -n "$PKG_CONFIG"; then
48226 if test -n "$GST_CFLAGS"; then
48227 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48229 if test -n "$PKG_CONFIG" && \
48230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48231 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); }; then
48235 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48243 if test -n "$PKG_CONFIG"; then
48244 if test -n "$GST_LIBS"; then
48245 pkg_cv_GST_LIBS
="$GST_LIBS"
48247 if test -n "$PKG_CONFIG" && \
48248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48249 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48252 (exit $ac_status); }; then
48253 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48264 if test $pkg_failed = yes; then
48266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48267 _pkg_short_errors_supported
=yes
48269 _pkg_short_errors_supported
=no
48271 if test $_pkg_short_errors_supported = yes; then
48272 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48274 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48276 # Put the nasty error message in config.log where it belongs
48277 echo "$GST_PKG_ERRORS" >&5
48280 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48281 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48282 GST_VERSION_MINOR
=8
48285 elif test $pkg_failed = untried
; then
48287 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48288 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48289 GST_VERSION_MINOR
=8
48293 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48294 GST_LIBS
=$pkg_cv_GST_LIBS
48295 { echo "$as_me:$LINENO: result: yes" >&5
48296 echo "${ECHO_T}yes" >&6; }
48298 wxUSE_GSTREAMER
="yes"
48299 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48303 GST_VERSION_MINOR
=8
48306 if test $GST_VERSION_MINOR = "8"; then
48307 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48310 { echo "$as_me:$LINENO: checking for GST" >&5
48311 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48313 if test -n "$PKG_CONFIG"; then
48314 if test -n "$GST_CFLAGS"; then
48315 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48317 if test -n "$PKG_CONFIG" && \
48318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48319 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322 (exit $ac_status); }; then
48323 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48331 if test -n "$PKG_CONFIG"; then
48332 if test -n "$GST_LIBS"; then
48333 pkg_cv_GST_LIBS
="$GST_LIBS"
48335 if test -n "$PKG_CONFIG" && \
48336 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48337 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48340 (exit $ac_status); }; then
48341 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48352 if test $pkg_failed = yes; then
48354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48355 _pkg_short_errors_supported
=yes
48357 _pkg_short_errors_supported
=no
48359 if test $_pkg_short_errors_supported = yes; then
48360 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48362 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48364 # Put the nasty error message in config.log where it belongs
48365 echo "$GST_PKG_ERRORS" >&5
48368 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48369 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48371 elif test $pkg_failed = untried
; then
48373 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48374 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48377 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48378 GST_LIBS
=$pkg_cv_GST_LIBS
48379 { echo "$as_me:$LINENO: result: yes" >&5
48380 echo "${ECHO_T}yes" >&6; }
48381 wxUSE_GSTREAMER
="yes"
48386 if test "$wxUSE_GSTREAMER" = "yes"; then
48387 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48388 EXTRALIBS_MEDIA
="$GST_LIBS"
48390 cat >>confdefs.h
<<\_ACEOF
48391 #define wxUSE_GSTREAMER 1
48399 if test $USE_MEDIA = 1; then
48400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48401 cat >>confdefs.h
<<\_ACEOF
48402 #define wxUSE_MEDIACTRL 1
48406 if test "$wxUSE_MEDIACTRL" = "yes"; then
48407 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48408 echo "$as_me: error: GStreamer not available" >&2;}
48409 { (exit 1); exit 1; }; }
48411 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48412 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48418 if test "$cross_compiling" != "no"; then
48421 OSINFO
=`uname -s -r -m`
48422 OSINFO
="\"$OSINFO\""
48425 cat >>confdefs.h
<<_ACEOF
48426 #define WXWIN_OS_DESCRIPTION $OSINFO
48431 if test "x$prefix" != "xNONE"; then
48434 wxPREFIX
=$ac_default_prefix
48437 cat >>confdefs.h
<<_ACEOF
48438 #define wxINSTALL_PREFIX "$wxPREFIX"
48444 STD_BASE_LIBS
="base"
48446 BUILT_WX_LIBS
="base"
48447 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
48449 if test "$wxUSE_SOCKETS" = "yes" ; then
48450 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48451 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48453 if test "$wxUSE_XML" = "yes" ; then
48454 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48455 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48458 if test "$wxUSE_GUI" = "yes"; then
48459 STD_GUI_LIBS
="adv core"
48460 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48462 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48463 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48464 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48466 if test "$wxUSE_HTML" = "yes" ; then
48467 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48468 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48470 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48471 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48473 if test "$wxUSE_OPENGL" = "yes" ; then
48474 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48476 if test "$wxUSE_AUI" = "yes" ; then
48477 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48479 if test "$wxUSE_PROPGRID" = "yes" ; then
48480 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
48482 if test "$wxUSE_RIBBON" = "yes" ; then
48483 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
48485 if test "$wxUSE_RICHTEXT" = "yes" ; then
48486 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
48488 if test "$wxUSE_STC" = "yes" ; then
48489 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48491 if test "$wxUSE_XRC" = "yes" ; then
48492 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48493 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48504 if test "$wxUSE_MAC" = 1 ; then
48505 if test "$USE_DARWIN" = 1; then
48506 if test "$wxUSE_OSX_IPHONE" = 1; then
48507 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48509 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48513 if test "$wxUSE_OLD_COCOA" = 1 ; then
48514 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48515 if test "$wxUSE_MEDIACTRL" = "yes"; then
48516 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48519 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48520 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48523 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48524 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48526 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48528 if test "$wxUSE_GUI" = "yes"; then
48531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48532 erase event exec font image minimal render \
48533 shaped svg taborder vscroll widgets wrapsizer"
48535 if test "$wxUSE_MONOLITHIC" != "yes"; then
48536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48538 if test "$TOOLKIT" = "MSW"; then
48539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48540 if test "$wxUSE_UNIVERSAL" != "yes"; then
48541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48544 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48548 SAMPLES_SUBDIRS
="console"
48549 if test "$wxUSE_SOCKETS" = "yes" ; then
48550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48552 if test "$wxUSE_IPC" = "yes" ; then
48553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48558 if test "x$INTELCC" = "xyes" ; then
48559 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48560 elif test "$GCC" = yes ; then
48561 CWARNINGS
="-Wall -Wundef"
48564 if test "x$INTELCXX" = "xyes" ; then
48565 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48566 elif test "$GXX" = yes ; then
48567 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48568 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48569 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48570 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48571 echo $ECHO_N "(cached) $ECHO_C" >&6
48573 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48576 ac_cpp
='$CXXCPP $CPPFLAGS'
48577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48581 ac_save_CXXFLAGS
="$CXXFLAGS"
48582 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48583 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48584 cat >conftest.
$ac_ext <<_ACEOF
48587 cat confdefs.h
>>conftest.
$ac_ext
48588 cat >>conftest.
$ac_ext <<_ACEOF
48589 /* end confdefs.h. */
48599 rm -f conftest.
$ac_objext
48600 if { (ac_try
="$ac_compile"
48601 case "(($ac_try" in
48602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48603 *) ac_try_echo=$ac_try;;
48605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48606 (eval "$ac_compile") 2>conftest.er1
48608 grep -v '^ *+' conftest.er1 >conftest.err
48610 cat conftest.err >&5
48611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48612 (exit $ac_status); } && {
48613 test -z "$ac_cxx_werror_flag" ||
48614 test ! -s conftest.err
48615 } && test -s conftest.$ac_objext; then
48616 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48618 echo "$as_me: failed program was:" >&5
48619 sed 's/^/| /' conftest.$ac_ext >&5
48624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48626 CXXFLAGS="$ac_save_CXXFLAGS"
48628 ac_cpp='$CPP $CPPFLAGS'
48629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48635 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48636 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48637 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48641 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48642 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48643 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }
48647 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48648 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }
48652 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48658 if test "$wxUSE_MAC" = 1 ; then
48659 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48664 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48665 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48668 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48669 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48670 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48673 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48674 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48675 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48676 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48677 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48679 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48682 if test "x$MWCC" = "xyes"; then
48684 CC="$CC -cwd source -I-"
48685 CXX="$CXX -cwd source -I-"
48690 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48691 EXTRALIBS_XML="$EXPAT_LINK"
48692 EXTRALIBS_HTML="$MSPACK_LINK"
48693 EXTRALIBS_MEDIA="$GST_LIBS"
48694 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48695 if test "$wxUSE_GUI" = "yes"; then
48696 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48698 if test "$wxUSE_OPENGL" = "yes"; then
48699 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48702 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48704 WXCONFIG_LIBS="$LIBS"
48706 if test "$wxUSE_REGEX" = "builtin" ; then
48707 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48709 if test "$wxUSE_EXPAT" = "builtin" ; then
48710 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48712 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48713 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48715 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48716 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48718 if test "$wxUSE_LIBPNG" = "builtin" ; then
48719 wxconfig_3rdparty="png $wxconfig_3rdparty"
48721 if test "$wxUSE_ZLIB" = "builtin" ; then
48722 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48725 for i in $wxconfig_3rdparty ; do
48726 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48730 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48733 case "$wxUNIV_THEMES" in
48735 cat >>confdefs.h <<\_ACEOF
48736 #define wxUSE_ALL_THEMES 1
48742 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48743 cat >>confdefs.h <<_ACEOF
48744 #define wxUSE_THEME_$t 1
48760 if test $wxUSE_MONOLITHIC = "yes" ; then
48766 if test $wxUSE_PLUGINS = "yes" ; then
48772 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48778 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48810 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48823 TOOLKIT_DESC="GTK+"
48824 if test "$WXGTK2" = 1; then
48825 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48826 if test "$wxUSE_GTKPRINT" = "yes" ; then
48827 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48829 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48830 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48832 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48833 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48835 if test "$wxUSE_LIBHILDON" = "yes"; then
48836 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48838 if test "$wxUSE_LIBHILDON2" = "yes"; then
48839 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48842 if test "$TOOLKIT_EXTRA" != ""; then
48843 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48849 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48853 TOOLKIT_DESC="base only"
48857 if test "$wxUSE_WINE" = "yes"; then
48858 BAKEFILE_FORCE_PLATFORM=win32
48861 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48863 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48864 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48865 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48866 echo $ECHO_N "(cached) $ECHO_C" >&6
48869 echo '#include <stdio.h>
48870 const wchar_t test_var[] = L"awidetest";' > conftest.h
48872 echo '#include "conftest.h"
48875 printf("%ls", test_var);
48879 wx_cv_gcc_pch_bug="pch not supported"
48881 if $CXX conftest.h >/dev/null 2>&1
48885 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48887 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48888 grep awidetest >/dev/null
48890 wx_cv_gcc_pch_bug=no
48892 wx_cv_gcc_pch_bug=yes
48897 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48900 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48901 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48903 if test "$wx_cv_gcc_pch_bug" = yes; then
48914 if test "x$BAKEFILE_HOST" = "x"; then
48915 if test "x${host}" = "x" ; then
48916 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48917 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48918 { (exit 1); exit 1; }; }
48921 BAKEFILE_HOST="${host}"
48924 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48926 if test -n "$ac_tool_prefix"; then
48927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48931 if test "${ac_cv_prog_RANLIB+set}" = set; then
48932 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 if test -n "$RANLIB"; then
48935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48938 for as_dir in $PATH
48941 test -z "$as_dir" && as_dir=.
48942 for ac_exec_ext in '' $ac_executable_extensions; do
48943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48954 RANLIB=$ac_cv_prog_RANLIB
48955 if test -n "$RANLIB"; then
48956 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48957 echo "${ECHO_T}$RANLIB" >&6; }
48959 { echo "$as_me:$LINENO: result: no" >&5
48960 echo "${ECHO_T}no" >&6; }
48965 if test -z "$ac_cv_prog_RANLIB"; then
48966 ac_ct_RANLIB=$RANLIB
48967 # Extract the first word of "ranlib", so it can be a program name with args.
48968 set dummy ranlib; ac_word=$2
48969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48972 echo $ECHO_N "(cached) $ECHO_C" >&6
48974 if test -n "$ac_ct_RANLIB"; then
48975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48978 for as_dir in $PATH
48981 test -z "$as_dir" && as_dir=.
48982 for ac_exec_ext in '' $ac_executable_extensions; do
48983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48984 ac_cv_prog_ac_ct_RANLIB="ranlib"
48985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48995 if test -n "$ac_ct_RANLIB"; then
48996 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48997 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48999 { echo "$as_me:$LINENO: result: no" >&5
49000 echo "${ECHO_T}no" >&6; }
49003 if test "x$ac_ct_RANLIB" = x; then
49006 case $cross_compiling:$ac_tool_warned in
49008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49009 whose name does not start with the host triplet. If you think this
49010 configuration is useful to you, please write to autoconf@gnu.org." >&5
49011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49012 whose name does not start with the host triplet. If you think this
49013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49014 ac_tool_warned=yes ;;
49016 RANLIB=$ac_ct_RANLIB
49019 RANLIB="$ac_cv_prog_RANLIB"
49022 # Find a good install program. We prefer a C program (faster),
49023 # so one script is as good as another. But avoid the broken or
49024 # incompatible versions:
49025 # SysV /etc/install, /usr/sbin/install
49026 # SunOS /usr/etc/install
49027 # IRIX /sbin/install
49029 # AmigaOS /C/install, which installs bootblocks on floppy discs
49030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49033 # OS/2's system install, which has a completely different semantic
49034 # ./install, which can be erroneously created by make from ./install.sh.
49035 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49036 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49037 if test -z "$INSTALL"; then
49038 if test "${ac_cv_path_install+set}" = set; then
49039 echo $ECHO_N "(cached) $ECHO_C" >&6
49041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49042 for as_dir in $PATH
49045 test -z "$as_dir" && as_dir=.
49046 # Account for people who put trailing slashes in PATH elements.
49048 ./ | .// | /cC/* | \
49049 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49050 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49053 # OSF1 and SCO ODT 3.0 have their own names for install.
49054 # Don't use installbsd from OSF since it installs stuff as root
49056 for ac_prog in ginstall scoinst install; do
49057 for ac_exec_ext in '' $ac_executable_extensions; do
49058 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49059 if test $ac_prog = install &&
49060 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49061 # AIX install. It has an incompatible calling convention.
49063 elif test $ac_prog = install &&
49064 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49065 # program-specific install script used by HP pwplus--don't use.
49068 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49081 if test "${ac_cv_path_install+set}" = set; then
49082 INSTALL=$ac_cv_path_install
49084 # As a last resort, use the slow shell script. Don't cache a
49085 # value for INSTALL within a source directory, because that will
49086 # break other packages using the cache if that directory is
49087 # removed, or if the value is a relative name.
49088 INSTALL=$ac_install_sh
49091 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49092 echo "${ECHO_T}$INSTALL" >&6; }
49094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49095 # It thinks the first close brace ends the variable substitution.
49096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49102 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49105 if test "$LN_S" = "ln -s"; then
49106 { echo "$as_me:$LINENO: result: yes" >&5
49107 echo "${ECHO_T}yes" >&6; }
49109 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49110 echo "${ECHO_T}no, using $LN_S" >&6; }
49114 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49116 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49117 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49118 echo $ECHO_N "(cached) $ECHO_C" >&6
49120 cat >conftest.make <<\_ACEOF
49123 @echo '@@@%%%=$(MAKE)=@@@%%%'
49125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49126 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49127 *@@@%%%=?*=@@@%%%*)
49128 eval ac_cv_prog_make_${ac_make}_set=yes;;
49130 eval ac_cv_prog_make_${ac_make}_set=no;;
49132 rm -f conftest.make
49134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49135 { echo "$as_me:$LINENO: result: yes" >&5
49136 echo "${ECHO_T}yes" >&6; }
49139 { echo "$as_me:$LINENO: result: no" >&5
49140 echo "${ECHO_T}no" >&6; }
49141 SET_MAKE="MAKE=${MAKE-make}"
49146 if test "x$SUNCXX" = "xyes"; then
49148 AROPTIONS="-xar -o"
49150 elif test "x$SGICC" = "xyes"; then
49155 if test -n "$ac_tool_prefix"; then
49156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49157 set dummy ${ac_tool_prefix}ar; ac_word=$2
49158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49160 if test "${ac_cv_prog_AR+set}" = set; then
49161 echo $ECHO_N "(cached) $ECHO_C" >&6
49163 if test -n "$AR"; then
49164 ac_cv_prog_AR="$AR" # Let the user override the test.
49166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49167 for as_dir in $PATH
49170 test -z "$as_dir" && as_dir=.
49171 for ac_exec_ext in '' $ac_executable_extensions; do
49172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49173 ac_cv_prog_AR="${ac_tool_prefix}ar"
49174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49184 if test -n "$AR"; then
49185 { echo "$as_me:$LINENO: result: $AR" >&5
49186 echo "${ECHO_T}$AR" >&6; }
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49194 if test -z "$ac_cv_prog_AR"; then
49196 # Extract the first word of "ar", so it can be a program name with args.
49197 set dummy ar; ac_word=$2
49198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49200 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49203 if test -n "$ac_ct_AR"; then
49204 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49207 for as_dir in $PATH
49210 test -z "$as_dir" && as_dir=.
49211 for ac_exec_ext in '' $ac_executable_extensions; do
49212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49213 ac_cv_prog_ac_ct_AR="ar"
49214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49223 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49224 if test -n "$ac_ct_AR"; then
49225 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49226 echo "${ECHO_T}$ac_ct_AR" >&6; }
49228 { echo "$as_me:$LINENO: result: no" >&5
49229 echo "${ECHO_T}no" >&6; }
49232 if test "x$ac_ct_AR" = x; then
49235 case $cross_compiling:$ac_tool_warned in
49237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49238 whose name does not start with the host triplet. If you think this
49239 configuration is useful to you, please write to autoconf@gnu.org." >&5
49240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49241 whose name does not start with the host triplet. If you think this
49242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49243 ac_tool_warned=yes ;;
49248 AR="$ac_cv_prog_AR"
49255 if test -n "$ac_tool_prefix"; then
49256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49257 set dummy ${ac_tool_prefix}strip; ac_word=$2
49258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49260 if test "${ac_cv_prog_STRIP+set}" = set; then
49261 echo $ECHO_N "(cached) $ECHO_C" >&6
49263 if test -n "$STRIP"; then
49264 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49267 for as_dir in $PATH
49270 test -z "$as_dir" && as_dir=.
49271 for ac_exec_ext in '' $ac_executable_extensions; do
49272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49273 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49283 STRIP=$ac_cv_prog_STRIP
49284 if test -n "$STRIP"; then
49285 { echo "$as_me:$LINENO: result: $STRIP" >&5
49286 echo "${ECHO_T}$STRIP" >&6; }
49288 { echo "$as_me:$LINENO: result: no" >&5
49289 echo "${ECHO_T}no" >&6; }
49294 if test -z "$ac_cv_prog_STRIP"; then
49296 # Extract the first word of "strip", so it can be a program name with args.
49297 set dummy strip; ac_word=$2
49298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49300 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49301 echo $ECHO_N "(cached) $ECHO_C" >&6
49303 if test -n "$ac_ct_STRIP"; then
49304 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49307 for as_dir in $PATH
49310 test -z "$as_dir" && as_dir=.
49311 for ac_exec_ext in '' $ac_executable_extensions; do
49312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49313 ac_cv_prog_ac_ct_STRIP="strip"
49314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49323 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49324 if test -n "$ac_ct_STRIP"; then
49325 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49326 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49328 { echo "$as_me:$LINENO: result: no" >&5
49329 echo "${ECHO_T}no" >&6; }
49332 if test "x$ac_ct_STRIP" = x; then
49335 case $cross_compiling:$ac_tool_warned in
49337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49338 whose name does not start with the host triplet. If you think this
49339 configuration is useful to you, please write to autoconf@gnu.org." >&5
49340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49341 whose name does not start with the host triplet. If you think this
49342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49343 ac_tool_warned=yes ;;
49348 STRIP="$ac_cv_prog_STRIP"
49351 if test -n "$ac_tool_prefix"; then
49352 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49353 set dummy ${ac_tool_prefix}nm; ac_word=$2
49354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49356 if test "${ac_cv_prog_NM+set}" = set; then
49357 echo $ECHO_N "(cached) $ECHO_C" >&6
49359 if test -n "$NM"; then
49360 ac_cv_prog_NM="$NM" # Let the user override the test.
49362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49363 for as_dir in $PATH
49366 test -z "$as_dir" && as_dir=.
49367 for ac_exec_ext in '' $ac_executable_extensions; do
49368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49369 ac_cv_prog_NM="${ac_tool_prefix}nm"
49370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49380 if test -n "$NM"; then
49381 { echo "$as_me:$LINENO: result: $NM" >&5
49382 echo "${ECHO_T}$NM" >&6; }
49384 { echo "$as_me:$LINENO: result: no" >&5
49385 echo "${ECHO_T}no" >&6; }
49390 if test -z "$ac_cv_prog_NM"; then
49392 # Extract the first word of "nm", so it can be a program name with args.
49393 set dummy nm; ac_word=$2
49394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49396 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49397 echo $ECHO_N "(cached) $ECHO_C" >&6
49399 if test -n "$ac_ct_NM"; then
49400 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49403 for as_dir in $PATH
49406 test -z "$as_dir" && as_dir=.
49407 for ac_exec_ext in '' $ac_executable_extensions; do
49408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49409 ac_cv_prog_ac_ct_NM="nm"
49410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49419 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49420 if test -n "$ac_ct_NM"; then
49421 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49422 echo "${ECHO_T}$ac_ct_NM" >&6; }
49424 { echo "$as_me:$LINENO: result: no" >&5
49425 echo "${ECHO_T}no" >&6; }
49428 if test "x$ac_ct_NM" = x; then
49431 case $cross_compiling:$ac_tool_warned in
49433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49434 whose name does not start with the host triplet. If you think this
49435 configuration is useful to you, please write to autoconf@gnu.org." >&5
49436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49437 whose name does not start with the host triplet. If you think this
49438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49439 ac_tool_warned=yes ;;
49444 NM="$ac_cv_prog_NM"
49448 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49449 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49450 INSTALL_TEST_DIR=acbftest$$
49451 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49452 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49453 rmdir $INSTALL_TEST_DIR
49454 INSTALL_DIR='$(INSTALL) -d'
49455 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49456 echo "${ECHO_T}$INSTALL -d" >&6; }
49458 INSTALL_DIR="mkdir -p"
49459 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49460 echo "${ECHO_T}mkdir -p" >&6; }
49465 case ${BAKEFILE_HOST} in
49466 *-*-cygwin* | *-*-mingw32* )
49467 LDFLAGS_GUI="-mwindows"
49473 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49474 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49475 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49476 echo $ECHO_N "(cached) $ECHO_C" >&6
49479 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49480 egrep -s GNU > /dev/null); then
49481 bakefile_cv_prog_makeisgnu="yes"
49483 bakefile_cv_prog_makeisgnu="no"
49487 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49488 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49490 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49507 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49508 case "${BAKEFILE_HOST}" in
49515 *-pc-os2_emx | *-pc-os2-emx )
49525 powerpc-apple-macos* )
49534 case "$BAKEFILE_FORCE_PLATFORM" in
49555 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49556 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49557 { (exit 1); exit 1; }; }
49572 # Check whether --enable-omf was given.
49573 if test "${enable_omf+set}" = set; then
49574 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49578 case "${BAKEFILE_HOST}" in
49580 if test "x$GCC" = "xyes"; then
49581 CFLAGS="$CFLAGS -fno-common"
49582 CXXFLAGS="$CXXFLAGS -fno-common"
49584 if test "x$XLCC" = "xyes"; then
49585 CFLAGS="$CFLAGS -qnocommon"
49586 CXXFLAGS="$CXXFLAGS -qnocommon"
49590 *-pc-os2_emx | *-pc-os2-emx )
49591 if test "x$bk_os2_use_omf" = "xyes" ; then
49594 LDFLAGS="-Zomf $LDFLAGS"
49595 CFLAGS="-Zomf $CFLAGS"
49596 CXXFLAGS="-Zomf $CXXFLAGS"
49604 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49610 SO_SUFFIX_MODULE="so"
49615 DLLPREFIX_MODULE=""
49619 case "${BAKEFILE_HOST}" in
49624 SO_SUFFIX_MODULE="sl"
49628 SO_SUFFIX_MODULE="a"
49632 SO_SUFFIX_MODULE="dll"
49633 DLLIMP_SUFFIX="dll.a"
49640 SO_SUFFIX_MODULE="dll"
49641 DLLIMP_SUFFIX="dll.a"
49651 *-pc-os2_emx | *-pc-os2-emx )
49653 SO_SUFFIX_MODULE="dll"
49654 DLLIMP_SUFFIX=$OS2_LIBEXT
49658 LIBEXT=".$OS2_LIBEXT"
49663 SO_SUFFIX_MODULE="bundle"
49667 if test "x$DLLIMP_SUFFIX" = "x" ; then
49668 DLLIMP_SUFFIX="$SO_SUFFIX"
49683 if test "x$GCC" = "xyes"; then
49687 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49688 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49691 case "${BAKEFILE_HOST}" in
49693 if test "x$GCC" != "xyes"; then
49694 LDFLAGS="$LDFLAGS -L/usr/lib"
49696 SHARED_LD_CC="${CC} -b -o"
49697 SHARED_LD_CXX="${CXX} -b -o"
49703 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49705 elif test "x$SUNCXX" = "xyes"; then
49706 SHARED_LD_CC="${CC} -G -o"
49707 SHARED_LD_CXX="${CXX} -G -o"
49713 if test "x$SUNCXX" = xyes ; then
49714 SHARED_LD_CC="${CC} -G -o"
49715 SHARED_LD_CXX="${CXX} -G -o"
49723 cat <<EOF >shared-ld-sh
49725 #-----------------------------------------------------------------------------
49726 #-- Name: distrib/mac/shared-ld-sh
49727 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49728 #-- Author: Gilles Depeyrot
49729 #-- Copyright: (c) 2002 Gilles Depeyrot
49730 #-- Licence: any use permitted
49731 #-----------------------------------------------------------------------------
49736 linking_flag="-dynamiclib"
49737 ldargs="-r -keep_private_externs -nostdlib"
49739 if test "x${D}CXX" = "x"; then
49743 while test ${D}# -gt 0; do
49750 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49751 # collect these options and values
49752 args="${D}{args} ${D}1 ${D}2"
49757 # collect these options and values
49758 ldargs="${D}{ldargs} ${D}1 ${D}2"
49763 # collect these load args
49764 ldargs="${D}{ldargs} ${D}1"
49767 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49768 # collect these options
49769 args="${D}{args} ${D}1"
49772 -dynamiclib|-bundle)
49773 linking_flag="${D}1"
49777 echo "shared-ld: unhandled option '${D}1'"
49781 *.o | *.a | *.dylib)
49782 # collect object files
49783 objects="${D}{objects} ${D}1"
49787 echo "shared-ld: unhandled argument '${D}1'"
49798 # Link one module containing all the others
49800 if test ${D}{verbose} = 1; then
49801 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49803 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49807 # Link the shared library from the single module created, but only if the
49808 # previous command didn't fail:
49810 if test ${D}{status} = 0; then
49811 if test ${D}{verbose} = 1; then
49812 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49814 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49819 # Remove intermediate module
49821 rm -f master.${D}${D}.o
49826 chmod +x shared-ld-sh
49828 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49829 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49832 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49833 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49834 if test "${bakefile_cv_gcc31+set}" = set; then
49835 echo $ECHO_N "(cached) $ECHO_C" >&6
49838 cat >conftest.$ac_ext <<_ACEOF
49841 cat confdefs.h >>conftest.$ac_ext
49842 cat >>conftest.$ac_ext <<_ACEOF
49843 /* end confdefs.h. */
49849 #if (__GNUC__ < 3) || \
49850 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49858 rm -f conftest.$ac_objext
49859 if { (ac_try="$ac_compile"
49860 case "(($ac_try" in
49861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49862 *) ac_try_echo
=$ac_try;;
49864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49865 (eval "$ac_compile") 2>conftest.er1
49867 grep -v '^ *+' conftest.er1
>conftest.err
49869 cat conftest.err
>&5
49870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871 (exit $ac_status); } && {
49872 test -z "$ac_c_werror_flag" ||
49873 test ! -s conftest.err
49874 } && test -s conftest.
$ac_objext; then
49876 bakefile_cv_gcc31
=yes
49879 echo "$as_me: failed program was:" >&5
49880 sed 's/^/| /' conftest.
$ac_ext >&5
49883 bakefile_cv_gcc31
=no
49888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49891 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49892 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49893 if test "$bakefile_cv_gcc31" = "no"; then
49894 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49895 SHARED_LD_CXX
="$SHARED_LD_CC"
49897 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49898 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49901 if test "x$GCC" == "xyes"; then
49902 PIC_FLAG
="-dynamic -fPIC"
49904 if test "x$XLCC" = "xyes"; then
49905 PIC_FLAG
="-dynamic -DPIC"
49910 if test "x$GCC" = "xyes"; then
49913 case "${BAKEFILE_HOST}" in
49915 LD_EXPFULL
="-Wl,-bexpfull"
49919 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49920 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49922 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49923 set dummy makeC
++SharedLib
; ac_word
=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 if test -n "$AIX_CXX_LD"; then
49930 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49933 for as_dir
in $PATH
49936 test -z "$as_dir" && as_dir
=.
49937 for ac_exec_ext
in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49947 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49950 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49951 if test -n "$AIX_CXX_LD"; then
49952 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49953 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49960 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49961 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49966 SHARED_LD_CC
="${LD} -nostart -o"
49967 SHARED_LD_CXX
="${LD} -nostart -o"
49971 if test "x$GCC" != "xyes"; then
49976 *-*-cygwin* | *-*-mingw32* )
49978 SHARED_LD_CC
="\$(CC) -shared -o"
49979 SHARED_LD_CXX
="\$(CXX) -shared -o"
49983 *-pc-os2_emx | *-pc-os2-emx )
49984 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49985 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49989 cat <<EOF >dllar.sh
49992 # dllar - a tool to build both a .dll and an .a file
49993 # from a set of object (.o) files for EMX/OS2.
49995 # Written by Andrew Zabolotny, bit@freya.etu.ru
49996 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49998 # This script will accept a set of files on the command line.
49999 # All the public symbols from the .o files will be exported into
50000 # a .DEF file, then linker will be run (through gcc) against them to
50001 # build a shared library consisting of all given .o files. All libraries
50002 # (.a) will be first decompressed into component .o files then act as
50003 # described above. You can optionally give a description (-d "description")
50004 # which will be put into .DLL. To see the list of accepted options (as well
50005 # as command-line format) simply run this program without options. The .DLL
50006 # is built to be imported by name (there is no guarantee that new versions
50007 # of the library you build will have same ordinals for same symbols).
50009 # dllar is free software; you can redistribute it and/or modify
50010 # it under the terms of the GNU General Public License as published by
50011 # the Free Software Foundation; either version 2, or (at your option)
50012 # any later version.
50014 # dllar is distributed in the hope that it will be useful,
50015 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50017 # GNU General Public License for more details.
50019 # You should have received a copy of the GNU General Public License
50020 # along with dllar; see the file COPYING. If not, write to the Free
50021 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50024 # To successfuly run this program you will need:
50025 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50026 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50028 # (used to build the .dll)
50030 # (used to create .def file from .o files)
50032 # (used to create .a file from .def file)
50033 # - GNU text utilites (cat, sort, uniq)
50034 # used to process emxexp output
50035 # - GNU file utilities (mv, rm)
50037 # - lxlite (optional, see flag below)
50038 # (used for general .dll cleanup)
50045 # basnam, variant of basename, which does _not_ remove the path, _iff_
50046 # second argument (suffix to remove) is given
50050 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50053 echo ${D}1 | sed 's/'${D}2'${D}//'
50056 echo "error in basnam ${D}*"
50062 # Cleanup temporary files and output
50065 for i in ${D}inputFiles ; do
50068 rm -rf \`basnam ${D}i !\`
50075 # Kill result in case of failure as there is just to many stupid make/nmake
50076 # things out there which doesn't do this.
50077 if [ ${D}# -eq 0 ]; then
50078 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50082 # Print usage and exit script with rc=1.
50084 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50085 echo ' [-name-mangler-script script.sh]'
50086 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50087 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50088 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50089 echo ' [*.o] [*.a]'
50090 echo '*> "output_file" should have no extension.'
50091 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50092 echo ' The import library name is derived from this and is set to "name".a,'
50093 echo ' unless overridden by -import'
50094 echo '*> "importlib_name" should have no extension.'
50095 echo ' If it has the .o, or .a extension, it is automatically removed.'
50096 echo ' This name is used as the import library name and may be longer and'
50097 echo ' more descriptive than the DLL name which has to follow the old '
50098 echo ' 8.3 convention of FAT.'
50099 echo '*> "script.sh may be given to override the output_file name by a'
50100 echo ' different name. It is mainly useful if the regular make process'
50101 echo ' of some package does not take into account OS/2 restriction of'
50102 echo ' DLL name lengths. It takes the importlib name as input and is'
50103 echo ' supposed to procude a shorter name as output. The script should'
50104 echo ' expect to get importlib_name without extension and should produce'
50105 echo ' a (max.) 8 letter name without extension.'
50106 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50107 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50108 echo ' These flags will be put at the start of GCC command line.'
50109 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50110 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50111 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50112 echo ' If the last character of a symbol is "*", all symbols beginning'
50113 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50114 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50115 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50116 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50117 echo ' C runtime DLLs.'
50118 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50119 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50120 echo ' unchanged to GCC at the end of command line.'
50121 echo '*> If you create a DLL from a library and you do not specify -o,'
50122 echo ' the basename for DLL and import library will be set to library name,'
50123 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50124 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50125 echo ' library will be renamed into gcc_s.a.'
50128 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50129 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50134 # Execute a command.
50135 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50136 # @Uses Whatever CleanUp() uses.
50142 if [ ${D}rcCmd -ne 0 ]; then
50143 echo "command failed, exit code="${D}rcCmd
50158 CFLAGS="-s -Zcrtdll"
50160 EXPORT_BY_ORDINALS=0
50165 case ${D}curDirS in
50169 curDirS=${D}{curDirS}"/"
50172 # Parse commandline
50175 while [ ${D}1 ]; do
50178 EXPORT_BY_ORDINALS=1;
50188 -name-mangler-script)
50209 exclude_symbols=${D}{exclude_symbols}${D}1" "
50213 library_flags=${D}{library_flags}${D}1" "
50232 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50235 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50236 if [ ${D}omfLinking -eq 1 ]; then
50237 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50239 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50244 if [ ${D}libsToLink -ne 0 ]; then
50245 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50247 for file in ${D}1 ; do
50248 if [ -f ${D}file ]; then
50249 inputFiles="${D}{inputFiles} ${D}file"
50253 if [ ${D}found -eq 0 ]; then
50254 echo "ERROR: No file(s) found: "${D}1
50261 done # iterate cmdline words
50264 if [ -z "${D}inputFiles" ]; then
50265 echo "dllar: no input files"
50269 # Now extract all .o files from .a files
50271 for file in ${D}inputFiles ; do
50282 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50287 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50289 if [ ${D}? -ne 0 ]; then
50290 echo "Failed to create subdirectory ./${D}dirname"
50294 # Append '!' to indicate archive
50295 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50296 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50299 for subfile in ${D}dirname/*.o* ; do
50300 if [ -f ${D}subfile ]; then
50302 if [ -s ${D}subfile ]; then
50303 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50304 newInputFiles="${D}newInputFiles ${D}subfile"
50308 if [ ${D}found -eq 0 ]; then
50309 echo "WARNING: there are no files in archive \\'${D}file\\'"
50313 newInputFiles="${D}{newInputFiles} ${D}file"
50317 inputFiles="${D}newInputFiles"
50319 # Output filename(s).
50321 if [ -z ${D}outFile ]; then
50323 set outFile ${D}inputFiles; outFile=${D}2
50326 # If it is an archive, remove the '!' and the '_%' suffixes
50327 case ${D}outFile in
50329 outFile=\`basnam ${D}outFile _%!\`
50334 case ${D}outFile in
50336 outFile=\`basnam ${D}outFile .dll\`
50339 outFile=\`basnam ${D}outFile .DLL\`
50342 outFile=\`basnam ${D}outFile .o\`
50345 outFile=\`basnam ${D}outFile .obj\`
50348 outFile=\`basnam ${D}outFile .a\`
50351 outFile=\`basnam ${D}outFile .lib\`
50356 case ${D}outimpFile in
50358 outimpFile=\`basnam ${D}outimpFile .a\`
50361 outimpFile=\`basnam ${D}outimpFile .lib\`
50366 if [ -z ${D}outimpFile ]; then
50367 outimpFile=${D}outFile
50369 defFile="${D}{outFile}.def"
50370 arcFile="${D}{outimpFile}.a"
50371 arcFile2="${D}{outimpFile}.lib"
50373 #create ${D}dllFile as something matching 8.3 restrictions,
50374 if [ -z ${D}renameScript ] ; then
50375 dllFile="${D}outFile"
50377 dllFile=\`${D}renameScript ${D}outimpFile\`
50380 if [ ${D}do_backup -ne 0 ] ; then
50381 if [ -f ${D}arcFile ] ; then
50382 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50384 if [ -f ${D}arcFile2 ] ; then
50385 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50389 # Extract public symbols from all the object files.
50390 tmpdefFile=${D}{defFile}_%
50391 rm -f ${D}tmpdefFile
50392 for file in ${D}inputFiles ; do
50397 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50402 # Create the def file.
50404 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50405 dllFile="${D}{dllFile}.dll"
50406 if [ ! -z ${D}description ]; then
50407 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50409 echo "EXPORTS" >> ${D}defFile
50411 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50412 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50414 # Checks if the export is ok or not.
50415 for word in ${D}exclude_symbols; do
50416 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50417 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50421 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50422 sed "=" < ${D}tmpdefFile | \\
50426 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50428 ' > ${D}{tmpdefFile}%
50429 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50431 rm -f ${D}{tmpdefFile}%
50433 cat ${D}tmpdefFile >> ${D}defFile
50434 rm -f ${D}tmpdefFile
50436 # Do linking, create implib, and apply lxlite.
50438 for file in ${D}inputFiles ; do
50443 gccCmdl="${D}gccCmdl ${D}file"
50447 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50448 touch "${D}{outFile}.dll"
50450 doCommand "emximp -o ${D}arcFile ${D}defFile"
50451 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50453 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50456 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50458 doCommand "emxomf -s -l ${D}arcFile"
50468 powerpc
-apple-macos* | \
50469 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
50479 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50480 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50481 { (exit 1); exit 1; }; }
50484 if test "x$PIC_FLAG" != "x" ; then
50485 PIC_FLAG
="$PIC_FLAG -DPIC"
50488 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50489 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
50491 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50492 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50507 USE_SOTWOSYMLINKS
=0
50511 case "${BAKEFILE_HOST}" in
50512 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50513 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50514 if test "x$SUNCXX" = "xyes"; then
50517 SONAME_FLAG
="-Wl,-soname,"
50521 USE_SOTWOSYMLINKS
=1
50533 USE_SOTWOSYMLINKS
=1
50551 # Check whether --enable-dependency-tracking was given.
50552 if test "${enable_dependency_tracking+set}" = set; then
50553 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50557 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50558 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50561 if test "x$bk_use_trackdeps" = "xno" ; then
50563 { echo "$as_me:$LINENO: result: disabled" >&5
50564 echo "${ECHO_T}disabled" >&6; }
50568 if test "x$GCC" = "xyes"; then
50570 case "${BAKEFILE_HOST}" in
50572 DEPSFLAG
="-no-cpp-precomp -MMD"
50578 { echo "$as_me:$LINENO: result: gcc" >&5
50579 echo "${ECHO_T}gcc" >&6; }
50580 elif test "x$MWCC" = "xyes"; then
50583 { echo "$as_me:$LINENO: result: mwcc" >&5
50584 echo "${ECHO_T}mwcc" >&6; }
50585 elif test "x$SUNCC" = "xyes"; then
50588 { echo "$as_me:$LINENO: result: Sun cc" >&5
50589 echo "${ECHO_T}Sun cc" >&6; }
50590 elif test "x$SGICC" = "xyes"; then
50593 { echo "$as_me:$LINENO: result: SGI cc" >&5
50594 echo "${ECHO_T}SGI cc" >&6; }
50595 elif test "x$HPCC" = "xyes"; then
50598 { echo "$as_me:$LINENO: result: HP cc" >&5
50599 echo "${ECHO_T}HP cc" >&6; }
50600 elif test "x$COMPAQCC" = "xyes"; then
50603 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50604 echo "${ECHO_T}Compaq cc" >&6; }
50607 { echo "$as_me:$LINENO: result: none" >&5
50608 echo "${ECHO_T}none" >&6; }
50611 if test $DEPS_TRACKING = 1 ; then
50617 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50618 # script. It is used to track C/C++ files dependencies in portable way.
50620 # Permission is given to use this file in any way.
50622 DEPSMODE=${DEPSMODE}
50623 DEPSFLAG="${DEPSFLAG}"
50626 if test ${D}DEPSMODE = gcc ; then
50627 ${D}* ${D}{DEPSFLAG}
50630 # determine location of created files:
50631 while test ${D}# -gt 0; do
50645 objfilebase=\`basename ${D}objfile\`
50646 builddir=\`dirname ${D}objfile\`
50647 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50648 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50649 depsdir=${D}builddir/${D}DEPSDIRBASE
50650 mkdir -p ${D}depsdir
50652 # if the compiler failed, we're done:
50653 if test ${D}{status} != 0 ; then
50658 # move created file to the location we want it in:
50659 if test -f ${D}depfile ; then
50660 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50663 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50664 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50665 if test ! -f ${D}depfile ; then
50666 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50667 depfile="${D}objfile.d"
50669 if test -f ${D}depfile ; then
50670 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50676 elif test ${D}DEPSMODE = mwcc ; then
50677 ${D}* || exit ${D}?
50678 # Run mwcc again with -MM and redirect into the dep file we want
50679 # NOTE: We can't use shift here because we need ${D}* to be valid
50681 for arg in ${D}* ; do
50682 if test "${D}prevarg" = "-o"; then
50696 objfilebase=\`basename ${D}objfile\`
50697 builddir=\`dirname ${D}objfile\`
50698 depsdir=${D}builddir/${D}DEPSDIRBASE
50699 mkdir -p ${D}depsdir
50701 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50704 elif test ${D}DEPSMODE = unixcc; then
50705 ${D}* || exit ${D}?
50706 # Run compiler again with deps flag and redirect into the dep file.
50707 # It doesn't work if the '-o FILE' option is used, but without it the
50708 # dependency file will contain the wrong name for the object. So it is
50709 # removed from the command line, and the dep file is fixed with sed.
50711 while test ${D}# -gt 0; do
50718 eval arg${D}#=\\${D}1
50719 cmd="${D}cmd \\${D}arg${D}#"
50725 objfilebase=\`basename ${D}objfile\`
50726 builddir=\`dirname ${D}objfile\`
50727 depsdir=${D}builddir/${D}DEPSDIRBASE
50728 mkdir -p ${D}depsdir
50730 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50740 BK_DEPS
="`pwd`/bk-deps"
50748 case ${BAKEFILE_HOST} in
50749 *-*-cygwin* | *-*-mingw32* )
50750 if test -n "$ac_tool_prefix"; then
50751 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50752 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50755 if test "${ac_cv_prog_WINDRES+set}" = set; then
50756 echo $ECHO_N "(cached) $ECHO_C" >&6
50758 if test -n "$WINDRES"; then
50759 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50762 for as_dir
in $PATH
50765 test -z "$as_dir" && as_dir
=.
50766 for ac_exec_ext
in '' $ac_executable_extensions; do
50767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50768 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50778 WINDRES
=$ac_cv_prog_WINDRES
50779 if test -n "$WINDRES"; then
50780 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50781 echo "${ECHO_T}$WINDRES" >&6; }
50783 { echo "$as_me:$LINENO: result: no" >&5
50784 echo "${ECHO_T}no" >&6; }
50789 if test -z "$ac_cv_prog_WINDRES"; then
50790 ac_ct_WINDRES
=$WINDRES
50791 # Extract the first word of "windres", so it can be a program name with args.
50792 set dummy windres
; ac_word
=$2
50793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50795 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50796 echo $ECHO_N "(cached) $ECHO_C" >&6
50798 if test -n "$ac_ct_WINDRES"; then
50799 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50802 for as_dir
in $PATH
50805 test -z "$as_dir" && as_dir
=.
50806 for ac_exec_ext
in '' $ac_executable_extensions; do
50807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50808 ac_cv_prog_ac_ct_WINDRES
="windres"
50809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50818 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50819 if test -n "$ac_ct_WINDRES"; then
50820 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50821 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50823 { echo "$as_me:$LINENO: result: no" >&5
50824 echo "${ECHO_T}no" >&6; }
50827 if test "x$ac_ct_WINDRES" = x
; then
50830 case $cross_compiling:$ac_tool_warned in
50832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50833 whose name does not start with the host triplet. If you think this
50834 configuration is useful to you, please write to autoconf@gnu.org." >&5
50835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50836 whose name does not start with the host triplet. If you think this
50837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50838 ac_tool_warned
=yes ;;
50840 WINDRES
=$ac_ct_WINDRES
50843 WINDRES
="$ac_cv_prog_WINDRES"
50848 *-*-darwin* | powerpc
-apple-macos* )
50849 # Extract the first word of "Rez", so it can be a program name with args.
50850 set dummy Rez
; ac_word
=$2
50851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50853 if test "${ac_cv_prog_REZ+set}" = set; then
50854 echo $ECHO_N "(cached) $ECHO_C" >&6
50856 if test -n "$REZ"; then
50857 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50860 for as_dir
in $PATH
50863 test -z "$as_dir" && as_dir
=.
50864 for ac_exec_ext
in '' $ac_executable_extensions; do
50865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50866 ac_cv_prog_REZ
="Rez"
50867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50874 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50877 REZ
=$ac_cv_prog_REZ
50878 if test -n "$REZ"; then
50879 { echo "$as_me:$LINENO: result: $REZ" >&5
50880 echo "${ECHO_T}$REZ" >&6; }
50882 { echo "$as_me:$LINENO: result: no" >&5
50883 echo "${ECHO_T}no" >&6; }
50887 # Extract the first word of "SetFile", so it can be a program name with args.
50888 set dummy SetFile
; ac_word
=$2
50889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50891 if test "${ac_cv_prog_SETFILE+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50894 if test -n "$SETFILE"; then
50895 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50898 for as_dir
in $PATH
50901 test -z "$as_dir" && as_dir
=.
50902 for ac_exec_ext
in '' $ac_executable_extensions; do
50903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50904 ac_cv_prog_SETFILE
="SetFile"
50905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50912 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50915 SETFILE
=$ac_cv_prog_SETFILE
50916 if test -n "$SETFILE"; then
50917 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50918 echo "${ECHO_T}$SETFILE" >&6; }
50920 { echo "$as_me:$LINENO: result: no" >&5
50921 echo "${ECHO_T}no" >&6; }
50936 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50939 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50943 # Check whether --enable-precomp-headers was given.
50944 if test "${enable_precomp_headers+set}" = set; then
50945 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50954 case ${BAKEFILE_HOST} in
50960 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50961 if test "x$GCC" = "xyes"; then
50962 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50963 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50964 cat >conftest.
$ac_ext <<_ACEOF
50967 cat confdefs.h
>>conftest.
$ac_ext
50968 cat >>conftest.
$ac_ext <<_ACEOF
50969 /* end confdefs.h. */
50975 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50976 There is no PCH support
50979 There is no PCH support
50981 #if (__GNUC__ == 3) && \
50982 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50983 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50984 ( defined(__INTEL_COMPILER) )
50985 There is no PCH support
50992 rm -f conftest.
$ac_objext
50993 if { (ac_try
="$ac_compile"
50994 case "(($ac_try" in
50995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50996 *) ac_try_echo=$ac_try;;
50998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50999 (eval "$ac_compile") 2>conftest.er1
51001 grep -v '^ *+' conftest.er1 >conftest.err
51003 cat conftest.err >&5
51004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51005 (exit $ac_status); } && {
51006 test -z "$ac_c_werror_flag" ||
51007 test ! -s conftest.err
51008 } && test -s conftest.$ac_objext; then
51010 { echo "$as_me:$LINENO: result: yes" >&5
51011 echo "${ECHO_T}yes" >&6; }
51015 echo "$as_me: failed program was:" >&5
51016 sed 's/^/| /' conftest.$ac_ext >&5
51019 if test "$INTELCXX8" = "yes"; then
51020 { echo "$as_me:$LINENO: result: yes" >&5
51021 echo "${ECHO_T}yes" >&6; }
51023 if test "$INTELCXX10" = "yes"; then
51024 ICC_PCH_CREATE_SWITCH="-pch-create"
51025 ICC_PCH_USE_SWITCH="-pch-use"
51027 ICC_PCH_CREATE_SWITCH="-create-pch"
51028 ICC_PCH_USE_SWITCH="-use-pch"
51031 { echo "$as_me:$LINENO: result: no" >&5
51032 echo "${ECHO_T}no" >&6; }
51037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51038 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51042 cat <<EOF >bk-make-pch
51045 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51046 # script. It is used to generated precompiled headers.
51048 # Permission is given to use this file in any way.
51055 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
51060 while test ${D}{#} -gt 0; do
51064 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51065 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51066 headerfile="${D}{incdir}/${D}{header}"
51069 -use-pch|-use_pch|-pch-use )
51074 if test ${D}add_to_cmdline = 1 ; then
51075 compiler="${D}{compiler} ${D}{1}"
51080 if test "x${D}{headerfile}" = "x" ; then
51081 echo "error: can't find header ${D}{header} in include paths" >&2
51083 if test -f ${D}{outfile} ; then
51084 rm -f ${D}{outfile}
51086 mkdir -p \`dirname ${D}{outfile
}\
`
51088 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51089 mkdir -p ${D}{builddir}/.deps
51090 if test "x${GCC_PCH}" = "x1" ; then
51091 # can do this because gcc is >= 3.4:
51092 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51093 elif test "x${ICC_PCH}" = "x1" ; then
51094 filename=pch_gen-${D}${D}
51095 file=${D}{filename}.c
51096 dfile=${D}{filename}.d
51097 cat > ${D}file <<EOT
51098 #include "${D}header"
51100 # using -MF icc complains about differing command lines in creation/use
51101 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51102 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51103 rm -f ${D}file ${D}dfile ${D}{filename}.o
51109 chmod +x bk-make-pch
51110 BK_MAKE_PCH="`pwd`/bk-make-pch"
51121 COND_BUILD_DEBUG="#"
51122 if test "x$BUILD" = "xdebug" ; then
51123 COND_BUILD_DEBUG=""
51126 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51127 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51128 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51131 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51132 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51133 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51136 COND_BUILD_DEBUG_UNICODE_0="#"
51137 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51138 COND_BUILD_DEBUG_UNICODE_0=""
51141 COND_BUILD_DEBUG_UNICODE_1="#"
51142 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51143 COND_BUILD_DEBUG_UNICODE_1=""
51146 COND_BUILD_RELEASE="#"
51147 if test "x$BUILD" = "xrelease" ; then
51148 COND_BUILD_RELEASE=""
51151 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51152 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51153 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51156 COND_BUILD_RELEASE_UNICODE_0="#"
51157 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51158 COND_BUILD_RELEASE_UNICODE_0=""
51161 COND_BUILD_RELEASE_UNICODE_1="#"
51162 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51163 COND_BUILD_RELEASE_UNICODE_1=""
51166 COND_BUILD_debug="#"
51167 if test "x$BUILD" = "xdebug" ; then
51168 COND_BUILD_debug=""
51171 COND_BUILD_debug_DEBUG_FLAG_default="#"
51172 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51173 COND_BUILD_debug_DEBUG_FLAG_default=""
51176 COND_BUILD_debug_DEBUG_INFO_default="#"
51177 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51178 COND_BUILD_debug_DEBUG_INFO_default=""
51181 COND_BUILD_debug_UNICODE_0="#"
51182 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51183 COND_BUILD_debug_UNICODE_0=""
51186 COND_BUILD_debug_UNICODE_1="#"
51187 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51188 COND_BUILD_debug_UNICODE_1=""
51191 COND_BUILD_release="#"
51192 if test "x$BUILD" = "xrelease" ; then
51193 COND_BUILD_release=""
51196 COND_BUILD_release_DEBUG_INFO_default="#"
51197 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51198 COND_BUILD_release_DEBUG_INFO_default=""
51201 COND_BUILD_release_UNICODE_0="#"
51202 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51203 COND_BUILD_release_UNICODE_0=""
51206 COND_BUILD_release_UNICODE_1="#"
51207 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51208 COND_BUILD_release_UNICODE_1=""
51211 COND_DEBUG_FLAG_0="#"
51212 if test "x$DEBUG_FLAG" = "x0" ; then
51213 COND_DEBUG_FLAG_0=""
51216 COND_DEBUG_FLAG_1="#"
51217 if test "x$DEBUG_FLAG" = "x1" ; then
51218 COND_DEBUG_FLAG_1=""
51221 COND_DEBUG_INFO_0="#"
51222 if test "x$DEBUG_INFO" = "x0" ; then
51223 COND_DEBUG_INFO_0=""
51226 COND_DEBUG_INFO_1="#"
51227 if test "x$DEBUG_INFO" = "x1" ; then
51228 COND_DEBUG_INFO_1=""
51231 COND_DEPS_TRACKING_0="#"
51232 if test "x$DEPS_TRACKING" = "x0" ; then
51233 COND_DEPS_TRACKING_0=""
51236 COND_DEPS_TRACKING_1="#"
51237 if test "x$DEPS_TRACKING" = "x1" ; then
51238 COND_DEPS_TRACKING_1=""
51242 if test "x$GCC_PCH" = "x1" ; then
51247 if test "x$ICC_PCH" = "x1" ; then
51251 COND_MONOLITHIC_0="#"
51252 if test "x$MONOLITHIC" = "x0" ; then
51253 COND_MONOLITHIC_0=""
51256 COND_MONOLITHIC_0_SHARED_0="#"
51257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51258 COND_MONOLITHIC_0_SHARED_0=""
51261 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51263 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51276 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51281 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51283 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51286 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51288 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51291 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51293 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51296 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51298 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51301 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51303 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51306 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51308 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51311 COND_MONOLITHIC_0_SHARED_1="#"
51312 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51313 COND_MONOLITHIC_0_SHARED_1=""
51316 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51317 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51318 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51321 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51326 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51328 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51331 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51333 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51336 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51338 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51341 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51343 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51346 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51348 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51351 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51353 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51356 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51358 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51361 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51363 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51366 COND_MONOLITHIC_0_USE_AUI_1="#"
51367 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51368 COND_MONOLITHIC_0_USE_AUI_1=""
51371 COND_MONOLITHIC_0_USE_GUI_1="#"
51372 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51373 COND_MONOLITHIC_0_USE_GUI_1=""
51376 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51377 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51378 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51381 COND_MONOLITHIC_0_USE_HTML_1="#"
51382 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51383 COND_MONOLITHIC_0_USE_HTML_1=""
51386 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51387 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51388 COND_MONOLITHIC_0_USE_MEDIA_1=""
51391 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51392 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51393 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51396 COND_MONOLITHIC_0_USE_QA_1="#"
51397 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51398 COND_MONOLITHIC_0_USE_QA_1=""
51401 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51402 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51403 COND_MONOLITHIC_0_USE_RIBBON_1=""
51406 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51407 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51408 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51411 COND_MONOLITHIC_0_USE_STC_1="#"
51412 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51413 COND_MONOLITHIC_0_USE_STC_1=""
51416 COND_MONOLITHIC_0_USE_XRC_1="#"
51417 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51418 COND_MONOLITHIC_0_USE_XRC_1=""
51421 COND_MONOLITHIC_1="#"
51422 if test "x$MONOLITHIC" = "x1" ; then
51423 COND_MONOLITHIC_1=""
51426 COND_MONOLITHIC_1_SHARED_0="#"
51427 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51428 COND_MONOLITHIC_1_SHARED_0=""
51431 COND_MONOLITHIC_1_SHARED_1="#"
51432 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51433 COND_MONOLITHIC_1_SHARED_1=""
51436 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51437 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51438 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51441 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51442 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51443 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51446 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51447 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51448 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51451 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51452 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51453 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51456 COND_PLATFORM_MACOSX_1="#"
51457 if test "x$PLATFORM_MACOSX" = "x1" ; then
51458 COND_PLATFORM_MACOSX_1=""
51461 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51463 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51466 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51468 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51471 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51473 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51476 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51478 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51481 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51483 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51486 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51488 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51491 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51493 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51496 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51498 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51501 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51503 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51506 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51508 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51516 COND_PLATFORM_MACOS_1="#"
51517 if test "x$PLATFORM_MACOS" = "x1" ; then
51518 COND_PLATFORM_MACOS_1=""
51521 COND_PLATFORM_MAC_0="#"
51522 if test "x$PLATFORM_MAC" = "x0" ; then
51523 COND_PLATFORM_MAC_0=""
51526 COND_PLATFORM_MAC_1="#"
51527 if test "x$PLATFORM_MAC" = "x1" ; then
51528 COND_PLATFORM_MAC_1=""
51531 COND_PLATFORM_MSDOS_0="#"
51532 if test "x$PLATFORM_MSDOS" = "x0" ; then
51533 COND_PLATFORM_MSDOS_0=""
51536 COND_PLATFORM_MSDOS_1="#"
51537 if test "x$PLATFORM_MSDOS" = "x1" ; then
51538 COND_PLATFORM_MSDOS_1=""
51541 COND_PLATFORM_OS2_1="#"
51542 if test "x$PLATFORM_OS2" = "x1" ; then
51543 COND_PLATFORM_OS2_1=""
51546 COND_PLATFORM_UNIX_0="#"
51547 if test "x$PLATFORM_UNIX" = "x0" ; then
51548 COND_PLATFORM_UNIX_0=""
51551 COND_PLATFORM_UNIX_1="#"
51552 if test "x$PLATFORM_UNIX" = "x1" ; then
51553 COND_PLATFORM_UNIX_1=""
51556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51557 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51558 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51561 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51562 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51563 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51566 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51567 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51568 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51571 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51572 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51573 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51576 COND_PLATFORM_WIN32_0="#"
51577 if test "x$PLATFORM_WIN32" = "x0" ; then
51578 COND_PLATFORM_WIN32_0=""
51581 COND_PLATFORM_WIN32_1="#"
51582 if test "x$PLATFORM_WIN32" = "x1" ; then
51583 COND_PLATFORM_WIN32_1=""
51586 COND_PLATFORM_WIN32_1_SHARED_0="#"
51587 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51588 COND_PLATFORM_WIN32_1_SHARED_0=""
51592 if test "x$SHARED" = "x0" ; then
51596 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51598 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51601 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51602 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51603 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51606 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51607 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51608 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51611 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51613 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51616 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51618 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51621 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51622 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51623 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51626 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51627 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51628 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51631 COND_SHARED_0_USE_STC_1="#"
51632 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51633 COND_SHARED_0_USE_STC_1=""
51636 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51637 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51638 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51641 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51642 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51643 COND_SHARED_0_wxUSE_REGEX_builtin=""
51646 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51647 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51648 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51652 if test "x$SHARED" = "x1" ; then
51656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51657 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51658 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51662 if test "x$TOOLKIT" = "x" ; then
51666 COND_TOOLKIT_COCOA="#"
51667 if test "x$TOOLKIT" = "xCOCOA" ; then
51668 COND_TOOLKIT_COCOA=""
51671 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51673 COND_TOOLKIT_COCOA_USE_GUI_1=""
51676 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51677 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51681 COND_TOOLKIT_DFB="#"
51682 if test "x$TOOLKIT" = "xDFB" ; then
51683 COND_TOOLKIT_DFB=""
51686 COND_TOOLKIT_DFB_USE_GUI_1="#"
51687 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51688 COND_TOOLKIT_DFB_USE_GUI_1=""
51691 COND_TOOLKIT_GTK="#"
51692 if test "x$TOOLKIT" = "xGTK" ; then
51693 COND_TOOLKIT_GTK=""
51696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51713 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51722 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51726 COND_TOOLKIT_GTK_USE_GUI_1="#"
51727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51728 COND_TOOLKIT_GTK_USE_GUI_1=""
51731 COND_TOOLKIT_MAC="#"
51732 if test "x$TOOLKIT" = "xMAC" ; then
51733 COND_TOOLKIT_MAC=""
51736 COND_TOOLKIT_MGL="#"
51737 if test "x$TOOLKIT" = "xMGL" ; then
51738 COND_TOOLKIT_MGL=""
51741 COND_TOOLKIT_MGL_USE_GUI_1="#"
51742 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51743 COND_TOOLKIT_MGL_USE_GUI_1=""
51746 COND_TOOLKIT_MOTIF="#"
51747 if test "x$TOOLKIT" = "xMOTIF" ; then
51748 COND_TOOLKIT_MOTIF=""
51751 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51752 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51753 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51756 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51757 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51758 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51761 COND_TOOLKIT_MSW="#"
51762 if test "x$TOOLKIT" = "xMSW" ; then
51763 COND_TOOLKIT_MSW=""
51766 COND_TOOLKIT_MSW_USE_GUI_1="#"
51767 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51768 COND_TOOLKIT_MSW_USE_GUI_1=""
51771 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51772 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51773 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51776 COND_TOOLKIT_MSW_WXUNIV_0="#"
51777 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51778 COND_TOOLKIT_MSW_WXUNIV_0=""
51781 COND_TOOLKIT_OSX_CARBON="#"
51782 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51783 COND_TOOLKIT_OSX_CARBON=""
51786 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51787 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51788 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51791 COND_TOOLKIT_OSX_COCOA="#"
51792 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51793 COND_TOOLKIT_OSX_COCOA=""
51796 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51797 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51798 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51801 COND_TOOLKIT_OSX_IPHONE="#"
51802 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51803 COND_TOOLKIT_OSX_IPHONE=""
51806 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51807 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51808 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51811 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51812 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51813 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51816 COND_TOOLKIT_PM="#"
51817 if test "x$TOOLKIT" = "xPM" ; then
51821 COND_TOOLKIT_PM_USE_GUI_1="#"
51822 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51823 COND_TOOLKIT_PM_USE_GUI_1=""
51826 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51827 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51828 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51831 COND_TOOLKIT_WINCE="#"
51832 if test "x$TOOLKIT" = "xWINCE" ; then
51833 COND_TOOLKIT_WINCE=""
51836 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51837 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51838 COND_TOOLKIT_WINCE_USE_GUI_1=""
51841 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51842 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51843 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51846 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51847 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51848 COND_TOOLKIT_WINCE_WXUNIV_0=""
51851 COND_TOOLKIT_X11="#"
51852 if test "x$TOOLKIT" = "xX11" ; then
51853 COND_TOOLKIT_X11=""
51856 COND_TOOLKIT_X11_USE_GUI_1="#"
51857 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51858 COND_TOOLKIT_X11_USE_GUI_1=""
51862 if test "x$UNICODE" = "x1" ; then
51866 COND_USE_CAIRO_1="#"
51867 if test "x$USE_CAIRO" = "x1" ; then
51868 COND_USE_CAIRO_1=""
51871 COND_USE_EXCEPTIONS_0="#"
51872 if test "x$USE_EXCEPTIONS" = "x0" ; then
51873 COND_USE_EXCEPTIONS_0=""
51876 COND_USE_EXCEPTIONS_1="#"
51877 if test "x$USE_EXCEPTIONS" = "x1" ; then
51878 COND_USE_EXCEPTIONS_1=""
51882 if test "x$USE_GUI" = "x0" ; then
51887 if test "x$USE_GUI" = "x1" ; then
51891 COND_USE_GUI_1_USE_OPENGL_1="#"
51892 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51893 COND_USE_GUI_1_USE_OPENGL_1=""
51896 COND_USE_GUI_1_WXUNIV_0="#"
51897 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51898 COND_USE_GUI_1_WXUNIV_0=""
51901 COND_USE_GUI_1_WXUNIV_1="#"
51902 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51903 COND_USE_GUI_1_WXUNIV_1=""
51906 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51907 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51908 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51911 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51912 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51913 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51916 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51917 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51918 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51921 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51922 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51923 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51926 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51927 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51928 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51931 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51932 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51933 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51936 COND_USE_OPENGL_1="#"
51937 if test "x$USE_OPENGL" = "x1" ; then
51938 COND_USE_OPENGL_1=""
51942 if test "x$USE_PCH" = "x1" ; then
51946 COND_USE_PLUGINS_0="#"
51947 if test "x$USE_PLUGINS" = "x0" ; then
51948 COND_USE_PLUGINS_0=""
51951 COND_USE_RTTI_0="#"
51952 if test "x$USE_RTTI" = "x0" ; then
51956 COND_USE_RTTI_1="#"
51957 if test "x$USE_RTTI" = "x1" ; then
51961 COND_USE_SOTWOSYMLINKS_1="#"
51962 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51963 COND_USE_SOTWOSYMLINKS_1=""
51966 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51967 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51968 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51971 COND_USE_SOVERLINUX_1="#"
51972 if test "x$USE_SOVERLINUX" = "x1" ; then
51973 COND_USE_SOVERLINUX_1=""
51976 COND_USE_SOVERSION_0="#"
51977 if test "x$USE_SOVERSION" = "x0" ; then
51978 COND_USE_SOVERSION_0=""
51981 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51982 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51983 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51986 COND_USE_SOVERSOLARIS_1="#"
51987 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51988 COND_USE_SOVERSOLARIS_1=""
51992 if test "x$USE_STC" = "x1" ; then
51996 COND_USE_THREADS_0="#"
51997 if test "x$USE_THREADS" = "x0" ; then
51998 COND_USE_THREADS_0=""
52001 COND_USE_THREADS_1="#"
52002 if test "x$USE_THREADS" = "x1" ; then
52003 COND_USE_THREADS_1=""
52007 if test "x$USE_XRC" = "x1" ; then
52011 COND_WINDOWS_IMPLIB_1="#"
52012 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52013 COND_WINDOWS_IMPLIB_1=""
52016 COND_WITH_PLUGIN_SDL_1="#"
52017 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52018 COND_WITH_PLUGIN_SDL_1=""
52022 if test "x$WXUNIV" = "x0" ; then
52027 if test "x$WXUNIV" = "x1" ; then
52031 COND_WXUSE_EXPAT_BUILTIN="#"
52032 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52033 COND_WXUSE_EXPAT_BUILTIN=""
52036 COND_WXUSE_LIBJPEG_BUILTIN="#"
52037 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52038 COND_WXUSE_LIBJPEG_BUILTIN=""
52041 COND_WXUSE_LIBPNG_BUILTIN="#"
52042 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52043 COND_WXUSE_LIBPNG_BUILTIN=""
52046 COND_WXUSE_LIBTIFF_BUILTIN="#"
52047 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52048 COND_WXUSE_LIBTIFF_BUILTIN=""
52051 COND_WXUSE_REGEX_BUILTIN="#"
52052 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52053 COND_WXUSE_REGEX_BUILTIN=""
52056 COND_WXUSE_ZLIB_BUILTIN="#"
52057 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52058 COND_WXUSE_ZLIB_BUILTIN=""
52061 COND_wxUSE_EXPAT_builtin="#"
52062 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52063 COND_wxUSE_EXPAT_builtin=""
52066 COND_wxUSE_LIBJPEG_builtin="#"
52067 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52068 COND_wxUSE_LIBJPEG_builtin=""
52071 COND_wxUSE_LIBPNG_builtin="#"
52072 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52073 COND_wxUSE_LIBPNG_builtin=""
52076 COND_wxUSE_LIBTIFF_builtin="#"
52077 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52078 COND_wxUSE_LIBTIFF_builtin=""
52081 COND_wxUSE_REGEX_builtin="#"
52082 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52083 COND_wxUSE_REGEX_builtin=""
52086 COND_wxUSE_ZLIB_builtin="#"
52087 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52088 COND_wxUSE_ZLIB_builtin=""
52093 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52094 { { 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
52095 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;}
52096 { (exit 1); exit 1; }; }
52099 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52100 { { 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
52101 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;}
52102 { (exit 1); exit 1; }; }
52109 ?:* ) # Drive letter, considered as absolute.
52112 INSTALL=`pwd`/${INSTALL} ;;
52115 if test "$wxUSE_GUI" = "yes"; then
52117 if test "$wxUSE_MSW" = 1 ; then
52118 if test "x$WINDRES" = "x"; then
52119 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52120 echo "$as_me: error: Required windres program not found" >&2;}
52121 { (exit 1); exit 1; }; }
52124 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52127 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52128 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52129 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52131 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52133 # Extract the first word of "DeRez", so it can be a program name with args.
52134 set dummy DeRez; ac_word=$2
52135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52137 if test "${ac_cv_prog_DEREZ+set}" = set; then
52138 echo $ECHO_N "(cached) $ECHO_C" >&6
52140 if test -n "$DEREZ"; then
52141 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52144 for as_dir in $PATH
52147 test -z "$as_dir" && as_dir=.
52148 for ac_exec_ext in '' $ac_executable_extensions; do
52149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52150 ac_cv_prog_DEREZ="DeRez"
52151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52158 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52161 DEREZ=$ac_cv_prog_DEREZ
52162 if test -n "$DEREZ"; then
52163 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52164 echo "${ECHO_T}$DEREZ" >&6; }
52166 { echo "$as_me:$LINENO: result: no" >&5
52167 echo "${ECHO_T}no" >&6; }
52172 MACSETFILE="\$(SETFILE)"
52174 if test "$wxUSE_OSX_CARBON" = 1; then
52175 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52177 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52179 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52180 RESCOMP="cat /dev/null \| $REZ"
52181 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52187 if test "$wxUSE_PM" = 1; then
52189 WXCONFIG_RESFLAGS="-ep"
52191 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52193 POSTLINK_COMMAND="@true"
52200 if test $GCC_PCH = 1
52202 if test "$wx_cv_gcc_pch_bug" = yes; then
52203 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52204 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52205 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52206 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52207 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52208 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52211 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52212 # the headers that benefit from precompilation are mostly C++ headers.
52213 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52214 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52215 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52219 if test "$wxUSE_MAC" = 1 ; then
52220 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52221 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52227 if test "$wxUSE_SHARED" = "yes"; then
52229 *-pc-os2_emx | *-pc-os2-emx )
52230 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52231 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52232 cp -p ${srcdir}/src/os2/dllnames.sh .
52233 cp -p ${srcdir}/src/os2/dllar.sh .
52237 if test "$wxUSE_OMF" = "yes"; then
52239 *-pc-os2_emx | *-pc-os2-emx )
52240 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52241 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52242 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52247 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52252 if test "$GCC" = yes; then
52253 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52254 LIBS=`echo $LIBS | sed 's/-mt//'`
52255 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52260 if test "x$SUNCXX" = xyes; then
52261 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52262 LIBS=`echo $LIBS | sed 's/-pthread//'`
52263 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52268 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52269 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52270 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52271 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52273 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52334 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52335 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52336 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52337 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52338 echo $ECHO_N "(cached) $ECHO_C" >&6
52340 cat >conftest.make <<\_ACEOF
52343 @echo '@@@%%%=$(MAKE)=@@@%%%'
52345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52346 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52347 *@@@%%%=?*=@@@%%%*)
52348 eval ac_cv_prog_make_${ac_make}_set=yes;;
52350 eval ac_cv_prog_make_${ac_make}_set=no;;
52352 rm -f conftest.make
52354 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52355 { echo "$as_me:$LINENO: result: yes" >&5
52356 echo "${ECHO_T}yes" >&6; }
52359 { echo "$as_me:$LINENO: result: no" >&5
52360 echo "${ECHO_T}no" >&6; }
52361 SET_MAKE="MAKE=${MAKE-make}"
52366 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52369 if test "$USE_WIN32" = 1; then
52370 ac_config_commands="$ac_config_commands rcdefs.h"
52374 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52377 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52380 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52383 if test "$wx_cv_version_script" = "yes"; then
52384 ac_config_files="$ac_config_files version-script"
52387 ac_config_files="$ac_config_files Makefile"
52390 ac_config_commands="$ac_config_commands wx-config"
52394 if test "$wxWITH_SUBDIRS" != "no"; then
52395 if test "$wxUSE_GUI" = "yes"; then
52396 SUBDIRS="samples demos utils"
52398 SUBDIRS="samples utils"
52403 # Check whether --with-cppunit-prefix was given.
52404 if test "${with_cppunit_prefix+set}" = set; then
52405 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52407 cppunit_config_prefix=""
52411 # Check whether --with-cppunit-exec-prefix was given.
52412 if test "${with_cppunit_exec_prefix+set}" = set; then
52413 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52415 cppunit_config_exec_prefix=""
52419 if test x$cppunit_config_exec_prefix != x ; then
52420 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52421 if test x${CPPUNIT_CONFIG+set} != xset ; then
52422 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52425 if test x$cppunit_config_prefix != x ; then
52426 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52427 if test x${CPPUNIT_CONFIG+set} != xset ; then
52428 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52432 # Extract the first word of "cppunit-config", so it can be a program name with args.
52433 set dummy cppunit-config; ac_word=$2
52434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52436 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52437 echo $ECHO_N "(cached) $ECHO_C" >&6
52439 case $CPPUNIT_CONFIG in
52441 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52445 for as_dir in $PATH
52448 test -z "$as_dir" && as_dir=.
52449 for ac_exec_ext in '' $ac_executable_extensions; do
52450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52451 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52459 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52463 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52464 if test -n "$CPPUNIT_CONFIG"; then
52465 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52466 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52468 { echo "$as_me:$LINENO: result: no" >&5
52469 echo "${ECHO_T}no" >&6; }
52473 cppunit_version_min=1.8.0
52475 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52476 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52478 if test "$CPPUNIT_CONFIG" = "no" ; then
52479 { echo "$as_me:$LINENO: result: no" >&5
52480 echo "${ECHO_T}no" >&6; }
52483 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52484 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52485 cppunit_version=`$CPPUNIT_CONFIG --version`
52487 cppunit_major_version=`echo $cppunit_version | \
52488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52489 cppunit_minor_version=`echo $cppunit_version | \
52490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52491 cppunit_micro_version=`echo $cppunit_version | \
52492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52494 cppunit_major_min=`echo $cppunit_version_min | \
52495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52496 cppunit_minor_min=`echo $cppunit_version_min | \
52497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52498 cppunit_micro_min=`echo $cppunit_version_min | \
52499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52501 cppunit_version_proper=`expr \
52502 $cppunit_major_version \
> $cppunit_major_min \
| \
52503 $cppunit_major_version \
= $cppunit_major_min \
& \
52504 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52505 $cppunit_major_version \
= $cppunit_major_min \
& \
52506 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52507 $cppunit_micro_version \
>= $cppunit_micro_min `
52509 if test "$cppunit_version_proper" = "1" ; then
52510 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52511 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52513 { echo "$as_me:$LINENO: result: no" >&5
52514 echo "${ECHO_T}no" >&6; }
52519 if test "x$no_cppunit" = x ; then
52520 SUBDIRS="$SUBDIRS tests"
52531 for subdir in $SUBDIRS; do
52532 if test -d ${srcdir}/${subdir} ; then
52533 if test "$wxUSE_GUI" = "yes"; then
52534 if test ${subdir} = "samples"; then
52535 makefiles="samples/Makefile.in $makefiles"
52536 for sample in $SAMPLES_SUBDIRS; do
52537 if test -d $srcdir/samples/$sample; then
52538 makefiles="samples/$sample/Makefile.in $makefiles"
52542 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52543 eval "disabled=\$$disabled_var"
52544 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52545 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52548 if test ${subdir} = "samples"; then
52549 makefiles="samples/Makefile.in $makefiles"
52550 for sample in `echo $SAMPLES_SUBDIRS`; do
52551 if test -d $srcdir/samples/$sample; then
52552 makefiles="samples/$sample/Makefile.in $makefiles"
52555 elif test ${subdir} = "utils"; then
52557 for util in ifacecheck ; do
52558 if test -d $srcdir/utils/$util ; then
52559 makefiles="utils/$util/src/Makefile.in \
52564 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52568 for mkin in $makefiles ; do
52569 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52570 ac_config_files="$ac_config_files $mk"
52576 cat >confcache <<\_ACEOF
52577 # This file is a shell script that caches the results of configure
52578 # tests run on this system so they can be shared between configure
52579 # scripts and configure runs, see configure's option --config-cache.
52580 # It is not useful on other systems. If it contains results you don't
52581 # want to keep, you may remove or edit it.
52583 # config.status only pays attention to the cache file if you give it
52584 # the --recheck option to rerun configure.
52586 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52588 # following values.
52592 # The following way of writing the cache mishandles newlines in values,
52593 # but we know of no workaround that is simple, portable, and efficient.
52594 # So, we kill variables containing newlines.
52595 # Ultrix sh set writes to stderr and can't be redirected directly,
52596 # and sets the high bit in the cache file unless we assign to the vars.
52598 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52599 eval ac_val
=\$
$ac_var
52603 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52604 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52607 _
| IFS
| as_nl
) ;; #(
52608 *) $as_unset $ac_var ;;
52614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52615 *${as_nl}ac_space
=\
*)
52616 # `set' does not quote correctly, so add quotes (double-quote
52617 # substitution turns \\\\ into \\, and sed turns \\ into \).
52620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52623 # `set' quotes correctly as required by POSIX, so do not add quotes.
52624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52637 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52638 if test -w "$cache_file"; then
52639 test "x$cache_file" != "x/dev/null" &&
52640 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52641 echo "$as_me: updating cache $cache_file" >&6;}
52642 cat confcache
>$cache_file
52644 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52645 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52650 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52651 # Let make expand exec_prefix.
52652 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52654 DEFS
=-DHAVE_CONFIG_H
52658 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52659 # 1. Remove the extension, and $U if already installed.
52660 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52661 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52663 # will be set to the directory where LIBOBJS objects are built.
52664 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52665 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52667 LIBOBJS
=$ac_libobjs
52669 LTLIBOBJS
=$ac_ltlibobjs
52673 : ${CONFIG_STATUS=./config.status}
52674 ac_clean_files_save
=$ac_clean_files
52675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52678 cat >$CONFIG_STATUS <<_ACEOF
52680 # Generated by $as_me.
52681 # Run this file to recreate the current configuration.
52682 # Compiler output produced by configure, useful for debugging
52683 # configure, is in config.log if it exists.
52686 ac_cs_recheck=false
52688 SHELL=\${CONFIG_SHELL-$SHELL}
52691 cat >>$CONFIG_STATUS <<\_ACEOF
52692 ## --------------------- ##
52693 ## M4sh Initialization. ##
52694 ## --------------------- ##
52696 # Be more Bourne compatible
52697 DUALCASE
=1; export DUALCASE
# for MKS sh
52698 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52701 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52702 # is contrary to our usage. Disable this feature.
52703 alias -g '${1+"$@"}'='"$@"'
52704 setopt NO_GLOB_SUBST
52706 case `(set -o) 2>/dev/null` in
52707 *posix
*) set -o posix
;;
52716 # Avoid depending upon Character Ranges.
52717 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52718 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52719 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52720 as_cr_digits
='0123456789'
52721 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52723 # The user is always right.
52724 if test "${PATH_SEPARATOR+set}" != set; then
52725 echo "#! /bin/sh" >conf$$.sh
52726 echo "exit 0" >>conf$$.sh
52728 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52736 # Support unset when possible.
52737 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52745 # We need space, tab and new line, in precisely that order. Quoting is
52746 # there to prevent editors from complaining about space-tab.
52747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52748 # splitting by setting IFS to empty value.)
52753 # Find who we are. Look in the path if we contain no directory separator.
52755 *[\\/]* ) as_myself
=$0 ;;
52756 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52757 for as_dir
in $PATH
52760 test -z "$as_dir" && as_dir
=.
52761 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52767 # We did not find ourselves, most probably we were run as `sh COMMAND'
52768 # in which case we are not to be found in the path.
52769 if test "x$as_myself" = x
; then
52772 if test ! -f "$as_myself"; then
52773 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52774 { (exit 1); exit 1; }
52777 # Work around bugs in pre-3.0 UWIN ksh.
52778 for as_var
in ENV MAIL MAILPATH
52779 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52789 LC_TELEPHONE LC_TIME
52791 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52792 eval $as_var=C
; export $as_var
52794 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52798 # Required to use basename.
52799 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52800 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52806 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52807 as_basename
=basename
52813 # Name of the executable.
52814 as_me
=`$as_basename -- "$0" ||
52815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52816 X"$0" : 'X\(//\)$' \| \
52817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52819 sed '/^.*\/\([^/][^/]*\)\/*$/{
52838 as_lineno_1
=$LINENO
52839 as_lineno_2
=$LINENO
52840 test "x$as_lineno_1" != "x$as_lineno_2" &&
52841 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52843 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52844 # uniformly replaced by the line number. The first 'sed' inserts a
52845 # line-number line after each line using $LINENO; the second 'sed'
52846 # does the real work. The second script uses 'N' to pair each
52847 # line-number line with the line containing $LINENO, and appends
52848 # trailing '-' during substitution so that $LINENO is not a special
52849 # case at line end.
52850 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52851 # scripts with optimization help from Paolo Bonzini. Blame Lee
52852 # E. McMahon (1931-1989) for sed's syntax. :-)
52864 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52867 ' >$as_me.lineno
&&
52868 chmod +x
"$as_me.lineno" ||
52869 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52870 { (exit 1); exit 1; }; }
52872 # Don't try to exec as it changes $[0], causing all sort of problems
52873 # (the dirname of $[0] is not the place where we might find the
52874 # original and so on. Autoconf is especially sensitive to this).
52875 .
"./$as_me.lineno"
52876 # Exit status is that of the last command.
52881 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52887 ECHO_C
= ECHO_N
= ECHO_T
=
52888 case `echo -n x` in
52890 case `echo 'x\c'` in
52891 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52898 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52899 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52905 rm -f conf$$ conf$$.exe conf$$.
file
52906 if test -d conf$$.dir
; then
52907 rm -f conf$$.dir
/conf$$.
file
52913 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52915 # ... but there are two gotchas:
52916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52918 # In both cases, we have to default to `cp -p'.
52919 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52921 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52926 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52927 rmdir conf$$.dir
2>/dev
/null
52929 if mkdir -p .
2>/dev
/null
; then
52932 test -d .
/-p && rmdir .
/-p
52936 if test -x / >/dev
/null
2>&1; then
52937 as_test_x
='test -x'
52939 if ls -dL / >/dev
/null
2>&1; then
52946 if test -d "$1"; then
52952 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52953 ???[sx]*):;;*)false;;esac;fi
52957 as_executable_p
=$as_test_x
52959 # Sed expression to map a string onto a valid CPP name.
52960 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52962 # Sed expression to map a string onto a valid variable name.
52963 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52968 # Save the log message, to keep $[0] and so on meaningful, and to
52969 # report actual input values of CONFIG_FILES etc. instead of their
52970 # values after options handling.
52972 This file was extended by wxWidgets $as_me 2.9.2, which was
52973 generated by GNU Autoconf 2.61. Invocation command line was
52975 CONFIG_FILES = $CONFIG_FILES
52976 CONFIG_HEADERS = $CONFIG_HEADERS
52977 CONFIG_LINKS = $CONFIG_LINKS
52978 CONFIG_COMMANDS = $CONFIG_COMMANDS
52981 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52986 cat >>$CONFIG_STATUS <<_ACEOF
52987 # Files that config.status was made for.
52988 config_files="$ac_config_files"
52989 config_headers="$ac_config_headers"
52990 config_commands="$ac_config_commands"
52994 cat >>$CONFIG_STATUS <<\_ACEOF
52996 \`$as_me' instantiates files from templates according to the
52997 current configuration.
52999 Usage: $0 [OPTIONS] [FILE]...
53001 -h, --help print this help, then exit
53002 -V, --version print version number and configuration settings, then exit
53003 -q, --quiet do not print progress messages
53004 -d, --debug don't remove temporary files
53005 --recheck update $as_me by reconfiguring in the same conditions
53006 --file=FILE[:TEMPLATE]
53007 instantiate the configuration file FILE
53008 --header=FILE[:TEMPLATE]
53009 instantiate the configuration header FILE
53011 Configuration files:
53014 Configuration headers:
53017 Configuration commands:
53020 Report bugs to <bug-autoconf@gnu.org>."
53023 cat >>$CONFIG_STATUS <<_ACEOF
53025 wxWidgets config.status 2.9.2
53026 configured by $0, generated by GNU Autoconf 2.61,
53027 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53029 Copyright (C) 2006 Free Software Foundation, Inc.
53030 This config.status script is free software; the Free Software Foundation
53031 gives unlimited permission to copy, distribute and modify it."
53038 cat >>$CONFIG_STATUS <<\_ACEOF
53039 # If no file are specified by the user, then we need to provide default
53040 # value. By we need to know if files were specified by the user.
53046 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53047 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53058 # Handling of the options.
53059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53062 echo "$ac_cs_version"; exit ;;
53063 --debug | --debu | --deb | --de | --d | -d )
53065 --file | --fil | --fi | --f )
53067 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53068 ac_need_defaults
=false
;;
53069 --header | --heade | --head | --hea )
53071 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53072 ac_need_defaults
=false
;;
53074 # Conflict between --help and --header
53075 { echo "$as_me: error: ambiguous option: $1
53076 Try \`$0 --help' for more information." >&2
53077 { (exit 1); exit 1; }; };;
53078 --help | --hel | -h )
53079 echo "$ac_cs_usage"; exit ;;
53080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53081 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53084 # This is an error.
53085 -*) { echo "$as_me: error: unrecognized option: $1
53086 Try \`$0 --help' for more information." >&2
53087 { (exit 1); exit 1; }; } ;;
53089 *) ac_config_targets
="$ac_config_targets $1"
53090 ac_need_defaults
=false
;;
53096 ac_configure_extra_args
=
53098 if $ac_cs_silent; then
53100 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53104 cat >>$CONFIG_STATUS <<_ACEOF
53105 if \$ac_cs_recheck; then
53106 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53107 CONFIG_SHELL=$SHELL
53108 export CONFIG_SHELL
53109 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53113 cat >>$CONFIG_STATUS <<\_ACEOF
53117 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53118 ## Running $as_me. ##
53124 cat >>$CONFIG_STATUS <<_ACEOF
53130 infile="$srcdir/include/wx/msw/genrcdefs.h"
53131 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53134 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53135 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53136 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53142 cat >>$CONFIG_STATUS <<\_ACEOF
53144 # Handling of arguments.
53145 for ac_config_target
in $ac_config_targets
53147 case $ac_config_target in
53148 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53149 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53150 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53151 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53152 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53153 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53154 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53155 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53156 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53158 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53159 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53160 { (exit 1); exit 1; }; };;
53165 # If the user did not use the arguments to specify the items to instantiate,
53166 # then the envvar interface is used. Set only those that are not.
53167 # We use the long form for the default assignment because of an extremely
53168 # bizarre bug on SunOS 4.1.3.
53169 if $ac_need_defaults; then
53170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53175 # Have a temporary directory for convenience. Make it in the build tree
53176 # simply because there is no reason against having it here, and in addition,
53177 # creating and moving files from /tmp can sometimes cause problems.
53178 # Hook for its removal unless debugging.
53179 # Note that there is a small window in which the directory will not be cleaned:
53180 # after its creation but before its name has been assigned to `$tmp'.
53184 trap 'exit_status=$?
53185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53187 trap '{ (exit 1); exit 1; }' 1 2 13 15
53189 # Create a (secure) tmp directory for tmp files.
53192 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53193 test -n "$tmp" && test -d "$tmp"
53196 tmp
=.
/conf$$
-$RANDOM
53197 (umask 077 && mkdir "$tmp")
53200 echo "$me: cannot create a temporary directory in ." >&2
53201 { (exit 1); exit 1; }
53205 # Set up the sed scripts for CONFIG_FILES section.
53208 # No need to generate the scripts if there are no CONFIG_FILES.
53209 # This happens for instance when ./config.status config.h
53210 if test -n "$CONFIG_FILES"; then
53217 for ac_last_try
in false false false false false
:; do
53218 cat >conf$
$subs.
sed <<_ACEOF
53219 SHELL!$SHELL$ac_delim
53220 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53221 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53222 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53223 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53224 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53225 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53226 exec_prefix!$exec_prefix$ac_delim
53227 prefix!$prefix$ac_delim
53228 program_transform_name!$program_transform_name$ac_delim
53229 bindir!$bindir$ac_delim
53230 sbindir!$sbindir$ac_delim
53231 libexecdir!$libexecdir$ac_delim
53232 datarootdir!$datarootdir$ac_delim
53233 datadir!$datadir$ac_delim
53234 sysconfdir!$sysconfdir$ac_delim
53235 sharedstatedir!$sharedstatedir$ac_delim
53236 localstatedir!$localstatedir$ac_delim
53237 includedir!$includedir$ac_delim
53238 oldincludedir!$oldincludedir$ac_delim
53239 docdir!$docdir$ac_delim
53240 infodir!$infodir$ac_delim
53241 htmldir!$htmldir$ac_delim
53242 dvidir!$dvidir$ac_delim
53243 pdfdir!$pdfdir$ac_delim
53244 psdir!$psdir$ac_delim
53245 libdir!$libdir$ac_delim
53246 localedir!$localedir$ac_delim
53247 mandir!$mandir$ac_delim
53248 DEFS!$DEFS$ac_delim
53249 ECHO_C!$ECHO_C$ac_delim
53250 ECHO_N!$ECHO_N$ac_delim
53251 ECHO_T!$ECHO_T$ac_delim
53252 LIBS!$LIBS$ac_delim
53253 build_alias!$build_alias$ac_delim
53254 host_alias!$host_alias$ac_delim
53255 target_alias!$target_alias$ac_delim
53256 build!$build$ac_delim
53257 build_cpu!$build_cpu$ac_delim
53258 build_vendor!$build_vendor$ac_delim
53259 build_os!$build_os$ac_delim
53260 host!$host$ac_delim
53261 host_cpu!$host_cpu$ac_delim
53262 host_vendor!$host_vendor$ac_delim
53263 host_os!$host_os$ac_delim
53264 wx_top_builddir!$wx_top_builddir$ac_delim
53266 CFLAGS!$CFLAGS$ac_delim
53267 LDFLAGS!$LDFLAGS$ac_delim
53268 CPPFLAGS!$CPPFLAGS$ac_delim
53269 ac_ct_CC!$ac_ct_CC$ac_delim
53270 EXEEXT!$EXEEXT$ac_delim
53271 OBJEXT!$OBJEXT$ac_delim
53273 GREP!$GREP$ac_delim
53274 EGREP!$EGREP$ac_delim
53276 CXXFLAGS!$CXXFLAGS$ac_delim
53277 ac_ct_CXX!$ac_ct_CXX$ac_delim
53279 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53280 CXXCPP!$CXXCPP$ac_delim
53281 subdirs!$subdirs$ac_delim
53282 PKG_CONFIG!$PKG_CONFIG$ac_delim
53283 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53284 GTK_LIBS!$GTK_LIBS$ac_delim
53285 GTK_CONFIG!$GTK_CONFIG$ac_delim
53286 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53287 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53288 XMKMF!$XMKMF$ac_delim
53289 X_CFLAGS!$X_CFLAGS$ac_delim
53290 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53291 X_LIBS!$X_LIBS$ac_delim
53292 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53293 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53294 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53295 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53296 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53297 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53298 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53299 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53300 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53301 LIBICONV!$LIBICONV$ac_delim
53302 GXX_VERSION!$GXX_VERSION$ac_delim
53303 SDL_CONFIG!$SDL_CONFIG$ac_delim
53304 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53305 SDL_LIBS!$SDL_LIBS$ac_delim
53306 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53307 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53308 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53309 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53310 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53311 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53312 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53313 HILDON_LIBS!$HILDON_LIBS$ac_delim
53314 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53315 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53318 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53320 elif $ac_last_try; then
53321 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53322 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53323 { (exit 1); exit 1; }; }
53325 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53329 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53330 if test -n "$ac_eof"; then
53331 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53332 ac_eof
=`expr $ac_eof + 1`
53335 cat >>$CONFIG_STATUS <<_ACEOF
53336 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53340 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53341 s/^/s,@/; s/!/@,|#_!!_#|/
53344 s/'"$ac_delim"'$/,g/; t
53346 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53347 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53348 rm -f conf$
$subs.
sed
53349 cat >>$CONFIG_STATUS <<_ACEOF
53355 for ac_last_try
in false false false false false
:; do
53356 cat >conf$
$subs.
sed <<_ACEOF
53357 PYTHON!$PYTHON$ac_delim
53358 COND_PYTHON!$COND_PYTHON$ac_delim
53359 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53360 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53361 GST_CFLAGS!$GST_CFLAGS$ac_delim
53362 GST_LIBS!$GST_LIBS$ac_delim
53363 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53364 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53365 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53366 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53367 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53368 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53369 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53370 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53371 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53372 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53373 VENDOR!$VENDOR$ac_delim
53374 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53375 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53376 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53377 WXUNIV!$WXUNIV$ac_delim
53378 MONOLITHIC!$MONOLITHIC$ac_delim
53379 USE_PLUGINS!$USE_PLUGINS$ac_delim
53380 CXXWARNINGS!$CXXWARNINGS$ac_delim
53381 EXTRALIBS!$EXTRALIBS$ac_delim
53382 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53383 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53384 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53385 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53386 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53387 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53388 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53389 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53390 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53391 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53392 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53393 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53394 UNICODE!$UNICODE$ac_delim
53395 DEBUG_INFO!$DEBUG_INFO$ac_delim
53396 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53397 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53398 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53399 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53400 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53401 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53402 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53403 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53404 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53405 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53406 RANLIB!$RANLIB$ac_delim
53407 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53408 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53409 INSTALL_DATA!$INSTALL_DATA$ac_delim
53410 LN_S!$LN_S$ac_delim
53411 SET_MAKE!$SET_MAKE$ac_delim
53412 MAKE_SET!$MAKE_SET$ac_delim
53413 AROPTIONS!$AROPTIONS$ac_delim
53414 STRIP!$STRIP$ac_delim
53416 INSTALL_DIR!$INSTALL_DIR$ac_delim
53417 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53418 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53419 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53420 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53421 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53422 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53423 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53424 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53425 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53426 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53427 SO_SUFFIX!$SO_SUFFIX$ac_delim
53428 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53429 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53430 LIBPREFIX!$LIBPREFIX$ac_delim
53431 LIBEXT!$LIBEXT$ac_delim
53432 DLLPREFIX!$DLLPREFIX$ac_delim
53433 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53434 dlldir!$dlldir$ac_delim
53435 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53436 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53437 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53438 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53439 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53440 PIC_FLAG!$PIC_FLAG$ac_delim
53441 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53442 USE_SOVERSION!$USE_SOVERSION$ac_delim
53443 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53444 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53445 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53446 USE_MACVERSION!$USE_MACVERSION$ac_delim
53447 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53448 SONAME_FLAG!$SONAME_FLAG$ac_delim
53449 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53450 BK_DEPS!$BK_DEPS$ac_delim
53451 WINDRES!$WINDRES$ac_delim
53453 SETFILE!$SETFILE$ac_delim
53456 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53458 elif $ac_last_try; then
53459 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53460 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53461 { (exit 1); exit 1; }; }
53463 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53467 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53468 if test -n "$ac_eof"; then
53469 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53470 ac_eof
=`expr $ac_eof + 1`
53473 cat >>$CONFIG_STATUS <<_ACEOF
53474 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53478 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53479 s/^/s,@/; s/!/@,|#_!!_#|/
53482 s/'"$ac_delim"'$/,g/; t
53484 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53485 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53486 rm -f conf$
$subs.
sed
53487 cat >>$CONFIG_STATUS <<_ACEOF
53493 for ac_last_try
in false false false false false
:; do
53494 cat >conf$
$subs.
sed <<_ACEOF
53495 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53496 GCC_PCH!$GCC_PCH$ac_delim
53497 ICC_PCH!$ICC_PCH$ac_delim
53498 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53499 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53500 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53501 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53502 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53503 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53504 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53505 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53506 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53507 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53508 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53509 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53510 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53511 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53512 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53513 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53514 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53515 COND_BUILD_release!$COND_BUILD_release$ac_delim
53516 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53517 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53518 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53519 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53520 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53521 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53522 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53523 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53524 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53525 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53526 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53527 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53528 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53529 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53534 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53535 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53536 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53537 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53538 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53539 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53540 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53541 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53545 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53546 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53547 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53548 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53549 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53550 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53551 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53552 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53553 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53554 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53555 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53556 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53557 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53558 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53559 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53560 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53561 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53562 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53563 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53564 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53565 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53566 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53567 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53568 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53569 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53570 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53572 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
53573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53574 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
53575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53576 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53577 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53578 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53579 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53580 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53581 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53582 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53583 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53584 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53585 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53586 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53587 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53589 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53590 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53591 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53596 elif $ac_last_try; then
53597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53598 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53599 { (exit 1); exit 1; }; }
53601 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53605 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53606 if test -n "$ac_eof"; then
53607 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53608 ac_eof
=`expr $ac_eof + 1`
53611 cat >>$CONFIG_STATUS <<_ACEOF
53612 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53613 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53616 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53617 s/^/s,@/; s/!/@,|#_!!_#|/
53620 s/'"$ac_delim"'$/,g/; t
53622 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53623 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53624 rm -f conf$
$subs.
sed
53625 cat >>$CONFIG_STATUS <<_ACEOF
53631 for ac_last_try
in false false false false false
:; do
53632 cat >conf$
$subs.
sed <<_ACEOF
53633 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53634 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53635 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53636 COND_SHARED_0!$COND_SHARED_0$ac_delim
53637 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53638 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53639 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53640 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53641 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53644 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53645 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53646 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53647 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53648 COND_SHARED_1!$COND_SHARED_1$ac_delim
53649 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53650 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53651 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53652 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53653 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53654 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53655 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53656 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53661 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53662 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53663 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53664 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53665 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53666 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53667 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53668 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53669 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53670 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53671 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53672 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53673 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53674 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53675 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53676 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53677 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53678 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53679 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53680 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53681 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53682 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53683 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53684 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53685 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53686 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53687 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53688 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53689 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53690 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53691 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53692 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53693 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53694 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53695 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53696 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53697 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53698 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53699 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53700 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53701 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53702 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53703 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53704 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53705 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53706 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53707 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53708 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53709 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53710 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53711 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53712 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53713 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53714 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53715 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53716 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53717 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53718 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53719 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53720 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53721 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53722 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53723 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53724 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53725 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53726 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53727 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53728 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53729 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53732 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53734 elif $ac_last_try; then
53735 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53736 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53737 { (exit 1); exit 1; }; }
53739 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53743 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53744 if test -n "$ac_eof"; then
53745 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53746 ac_eof
=`expr $ac_eof + 1`
53749 cat >>$CONFIG_STATUS <<_ACEOF
53750 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53754 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53755 s/^/s,@/; s/!/@,|#_!!_#|/
53758 s/'"$ac_delim"'$/,g/; t
53760 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53761 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53762 rm -f conf$
$subs.
sed
53763 cat >>$CONFIG_STATUS <<_ACEOF
53769 for ac_last_try
in false false false false false
:; do
53770 cat >conf$
$subs.
sed <<_ACEOF
53771 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53772 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53773 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53774 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53775 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53776 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53777 DEREZ!$DEREZ$ac_delim
53778 SHARED!$SHARED$ac_delim
53779 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53780 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53781 USE_GUI!$USE_GUI$ac_delim
53782 AFMINSTALL!$AFMINSTALL$ac_delim
53783 WIN32INSTALL!$WIN32INSTALL$ac_delim
53784 TOOLKIT!$TOOLKIT$ac_delim
53785 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53786 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53787 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53788 cross_compiling!$cross_compiling$ac_delim
53789 WIDGET_SET!$WIDGET_SET$ac_delim
53790 WX_RELEASE!$WX_RELEASE$ac_delim
53791 WX_VERSION!$WX_VERSION$ac_delim
53792 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53793 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53794 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53795 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53796 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53797 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53798 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53799 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53800 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53801 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53802 GUIDIST!$GUIDIST$ac_delim
53803 DISTDIR!$DISTDIR$ac_delim
53804 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53805 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53806 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53807 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53808 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53809 RESCOMP!$RESCOMP$ac_delim
53810 RESFLAGS!$RESFLAGS$ac_delim
53811 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53812 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53813 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53814 LIBWXMACRES!$LIBWXMACRES$ac_delim
53815 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53816 MACSETFILE!$MACSETFILE$ac_delim
53818 DLLTOOL!$DLLTOOL$ac_delim
53819 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53820 LIBOBJS!$LIBOBJS$ac_delim
53821 LTLIBOBJS!$LTLIBOBJS$ac_delim
53824 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53826 elif $ac_last_try; then
53827 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53828 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53829 { (exit 1); exit 1; }; }
53831 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53835 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53836 if test -n "$ac_eof"; then
53837 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53838 ac_eof
=`expr $ac_eof + 1`
53841 cat >>$CONFIG_STATUS <<_ACEOF
53842 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53846 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53847 s/^/s,@/; s/!/@,|#_!!_#|/
53850 s/'"$ac_delim"'$/,g/; t
53852 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53853 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53854 rm -f conf$
$subs.
sed
53855 cat >>$CONFIG_STATUS <<_ACEOF
53862 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53863 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53864 # trailing colons and then remove the whole line if VPATH becomes empty
53865 # (actually we leave an empty line to preserve line numbers).
53866 if test "x$srcdir" = x.
; then
53867 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53868 s/:*\$(srcdir):*/:/
53869 s/:*\${srcdir}:*/:/
53871 s/^\([^=]*=[ ]*\):*/\1/
53877 cat >>$CONFIG_STATUS <<\_ACEOF
53878 fi # test -n "$CONFIG_FILES"
53881 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53884 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53886 case $ac_mode$ac_tag in
53888 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53889 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53890 { (exit 1); exit 1; }; };;
53891 :[FH
]-) ac_tag
=-:-;;
53892 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53909 -) ac_f
="$tmp/stdin";;
53910 *) # Look for the file first in the build tree, then in the source tree
53911 # (if the path is not absolute). The absolute path cannot be DOS-style,
53912 # because $ac_f cannot contain `:'.
53916 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53918 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53919 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53920 { (exit 1); exit 1; }; };;
53922 ac_file_inputs
="$ac_file_inputs $ac_f"
53925 # Let's still pretend it is `configure' which instantiates (i.e., don't
53926 # use $as_me), people would be surprised to read:
53927 # /* config.h. Generated by config.status. */
53928 configure_input
="Generated from "`IFS=:
53929 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53930 if test x
"$ac_file" != x
-; then
53931 configure_input
="$ac_file. $configure_input"
53932 { echo "$as_me:$LINENO: creating $ac_file" >&5
53933 echo "$as_me: creating $ac_file" >&6;}
53937 *:-:* | *:-) cat >"$tmp/stdin";;
53942 ac_dir
=`$as_dirname -- "$ac_file" ||
53943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53944 X"$ac_file" : 'X\(//\)[^/]' \| \
53945 X"$ac_file" : 'X\(//\)$' \| \
53946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53952 /^X\(\/\/\)[^/].*/{
53967 -*) as_dir
=.
/$as_dir;;
53969 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53973 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53974 *) as_qdir
=$as_dir;;
53976 as_dirs
="'$as_qdir' $as_dirs"
53977 as_dir
=`$as_dirname -- "$as_dir" ||
53978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53979 X"$as_dir" : 'X\(//\)[^/]' \| \
53980 X"$as_dir" : 'X\(//\)$' \| \
53981 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53987 /^X\(\/\/\)[^/].*/{
54000 test -d "$as_dir" && break
54002 test -z "$as_dirs" || eval "mkdir $as_dirs"
54003 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54004 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54005 { (exit 1); exit 1; }; }; }
54009 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54011 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54012 # A ".." for each directory in $ac_dir_suffix.
54013 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54014 case $ac_top_builddir_sub in
54015 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54016 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54019 ac_abs_top_builddir
=$ac_pwd
54020 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54021 # for backward compatibility:
54022 ac_top_builddir
=$ac_top_build_prefix
54025 .
) # We are building in place.
54027 ac_top_srcdir
=$ac_top_builddir_sub
54028 ac_abs_top_srcdir
=$ac_pwd ;;
54029 [\\/]* | ?
:[\\/]* ) # Absolute name.
54030 ac_srcdir
=$srcdir$ac_dir_suffix;
54031 ac_top_srcdir
=$srcdir
54032 ac_abs_top_srcdir
=$srcdir ;;
54033 *) # Relative name.
54034 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54035 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54036 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54038 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54048 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54049 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54053 cat >>$CONFIG_STATUS <<\_ACEOF
54054 # If the template does not know about datarootdir, expand it.
54055 # FIXME: This hack should be removed a few years after 2.60.
54056 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54058 case `sed -n '/datarootdir/ {
54067 ' $ac_file_inputs` in
54068 *datarootdir
*) ac_datarootdir_seen
=yes;;
54069 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54070 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54071 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54073 cat >>$CONFIG_STATUS <<_ACEOF
54074 ac_datarootdir_hack='
54075 s&@datadir@&$datadir&g
54076 s&@docdir@&$docdir&g
54077 s&@infodir@&$infodir&g
54078 s&@localedir@&$localedir&g
54079 s&@mandir@&$mandir&g
54080 s&\\\${datarootdir}&$datarootdir&g' ;;
54084 # Neutralize VPATH when `$srcdir' = `.'.
54085 # Shell code in configure.ac might set extrasub.
54086 # FIXME: do we really want to maintain this feature?
54087 cat >>$CONFIG_STATUS <<_ACEOF
54091 cat >>$CONFIG_STATUS <<\_ACEOF
54093 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54094 s
&@configure_input@
&$configure_input&;t t
54095 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54096 s
&@srcdir@
&$ac_srcdir&;t t
54097 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54098 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54099 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54100 s
&@builddir@
&$ac_builddir&;t t
54101 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54102 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54103 s
&@INSTALL@
&$ac_INSTALL&;t t
54104 $ac_datarootdir_hack
54105 " $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
54107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54108 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54110 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54111 which seems to be undefined. Please make sure it is defined." >&5
54112 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54113 which seems to be undefined. Please make sure it is defined." >&2;}
54117 -) cat "$tmp/out"; rm -f "$tmp/out";;
54118 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54127 # Transform confdefs.h into a sed script `conftest.defines', that
54128 # substitutes the proper values into config.h.in to produce config.h.
54129 rm -f conftest.defines conftest.
tail
54130 # First, append a space to every undef/define line, to ease matching.
54131 echo 's/$/ /' >conftest.defines
54132 # Then, protect against being on the right side of a sed subst, or in
54133 # an unquoted here document, in config.status. If some macros were
54134 # called several times there might be several #defines for the same
54135 # symbol, which is useless. But do not sort them, since the last
54136 # AC_DEFINE must be honored.
54137 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54138 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54139 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54140 # PARAMS is the parameter list in the macro definition--in most cases, it's
54141 # just an empty string.
54142 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54143 ac_dB
='\\)[ (].*,\\1define\\2'
54151 s/^[ ]*#[ ]*define[ ][ ]*//
54156 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54157 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54158 ' >>conftest.defines
54160 # Remove the space that was appended to ease matching.
54161 # Then replace #undef with comments. This is necessary, for
54162 # example, in the case of _POSIX_SOURCE, which is predefined and required
54163 # on some systems where configure will not decide to define it.
54164 # (The regexp can be short, since the line contains either #define or #undef.)
54166 s,^[ #]*u.*,/* & */,' >>conftest.defines
54168 # Break up conftest.defines:
54169 ac_max_sed_lines
=50
54171 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54172 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54173 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54175 ac_in
='$ac_file_inputs'
54176 ac_out
='"$tmp/out1"'
54177 ac_nxt
='"$tmp/out2"'
54181 # Write a here document:
54182 cat >>$CONFIG_STATUS <<_ACEOF
54183 # First, check the format of the line:
54184 cat >"\$tmp/defines.sed" <<\\CEOF
54185 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54186 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54190 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54192 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54193 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54194 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54195 grep . conftest.
tail >/dev
/null
|| break
54196 rm -f conftest.defines
54197 mv conftest.
tail conftest.defines
54199 rm -f conftest.defines conftest.
tail
54201 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54202 cat >>$CONFIG_STATUS <<\_ACEOF
54203 if test x
"$ac_file" != x
-; then
54204 echo "/* $configure_input */" >"$tmp/config.h"
54205 cat "$ac_result" >>"$tmp/config.h"
54206 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54207 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54208 echo "$as_me: $ac_file is unchanged" >&6;}
54211 mv "$tmp/config.h" $ac_file
54214 echo "/* $configure_input */"
54220 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54221 echo "$as_me: executing $ac_file commands" >&6;}
54226 case $ac_file$ac_mode in
54228 mkdir -p $outdir &&
54229 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54231 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54232 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54233 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54234 "wx-config":C
) rm -f wx
-config
54235 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54242 { (exit 0); exit 0; }
54244 chmod +x
$CONFIG_STATUS
54245 ac_clean_files
=$ac_clean_files_save
54248 # configure is writing to config.log, and then calls config.status.
54249 # config.status does its own redirection, appending to config.log.
54250 # Unfortunately, on DOS this fails, as config.log is still kept open
54251 # by configure, so config.status won't be able to write to it; its
54252 # output is simply discarded. So we exec the FD to /dev/null,
54253 # effectively closing config.log, so it can be properly (re)opened and
54254 # appended to by config.status. When coming back to configure, we
54255 # need to make the FD available again.
54256 if test "$no_create" != yes; then
54258 ac_config_status_args
=
54259 test "$silent" = yes &&
54260 ac_config_status_args
="$ac_config_status_args --quiet"
54262 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54264 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54265 # would make configure fail if this is the last instruction.
54266 $ac_cs_success || { (exit 1); exit 1; }
54270 # CONFIG_SUBDIRS section.
54272 if test "$no_recursion" != yes; then
54274 # Remove --cache-file and --srcdir arguments so they do not pile up.
54275 ac_sub_configure_args
=
54277 eval "set x $ac_configure_args"
54281 if test -n "$ac_prev"; then
54286 -cache-file | --cache-file | --cache-fil | --cache-fi \
54287 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54288 ac_prev
=cache_file
;;
54289 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54290 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54293 --config-cache | -C)
54295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54299 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54301 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54305 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54307 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54311 # Always prepend --prefix to ensure using the same prefix
54312 # in subdir configurations.
54313 ac_arg
="--prefix=$prefix"
54315 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54317 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54320 if test "$silent" = yes; then
54321 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54325 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54327 # Do not complain, so a configure script can configure whichever
54328 # parts of a large source tree are present.
54329 test -d "$srcdir/$ac_dir" || continue
54331 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54332 echo "$as_me:$LINENO: $ac_msg" >&5
54336 -*) as_dir
=.
/$as_dir;;
54338 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54342 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54343 *) as_qdir
=$as_dir;;
54345 as_dirs
="'$as_qdir' $as_dirs"
54346 as_dir
=`$as_dirname -- "$as_dir" ||
54347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54348 X"$as_dir" : 'X\(//\)[^/]' \| \
54349 X"$as_dir" : 'X\(//\)$' \| \
54350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54356 /^X\(\/\/\)[^/].*/{
54369 test -d "$as_dir" && break
54371 test -z "$as_dirs" || eval "mkdir $as_dirs"
54372 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54373 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54374 { (exit 1); exit 1; }; }; }
54378 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54380 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54381 # A ".." for each directory in $ac_dir_suffix.
54382 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54383 case $ac_top_builddir_sub in
54384 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54385 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54388 ac_abs_top_builddir
=$ac_pwd
54389 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54390 # for backward compatibility:
54391 ac_top_builddir
=$ac_top_build_prefix
54394 .
) # We are building in place.
54396 ac_top_srcdir
=$ac_top_builddir_sub
54397 ac_abs_top_srcdir
=$ac_pwd ;;
54398 [\\/]* | ?
:[\\/]* ) # Absolute name.
54399 ac_srcdir
=$srcdir$ac_dir_suffix;
54400 ac_top_srcdir
=$srcdir
54401 ac_abs_top_srcdir
=$srcdir ;;
54402 *) # Relative name.
54403 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54404 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54405 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54407 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54412 # Check for guested configure; otherwise get Cygnus style configure.
54413 if test -f "$ac_srcdir/configure.gnu"; then
54414 ac_sub_configure
=$ac_srcdir/configure.gnu
54415 elif test -f "$ac_srcdir/configure"; then
54416 ac_sub_configure
=$ac_srcdir/configure
54417 elif test -f "$ac_srcdir/configure.in"; then
54418 # This should be Cygnus configure.
54419 ac_sub_configure
=$ac_aux_dir/configure
54421 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54422 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54426 # The recursion is here.
54427 if test -n "$ac_sub_configure"; then
54428 # Make the cache file name correct relative to the subdirectory.
54429 case $cache_file in
54430 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54431 *) # Relative name.
54432 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54435 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54436 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54437 # The eval makes quoting arguments work.
54438 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54439 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54440 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54441 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54442 { (exit 1); exit 1; }; }
54451 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54453 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54454 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54455 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54456 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54457 if test "$wxUSE_UNICODE" = "yes"; then
54458 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54459 echo " (using UTF-8)"
54461 echo " (using wchar_t)"
54467 echo " What level of wxWidgets compatibility should be enabled?"
54468 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54469 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54471 echo " Which libraries should wxWidgets use?"
54472 echo " STL ${wxUSE_STL}"
54473 echo " jpeg ${wxUSE_LIBJPEG-none}"
54474 echo " png ${wxUSE_LIBPNG-none}"
54475 echo " regex ${wxUSE_REGEX}"
54476 echo " tiff ${wxUSE_LIBTIFF-none}"
54477 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54478 echo " xpm ${wxUSE_LIBXPM-none}"
54480 echo " zlib ${wxUSE_ZLIB}"
54481 echo " expat ${wxUSE_EXPAT}"
54482 echo " libmspack ${wxUSE_LIBMSPACK}"
54483 echo " sdl ${wxUSE_LIBSDL}"