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 universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1709 --enable-macosx_arch=ARCH build
for just the specified architecture
1710 --enable-compat26 enable wxWidgets
2.6 compatibility
1711 --disable-compat28 disable wxWidgets
2.8 compatibility
1712 --disable-rpath disable use of rpath
for uninstalled builds
1713 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even
if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x
-locale support
(requires wxLocale
)
1718 --enable-config use wxConfig
(and derived
) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP
(requires wxProtocol
1721 --enable-http use wxHTTP
(requires wxProtocol
1722 --enable-fileproto use wxFileProto class
(requires wxProtocol
1723 --enable-sockets use socket
/network classes
1724 --enable-ipv6 enable IPv6 support
in wxSocket
1725 --enable-ole use OLE classes
(Win32 only
)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication
(wxSocket etc.
)
1728 --enable-baseevtloop use event loop
in console programs too
1729 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding
/decoding functions
1735 --enable-backtrace use wxStackWalker class
for getting backtraces
1736 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class
for DLL loading
1742 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1743 --enable-exceptions build exception
-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual
file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP
/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support
in wxProtocol
1774 --enable-protocol-ftp FTP support
in wxProtocol
1775 --enable-protocol-file FILE support
in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig
(Win32 only
)
1778 --enable-regkey use wxRegKey class
(Win32 only
)
1779 --enable-docview use document view architecture
1780 --enable-help use
help subsystem
1781 --enable-mshtmlhelp use MS HTML Help
(win32
)
1782 --enable-html use wxHTML sub
-library
1783 --enable-htmlhelp use wxHTML
-based help
1784 --enable-xrc use XRC resources sub
-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout
-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl
(Mac
)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context
2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag
'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-accel use accelerators
1808 --enable-animatectrl use wxAnimationCtrl class
1809 --enable-bmpbutton use wxBitmapButton class
1810 --enable-bmpcombobox use wxBitmapComboBox class
1811 --enable-button use wxButton class
1812 --enable-calendar use wxCalendarCtrl class
1813 --enable-caret use wxCaret class
1814 --enable-checkbox use wxCheckBox class
1815 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1816 --enable-choice use wxChoice class
1817 --enable-choicebook use wxChoicebook class
1818 --enable-collpane use wxCollapsiblePane class
1819 --enable-colourpicker use wxColourPickerCtrl class
1820 --enable-combobox use wxComboBox class
1821 --enable-comboctrl use wxComboCtrl class
1822 --enable-commandlinkbutton use wxCommmandLinkButton class
1823 --enable-dataviewctrl use wxDataViewCtrl class
1824 --enable-datepick use wxDatePickerCtrl class
1825 --enable-detect_sm use code to detect X11 session manager
1826 --enable-dirpicker use wxDirPickerCtrl class
1827 --enable-display use wxDisplay class
1828 --enable-editablebox use wxEditableListBox class
1829 --enable-filectrl use wxFileCtrl class
1830 --enable-filepicker use wxFilePickerCtrl class
1831 --enable-fontpicker use wxFontPickerCtrl class
1832 --enable-gauge use wxGauge class
1833 --enable-grid use wxGrid class
1834 --enable-headerctrl use wxHeaderCtrl class
1835 --enable-hyperlink use wxHyperlinkCtrl class
1836 --enable-imaglist use wxImageList class
1837 --enable-infobar use wxInfoBar class
1838 --enable-listbook use wxListbook class
1839 --enable-listbox use wxListBox class
1840 --enable-listctrl use wxListCtrl class
1841 --enable-notebook use wxNotebook class
1842 --enable-notifmsg use wxNotificationMessage class
1843 --enable-odcombobox use wxOwnerDrawnComboBox class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-radiobox use wxRadioBox class
1846 --enable-radiobtn use wxRadioButton class
1847 --enable-richmsgdlg use wxRichMessageDialog class
1848 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1849 --enable-sash use wxSashWindow class
1850 --enable-scrollbar use wxScrollBar class and scrollable windows
1851 --enable-searchctrl use wxSearchCtrl class
1852 --enable-slider use wxSlider class
1853 --enable-spinbtn use wxSpinButton class
1854 --enable-spinctrl use wxSpinCtrl class
1855 --enable-splitter use wxSplitterWindow class
1856 --enable-statbmp use wxStaticBitmap class
1857 --enable-statbox use wxStaticBox class
1858 --enable-statline use wxStaticLine class
1859 --enable-stattext use wxStaticText class
1860 --enable-statusbar use wxStatusBar class
1861 --enable-taskbaricon use wxTaskBarIcon class
1862 --enable-tbarnative use native wxToolBar class
1863 --enable-textctrl use wxTextCtrl class
1864 --enable-tipwindow use wxTipWindow class
1865 --enable-togglebtn use wxToggleButton class
1866 --enable-toolbar use wxToolBar class
1867 --enable-toolbook use wxToolbook class
1868 --enable-treebook use wxTreebook class
1869 --enable-treectrl use wxTreeCtrl class
1870 --enable-commondlg use all common dialogs
1871 --enable-aboutdlg use wxAboutBox
1872 --enable-choicedlg use wxChoiceDialog
1873 --enable-coldlg use wxColourDialog
1874 --enable-filedlg use wxFileDialog
1875 --enable-finddlg use wxFindReplaceDialog
1876 --enable-fontdlg use wxFontDialog
1877 --enable-dirdlg use wxDirDialog
1878 --enable-msgdlg use wxMessageDialog
1879 --enable-numberdlg use wxNumberEntryDialog
1880 --enable-splash use wxSplashScreen
1881 --enable-textdlg use wxTextDialog
1882 --enable-tipdlg use startup tips
1883 --enable-progressdlg use wxProgressDialog
1884 --enable-wizarddlg use wxWizard
1885 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1886 --enable-miniframe use wxMiniFrame class
1887 --enable-tooltips use wxToolTip class
1888 --enable-splines use spline drawing code
1889 --enable-mousewheel use mousewheel
1890 --enable-validators use wxValidator and derived classes
1891 --enable-busyinfo use wxBusyInfo
1892 --enable-joystick use wxJoystick
1893 --enable-metafiles use wxMetaFile
(Win32 only
)
1894 --enable-dragimage use wxDragImage
1895 --enable-accessibility enable accessibility support
1896 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1897 --enable-palette use wxPalette class
1898 --enable-image use wxImage class
1899 --enable-gif use gif images
(GIF
file format
)
1900 --enable-pcx use pcx images
(PCX
file format
)
1901 --enable-tga use tga images
(TGA
file format
)
1902 --enable-iff use iff images
(IFF
file format
)
1903 --enable-pnm use pnm images
(PNM
file format
)
1904 --enable-xpm use xpm images
(XPM
file format
)
1905 --enable-ico_cur use Windows ICO and CUR formats
1906 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1907 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1908 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1909 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1910 --enable-wxdib use wxDIB class
(Win32 only
)
1911 --enable-autoidman use automatic ids management
1912 --disable-largefile omit support
for large files
1913 --disable-gtktest do not try to compile and run a
test GTK
+ program
1914 --disable-gtktest Do not try to compile and run a
test GTK program
1915 --disable-sdltest Do not try to compile and run a
test SDL program
1916 --enable-omf use OMF object format
(OS
/2)
1917 --disable-dependency-tracking
1918 don
't use dependency tracking even if the compiler
1920 --disable-precomp-headers
1921 don't use precompiled headers even
if compiler can
1924 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1925 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1926 --without-subdirs don
't generate makefiles for samples/demos/...
1927 --with-flavour=NAME specify a name to identify this build
1928 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1929 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1930 --with-motif use Motif/Lesstif
1931 --with-osx_carbon use Mac OS X (Carbon)
1932 --with-osx_cocoa use Mac OS X (Cocoa)
1933 --with-osx_iphone use iPhone OS X port
1934 --with-osx use Mac OS X (default port, currently Carbon)
1935 --with-carbon same as --with-osx_carbon
1936 --with-cocoa same as --with-osx_cocoa
1937 --with-iphone same as --with-osx_iphone
1938 --with-mac same as --with-osx
1939 --with-old_cocoa use old, deprecated, Cocoa port
1940 --with-wine use Wine
1941 --with-msw use MS-Windows
1942 --with-pm use OS/2 Presentation Manager
1943 --with-mgl use SciTech MGL
1944 --with-directfb use DirectFB
1945 --with-microwin use MicroWindows
1947 --with-libpng use libpng (PNG image format)
1948 --with-libjpeg use libjpeg (JPEG file format)
1949 --with-libtiff use libtiff (TIFF file format)
1950 --with-libxpm use libxpm (XPM file format)
1951 --with-libiconv use libiconv (character conversion)
1952 --with-libmspack use libmspack (CHM help files loading)
1953 --without-gtkprint don't use GTK printing support
1954 --without-gnomeprint don
't use GNOME printing libraries
1955 --with-gnomevfs use GNOME VFS for associating MIME types
1956 --with-hildon use Hildon framework for Nokia 770/800/810
1957 --with-opengl use OpenGL (or Mesa)
1958 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1959 --with-sdl use SDL for audio on Unix
1960 --with-regex enable support for wxRegEx class
1961 --with-zlib use zlib for LZW compression
1962 --with-expat enable XML support using expat parser
1963 --with-macosx-sdk=PATH use an OS X SDK at PATH
1964 --with-macosx-version-min=VER build binaries which require at least this OS X version
1965 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1966 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1967 --with-x use the X Window System
1968 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1969 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1970 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1971 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1972 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1974 Some influential environment variables:
1975 CC C compiler command
1976 CFLAGS C compiler flags
1977 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1978 nonstandard directory <lib dir>
1979 LIBS libraries to pass to the linker, e.g. -l<library>
1980 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1981 you have headers in a nonstandard directory <include dir>
1983 CXX C++ compiler command
1984 CXXFLAGS C++ compiler flags
1985 CXXCPP C++ preprocessor
1986 PKG_CONFIG path to pkg-config utility
1988 C compiler flags for DIRECTFB, overriding pkg-config
1990 linker flags for DIRECTFB, overriding pkg-config
1991 XMKMF Path to xmkmf, Makefile generator for X Window System
1993 C compiler flags for PANGOX, overriding pkg-config
1994 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1996 C compiler flags for PANGOFT2, overriding pkg-config
1998 linker flags for PANGOFT2, overriding pkg-config
2000 C compiler flags for PANGOXFT, overriding pkg-config
2002 linker flags for PANGOXFT, overriding pkg-config
2004 C compiler flags for GTKPRINT, overriding pkg-config
2006 linker flags for GTKPRINT, overriding pkg-config
2007 LIBGNOMEPRINTUI_CFLAGS
2008 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2009 LIBGNOMEPRINTUI_LIBS
2010 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2012 C compiler flags for GNOMEVFS, overriding pkg-config
2014 linker flags for GNOMEVFS, overriding pkg-config
2016 C compiler flags for HILDON, overriding pkg-config
2017 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2019 C compiler flags for HILDON2, overriding pkg-config
2021 linker flags for HILDON2, overriding pkg-config
2023 C compiler flags for CAIRO, overriding pkg-config
2024 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2025 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2026 GST_LIBS linker flags for GST, overriding pkg-config
2028 Use these variables to override the choices made by `configure' or to
help
2029 it to
find libraries and programs with nonstandard names
/locations.
2031 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2036 if test "$ac_init_help" = "recursive"; then
2037 # If there are subdirs, report their specific --help.
2038 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2039 test -d "$ac_dir" || continue
2043 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2045 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2046 # A ".." for each directory in $ac_dir_suffix.
2047 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2048 case $ac_top_builddir_sub in
2049 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2050 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2053 ac_abs_top_builddir
=$ac_pwd
2054 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2055 # for backward compatibility:
2056 ac_top_builddir
=$ac_top_build_prefix
2059 .
) # We are building in place.
2061 ac_top_srcdir
=$ac_top_builddir_sub
2062 ac_abs_top_srcdir
=$ac_pwd ;;
2063 [\\/]* | ?
:[\\/]* ) # Absolute name.
2064 ac_srcdir
=$srcdir$ac_dir_suffix;
2065 ac_top_srcdir
=$srcdir
2066 ac_abs_top_srcdir
=$srcdir ;;
2068 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2069 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2070 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2072 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2074 cd "$ac_dir" || { ac_status
=$?
; continue; }
2075 # Check for guested configure.
2076 if test -f "$ac_srcdir/configure.gnu"; then
2078 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2079 elif test -f "$ac_srcdir/configure"; then
2081 $SHELL "$ac_srcdir/configure" --help=recursive
2083 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2085 cd "$ac_pwd" || { ac_status
=$?
; break; }
2089 test -n "$ac_init_help" && exit $ac_status
2090 if $ac_init_version; then
2092 wxWidgets configure
2.9.2
2093 generated by GNU Autoconf
2.61
2095 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2096 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2097 This configure
script is free software
; the Free Software Foundation
2098 gives unlimited permission to copy
, distribute and modify it.
2102 cat >config.log
<<_ACEOF
2103 This file contains any messages produced by compilers while
2104 running configure, to aid debugging if configure makes a mistake.
2106 It was created by wxWidgets $as_me 2.9.2, which was
2107 generated by GNU Autoconf 2.61. Invocation command line was
2119 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2120 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2121 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2122 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2123 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2125 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2126 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2128 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2129 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2130 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2131 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2132 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2133 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2134 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 echo "PATH: $as_dir"
2159 # Keep a trace of the command line.
2160 # Strip out --no-create and --no-recursion so they do not pile up.
2161 # Strip out --silent because we don't want to record it for future runs.
2162 # Also quote any args containing shell meta-characters.
2163 # Make two passes to allow for proper duplicate-argument suppression.
2167 ac_must_keep_next
=false
2173 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2175 | -silent | --silent | --silen | --sile | --sil)
2178 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2183 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2184 if test $ac_must_keep_next = true
; then
2185 ac_must_keep_next
=false
# Got value, back to normal.
2188 *=* | --config-cache | -C | -disable-* | --disable-* \
2189 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2190 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2191 | -with-* | --with-* | -without-* | --without-* | --x)
2192 case "$ac_configure_args0 " in
2193 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2196 -* ) ac_must_keep_next
=true
;;
2199 ac_configure_args
="$ac_configure_args '$ac_arg'"
2204 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2205 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2207 # When interrupted or exit'd, cleanup temporary files, and complete
2208 # config.log. We remove comments because anyway the quotes in there
2209 # would cause problems or look ugly.
2210 # WARNING: Use '\'' to represent an apostrophe within the trap.
2211 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2212 trap 'exit_status=$?
2213 # Save into config.log some information that might help in debugging.
2218 ## ---------------- ##
2219 ## Cache variables. ##
2220 ## ---------------- ##
2223 # The following way of writing the cache mishandles newlines in values,
2225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226 eval ac_val=\$$ac_var
2230 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2231 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2234 _ | IFS | as_nl) ;; #(
2235 *) $as_unset $ac_var ;;
2240 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2241 *${as_nl}ac_space=\ *)
2243 "s/'\''/'\''\\\\'\'''\''/g;
2244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2255 ## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##
2260 for ac_var in $ac_subst_vars
2262 eval ac_val=\$$ac_var
2264 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 echo "$ac_var='\''$ac_val'\''"
2270 if test -n "$ac_subst_files"; then
2272 ## ------------------- ##
2273 ## File substitutions. ##
2274 ## ------------------- ##
2277 for ac_var
in $ac_subst_files
2279 eval ac_val
=\$
$ac_var
2281 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283 echo "$ac_var='\''$ac_val'\''"
2288 if test -s confdefs.h; then
2298 test "$ac_signal" != 0 &&
2299 echo "$as_me: caught signal $ac_signal"
2300 echo "$as_me: exit $exit_status"
2302 rm -f core *.core core.conftest.* &&
2303 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2306 for ac_signal
in 1 2 13 15; do
2307 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2311 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2312 rm -f -r conftest
* confdefs.h
2314 # Predefined preprocessor variables.
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE_NAME "$PACKAGE_NAME"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_STRING "$PACKAGE_STRING"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2341 # Let the site file select an alternate cache file if it wants to.
2342 # Prefer explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 set x
"$CONFIG_SITE"
2345 elif test "x$prefix" != xNONE
; then
2346 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2348 set x
"$ac_default_prefix/share/config.site" \
2349 "$ac_default_prefix/etc/config.site"
2354 if test -r "$ac_site_file"; then
2355 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2356 echo "$as_me: loading site script $ac_site_file" >&6;}
2357 sed 's/^/| /' "$ac_site_file" >&5
2362 if test -r "$cache_file"; then
2363 # Some versions of bash will fail to source /dev/null (special
2364 # files actually), so we avoid doing that.
2365 if test -f "$cache_file"; then
2366 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2367 echo "$as_me: loading cache $cache_file" >&6;}
2369 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2370 *) .
"./$cache_file";;
2374 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2375 echo "$as_me: creating cache $cache_file" >&6;}
2379 # Check that the precious variables saved in the cache have kept the same
2381 ac_cache_corrupted
=false
2382 for ac_var
in $ac_precious_vars; do
2383 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2384 eval ac_new_set
=\
$ac_env_${ac_var}_set
2385 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2386 eval ac_new_val
=\
$ac_env_${ac_var}_value
2387 case $ac_old_set,$ac_new_set in
2389 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391 ac_cache_corrupted
=: ;;
2393 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2394 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395 ac_cache_corrupted
=: ;;
2398 if test "x$ac_old_val" != "x$ac_new_val"; then
2399 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2400 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2401 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2402 echo "$as_me: former value: $ac_old_val" >&2;}
2403 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2404 echo "$as_me: current value: $ac_new_val" >&2;}
2405 ac_cache_corrupted
=:
2408 # Pass precious variables to config.status.
2409 if test "$ac_new_set" = set; then
2411 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2412 *) ac_arg
=$ac_var=$ac_new_val ;;
2414 case " $ac_configure_args " in
2415 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2416 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2420 if $ac_cache_corrupted; then
2421 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2422 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2423 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2424 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2425 { (exit 1); exit 1; }; }
2453 ac_cpp
='$CPP $CPPFLAGS'
2454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2463 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2464 if test -f "$ac_dir/install-sh"; then
2466 ac_install_sh
="$ac_aux_dir/install-sh -c"
2468 elif test -f "$ac_dir/install.sh"; then
2470 ac_install_sh
="$ac_aux_dir/install.sh -c"
2472 elif test -f "$ac_dir/shtool"; then
2474 ac_install_sh
="$ac_aux_dir/shtool install -c"
2478 if test -z "$ac_aux_dir"; then
2479 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2480 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2481 { (exit 1); exit 1; }; }
2484 # These three variables are undocumented and unsupported,
2485 # and are intended to be withdrawn in a future Autoconf release.
2486 # They can cause serious problems if a builder's source tree is in a directory
2487 # whose full name contains unusual characters.
2488 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2489 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2490 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2493 # Make sure we can run config.sub.
2494 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2495 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2496 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2497 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: checking build system type" >&5
2500 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_build+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 ac_build_alias
=$build_alias
2505 test "x$ac_build_alias" = x
&&
2506 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2507 test "x$ac_build_alias" = x
&&
2508 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2509 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2510 { (exit 1); exit 1; }; }
2511 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2518 echo "${ECHO_T}$ac_cv_build" >&6; }
2519 case $ac_cv_build in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2522 echo "$as_me: error: invalid value of canonical build" >&2;}
2523 { (exit 1); exit 1; }; };;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2539 { echo "$as_me:$LINENO: checking host system type" >&5
2540 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2541 if test "${ac_cv_host+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 if test "x$host_alias" = x
; then
2545 ac_cv_host
=$ac_cv_build
2547 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2548 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2549 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2550 { (exit 1); exit 1; }; }
2554 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2555 echo "${ECHO_T}$ac_cv_host" >&6; }
2558 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2559 echo "$as_me: error: invalid value of canonical host" >&2;}
2560 { (exit 1); exit 1; }; };;
2563 ac_save_IFS
=$IFS; IFS
='-'
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2573 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2577 if test "$cross_compiling" != "no"; then
2578 HOST_PREFIX
="${host_alias}-"
2579 HOST_SUFFIX
="-$host_alias"
2586 wx_major_version_number
=2
2587 wx_minor_version_number
=9
2589 wx_subrelease_number
=0
2591 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2592 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2593 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2595 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2598 wx_top_builddir
="`pwd`"
2611 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2617 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2625 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2627 DEFAULT_wxUSE_OLD_COCOA
=0
2629 DEFAULT_wxUSE_OSX_CARBON
=0
2630 DEFAULT_wxUSE_OSX_COCOA
=0
2631 DEFAULT_wxUSE_OSX_IPHONE
=0
2633 DEFAULT_wxUSE_MICROWIN
=0
2634 DEFAULT_wxUSE_MOTIF
=0
2640 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2641 DEFAULT_DEFAULT_wxUSE_GTK
=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2644 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2645 DEFAULT_DEFAULT_wxUSE_MGL
=0
2646 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2647 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2648 DEFAULT_DEFAULT_wxUSE_MSW
=0
2649 DEFAULT_DEFAULT_wxUSE_PM
=0
2650 DEFAULT_DEFAULT_wxUSE_X11
=0
2651 DEFAULT_DEFAULT_wxUSE_DFB
=0
2655 DYLIB_RPATH_INSTALL
=
2656 DYLIB_RPATH_POSTLINK
=
2658 DEFAULT_STD_FLAG
=yes
2663 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2664 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2665 cat >>confdefs.h
<<\_ACEOF
2670 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2674 cat >>confdefs.h
<<\_ACEOF
2679 if test "x$TMP" = "xalpha"; then
2681 cat >>confdefs.h
<<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_GTK
=1
2688 *-*-gnu* | *-*-k*bsd
*-gnu )
2691 if test "x$TMP" = "xalpha"; then
2693 cat >>confdefs.h
<<\_ACEOF
2698 DEFAULT_DEFAULT_wxUSE_GTK
=1
2700 *-*-irix5* | *-*-irix6* )
2703 cat >>confdefs.h
<<\_ACEOF
2707 cat >>confdefs.h
<<\_ACEOF
2711 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2715 cat >>confdefs.h
<<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_X11
=1
2725 cat >>confdefs.h
<<\_ACEOF
2729 cat >>confdefs.h
<<\_ACEOF
2730 #define __SOLARIS__ 1
2733 cat >>confdefs.h
<<\_ACEOF
2737 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2744 cat >>confdefs.h
<<\_ACEOF
2748 cat >>confdefs.h
<<\_ACEOF
2752 cat >>confdefs.h
<<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2761 cat >>confdefs.h
<<\_ACEOF
2762 #define __FREEBSD__ 1
2765 cat >>confdefs.h
<<\_ACEOF
2769 DEFAULT_DEFAULT_wxUSE_GTK
=1
2771 *-*-openbsd*|*-*-mirbsd*)
2774 cat >>confdefs.h
<<\_ACEOF
2775 #define __OPENBSD__ 1
2778 cat >>confdefs.h
<<\_ACEOF
2782 DEFAULT_DEFAULT_wxUSE_GTK
=1
2787 cat >>confdefs.h
<<\_ACEOF
2788 #define __NETBSD__ 1
2791 cat >>confdefs.h
<<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_GTK
=1
2796 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2798 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2803 cat >>confdefs.h
<<\_ACEOF
2807 cat >>confdefs.h
<<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2812 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2817 cat >>confdefs.h
<<\_ACEOF
2821 cat >>confdefs.h
<<\_ACEOF
2825 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2830 cat >>confdefs.h
<<\_ACEOF
2834 cat >>confdefs.h
<<\_ACEOF
2838 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2844 cat >>confdefs.h
<<\_ACEOF
2848 cat >>confdefs.h
<<\_ACEOF
2852 cat >>confdefs.h
<<\_ACEOF
2856 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2863 cat >>confdefs.h
<<\_ACEOF
2864 #define __UNIXWARE__ 1
2869 *-*-cygwin* | *-*-mingw32* )
2871 DEFAULT_DEFAULT_wxUSE_MSW
=1
2877 cat >>confdefs.h
<<\_ACEOF
2882 DEFAULT_DEFAULT_wxUSE_MGL
=1
2885 *-pc-os2_emx | *-pc-os2-emx )
2886 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2896 DEFAULT_DEFAULT_wxUSE_PM
=1
2898 LDFLAGS
="$LDFLAGS -Zcrtdll"
2899 ac_executable_extensions
=".exe"
2900 export ac_executable_extensions
2904 for ac_dir
in $PATH; do
2906 if test -z "$ac_TEMP_PATH"; then
2907 ac_TEMP_PATH
="$ac_dir"
2909 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2912 export PATH
="$ac_TEMP_PATH"
2920 cat >>confdefs.h
<<\_ACEOF
2924 cat >>confdefs.h
<<\_ACEOF
2925 #define __DARWIN__ 1
2928 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2934 cat >>confdefs.h
<<\_ACEOF
2938 cat >>confdefs.h
<<\_ACEOF
2939 #define __DARWIN__ 1
2942 cat >>confdefs.h
<<\_ACEOF
2943 #define TARGET_CARBON 1
2946 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2951 cat >>confdefs.h
<<\_ACEOF
2958 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2959 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2960 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2961 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2963 DEFAULT_DEFAULT_wxUSE_X11
=1
2964 DEFAULT_wxUSE_SHARED
=no
2969 DEFAULT_wxUSE_ALL_FEATURES
=yes
2971 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2972 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2974 DEFAULT_wxUSE_DMALLOC
=no
2975 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2976 DEFAULT_wxUSE_LIBHILDON
=no
2977 DEFAULT_wxUSE_LIBHILDON2
=no
2978 DEFAULT_wxUSE_LIBMSPACK
=no
2979 DEFAULT_wxUSE_LIBSDL
=no
2981 DEFAULT_wxUSE_ACCESSIBILITY
=no
2982 DEFAULT_wxUSE_IPV6
=no
2983 DEFAULT_wxUSE_GSTREAMER8
=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
2993 DEFAULT_wxUSE_MAC_ARCH
=no
2995 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2997 DEFAULT_wxUSE_GTK2
=yes
2999 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3005 enablestring
=disable
3007 if test -z "$defaultval"; then
3008 if test x
"$enablestring" = xdisable
; then
3015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3017 # Check whether --enable-gui was given.
3018 if test "${enable_gui+set}" = set; then
3019 enableval
=$enable_gui;
3020 if test "$enableval" = yes; then
3021 wx_cv_use_gui
='wxUSE_GUI=yes'
3023 wx_cv_use_gui
='wxUSE_GUI=no'
3028 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3033 eval "$wx_cv_use_gui"
3035 if test x"$enablestring" = xdisable; then
3036 if test $wxUSE_GUI = no; then
3045 { echo "$as_me:$LINENO: result: $result" >&5
3046 echo "${ECHO_T}$result" >&6; }
3051 if test -z "$defaultval"; then
3052 if test x"$enablestring" = xdisable; then
3059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3060 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3061 # Check whether --enable-monolithic was given.
3062 if test "${enable_monolithic+set}" = set; then
3063 enableval=$enable_monolithic;
3064 if test "$enableval" = yes; then
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3067 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3072 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3077 eval "$wx_cv_use_monolithic"
3079 if test x"$enablestring" = xdisable; then
3080 if test $wxUSE_MONOLITHIC = no; then
3086 result=$wxUSE_MONOLITHIC
3089 { echo "$as_me:$LINENO: result
: $result" >&5
3090 echo "${ECHO_T}$result" >&6; }
3095 if test -z "$defaultval"; then
3096 if test x"$enablestring" = xdisable; then
3103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3104 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3105 # Check whether --enable-plugins was given.
3106 if test "${enable_plugins+set}" = set; then
3107 enableval=$enable_plugins;
3108 if test "$enableval" = yes; then
3109 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3111 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3116 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3121 eval "$wx_cv_use_plugins"
3123 if test x
"$enablestring" = xdisable
; then
3124 if test $wxUSE_PLUGINS = no
; then
3130 result
=$wxUSE_PLUGINS
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3138 defaultval
=$wxUSE_ALL_FEATURES
3139 if test -z "$defaultval"; then
3140 if test x
"$withstring" = xwithout
; then
3146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3147 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3149 # Check whether --with-subdirs was given.
3150 if test "${with_subdirs+set}" = set; then
3151 withval
=$with_subdirs;
3152 if test "$withval" = yes; then
3153 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3155 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3160 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3165 eval "$wx_cv_use_subdirs"
3167 if test x"$withstring" = xwithout; then
3168 if test $wxWITH_SUBDIRS = yes; then
3174 result=$wxWITH_SUBDIRS
3177 { echo "$as_me:$LINENO: result: $result" >&5
3178 echo "${ECHO_T}$result" >&6; }
3181 # Check whether --with-flavour was given.
3182 if test "${with_flavour+set}" = set; then
3183 withval=$with_flavour; WX_FLAVOUR="$withval"
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3199 # Check whether --enable-official_build was given.
3200 if test "${enable_official_build+set}" = set; then
3201 enableval=$enable_official_build;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3205 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3215 eval "$wx_cv_use_official_build"
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_OFFICIAL_BUILD = no; then
3224 result=$wxUSE_OFFICIAL_BUILD
3227 { echo "$as_me:$LINENO: result
: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3230 # Check whether --enable-vendor was given.
3231 if test "${enable_vendor+set}" = set; then
3232 enableval=$enable_vendor; VENDOR="$enableval"
3235 if test "x
$VENDOR" = "x
"; then
3240 enablestring=disable
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3251 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3252 # Check whether --enable-all-features was given.
3253 if test "${enable_all_features+set}" = set; then
3254 enableval=$enable_all_features;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3258 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3268 eval "$wx_cv_use_all_features"
3270 if test x
"$enablestring" = xdisable
; then
3271 if test $wxUSE_ALL_FEATURES = no
; then
3277 result
=$wxUSE_ALL_FEATURES
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3284 if test "$wxUSE_ALL_FEATURES" = "no"; then
3285 DEFAULT_wxUSE_MEDIACTRL
=no
3289 if test "$wxUSE_GUI" = "yes"; then
3294 if test -z "$defaultval"; then
3295 if test x
"$enablestring" = xdisable
; then
3302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3303 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3304 # Check whether --enable-universal was given.
3305 if test "${enable_universal+set}" = set; then
3306 enableval
=$enable_universal;
3307 if test "$enableval" = yes; then
3308 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3310 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3315 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3320 eval "$wx_cv_use_universal"
3322 if test x"$enablestring" = xdisable; then
3323 if test $wxUSE_UNIVERSAL = no; then
3329 result=$wxUSE_UNIVERSAL
3332 { echo "$as_me:$LINENO: result: $result" >&5
3333 echo "${ECHO_T}$result" >&6; }
3335 if test "$wxUSE_UNIVERSAL" = "yes"; then
3337 # Check whether --with-themes was given.
3338 if test "${with_themes+set}" = set; then
3339 withval=$with_themes; wxUNIV_THEMES="$withval"
3345 # Check whether --with-gtk was given.
3346 if test "${with_gtk+set}" = set; then
3347 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-motif was given.
3352 if test "${with_motif+set}" = set; then
3353 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3357 # Check whether --with-osx_carbon was given.
3358 if test "${with_osx_carbon+set}" = set; then
3359 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3363 # Check whether --with-osx_cocoa was given.
3364 if test "${with_osx_cocoa+set}" = set; then
3365 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3369 # Check whether --with-osx_iphone was given.
3370 if test "${with_osx_iphone+set}" = set; then
3371 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3375 # Check whether --with-osx was given.
3376 if test "${with_osx+set}" = set; then
3377 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 # Check whether --with-carbon was given.
3382 if test "${with_carbon+set}" = set; then
3383 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-cocoa was given.
3388 if test "${with_cocoa+set}" = set; then
3389 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-iphone was given.
3394 if test "${with_iphone+set}" = set; then
3395 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3399 # Check whether --with-mac was given.
3400 if test "${with_mac+set}" = set; then
3401 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-old_cocoa was given.
3406 if test "${with_old_cocoa+set}" = set; then
3407 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-wine was given.
3412 if test "${with_wine+set}" = set; then
3413 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3417 # Check whether --with-msw was given.
3418 if test "${with_msw+set}" = set; then
3419 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-pm was given.
3424 if test "${with_pm+set}" = set; then
3425 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-mgl was given.
3430 if test "${with_mgl+set}" = set; then
3431 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-directfb was given.
3436 if test "${with_directfb+set}" = set; then
3437 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-microwin was given.
3442 if test "${with_microwin+set}" = set; then
3443 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3447 # Check whether --with-x11 was given.
3448 if test "${with_x11+set}" = set; then
3449 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3455 if test -z "$defaultval"; then
3456 if test x"$enablestring" = xdisable; then
3463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3465 # Check whether --enable-nanox was given.
3466 if test "${enable_nanox+set}" = set; then
3467 enableval=$enable_nanox;
3468 if test "$enableval" = yes; then
3469 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3471 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3476 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3481 eval "$wx_cv_use_nanox"
3483 if test x"$enablestring" = xdisable; then
3484 if test $wxUSE_NANOX = no; then
3493 { echo "$as_me:$LINENO: result
: $result" >&5
3494 echo "${ECHO_T}$result" >&6; }
3497 # Check whether --enable-gtk2 was given.
3498 if test "${enable_gtk2+set}" = set; then
3499 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3505 if test -z "$defaultval"; then
3506 if test x"$enablestring" = xdisable; then
3513 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3514 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3515 # Check whether --enable-gpe was given.
3516 if test "${enable_gpe+set}" = set; then
3517 enableval=$enable_gpe;
3518 if test "$enableval" = yes; then
3519 wx_cv_use_gpe='wxUSE_GPE=yes'
3521 wx_cv_use_gpe='wxUSE_GPE=no'
3526 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3531 eval "$wx_cv_use_gpe"
3533 if test x
"$enablestring" = xdisable
; then
3534 if test $wxUSE_GPE = no
; then
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3548 { echo "$as_me:$LINENO: checking for toolkit" >&5
3549 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3553 # In Wine, we need to default to MSW, not GTK or MOTIF
3554 if test "$wxUSE_WINE" = "yes"; then
3555 DEFAULT_DEFAULT_wxUSE_GTK
=0
3556 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3557 DEFAULT_DEFAULT_wxUSE_MSW
=1
3564 if test "$wxUSE_GUI" = "yes"; then
3566 if test "$USE_BEOS" = 1; then
3567 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3568 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3569 { (exit 1); exit 1; }; }
3572 if test "$TOOLKIT_GIVEN" = 1; then
3573 for toolkit
in $ALL_TOOLKITS; do
3575 eval "value=\$${var}"
3576 if test "x$value" = "xno"; then
3578 elif test "x$value" != "x"; then
3582 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3583 eval "wx${toolkit}_VERSION=$value"
3587 for toolkit
in $ALL_TOOLKITS; do
3588 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3589 eval "wxUSE_$toolkit=\$${var}"
3593 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3594 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3595 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3598 *-pc-os2_emx | *-pc-os2-emx )
3599 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3602 case "$NUM_TOOLKITS" in
3606 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3607 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3608 { (exit 1); exit 1; }; }
3611 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3612 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3613 { (exit 1); exit 1; }; }
3616 # to be removed when --disable-gtk2 isn't needed
3617 if test "x$wxUSE_GTK2" = "xyes"; then
3620 elif test "x$wxUSE_GTK2" = "xno"; then
3625 for toolkit
in $ALL_TOOLKITS; do
3627 eval "value=\$${var}"
3628 if test "$value" = 1; then
3629 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3630 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3631 echo "${ECHO_T}$toolkit_echo" >&6; }
3635 if test "x$host_alias" != "x"; then
3636 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3637 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3639 { echo "$as_me:$LINENO: result: base only" >&5
3640 echo "${ECHO_T}base only" >&6; }
3645 if test "$wxUSE_OSX_CARBON" = 1 \
3646 -o "$wxUSE_OSX_COCOA" = 1 \
3647 -o "$wxUSE_OSX_IPHONE" = 1; then
3653 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3654 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3656 # Check whether --with-libpng was given.
3657 if test "${with_libpng+set}" = set; then
3658 withval
=$with_libpng;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3661 elif test "$withval" = no
; then
3662 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3663 elif test "$withval" = sys
; then
3664 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3675 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3680 eval "$wx_cv_use_libpng"
3682 if test "$wxUSE_LIBPNG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBPNG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBPNG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBPNG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3702 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3704 # Check whether --with-libjpeg was given.
3705 if test "${with_libjpeg+set}" = set; then
3706 withval=$with_libjpeg;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3728 eval "$wx_cv_use_libjpeg"
3730 if test "$wxUSE_LIBJPEG" = yes; then
3731 { echo "$as_me:$LINENO: result
: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = no; then
3734 { echo "$as_me:$LINENO: result
: no
" >&5
3735 echo "${ECHO_T}no
" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = sys; then
3737 { echo "$as_me:$LINENO: result
: system version
" >&5
3738 echo "${ECHO_T}system version
" >&6; }
3739 elif test "$wxUSE_LIBJPEG" = builtin; then
3740 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3741 echo "${ECHO_T}builtin version
" >&6; }
3743 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3744 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3749 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3750 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3752 # Check whether --with-libtiff was given.
3753 if test "${with_libtiff+set}" = set; then
3754 withval=$with_libtiff;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3757 elif test "$withval" = no; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3759 elif test "$withval" = sys; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3761 elif test "$withval" = builtin; then
3762 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3764 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3765 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3776 eval "$wx_cv_use_libtiff"
3778 if test "$wxUSE_LIBTIFF" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = no
; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = sys
; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBTIFF" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3797 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3798 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3800 # Check whether --with-libxpm was given.
3801 if test "${with_libxpm+set}" = set; then
3802 withval
=$with_libxpm;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3805 elif test "$withval" = no
; then
3806 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3807 elif test "$withval" = sys
; then
3808 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3809 elif test "$withval" = builtin; then
3810 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3812 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3813 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3814 { (exit 1); exit 1; }; }
3819 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3824 eval "$wx_cv_use_libxpm"
3826 if test "$wxUSE_LIBXPM" = yes; then
3827 { echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6; }
3829 elif test "$wxUSE_LIBXPM" = no; then
3830 { echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6; }
3832 elif test "$wxUSE_LIBXPM" = sys; then
3833 { echo "$as_me:$LINENO: result: system version" >&5
3834 echo "${ECHO_T}system version" >&6; }
3835 elif test "$wxUSE_LIBXPM" = builtin; then
3836 { echo "$as_me:$LINENO: result: builtin version" >&5
3837 echo "${ECHO_T}builtin version" >&6; }
3839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3840 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3841 { (exit 1); exit 1; }; }
3846 defaultval=$wxUSE_ALL_FEATURES
3847 if test -z "$defaultval"; then
3848 if test x"$withstring" = xwithout; then
3854 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3855 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3857 # Check whether --with-libiconv was given.
3858 if test "${with_libiconv+set}" = set; then
3859 withval=$with_libiconv;
3860 if test "$withval" = yes; then
3861 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3863 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3868 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3873 eval "$wx_cv_use_libiconv"
3875 if test x"$withstring" = xwithout; then
3876 if test $wxUSE_LIBICONV = yes; then
3882 result=$wxUSE_LIBICONV
3885 { echo "$as_me:$LINENO: result
: $result" >&5
3886 echo "${ECHO_T}$result" >&6; }
3890 defaultval=$wxUSE_ALL_FEATURES
3891 if test -z "$defaultval"; then
3892 if test x"$withstring" = xwithout; then
3898 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3899 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3901 # Check whether --with-libmspack was given.
3902 if test "${with_libmspack+set}" = set; then
3903 withval=$with_libmspack;
3904 if test "$withval" = yes; then
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3907 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3912 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3917 eval "$wx_cv_use_libmspack"
3919 if test x
"$withstring" = xwithout
; then
3920 if test $wxUSE_LIBMSPACK = yes; then
3926 result
=$wxUSE_LIBMSPACK
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3934 defaultval
=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x
"$withstring" = xwithout
; then
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3945 # Check whether --with-gtkprint was given.
3946 if test "${with_gtkprint+set}" = set; then
3947 withval
=$with_gtkprint;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3951 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3956 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3961 eval "$wx_cv_use_gtkprint"
3963 if test x"$withstring" = xwithout; then
3964 if test $wxUSE_GTKPRINT = yes; then
3970 result=$wxUSE_GTKPRINT
3973 { echo "$as_me:$LINENO: result: $result" >&5
3974 echo "${ECHO_T}$result" >&6; }
3978 defaultval=$wxUSE_ALL_FEATURES
3979 if test -z "$defaultval"; then
3980 if test x"$withstring" = xwithout; then
3986 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3987 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3989 # Check whether --with-gnomeprint was given.
3990 if test "${with_gnomeprint+set}" = set; then
3991 withval=$with_gnomeprint;
3992 if test "$withval" = yes; then
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3995 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4000 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4005 eval "$wx_cv_use_gnomeprint"
4007 if test x"$withstring" = xwithout; then
4008 if test $wxUSE_LIBGNOMEPRINT = yes; then
4014 result=$wxUSE_LIBGNOMEPRINT
4017 { echo "$as_me:$LINENO: result
: $result" >&5
4018 echo "${ECHO_T}$result" >&6; }
4022 defaultval=$wxUSE_ALL_FEATURES
4023 if test -z "$defaultval"; then
4024 if test x"$withstring" = xwithout; then
4030 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4031 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4033 # Check whether --with-gnomevfs was given.
4034 if test "${with_gnomevfs+set}" = set; then
4035 withval=$with_gnomevfs;
4036 if test "$withval" = yes; then
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4039 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4044 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4049 eval "$wx_cv_use_gnomevfs"
4051 if test x
"$withstring" = xwithout
; then
4052 if test $wxUSE_LIBGNOMEVFS = yes; then
4058 result
=$wxUSE_LIBGNOMEVFS
4061 { echo "$as_me:$LINENO: result: $result" >&5
4062 echo "${ECHO_T}$result" >&6; }
4066 defaultval
=$wxUSE_ALL_FEATURES
4067 if test -z "$defaultval"; then
4068 if test x
"$withstring" = xwithout
; then
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4077 # Check whether --with-hildon was given.
4078 if test "${with_hildon+set}" = set; then
4079 withval
=$with_hildon;
4080 if test "$withval" = yes; then
4081 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4083 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4088 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4093 eval "$wx_cv_use_hildon"
4095 if test x"$withstring" = xwithout; then
4096 if test $wxUSE_LIBHILDON = yes; then
4102 result=$wxUSE_LIBHILDON
4105 { echo "$as_me:$LINENO: result: $result" >&5
4106 echo "${ECHO_T}$result" >&6; }
4110 defaultval=$wxUSE_ALL_FEATURES
4111 if test -z "$defaultval"; then
4112 if test x"$withstring" = xwithout; then
4118 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4119 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4121 # Check whether --with-opengl was given.
4122 if test "${with_opengl+set}" = set; then
4123 withval=$with_opengl;
4124 if test "$withval" = yes; then
4125 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4127 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4132 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4137 eval "$wx_cv_use_opengl"
4139 if test x"$withstring" = xwithout; then
4140 if test $wxUSE_OPENGL = yes; then
4146 result=$wxUSE_OPENGL
4149 { echo "$as_me:$LINENO: result
: $result" >&5
4150 echo "${ECHO_T}$result" >&6; }
4157 defaultval=$wxUSE_ALL_FEATURES
4158 if test -z "$defaultval"; then
4159 if test x"$withstring" = xwithout; then
4165 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4166 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4168 # Check whether --with-dmalloc was given.
4169 if test "${with_dmalloc+set}" = set; then
4170 withval=$with_dmalloc;
4171 if test "$withval" = yes; then
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4179 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4184 eval "$wx_cv_use_dmalloc"
4186 if test x
"$withstring" = xwithout
; then
4187 if test $wxUSE_DMALLOC = yes; then
4193 result
=$wxUSE_DMALLOC
4196 { echo "$as_me:$LINENO: result: $result" >&5
4197 echo "${ECHO_T}$result" >&6; }
4201 defaultval
=$wxUSE_ALL_FEATURES
4202 if test -z "$defaultval"; then
4203 if test x
"$withstring" = xwithout
; then
4209 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4210 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4212 # Check whether --with-sdl was given.
4213 if test "${with_sdl+set}" = set; then
4215 if test "$withval" = yes; then
4216 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4218 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4223 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4228 eval "$wx_cv_use_sdl"
4230 if test x"$withstring" = xwithout; then
4231 if test $wxUSE_LIBSDL = yes; then
4237 result=$wxUSE_LIBSDL
4240 { echo "$as_me:$LINENO: result: $result" >&5
4241 echo "${ECHO_T}$result" >&6; }
4244 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4245 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4247 # Check whether --with-regex was given.
4248 if test "${with_regex+set}" = set; then
4249 withval=$with_regex;
4250 if test "$withval" = yes; then
4251 wx_cv_use_regex='wxUSE_REGEX
=yes'
4252 elif test "$withval" = no; then
4253 wx_cv_use_regex='wxUSE_REGEX
=no
'
4254 elif test "$withval" = sys; then
4255 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4266 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4271 eval "$wx_cv_use_regex"
4273 if test "$wxUSE_REGEX" = yes; then
4274 { echo "$as_me:$LINENO: result
: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_REGEX" = no; then
4277 { echo "$as_me:$LINENO: result
: no
" >&5
4278 echo "${ECHO_T}no
" >&6; }
4279 elif test "$wxUSE_REGEX" = sys; then
4280 { echo "$as_me:$LINENO: result
: system version
" >&5
4281 echo "${ECHO_T}system version
" >&6; }
4282 elif test "$wxUSE_REGEX" = builtin; then
4283 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4284 echo "${ECHO_T}builtin version
" >&6; }
4286 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4287 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4292 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4293 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4295 # Check whether --with-zlib was given.
4296 if test "${with_zlib+set}" = set; then
4298 if test "$withval" = yes; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4300 elif test "$withval" = no; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=no'
4302 elif test "$withval" = sys; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4304 elif test "$withval" = builtin; then
4305 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4307 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4308 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4314 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4319 eval "$wx_cv_use_zlib"
4321 if test "$wxUSE_ZLIB" = yes; then
4322 { echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6; }
4324 elif test "$wxUSE_ZLIB" = no
; then
4325 { echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6; }
4327 elif test "$wxUSE_ZLIB" = sys
; then
4328 { echo "$as_me:$LINENO: result: system version" >&5
4329 echo "${ECHO_T}system version" >&6; }
4330 elif test "$wxUSE_ZLIB" = builtin; then
4331 { echo "$as_me:$LINENO: result: builtin version" >&5
4332 echo "${ECHO_T}builtin version" >&6; }
4334 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4335 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4336 { (exit 1); exit 1; }; }
4340 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4341 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4343 # Check whether --with-expat was given.
4344 if test "${with_expat+set}" = set; then
4345 withval
=$with_expat;
4346 if test "$withval" = yes; then
4347 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4348 elif test "$withval" = no
; then
4349 wx_cv_use_expat
='wxUSE_EXPAT=no'
4350 elif test "$withval" = sys
; then
4351 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4352 elif test "$withval" = builtin; then
4353 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4362 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4367 eval "$wx_cv_use_expat"
4369 if test "$wxUSE_EXPAT" = yes; then
4370 { echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_EXPAT" = no; then
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4375 elif test "$wxUSE_EXPAT" = sys; then
4376 { echo "$as_me:$LINENO: result: system version" >&5
4377 echo "${ECHO_T}system version" >&6; }
4378 elif test "$wxUSE_EXPAT" = builtin; then
4379 { echo "$as_me:$LINENO: result: builtin version" >&5
4380 echo "${ECHO_T}builtin version" >&6; }
4382 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4383 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4388 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4389 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4391 # Check whether --with-macosx-sdk was given.
4392 if test "${with_macosx_sdk+set}" = set; then
4393 withval=$with_macosx_sdk;
4394 wxUSE_MACOSX_SDK=$withval
4395 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4399 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4400 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4402 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4403 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4405 # Check whether --with-macosx-version-min was given.
4406 if test "${with_macosx_version_min+set}" = set; then
4407 withval=$with_macosx_version_min;
4408 wxUSE_MACOSX_VERSION_MIN=$withval
4409 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4413 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4414 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4417 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4418 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4419 # Check whether --enable-debug was given.
4420 if test "${enable_debug+set}" = set; then
4421 enableval=$enable_debug;
4422 if test "$enableval" = yes; then
4424 elif test "$enableval" = no; then
4426 elif test "$enableval" = max; then
4428 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4430 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4431 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4432 { (exit 1); exit 1; }; }
4441 case "$wxUSE_DEBUG" in
4443 DEFAULT_wxUSE_DEBUG_FLAG=yes
4444 DEFAULT_wxUSE_DEBUG_INFO=yes
4446 DEFAULT_wxUSE_OPTIMISE=no
4450 DEFAULT_wxUSE_DEBUG_FLAG=no
4451 DEFAULT_wxUSE_DEBUG_INFO=no
4455 DEFAULT_wxUSE_DEBUG_FLAG=yes
4456 DEFAULT_wxUSE_DEBUG_INFO=no
4461 enablestring=disable
4463 if test -z "$defaultval"; then
4464 if test x"$enablestring" = xdisable; then
4471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4473 # Check whether --enable-debug_flag was given.
4474 if test "${enable_debug_flag+set}" = set; then
4475 enableval=$enable_debug_flag;
4476 if test "$enableval" = yes; then
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4479 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4484 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4489 eval "$wx_cv_use_debug_flag"
4491 if test x"$enablestring" = xdisable; then
4492 if test $wxUSE_DEBUG_FLAG = no; then
4498 result=$wxUSE_DEBUG_FLAG
4501 { echo "$as_me:$LINENO: result
: $result" >&5
4502 echo "${ECHO_T}$result" >&6; }
4507 if test -z "$defaultval"; then
4508 if test x"$enablestring" = xdisable; then
4515 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4516 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4517 # Check whether --enable-debug_info was given.
4518 if test "${enable_debug_info+set}" = set; then
4519 enableval=$enable_debug_info;
4520 if test "$enableval" = yes; then
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4523 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4528 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4533 eval "$wx_cv_use_debug_info"
4535 if test x
"$enablestring" = xdisable
; then
4536 if test $wxUSE_DEBUG_INFO = no
; then
4542 result
=$wxUSE_DEBUG_INFO
4545 { echo "$as_me:$LINENO: result: $result" >&5
4546 echo "${ECHO_T}$result" >&6; }
4553 if test -z "$defaultval"; then
4554 if test x
"$enablestring" = xdisable
; then
4561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4563 # Check whether --enable-debug_gdb was given.
4564 if test "${enable_debug_gdb+set}" = set; then
4565 enableval
=$enable_debug_gdb;
4566 if test "$enableval" = yes; then
4567 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4569 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4574 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4579 eval "$wx_cv_use_debug_gdb"
4581 if test x"$enablestring" = xdisable; then
4582 if test $wxUSE_DEBUG_GDB = no; then
4588 result=$wxUSE_DEBUG_GDB
4591 { echo "$as_me:$LINENO: result: $result" >&5
4592 echo "${ECHO_T}$result" >&6; }
4597 if test -z "$defaultval"; then
4598 if test x"$enablestring" = xdisable; then
4605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4606 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4607 # Check whether --enable-debug_cntxt was given.
4608 if test "${enable_debug_cntxt+set}" = set; then
4609 enableval=$enable_debug_cntxt;
4610 if test "$enableval" = yes; then
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4613 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4618 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4623 eval "$wx_cv_use_debug_cntxt"
4625 if test x"$enablestring" = xdisable; then
4626 if test $wxUSE_DEBUG_CONTEXT = no; then
4632 result=$wxUSE_DEBUG_CONTEXT
4635 { echo "$as_me:$LINENO: result
: $result" >&5
4636 echo "${ECHO_T}$result" >&6; }
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4649 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4650 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4651 # Check whether --enable-mem_tracing was given.
4652 if test "${enable_mem_tracing+set}" = set; then
4653 enableval=$enable_mem_tracing;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4657 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4662 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4667 eval "$wx_cv_use_mem_tracing"
4669 if test x
"$enablestring" = xdisable
; then
4670 if test $wxUSE_MEM_TRACING = no
; then
4676 result
=$wxUSE_MEM_TRACING
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4685 enablestring
=disable
4687 if test -z "$defaultval"; then
4688 if test x
"$enablestring" = xdisable
; then
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4697 # Check whether --enable-shared was given.
4698 if test "${enable_shared+set}" = set; then
4699 enableval
=$enable_shared;
4700 if test "$enableval" = yes; then
4701 wx_cv_use_shared
='wxUSE_SHARED=yes'
4703 wx_cv_use_shared
='wxUSE_SHARED=no'
4708 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4713 eval "$wx_cv_use_shared"
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_SHARED = no; then
4722 result=$wxUSE_SHARED
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4741 # Check whether --enable-stl was given.
4742 if test "${enable_stl+set}" = set; then
4743 enableval=$enable_stl;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_stl='wxUSE_STL
=yes'
4747 wx_cv_use_stl='wxUSE_STL
=no
'
4752 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4757 eval "$wx_cv_use_stl"
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_STL = no; then
4769 { echo "$as_me:$LINENO: result
: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4775 if test -z "$defaultval"; then
4776 if test x"$enablestring" = xdisable; then
4783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4784 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4785 # Check whether --enable-std_iostreams was given.
4786 if test "${enable_std_iostreams+set}" = set; then
4787 enableval=$enable_std_iostreams;
4788 if test "$enableval" = yes; then
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4791 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4796 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4801 eval "$wx_cv_use_std_iostreams"
4803 if test x
"$enablestring" = xdisable
; then
4804 if test $wxUSE_STD_IOSTREAM = no
; then
4810 result
=$wxUSE_STD_IOSTREAM
4813 { echo "$as_me:$LINENO: result: $result" >&5
4814 echo "${ECHO_T}$result" >&6; }
4819 if test -z "$defaultval"; then
4820 if test x
"$enablestring" = xdisable
; then
4827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4828 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4829 # Check whether --enable-std_string was given.
4830 if test "${enable_std_string+set}" = set; then
4831 enableval
=$enable_std_string;
4832 if test "$enableval" = yes; then
4833 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4835 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4840 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4845 eval "$wx_cv_use_std_string"
4847 if test x"$enablestring" = xdisable; then
4848 if test $wxUSE_STD_STRING = no; then
4854 result=$wxUSE_STD_STRING
4857 { echo "$as_me:$LINENO: result: $result" >&5
4858 echo "${ECHO_T}$result" >&6; }
4861 enablestring=disable
4863 if test -z "$defaultval"; then
4864 if test x"$enablestring" = xdisable; then
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4873 # Check whether --enable-unicode was given.
4874 if test "${enable_unicode+set}" = set; then
4875 enableval=$enable_unicode;
4876 if test "$enableval" = yes; then
4877 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4879 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4884 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4889 eval "$wx_cv_use_unicode"
4891 if test x"$enablestring" = xdisable; then
4892 if test $wxUSE_UNICODE = no; then
4898 result=$wxUSE_UNICODE
4901 { echo "$as_me:$LINENO: result
: $result" >&5
4902 echo "${ECHO_T}$result" >&6; }
4907 if test -z "$defaultval"; then
4908 if test x"$enablestring" = xdisable; then
4915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4916 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4917 # Check whether --enable-mslu was given.
4918 if test "${enable_mslu+set}" = set; then
4919 enableval=$enable_mslu;
4920 if test "$enableval" = yes; then
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4923 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4928 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4933 eval "$wx_cv_use_mslu"
4935 if test x
"$enablestring" = xdisable
; then
4936 if test $wxUSE_UNICODE_MSLU = no
; then
4942 result
=$wxUSE_UNICODE_MSLU
4945 { echo "$as_me:$LINENO: result: $result" >&5
4946 echo "${ECHO_T}$result" >&6; }
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4952 # Check whether --enable-utf8 was given.
4953 if test "${enable_utf8+set}" = set; then
4954 enableval
=$enable_utf8;
4955 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4959 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4964 eval "$wx_cv_use_utf8"
4966 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4967 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4972 if test -z "$defaultval"; then
4973 if test x
"$enablestring" = xdisable
; then
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4982 # Check whether --enable-utf8only was given.
4983 if test "${enable_utf8only+set}" = set; then
4984 enableval
=$enable_utf8only;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4988 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4993 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4998 eval "$wx_cv_use_utf8only"
5000 if test x"$enablestring" = xdisable; then
5001 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5007 result=$wxUSE_UNICODE_UTF8_LOCALE
5010 { echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6; }
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5026 # Check whether --enable-extended_rtti was given.
5027 if test "${enable_extended_rtti+set}" = set; then
5028 enableval=$enable_extended_rtti;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5032 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5037 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5042 eval "$wx_cv_use_extended_rtti"
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_EXTENDED_RTTI = no; then
5051 result=$wxUSE_EXTENDED_RTTI
5054 { echo "$as_me:$LINENO: result
: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5057 if test "$USE_OS2" = 1; then
5058 DEFAULT_wxUSE_OMF=no
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5071 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5072 # Check whether --enable-omf was given.
5073 if test "${enable_omf+set}" = set; then
5074 enableval=$enable_omf;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_omf='wxUSE_OMF=yes'
5078 wx_cv_use_omf='wxUSE_OMF=no'
5083 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5088 eval "$wx_cv_use_omf"
5090 if test x
"$enablestring" = xdisable
; then
5091 if test $wxUSE_OMF = no
; then
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5106 enablestring
=disable
5108 if test -z "$defaultval"; then
5109 if test x
"$enablestring" = xdisable
; then
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5118 # Check whether --enable-optimise was given.
5119 if test "${enable_optimise+set}" = set; then
5120 enableval
=$enable_optimise;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5124 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5129 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5134 eval "$wx_cv_use_optimise"
5136 if test x"$enablestring" = xdisable; then
5137 if test $wxUSE_OPTIMISE = no; then
5143 result=$wxUSE_OPTIMISE
5146 { echo "$as_me:$LINENO: result: $result" >&5
5147 echo "${ECHO_T}$result" >&6; }
5153 if test -z "$defaultval"; then
5154 if test x"$enablestring" = xdisable; then
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5163 # Check whether --enable-profile was given.
5164 if test "${enable_profile+set}" = set; then
5165 enableval=$enable_profile;
5166 if test "$enableval" = yes; then
5167 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5169 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5174 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5179 eval "$wx_cv_use_profile"
5181 if test x"$enablestring" = xdisable; then
5182 if test $wxUSE_PROFILE = no; then
5188 result=$wxUSE_PROFILE
5191 { echo "$as_me:$LINENO: result
: $result" >&5
5192 echo "${ECHO_T}$result" >&6; }
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5205 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5206 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5207 # Check whether --enable-no_rtti was given.
5208 if test "${enable_no_rtti+set}" = set; then
5209 enableval=$enable_no_rtti;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5213 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5218 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5223 eval "$wx_cv_use_no_rtti"
5225 if test x
"$enablestring" = xdisable
; then
5226 if test $wxUSE_NO_RTTI = no
; then
5232 result
=$wxUSE_NO_RTTI
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5241 if test -z "$defaultval"; then
5242 if test x
"$enablestring" = xdisable
; then
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5251 # Check whether --enable-no_exceptions was given.
5252 if test "${enable_no_exceptions+set}" = set; then
5253 enableval
=$enable_no_exceptions;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5257 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5262 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5267 eval "$wx_cv_use_no_exceptions"
5269 if test x"$enablestring" = xdisable; then
5270 if test $wxUSE_NO_EXCEPTIONS = no; then
5276 result=$wxUSE_NO_EXCEPTIONS
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5295 # Check whether --enable-permissive was given.
5296 if test "${enable_permissive+set}" = set; then
5297 enableval=$enable_permissive;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5301 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5306 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5311 eval "$wx_cv_use_permissive"
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_PERMISSIVE = no; then
5320 result=$wxUSE_PERMISSIVE
5323 { echo "$as_me:$LINENO: result
: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5329 if test -z "$defaultval"; then
5330 if test x"$enablestring" = xdisable; then
5337 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5338 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5339 # Check whether --enable-no_deps was given.
5340 if test "${enable_no_deps+set}" = set; then
5341 enableval=$enable_no_deps;
5342 if test "$enableval" = yes; then
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5345 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5350 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5355 eval "$wx_cv_use_no_deps"
5357 if test x
"$enablestring" = xdisable
; then
5358 if test $wxUSE_NO_DEPS = no
; then
5364 result
=$wxUSE_NO_DEPS
5367 { echo "$as_me:$LINENO: result: $result" >&5
5368 echo "${ECHO_T}$result" >&6; }
5371 enablestring
=disable
5373 if test -z "$defaultval"; then
5374 if test x
"$enablestring" = xdisable
; then
5381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5383 # Check whether --enable-vararg_macros was given.
5384 if test "${enable_vararg_macros+set}" = set; then
5385 enableval
=$enable_vararg_macros;
5386 if test "$enableval" = yes; then
5387 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5389 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5394 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5399 eval "$wx_cv_use_vararg_macros"
5401 if test x"$enablestring" = xdisable; then
5402 if test $wxUSE_VARARG_MACROS = no; then
5408 result=$wxUSE_VARARG_MACROS
5411 { echo "$as_me:$LINENO: result: $result" >&5
5412 echo "${ECHO_T}$result" >&6; }
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5419 # Check whether --enable-universal_binary was given.
5420 if test "${enable_universal_binary+set}" = set; then
5421 enableval=$enable_universal_binary;
5422 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5426 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5431 eval "$wx_cv_use_universal_binary"
5433 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5434 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5440 # Check whether --enable-macosx_arch was given.
5441 if test "${enable_macosx_arch+set}" = set; then
5442 enableval=$enable_macosx_arch;
5443 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5447 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
5452 eval "$wx_cv_use_macosx_arch"
5454 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5455 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5461 if test -z "$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5471 # Check whether --enable-compat26 was given.
5472 if test "${enable_compat26+set}" = set; then
5473 enableval=$enable_compat26;
5474 if test "$enableval" = yes; then
5475 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5477 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5482 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5487 eval "$wx_cv_use_compat26"
5489 if test x"$enablestring" = xdisable; then
5490 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5496 result=$WXWIN_COMPATIBILITY_2_6
5499 { echo "$as_me:$LINENO: result
: $result" >&5
5500 echo "${ECHO_T}$result" >&6; }
5503 enablestring=disable
5505 if test -z "$defaultval"; then
5506 if test x"$enablestring" = xdisable; then
5513 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5514 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5515 # Check whether --enable-compat28 was given.
5516 if test "${enable_compat28+set}" = set; then
5517 enableval=$enable_compat28;
5518 if test "$enableval" = yes; then
5519 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5521 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5526 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5531 eval "$wx_cv_use_compat28"
5533 if test x
"$enablestring" = xdisable
; then
5534 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5540 result
=$WXWIN_COMPATIBILITY_2_8
5543 { echo "$as_me:$LINENO: result: $result" >&5
5544 echo "${ECHO_T}$result" >&6; }
5548 enablestring
=disable
5550 if test -z "$defaultval"; then
5551 if test x
"$enablestring" = xdisable
; then
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5560 # Check whether --enable-rpath was given.
5561 if test "${enable_rpath+set}" = set; then
5562 enableval
=$enable_rpath;
5563 if test "$enableval" = yes; then
5564 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5566 wx_cv_use_rpath
='wxUSE_RPATH=no'
5571 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5576 eval "$wx_cv_use_rpath"
5578 if test x"$enablestring" = xdisable; then
5579 if test $wxUSE_RPATH = no; then
5588 { echo "$as_me:$LINENO: result: $result" >&5
5589 echo "${ECHO_T}$result" >&6; }
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5605 # Check whether --enable-objc_uniquifying was given.
5606 if test "${enable_objc_uniquifying+set}" = set; then
5607 enableval=$enable_objc_uniquifying;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5611 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5616 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5621 eval "$wx_cv_use_objc_uniquifying"
5623 if test x"$enablestring" = xdisable; then
5624 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5630 result=$wxUSE_OBJC_UNIQUIFYING
5633 { echo "$as_me:$LINENO: result
: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5638 enablestring=disable
5640 if test -z "$defaultval"; then
5641 if test x"$enablestring" = xdisable; then
5648 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5649 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5650 # Check whether --enable-visibility was given.
5651 if test "${enable_visibility+set}" = set; then
5652 enableval=$enable_visibility;
5653 if test "$enableval" = yes; then
5654 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5656 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5661 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5666 eval "$wx_cv_use_visibility"
5668 if test x
"$enablestring" = xdisable
; then
5669 if test $wxUSE_VISIBILITY = no
; then
5675 result
=$wxUSE_VISIBILITY
5678 { echo "$as_me:$LINENO: result: $result" >&5
5679 echo "${ECHO_T}$result" >&6; }
5682 enablestring
=disable
5684 if test -z "$defaultval"; then
5685 if test x
"$enablestring" = xdisable
; then
5692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5694 # Check whether --enable-tls was given.
5695 if test "${enable_tls+set}" = set; then
5696 enableval
=$enable_tls;
5697 if test "$enableval" = yes; then
5698 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5700 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5705 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5710 eval "$wx_cv_use_tls"
5712 if test x"$enablestring" = xdisable; then
5713 if test $wxUSE_COMPILER_TLS = no; then
5719 result=$wxUSE_COMPILER_TLS
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5729 defaultval=$wxUSE_ALL_FEATURES
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5740 # Check whether --enable-intl was given.
5741 if test "${enable_intl+set}" = set; then
5742 enableval=$enable_intl;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_intl='wxUSE_INTL
=yes'
5746 wx_cv_use_intl='wxUSE_INTL
=no
'
5751 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5756 eval "$wx_cv_use_intl"
5758 if test x"$enablestring" = xdisable; then
5759 if test $wxUSE_INTL = no; then
5768 { echo "$as_me:$LINENO: result
: $result" >&5
5769 echo "${ECHO_T}$result" >&6; }
5773 defaultval=$wxUSE_ALL_FEATURES
5774 if test -z "$defaultval"; then
5775 if test x"$enablestring" = xdisable; then
5782 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5783 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5784 # Check whether --enable-xlocale was given.
5785 if test "${enable_xlocale+set}" = set; then
5786 enableval=$enable_xlocale;
5787 if test "$enableval" = yes; then
5788 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5790 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5795 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5800 eval "$wx_cv_use_xlocale"
5802 if test x
"$enablestring" = xdisable
; then
5803 if test $wxUSE_XLOCALE = no
; then
5809 result
=$wxUSE_XLOCALE
5812 { echo "$as_me:$LINENO: result: $result" >&5
5813 echo "${ECHO_T}$result" >&6; }
5817 defaultval
=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x
"$enablestring" = xdisable
; then
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5828 # Check whether --enable-config was given.
5829 if test "${enable_config+set}" = set; then
5830 enableval
=$enable_config;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_config
='wxUSE_CONFIG=yes'
5834 wx_cv_use_config
='wxUSE_CONFIG=no'
5839 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5844 eval "$wx_cv_use_config"
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_CONFIG = no; then
5853 result=$wxUSE_CONFIG
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5862 defaultval=$wxUSE_ALL_FEATURES
5863 if test -z "$defaultval"; then
5864 if test x"$enablestring" = xdisable; then
5871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5873 # Check whether --enable-protocols was given.
5874 if test "${enable_protocols+set}" = set; then
5875 enableval=$enable_protocols;
5876 if test "$enableval" = yes; then
5877 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5879 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5884 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5889 eval "$wx_cv_use_protocols"
5891 if test x"$enablestring" = xdisable; then
5892 if test $wxUSE_PROTOCOL = no; then
5898 result=$wxUSE_PROTOCOL
5901 { echo "$as_me:$LINENO: result
: $result" >&5
5902 echo "${ECHO_T}$result" >&6; }
5906 defaultval=$wxUSE_ALL_FEATURES
5907 if test -z "$defaultval"; then
5908 if test x"$enablestring" = xdisable; then
5915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5916 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5917 # Check whether --enable-ftp was given.
5918 if test "${enable_ftp+set}" = set; then
5919 enableval=$enable_ftp;
5920 if test "$enableval" = yes; then
5921 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5923 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5928 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5933 eval "$wx_cv_use_ftp"
5935 if test x
"$enablestring" = xdisable
; then
5936 if test $wxUSE_PROTOCOL_FTP = no
; then
5942 result
=$wxUSE_PROTOCOL_FTP
5945 { echo "$as_me:$LINENO: result: $result" >&5
5946 echo "${ECHO_T}$result" >&6; }
5950 defaultval
=$wxUSE_ALL_FEATURES
5951 if test -z "$defaultval"; then
5952 if test x
"$enablestring" = xdisable
; then
5959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5960 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5961 # Check whether --enable-http was given.
5962 if test "${enable_http+set}" = set; then
5963 enableval
=$enable_http;
5964 if test "$enableval" = yes; then
5965 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5967 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5972 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5977 eval "$wx_cv_use_http"
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_PROTOCOL_HTTP = no; then
5986 result=$wxUSE_PROTOCOL_HTTP
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5994 defaultval=$wxUSE_ALL_FEATURES
5995 if test -z "$defaultval"; then
5996 if test x"$enablestring" = xdisable; then
6003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6005 # Check whether --enable-fileproto was given.
6006 if test "${enable_fileproto+set}" = set; then
6007 enableval=$enable_fileproto;
6008 if test "$enableval" = yes; then
6009 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
6011 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
6016 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6021 eval "$wx_cv_use_fileproto"
6023 if test x"$enablestring" = xdisable; then
6024 if test $wxUSE_PROTOCOL_FILE = no; then
6030 result=$wxUSE_PROTOCOL_FILE
6033 { echo "$as_me:$LINENO: result
: $result" >&5
6034 echo "${ECHO_T}$result" >&6; }
6038 defaultval=$wxUSE_ALL_FEATURES
6039 if test -z "$defaultval"; then
6040 if test x"$enablestring" = xdisable; then
6047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6048 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6049 # Check whether --enable-sockets was given.
6050 if test "${enable_sockets+set}" = set; then
6051 enableval=$enable_sockets;
6052 if test "$enableval" = yes; then
6053 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6055 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6060 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6065 eval "$wx_cv_use_sockets"
6067 if test x
"$enablestring" = xdisable
; then
6068 if test $wxUSE_SOCKETS = no
; then
6074 result
=$wxUSE_SOCKETS
6077 { echo "$as_me:$LINENO: result: $result" >&5
6078 echo "${ECHO_T}$result" >&6; }
6082 defaultval
=$wxUSE_ALL_FEATURES
6083 if test -z "$defaultval"; then
6084 if test x
"$enablestring" = xdisable
; then
6091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6093 # Check whether --enable-ipv6 was given.
6094 if test "${enable_ipv6+set}" = set; then
6095 enableval
=$enable_ipv6;
6096 if test "$enableval" = yes; then
6097 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6099 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6104 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6109 eval "$wx_cv_use_ipv6"
6111 if test x"$enablestring" = xdisable; then
6112 if test $wxUSE_IPV6 = no; then
6121 { echo "$as_me:$LINENO: result: $result" >&5
6122 echo "${ECHO_T}$result" >&6; }
6126 defaultval=$wxUSE_ALL_FEATURES
6127 if test -z "$defaultval"; then
6128 if test x"$enablestring" = xdisable; then
6135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6137 # Check whether --enable-ole was given.
6138 if test "${enable_ole+set}" = set; then
6139 enableval=$enable_ole;
6140 if test "$enableval" = yes; then
6141 wx_cv_use_ole='wxUSE_OLE
=yes'
6143 wx_cv_use_ole='wxUSE_OLE
=no
'
6148 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6153 eval "$wx_cv_use_ole"
6155 if test x"$enablestring" = xdisable; then
6156 if test $wxUSE_OLE = no; then
6165 { echo "$as_me:$LINENO: result
: $result" >&5
6166 echo "${ECHO_T}$result" >&6; }
6170 defaultval=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x"$enablestring" = xdisable; then
6179 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6180 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6181 # Check whether --enable-dataobj was given.
6182 if test "${enable_dataobj+set}" = set; then
6183 enableval=$enable_dataobj;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6187 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6192 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6197 eval "$wx_cv_use_dataobj"
6199 if test x
"$enablestring" = xdisable
; then
6200 if test $wxUSE_DATAOBJ = no
; then
6206 result
=$wxUSE_DATAOBJ
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6215 defaultval
=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x
"$enablestring" = xdisable
; then
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6226 # Check whether --enable-ipc was given.
6227 if test "${enable_ipc+set}" = set; then
6228 enableval
=$enable_ipc;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_ipc
='wxUSE_IPC=yes'
6232 wx_cv_use_ipc
='wxUSE_IPC=no'
6237 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6242 eval "$wx_cv_use_ipc"
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_IPC = no; then
6254 { echo "$as_me:$LINENO: result: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6260 defaultval=$wxUSE_ALL_FEATURES
6261 if test -z "$defaultval"; then
6262 if test x"$enablestring" = xdisable; then
6269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6271 # Check whether --enable-baseevtloop was given.
6272 if test "${enable_baseevtloop+set}" = set; then
6273 enableval=$enable_baseevtloop;
6274 if test "$enableval" = yes; then
6275 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6277 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6282 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6287 eval "$wx_cv_use_baseevtloop"
6289 if test x"$enablestring" = xdisable; then
6290 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6296 result=$wxUSE_CONSOLE_EVENTLOOP
6299 { echo "$as_me:$LINENO: result
: $result" >&5
6300 echo "${ECHO_T}$result" >&6; }
6304 defaultval=$wxUSE_ALL_FEATURES
6305 if test -z "$defaultval"; then
6306 if test x"$enablestring" = xdisable; then
6313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6314 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6315 # Check whether --enable-epollloop was given.
6316 if test "${enable_epollloop+set}" = set; then
6317 enableval=$enable_epollloop;
6318 if test "$enableval" = yes; then
6319 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6321 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6326 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6331 eval "$wx_cv_use_epollloop"
6333 if test x
"$enablestring" = xdisable
; then
6334 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6340 result
=$wxUSE_EPOLL_DISPATCHER
6343 { echo "$as_me:$LINENO: result: $result" >&5
6344 echo "${ECHO_T}$result" >&6; }
6348 defaultval
=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x
"$enablestring" = xdisable
; then
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6359 # Check whether --enable-selectloop was given.
6360 if test "${enable_selectloop+set}" = set; then
6361 enableval
=$enable_selectloop;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6365 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6370 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6375 eval "$wx_cv_use_selectloop"
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_SELECT_DISPATCHER = no; then
6384 result=$wxUSE_SELECT_DISPATCHER
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6393 defaultval=$wxUSE_ALL_FEATURES
6394 if test -z "$defaultval"; then
6395 if test x"$enablestring" = xdisable; then
6402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6404 # Check whether --enable-any was given.
6405 if test "${enable_any+set}" = set; then
6406 enableval=$enable_any;
6407 if test "$enableval" = yes; then
6408 wx_cv_use_any='wxUSE_ANY
=yes'
6410 wx_cv_use_any='wxUSE_ANY
=no
'
6415 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6420 eval "$wx_cv_use_any"
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_ANY = no; then
6432 { echo "$as_me:$LINENO: result
: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6446 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6447 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6448 # Check whether --enable-apple_ieee was given.
6449 if test "${enable_apple_ieee+set}" = set; then
6450 enableval=$enable_apple_ieee;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6454 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6459 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6464 eval "$wx_cv_use_apple_ieee"
6466 if test x
"$enablestring" = xdisable
; then
6467 if test $wxUSE_APPLE_IEEE = no
; then
6473 result
=$wxUSE_APPLE_IEEE
6476 { echo "$as_me:$LINENO: result: $result" >&5
6477 echo "${ECHO_T}$result" >&6; }
6481 defaultval
=$wxUSE_ALL_FEATURES
6482 if test -z "$defaultval"; then
6483 if test x
"$enablestring" = xdisable
; then
6490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6492 # Check whether --enable-arcstream was given.
6493 if test "${enable_arcstream+set}" = set; then
6494 enableval
=$enable_arcstream;
6495 if test "$enableval" = yes; then
6496 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6498 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6503 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6508 eval "$wx_cv_use_arcstream"
6510 if test x"$enablestring" = xdisable; then
6511 if test $wxUSE_ARCHIVE_STREAMS = no; then
6517 result=$wxUSE_ARCHIVE_STREAMS
6520 { echo "$as_me:$LINENO: result: $result" >&5
6521 echo "${ECHO_T}$result" >&6; }
6525 defaultval=$wxUSE_ALL_FEATURES
6526 if test -z "$defaultval"; then
6527 if test x"$enablestring" = xdisable; then
6534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6536 # Check whether --enable-base64 was given.
6537 if test "${enable_base64+set}" = set; then
6538 enableval=$enable_base64;
6539 if test "$enableval" = yes; then
6540 wx_cv_use_base64='wxUSE_BASE64
=yes'
6542 wx_cv_use_base64='wxUSE_BASE64
=no
'
6547 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6552 eval "$wx_cv_use_base64"
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_BASE64 = no; then
6561 result=$wxUSE_BASE64
6564 { echo "$as_me:$LINENO: result
: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6578 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6579 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6580 # Check whether --enable-backtrace was given.
6581 if test "${enable_backtrace+set}" = set; then
6582 enableval=$enable_backtrace;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6586 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6591 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6596 eval "$wx_cv_use_backtrace"
6598 if test x
"$enablestring" = xdisable
; then
6599 if test $wxUSE_STACKWALKER = no
; then
6605 result
=$wxUSE_STACKWALKER
6608 { echo "$as_me:$LINENO: result: $result" >&5
6609 echo "${ECHO_T}$result" >&6; }
6613 defaultval
=$wxUSE_ALL_FEATURES
6614 if test -z "$defaultval"; then
6615 if test x
"$enablestring" = xdisable
; then
6622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6624 # Check whether --enable-catch_segvs was given.
6625 if test "${enable_catch_segvs+set}" = set; then
6626 enableval
=$enable_catch_segvs;
6627 if test "$enableval" = yes; then
6628 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6630 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6635 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6640 eval "$wx_cv_use_catch_segvs"
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6649 result=$wxUSE_ON_FATAL_EXCEPTION
6652 { echo "$as_me:$LINENO: result: $result" >&5
6653 echo "${ECHO_T}$result" >&6; }
6657 defaultval=$wxUSE_ALL_FEATURES
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6668 # Check whether --enable-cmdline was given.
6669 if test "${enable_cmdline+set}" = set; then
6670 enableval=$enable_cmdline;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6674 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6679 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6684 eval "$wx_cv_use_cmdline"
6686 if test x"$enablestring" = xdisable; then
6687 if test $wxUSE_CMDLINE_PARSER = no; then
6693 result=$wxUSE_CMDLINE_PARSER
6696 { echo "$as_me:$LINENO: result
: $result" >&5
6697 echo "${ECHO_T}$result" >&6; }
6701 defaultval=$wxUSE_ALL_FEATURES
6702 if test -z "$defaultval"; then
6703 if test x"$enablestring" = xdisable; then
6710 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6711 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6712 # Check whether --enable-datetime was given.
6713 if test "${enable_datetime+set}" = set; then
6714 enableval=$enable_datetime;
6715 if test "$enableval" = yes; then
6716 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6718 wx_cv_use_datetime='wxUSE_DATETIME=no'
6723 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6728 eval "$wx_cv_use_datetime"
6730 if test x
"$enablestring" = xdisable
; then
6731 if test $wxUSE_DATETIME = no
; then
6737 result
=$wxUSE_DATETIME
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6745 defaultval
=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x
"$enablestring" = xdisable
; then
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6756 # Check whether --enable-debugreport was given.
6757 if test "${enable_debugreport+set}" = set; then
6758 enableval
=$enable_debugreport;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6762 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6767 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6772 eval "$wx_cv_use_debugreport"
6774 if test x"$enablestring" = xdisable; then
6775 if test $wxUSE_DEBUGREPORT = no; then
6781 result=$wxUSE_DEBUGREPORT
6784 { echo "$as_me:$LINENO: result: $result" >&5
6785 echo "${ECHO_T}$result" >&6; }
6789 defaultval=$wxUSE_ALL_FEATURES
6790 if test -z "$defaultval"; then
6791 if test x"$enablestring" = xdisable; then
6798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6800 # Check whether --enable-dialupman was given.
6801 if test "${enable_dialupman+set}" = set; then
6802 enableval=$enable_dialupman;
6803 if test "$enableval" = yes; then
6804 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6806 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6811 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6816 eval "$wx_cv_use_dialupman"
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_DIALUP_MANAGER = no; then
6825 result=$wxUSE_DIALUP_MANAGER
6828 { echo "$as_me:$LINENO: result
: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6833 defaultval=$wxUSE_ALL_FEATURES
6834 if test -z "$defaultval"; then
6835 if test x"$enablestring" = xdisable; then
6842 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6843 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6844 # Check whether --enable-dynlib was given.
6845 if test "${enable_dynlib+set}" = set; then
6846 enableval=$enable_dynlib;
6847 if test "$enableval" = yes; then
6848 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6850 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6855 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6860 eval "$wx_cv_use_dynlib"
6862 if test x
"$enablestring" = xdisable
; then
6863 if test $wxUSE_DYNLIB_CLASS = no
; then
6869 result
=$wxUSE_DYNLIB_CLASS
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6877 defaultval
=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x
"$enablestring" = xdisable
; then
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6888 # Check whether --enable-dynamicloader was given.
6889 if test "${enable_dynamicloader+set}" = set; then
6890 enableval
=$enable_dynamicloader;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6894 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6899 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6904 eval "$wx_cv_use_dynamicloader"
6906 if test x"$enablestring" = xdisable; then
6907 if test $wxUSE_DYNAMIC_LOADER = no; then
6913 result=$wxUSE_DYNAMIC_LOADER
6916 { echo "$as_me:$LINENO: result: $result" >&5
6917 echo "${ECHO_T}$result" >&6; }
6921 defaultval=$wxUSE_ALL_FEATURES
6922 if test -z "$defaultval"; then
6923 if test x"$enablestring" = xdisable; then
6930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6932 # Check whether --enable-exceptions was given.
6933 if test "${enable_exceptions+set}" = set; then
6934 enableval=$enable_exceptions;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6938 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6943 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6948 eval "$wx_cv_use_exceptions"
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_EXCEPTIONS = no; then
6957 result=$wxUSE_EXCEPTIONS
6960 { echo "$as_me:$LINENO: result
: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6975 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6976 # Check whether --enable-ffile was given.
6977 if test "${enable_ffile+set}" = set; then
6978 enableval=$enable_ffile;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_ffile='wxUSE_FFILE=yes'
6982 wx_cv_use_ffile='wxUSE_FFILE=no'
6987 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6992 eval "$wx_cv_use_ffile"
6994 if test x
"$enablestring" = xdisable
; then
6995 if test $wxUSE_FFILE = no
; then
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7009 defaultval
=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x
"$enablestring" = xdisable
; then
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7020 # Check whether --enable-file was given.
7021 if test "${enable_file+set}" = set; then
7022 enableval
=$enable_file;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_file
='wxUSE_FILE=yes'
7026 wx_cv_use_file
='wxUSE_FILE=no'
7031 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7036 eval "$wx_cv_use_file"
7038 if test x"$enablestring" = xdisable; then
7039 if test $wxUSE_FILE = no; then
7048 { echo "$as_me:$LINENO: result: $result" >&5
7049 echo "${ECHO_T}$result" >&6; }
7053 defaultval=$wxUSE_ALL_FEATURES
7054 if test -z "$defaultval"; then
7055 if test x"$enablestring" = xdisable; then
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7064 # Check whether --enable-filehistory was given.
7065 if test "${enable_filehistory+set}" = set; then
7066 enableval=$enable_filehistory;
7067 if test "$enableval" = yes; then
7068 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7070 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7075 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7080 eval "$wx_cv_use_filehistory"
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_FILE_HISTORY = no; then
7089 result=$wxUSE_FILE_HISTORY
7092 { echo "$as_me:$LINENO: result
: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7106 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7107 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7108 # Check whether --enable-filesystem was given.
7109 if test "${enable_filesystem+set}" = set; then
7110 enableval=$enable_filesystem;
7111 if test "$enableval" = yes; then
7112 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7114 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7119 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7124 eval "$wx_cv_use_filesystem"
7126 if test x
"$enablestring" = xdisable
; then
7127 if test $wxUSE_FILESYSTEM = no
; then
7133 result
=$wxUSE_FILESYSTEM
7136 { echo "$as_me:$LINENO: result: $result" >&5
7137 echo "${ECHO_T}$result" >&6; }
7141 defaultval
=$wxUSE_ALL_FEATURES
7142 if test -z "$defaultval"; then
7143 if test x
"$enablestring" = xdisable
; then
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7152 # Check whether --enable-fontenum was given.
7153 if test "${enable_fontenum+set}" = set; then
7154 enableval
=$enable_fontenum;
7155 if test "$enableval" = yes; then
7156 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7158 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7163 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7168 eval "$wx_cv_use_fontenum"
7170 if test x"$enablestring" = xdisable; then
7171 if test $wxUSE_FONTENUM = no; then
7177 result=$wxUSE_FONTENUM
7180 { echo "$as_me:$LINENO: result: $result" >&5
7181 echo "${ECHO_T}$result" >&6; }
7185 defaultval=$wxUSE_ALL_FEATURES
7186 if test -z "$defaultval"; then
7187 if test x"$enablestring" = xdisable; then
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7196 # Check whether --enable-fontmap was given.
7197 if test "${enable_fontmap+set}" = set; then
7198 enableval=$enable_fontmap;
7199 if test "$enableval" = yes; then
7200 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7202 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7207 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7212 eval "$wx_cv_use_fontmap"
7214 if test x"$enablestring" = xdisable; then
7215 if test $wxUSE_FONTMAP = no; then
7221 result=$wxUSE_FONTMAP
7224 { echo "$as_me:$LINENO: result
: $result" >&5
7225 echo "${ECHO_T}$result" >&6; }
7229 defaultval=$wxUSE_ALL_FEATURES
7230 if test -z "$defaultval"; then
7231 if test x"$enablestring" = xdisable; then
7238 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7239 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7240 # Check whether --enable-fs_archive was given.
7241 if test "${enable_fs_archive+set}" = set; then
7242 enableval=$enable_fs_archive;
7243 if test "$enableval" = yes; then
7244 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7246 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7251 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7256 eval "$wx_cv_use_fs_archive"
7258 if test x
"$enablestring" = xdisable
; then
7259 if test $wxUSE_FS_ARCHIVE = no
; then
7265 result
=$wxUSE_FS_ARCHIVE
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7273 defaultval
=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x
"$enablestring" = xdisable
; then
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7284 # Check whether --enable-fs_inet was given.
7285 if test "${enable_fs_inet+set}" = set; then
7286 enableval
=$enable_fs_inet;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7290 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7295 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7300 eval "$wx_cv_use_fs_inet"
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_FS_INET = no; then
7309 result=$wxUSE_FS_INET
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7328 # Check whether --enable-fs_zip was given.
7329 if test "${enable_fs_zip+set}" = set; then
7330 enableval=$enable_fs_zip;
7331 if test "$enableval" = yes; then
7332 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7334 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7339 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7344 eval "$wx_cv_use_fs_zip"
7346 if test x"$enablestring" = xdisable; then
7347 if test $wxUSE_FS_ZIP = no; then
7353 result=$wxUSE_FS_ZIP
7356 { echo "$as_me:$LINENO: result
: $result" >&5
7357 echo "${ECHO_T}$result" >&6; }
7361 defaultval=$wxUSE_ALL_FEATURES
7362 if test -z "$defaultval"; then
7363 if test x"$enablestring" = xdisable; then
7370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7371 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7372 # Check whether --enable-fswatcher was given.
7373 if test "${enable_fswatcher+set}" = set; then
7374 enableval=$enable_fswatcher;
7375 if test "$enableval" = yes; then
7376 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7378 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7383 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7388 eval "$wx_cv_use_fswatcher"
7390 if test x
"$enablestring" = xdisable
; then
7391 if test $wxUSE_FSWATCHER = no
; then
7397 result
=$wxUSE_FSWATCHER
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7405 defaultval
=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x
"$enablestring" = xdisable
; then
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7416 # Check whether --enable-geometry was given.
7417 if test "${enable_geometry+set}" = set; then
7418 enableval
=$enable_geometry;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7422 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7427 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7432 eval "$wx_cv_use_geometry"
7434 if test x"$enablestring" = xdisable; then
7435 if test $wxUSE_GEOMETRY = no; then
7441 result=$wxUSE_GEOMETRY
7444 { echo "$as_me:$LINENO: result: $result" >&5
7445 echo "${ECHO_T}$result" >&6; }
7449 defaultval=$wxUSE_ALL_FEATURES
7450 if test -z "$defaultval"; then
7451 if test x"$enablestring" = xdisable; then
7458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7460 # Check whether --enable-log was given.
7461 if test "${enable_log+set}" = set; then
7462 enableval=$enable_log;
7463 if test "$enableval" = yes; then
7464 wx_cv_use_log='wxUSE_LOG
=yes'
7466 wx_cv_use_log='wxUSE_LOG
=no
'
7471 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7476 eval "$wx_cv_use_log"
7478 if test x"$enablestring" = xdisable; then
7479 if test $wxUSE_LOG = no; then
7488 { echo "$as_me:$LINENO: result
: $result" >&5
7489 echo "${ECHO_T}$result" >&6; }
7493 defaultval=$wxUSE_ALL_FEATURES
7494 if test -z "$defaultval"; then
7495 if test x"$enablestring" = xdisable; then
7502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7503 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7504 # Check whether --enable-longlong was given.
7505 if test "${enable_longlong+set}" = set; then
7506 enableval=$enable_longlong;
7507 if test "$enableval" = yes; then
7508 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7510 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7515 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7520 eval "$wx_cv_use_longlong"
7522 if test x
"$enablestring" = xdisable
; then
7523 if test $wxUSE_LONGLONG = no
; then
7529 result
=$wxUSE_LONGLONG
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7537 defaultval
=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x
"$enablestring" = xdisable
; then
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7548 # Check whether --enable-mimetype was given.
7549 if test "${enable_mimetype+set}" = set; then
7550 enableval
=$enable_mimetype;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7554 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7559 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7564 eval "$wx_cv_use_mimetype"
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_MIMETYPE = no; then
7573 result=$wxUSE_MIMETYPE
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7592 # Check whether --enable-printfposparam was given.
7593 if test "${enable_printfposparam+set}" = set; then
7594 enableval=$enable_printfposparam;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7598 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7603 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7608 eval "$wx_cv_use_printfposparam"
7610 if test x"$enablestring" = xdisable; then
7611 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7617 result=$wxUSE_PRINTF_POS_PARAMS
7620 { echo "$as_me:$LINENO: result
: $result" >&5
7621 echo "${ECHO_T}$result" >&6; }
7625 defaultval=$wxUSE_ALL_FEATURES
7626 if test -z "$defaultval"; then
7627 if test x"$enablestring" = xdisable; then
7634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7635 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7636 # Check whether --enable-snglinst was given.
7637 if test "${enable_snglinst+set}" = set; then
7638 enableval=$enable_snglinst;
7639 if test "$enableval" = yes; then
7640 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7642 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7647 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7652 eval "$wx_cv_use_snglinst"
7654 if test x
"$enablestring" = xdisable
; then
7655 if test $wxUSE_SNGLINST_CHECKER = no
; then
7661 result
=$wxUSE_SNGLINST_CHECKER
7664 { echo "$as_me:$LINENO: result: $result" >&5
7665 echo "${ECHO_T}$result" >&6; }
7669 defaultval
=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x
"$enablestring" = xdisable
; then
7678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7680 # Check whether --enable-sound was given.
7681 if test "${enable_sound+set}" = set; then
7682 enableval
=$enable_sound;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_sound
='wxUSE_SOUND=yes'
7686 wx_cv_use_sound
='wxUSE_SOUND=no'
7691 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7696 eval "$wx_cv_use_sound"
7698 if test x"$enablestring" = xdisable; then
7699 if test $wxUSE_SOUND = no; then
7708 { echo "$as_me:$LINENO: result: $result" >&5
7709 echo "${ECHO_T}$result" >&6; }
7713 defaultval=$wxUSE_ALL_FEATURES
7714 if test -z "$defaultval"; then
7715 if test x"$enablestring" = xdisable; then
7722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7723 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7724 # Check whether --enable-stdpaths was given.
7725 if test "${enable_stdpaths+set}" = set; then
7726 enableval=$enable_stdpaths;
7727 if test "$enableval" = yes; then
7728 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7730 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7735 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7740 eval "$wx_cv_use_stdpaths"
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_STDPATHS = no; then
7749 result=$wxUSE_STDPATHS
7752 { echo "$as_me:$LINENO: result
: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7766 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7767 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7768 # Check whether --enable-stopwatch was given.
7769 if test "${enable_stopwatch+set}" = set; then
7770 enableval=$enable_stopwatch;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7774 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7779 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7784 eval "$wx_cv_use_stopwatch"
7786 if test x
"$enablestring" = xdisable
; then
7787 if test $wxUSE_STOPWATCH = no
; then
7793 result
=$wxUSE_STOPWATCH
7796 { echo "$as_me:$LINENO: result: $result" >&5
7797 echo "${ECHO_T}$result" >&6; }
7801 defaultval
=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x
"$enablestring" = xdisable
; then
7810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7812 # Check whether --enable-streams was given.
7813 if test "${enable_streams+set}" = set; then
7814 enableval
=$enable_streams;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7818 wx_cv_use_streams
='wxUSE_STREAMS=no'
7823 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7828 eval "$wx_cv_use_streams"
7830 if test x"$enablestring" = xdisable; then
7831 if test $wxUSE_STREAMS = no; then
7837 result=$wxUSE_STREAMS
7840 { echo "$as_me:$LINENO: result: $result" >&5
7841 echo "${ECHO_T}$result" >&6; }
7845 defaultval=$wxUSE_ALL_FEATURES
7846 if test -z "$defaultval"; then
7847 if test x"$enablestring" = xdisable; then
7854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7856 # Check whether --enable-sysoptions was given.
7857 if test "${enable_sysoptions+set}" = set; then
7858 enableval=$enable_sysoptions;
7859 if test "$enableval" = yes; then
7860 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7862 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7867 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7872 eval "$wx_cv_use_sysoptions"
7874 if test x"$enablestring" = xdisable; then
7875 if test $wxUSE_SYSTEM_OPTIONS = no; then
7881 result=$wxUSE_SYSTEM_OPTIONS
7884 { echo "$as_me:$LINENO: result
: $result" >&5
7885 echo "${ECHO_T}$result" >&6; }
7889 defaultval=$wxUSE_ALL_FEATURES
7890 if test -z "$defaultval"; then
7891 if test x"$enablestring" = xdisable; then
7898 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7899 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7900 # Check whether --enable-tarstream was given.
7901 if test "${enable_tarstream+set}" = set; then
7902 enableval=$enable_tarstream;
7903 if test "$enableval" = yes; then
7904 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7906 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7911 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7916 eval "$wx_cv_use_tarstream"
7918 if test x
"$enablestring" = xdisable
; then
7919 if test $wxUSE_TARSTREAM = no
; then
7925 result
=$wxUSE_TARSTREAM
7928 { echo "$as_me:$LINENO: result: $result" >&5
7929 echo "${ECHO_T}$result" >&6; }
7933 defaultval
=$wxUSE_ALL_FEATURES
7934 if test -z "$defaultval"; then
7935 if test x
"$enablestring" = xdisable
; then
7942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7943 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7944 # Check whether --enable-textbuf was given.
7945 if test "${enable_textbuf+set}" = set; then
7946 enableval
=$enable_textbuf;
7947 if test "$enableval" = yes; then
7948 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7950 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7955 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7960 eval "$wx_cv_use_textbuf"
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_TEXTBUFFER = no; then
7969 result=$wxUSE_TEXTBUFFER
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7988 # Check whether --enable-textfile was given.
7989 if test "${enable_textfile+set}" = set; then
7990 enableval=$enable_textfile;
7991 if test "$enableval" = yes; then
7992 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7994 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7999 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8004 eval "$wx_cv_use_textfile"
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_TEXTFILE = no; then
8013 result=$wxUSE_TEXTFILE
8016 { echo "$as_me:$LINENO: result
: $result" >&5
8017 echo "${ECHO_T}$result" >&6; }
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8030 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8031 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8032 # Check whether --enable-timer was given.
8033 if test "${enable_timer+set}" = set; then
8034 enableval=$enable_timer;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_timer='wxUSE_TIMER=yes'
8038 wx_cv_use_timer='wxUSE_TIMER=no'
8043 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8048 eval "$wx_cv_use_timer"
8050 if test x
"$enablestring" = xdisable
; then
8051 if test $wxUSE_TIMER = no
; then
8060 { echo "$as_me:$LINENO: result: $result" >&5
8061 echo "${ECHO_T}$result" >&6; }
8065 defaultval
=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x
"$enablestring" = xdisable
; then
8074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8076 # Check whether --enable-variant was given.
8077 if test "${enable_variant+set}" = set; then
8078 enableval
=$enable_variant;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8082 wx_cv_use_variant
='wxUSE_VARIANT=no'
8087 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8092 eval "$wx_cv_use_variant"
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_VARIANT = no; then
8101 result=$wxUSE_VARIANT
8104 { echo "$as_me:$LINENO: result: $result" >&5
8105 echo "${ECHO_T}$result" >&6; }
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8120 # Check whether --enable-zipstream was given.
8121 if test "${enable_zipstream+set}" = set; then
8122 enableval=$enable_zipstream;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8126 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8131 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8136 eval "$wx_cv_use_zipstream"
8138 if test x"$enablestring" = xdisable; then
8139 if test $wxUSE_ZIPSTREAM = no; then
8145 result=$wxUSE_ZIPSTREAM
8148 { echo "$as_me:$LINENO: result
: $result" >&5
8149 echo "${ECHO_T}$result" >&6; }
8154 defaultval=$wxUSE_ALL_FEATURES
8155 if test -z "$defaultval"; then
8156 if test x"$enablestring" = xdisable; then
8163 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8164 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8165 # Check whether --enable-url was given.
8166 if test "${enable_url+set}" = set; then
8167 enableval=$enable_url;
8168 if test "$enableval" = yes; then
8169 wx_cv_use_url='wxUSE_URL=yes'
8171 wx_cv_use_url='wxUSE_URL=no'
8176 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8181 eval "$wx_cv_use_url"
8183 if test x
"$enablestring" = xdisable
; then
8184 if test $wxUSE_URL = no
; then
8193 { echo "$as_me:$LINENO: result: $result" >&5
8194 echo "${ECHO_T}$result" >&6; }
8198 defaultval
=$wxUSE_ALL_FEATURES
8199 if test -z "$defaultval"; then
8200 if test x
"$enablestring" = xdisable
; then
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8209 # Check whether --enable-protocol was given.
8210 if test "${enable_protocol+set}" = set; then
8211 enableval
=$enable_protocol;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8215 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8220 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8225 eval "$wx_cv_use_protocol"
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_PROTOCOL = no; then
8234 result=$wxUSE_PROTOCOL
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8253 # Check whether --enable-protocol_http was given.
8254 if test "${enable_protocol_http+set}" = set; then
8255 enableval=$enable_protocol_http;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8259 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8264 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8269 eval "$wx_cv_use_protocol_http"
8271 if test x"$enablestring" = xdisable; then
8272 if test $wxUSE_PROTOCOL_HTTP = no; then
8278 result=$wxUSE_PROTOCOL_HTTP
8281 { echo "$as_me:$LINENO: result
: $result" >&5
8282 echo "${ECHO_T}$result" >&6; }
8286 defaultval=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x"$enablestring" = xdisable; then
8295 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8296 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8297 # Check whether --enable-protocol_ftp was given.
8298 if test "${enable_protocol_ftp+set}" = set; then
8299 enableval=$enable_protocol_ftp;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8303 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8308 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8313 eval "$wx_cv_use_protocol_ftp"
8315 if test x
"$enablestring" = xdisable
; then
8316 if test $wxUSE_PROTOCOL_FTP = no
; then
8322 result
=$wxUSE_PROTOCOL_FTP
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8330 defaultval
=$wxUSE_ALL_FEATURES
8331 if test -z "$defaultval"; then
8332 if test x
"$enablestring" = xdisable
; then
8339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8341 # Check whether --enable-protocol_file was given.
8342 if test "${enable_protocol_file+set}" = set; then
8343 enableval
=$enable_protocol_file;
8344 if test "$enableval" = yes; then
8345 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8347 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8352 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8357 eval "$wx_cv_use_protocol_file"
8359 if test x"$enablestring" = xdisable; then
8360 if test $wxUSE_PROTOCOL_FILE = no; then
8366 result=$wxUSE_PROTOCOL_FILE
8369 { echo "$as_me:$LINENO: result: $result" >&5
8370 echo "${ECHO_T}$result" >&6; }
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8386 # Check whether --enable-threads was given.
8387 if test "${enable_threads+set}" = set; then
8388 enableval=$enable_threads;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_threads='wxUSE_THREADS
=yes'
8392 wx_cv_use_threads='wxUSE_THREADS
=no
'
8397 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8402 eval "$wx_cv_use_threads"
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_THREADS = no; then
8411 result=$wxUSE_THREADS
8414 { echo "$as_me:$LINENO: result
: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8421 if test -z "$defaultval"; then
8422 if test x"$enablestring" = xdisable; then
8429 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8430 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8431 # Check whether --enable-iniconf was given.
8432 if test "${enable_iniconf+set}" = set; then
8433 enableval=$enable_iniconf;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8437 wx_cv_use_iniconf='wxUSE_INICONF=no'
8442 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8447 eval "$wx_cv_use_iniconf"
8449 if test x
"$enablestring" = xdisable
; then
8450 if test $wxUSE_INICONF = no
; then
8456 result
=$wxUSE_INICONF
8459 { echo "$as_me:$LINENO: result: $result" >&5
8460 echo "${ECHO_T}$result" >&6; }
8464 defaultval
=$wxUSE_ALL_FEATURES
8465 if test -z "$defaultval"; then
8466 if test x
"$enablestring" = xdisable
; then
8473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8474 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8475 # Check whether --enable-regkey was given.
8476 if test "${enable_regkey+set}" = set; then
8477 enableval
=$enable_regkey;
8478 if test "$enableval" = yes; then
8479 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8481 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8486 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8491 eval "$wx_cv_use_regkey"
8493 if test x"$enablestring" = xdisable; then
8494 if test $wxUSE_REGKEY = no; then
8500 result=$wxUSE_REGKEY
8503 { echo "$as_me:$LINENO: result: $result" >&5
8504 echo "${ECHO_T}$result" >&6; }
8507 if test "$wxUSE_GUI" = "yes"; then
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8523 # Check whether --enable-docview was given.
8524 if test "${enable_docview+set}" = set; then
8525 enableval=$enable_docview;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8529 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8534 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8539 eval "$wx_cv_use_docview"
8541 if test x"$enablestring" = xdisable; then
8542 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8548 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8551 { echo "$as_me:$LINENO: result
: $result" >&5
8552 echo "${ECHO_T}$result" >&6; }
8556 defaultval=$wxUSE_ALL_FEATURES
8557 if test -z "$defaultval"; then
8558 if test x"$enablestring" = xdisable; then
8565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8566 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8567 # Check whether --enable-help was given.
8568 if test "${enable_help+set}" = set; then
8569 enableval=$enable_help;
8570 if test "$enableval" = yes; then
8571 wx_cv_use_help='wxUSE_HELP=yes'
8573 wx_cv_use_help='wxUSE_HELP=no'
8578 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8583 eval "$wx_cv_use_help"
8585 if test x
"$enablestring" = xdisable
; then
8586 if test $wxUSE_HELP = no
; then
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8600 defaultval
=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x
"$enablestring" = xdisable
; then
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8611 # Check whether --enable-mshtmlhelp was given.
8612 if test "${enable_mshtmlhelp+set}" = set; then
8613 enableval
=$enable_mshtmlhelp;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8617 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8622 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8627 eval "$wx_cv_use_mshtmlhelp"
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_MS_HTML_HELP = no; then
8636 result=$wxUSE_MS_HTML_HELP
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8655 # Check whether --enable-html was given.
8656 if test "${enable_html+set}" = set; then
8657 enableval=$enable_html;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_html='wxUSE_HTML
=yes'
8661 wx_cv_use_html='wxUSE_HTML
=no
'
8666 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8671 eval "$wx_cv_use_html"
8673 if test x"$enablestring" = xdisable; then
8674 if test $wxUSE_HTML = no; then
8683 { echo "$as_me:$LINENO: result
: $result" >&5
8684 echo "${ECHO_T}$result" >&6; }
8688 defaultval=$wxUSE_ALL_FEATURES
8689 if test -z "$defaultval"; then
8690 if test x"$enablestring" = xdisable; then
8697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8698 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8699 # Check whether --enable-htmlhelp was given.
8700 if test "${enable_htmlhelp+set}" = set; then
8701 enableval=$enable_htmlhelp;
8702 if test "$enableval" = yes; then
8703 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8705 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8715 eval "$wx_cv_use_htmlhelp"
8717 if test x
"$enablestring" = xdisable
; then
8718 if test $wxUSE_WXHTML_HELP = no
; then
8724 result
=$wxUSE_WXHTML_HELP
8727 { echo "$as_me:$LINENO: result: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8732 defaultval
=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x
"$enablestring" = xdisable
; then
8741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8743 # Check whether --enable-xrc was given.
8744 if test "${enable_xrc+set}" = set; then
8745 enableval
=$enable_xrc;
8746 if test "$enableval" = yes; then
8747 wx_cv_use_xrc
='wxUSE_XRC=yes'
8749 wx_cv_use_xrc
='wxUSE_XRC=no'
8754 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8759 eval "$wx_cv_use_xrc"
8761 if test x"$enablestring" = xdisable; then
8762 if test $wxUSE_XRC = no; then
8771 { echo "$as_me:$LINENO: result: $result" >&5
8772 echo "${ECHO_T}$result" >&6; }
8776 defaultval=$wxUSE_ALL_FEATURES
8777 if test -z "$defaultval"; then
8778 if test x"$enablestring" = xdisable; then
8785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8787 # Check whether --enable-aui was given.
8788 if test "${enable_aui+set}" = set; then
8789 enableval=$enable_aui;
8790 if test "$enableval" = yes; then
8791 wx_cv_use_aui='wxUSE_AUI
=yes'
8793 wx_cv_use_aui='wxUSE_AUI
=no
'
8798 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8803 eval "$wx_cv_use_aui"
8805 if test x"$enablestring" = xdisable; then
8806 if test $wxUSE_AUI = no; then
8815 { echo "$as_me:$LINENO: result
: $result" >&5
8816 echo "${ECHO_T}$result" >&6; }
8820 defaultval=$wxUSE_ALL_FEATURES
8821 if test -z "$defaultval"; then
8822 if test x"$enablestring" = xdisable; then
8829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8830 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8831 # Check whether --enable-propgrid was given.
8832 if test "${enable_propgrid+set}" = set; then
8833 enableval=$enable_propgrid;
8834 if test "$enableval" = yes; then
8835 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8837 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8842 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8847 eval "$wx_cv_use_propgrid"
8849 if test x
"$enablestring" = xdisable
; then
8850 if test $wxUSE_PROPGRID = no
; then
8856 result
=$wxUSE_PROPGRID
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8864 defaultval
=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x
"$enablestring" = xdisable
; then
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8875 # Check whether --enable-ribbon was given.
8876 if test "${enable_ribbon+set}" = set; then
8877 enableval
=$enable_ribbon;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8881 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8886 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8891 eval "$wx_cv_use_ribbon"
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_RIBBON = no; then
8900 result=$wxUSE_RIBBON
8903 { echo "$as_me:$LINENO: result: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8919 # Check whether --enable-stc was given.
8920 if test "${enable_stc+set}" = set; then
8921 enableval=$enable_stc;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_stc='wxUSE_STC
=yes'
8925 wx_cv_use_stc='wxUSE_STC
=no
'
8930 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8935 eval "$wx_cv_use_stc"
8937 if test x"$enablestring" = xdisable; then
8938 if test $wxUSE_STC = no; then
8947 { echo "$as_me:$LINENO: result
: $result" >&5
8948 echo "${ECHO_T}$result" >&6; }
8952 defaultval=$wxUSE_ALL_FEATURES
8953 if test -z "$defaultval"; then
8954 if test x"$enablestring" = xdisable; then
8961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8962 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8963 # Check whether --enable-constraints was given.
8964 if test "${enable_constraints+set}" = set; then
8965 enableval=$enable_constraints;
8966 if test "$enableval" = yes; then
8967 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8969 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8974 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8979 eval "$wx_cv_use_constraints"
8981 if test x
"$enablestring" = xdisable
; then
8982 if test $wxUSE_CONSTRAINTS = no
; then
8988 result
=$wxUSE_CONSTRAINTS
8991 { echo "$as_me:$LINENO: result: $result" >&5
8992 echo "${ECHO_T}$result" >&6; }
8996 defaultval
=$wxUSE_ALL_FEATURES
8997 if test -z "$defaultval"; then
8998 if test x
"$enablestring" = xdisable
; then
9005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9007 # Check whether --enable-loggui was given.
9008 if test "${enable_loggui+set}" = set; then
9009 enableval
=$enable_loggui;
9010 if test "$enableval" = yes; then
9011 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
9013 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
9018 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9023 eval "$wx_cv_use_loggui"
9025 if test x"$enablestring" = xdisable; then
9026 if test $wxUSE_LOGGUI = no; then
9032 result=$wxUSE_LOGGUI
9035 { echo "$as_me:$LINENO: result: $result" >&5
9036 echo "${ECHO_T}$result" >&6; }
9040 defaultval=$wxUSE_ALL_FEATURES
9041 if test -z "$defaultval"; then
9042 if test x"$enablestring" = xdisable; then
9049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9050 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9051 # Check whether --enable-logwin was given.
9052 if test "${enable_logwin+set}" = set; then
9053 enableval=$enable_logwin;
9054 if test "$enableval" = yes; then
9055 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9057 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9062 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9067 eval "$wx_cv_use_logwin"
9069 if test x"$enablestring" = xdisable; then
9070 if test $wxUSE_LOGWINDOW = no; then
9076 result=$wxUSE_LOGWINDOW
9079 { echo "$as_me:$LINENO: result
: $result" >&5
9080 echo "${ECHO_T}$result" >&6; }
9084 defaultval=$wxUSE_ALL_FEATURES
9085 if test -z "$defaultval"; then
9086 if test x"$enablestring" = xdisable; then
9093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9094 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9095 # Check whether --enable-logdialog was given.
9096 if test "${enable_logdialog+set}" = set; then
9097 enableval=$enable_logdialog;
9098 if test "$enableval" = yes; then
9099 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9101 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9106 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9111 eval "$wx_cv_use_logdialog"
9113 if test x
"$enablestring" = xdisable
; then
9114 if test $wxUSE_LOGDIALOG = no
; then
9120 result
=$wxUSE_LOGDIALOG
9123 { echo "$as_me:$LINENO: result: $result" >&5
9124 echo "${ECHO_T}$result" >&6; }
9128 defaultval
=$wxUSE_ALL_FEATURES
9129 if test -z "$defaultval"; then
9130 if test x
"$enablestring" = xdisable
; then
9137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9139 # Check whether --enable-mdi was given.
9140 if test "${enable_mdi+set}" = set; then
9141 enableval
=$enable_mdi;
9142 if test "$enableval" = yes; then
9143 wx_cv_use_mdi
='wxUSE_MDI=yes'
9145 wx_cv_use_mdi
='wxUSE_MDI=no'
9150 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9155 eval "$wx_cv_use_mdi"
9157 if test x"$enablestring" = xdisable; then
9158 if test $wxUSE_MDI = no; then
9167 { echo "$as_me:$LINENO: result: $result" >&5
9168 echo "${ECHO_T}$result" >&6; }
9172 defaultval=$wxUSE_ALL_FEATURES
9173 if test -z "$defaultval"; then
9174 if test x"$enablestring" = xdisable; then
9181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9183 # Check whether --enable-mdidoc was given.
9184 if test "${enable_mdidoc+set}" = set; then
9185 enableval=$enable_mdidoc;
9186 if test "$enableval" = yes; then
9187 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9189 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9199 eval "$wx_cv_use_mdidoc"
9201 if test x"$enablestring" = xdisable; then
9202 if test $wxUSE_MDI_ARCHITECTURE = no; then
9208 result=$wxUSE_MDI_ARCHITECTURE
9211 { echo "$as_me:$LINENO: result
: $result" >&5
9212 echo "${ECHO_T}$result" >&6; }
9216 defaultval=$wxUSE_ALL_FEATURES
9217 if test -z "$defaultval"; then
9218 if test x"$enablestring" = xdisable; then
9225 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9226 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9227 # Check whether --enable-mediactrl was given.
9228 if test "${enable_mediactrl+set}" = set; then
9229 enableval=$enable_mediactrl;
9230 if test "$enableval" = yes; then
9231 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9233 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9238 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9243 eval "$wx_cv_use_mediactrl"
9245 if test x
"$enablestring" = xdisable
; then
9246 if test $wxUSE_MEDIACTRL = no
; then
9252 result
=$wxUSE_MEDIACTRL
9255 { echo "$as_me:$LINENO: result: $result" >&5
9256 echo "${ECHO_T}$result" >&6; }
9260 defaultval
=$wxUSE_ALL_FEATURES
9261 if test -z "$defaultval"; then
9262 if test x
"$enablestring" = xdisable
; then
9269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9271 # Check whether --enable-gstreamer8 was given.
9272 if test "${enable_gstreamer8+set}" = set; then
9273 enableval
=$enable_gstreamer8;
9274 if test "$enableval" = yes; then
9275 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9277 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9282 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9287 eval "$wx_cv_use_gstreamer8"
9289 if test x"$enablestring" = xdisable; then
9290 if test $wxUSE_GSTREAMER8 = no; then
9296 result=$wxUSE_GSTREAMER8
9299 { echo "$as_me:$LINENO: result: $result" >&5
9300 echo "${ECHO_T}$result" >&6; }
9304 defaultval=$wxUSE_ALL_FEATURES
9305 if test -z "$defaultval"; then
9306 if test x"$enablestring" = xdisable; then
9313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9315 # Check whether --enable-webkit was given.
9316 if test "${enable_webkit+set}" = set; then
9317 enableval=$enable_webkit;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9321 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9326 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9331 eval "$wx_cv_use_webkit"
9333 if test x"$enablestring" = xdisable; then
9334 if test $wxUSE_WEBKIT = no; then
9340 result=$wxUSE_WEBKIT
9343 { echo "$as_me:$LINENO: result
: $result" >&5
9344 echo "${ECHO_T}$result" >&6; }
9348 defaultval=$wxUSE_ALL_FEATURES
9349 if test -z "$defaultval"; then
9350 if test x"$enablestring" = xdisable; then
9357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9358 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9359 # Check whether --enable-richtext was given.
9360 if test "${enable_richtext+set}" = set; then
9361 enableval=$enable_richtext;
9362 if test "$enableval" = yes; then
9363 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9365 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9370 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9375 eval "$wx_cv_use_richtext"
9377 if test x
"$enablestring" = xdisable
; then
9378 if test $wxUSE_RICHTEXT = no
; then
9384 result
=$wxUSE_RICHTEXT
9387 { echo "$as_me:$LINENO: result: $result" >&5
9388 echo "${ECHO_T}$result" >&6; }
9392 defaultval
=$wxUSE_ALL_FEATURES
9393 if test -z "$defaultval"; then
9394 if test x
"$enablestring" = xdisable
; then
9401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9402 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9403 # Check whether --enable-postscript was given.
9404 if test "${enable_postscript+set}" = set; then
9405 enableval
=$enable_postscript;
9406 if test "$enableval" = yes; then
9407 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9409 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9414 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9419 eval "$wx_cv_use_postscript"
9421 if test x"$enablestring" = xdisable; then
9422 if test $wxUSE_POSTSCRIPT = no; then
9428 result=$wxUSE_POSTSCRIPT
9431 { echo "$as_me:$LINENO: result: $result" >&5
9432 echo "${ECHO_T}$result" >&6; }
9436 defaultval=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x"$enablestring" = xdisable; then
9445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9447 # Check whether --enable-printarch was given.
9448 if test "${enable_printarch+set}" = set; then
9449 enableval=$enable_printarch;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9453 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9458 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9463 eval "$wx_cv_use_printarch"
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9472 result=$wxUSE_PRINTING_ARCHITECTURE
9475 { echo "$as_me:$LINENO: result
: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9490 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9491 # Check whether --enable-svg was given.
9492 if test "${enable_svg+set}" = set; then
9493 enableval=$enable_svg;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_svg='wxUSE_SVG=yes'
9497 wx_cv_use_svg='wxUSE_SVG=no'
9502 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9507 eval "$wx_cv_use_svg"
9509 if test x
"$enablestring" = xdisable
; then
9510 if test $wxUSE_SVG = no
; then
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9523 if test "$wxUSE_MAC" != 1; then
9526 defaultval
=$wxUSE_ALL_FEATURES
9527 if test -z "$defaultval"; then
9528 if test x
"$enablestring" = xdisable
; then
9535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9536 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9537 # Check whether --enable-graphics_ctx was given.
9538 if test "${enable_graphics_ctx+set}" = set; then
9539 enableval
=$enable_graphics_ctx;
9540 if test "$enableval" = yes; then
9541 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9543 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9548 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9553 eval "$wx_cv_use_graphics_ctx"
9555 if test x"$enablestring" = xdisable; then
9556 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9562 result=$wxUSE_GRAPHICS_CONTEXT
9565 { echo "$as_me:$LINENO: result: $result" >&5
9566 echo "${ECHO_T}$result" >&6; }
9573 defaultval=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x"$enablestring" = xdisable; then
9582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9583 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9584 # Check whether --enable-clipboard was given.
9585 if test "${enable_clipboard+set}" = set; then
9586 enableval=$enable_clipboard;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9590 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9595 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9600 eval "$wx_cv_use_clipboard"
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_CLIPBOARD = no; then
9609 result=$wxUSE_CLIPBOARD
9612 { echo "$as_me:$LINENO: result
: $result" >&5
9613 echo "${ECHO_T}$result" >&6; }
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9627 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9628 # Check whether --enable-dnd was given.
9629 if test "${enable_dnd+set}" = set; then
9630 enableval=$enable_dnd;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9634 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9639 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9644 eval "$wx_cv_use_dnd"
9646 if test x
"$enablestring" = xdisable
; then
9647 if test $wxUSE_DRAG_AND_DROP = no
; then
9653 result
=$wxUSE_DRAG_AND_DROP
9656 { echo "$as_me:$LINENO: result: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9661 defaultval
=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x
"$enablestring" = xdisable
; then
9670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9672 # Check whether --enable-metafile was given.
9673 if test "${enable_metafile+set}" = set; then
9674 enableval
=$enable_metafile;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9678 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9683 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9688 eval "$wx_cv_use_metafile"
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_METAFILE = no; then
9697 result=$wxUSE_METAFILE
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9705 DEFAULT_wxUSE_CONTROLS=none
9707 enablestring=disable
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9719 # Check whether --enable-controls was given.
9720 if test "${enable_controls+set}" = set; then
9721 enableval=$enable_controls;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9725 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9730 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9735 eval "$wx_cv_use_controls"
9737 if test x"$enablestring" = xdisable; then
9738 if test $wxUSE_CONTROLS = no; then
9744 result=$wxUSE_CONTROLS
9747 { echo "$as_me:$LINENO: result
: $result" >&5
9748 echo "${ECHO_T}$result" >&6; }
9751 if test "$wxUSE_CONTROLS" = "no
"; then
9752 DEFAULT_wxUSE_ACCEL=no
9753 DEFAULT_wxUSE_ANIMATIONCTRL=no
9754 DEFAULT_wxUSE_BMPBUTTON=no
9755 DEFAULT_wxUSE_BUTTON=no
9756 DEFAULT_wxUSE_CALCTRL=no
9757 DEFAULT_wxUSE_CARET=no
9758 DEFAULT_wxUSE_CHECKBOX=no
9759 DEFAULT_wxUSE_CHECKLISTBOX=no
9760 DEFAULT_wxUSE_CHOICE=no
9761 DEFAULT_wxUSE_CHOICEBOOK=no
9762 DEFAULT_wxUSE_COLLPANE=no
9763 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9764 DEFAULT_wxUSE_COMBOBOX=no
9765 DEFAULT_wxUSE_COMBOBOX=no
9766 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9767 DEFAULT_wxUSE_DATAVIEWCTRL=no
9768 DEFAULT_wxUSE_DATEPICKCTRL=no
9769 DEFAULT_wxUSE_DETECT_SM=no
9770 DEFAULT_wxUSE_DIRPICKERCTRL=no
9771 DEFAULT_wxUSE_DISPLAY=no
9772 DEFAULT_wxUSE_FILECTRL=no
9773 DEFAULT_wxUSE_FILEPICKERCTRL=no
9774 DEFAULT_wxUSE_FONTPICKERCTRL=no
9775 DEFAULT_wxUSE_GAUGE=no
9776 DEFAULT_wxUSE_GRID=no
9777 DEFAULT_wxUSE_HEADERCTRL=no
9778 DEFAULT_wxUSE_HYPERLINKCTRL=no
9779 DEFAULT_wxUSE_IMAGLIST=no
9780 DEFAULT_wxUSE_LISTBOOK=no
9781 DEFAULT_wxUSE_LISTBOX=no
9782 DEFAULT_wxUSE_LISTCTRL=no
9783 DEFAULT_wxUSE_NOTEBOOK=no
9784 DEFAULT_wxUSE_POPUPWIN=no
9785 DEFAULT_wxUSE_RADIOBOX=no
9786 DEFAULT_wxUSE_RADIOBTN=no
9787 DEFAULT_wxUSE_RICHMSGDLG=no
9788 DEFAULT_wxUSE_REARRANGECTRL=no
9789 DEFAULT_wxUSE_SASH=no
9790 DEFAULT_wxUSE_SCROLLBAR=no
9791 DEFAULT_wxUSE_SEARCHCTRL=no
9792 DEFAULT_wxUSE_SLIDER=no
9793 DEFAULT_wxUSE_SPINBTN=no
9794 DEFAULT_wxUSE_SPINCTRL=no
9795 DEFAULT_wxUSE_SPLITTER=no
9796 DEFAULT_wxUSE_STATBMP=no
9797 DEFAULT_wxUSE_STATBOX=no
9798 DEFAULT_wxUSE_STATLINE=no
9799 DEFAULT_wxUSE_STATUSBAR=no
9800 DEFAULT_wxUSE_TIPWINDOW=no
9801 DEFAULT_wxUSE_TOGGLEBTN=no
9802 DEFAULT_wxUSE_TOOLBAR=no
9803 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9804 DEFAULT_wxUSE_TOOLBOOK=no
9805 DEFAULT_wxUSE_TOOLTIPS=no
9806 DEFAULT_wxUSE_TREEBOOK=no
9807 DEFAULT_wxUSE_TREECTRL=no
9812 defaultval=$wxUSE_ALL_FEATURES
9813 if test -z "$defaultval"; then
9814 if test x"$enablestring" = xdisable; then
9821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9822 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9823 # Check whether --enable-accel was given.
9824 if test "${enable_accel+set}" = set; then
9825 enableval=$enable_accel;
9826 if test "$enableval" = yes; then
9827 wx_cv_use_accel='wxUSE_ACCEL=yes'
9829 wx_cv_use_accel='wxUSE_ACCEL=no'
9834 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9839 eval "$wx_cv_use_accel"
9841 if test x
"$enablestring" = xdisable
; then
9842 if test $wxUSE_ACCEL = no
; then
9851 { echo "$as_me:$LINENO: result: $result" >&5
9852 echo "${ECHO_T}$result" >&6; }
9856 defaultval
=$wxUSE_ALL_FEATURES
9857 if test -z "$defaultval"; then
9858 if test x
"$enablestring" = xdisable
; then
9865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9866 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9867 # Check whether --enable-animatectrl was given.
9868 if test "${enable_animatectrl+set}" = set; then
9869 enableval
=$enable_animatectrl;
9870 if test "$enableval" = yes; then
9871 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9873 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9878 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9883 eval "$wx_cv_use_animatectrl"
9885 if test x"$enablestring" = xdisable; then
9886 if test $wxUSE_ANIMATIONCTRL = no; then
9892 result=$wxUSE_ANIMATIONCTRL
9895 { echo "$as_me:$LINENO: result: $result" >&5
9896 echo "${ECHO_T}$result" >&6; }
9900 defaultval=$wxUSE_ALL_FEATURES
9901 if test -z "$defaultval"; then
9902 if test x"$enablestring" = xdisable; then
9909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9911 # Check whether --enable-bmpbutton was given.
9912 if test "${enable_bmpbutton+set}" = set; then
9913 enableval=$enable_bmpbutton;
9914 if test "$enableval" = yes; then
9915 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9917 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9922 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9927 eval "$wx_cv_use_bmpbutton"
9929 if test x"$enablestring" = xdisable; then
9930 if test $wxUSE_BMPBUTTON = no; then
9936 result=$wxUSE_BMPBUTTON
9939 { echo "$as_me:$LINENO: result
: $result" >&5
9940 echo "${ECHO_T}$result" >&6; }
9944 defaultval=$wxUSE_ALL_FEATURES
9945 if test -z "$defaultval"; then
9946 if test x"$enablestring" = xdisable; then
9953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9954 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9955 # Check whether --enable-bmpcombobox was given.
9956 if test "${enable_bmpcombobox+set}" = set; then
9957 enableval=$enable_bmpcombobox;
9958 if test "$enableval" = yes; then
9959 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9961 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9966 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9971 eval "$wx_cv_use_bmpcombobox"
9973 if test x
"$enablestring" = xdisable
; then
9974 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9980 result
=$wxUSE_BITMAPCOMBOBOX
9983 { echo "$as_me:$LINENO: result: $result" >&5
9984 echo "${ECHO_T}$result" >&6; }
9988 defaultval
=$wxUSE_ALL_FEATURES
9989 if test -z "$defaultval"; then
9990 if test x
"$enablestring" = xdisable
; then
9997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9998 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9999 # Check whether --enable-button was given.
10000 if test "${enable_button+set}" = set; then
10001 enableval
=$enable_button;
10002 if test "$enableval" = yes; then
10003 wx_cv_use_button
='wxUSE_BUTTON=yes'
10005 wx_cv_use_button
='wxUSE_BUTTON=no'
10010 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10015 eval "$wx_cv_use_button"
10017 if test x"$enablestring" = xdisable; then
10018 if test $wxUSE_BUTTON = no; then
10024 result=$wxUSE_BUTTON
10027 { echo "$as_me:$LINENO: result: $result" >&5
10028 echo "${ECHO_T}$result" >&6; }
10032 defaultval=$wxUSE_ALL_FEATURES
10033 if test -z "$defaultval"; then
10034 if test x"$enablestring" = xdisable; then
10041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10042 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10043 # Check whether --enable-calendar was given.
10044 if test "${enable_calendar+set}" = set; then
10045 enableval=$enable_calendar;
10046 if test "$enableval" = yes; then
10047 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10049 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10054 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10059 eval "$wx_cv_use_calendar"
10061 if test x"$enablestring" = xdisable; then
10062 if test $wxUSE_CALCTRL = no; then
10068 result=$wxUSE_CALCTRL
10071 { echo "$as_me:$LINENO: result
: $result" >&5
10072 echo "${ECHO_T}$result" >&6; }
10076 defaultval=$wxUSE_ALL_FEATURES
10077 if test -z "$defaultval"; then
10078 if test x"$enablestring" = xdisable; then
10085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10086 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10087 # Check whether --enable-caret was given.
10088 if test "${enable_caret+set}" = set; then
10089 enableval=$enable_caret;
10090 if test "$enableval" = yes; then
10091 wx_cv_use_caret='wxUSE_CARET=yes'
10093 wx_cv_use_caret='wxUSE_CARET=no'
10098 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10103 eval "$wx_cv_use_caret"
10105 if test x
"$enablestring" = xdisable
; then
10106 if test $wxUSE_CARET = no
; then
10112 result
=$wxUSE_CARET
10115 { echo "$as_me:$LINENO: result: $result" >&5
10116 echo "${ECHO_T}$result" >&6; }
10120 defaultval
=$wxUSE_ALL_FEATURES
10121 if test -z "$defaultval"; then
10122 if test x
"$enablestring" = xdisable
; then
10129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10131 # Check whether --enable-checkbox was given.
10132 if test "${enable_checkbox+set}" = set; then
10133 enableval
=$enable_checkbox;
10134 if test "$enableval" = yes; then
10135 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10137 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10142 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10147 eval "$wx_cv_use_checkbox"
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_CHECKBOX = no; then
10156 result=$wxUSE_CHECKBOX
10159 { echo "$as_me:$LINENO: result: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10175 # Check whether --enable-checklst was given.
10176 if test "${enable_checklst+set}" = set; then
10177 enableval=$enable_checklst;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10181 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10186 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10191 eval "$wx_cv_use_checklst"
10193 if test x"$enablestring" = xdisable; then
10194 if test $wxUSE_CHECKLST = no; then
10200 result=$wxUSE_CHECKLST
10203 { echo "$as_me:$LINENO: result
: $result" >&5
10204 echo "${ECHO_T}$result" >&6; }
10208 defaultval=$wxUSE_ALL_FEATURES
10209 if test -z "$defaultval"; then
10210 if test x"$enablestring" = xdisable; then
10217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10218 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10219 # Check whether --enable-choice was given.
10220 if test "${enable_choice+set}" = set; then
10221 enableval=$enable_choice;
10222 if test "$enableval" = yes; then
10223 wx_cv_use_choice='wxUSE_CHOICE=yes'
10225 wx_cv_use_choice='wxUSE_CHOICE=no'
10230 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10235 eval "$wx_cv_use_choice"
10237 if test x
"$enablestring" = xdisable
; then
10238 if test $wxUSE_CHOICE = no
; then
10244 result
=$wxUSE_CHOICE
10247 { echo "$as_me:$LINENO: result: $result" >&5
10248 echo "${ECHO_T}$result" >&6; }
10252 defaultval
=$wxUSE_ALL_FEATURES
10253 if test -z "$defaultval"; then
10254 if test x
"$enablestring" = xdisable
; then
10261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10262 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10263 # Check whether --enable-choicebook was given.
10264 if test "${enable_choicebook+set}" = set; then
10265 enableval
=$enable_choicebook;
10266 if test "$enableval" = yes; then
10267 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10269 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10274 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10279 eval "$wx_cv_use_choicebook"
10281 if test x"$enablestring" = xdisable; then
10282 if test $wxUSE_CHOICEBOOK = no; then
10288 result=$wxUSE_CHOICEBOOK
10291 { echo "$as_me:$LINENO: result: $result" >&5
10292 echo "${ECHO_T}$result" >&6; }
10296 defaultval=$wxUSE_ALL_FEATURES
10297 if test -z "$defaultval"; then
10298 if test x"$enablestring" = xdisable; then
10305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10306 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10307 # Check whether --enable-collpane was given.
10308 if test "${enable_collpane+set}" = set; then
10309 enableval=$enable_collpane;
10310 if test "$enableval" = yes; then
10311 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10313 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10318 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10323 eval "$wx_cv_use_collpane"
10325 if test x"$enablestring" = xdisable; then
10326 if test $wxUSE_COLLPANE = no; then
10332 result=$wxUSE_COLLPANE
10335 { echo "$as_me:$LINENO: result
: $result" >&5
10336 echo "${ECHO_T}$result" >&6; }
10340 defaultval=$wxUSE_ALL_FEATURES
10341 if test -z "$defaultval"; then
10342 if test x"$enablestring" = xdisable; then
10349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10350 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10351 # Check whether --enable-colourpicker was given.
10352 if test "${enable_colourpicker+set}" = set; then
10353 enableval=$enable_colourpicker;
10354 if test "$enableval" = yes; then
10355 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10357 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10362 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10367 eval "$wx_cv_use_colourpicker"
10369 if test x
"$enablestring" = xdisable
; then
10370 if test $wxUSE_COLOURPICKERCTRL = no
; then
10376 result
=$wxUSE_COLOURPICKERCTRL
10379 { echo "$as_me:$LINENO: result: $result" >&5
10380 echo "${ECHO_T}$result" >&6; }
10384 defaultval
=$wxUSE_ALL_FEATURES
10385 if test -z "$defaultval"; then
10386 if test x
"$enablestring" = xdisable
; then
10393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10395 # Check whether --enable-combobox was given.
10396 if test "${enable_combobox+set}" = set; then
10397 enableval
=$enable_combobox;
10398 if test "$enableval" = yes; then
10399 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10401 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10406 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10411 eval "$wx_cv_use_combobox"
10413 if test x"$enablestring" = xdisable; then
10414 if test $wxUSE_COMBOBOX = no; then
10420 result=$wxUSE_COMBOBOX
10423 { echo "$as_me:$LINENO: result: $result" >&5
10424 echo "${ECHO_T}$result" >&6; }
10428 defaultval=$wxUSE_ALL_FEATURES
10429 if test -z "$defaultval"; then
10430 if test x"$enablestring" = xdisable; then
10437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10438 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10439 # Check whether --enable-comboctrl was given.
10440 if test "${enable_comboctrl+set}" = set; then
10441 enableval=$enable_comboctrl;
10442 if test "$enableval" = yes; then
10443 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10445 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10450 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10455 eval "$wx_cv_use_comboctrl"
10457 if test x"$enablestring" = xdisable; then
10458 if test $wxUSE_COMBOCTRL = no; then
10464 result=$wxUSE_COMBOCTRL
10467 { echo "$as_me:$LINENO: result
: $result" >&5
10468 echo "${ECHO_T}$result" >&6; }
10472 defaultval=$wxUSE_ALL_FEATURES
10473 if test -z "$defaultval"; then
10474 if test x"$enablestring" = xdisable; then
10481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10482 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10483 # Check whether --enable-commandlinkbutton was given.
10484 if test "${enable_commandlinkbutton+set}" = set; then
10485 enableval=$enable_commandlinkbutton;
10486 if test "$enableval" = yes; then
10487 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10489 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10494 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10499 eval "$wx_cv_use_commandlinkbutton"
10501 if test x
"$enablestring" = xdisable
; then
10502 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10508 result
=$wxUSE_COMMANDLINKBUTTON
10511 { echo "$as_me:$LINENO: result: $result" >&5
10512 echo "${ECHO_T}$result" >&6; }
10516 defaultval
=$wxUSE_ALL_FEATURES
10517 if test -z "$defaultval"; then
10518 if test x
"$enablestring" = xdisable
; then
10525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10526 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10527 # Check whether --enable-dataviewctrl was given.
10528 if test "${enable_dataviewctrl+set}" = set; then
10529 enableval
=$enable_dataviewctrl;
10530 if test "$enableval" = yes; then
10531 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10533 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10538 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10543 eval "$wx_cv_use_dataviewctrl"
10545 if test x"$enablestring" = xdisable; then
10546 if test $wxUSE_DATAVIEWCTRL = no; then
10552 result=$wxUSE_DATAVIEWCTRL
10555 { echo "$as_me:$LINENO: result: $result" >&5
10556 echo "${ECHO_T}$result" >&6; }
10560 defaultval=$wxUSE_ALL_FEATURES
10561 if test -z "$defaultval"; then
10562 if test x"$enablestring" = xdisable; then
10569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10570 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10571 # Check whether --enable-datepick was given.
10572 if test "${enable_datepick+set}" = set; then
10573 enableval=$enable_datepick;
10574 if test "$enableval" = yes; then
10575 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10577 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10582 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10587 eval "$wx_cv_use_datepick"
10589 if test x"$enablestring" = xdisable; then
10590 if test $wxUSE_DATEPICKCTRL = no; then
10596 result=$wxUSE_DATEPICKCTRL
10599 { echo "$as_me:$LINENO: result
: $result" >&5
10600 echo "${ECHO_T}$result" >&6; }
10604 defaultval=$wxUSE_ALL_FEATURES
10605 if test -z "$defaultval"; then
10606 if test x"$enablestring" = xdisable; then
10613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10614 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10615 # Check whether --enable-detect_sm was given.
10616 if test "${enable_detect_sm+set}" = set; then
10617 enableval=$enable_detect_sm;
10618 if test "$enableval" = yes; then
10619 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10621 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10626 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10631 eval "$wx_cv_use_detect_sm"
10633 if test x
"$enablestring" = xdisable
; then
10634 if test $wxUSE_DETECT_SM = no
; then
10640 result
=$wxUSE_DETECT_SM
10643 { echo "$as_me:$LINENO: result: $result" >&5
10644 echo "${ECHO_T}$result" >&6; }
10648 defaultval
=$wxUSE_ALL_FEATURES
10649 if test -z "$defaultval"; then
10650 if test x
"$enablestring" = xdisable
; then
10657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10658 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10659 # Check whether --enable-dirpicker was given.
10660 if test "${enable_dirpicker+set}" = set; then
10661 enableval
=$enable_dirpicker;
10662 if test "$enableval" = yes; then
10663 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10665 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10670 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10675 eval "$wx_cv_use_dirpicker"
10677 if test x"$enablestring" = xdisable; then
10678 if test $wxUSE_DIRPICKERCTRL = no; then
10684 result=$wxUSE_DIRPICKERCTRL
10687 { echo "$as_me:$LINENO: result: $result" >&5
10688 echo "${ECHO_T}$result" >&6; }
10692 defaultval=$wxUSE_ALL_FEATURES
10693 if test -z "$defaultval"; then
10694 if test x"$enablestring" = xdisable; then
10701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10703 # Check whether --enable-display was given.
10704 if test "${enable_display+set}" = set; then
10705 enableval=$enable_display;
10706 if test "$enableval" = yes; then
10707 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10709 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10714 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10719 eval "$wx_cv_use_display"
10721 if test x"$enablestring" = xdisable; then
10722 if test $wxUSE_DISPLAY = no; then
10728 result=$wxUSE_DISPLAY
10731 { echo "$as_me:$LINENO: result
: $result" >&5
10732 echo "${ECHO_T}$result" >&6; }
10736 defaultval=$wxUSE_ALL_FEATURES
10737 if test -z "$defaultval"; then
10738 if test x"$enablestring" = xdisable; then
10745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10746 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10747 # Check whether --enable-editablebox was given.
10748 if test "${enable_editablebox+set}" = set; then
10749 enableval=$enable_editablebox;
10750 if test "$enableval" = yes; then
10751 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10753 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10758 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10763 eval "$wx_cv_use_editablebox"
10765 if test x
"$enablestring" = xdisable
; then
10766 if test $wxUSE_EDITABLELISTBOX = no
; then
10772 result
=$wxUSE_EDITABLELISTBOX
10775 { echo "$as_me:$LINENO: result: $result" >&5
10776 echo "${ECHO_T}$result" >&6; }
10780 defaultval
=$wxUSE_ALL_FEATURES
10781 if test -z "$defaultval"; then
10782 if test x
"$enablestring" = xdisable
; then
10789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10790 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10791 # Check whether --enable-filectrl was given.
10792 if test "${enable_filectrl+set}" = set; then
10793 enableval
=$enable_filectrl;
10794 if test "$enableval" = yes; then
10795 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10797 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10802 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10807 eval "$wx_cv_use_filectrl"
10809 if test x"$enablestring" = xdisable; then
10810 if test $wxUSE_FILECTRL = no; then
10816 result=$wxUSE_FILECTRL
10819 { echo "$as_me:$LINENO: result: $result" >&5
10820 echo "${ECHO_T}$result" >&6; }
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10835 # Check whether --enable-filepicker was given.
10836 if test "${enable_filepicker+set}" = set; then
10837 enableval=$enable_filepicker;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10841 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10846 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10851 eval "$wx_cv_use_filepicker"
10853 if test x"$enablestring" = xdisable; then
10854 if test $wxUSE_FILEPICKERCTRL = no; then
10860 result=$wxUSE_FILEPICKERCTRL
10863 { echo "$as_me:$LINENO: result
: $result" >&5
10864 echo "${ECHO_T}$result" >&6; }
10868 defaultval=$wxUSE_ALL_FEATURES
10869 if test -z "$defaultval"; then
10870 if test x"$enablestring" = xdisable; then
10877 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10878 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10879 # Check whether --enable-fontpicker was given.
10880 if test "${enable_fontpicker+set}" = set; then
10881 enableval=$enable_fontpicker;
10882 if test "$enableval" = yes; then
10883 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10885 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10890 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10895 eval "$wx_cv_use_fontpicker"
10897 if test x
"$enablestring" = xdisable
; then
10898 if test $wxUSE_FONTPICKERCTRL = no
; then
10904 result
=$wxUSE_FONTPICKERCTRL
10907 { echo "$as_me:$LINENO: result: $result" >&5
10908 echo "${ECHO_T}$result" >&6; }
10912 defaultval
=$wxUSE_ALL_FEATURES
10913 if test -z "$defaultval"; then
10914 if test x
"$enablestring" = xdisable
; then
10921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10922 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10923 # Check whether --enable-gauge was given.
10924 if test "${enable_gauge+set}" = set; then
10925 enableval
=$enable_gauge;
10926 if test "$enableval" = yes; then
10927 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10929 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10934 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10939 eval "$wx_cv_use_gauge"
10941 if test x"$enablestring" = xdisable; then
10942 if test $wxUSE_GAUGE = no; then
10948 result=$wxUSE_GAUGE
10951 { echo "$as_me:$LINENO: result: $result" >&5
10952 echo "${ECHO_T}$result" >&6; }
10956 defaultval=$wxUSE_ALL_FEATURES
10957 if test -z "$defaultval"; then
10958 if test x"$enablestring" = xdisable; then
10965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10966 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10967 # Check whether --enable-grid was given.
10968 if test "${enable_grid+set}" = set; then
10969 enableval=$enable_grid;
10970 if test "$enableval" = yes; then
10971 wx_cv_use_grid='wxUSE_GRID
=yes'
10973 wx_cv_use_grid='wxUSE_GRID
=no
'
10978 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10983 eval "$wx_cv_use_grid"
10985 if test x"$enablestring" = xdisable; then
10986 if test $wxUSE_GRID = no; then
10995 { echo "$as_me:$LINENO: result
: $result" >&5
10996 echo "${ECHO_T}$result" >&6; }
11000 defaultval=$wxUSE_ALL_FEATURES
11001 if test -z "$defaultval"; then
11002 if test x"$enablestring" = xdisable; then
11009 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11010 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11011 # Check whether --enable-headerctrl was given.
11012 if test "${enable_headerctrl+set}" = set; then
11013 enableval=$enable_headerctrl;
11014 if test "$enableval" = yes; then
11015 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11017 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11022 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11027 eval "$wx_cv_use_headerctrl"
11029 if test x
"$enablestring" = xdisable
; then
11030 if test $wxUSE_HEADERCTRL = no
; then
11036 result
=$wxUSE_HEADERCTRL
11039 { echo "$as_me:$LINENO: result: $result" >&5
11040 echo "${ECHO_T}$result" >&6; }
11044 defaultval
=$wxUSE_ALL_FEATURES
11045 if test -z "$defaultval"; then
11046 if test x
"$enablestring" = xdisable
; then
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11055 # Check whether --enable-hyperlink was given.
11056 if test "${enable_hyperlink+set}" = set; then
11057 enableval
=$enable_hyperlink;
11058 if test "$enableval" = yes; then
11059 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11061 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11066 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11071 eval "$wx_cv_use_hyperlink"
11073 if test x"$enablestring" = xdisable; then
11074 if test $wxUSE_HYPERLINKCTRL = no; then
11080 result=$wxUSE_HYPERLINKCTRL
11083 { echo "$as_me:$LINENO: result: $result" >&5
11084 echo "${ECHO_T}$result" >&6; }
11088 defaultval=$wxUSE_ALL_FEATURES
11089 if test -z "$defaultval"; then
11090 if test x"$enablestring" = xdisable; then
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11099 # Check whether --enable-imaglist was given.
11100 if test "${enable_imaglist+set}" = set; then
11101 enableval=$enable_imaglist;
11102 if test "$enableval" = yes; then
11103 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11105 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11110 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11115 eval "$wx_cv_use_imaglist"
11117 if test x"$enablestring" = xdisable; then
11118 if test $wxUSE_IMAGLIST = no; then
11124 result=$wxUSE_IMAGLIST
11127 { echo "$as_me:$LINENO: result
: $result" >&5
11128 echo "${ECHO_T}$result" >&6; }
11132 defaultval=$wxUSE_ALL_FEATURES
11133 if test -z "$defaultval"; then
11134 if test x"$enablestring" = xdisable; then
11141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11142 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11143 # Check whether --enable-infobar was given.
11144 if test "${enable_infobar+set}" = set; then
11145 enableval=$enable_infobar;
11146 if test "$enableval" = yes; then
11147 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11149 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11154 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11159 eval "$wx_cv_use_infobar"
11161 if test x
"$enablestring" = xdisable
; then
11162 if test $wxUSE_INFOBAR = no
; then
11168 result
=$wxUSE_INFOBAR
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11176 defaultval
=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x
"$enablestring" = xdisable
; then
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11187 # Check whether --enable-listbook was given.
11188 if test "${enable_listbook+set}" = set; then
11189 enableval
=$enable_listbook;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11193 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11198 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11203 eval "$wx_cv_use_listbook"
11205 if test x"$enablestring" = xdisable; then
11206 if test $wxUSE_LISTBOOK = no; then
11212 result=$wxUSE_LISTBOOK
11215 { echo "$as_me:$LINENO: result: $result" >&5
11216 echo "${ECHO_T}$result" >&6; }
11220 defaultval=$wxUSE_ALL_FEATURES
11221 if test -z "$defaultval"; then
11222 if test x"$enablestring" = xdisable; then
11229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11231 # Check whether --enable-listbox was given.
11232 if test "${enable_listbox+set}" = set; then
11233 enableval=$enable_listbox;
11234 if test "$enableval" = yes; then
11235 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11237 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11242 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11247 eval "$wx_cv_use_listbox"
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_LISTBOX = no; then
11256 result=$wxUSE_LISTBOX
11259 { echo "$as_me:$LINENO: result
: $result" >&5
11260 echo "${ECHO_T}$result" >&6; }
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11273 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11274 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11275 # Check whether --enable-listctrl was given.
11276 if test "${enable_listctrl+set}" = set; then
11277 enableval=$enable_listctrl;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11281 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11286 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11291 eval "$wx_cv_use_listctrl"
11293 if test x
"$enablestring" = xdisable
; then
11294 if test $wxUSE_LISTCTRL = no
; then
11300 result
=$wxUSE_LISTCTRL
11303 { echo "$as_me:$LINENO: result: $result" >&5
11304 echo "${ECHO_T}$result" >&6; }
11308 defaultval
=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x
"$enablestring" = xdisable
; then
11317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11319 # Check whether --enable-notebook was given.
11320 if test "${enable_notebook+set}" = set; then
11321 enableval
=$enable_notebook;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11325 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11330 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11335 eval "$wx_cv_use_notebook"
11337 if test x"$enablestring" = xdisable; then
11338 if test $wxUSE_NOTEBOOK = no; then
11344 result=$wxUSE_NOTEBOOK
11347 { echo "$as_me:$LINENO: result: $result" >&5
11348 echo "${ECHO_T}$result" >&6; }
11352 defaultval=$wxUSE_ALL_FEATURES
11353 if test -z "$defaultval"; then
11354 if test x"$enablestring" = xdisable; then
11361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11362 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11363 # Check whether --enable-notifmsg was given.
11364 if test "${enable_notifmsg+set}" = set; then
11365 enableval=$enable_notifmsg;
11366 if test "$enableval" = yes; then
11367 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11369 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11374 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11379 eval "$wx_cv_use_notifmsg"
11381 if test x"$enablestring" = xdisable; then
11382 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11388 result=$wxUSE_NOTIFICATION_MESSAGE
11391 { echo "$as_me:$LINENO: result
: $result" >&5
11392 echo "${ECHO_T}$result" >&6; }
11396 defaultval=$wxUSE_ALL_FEATURES
11397 if test -z "$defaultval"; then
11398 if test x"$enablestring" = xdisable; then
11405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11406 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11407 # Check whether --enable-odcombobox was given.
11408 if test "${enable_odcombobox+set}" = set; then
11409 enableval=$enable_odcombobox;
11410 if test "$enableval" = yes; then
11411 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11413 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11418 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11423 eval "$wx_cv_use_odcombobox"
11425 if test x
"$enablestring" = xdisable
; then
11426 if test $wxUSE_ODCOMBOBOX = no
; then
11432 result
=$wxUSE_ODCOMBOBOX
11435 { echo "$as_me:$LINENO: result: $result" >&5
11436 echo "${ECHO_T}$result" >&6; }
11440 defaultval
=$wxUSE_ALL_FEATURES
11441 if test -z "$defaultval"; then
11442 if test x
"$enablestring" = xdisable
; then
11449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11450 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11451 # Check whether --enable-popupwin was given.
11452 if test "${enable_popupwin+set}" = set; then
11453 enableval
=$enable_popupwin;
11454 if test "$enableval" = yes; then
11455 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11457 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11462 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11467 eval "$wx_cv_use_popupwin"
11469 if test x"$enablestring" = xdisable; then
11470 if test $wxUSE_POPUPWIN = no; then
11476 result=$wxUSE_POPUPWIN
11479 { echo "$as_me:$LINENO: result: $result" >&5
11480 echo "${ECHO_T}$result" >&6; }
11484 defaultval=$wxUSE_ALL_FEATURES
11485 if test -z "$defaultval"; then
11486 if test x"$enablestring" = xdisable; then
11493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11494 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11495 # Check whether --enable-radiobox was given.
11496 if test "${enable_radiobox+set}" = set; then
11497 enableval=$enable_radiobox;
11498 if test "$enableval" = yes; then
11499 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11501 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11506 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11511 eval "$wx_cv_use_radiobox"
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_RADIOBOX = no; then
11520 result=$wxUSE_RADIOBOX
11523 { echo "$as_me:$LINENO: result
: $result" >&5
11524 echo "${ECHO_T}$result" >&6; }
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11537 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11538 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11539 # Check whether --enable-radiobtn was given.
11540 if test "${enable_radiobtn+set}" = set; then
11541 enableval=$enable_radiobtn;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11545 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11550 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11555 eval "$wx_cv_use_radiobtn"
11557 if test x
"$enablestring" = xdisable
; then
11558 if test $wxUSE_RADIOBTN = no
; then
11564 result
=$wxUSE_RADIOBTN
11567 { echo "$as_me:$LINENO: result: $result" >&5
11568 echo "${ECHO_T}$result" >&6; }
11572 defaultval
=$wxUSE_ALL_FEATURES
11573 if test -z "$defaultval"; then
11574 if test x
"$enablestring" = xdisable
; then
11581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11582 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11583 # Check whether --enable-richmsgdlg was given.
11584 if test "${enable_richmsgdlg+set}" = set; then
11585 enableval
=$enable_richmsgdlg;
11586 if test "$enableval" = yes; then
11587 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11589 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11594 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11599 eval "$wx_cv_use_richmsgdlg"
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_RICHMSGDLG = no; then
11608 result=$wxUSE_RICHMSGDLG
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11627 # Check whether --enable-rearrangectrl was given.
11628 if test "${enable_rearrangectrl+set}" = set; then
11629 enableval=$enable_rearrangectrl;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11633 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11638 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11643 eval "$wx_cv_use_rearrangectrl"
11645 if test x"$enablestring" = xdisable; then
11646 if test $wxUSE_REARRANGECTRL = no; then
11652 result=$wxUSE_REARRANGECTRL
11655 { echo "$as_me:$LINENO: result
: $result" >&5
11656 echo "${ECHO_T}$result" >&6; }
11660 defaultval=$wxUSE_ALL_FEATURES
11661 if test -z "$defaultval"; then
11662 if test x"$enablestring" = xdisable; then
11669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11670 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11671 # Check whether --enable-sash was given.
11672 if test "${enable_sash+set}" = set; then
11673 enableval=$enable_sash;
11674 if test "$enableval" = yes; then
11675 wx_cv_use_sash='wxUSE_SASH=yes'
11677 wx_cv_use_sash='wxUSE_SASH=no'
11682 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11687 eval "$wx_cv_use_sash"
11689 if test x
"$enablestring" = xdisable
; then
11690 if test $wxUSE_SASH = no
; then
11699 { echo "$as_me:$LINENO: result: $result" >&5
11700 echo "${ECHO_T}$result" >&6; }
11704 defaultval
=$wxUSE_ALL_FEATURES
11705 if test -z "$defaultval"; then
11706 if test x
"$enablestring" = xdisable
; then
11713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11714 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11715 # Check whether --enable-scrollbar was given.
11716 if test "${enable_scrollbar+set}" = set; then
11717 enableval
=$enable_scrollbar;
11718 if test "$enableval" = yes; then
11719 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11721 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11726 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11731 eval "$wx_cv_use_scrollbar"
11733 if test x"$enablestring" = xdisable; then
11734 if test $wxUSE_SCROLLBAR = no; then
11740 result=$wxUSE_SCROLLBAR
11743 { echo "$as_me:$LINENO: result: $result" >&5
11744 echo "${ECHO_T}$result" >&6; }
11748 defaultval=$wxUSE_ALL_FEATURES
11749 if test -z "$defaultval"; then
11750 if test x"$enablestring" = xdisable; then
11757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11758 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11759 # Check whether --enable-searchctrl was given.
11760 if test "${enable_searchctrl+set}" = set; then
11761 enableval=$enable_searchctrl;
11762 if test "$enableval" = yes; then
11763 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11765 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11770 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11775 eval "$wx_cv_use_searchctrl"
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_SEARCHCTRL = no; then
11784 result=$wxUSE_SEARCHCTRL
11787 { echo "$as_me:$LINENO: result
: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11802 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11803 # Check whether --enable-slider was given.
11804 if test "${enable_slider+set}" = set; then
11805 enableval=$enable_slider;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_slider='wxUSE_SLIDER=yes'
11809 wx_cv_use_slider='wxUSE_SLIDER=no'
11814 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11819 eval "$wx_cv_use_slider"
11821 if test x
"$enablestring" = xdisable
; then
11822 if test $wxUSE_SLIDER = no
; then
11828 result
=$wxUSE_SLIDER
11831 { echo "$as_me:$LINENO: result: $result" >&5
11832 echo "${ECHO_T}$result" >&6; }
11836 defaultval
=$wxUSE_ALL_FEATURES
11837 if test -z "$defaultval"; then
11838 if test x
"$enablestring" = xdisable
; then
11845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11846 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11847 # Check whether --enable-spinbtn was given.
11848 if test "${enable_spinbtn+set}" = set; then
11849 enableval
=$enable_spinbtn;
11850 if test "$enableval" = yes; then
11851 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11853 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11858 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11863 eval "$wx_cv_use_spinbtn"
11865 if test x"$enablestring" = xdisable; then
11866 if test $wxUSE_SPINBTN = no; then
11872 result=$wxUSE_SPINBTN
11875 { echo "$as_me:$LINENO: result: $result" >&5
11876 echo "${ECHO_T}$result" >&6; }
11880 defaultval=$wxUSE_ALL_FEATURES
11881 if test -z "$defaultval"; then
11882 if test x"$enablestring" = xdisable; then
11889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11890 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11891 # Check whether --enable-spinctrl was given.
11892 if test "${enable_spinctrl+set}" = set; then
11893 enableval=$enable_spinctrl;
11894 if test "$enableval" = yes; then
11895 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11897 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11902 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11907 eval "$wx_cv_use_spinctrl"
11909 if test x"$enablestring" = xdisable; then
11910 if test $wxUSE_SPINCTRL = no; then
11916 result=$wxUSE_SPINCTRL
11919 { echo "$as_me:$LINENO: result
: $result" >&5
11920 echo "${ECHO_T}$result" >&6; }
11924 defaultval=$wxUSE_ALL_FEATURES
11925 if test -z "$defaultval"; then
11926 if test x"$enablestring" = xdisable; then
11933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11934 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11935 # Check whether --enable-splitter was given.
11936 if test "${enable_splitter+set}" = set; then
11937 enableval=$enable_splitter;
11938 if test "$enableval" = yes; then
11939 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11941 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11946 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11951 eval "$wx_cv_use_splitter"
11953 if test x
"$enablestring" = xdisable
; then
11954 if test $wxUSE_SPLITTER = no
; then
11960 result
=$wxUSE_SPLITTER
11963 { echo "$as_me:$LINENO: result: $result" >&5
11964 echo "${ECHO_T}$result" >&6; }
11968 defaultval
=$wxUSE_ALL_FEATURES
11969 if test -z "$defaultval"; then
11970 if test x
"$enablestring" = xdisable
; then
11977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11978 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11979 # Check whether --enable-statbmp was given.
11980 if test "${enable_statbmp+set}" = set; then
11981 enableval
=$enable_statbmp;
11982 if test "$enableval" = yes; then
11983 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11985 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11990 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11995 eval "$wx_cv_use_statbmp"
11997 if test x"$enablestring" = xdisable; then
11998 if test $wxUSE_STATBMP = no; then
12004 result=$wxUSE_STATBMP
12007 { echo "$as_me:$LINENO: result: $result" >&5
12008 echo "${ECHO_T}$result" >&6; }
12012 defaultval=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x"$enablestring" = xdisable; then
12021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12022 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12023 # Check whether --enable-statbox was given.
12024 if test "${enable_statbox+set}" = set; then
12025 enableval=$enable_statbox;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12029 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12034 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12039 eval "$wx_cv_use_statbox"
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_STATBOX = no; then
12048 result=$wxUSE_STATBOX
12051 { echo "$as_me:$LINENO: result
: $result" >&5
12052 echo "${ECHO_T}$result" >&6; }
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12066 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12067 # Check whether --enable-statline was given.
12068 if test "${enable_statline+set}" = set; then
12069 enableval=$enable_statline;
12070 if test "$enableval" = yes; then
12071 wx_cv_use_statline='wxUSE_STATLINE=yes'
12073 wx_cv_use_statline='wxUSE_STATLINE=no'
12078 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12083 eval "$wx_cv_use_statline"
12085 if test x
"$enablestring" = xdisable
; then
12086 if test $wxUSE_STATLINE = no
; then
12092 result
=$wxUSE_STATLINE
12095 { echo "$as_me:$LINENO: result: $result" >&5
12096 echo "${ECHO_T}$result" >&6; }
12100 defaultval
=$wxUSE_ALL_FEATURES
12101 if test -z "$defaultval"; then
12102 if test x
"$enablestring" = xdisable
; then
12109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12110 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12111 # Check whether --enable-stattext was given.
12112 if test "${enable_stattext+set}" = set; then
12113 enableval
=$enable_stattext;
12114 if test "$enableval" = yes; then
12115 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12117 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12122 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12127 eval "$wx_cv_use_stattext"
12129 if test x"$enablestring" = xdisable; then
12130 if test $wxUSE_STATTEXT = no; then
12136 result=$wxUSE_STATTEXT
12139 { echo "$as_me:$LINENO: result: $result" >&5
12140 echo "${ECHO_T}$result" >&6; }
12144 defaultval=$wxUSE_ALL_FEATURES
12145 if test -z "$defaultval"; then
12146 if test x"$enablestring" = xdisable; then
12153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12154 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12155 # Check whether --enable-statusbar was given.
12156 if test "${enable_statusbar+set}" = set; then
12157 enableval=$enable_statusbar;
12158 if test "$enableval" = yes; then
12159 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12161 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12166 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12171 eval "$wx_cv_use_statusbar"
12173 if test x"$enablestring" = xdisable; then
12174 if test $wxUSE_STATUSBAR = no; then
12180 result=$wxUSE_STATUSBAR
12183 { echo "$as_me:$LINENO: result
: $result" >&5
12184 echo "${ECHO_T}$result" >&6; }
12188 defaultval=$wxUSE_ALL_FEATURES
12189 if test -z "$defaultval"; then
12190 if test x"$enablestring" = xdisable; then
12197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12198 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12199 # Check whether --enable-taskbaricon was given.
12200 if test "${enable_taskbaricon+set}" = set; then
12201 enableval=$enable_taskbaricon;
12202 if test "$enableval" = yes; then
12203 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12205 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12210 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12215 eval "$wx_cv_use_taskbaricon"
12217 if test x
"$enablestring" = xdisable
; then
12218 if test $wxUSE_TASKBARICON = no
; then
12224 result
=$wxUSE_TASKBARICON
12227 { echo "$as_me:$LINENO: result: $result" >&5
12228 echo "${ECHO_T}$result" >&6; }
12232 defaultval
=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x
"$enablestring" = xdisable
; then
12241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12242 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12243 # Check whether --enable-tbarnative was given.
12244 if test "${enable_tbarnative+set}" = set; then
12245 enableval
=$enable_tbarnative;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12249 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12254 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12259 eval "$wx_cv_use_tbarnative"
12261 if test x"$enablestring" = xdisable; then
12262 if test $wxUSE_TOOLBAR_NATIVE = no; then
12268 result=$wxUSE_TOOLBAR_NATIVE
12271 { echo "$as_me:$LINENO: result: $result" >&5
12272 echo "${ECHO_T}$result" >&6; }
12276 defaultval=$wxUSE_ALL_FEATURES
12277 if test -z "$defaultval"; then
12278 if test x"$enablestring" = xdisable; then
12285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12286 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12287 # Check whether --enable-textctrl was given.
12288 if test "${enable_textctrl+set}" = set; then
12289 enableval=$enable_textctrl;
12290 if test "$enableval" = yes; then
12291 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12293 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12298 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12303 eval "$wx_cv_use_textctrl"
12305 if test x"$enablestring" = xdisable; then
12306 if test $wxUSE_TEXTCTRL = no; then
12312 result=$wxUSE_TEXTCTRL
12315 { echo "$as_me:$LINENO: result
: $result" >&5
12316 echo "${ECHO_T}$result" >&6; }
12320 defaultval=$wxUSE_ALL_FEATURES
12321 if test -z "$defaultval"; then
12322 if test x"$enablestring" = xdisable; then
12329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12330 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12331 # Check whether --enable-tipwindow was given.
12332 if test "${enable_tipwindow+set}" = set; then
12333 enableval=$enable_tipwindow;
12334 if test "$enableval" = yes; then
12335 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12337 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12342 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12347 eval "$wx_cv_use_tipwindow"
12349 if test x
"$enablestring" = xdisable
; then
12350 if test $wxUSE_TIPWINDOW = no
; then
12356 result
=$wxUSE_TIPWINDOW
12359 { echo "$as_me:$LINENO: result: $result" >&5
12360 echo "${ECHO_T}$result" >&6; }
12364 defaultval
=$wxUSE_ALL_FEATURES
12365 if test -z "$defaultval"; then
12366 if test x
"$enablestring" = xdisable
; then
12373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12374 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12375 # Check whether --enable-togglebtn was given.
12376 if test "${enable_togglebtn+set}" = set; then
12377 enableval
=$enable_togglebtn;
12378 if test "$enableval" = yes; then
12379 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12381 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12386 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12391 eval "$wx_cv_use_togglebtn"
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_TOGGLEBTN = no; then
12400 result=$wxUSE_TOGGLEBTN
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12419 # Check whether --enable-toolbar was given.
12420 if test "${enable_toolbar+set}" = set; then
12421 enableval=$enable_toolbar;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12425 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12430 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12435 eval "$wx_cv_use_toolbar"
12437 if test x"$enablestring" = xdisable; then
12438 if test $wxUSE_TOOLBAR = no; then
12444 result=$wxUSE_TOOLBAR
12447 { echo "$as_me:$LINENO: result
: $result" >&5
12448 echo "${ECHO_T}$result" >&6; }
12452 defaultval=$wxUSE_ALL_FEATURES
12453 if test -z "$defaultval"; then
12454 if test x"$enablestring" = xdisable; then
12461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12462 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12463 # Check whether --enable-toolbook was given.
12464 if test "${enable_toolbook+set}" = set; then
12465 enableval=$enable_toolbook;
12466 if test "$enableval" = yes; then
12467 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12469 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12474 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12479 eval "$wx_cv_use_toolbook"
12481 if test x
"$enablestring" = xdisable
; then
12482 if test $wxUSE_TOOLBOOK = no
; then
12488 result
=$wxUSE_TOOLBOOK
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12496 defaultval
=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x
"$enablestring" = xdisable
; then
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12507 # Check whether --enable-treebook was given.
12508 if test "${enable_treebook+set}" = set; then
12509 enableval
=$enable_treebook;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12513 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12518 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12523 eval "$wx_cv_use_treebook"
12525 if test x"$enablestring" = xdisable; then
12526 if test $wxUSE_TREEBOOK = no; then
12532 result=$wxUSE_TREEBOOK
12535 { echo "$as_me:$LINENO: result: $result" >&5
12536 echo "${ECHO_T}$result" >&6; }
12540 defaultval=$wxUSE_ALL_FEATURES
12541 if test -z "$defaultval"; then
12542 if test x"$enablestring" = xdisable; then
12549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12550 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12551 # Check whether --enable-treectrl was given.
12552 if test "${enable_treectrl+set}" = set; then
12553 enableval=$enable_treectrl;
12554 if test "$enableval" = yes; then
12555 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12557 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12562 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12567 eval "$wx_cv_use_treectrl"
12569 if test x"$enablestring" = xdisable; then
12570 if test $wxUSE_TREECTRL = no; then
12576 result=$wxUSE_TREECTRL
12579 { echo "$as_me:$LINENO: result
: $result" >&5
12580 echo "${ECHO_T}$result" >&6; }
12586 defaultval=$wxUSE_ALL_FEATURES
12587 if test -z "$defaultval"; then
12588 if test x"$enablestring" = xdisable; then
12595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12596 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12597 # Check whether --enable-commondlg was given.
12598 if test "${enable_commondlg+set}" = set; then
12599 enableval=$enable_commondlg;
12600 if test "$enableval" = yes; then
12601 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12603 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12608 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12613 eval "$wx_cv_use_commondlg"
12615 if test x
"$enablestring" = xdisable
; then
12616 if test $wxUSE_COMMONDLGS = no
; then
12622 result
=$wxUSE_COMMONDLGS
12625 { echo "$as_me:$LINENO: result: $result" >&5
12626 echo "${ECHO_T}$result" >&6; }
12630 defaultval
=$wxUSE_ALL_FEATURES
12631 if test -z "$defaultval"; then
12632 if test x
"$enablestring" = xdisable
; then
12639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12640 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12641 # Check whether --enable-aboutdlg was given.
12642 if test "${enable_aboutdlg+set}" = set; then
12643 enableval
=$enable_aboutdlg;
12644 if test "$enableval" = yes; then
12645 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12647 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12652 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12657 eval "$wx_cv_use_aboutdlg"
12659 if test x"$enablestring" = xdisable; then
12660 if test $wxUSE_ABOUTDLG = no; then
12666 result=$wxUSE_ABOUTDLG
12669 { echo "$as_me:$LINENO: result: $result" >&5
12670 echo "${ECHO_T}$result" >&6; }
12674 defaultval=$wxUSE_ALL_FEATURES
12675 if test -z "$defaultval"; then
12676 if test x"$enablestring" = xdisable; then
12683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12684 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12685 # Check whether --enable-choicedlg was given.
12686 if test "${enable_choicedlg+set}" = set; then
12687 enableval=$enable_choicedlg;
12688 if test "$enableval" = yes; then
12689 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12691 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12696 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12701 eval "$wx_cv_use_choicedlg"
12703 if test x"$enablestring" = xdisable; then
12704 if test $wxUSE_CHOICEDLG = no; then
12710 result=$wxUSE_CHOICEDLG
12713 { echo "$as_me:$LINENO: result
: $result" >&5
12714 echo "${ECHO_T}$result" >&6; }
12718 defaultval=$wxUSE_ALL_FEATURES
12719 if test -z "$defaultval"; then
12720 if test x"$enablestring" = xdisable; then
12727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12728 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12729 # Check whether --enable-coldlg was given.
12730 if test "${enable_coldlg+set}" = set; then
12731 enableval=$enable_coldlg;
12732 if test "$enableval" = yes; then
12733 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12735 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12740 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12745 eval "$wx_cv_use_coldlg"
12747 if test x
"$enablestring" = xdisable
; then
12748 if test $wxUSE_COLOURDLG = no
; then
12754 result
=$wxUSE_COLOURDLG
12757 { echo "$as_me:$LINENO: result: $result" >&5
12758 echo "${ECHO_T}$result" >&6; }
12762 defaultval
=$wxUSE_ALL_FEATURES
12763 if test -z "$defaultval"; then
12764 if test x
"$enablestring" = xdisable
; then
12771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12772 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12773 # Check whether --enable-filedlg was given.
12774 if test "${enable_filedlg+set}" = set; then
12775 enableval
=$enable_filedlg;
12776 if test "$enableval" = yes; then
12777 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12779 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12784 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12789 eval "$wx_cv_use_filedlg"
12791 if test x"$enablestring" = xdisable; then
12792 if test $wxUSE_FILEDLG = no; then
12798 result=$wxUSE_FILEDLG
12801 { echo "$as_me:$LINENO: result: $result" >&5
12802 echo "${ECHO_T}$result" >&6; }
12806 defaultval=$wxUSE_ALL_FEATURES
12807 if test -z "$defaultval"; then
12808 if test x"$enablestring" = xdisable; then
12815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12816 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12817 # Check whether --enable-finddlg was given.
12818 if test "${enable_finddlg+set}" = set; then
12819 enableval=$enable_finddlg;
12820 if test "$enableval" = yes; then
12821 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12823 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12828 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12833 eval "$wx_cv_use_finddlg"
12835 if test x"$enablestring" = xdisable; then
12836 if test $wxUSE_FINDREPLDLG = no; then
12842 result=$wxUSE_FINDREPLDLG
12845 { echo "$as_me:$LINENO: result
: $result" >&5
12846 echo "${ECHO_T}$result" >&6; }
12850 defaultval=$wxUSE_ALL_FEATURES
12851 if test -z "$defaultval"; then
12852 if test x"$enablestring" = xdisable; then
12859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12860 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12861 # Check whether --enable-fontdlg was given.
12862 if test "${enable_fontdlg+set}" = set; then
12863 enableval=$enable_fontdlg;
12864 if test "$enableval" = yes; then
12865 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12867 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12872 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12877 eval "$wx_cv_use_fontdlg"
12879 if test x
"$enablestring" = xdisable
; then
12880 if test $wxUSE_FONTDLG = no
; then
12886 result
=$wxUSE_FONTDLG
12889 { echo "$as_me:$LINENO: result: $result" >&5
12890 echo "${ECHO_T}$result" >&6; }
12894 defaultval
=$wxUSE_ALL_FEATURES
12895 if test -z "$defaultval"; then
12896 if test x
"$enablestring" = xdisable
; then
12903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12904 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12905 # Check whether --enable-dirdlg was given.
12906 if test "${enable_dirdlg+set}" = set; then
12907 enableval
=$enable_dirdlg;
12908 if test "$enableval" = yes; then
12909 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12911 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12916 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12921 eval "$wx_cv_use_dirdlg"
12923 if test x"$enablestring" = xdisable; then
12924 if test $wxUSE_DIRDLG = no; then
12930 result=$wxUSE_DIRDLG
12933 { echo "$as_me:$LINENO: result: $result" >&5
12934 echo "${ECHO_T}$result" >&6; }
12938 defaultval=$wxUSE_ALL_FEATURES
12939 if test -z "$defaultval"; then
12940 if test x"$enablestring" = xdisable; then
12947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12948 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12949 # Check whether --enable-msgdlg was given.
12950 if test "${enable_msgdlg+set}" = set; then
12951 enableval=$enable_msgdlg;
12952 if test "$enableval" = yes; then
12953 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12955 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12960 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12965 eval "$wx_cv_use_msgdlg"
12967 if test x"$enablestring" = xdisable; then
12968 if test $wxUSE_MSGDLG = no; then
12974 result=$wxUSE_MSGDLG
12977 { echo "$as_me:$LINENO: result
: $result" >&5
12978 echo "${ECHO_T}$result" >&6; }
12982 defaultval=$wxUSE_ALL_FEATURES
12983 if test -z "$defaultval"; then
12984 if test x"$enablestring" = xdisable; then
12991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12992 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12993 # Check whether --enable-numberdlg was given.
12994 if test "${enable_numberdlg+set}" = set; then
12995 enableval=$enable_numberdlg;
12996 if test "$enableval" = yes; then
12997 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12999 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13004 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13009 eval "$wx_cv_use_numberdlg"
13011 if test x
"$enablestring" = xdisable
; then
13012 if test $wxUSE_NUMBERDLG = no
; then
13018 result
=$wxUSE_NUMBERDLG
13021 { echo "$as_me:$LINENO: result: $result" >&5
13022 echo "${ECHO_T}$result" >&6; }
13026 defaultval
=$wxUSE_ALL_FEATURES
13027 if test -z "$defaultval"; then
13028 if test x
"$enablestring" = xdisable
; then
13035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13036 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13037 # Check whether --enable-splash was given.
13038 if test "${enable_splash+set}" = set; then
13039 enableval
=$enable_splash;
13040 if test "$enableval" = yes; then
13041 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13043 wx_cv_use_splash
='wxUSE_SPLASH=no'
13048 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13053 eval "$wx_cv_use_splash"
13055 if test x"$enablestring" = xdisable; then
13056 if test $wxUSE_SPLASH = no; then
13062 result=$wxUSE_SPLASH
13065 { echo "$as_me:$LINENO: result: $result" >&5
13066 echo "${ECHO_T}$result" >&6; }
13070 defaultval=$wxUSE_ALL_FEATURES
13071 if test -z "$defaultval"; then
13072 if test x"$enablestring" = xdisable; then
13079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13080 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13081 # Check whether --enable-textdlg was given.
13082 if test "${enable_textdlg+set}" = set; then
13083 enableval=$enable_textdlg;
13084 if test "$enableval" = yes; then
13085 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13087 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13092 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13097 eval "$wx_cv_use_textdlg"
13099 if test x"$enablestring" = xdisable; then
13100 if test $wxUSE_TEXTDLG = no; then
13106 result=$wxUSE_TEXTDLG
13109 { echo "$as_me:$LINENO: result
: $result" >&5
13110 echo "${ECHO_T}$result" >&6; }
13114 defaultval=$wxUSE_ALL_FEATURES
13115 if test -z "$defaultval"; then
13116 if test x"$enablestring" = xdisable; then
13123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13124 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13125 # Check whether --enable-tipdlg was given.
13126 if test "${enable_tipdlg+set}" = set; then
13127 enableval=$enable_tipdlg;
13128 if test "$enableval" = yes; then
13129 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13131 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13136 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13141 eval "$wx_cv_use_tipdlg"
13143 if test x
"$enablestring" = xdisable
; then
13144 if test $wxUSE_STARTUP_TIPS = no
; then
13150 result
=$wxUSE_STARTUP_TIPS
13153 { echo "$as_me:$LINENO: result: $result" >&5
13154 echo "${ECHO_T}$result" >&6; }
13158 defaultval
=$wxUSE_ALL_FEATURES
13159 if test -z "$defaultval"; then
13160 if test x
"$enablestring" = xdisable
; then
13167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13168 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13169 # Check whether --enable-progressdlg was given.
13170 if test "${enable_progressdlg+set}" = set; then
13171 enableval
=$enable_progressdlg;
13172 if test "$enableval" = yes; then
13173 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13175 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13180 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13185 eval "$wx_cv_use_progressdlg"
13187 if test x"$enablestring" = xdisable; then
13188 if test $wxUSE_PROGRESSDLG = no; then
13194 result=$wxUSE_PROGRESSDLG
13197 { echo "$as_me:$LINENO: result: $result" >&5
13198 echo "${ECHO_T}$result" >&6; }
13202 defaultval=$wxUSE_ALL_FEATURES
13203 if test -z "$defaultval"; then
13204 if test x"$enablestring" = xdisable; then
13211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13212 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13213 # Check whether --enable-wizarddlg was given.
13214 if test "${enable_wizarddlg+set}" = set; then
13215 enableval=$enable_wizarddlg;
13216 if test "$enableval" = yes; then
13217 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13219 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13224 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13229 eval "$wx_cv_use_wizarddlg"
13231 if test x"$enablestring" = xdisable; then
13232 if test $wxUSE_WIZARDDLG = no; then
13238 result=$wxUSE_WIZARDDLG
13241 { echo "$as_me:$LINENO: result
: $result" >&5
13242 echo "${ECHO_T}$result" >&6; }
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13257 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13258 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13259 # Check whether --enable-menus was given.
13260 if test "${enable_menus+set}" = set; then
13261 enableval=$enable_menus;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_menus='wxUSE_MENUS=yes'
13265 wx_cv_use_menus='wxUSE_MENUS=no'
13270 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13275 eval "$wx_cv_use_menus"
13277 if test x
"$enablestring" = xdisable
; then
13278 if test $wxUSE_MENUS = no
; then
13284 result
=$wxUSE_MENUS
13287 { echo "$as_me:$LINENO: result: $result" >&5
13288 echo "${ECHO_T}$result" >&6; }
13292 defaultval
=$wxUSE_ALL_FEATURES
13293 if test -z "$defaultval"; then
13294 if test x
"$enablestring" = xdisable
; then
13301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13302 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13303 # Check whether --enable-miniframe was given.
13304 if test "${enable_miniframe+set}" = set; then
13305 enableval
=$enable_miniframe;
13306 if test "$enableval" = yes; then
13307 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13309 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13314 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13319 eval "$wx_cv_use_miniframe"
13321 if test x"$enablestring" = xdisable; then
13322 if test $wxUSE_MINIFRAME = no; then
13328 result=$wxUSE_MINIFRAME
13331 { echo "$as_me:$LINENO: result: $result" >&5
13332 echo "${ECHO_T}$result" >&6; }
13336 defaultval=$wxUSE_ALL_FEATURES
13337 if test -z "$defaultval"; then
13338 if test x"$enablestring" = xdisable; then
13345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13346 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13347 # Check whether --enable-tooltips was given.
13348 if test "${enable_tooltips+set}" = set; then
13349 enableval=$enable_tooltips;
13350 if test "$enableval" = yes; then
13351 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13353 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13358 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13363 eval "$wx_cv_use_tooltips"
13365 if test x"$enablestring" = xdisable; then
13366 if test $wxUSE_TOOLTIPS = no; then
13372 result=$wxUSE_TOOLTIPS
13375 { echo "$as_me:$LINENO: result
: $result" >&5
13376 echo "${ECHO_T}$result" >&6; }
13380 defaultval=$wxUSE_ALL_FEATURES
13381 if test -z "$defaultval"; then
13382 if test x"$enablestring" = xdisable; then
13389 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13390 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13391 # Check whether --enable-splines was given.
13392 if test "${enable_splines+set}" = set; then
13393 enableval=$enable_splines;
13394 if test "$enableval" = yes; then
13395 wx_cv_use_splines='wxUSE_SPLINES=yes'
13397 wx_cv_use_splines='wxUSE_SPLINES=no'
13402 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13407 eval "$wx_cv_use_splines"
13409 if test x
"$enablestring" = xdisable
; then
13410 if test $wxUSE_SPLINES = no
; then
13416 result
=$wxUSE_SPLINES
13419 { echo "$as_me:$LINENO: result: $result" >&5
13420 echo "${ECHO_T}$result" >&6; }
13424 defaultval
=$wxUSE_ALL_FEATURES
13425 if test -z "$defaultval"; then
13426 if test x
"$enablestring" = xdisable
; then
13433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13434 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13435 # Check whether --enable-mousewheel was given.
13436 if test "${enable_mousewheel+set}" = set; then
13437 enableval
=$enable_mousewheel;
13438 if test "$enableval" = yes; then
13439 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13441 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13446 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13451 eval "$wx_cv_use_mousewheel"
13453 if test x"$enablestring" = xdisable; then
13454 if test $wxUSE_MOUSEWHEEL = no; then
13460 result=$wxUSE_MOUSEWHEEL
13463 { echo "$as_me:$LINENO: result: $result" >&5
13464 echo "${ECHO_T}$result" >&6; }
13468 defaultval=$wxUSE_ALL_FEATURES
13469 if test -z "$defaultval"; then
13470 if test x"$enablestring" = xdisable; then
13477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13478 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13479 # Check whether --enable-validators was given.
13480 if test "${enable_validators+set}" = set; then
13481 enableval=$enable_validators;
13482 if test "$enableval" = yes; then
13483 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13485 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13490 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13495 eval "$wx_cv_use_validators"
13497 if test x"$enablestring" = xdisable; then
13498 if test $wxUSE_VALIDATORS = no; then
13504 result=$wxUSE_VALIDATORS
13507 { echo "$as_me:$LINENO: result
: $result" >&5
13508 echo "${ECHO_T}$result" >&6; }
13512 defaultval=$wxUSE_ALL_FEATURES
13513 if test -z "$defaultval"; then
13514 if test x"$enablestring" = xdisable; then
13521 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13522 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13523 # Check whether --enable-busyinfo was given.
13524 if test "${enable_busyinfo+set}" = set; then
13525 enableval=$enable_busyinfo;
13526 if test "$enableval" = yes; then
13527 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13529 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13534 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13539 eval "$wx_cv_use_busyinfo"
13541 if test x
"$enablestring" = xdisable
; then
13542 if test $wxUSE_BUSYINFO = no
; then
13548 result
=$wxUSE_BUSYINFO
13551 { echo "$as_me:$LINENO: result: $result" >&5
13552 echo "${ECHO_T}$result" >&6; }
13556 defaultval
=$wxUSE_ALL_FEATURES
13557 if test -z "$defaultval"; then
13558 if test x
"$enablestring" = xdisable
; then
13565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13566 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13567 # Check whether --enable-joystick was given.
13568 if test "${enable_joystick+set}" = set; then
13569 enableval
=$enable_joystick;
13570 if test "$enableval" = yes; then
13571 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13573 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13578 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13583 eval "$wx_cv_use_joystick"
13585 if test x"$enablestring" = xdisable; then
13586 if test $wxUSE_JOYSTICK = no; then
13592 result=$wxUSE_JOYSTICK
13595 { echo "$as_me:$LINENO: result: $result" >&5
13596 echo "${ECHO_T}$result" >&6; }
13600 defaultval=$wxUSE_ALL_FEATURES
13601 if test -z "$defaultval"; then
13602 if test x"$enablestring" = xdisable; then
13609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13610 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13611 # Check whether --enable-metafile was given.
13612 if test "${enable_metafile+set}" = set; then
13613 enableval=$enable_metafile;
13614 if test "$enableval" = yes; then
13615 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13617 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13622 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13627 eval "$wx_cv_use_metafile"
13629 if test x"$enablestring" = xdisable; then
13630 if test $wxUSE_METAFILE = no; then
13636 result=$wxUSE_METAFILE
13639 { echo "$as_me:$LINENO: result
: $result" >&5
13640 echo "${ECHO_T}$result" >&6; }
13644 defaultval=$wxUSE_ALL_FEATURES
13645 if test -z "$defaultval"; then
13646 if test x"$enablestring" = xdisable; then
13653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13654 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13655 # Check whether --enable-dragimage was given.
13656 if test "${enable_dragimage+set}" = set; then
13657 enableval=$enable_dragimage;
13658 if test "$enableval" = yes; then
13659 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13661 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13666 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13671 eval "$wx_cv_use_dragimage"
13673 if test x
"$enablestring" = xdisable
; then
13674 if test $wxUSE_DRAGIMAGE = no
; then
13680 result
=$wxUSE_DRAGIMAGE
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13688 defaultval
=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x
"$enablestring" = xdisable
; then
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13699 # Check whether --enable-accessibility was given.
13700 if test "${enable_accessibility+set}" = set; then
13701 enableval
=$enable_accessibility;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13705 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13710 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13715 eval "$wx_cv_use_accessibility"
13717 if test x"$enablestring" = xdisable; then
13718 if test $wxUSE_ACCESSIBILITY = no; then
13724 result=$wxUSE_ACCESSIBILITY
13727 { echo "$as_me:$LINENO: result: $result" >&5
13728 echo "${ECHO_T}$result" >&6; }
13732 defaultval=$wxUSE_ALL_FEATURES
13733 if test -z "$defaultval"; then
13734 if test x"$enablestring" = xdisable; then
13741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13742 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13743 # Check whether --enable-uiactionsim was given.
13744 if test "${enable_uiactionsim+set}" = set; then
13745 enableval=$enable_uiactionsim;
13746 if test "$enableval" = yes; then
13747 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
13749 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
13754 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13759 eval "$wx_cv_use_uiactionsim"
13761 if test x"$enablestring" = xdisable; then
13762 if test $wxUSE_UIACTIONSIMULATOR = no; then
13768 result=$wxUSE_UIACTIONSIMULATOR
13771 { echo "$as_me:$LINENO: result
: $result" >&5
13772 echo "${ECHO_T}$result" >&6; }
13778 defaultval=$wxUSE_ALL_FEATURES
13779 if test -z "$defaultval"; then
13780 if test x"$enablestring" = xdisable; then
13787 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13788 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13789 # Check whether --enable-palette was given.
13790 if test "${enable_palette+set}" = set; then
13791 enableval=$enable_palette;
13792 if test "$enableval" = yes; then
13793 wx_cv_use_palette='wxUSE_PALETTE=yes'
13795 wx_cv_use_palette='wxUSE_PALETTE=no'
13800 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13805 eval "$wx_cv_use_palette"
13807 if test x
"$enablestring" = xdisable
; then
13808 if test $wxUSE_PALETTE = no
; then
13814 result
=$wxUSE_PALETTE
13817 { echo "$as_me:$LINENO: result: $result" >&5
13818 echo "${ECHO_T}$result" >&6; }
13822 defaultval
=$wxUSE_ALL_FEATURES
13823 if test -z "$defaultval"; then
13824 if test x
"$enablestring" = xdisable
; then
13831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13832 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13833 # Check whether --enable-image was given.
13834 if test "${enable_image+set}" = set; then
13835 enableval
=$enable_image;
13836 if test "$enableval" = yes; then
13837 wx_cv_use_image
='wxUSE_IMAGE=yes'
13839 wx_cv_use_image
='wxUSE_IMAGE=no'
13844 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13849 eval "$wx_cv_use_image"
13851 if test x"$enablestring" = xdisable; then
13852 if test $wxUSE_IMAGE = no; then
13858 result=$wxUSE_IMAGE
13861 { echo "$as_me:$LINENO: result: $result" >&5
13862 echo "${ECHO_T}$result" >&6; }
13866 defaultval=$wxUSE_ALL_FEATURES
13867 if test -z "$defaultval"; then
13868 if test x"$enablestring" = xdisable; then
13875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13876 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13877 # Check whether --enable-gif was given.
13878 if test "${enable_gif+set}" = set; then
13879 enableval=$enable_gif;
13880 if test "$enableval" = yes; then
13881 wx_cv_use_gif='wxUSE_GIF
=yes'
13883 wx_cv_use_gif='wxUSE_GIF
=no
'
13888 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13893 eval "$wx_cv_use_gif"
13895 if test x"$enablestring" = xdisable; then
13896 if test $wxUSE_GIF = no; then
13905 { echo "$as_me:$LINENO: result
: $result" >&5
13906 echo "${ECHO_T}$result" >&6; }
13910 defaultval=$wxUSE_ALL_FEATURES
13911 if test -z "$defaultval"; then
13912 if test x"$enablestring" = xdisable; then
13919 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13920 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13921 # Check whether --enable-pcx was given.
13922 if test "${enable_pcx+set}" = set; then
13923 enableval=$enable_pcx;
13924 if test "$enableval" = yes; then
13925 wx_cv_use_pcx='wxUSE_PCX=yes'
13927 wx_cv_use_pcx='wxUSE_PCX=no'
13932 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13937 eval "$wx_cv_use_pcx"
13939 if test x
"$enablestring" = xdisable
; then
13940 if test $wxUSE_PCX = no
; then
13949 { echo "$as_me:$LINENO: result: $result" >&5
13950 echo "${ECHO_T}$result" >&6; }
13954 defaultval
=$wxUSE_ALL_FEATURES
13955 if test -z "$defaultval"; then
13956 if test x
"$enablestring" = xdisable
; then
13963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13964 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13965 # Check whether --enable-tga was given.
13966 if test "${enable_tga+set}" = set; then
13967 enableval
=$enable_tga;
13968 if test "$enableval" = yes; then
13969 wx_cv_use_tga
='wxUSE_TGA=yes'
13971 wx_cv_use_tga
='wxUSE_TGA=no'
13976 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13981 eval "$wx_cv_use_tga"
13983 if test x"$enablestring" = xdisable; then
13984 if test $wxUSE_TGA = no; then
13993 { echo "$as_me:$LINENO: result: $result" >&5
13994 echo "${ECHO_T}$result" >&6; }
13998 defaultval=$wxUSE_ALL_FEATURES
13999 if test -z "$defaultval"; then
14000 if test x"$enablestring" = xdisable; then
14007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14008 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14009 # Check whether --enable-iff was given.
14010 if test "${enable_iff+set}" = set; then
14011 enableval=$enable_iff;
14012 if test "$enableval" = yes; then
14013 wx_cv_use_iff='wxUSE_IFF
=yes'
14015 wx_cv_use_iff='wxUSE_IFF
=no
'
14020 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14025 eval "$wx_cv_use_iff"
14027 if test x"$enablestring" = xdisable; then
14028 if test $wxUSE_IFF = no; then
14037 { echo "$as_me:$LINENO: result
: $result" >&5
14038 echo "${ECHO_T}$result" >&6; }
14042 defaultval=$wxUSE_ALL_FEATURES
14043 if test -z "$defaultval"; then
14044 if test x"$enablestring" = xdisable; then
14051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14052 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14053 # Check whether --enable-pnm was given.
14054 if test "${enable_pnm+set}" = set; then
14055 enableval=$enable_pnm;
14056 if test "$enableval" = yes; then
14057 wx_cv_use_pnm='wxUSE_PNM=yes'
14059 wx_cv_use_pnm='wxUSE_PNM=no'
14064 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14069 eval "$wx_cv_use_pnm"
14071 if test x
"$enablestring" = xdisable
; then
14072 if test $wxUSE_PNM = no
; then
14081 { echo "$as_me:$LINENO: result: $result" >&5
14082 echo "${ECHO_T}$result" >&6; }
14086 defaultval
=$wxUSE_ALL_FEATURES
14087 if test -z "$defaultval"; then
14088 if test x
"$enablestring" = xdisable
; then
14095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14096 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14097 # Check whether --enable-xpm was given.
14098 if test "${enable_xpm+set}" = set; then
14099 enableval
=$enable_xpm;
14100 if test "$enableval" = yes; then
14101 wx_cv_use_xpm
='wxUSE_XPM=yes'
14103 wx_cv_use_xpm
='wxUSE_XPM=no'
14108 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14113 eval "$wx_cv_use_xpm"
14115 if test x"$enablestring" = xdisable; then
14116 if test $wxUSE_XPM = no; then
14125 { echo "$as_me:$LINENO: result: $result" >&5
14126 echo "${ECHO_T}$result" >&6; }
14130 defaultval=$wxUSE_ALL_FEATURES
14131 if test -z "$defaultval"; then
14132 if test x"$enablestring" = xdisable; then
14139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14140 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14141 # Check whether --enable-ico_cur was given.
14142 if test "${enable_ico_cur+set}" = set; then
14143 enableval=$enable_ico_cur;
14144 if test "$enableval" = yes; then
14145 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14147 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14152 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14157 eval "$wx_cv_use_ico_cur"
14159 if test x"$enablestring" = xdisable; then
14160 if test $wxUSE_ICO_CUR = no; then
14166 result=$wxUSE_ICO_CUR
14169 { echo "$as_me:$LINENO: result
: $result" >&5
14170 echo "${ECHO_T}$result" >&6; }
14176 defaultval=$wxUSE_ALL_FEATURES
14177 if test -z "$defaultval"; then
14178 if test x"$enablestring" = xdisable; then
14185 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14186 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14187 # Check whether --enable-dccache was given.
14188 if test "${enable_dccache+set}" = set; then
14189 enableval=$enable_dccache;
14190 if test "$enableval" = yes; then
14191 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14193 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14198 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14203 eval "$wx_cv_use_dccache"
14205 if test x
"$enablestring" = xdisable
; then
14206 if test $wxUSE_DC_CACHEING = no
; then
14212 result
=$wxUSE_DC_CACHEING
14215 { echo "$as_me:$LINENO: result: $result" >&5
14216 echo "${ECHO_T}$result" >&6; }
14220 defaultval
=$wxUSE_ALL_FEATURES
14221 if test -z "$defaultval"; then
14222 if test x
"$enablestring" = xdisable
; then
14229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14230 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14231 # Check whether --enable-ps-in-msw was given.
14232 if test "${enable_ps_in_msw+set}" = set; then
14233 enableval
=$enable_ps_in_msw;
14234 if test "$enableval" = yes; then
14235 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14237 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14242 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14247 eval "$wx_cv_use_ps_in_msw"
14249 if test x"$enablestring" = xdisable; then
14250 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14256 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14259 { echo "$as_me:$LINENO: result: $result" >&5
14260 echo "${ECHO_T}$result" >&6; }
14264 defaultval=$wxUSE_ALL_FEATURES
14265 if test -z "$defaultval"; then
14266 if test x"$enablestring" = xdisable; then
14273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14274 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14275 # Check whether --enable-ownerdrawn was given.
14276 if test "${enable_ownerdrawn+set}" = set; then
14277 enableval=$enable_ownerdrawn;
14278 if test "$enableval" = yes; then
14279 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14281 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14286 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14291 eval "$wx_cv_use_ownerdrawn"
14293 if test x"$enablestring" = xdisable; then
14294 if test $wxUSE_OWNER_DRAWN = no; then
14300 result=$wxUSE_OWNER_DRAWN
14303 { echo "$as_me:$LINENO: result
: $result" >&5
14304 echo "${ECHO_T}$result" >&6; }
14308 defaultval=$wxUSE_ALL_FEATURES
14309 if test -z "$defaultval"; then
14310 if test x"$enablestring" = xdisable; then
14317 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14318 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14319 # Check whether --enable-uxtheme was given.
14320 if test "${enable_uxtheme+set}" = set; then
14321 enableval=$enable_uxtheme;
14322 if test "$enableval" = yes; then
14323 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14325 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14330 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14335 eval "$wx_cv_use_uxtheme"
14337 if test x
"$enablestring" = xdisable
; then
14338 if test $wxUSE_UXTHEME = no
; then
14344 result
=$wxUSE_UXTHEME
14347 { echo "$as_me:$LINENO: result: $result" >&5
14348 echo "${ECHO_T}$result" >&6; }
14352 defaultval
=$wxUSE_ALL_FEATURES
14353 if test -z "$defaultval"; then
14354 if test x
"$enablestring" = xdisable
; then
14361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14362 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14363 # Check whether --enable-wxdib was given.
14364 if test "${enable_wxdib+set}" = set; then
14365 enableval
=$enable_wxdib;
14366 if test "$enableval" = yes; then
14367 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14369 wx_cv_use_wxdib
='wxUSE_DIB=no'
14374 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14379 eval "$wx_cv_use_wxdib"
14381 if test x"$enablestring" = xdisable; then
14382 if test $wxUSE_DIB = no; then
14391 { echo "$as_me:$LINENO: result: $result" >&5
14392 echo "${ECHO_T}$result" >&6; }
14395 if test "$wxUSE_MSW" != 1; then
14396 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14411 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14412 # Check whether --enable-autoidman was given.
14413 if test "${enable_autoidman+set}" = set; then
14414 enableval=$enable_autoidman;
14415 if test "$enableval" = yes; then
14416 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14418 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14423 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14428 eval "$wx_cv_use_autoidman"
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14437 result=$wxUSE_AUTOID_MANAGEMENT
14440 { echo "$as_me:$LINENO: result
: $result" >&5
14441 echo "${ECHO_T}$result" >&6; }
14447 cat >confcache <<\_ACEOF
14448 # This file is a shell script that caches the results of configure
14449 # tests run on this system so they can be shared between configure
14450 # scripts and configure runs, see configure's option --config-cache.
14451 # It is not useful on other systems. If it contains results you don't
14452 # want to keep, you may remove or edit it.
14454 # config.status only pays attention to the cache file if you give it
14455 # the --recheck option to rerun configure.
14457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14459 # following values.
14463 # The following way of writing the cache mishandles newlines in values,
14464 # but we know of no workaround that is simple, portable, and efficient.
14465 # So, we kill variables containing newlines.
14466 # Ultrix sh set writes to stderr and can't be redirected directly,
14467 # and sets the high bit in the cache file unless we assign to the vars.
14469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14470 eval ac_val=\$$ac_var
14474 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14475 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14478 _ | IFS | as_nl) ;; #(
14479 *) $as_unset $ac_var ;;
14485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14486 *${as_nl}ac_space=\ *)
14487 # `set' does not quote correctly, so add quotes (double-quote
14488 # substitution turns \\\\ into \\, and sed turns \\ into \).
14491 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14494 # `set' quotes correctly as required by POSIX, so do not add quotes.
14495 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14509 if test -w "$cache_file"; then
14510 test "x
$cache_file" != "x
/dev
/null
" &&
14511 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14512 echo "$as_me: updating cache
$cache_file" >&6;}
14513 cat confcache >$cache_file
14515 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14516 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14523 ac_cpp='$CPP $CPPFLAGS'
14524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14527 if test -n "$ac_tool_prefix"; then
14528 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14530 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14531 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14532 if test "${ac_cv_prog_CC+set}" = set; then
14533 echo $ECHO_N "(cached
) $ECHO_C" >&6
14535 if test -n "$CC"; then
14536 ac_cv_prog_CC="$CC" # Let the user override the test.
14538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14542 test -z "$as_dir" && as_dir=.
14543 for ac_exec_ext in '' $ac_executable_extensions; do
14544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14545 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14546 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14556 if test -n "$CC"; then
14557 { echo "$as_me:$LINENO: result
: $CC" >&5
14558 echo "${ECHO_T}$CC" >&6; }
14560 { echo "$as_me:$LINENO: result
: no
" >&5
14561 echo "${ECHO_T}no
" >&6; }
14566 if test -z "$ac_cv_prog_CC"; then
14568 # Extract the first word of "gcc
", so it can be a program name with args.
14569 set dummy gcc; ac_word=$2
14570 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14571 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14573 echo $ECHO_N "(cached
) $ECHO_C" >&6
14575 if test -n "$ac_ct_CC"; then
14576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14579 for as_dir in $PATH
14582 test -z "$as_dir" && as_dir=.
14583 for ac_exec_ext in '' $ac_executable_extensions; do
14584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14585 ac_cv_prog_ac_ct_CC="gcc
"
14586 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14596 if test -n "$ac_ct_CC"; then
14597 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14598 echo "${ECHO_T}$ac_ct_CC" >&6; }
14600 { echo "$as_me:$LINENO: result
: no
" >&5
14601 echo "${ECHO_T}no
" >&6; }
14604 if test "x
$ac_ct_CC" = x; then
14607 case $cross_compiling:$ac_tool_warned in
14609 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14610 whose name does not start with the
host triplet. If you think this
14611 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14612 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14613 whose name does not start with the
host triplet. If you think this
14614 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14615 ac_tool_warned=yes ;;
14620 CC="$ac_cv_prog_CC"
14623 if test -z "$CC"; then
14624 if test -n "$ac_tool_prefix"; then
14625 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14626 set dummy ${ac_tool_prefix}cc; ac_word=$2
14627 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14628 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14629 if test "${ac_cv_prog_CC+set}" = set; then
14630 echo $ECHO_N "(cached
) $ECHO_C" >&6
14632 if test -n "$CC"; then
14633 ac_cv_prog_CC="$CC" # Let the user override the test.
14635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14636 for as_dir in $PATH
14639 test -z "$as_dir" && as_dir=.
14640 for ac_exec_ext in '' $ac_executable_extensions; do
14641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14642 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14643 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14653 if test -n "$CC"; then
14654 { echo "$as_me:$LINENO: result
: $CC" >&5
14655 echo "${ECHO_T}$CC" >&6; }
14657 { echo "$as_me:$LINENO: result
: no
" >&5
14658 echo "${ECHO_T}no
" >&6; }
14664 if test -z "$CC"; then
14665 # Extract the first word of "cc
", so it can be a program name with args.
14666 set dummy cc; ac_word=$2
14667 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14668 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14669 if test "${ac_cv_prog_CC+set}" = set; then
14670 echo $ECHO_N "(cached
) $ECHO_C" >&6
14672 if test -n "$CC"; then
14673 ac_cv_prog_CC="$CC" # Let the user override the test.
14675 ac_prog_rejected=no
14676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14677 for as_dir in $PATH
14680 test -z "$as_dir" && as_dir=.
14681 for ac_exec_ext in '' $ac_executable_extensions; do
14682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14684 ac_prog_rejected=yes
14688 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14695 if test $ac_prog_rejected = yes; then
14696 # We found a bogon in the path, so make sure we never use it.
14697 set dummy $ac_cv_prog_CC
14699 if test $# != 0; then
14700 # We chose a different compiler from the bogus one.
14701 # However, it has the same basename, so the bogon will be chosen
14702 # first if we set CC to just the basename; use the full file name.
14704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14710 if test -n "$CC"; then
14711 { echo "$as_me:$LINENO: result
: $CC" >&5
14712 echo "${ECHO_T}$CC" >&6; }
14714 { echo "$as_me:$LINENO: result
: no
" >&5
14715 echo "${ECHO_T}no
" >&6; }
14720 if test -z "$CC"; then
14721 if test -n "$ac_tool_prefix"; then
14722 for ac_prog in cl.exe
14724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14726 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14727 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14728 if test "${ac_cv_prog_CC+set}" = set; then
14729 echo $ECHO_N "(cached
) $ECHO_C" >&6
14731 if test -n "$CC"; then
14732 ac_cv_prog_CC="$CC" # Let the user override the test.
14734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14735 for as_dir in $PATH
14738 test -z "$as_dir" && as_dir=.
14739 for ac_exec_ext in '' $ac_executable_extensions; do
14740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14742 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14752 if test -n "$CC"; then
14753 { echo "$as_me:$LINENO: result
: $CC" >&5
14754 echo "${ECHO_T}$CC" >&6; }
14756 { echo "$as_me:$LINENO: result
: no
" >&5
14757 echo "${ECHO_T}no
" >&6; }
14761 test -n "$CC" && break
14764 if test -z "$CC"; then
14766 for ac_prog in cl.exe
14768 # Extract the first word of "$ac_prog", so it can be a program name with args.
14769 set dummy $ac_prog; ac_word=$2
14770 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14771 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14773 echo $ECHO_N "(cached
) $ECHO_C" >&6
14775 if test -n "$ac_ct_CC"; then
14776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14779 for as_dir in $PATH
14782 test -z "$as_dir" && as_dir=.
14783 for ac_exec_ext in '' $ac_executable_extensions; do
14784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14785 ac_cv_prog_ac_ct_CC="$ac_prog"
14786 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14796 if test -n "$ac_ct_CC"; then
14797 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14798 echo "${ECHO_T}$ac_ct_CC" >&6; }
14800 { echo "$as_me:$LINENO: result
: no
" >&5
14801 echo "${ECHO_T}no
" >&6; }
14805 test -n "$ac_ct_CC" && break
14808 if test "x
$ac_ct_CC" = x; then
14811 case $cross_compiling:$ac_tool_warned in
14813 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14814 whose name does not start with the
host triplet. If you think this
14815 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14816 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14817 whose name does not start with the
host triplet. If you think this
14818 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14819 ac_tool_warned=yes ;;
14828 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14829 See \
`config.log' for more details." >&5
14830 echo "$as_me: error: no acceptable C compiler found in \$PATH
14831 See \`config.log
' for more details." >&2;}
14832 { (exit 1); exit 1; }; }
14834 # Provide some information about the compiler.
14835 echo "$as_me:$LINENO: checking for C compiler version" >&5
14836 ac_compiler=`set X $ac_compile; echo $2`
14837 { (ac_try="$ac_compiler --version >&5"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_compiler --version >&5") 2>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }
14847 { (ac_try="$ac_compiler -v >&5"
14848 case "(($ac_try" in
14849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14850 *) ac_try_echo=$ac_try;;
14852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14853 (eval "$ac_compiler -v >&5") 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }
14857 { (ac_try="$ac_compiler -V >&5"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_compiler -V >&5") 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }
14868 cat >conftest.$ac_ext <<_ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14883 ac_clean_files_save=$ac_clean_files
14884 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14885 # Try to create an executable without -o first, disregard a.out.
14886 # It will help us diagnose broken compilers, and finding out an intuition
14888 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14890 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14892 # List of possible output files, starting from the most likely.
14893 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14894 # only as a last resort. b.out is created by i960 compilers.
14895 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14897 # The IRIX 6 linker writes into existing files which may not be
14898 # executable, retaining their permissions. Remove them first so a
14899 # subsequent execution test works.
14901 for ac_file
in $ac_files
14904 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14905 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14910 if { (ac_try
="$ac_link_default"
14911 case "(($ac_try" in
14912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_link_default") 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; then
14920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14921 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14923 # so that the user can short-circuit this test for compilers unknown to
14925 for ac_file in $ac_files ''
14927 test -f "$ac_file" || continue
14929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14932 # We found the default executable, but exeext='' is most
14936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14938 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14940 # We set ac_cv_exeext here because the later test for it is not
14941 # safe: cross compilers may not add the suffix if given an `-o'
14942 # argument, so we may need to know it at that point already.
14943 # Even if this section looks crufty: it has the advantage of
14944 # actually working.
14950 test "$ac_cv_exeext" = no && ac_cv_exeext=
14956 { echo "$as_me:$LINENO: result: $ac_file" >&5
14957 echo "${ECHO_T}$ac_file" >&6; }
14958 if test -z "$ac_file"; then
14959 echo "$as_me: failed program was:" >&5
14960 sed 's
/^
/| /' conftest.$ac_ext >&5
14962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14963 See \`config.log' for more details.
" >&5
14964 echo "$as_me: error
: C compiler cannot create executables
14965 See \
`config.log' for more details." >&2;}
14966 { (exit 77); exit 77; }; }
14969 ac_exeext=$ac_cv_exeext
14971 # Check that the compiler produces executables we can run. If not, either
14972 # the compiler is broken, or we cross compile.
14973 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14974 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14975 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14976 # If not cross compiling, check that we can run a simple program.
14977 if test "$cross_compiling" != yes; then
14978 if { ac_try='./$ac_file'
14979 { (case "(($ac_try" in
14980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14981 *) ac_try_echo
=$ac_try;;
14983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14984 (eval "$ac_try") 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14990 if test "$cross_compiling" = maybe
; then
14991 cross_compiling
=yes
14993 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14994 If you meant to cross compile, use \`--host'.
14995 See \`config.log' for more details." >&5
14996 echo "$as_me: error: cannot run C compiled programs.
14997 If you meant to cross compile, use \`--host'.
14998 See \`config.log' for more details." >&2;}
14999 { (exit 1); exit 1; }; }
15003 { echo "$as_me:$LINENO: result: yes" >&5
15004 echo "${ECHO_T}yes" >&6; }
15006 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15007 ac_clean_files
=$ac_clean_files_save
15008 # Check that the compiler produces executables we can run. If not, either
15009 # the compiler is broken, or we cross compile.
15010 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15011 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15012 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15013 echo "${ECHO_T}$cross_compiling" >&6; }
15015 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15016 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15017 if { (ac_try
="$ac_link"
15018 case "(($ac_try" in
15019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_link") 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; then
15027 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15028 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15029 # work properly (i.e., refer to `conftest.exe'), while it won't with
15031 for ac_file
in conftest.exe conftest conftest.
*; do
15032 test -f "$ac_file" || continue
15034 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15035 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15041 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15042 See \`config.log' for more details." >&5
15043 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15044 See \`config.log' for more details." >&2;}
15045 { (exit 1); exit 1; }; }
15048 rm -f conftest
$ac_cv_exeext
15049 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15050 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15052 rm -f conftest.
$ac_ext
15053 EXEEXT
=$ac_cv_exeext
15055 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15056 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15057 if test "${ac_cv_objext+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 cat >conftest.
$ac_ext <<_ACEOF
15063 cat confdefs.h
>>conftest.
$ac_ext
15064 cat >>conftest.
$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15075 rm -f conftest.o conftest.obj
15076 if { (ac_try
="$ac_compile"
15077 case "(($ac_try" in
15078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15079 *) ac_try_echo=$ac_try;;
15081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15082 (eval "$ac_compile") 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; then
15086 for ac_file in conftest.o conftest.obj conftest.*; do
15087 test -f "$ac_file" || continue;
15089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15090 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15099 See \`config.log
' for more details." >&5
15100 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15101 See \`config.log' for more details.
" >&2;}
15102 { (exit 1); exit 1; }; }
15105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15107 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15108 echo "${ECHO_T}$ac_cv_objext" >&6; }
15109 OBJEXT=$ac_cv_objext
15111 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15112 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15113 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15114 echo $ECHO_N "(cached
) $ECHO_C" >&6
15116 cat >conftest.$ac_ext <<_ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15143 grep -v '^ *+' conftest.er1 >conftest.err
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 ac_compiler_gnu=yes
15153 echo "$as_me: failed program was
:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15163 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15164 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15165 GCC=`test $ac_compiler_gnu = yes && echo yes`
15166 ac_test_CFLAGS=${CFLAGS+set}
15167 ac_save_CFLAGS=$CFLAGS
15168 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15169 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15170 if test "${ac_cv_prog_cc_g+set}" = set; then
15171 echo $ECHO_N "(cached
) $ECHO_C" >&6
15173 ac_save_c_werror_flag=$ac_c_werror_flag
15174 ac_c_werror_flag=yes
15177 cat >conftest.$ac_ext <<_ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15192 rm -f conftest.$ac_objext
15193 if { (ac_try="$ac_compile"
15194 case "(($ac_try" in
15195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15196 *) ac_try_echo=$ac_try;;
15198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15199 (eval "$ac_compile") 2>conftest.er1
15201 grep -v '^ *+' conftest.er1 >conftest.err
15203 cat conftest.err >&5
15204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15205 (exit $ac_status); } && {
15206 test -z "$ac_c_werror_flag" ||
15207 test ! -s conftest.err
15208 } && test -s conftest.$ac_objext; then
15209 ac_cv_prog_cc_g=yes
15211 echo "$as_me: failed program was
:" >&5
15212 sed 's/^/| /' conftest.$ac_ext >&5
15215 cat >conftest.$ac_ext <<_ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15230 rm -f conftest.$ac_objext
15231 if { (ac_try="$ac_compile"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compile") 2>conftest.er1
15239 grep -v '^ *+' conftest.er1 >conftest.err
15241 cat conftest.err >&5
15242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15243 (exit $ac_status); } && {
15244 test -z "$ac_c_werror_flag" ||
15245 test ! -s conftest.err
15246 } && test -s conftest.$ac_objext; then
15249 echo "$as_me: failed program was
:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15252 ac_c_werror_flag=$ac_save_c_werror_flag
15254 cat >conftest.$ac_ext <<_ACEOF
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h. */
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15278 grep -v '^ *+' conftest.er1 >conftest.err
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 ac_cv_prog_cc_g=yes
15288 echo "$as_me: failed program was
:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 ac_c_werror_flag=$ac_save_c_werror_flag
15303 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15304 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15305 if test "$ac_test_CFLAGS" = set; then
15306 CFLAGS=$ac_save_CFLAGS
15307 elif test $ac_cv_prog_cc_g = yes; then
15308 if test "$GCC" = yes; then
15314 if test "$GCC" = yes; then
15320 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15321 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15322 if test "${ac_cv_prog_cc_c89+set}" = set; then
15323 echo $ECHO_N "(cached
) $ECHO_C" >&6
15325 ac_cv_prog_cc_c89=no
15327 cat >conftest.$ac_ext <<_ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 #include <stdarg.h>
15335 #include <sys/types.h>
15336 #include <sys/stat.h>
15337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15338 struct buf { int x; };
15339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15340 static char *e (p, i)
15346 static char *f (char * (*g) (char **, int), char **p, ...)
15351 s = g (p, va_arg (v,int));
15356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15357 function prototypes and stuff, but not '\xHH' hex character constants.
15358 These don't provoke an error unfortunately, instead are silently treated
15359 as 'x'. The following induces an error, until -std is added to get
15360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15361 array size at least. It's necessary to write '\x00'==0 to get something
15362 that's true only with -std. */
15363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15366 inside strings and character constants. */
15368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15370 int test (int i, double x);
15371 struct s1 {int (*f) (int a);};
15372 struct s2 {int (*f) (double a);};
15373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15387 CC="$ac_save_CC $ac_arg"
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1 >conftest.err
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 ac_cv_prog_cc_c89=$ac_arg
15407 echo "$as_me: failed program was
:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15413 rm -f core conftest.err conftest.$ac_objext
15414 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15416 rm -f conftest.$ac_ext
15421 case "x
$ac_cv_prog_cc_c89" in
15423 { echo "$as_me:$LINENO: result
: none needed
" >&5
15424 echo "${ECHO_T}none needed
" >&6; } ;;
15426 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15427 echo "${ECHO_T}unsupported
" >&6; } ;;
15429 CC="$CC $ac_cv_prog_cc_c89"
15430 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15431 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15436 ac_cpp='$CPP $CPPFLAGS'
15437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449 ac_cpp='$CPP $CPPFLAGS'
15450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15454 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15455 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15456 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15457 echo $ECHO_N "(cached
) $ECHO_C" >&6
15459 cat >conftest.$ac_ext <<_ACEOF
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15470 #ifndef __INTEL_COMPILER
15478 rm -f conftest.$ac_objext
15479 if { (ac_try="$ac_compile"
15480 case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_compile") 2>conftest.er1
15487 grep -v '^ *+' conftest.er1 >conftest.err
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15491 (exit $ac_status); } && {
15492 test -z "$ac_c_werror_flag" ||
15493 test ! -s conftest.err
15494 } && test -s conftest.$ac_objext; then
15495 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15497 echo "$as_me: failed program was
:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 bakefile_cv_c_compiler___INTEL_COMPILER=no
15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15508 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15509 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15510 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15524 if test "$INTELCC" = "yes"; then
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15533 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15534 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15535 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15536 echo $ECHO_N "(cached
) $ECHO_C" >&6
15538 cat >conftest.$ac_ext <<_ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15549 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15557 rm -f conftest.$ac_objext
15558 if { (ac_try="$ac_compile"
15559 case "(($ac_try" in
15560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561 *) ac_try_echo=$ac_try;;
15563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15564 (eval "$ac_compile") 2>conftest.er1
15566 grep -v '^ *+' conftest.er1 >conftest.err
15568 cat conftest.err >&5
15569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15570 (exit $ac_status); } && {
15571 test -z "$ac_c_werror_flag" ||
15572 test ! -s conftest.err
15573 } && test -s conftest.$ac_objext; then
15574 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15576 echo "$as_me: failed program was
:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15579 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15588 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15589 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15611 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15613 echo $ECHO_N "(cached
) $ECHO_C" >&6
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15626 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15643 grep -v '^ *+' conftest.er1 >conftest.err
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15653 echo "$as_me: failed program was
:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15666 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15681 if test "x
$GCC" != "xyes
"; then
15682 if test "xCC
" = "xC
"; then
15683 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15684 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15685 if test "${bakefile_cv_c_exto+set}" = set; then
15686 echo $ECHO_N "(cached
) $ECHO_C" >&6
15688 cat >conftest.$ac_ext <<_ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15703 rm -f conftest.$ac_objext conftest.$ac_ext.o
15704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15705 (eval $ac_compile) 2>&5
15707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15708 (exit $ac_status); }; then
15709 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15711 conftest.$ac_ext.o)
15712 bakefile_cv_c_exto="-ext o
"
15719 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15720 See \
`config.log' for more details." >&5
15721 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15722 See \`config.log
' for more details." >&2;}
15723 { (exit 1); exit 1; }; }
15727 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15730 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15731 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15732 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15733 if test "c" = "c"; then
15734 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15736 if test "c" = "cxx"; then
15737 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15741 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15742 unset ac_cv_prog_cc_g
15743 ac_test_CFLAGS=${CFLAGS+set}
15744 ac_save_CFLAGS=$CFLAGS
15745 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15746 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15747 if test "${ac_cv_prog_cc_g+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15750 ac_save_c_werror_flag=$ac_c_werror_flag
15751 ac_c_werror_flag=yes
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15769 rm -f conftest.$ac_objext
15770 if { (ac_try="$ac_compile"
15771 case "(($ac_try" in
15772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15773 *) ac_try_echo=$ac_try;;
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_compile") 2>conftest.er1
15778 grep -v '^
*+' conftest.er1 >conftest.err
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } && {
15783 test -z "$ac_c_werror_flag" ||
15784 test ! -s conftest.err
15785 } && test -s conftest.$ac_objext; then
15786 ac_cv_prog_cc_g=yes
15788 echo "$as_me: failed program was:" >&5
15789 sed 's
/^
/| /' conftest.$ac_ext >&5
15792 cat >conftest.$ac_ext <<_ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15807 rm -f conftest.$ac_objext
15808 if { (ac_try="$ac_compile"
15809 case "(($ac_try" in
15810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15811 *) ac_try_echo=$ac_try;;
15813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15814 (eval "$ac_compile") 2>conftest.er1
15816 grep -v '^
*+' conftest.er1 >conftest.err
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } && {
15821 test -z "$ac_c_werror_flag" ||
15822 test ! -s conftest.err
15823 } && test -s conftest.$ac_objext; then
15826 echo "$as_me: failed program was:" >&5
15827 sed 's
/^
/| /' conftest.$ac_ext >&5
15829 ac_c_werror_flag=$ac_save_c_werror_flag
15831 cat >conftest.$ac_ext <<_ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15846 rm -f conftest.$ac_objext
15847 if { (ac_try="$ac_compile"
15848 case "(($ac_try" in
15849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_compile") 2>conftest.er1
15855 grep -v '^
*+' conftest.er1 >conftest.err
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } && {
15860 test -z "$ac_c_werror_flag" ||
15861 test ! -s conftest.err
15862 } && test -s conftest.$ac_objext; then
15863 ac_cv_prog_cc_g=yes
15865 echo "$as_me: failed program was:" >&5
15866 sed 's
/^
/| /' conftest.$ac_ext >&5
15871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15878 ac_c_werror_flag=$ac_save_c_werror_flag
15880 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15882 if test "$ac_test_CFLAGS" = set; then
15883 CFLAGS=$ac_save_CFLAGS
15884 elif test $ac_cv_prog_cc_g = yes; then
15885 if test "$GCC" = yes; then
15891 if test "$GCC" = yes; then
15905 ac_cpp='$CPP $CPPFLAGS'
15906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15907 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15910 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15911 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15912 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
15915 cat >conftest.$ac_ext <<_ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15934 rm -f conftest.$ac_objext
15935 if { (ac_try="$ac_compile"
15936 case "(($ac_try" in
15937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938 *) ac_try_echo=$ac_try;;
15940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941 (eval "$ac_compile") 2>conftest.er1
15943 grep -v '^
*+' conftest.er1 >conftest.err
15945 cat conftest.err >&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); } && {
15948 test -z "$ac_c_werror_flag" ||
15949 test ! -s conftest.err
15950 } && test -s conftest.$ac_objext; then
15951 bakefile_cv_c_compiler___xlC__=yes
15953 echo "$as_me: failed program was:" >&5
15954 sed 's
/^
/| /' conftest.$ac_ext >&5
15956 bakefile_cv_c_compiler___xlC__=no
15960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15965 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15966 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15972 ac_cpp='$CPP $CPPFLAGS'
15973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15974 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15985 ac_cpp='$CPP $CPPFLAGS'
15986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15987 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15990 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15991 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15992 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 cat >conftest.$ac_ext <<_ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16014 rm -f conftest.$ac_objext
16015 if { (ac_try="$ac_compile"
16016 case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_compile") 2>conftest.er1
16023 grep -v '^
*+' conftest.er1 >conftest.err
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } && {
16028 test -z "$ac_c_werror_flag" ||
16029 test ! -s conftest.err
16030 } && test -s conftest.$ac_objext; then
16031 bakefile_cv_c_compiler___MWERKS__=yes
16033 echo "$as_me: failed program was:" >&5
16034 sed 's
/^
/| /' conftest.$ac_ext >&5
16036 bakefile_cv_c_compiler___MWERKS__=no
16040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16044 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16045 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16046 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16052 ac_cpp='$CPP $CPPFLAGS'
16053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16054 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16059 if test "$MWCC" != "yes"; then
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16065 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16068 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16069 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16070 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 cat >conftest.$ac_ext <<_ACEOF
16076 cat confdefs.h >>conftest.$ac_ext
16077 cat >>conftest.$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16092 rm -f conftest.$ac_objext
16093 if { (ac_try="$ac_compile"
16094 case "(($ac_try" in
16095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16099 (eval "$ac_compile") 2>conftest.er1
16101 grep -v '^
*+' conftest.er1 >conftest.err
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && {
16106 test -z "$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16108 } && test -s conftest.$ac_objext; then
16109 bakefile_cv_c_compiler___xlC__=yes
16111 echo "$as_me: failed program was:" >&5
16112 sed 's
/^
/| /' conftest.$ac_ext >&5
16114 bakefile_cv_c_compiler___xlC__=no
16118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16122 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16123 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16124 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16130 ac_cpp='$CPP $CPPFLAGS'
16131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16132 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16149 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16150 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16151 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16152 echo $ECHO_N "(cached) $ECHO_C" >&6
16154 cat >conftest.$ac_ext <<_ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16165 #ifndef _SGI_COMPILER_VERSION
16173 rm -f conftest.$ac_objext
16174 if { (ac_try="$ac_compile"
16175 case "(($ac_try" in
16176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16177 *) ac_try_echo=$ac_try;;
16179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16180 (eval "$ac_compile") 2>conftest.er1
16182 grep -v '^
*+' conftest.er1 >conftest.err
16184 cat conftest.err >&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && {
16187 test -z "$ac_c_werror_flag" ||
16188 test ! -s conftest.err
16189 } && test -s conftest.$ac_objext; then
16190 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16192 echo "$as_me: failed program was:" >&5
16193 sed 's
/^
/| /' conftest.$ac_ext >&5
16195 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16204 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16205 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16211 ac_cpp='$CPP $CPPFLAGS'
16212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16213 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16221 if test "$INTELCC" != "yes"; then
16225 ac_cpp='$CPP $CPPFLAGS'
16226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16230 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16231 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16232 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16235 cat >conftest.$ac_ext <<_ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16254 rm -f conftest.$ac_objext
16255 if { (ac_try="$ac_compile"
16256 case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_compile") 2>conftest.er1
16263 grep -v '^
*+' conftest.er1 >conftest.err
16265 cat conftest.err >&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } && {
16268 test -z "$ac_c_werror_flag" ||
16269 test ! -s conftest.err
16270 } && test -s conftest.$ac_objext; then
16271 bakefile_cv_c_compiler___SUNPRO_C=yes
16273 echo "$as_me: failed program was:" >&5
16274 sed 's
/^
/| /' conftest.$ac_ext >&5
16276 bakefile_cv_c_compiler___SUNPRO_C=no
16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16285 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16286 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16292 ac_cpp='$CPP $CPPFLAGS'
16293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16306 ac_cpp='$CPP $CPPFLAGS'
16307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16311 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16312 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16313 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 cat >conftest.$ac_ext <<_ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16335 rm -f conftest.$ac_objext
16336 if { (ac_try="$ac_compile"
16337 case "(($ac_try" in
16338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16339 *) ac_try_echo=$ac_try;;
16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342 (eval "$ac_compile") 2>conftest.er1
16344 grep -v '^
*+' conftest.er1 >conftest.err
16346 cat conftest.err >&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && {
16349 test -z "$ac_c_werror_flag" ||
16350 test ! -s conftest.err
16351 } && test -s conftest.$ac_objext; then
16352 bakefile_cv_c_compiler___HP_cc=yes
16354 echo "$as_me: failed program was:" >&5
16355 sed 's
/^
/| /' conftest.$ac_ext >&5
16357 bakefile_cv_c_compiler___HP_cc=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16365 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16366 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16367 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16375 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16386 ac_cpp='$CPP $CPPFLAGS'
16387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16388 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16391 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16392 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16393 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 cat >conftest.$ac_ext <<_ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16415 rm -f conftest.$ac_objext
16416 if { (ac_try="$ac_compile"
16417 case "(($ac_try" in
16418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16419 *) ac_try_echo=$ac_try;;
16421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16422 (eval "$ac_compile") 2>conftest.er1
16424 grep -v '^
*+' conftest.er1 >conftest.err
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16431 } && test -s conftest.$ac_objext; then
16432 bakefile_cv_c_compiler___DECC=yes
16434 echo "$as_me: failed program was:" >&5
16435 sed 's
/^
/| /' conftest.$ac_ext >&5
16437 bakefile_cv_c_compiler___DECC=no
16441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16446 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16447 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16453 ac_cpp='$CPP $CPPFLAGS'
16454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16455 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16466 ac_cpp='$CPP $CPPFLAGS'
16467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16468 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16471 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16472 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16473 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16476 cat >conftest.$ac_ext <<_ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16495 rm -f conftest.$ac_objext
16496 if { (ac_try="$ac_compile"
16497 case "(($ac_try" in
16498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16499 *) ac_try_echo=$ac_try;;
16501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16502 (eval "$ac_compile") 2>conftest.er1
16504 grep -v '^
*+' conftest.er1 >conftest.err
16506 cat conftest.err >&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } && {
16509 test -z "$ac_c_werror_flag" ||
16510 test ! -s conftest.err
16511 } && test -s conftest.$ac_objext; then
16512 bakefile_cv_c_compiler___SUNPRO_C=yes
16514 echo "$as_me: failed program was:" >&5
16515 sed 's
/^
/| /' conftest.$ac_ext >&5
16517 bakefile_cv_c_compiler___SUNPRO_C=no
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16526 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16527 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16533 ac_cpp='$CPP $CPPFLAGS'
16534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16535 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16549 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16551 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16552 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16553 # On Suns, sometimes $CPP names a directory.
16554 if test -n "$CPP" && test -d "$CPP"; then
16557 if test -z "$CPP"; then
16558 if test "${ac_cv_prog_CPP+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 # Double quotes because CPP needs to be expanded
16562 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16564 ac_preproc_ok=false
16565 for ac_c_preproc_warn_flag in '' yes
16567 # Use a header file that comes with gcc, so configuring glibc
16568 # with a fresh cross-compiler works.
16569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16570 # <limits.h> exists even on freestanding compilers.
16571 # On the NeXT, cc -E runs the code through the compiler's parser
,
16572 # not just through cpp. "Syntax error" is here to catch this case.
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16580 # include <limits.h>
16582 # include <assert.h>
16586 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16587 case "(($ac_try" in
16588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16594 grep -v '^ *+' conftest.er1 >conftest.err
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } >/dev/null && {
16599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16600 test ! -s conftest.err
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16607 # Broken: fails on valid input.
16611 rm -f conftest.err conftest.$ac_ext
16613 # OK, works on sane cases. Now check whether nonexistent headers
16614 # can be detected and how.
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 #include <ac_nonexistent.h>
16623 if { (ac_try="$ac_cpp conftest.$ac_ext"
16624 case "(($ac_try" in
16625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16626 *) ac_try_echo
=$ac_try;;
16628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } >/dev
/null
&& {
16636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16637 test ! -s conftest.err
16639 # Broken: success on invalid input.
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.
$ac_ext >&5
16645 # Passes both tests.
16650 rm -f conftest.err conftest.
$ac_ext
16653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16654 rm -f conftest.err conftest.
$ac_ext
16655 if $ac_preproc_ok; then
16660 ac_cv_prog_CPP
=$CPP
16663 CPP
=$ac_cv_prog_CPP
16665 ac_cv_prog_CPP
=$CPP
16667 { echo "$as_me:$LINENO: result: $CPP" >&5
16668 echo "${ECHO_T}$CPP" >&6; }
16669 ac_preproc_ok
=false
16670 for ac_c_preproc_warn_flag
in '' yes
16672 # Use a header file that comes with gcc, so configuring glibc
16673 # with a fresh cross-compiler works.
16674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16675 # <limits.h> exists even on freestanding compilers.
16676 # On the NeXT, cc -E runs the code through the compiler's parser,
16677 # not just through cpp. "Syntax error" is here to catch this case.
16678 cat >conftest.
$ac_ext <<_ACEOF
16681 cat confdefs.h
>>conftest.
$ac_ext
16682 cat >>conftest.
$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16685 # include <limits.h>
16687 # include <assert.h>
16691 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16692 case "(($ac_try" in
16693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16699 grep -v '^ *+' conftest.er1 >conftest.err
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } >/dev/null && {
16704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 # Broken: fails on valid input.
16716 rm -f conftest.err conftest.$ac_ext
16718 # OK, works on sane cases. Now check whether nonexistent headers
16719 # can be detected and how.
16720 cat >conftest.$ac_ext <<_ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 #include <ac_nonexistent.h>
16728 if { (ac_try="$ac_cpp conftest.$ac_ext"
16729 case "(($ac_try" in
16730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16731 *) ac_try_echo
=$ac_try;;
16733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16736 grep -v '^ *+' conftest.er1
>conftest.err
16738 cat conftest.err
>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); } >/dev
/null
&& {
16741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16742 test ! -s conftest.err
16744 # Broken: success on invalid input.
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16750 # Passes both tests.
16755 rm -f conftest.err conftest.
$ac_ext
16758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16759 rm -f conftest.err conftest.
$ac_ext
16760 if $ac_preproc_ok; then
16763 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16764 See \`config.log' for more details." >&5
16765 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16766 See \`config.log' for more details." >&2;}
16767 { (exit 1); exit 1; }; }
16771 ac_cpp
='$CPP $CPPFLAGS'
16772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16777 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16778 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16779 if test "${ac_cv_path_GREP+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 # Extract the first word of "grep ggrep" to use in msg output
16783 if test -z "$GREP"; then
16784 set dummy
grep ggrep
; ac_prog_name
=$2
16785 if test "${ac_cv_path_GREP+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 ac_path_GREP_found
=false
16789 # Loop through the user's path and test for each of PROGNAME-LIST
16790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16794 test -z "$as_dir" && as_dir
=.
16795 for ac_prog
in grep ggrep
; do
16796 for ac_exec_ext
in '' $ac_executable_extensions; do
16797 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16798 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16799 # Check for GNU ac_path_GREP and select it if it is found.
16800 # Check for GNU $ac_path_GREP
16801 case `"$ac_path_GREP" --version 2>&1` in
16803 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16806 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16809 cat "conftest.in" "conftest.in" >"conftest.tmp"
16810 mv "conftest.tmp" "conftest.in"
16811 cp "conftest.in" "conftest.nl"
16812 echo 'GREP' >> "conftest.nl"
16813 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16815 ac_count
=`expr $ac_count + 1`
16816 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16817 # Best one so far, save it but keep looking for a better one
16818 ac_cv_path_GREP
="$ac_path_GREP"
16819 ac_path_GREP_max
=$ac_count
16821 # 10*(2^10) chars as input seems more than enough
16822 test $ac_count -gt 10 && break
16824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16828 $ac_path_GREP_found && break 3
16838 GREP
="$ac_cv_path_GREP"
16839 if test -z "$GREP"; then
16840 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16842 { (exit 1); exit 1; }; }
16846 ac_cv_path_GREP
=$GREP
16851 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16852 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16853 GREP
="$ac_cv_path_GREP"
16856 { echo "$as_me:$LINENO: checking for egrep" >&5
16857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16858 if test "${ac_cv_path_EGREP+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16862 then ac_cv_path_EGREP
="$GREP -E"
16864 # Extract the first word of "egrep" to use in msg output
16865 if test -z "$EGREP"; then
16866 set dummy
egrep; ac_prog_name
=$2
16867 if test "${ac_cv_path_EGREP+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 ac_path_EGREP_found
=false
16871 # Loop through the user's path and test for each of PROGNAME-LIST
16872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16873 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16876 test -z "$as_dir" && as_dir
=.
16877 for ac_prog
in egrep; do
16878 for ac_exec_ext
in '' $ac_executable_extensions; do
16879 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16880 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16881 # Check for GNU ac_path_EGREP and select it if it is found.
16882 # Check for GNU $ac_path_EGREP
16883 case `"$ac_path_EGREP" --version 2>&1` in
16885 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16888 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16891 cat "conftest.in" "conftest.in" >"conftest.tmp"
16892 mv "conftest.tmp" "conftest.in"
16893 cp "conftest.in" "conftest.nl"
16894 echo 'EGREP' >> "conftest.nl"
16895 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16896 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16897 ac_count
=`expr $ac_count + 1`
16898 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16899 # Best one so far, save it but keep looking for a better one
16900 ac_cv_path_EGREP
="$ac_path_EGREP"
16901 ac_path_EGREP_max
=$ac_count
16903 # 10*(2^10) chars as input seems more than enough
16904 test $ac_count -gt 10 && break
16906 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16910 $ac_path_EGREP_found && break 3
16920 EGREP
="$ac_cv_path_EGREP"
16921 if test -z "$EGREP"; then
16922 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16923 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16924 { (exit 1); exit 1; }; }
16928 ac_cv_path_EGREP
=$EGREP
16934 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16935 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16936 EGREP
="$ac_cv_path_EGREP"
16939 if test $ac_cv_c_compiler_gnu = yes; then
16940 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16941 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16942 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 ac_pattern
="Autoconf.*'x'"
16946 cat >conftest.
$ac_ext <<_ACEOF
16949 cat confdefs.h
>>conftest.
$ac_ext
16950 cat >>conftest.
$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16956 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16957 ac_cv_prog_gcc_traditional
=yes
16959 ac_cv_prog_gcc_traditional
=no
16964 if test $ac_cv_prog_gcc_traditional = no
; then
16965 cat >conftest.
$ac_ext <<_ACEOF
16968 cat confdefs.h
>>conftest.
$ac_ext
16969 cat >>conftest.
$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 #include <termio.h>
16974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16975 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16976 ac_cv_prog_gcc_traditional
=yes
16982 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16983 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16984 if test $ac_cv_prog_gcc_traditional = yes; then
16985 CC
="$CC -traditional"
16990 CXXFLAGS
=${CXXFLAGS:=}
16992 ac_cpp
='$CXXCPP $CPPFLAGS'
16993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16996 if test -z "$CXX"; then
16997 if test -n "$CCC"; then
17000 if test -n "$ac_tool_prefix"; then
17001 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17004 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17007 if test "${ac_cv_prog_CXX+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 if test -n "$CXX"; then
17011 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17014 for as_dir
in $PATH
17017 test -z "$as_dir" && as_dir
=.
17018 for ac_exec_ext
in '' $ac_executable_extensions; do
17019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17020 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17030 CXX
=$ac_cv_prog_CXX
17031 if test -n "$CXX"; then
17032 { echo "$as_me:$LINENO: result: $CXX" >&5
17033 echo "${ECHO_T}$CXX" >&6; }
17035 { echo "$as_me:$LINENO: result: no" >&5
17036 echo "${ECHO_T}no" >&6; }
17040 test -n "$CXX" && break
17043 if test -z "$CXX"; then
17045 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17047 # Extract the first word of "$ac_prog", so it can be a program name with args.
17048 set dummy
$ac_prog; ac_word
=$2
17049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17051 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 if test -n "$ac_ct_CXX"; then
17055 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17058 for as_dir
in $PATH
17061 test -z "$as_dir" && as_dir
=.
17062 for ac_exec_ext
in '' $ac_executable_extensions; do
17063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17064 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17074 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17075 if test -n "$ac_ct_CXX"; then
17076 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17077 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17084 test -n "$ac_ct_CXX" && break
17087 if test "x$ac_ct_CXX" = x
; then
17090 case $cross_compiling:$ac_tool_warned in
17092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17093 whose name does not start with the host triplet. If you think this
17094 configuration is useful to you, please write to autoconf@gnu.org." >&5
17095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17096 whose name does not start with the host triplet. If you think this
17097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17098 ac_tool_warned
=yes ;;
17106 # Provide some information about the compiler.
17107 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17108 ac_compiler
=`set X $ac_compile; echo $2`
17109 { (ac_try
="$ac_compiler --version >&5"
17110 case "(($ac_try" in
17111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compiler --version >&5") 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }
17119 { (ac_try="$ac_compiler -v >&5"
17120 case "(($ac_try" in
17121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17122 *) ac_try_echo
=$ac_try;;
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compiler -v >&5") 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }
17129 { (ac_try
="$ac_compiler -V >&5"
17130 case "(($ac_try" in
17131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17132 *) ac_try_echo=$ac_try;;
17134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 (eval "$ac_compiler -V >&5") 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }
17140 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17141 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17142 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 cat >conftest.$ac_ext <<_ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17167 *) ac_try_echo
=$ac_try;;
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17172 grep -v '^ *+' conftest.er1
>conftest.err
17174 cat conftest.err
>&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_cxx_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.
$ac_objext; then
17180 ac_compiler_gnu
=yes
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.
$ac_ext >&5
17188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17189 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17192 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17193 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17194 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17195 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17196 ac_save_CXXFLAGS
=$CXXFLAGS
17197 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17198 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17199 if test "${ac_cv_prog_cxx_g+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17203 ac_cxx_werror_flag
=yes
17204 ac_cv_prog_cxx_g
=no
17206 cat >conftest.
$ac_ext <<_ACEOF
17209 cat confdefs.h
>>conftest.
$ac_ext
17210 cat >>conftest.
$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17221 rm -f conftest.
$ac_objext
17222 if { (ac_try
="$ac_compile"
17223 case "(($ac_try" in
17224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_compile") 2>conftest.er1
17230 grep -v '^ *+' conftest.er1 >conftest.err
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } && {
17235 test -z "$ac_cxx_werror_flag" ||
17236 test ! -s conftest.err
17237 } && test -s conftest.$ac_objext; then
17238 ac_cv_prog_cxx_g=yes
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17244 cat >conftest.$ac_ext <<_ACEOF
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17259 rm -f conftest.$ac_objext
17260 if { (ac_try="$ac_compile"
17261 case "(($ac_try" in
17262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17263 *) ac_try_echo
=$ac_try;;
17265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17266 (eval "$ac_compile") 2>conftest.er1
17268 grep -v '^ *+' conftest.er1
>conftest.err
17270 cat conftest.err
>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } && {
17273 test -z "$ac_cxx_werror_flag" ||
17274 test ! -s conftest.err
17275 } && test -s conftest.
$ac_objext; then
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17281 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17283 cat >conftest.
$ac_ext <<_ACEOF
17286 cat confdefs.h
>>conftest.
$ac_ext
17287 cat >>conftest.
$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17298 rm -f conftest.
$ac_objext
17299 if { (ac_try
="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17307 grep -v '^ *+' conftest.er1 >conftest.err
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_cxx_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest.$ac_objext; then
17315 ac_cv_prog_cxx_g=yes
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17332 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17333 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17334 if test "$ac_test_CXXFLAGS" = set; then
17335 CXXFLAGS=$ac_save_CXXFLAGS
17336 elif test $ac_cv_prog_cxx_g = yes; then
17337 if test "$GXX" = yes; then
17343 if test "$GXX" = yes; then
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 cat >conftest.$ac_ext <<_ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17384 #ifndef __INTEL_COMPILER
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17396 *) ac_try_echo
=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.
$ac_objext; then
17409 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17430 ac_cpp
='$CPP $CPPFLAGS'
17431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17438 if test "$INTELCXX" = "yes"; then
17442 ac_cpp
='$CXXCPP $CPPFLAGS'
17443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17447 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17448 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17449 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17463 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17471 rm -f conftest.
$ac_objext
17472 if { (ac_try
="$ac_compile"
17473 case "(($ac_try" in
17474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17475 *) ac_try_echo=$ac_try;;
17477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17478 (eval "$ac_compile") 2>conftest.er1
17480 grep -v '^ *+' conftest.er1 >conftest.err
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } && {
17485 test -z "$ac_cxx_werror_flag" ||
17486 test ! -s conftest.err
17487 } && test -s conftest.$ac_objext; then
17488 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17493 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17502 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17503 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519 ac_cpp='$CXXCPP $CPPFLAGS'
17520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17524 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17525 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17526 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17529 cat >conftest.$ac_ext <<_ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17540 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17548 rm -f conftest.$ac_objext
17549 if { (ac_try="$ac_compile"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17552 *) ac_try_echo
=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_compile") 2>conftest.er1
17557 grep -v '^ *+' conftest.er1
>conftest.err
17559 cat conftest.err
>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_cxx_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest.
$ac_objext; then
17565 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.
$ac_ext >&5
17570 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17580 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17586 ac_cpp
='$CPP $CPPFLAGS'
17587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17595 if test "x$GCXX" != "xyes"; then
17596 if test "xCXX" = "xC"; then
17597 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17598 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17599 if test "${bakefile_cv_c_exto+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.
$ac_ext <<_ACEOF
17605 cat confdefs.h
>>conftest.
$ac_ext
17606 cat >>conftest.
$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17617 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 (eval $ac_compile) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; then
17623 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17625 conftest.
$ac_ext.o
)
17626 bakefile_cv_c_exto
="-ext o"
17633 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; }
17641 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17644 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17645 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17646 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17647 if test "c" = "c"; then
17648 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17650 if test "c" = "cxx"; then
17651 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17655 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17656 unset ac_cv_prog_cc_g
17657 ac_test_CFLAGS
=${CFLAGS+set}
17658 ac_save_CFLAGS
=$CFLAGS
17659 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17660 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17661 if test "${ac_cv_prog_cc_g+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 ac_save_c_werror_flag
=$ac_c_werror_flag
17665 ac_c_werror_flag
=yes
17668 cat >conftest.
$ac_ext <<_ACEOF
17671 cat confdefs.h
>>conftest.
$ac_ext
17672 cat >>conftest.
$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17683 rm -f conftest.
$ac_objext
17684 if { (ac_try
="$ac_compile"
17685 case "(($ac_try" in
17686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_compile") 2>conftest.er1
17692 grep -v '^ *+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest.$ac_objext; then
17700 ac_cv_prog_cc_g=yes
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17706 cat >conftest.$ac_ext <<_ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17721 rm -f conftest.$ac_objext
17722 if { (ac_try="$ac_compile"
17723 case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17725 *) ac_try_echo
=$ac_try;;
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_compile") 2>conftest.er1
17730 grep -v '^ *+' conftest.er1
>conftest.err
17732 cat conftest.err
>&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } && {
17735 test -z "$ac_c_werror_flag" ||
17736 test ! -s conftest.err
17737 } && test -s conftest.
$ac_objext; then
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.
$ac_ext >&5
17743 ac_c_werror_flag
=$ac_save_c_werror_flag
17745 cat >conftest.
$ac_ext <<_ACEOF
17748 cat confdefs.h
>>conftest.
$ac_ext
17749 cat >>conftest.
$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17760 rm -f conftest.
$ac_objext
17761 if { (ac_try
="$ac_compile"
17762 case "(($ac_try" in
17763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_compile") 2>conftest.er1
17769 grep -v '^ *+' conftest.er1 >conftest.err
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } && {
17774 test -z "$ac_c_werror_flag" ||
17775 test ! -s conftest.err
17776 } && test -s conftest.$ac_objext; then
17777 ac_cv_prog_cc_g=yes
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 ac_c_werror_flag=$ac_save_c_werror_flag
17794 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17795 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17796 if test "$ac_test_CFLAGS" = set; then
17797 CFLAGS=$ac_save_CFLAGS
17798 elif test $ac_cv_prog_cc_g = yes; then
17799 if test "$GCC" = yes; then
17805 if test "$GCC" = yes; then
17819 ac_cpp='$CXXCPP $CPPFLAGS'
17820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17824 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17825 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17826 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 cat >conftest.$ac_ext <<_ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17848 rm -f conftest.$ac_objext
17849 if { (ac_try="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17852 *) ac_try_echo
=$ac_try;;
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17857 grep -v '^ *+' conftest.er1
>conftest.err
17859 cat conftest.err
>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_cxx_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.
$ac_objext; then
17865 bakefile_cv_cxx_compiler___xlC__
=yes
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.
$ac_ext >&5
17870 bakefile_cv_cxx_compiler___xlC__
=no
17874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17878 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17879 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17880 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17886 ac_cpp
='$CPP $CPPFLAGS'
17887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17899 ac_cpp
='$CXXCPP $CPPFLAGS'
17900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17904 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17905 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17906 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 cat >conftest.
$ac_ext <<_ACEOF
17912 cat confdefs.h
>>conftest.
$ac_ext
17913 cat >>conftest.
$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17928 rm -f conftest.
$ac_objext
17929 if { (ac_try
="$ac_compile"
17930 case "(($ac_try" in
17931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17932 *) ac_try_echo=$ac_try;;
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_compile") 2>conftest.er1
17937 grep -v '^ *+' conftest.er1 >conftest.err
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && {
17942 test -z "$ac_cxx_werror_flag" ||
17943 test ! -s conftest.err
17944 } && test -s conftest.$ac_objext; then
17945 bakefile_cv_cxx_compiler___MWERKS__=yes
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17950 bakefile_cv_cxx_compiler___MWERKS__=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17959 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17960 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17966 ac_cpp='$CPP $CPPFLAGS'
17967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17973 if test "$MWCXX" != "yes"; then
17977 ac_cpp='$CXXCPP $CPPFLAGS'
17978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17982 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17983 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17984 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 cat >conftest.$ac_ext <<_ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
18006 rm -f conftest.$ac_objext
18007 if { (ac_try="$ac_compile"
18008 case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18010 *) ac_try_echo
=$ac_try;;
18012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18013 (eval "$ac_compile") 2>conftest.er1
18015 grep -v '^ *+' conftest.er1
>conftest.err
18017 cat conftest.err
>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } && {
18020 test -z "$ac_cxx_werror_flag" ||
18021 test ! -s conftest.err
18022 } && test -s conftest.
$ac_objext; then
18023 bakefile_cv_cxx_compiler___xlC__
=yes
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.
$ac_ext >&5
18028 bakefile_cv_cxx_compiler___xlC__
=no
18032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18036 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18037 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18038 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18044 ac_cpp
='$CPP $CPPFLAGS'
18045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18058 ac_cpp
='$CXXCPP $CPPFLAGS'
18059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18063 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18064 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18065 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 cat >conftest.
$ac_ext <<_ACEOF
18071 cat confdefs.h
>>conftest.
$ac_ext
18072 cat >>conftest.
$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18079 #ifndef _SGI_COMPILER_VERSION
18087 rm -f conftest.
$ac_objext
18088 if { (ac_try
="$ac_compile"
18089 case "(($ac_try" in
18090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18091 *) ac_try_echo=$ac_try;;
18093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18094 (eval "$ac_compile") 2>conftest.er1
18096 grep -v '^ *+' conftest.er1 >conftest.err
18098 cat conftest.err >&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } && {
18101 test -z "$ac_cxx_werror_flag" ||
18102 test ! -s conftest.err
18103 } && test -s conftest.$ac_objext; then
18104 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18109 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18118 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18119 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18135 if test "$INTELCXX" != "yes"; then
18139 ac_cpp='$CXXCPP $CPPFLAGS'
18140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18144 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18145 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18146 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 cat >conftest.$ac_ext <<_ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18160 #ifndef __SUNPRO_CC
18168 rm -f conftest.$ac_objext
18169 if { (ac_try="$ac_compile"
18170 case "(($ac_try" in
18171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18172 *) ac_try_echo
=$ac_try;;
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_compile") 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } && {
18182 test -z "$ac_cxx_werror_flag" ||
18183 test ! -s conftest.err
18184 } && test -s conftest.
$ac_objext; then
18185 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.
$ac_ext >&5
18190 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18198 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18199 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18200 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18206 ac_cpp
='$CPP $CPPFLAGS'
18207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18220 ac_cpp
='$CXXCPP $CPPFLAGS'
18221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18225 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18226 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18227 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18228 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 cat >conftest.
$ac_ext <<_ACEOF
18233 cat confdefs.h
>>conftest.
$ac_ext
18234 cat >>conftest.
$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18249 rm -f conftest.
$ac_objext
18250 if { (ac_try
="$ac_compile"
18251 case "(($ac_try" in
18252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_compile") 2>conftest.er1
18258 grep -v '^ *+' conftest.er1 >conftest.err
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } && {
18263 test -z "$ac_cxx_werror_flag" ||
18264 test ! -s conftest.err
18265 } && test -s conftest.$ac_objext; then
18266 bakefile_cv_cxx_compiler___HP_aCC=yes
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18271 bakefile_cv_cxx_compiler___HP_aCC=no
18275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18280 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18281 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18300 ac_cpp='$CXXCPP $CPPFLAGS'
18301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18305 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18306 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18307 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18333 *) ac_try_echo
=$ac_try;;
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_cxx_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.
$ac_objext; then
18346 bakefile_cv_cxx_compiler___DECCXX
=yes
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 bakefile_cv_cxx_compiler___DECCXX
=no
18355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18361 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18367 ac_cpp
='$CPP $CPPFLAGS'
18368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18380 ac_cpp
='$CXXCPP $CPPFLAGS'
18381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18385 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18386 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18387 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 cat >conftest.
$ac_ext <<_ACEOF
18393 cat confdefs.h
>>conftest.
$ac_ext
18394 cat >>conftest.
$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18401 #ifndef __SUNPRO_CC
18409 rm -f conftest.
$ac_objext
18410 if { (ac_try
="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18418 grep -v '^ *+' conftest.er1 >conftest.err
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_cxx_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18440 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18441 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18447 ac_cpp='$CPP $CPPFLAGS'
18448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18460 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18461 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18462 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18463 { (exit 1); exit 1; }; }
18466 if test "x$SUNCXX" != xyes; then
18467 if test -n "$ac_tool_prefix"; then
18468 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18469 set dummy ${ac_tool_prefix}ar; ac_word=$2
18470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18472 if test "${ac_cv_prog_AR+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 if test -n "$AR"; then
18476 ac_cv_prog_AR="$AR" # Let the user override the test.
18478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18479 for as_dir in $PATH
18482 test -z "$as_dir" && as_dir=.
18483 for ac_exec_ext in '' $ac_executable_extensions; do
18484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18485 ac_cv_prog_AR="${ac_tool_prefix}ar"
18486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18496 if test -n "$AR"; then
18497 { echo "$as_me:$LINENO: result: $AR" >&5
18498 echo "${ECHO_T}$AR" >&6; }
18500 { echo "$as_me:$LINENO: result: no" >&5
18501 echo "${ECHO_T}no" >&6; }
18506 if test -z "$ac_cv_prog_AR"; then
18508 # Extract the first word of "ar", so it can be a program name with args.
18509 set dummy ar; ac_word=$2
18510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18512 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 if test -n "$ac_ct_AR"; then
18516 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18519 for as_dir in $PATH
18522 test -z "$as_dir" && as_dir=.
18523 for ac_exec_ext in '' $ac_executable_extensions; do
18524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18525 ac_cv_prog_ac_ct_AR="ar"
18526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18535 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18536 if test -n "$ac_ct_AR"; then
18537 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18538 echo "${ECHO_T}$ac_ct_AR" >&6; }
18540 { echo "$as_me:$LINENO: result: no" >&5
18541 echo "${ECHO_T}no" >&6; }
18544 if test "x$ac_ct_AR" = x; then
18547 case $cross_compiling:$ac_tool_warned in
18549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18550 whose name does not start with the host triplet. If you think this
18551 configuration is useful to you, please write to autoconf@gnu.org." >&5
18552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18553 whose name does not start with the host triplet. If you think this
18554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18555 ac_tool_warned=yes ;;
18560 AR="$ac_cv_prog_AR"
18563 if test "x$AR" = "x" ; then
18564 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18565 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18566 { (exit 1); exit 1; }; }
18571 if test "$wxUSE_MAC" = 1; then
18573 retest_macosx_linking=no
18576 if test "x$wxUSE_MAC_ARCH" != xno; then
18577 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18580 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18581 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18582 # Implicitly turn on the new --with-macosx-sdk using the default
18583 # SDK which provides the behavior this option has always had.
18584 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18585 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18586 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18587 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18588 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18589 wxUSE_MACOSX_SDK=yes
18592 # Complain to user if he specified an argument to --enable-universal_binary
18593 # and also 1) specified --with-macosx-sdk using the default (yes) or
18594 # 2) specified --with-macosx-sdk using a path or 3) specified
18595 # --without-macosx-sdk (no).
18596 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18597 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18598 See \`config.log
' for more details." >&5
18599 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18600 See \`config.log' for more details.
" >&2;}
18601 { (exit 1); exit 1; }; }
18603 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18604 # special-case the empty string because the below test simply
18605 # converts "no
" to the empty string anyway.
18606 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18607 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18608 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18611 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18612 if test "$wxUSE_OSX_COCOA" = 1; then
18613 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18615 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18616 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18617 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18618 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18620 retest_macosx_linking=yes
18622 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18623 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18627 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18628 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18629 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18630 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18631 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18633 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18635 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18636 # TODO: Search for most recent SDK and use it.
18637 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18641 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18642 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18643 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18644 if ! test -d "$wxUSE_MACOSX_SDK"; then
18645 { { echo "$as_me:$LINENO: error
: not found
18646 See \
`config.log' for more details." >&5
18647 echo "$as_me: error: not found
18648 See \`config.log
' for more details." >&2;}
18649 { (exit 1); exit 1; }; }
18651 { echo "$as_me:$LINENO: result: exists" >&5
18652 echo "${ECHO_T}exists" >&6; }
18654 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18655 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18656 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18657 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18658 retest_macosx_linking=yes
18661 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18662 wxUSE_MACOSX_VERSION_MIN=
18663 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18664 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18665 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18666 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18668 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/'`
18670 # If that failed, try again with the new key
18671 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18673 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/'`
18677 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18678 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18679 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18680 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18682 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18683 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18684 wxUSE_MACOSX_VERSION_MIN=
18687 wxUSE_MACOSX_VERSION_MIN=
18689 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18690 for ac_prog in sw_vers
18692 # Extract the first word of "$ac_prog", so it can be a program name with args.
18693 set dummy $ac_prog; ac_word=$2
18694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18696 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18697 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 if test -n "$OSX_SW_VERS"; then
18700 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18703 for as_dir in $PATH
18706 test -z "$as_dir" && as_dir=.
18707 for ac_exec_ext in '' $ac_executable_extensions; do
18708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18709 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18719 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18720 if test -n "$OSX_SW_VERS"; then
18721 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18722 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18724 { echo "$as_me:$LINENO: result: no" >&5
18725 echo "${ECHO_T}no" >&6; }
18729 test -n "$OSX_SW_VERS" && break
18732 if test "$OSX_SW_VERS" != ""; then
18733 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18735 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18736 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18740 case "$OSX_VERSION" in
18742 wxUSE_MACOSX_VERSION_MIN=10.4
18746 if test "$wxUSE_OSX_CARBON" = 1; then
18747 # otherwise configure stops on leopard for universal_binary
18748 wxUSE_MACOSX_VERSION_MIN=10.4
18750 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18751 wxUSE_MACOSX_VERSION_MIN=10.5
18758 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18762 if test "$wxUSE_OSX_CARBON" = 1; then
18766 if test "x$NEEDS_GCC40" == "xyes"; then
18767 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18768 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18769 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18770 if test "x$CC" = "xgcc"; then
18771 CCVERSION=`$CC --version | grep 4.[2-9].`
18772 if test "x$CCVERSION" != "x"; then
18773 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18774 CC="/usr/bin/gcc-4.0"
18778 if test "x$CXX" = "xg++"; then
18779 CCVERSION=`$CXX --version | grep 4.[2-9].`
18780 if test "x$CCVERSION" != "x"; then
18781 CXX="/usr/bin/g++-4.0"
18786 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18787 if test "$wxUSE_OSX_IPHONE" = 1; then
18788 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18790 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18792 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18793 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18794 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18795 retest_macosx_linking=yes
18798 if test "x$retest_macosx_linking" = "xyes"; then
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18802 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18805 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18806 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18807 cat >conftest.$ac_ext <<_ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18822 rm -f conftest.$ac_objext conftest$ac_exeext
18823 if { (ac_try="$ac_link"
18824 case "(($ac_try" in
18825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18826 *) ac_try_echo=$ac_try;;
18828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18829 (eval "$ac_link") 2>conftest.er1
18831 grep -v '^
*+' conftest.er1 >conftest.err
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } && {
18836 test -z "$ac_c_werror_flag" ||
18837 test ! -s conftest.err
18838 } && test -s conftest$ac_exeext &&
18839 $as_test_x conftest$ac_exeext; then
18840 { echo "$as_me:$LINENO: result: yes" >&5
18841 echo "${ECHO_T}yes" >&6; }
18843 echo "$as_me: failed program was:" >&5
18844 sed 's
/^
/| /' conftest.$ac_ext >&5
18846 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18847 See \`config.log' for more details.
" >&5
18848 echo "$as_me: error
: no. Try a different SDK
18849 See \
`config.log' for more details." >&2;}
18850 { (exit 1); exit 1; }; }; exit 1
18853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18854 conftest$ac_exeext conftest.$ac_ext
18856 ac_cpp='$CPP $CPPFLAGS'
18857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18863 ac_cpp='$CXXCPP $CPPFLAGS'
18864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18868 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18869 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18870 cat >conftest.$ac_ext <<_ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18885 rm -f conftest.$ac_objext conftest$ac_exeext
18886 if { (ac_try="$ac_link"
18887 case "(($ac_try" in
18888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18889 *) ac_try_echo
=$ac_try;;
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_link") 2>conftest.er1
18894 grep -v '^ *+' conftest.er1
>conftest.err
18896 cat conftest.err
>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } && {
18899 test -z "$ac_cxx_werror_flag" ||
18900 test ! -s conftest.err
18901 } && test -s conftest
$ac_exeext &&
18902 $as_test_x conftest
$ac_exeext; then
18903 { echo "$as_me:$LINENO: result: yes" >&5
18904 echo "${ECHO_T}yes" >&6; }
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.
$ac_ext >&5
18909 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18910 See \`config.log' for more details." >&5
18911 echo "$as_me: error: no. Try a different SDK
18912 See \`config.log' for more details." >&2;}
18913 { (exit 1); exit 1; }; }; exit 1
18916 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18917 conftest
$ac_exeext conftest.
$ac_ext
18919 ac_cpp
='$CPP $CPPFLAGS'
18920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18930 INSTALL_PROGRAM
="cp -fp"
18931 INSTALL_DATA
="cp -fp"
18938 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18939 CXXFLAGS
="-qunique $CXXFLAGS"
18943 powerpc
-*-darwin* )
18944 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18945 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18946 cat >conftest.
$ac_ext <<_ACEOF
18949 cat confdefs.h
>>conftest.
$ac_ext
18950 cat >>conftest.
$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18956 #ifndef __POWERPC__
18957 choke me for lack of PowerPC
18964 rm -f conftest.
$ac_objext
18965 if { (ac_try
="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18973 grep -v '^ *+' conftest.er1 >conftest.err
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 { echo "$as_me:$LINENO: result: yes" >&5
18982 echo "${ECHO_T}yes" >&6; }
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18987 { echo "$as_me:$LINENO: result: no" >&5
18988 echo "${ECHO_T}no" >&6; }
18989 cat >>confdefs.h <<\_ACEOF
18990 #define __POWERPC__ 1
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19003 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19004 cat >conftest.$ac_ext <<_ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #include <CoreFoundation/CFBase.h>
19020 rm -f conftest.$ac_objext
19021 if { (ac_try="$ac_compile"
19022 case "(($ac_try" in
19023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19024 *) ac_try_echo
=$ac_try;;
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compile") 2>conftest.er1
19029 grep -v '^ *+' conftest.er1
>conftest.err
19031 cat conftest.err
>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } && {
19034 test -z "$ac_c_werror_flag" ||
19035 test ! -s conftest.err
19036 } && test -s conftest.
$ac_objext; then
19037 { echo "$as_me:$LINENO: result: yes" >&5
19038 echo "${ECHO_T}yes" >&6; }
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.
$ac_ext >&5
19043 { echo "$as_me:$LINENO: result: no" >&5
19044 echo "${ECHO_T}no" >&6; }
19045 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19046 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 #define __CF_USE_FRAMEWORK_INCLUDES__
19054 #include <CoreFoundation/CFBase.h>
19064 rm -f conftest.
$ac_objext
19065 if { (ac_try
="$ac_compile"
19066 case "(($ac_try" in
19067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_compile") 2>conftest.er1
19073 grep -v '^ *+' conftest.er1 >conftest.err
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest.$ac_objext; then
19081 { echo "$as_me:$LINENO: result: yes" >&5
19082 echo "${ECHO_T}yes" >&6; }
19083 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19089 See \`config.log
' for more details." >&5
19090 echo "$as_me: error: no. CoreFoundation not available.
19091 See \`config.log' for more details.
" >&2;}
19092 { (exit 1); exit 1; }; }
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 doesnt_want_win32=0
19109 if test "$wxUSE_MSW" = 1 ; then
19112 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19113 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19114 if test "${wx_cv_nocygwin+set}" = set; then
19115 echo $ECHO_N "(cached
) $ECHO_C" >&6
19118 cat >conftest.$ac_ext <<_ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19137 rm -f conftest.$ac_objext
19138 if { (ac_try="$ac_compile"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compile") 2>conftest.er1
19146 grep -v '^ *+' conftest.er1 >conftest.err
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19150 (exit $ac_status); } && {
19151 test -z "$ac_c_werror_flag" ||
19152 test ! -s conftest.err
19153 } && test -s conftest.$ac_objext; then
19156 echo "$as_me: failed program was
:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19168 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19170 if test "$wx_cv_nocygwin" = "yes"; then
19173 doesnt_want_win32=1
19176 if test "$wants_win32" = 1 ; then
19177 BAKEFILE_FORCE_PLATFORM=win32
19185 if test "$wxUSE_WINE" = "yes"; then
19187 LDFLAGS_GUI="-mwindows"
19190 if test "$wants_win32" = 1 ; then
19193 cat >>confdefs.h <<\_ACEOF
19194 #define __WIN32__ 1
19197 cat >>confdefs.h <<\_ACEOF
19198 #define __WIN95__ 1
19201 cat >>confdefs.h <<\_ACEOF
19202 #define __WINDOWS__ 1
19205 cat >>confdefs.h <<\_ACEOF
19206 #define __GNUWIN32__ 1
19209 cat >>confdefs.h <<\_ACEOF
19214 if test "$doesnt_want_win32" = 1 ; then
19219 if test "$USE_UNIX" = 1 ; then
19221 cat >>confdefs.h <<\_ACEOF
19228 *-pc-os2_emx | *-pc-os2-emx )
19229 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19230 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19231 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19232 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19233 echo $ECHO_N "(cached
) $ECHO_C" >&6
19235 ac_check_lib_save_LIBS=$LIBS
19236 LIBS="-lcExt $LIBS"
19237 cat >conftest.$ac_ext <<_ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19244 /* Override any GCC internal prototype to avoid an error.
19245 Use char because int might match the return type of a GCC
19246 builtin and then its argument prototype would still apply. */
19259 rm -f conftest.$ac_objext conftest$ac_exeext
19260 if { (ac_try="$ac_link"
19261 case "(($ac_try" in
19262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19263 *) ac_try_echo=$ac_try;;
19265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19266 (eval "$ac_link") 2>conftest.er1
19268 grep -v '^ *+' conftest.er1 >conftest.err
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19272 (exit $ac_status); } && {
19273 test -z "$ac_c_werror_flag" ||
19274 test ! -s conftest.err
19275 } && test -s conftest$ac_exeext &&
19276 $as_test_x conftest$ac_exeext; then
19277 ac_cv_lib_cExt_drand48=yes
19279 echo "$as_me: failed program was
:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19282 ac_cv_lib_cExt_drand48=no
19285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19286 conftest$ac_exeext conftest.$ac_ext
19287 LIBS=$ac_check_lib_save_LIBS
19289 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19290 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19291 if test $ac_cv_lib_cExt_drand48 = yes; then
19292 LIBS="$LIBS -lcExt"
19296 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19298 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19299 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19300 if test "${wx_cv_gccversion+set}" = set; then
19301 echo $ECHO_N "(cached
) $ECHO_C" >&6
19304 if test "$cross_compiling" = yes; then
19305 wx_cv_gccversion="EMX2
"
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19319 FILE *f=fopen("conftestval
", "w
");
19324 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19326 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19336 rm -f conftest$ac_exeext
19337 if { (ac_try="$ac_link"
19338 case "(($ac_try" in
19339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19340 *) ac_try_echo=$ac_try;;
19342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19343 (eval "$ac_link") 2>&5
19345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19347 { (case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_try") 2>&5
19354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 wx_cv_gccversion=`cat conftestval`
19358 echo "$as_me: program exited with status
$ac_status" >&5
19359 echo "$as_me: failed program was
:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19362 ( exit $ac_status )
19363 wx_cv_gccversion="EMX2
"
19365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19371 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19372 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19373 if test "$wx_cv_gccversion" = "EMX2
"; then
19374 LIBS="$LIBS -lstdcpp"
19375 LDFLAGS="$LDFLAGS -Zsysv-signals"
19377 if test "$wx_cv_gccversion" = "EMX3
"; then
19378 LIBS="$LIBS -lstdcxx -lgcc"
19379 LDFLAGS="$LDFLAGS -Zsysv-signals"
19381 LIBS="$LIBS -lstdc++"
19384 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19385 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19386 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19393 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19394 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19395 if test "${ac_cv_string_strcasecmp+set}" = set; then
19396 echo $ECHO_N "(cached
) $ECHO_C" >&6
19399 cat >conftest.$ac_ext <<_ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19406 #include <string.h>
19412 strcasecmp("foo
", "bar
");
19418 rm -f conftest.$ac_objext conftest$ac_exeext
19419 if { (ac_try="$ac_link"
19420 case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_link") 2>conftest.er1
19427 grep -v '^ *+' conftest.er1 >conftest.err
19429 cat conftest.err >&5
19430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19431 (exit $ac_status); } && {
19432 test -z "$ac_c_werror_flag" ||
19433 test ! -s conftest.err
19434 } && test -s conftest$ac_exeext &&
19435 $as_test_x conftest$ac_exeext; then
19436 ac_cv_string_strcasecmp=yes
19438 echo "$as_me: failed program was
:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_cv_string_strcasecmp=no
19445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19446 conftest$ac_exeext conftest.$ac_ext
19449 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19450 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19452 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE_STRCASECMP_IN_STRING_H 1
19458 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19459 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19460 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19461 echo $ECHO_N "(cached
) $ECHO_C" >&6
19464 cat >conftest.$ac_ext <<_ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19471 #include <strings.h>
19477 strcasecmp("foo
", "bar
");
19483 rm -f conftest.$ac_objext conftest$ac_exeext
19484 if { (ac_try="$ac_link"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19489 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_link") 2>conftest.er1
19492 grep -v '^ *+' conftest.er1 >conftest.err
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest$ac_exeext &&
19500 $as_test_x conftest$ac_exeext; then
19501 ac_cv_strings_strcasecmp=yes
19503 echo "$as_me: failed program was
:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19506 ac_cv_strings_strcasecmp=no
19510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19511 conftest$ac_exeext conftest.$ac_ext
19514 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19515 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19517 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19518 cat >>confdefs.h <<\_ACEOF
19519 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19523 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19524 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19525 { (exit 1); exit 1; }; }
19533 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19534 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19535 if test "${ac_cv_header_stdc+set}" = set; then
19536 echo $ECHO_N "(cached
) $ECHO_C" >&6
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 #include <stdlib.h>
19545 #include <stdarg.h>
19546 #include <string.h>
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_header_stdc=yes
19576 echo "$as_me: failed program was
:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19579 ac_cv_header_stdc=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 if test $ac_cv_header_stdc = yes; then
19585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 #include <string.h>
19595 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19596 $EGREP "memchr
" >/dev/null 2>&1; then
19599 ac_cv_header_stdc=no
19605 if test $ac_cv_header_stdc = yes; then
19606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19607 cat >conftest.$ac_ext <<_ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #include <stdlib.h>
19616 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19617 $EGREP "free
" >/dev/null 2>&1; then
19620 ac_cv_header_stdc=no
19626 if test $ac_cv_header_stdc = yes; then
19627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19628 if test "$cross_compiling" = yes; then
19631 cat >conftest.$ac_ext <<_ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19638 #include <stdlib.h>
19639 #if ((' ' & 0x0FF) == 0x020)
19640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19643 # define ISLOWER(c) \
19644 (('a' <= (c) && (c) <= 'i') \
19645 || ('j' <= (c) && (c) <= 'r') \
19646 || ('s' <= (c) && (c) <= 'z'))
19647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19655 for (i = 0; i < 256; i++)
19656 if (XOR (islower (i), ISLOWER (i))
19657 || toupper (i) != TOUPPER (i))
19662 rm -f conftest$ac_exeext
19663 if { (ac_try="$ac_link"
19664 case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_link") 2>&5
19671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19673 { (case "(($ac_try" in
19674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19675 *) ac_try_echo=$ac_try;;
19677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_try") 2>&5
19680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19681 (exit $ac_status); }; }; then
19684 echo "$as_me: program exited with status
$ac_status" >&5
19685 echo "$as_me: failed program was
:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ( exit $ac_status )
19689 ac_cv_header_stdc=no
19691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19697 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19698 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19699 if test $ac_cv_header_stdc = yes; then
19701 cat >>confdefs.h <<\_ACEOF
19702 #define STDC_HEADERS 1
19707 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19718 inttypes.h stdint.h unistd.h
19720 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19721 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19722 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19723 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19724 echo $ECHO_N "(cached
) $ECHO_C" >&6
19726 cat >conftest.$ac_ext <<_ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19734 #include <$ac_header>
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19740 *) ac_try_echo=$ac_try;;
19742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19745 grep -v '^ *+' conftest.er1 >conftest.err
19747 cat conftest.err >&5
19748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_c_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.$ac_objext; then
19753 eval "$as_ac_Header=yes"
19755 echo "$as_me: failed program was
:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19758 eval "$as_ac_Header=no
"
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 ac_res=`eval echo '${'$as_ac_Header'}'`
19764 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19765 echo "${ECHO_T}$ac_res" >&6; }
19766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19767 cat >>confdefs.h <<_ACEOF
19768 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19778 for ac_header in langinfo.h wchar.h
19780 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19781 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19782 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19783 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19784 echo $ECHO_N "(cached
) $ECHO_C" >&6
19786 cat >conftest.$ac_ext <<_ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792 $ac_includes_default
19794 #include <$ac_header>
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 eval "$as_ac_Header=yes"
19815 echo "$as_me: failed program was
:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 eval "$as_ac_Header=no
"
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 ac_res=`eval echo '${'$as_ac_Header'}'`
19824 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19825 echo "${ECHO_T}$ac_res" >&6; }
19826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19827 cat >>confdefs.h <<_ACEOF
19828 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19836 if test "$ac_cv_header_wchar_h" != "yes"; then
19838 for ac_header in wcstr.h
19840 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19841 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19842 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19843 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19844 echo $ECHO_N "(cached
) $ECHO_C" >&6
19846 cat >conftest.$ac_ext <<_ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 $ac_includes_default
19854 #include <$ac_header>
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19865 grep -v '^ *+' conftest.er1 >conftest.err
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 eval "$as_ac_Header=yes"
19875 echo "$as_me: failed program was
:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 eval "$as_ac_Header=no
"
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19883 ac_res=`eval echo '${'$as_ac_Header'}'`
19884 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19885 echo "${ECHO_T}$ac_res" >&6; }
19886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19887 cat >>confdefs.h <<_ACEOF
19888 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19898 *-pc-os2_emx | *-pc-os2-emx )
19899 if test $ac_cv_header_langinfo_h = "yes" \
19900 -a \( "$wx_cv_gccversion" = "EMX2
" \
19901 -o "$wx_cv_gccversion" = "EMX3
" \
19902 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19903 LIBS="$LIBS -lintl"
19908 if test "$USE_UNIX" = 1 ; then
19910 for ac_header in sys/select.h
19912 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19913 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19914 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19915 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19916 echo $ECHO_N "(cached
) $ECHO_C" >&6
19918 cat >conftest.$ac_ext <<_ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 $ac_includes_default
19926 #include <$ac_header>
19928 rm -f conftest.$ac_objext
19929 if { (ac_try="$ac_compile"
19930 case "(($ac_try" in
19931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 *) ac_try_echo=$ac_try;;
19934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19935 (eval "$ac_compile") 2>conftest.er1
19937 grep -v '^ *+' conftest.er1 >conftest.err
19939 cat conftest.err >&5
19940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19941 (exit $ac_status); } && {
19942 test -z "$ac_c_werror_flag" ||
19943 test ! -s conftest.err
19944 } && test -s conftest.$ac_objext; then
19945 eval "$as_ac_Header=yes"
19947 echo "$as_me: failed program was
:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19950 eval "$as_ac_Header=no
"
19953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19955 ac_res=`eval echo '${'$as_ac_Header'}'`
19956 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19957 echo "${ECHO_T}$ac_res" >&6; }
19958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19959 cat >>confdefs.h <<_ACEOF
19960 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19970 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19971 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19972 if test "${ac_cv_c_const+set}" = set; then
19973 echo $ECHO_N "(cached
) $ECHO_C" >&6
19975 cat >conftest.$ac_ext <<_ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19985 /* FIXME: Include the comments suggested by Paul. */
19986 #ifndef __cplusplus
19987 /* Ultrix mips cc rejects this. */
19988 typedef int charset[2];
19990 /* SunOS 4.1.1 cc rejects this. */
19991 char const *const *pcpcc;
19993 /* NEC SVR4.0.2 mips cc rejects this. */
19994 struct point {int x, y;};
19995 static struct point const zero = {0,0};
19996 /* AIX XL C 1.02.0.0 rejects this.
19997 It does not let you subtract one const X* pointer from another in
19998 an arm of an if-expression whose if-part is not a constant
20000 const char *g = "string
";
20001 pcpcc = &g + (g ? g-g : 0);
20002 /* HPUX 7.0 cc rejects these. */
20004 ppc = (char**) pcpcc;
20005 pcpcc = (char const *const *) ppc;
20006 { /* SCO 3.2v4 cc rejects this. */
20008 char const *s = 0 ? (char *) 0 : (char const *) 0;
20013 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20014 int x[] = {25, 17};
20015 const int *foo = &x[0];
20018 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20019 typedef const int *iptr;
20023 { /* AIX XL C 1.02.0.0 rejects this saying
20024 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20025 struct s { int j; const int *ap[3]; };
20026 struct s *b; b->j = 5;
20028 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20029 const int foo = 10;
20030 if (!foo) return 0;
20032 return !cs[0] && !zero.x;
20039 rm -f conftest.$ac_objext
20040 if { (ac_try="$ac_compile"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
20048 grep -v '^ *+' conftest.er1 >conftest.err
20050 cat conftest.err >&5
20051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20052 (exit $ac_status); } && {
20053 test -z "$ac_c_werror_flag" ||
20054 test ! -s conftest.err
20055 } && test -s conftest.$ac_objext; then
20058 echo "$as_me: failed program was
:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20066 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20067 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20068 if test $ac_cv_c_const = no; then
20070 cat >>confdefs.h <<\_ACEOF
20076 { echo "$as_me:$LINENO: checking
for inline
" >&5
20077 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20078 if test "${ac_cv_c_inline+set}" = set; then
20079 echo $ECHO_N "(cached
) $ECHO_C" >&6
20082 for ac_kw in inline __inline__ __inline; do
20083 cat >conftest.$ac_ext <<_ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #ifndef __cplusplus
20091 static $ac_kw foo_t static_foo () {return 0; }
20092 $ac_kw foo_t foo () {return 0; }
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20105 grep -v '^ *+' conftest.er1 >conftest.err
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 ac_cv_c_inline=$ac_kw
20115 echo "$as_me: failed program was
:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 test "$ac_cv_c_inline" != no && break
20126 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20127 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20130 case $ac_cv_c_inline in
20133 case $ac_cv_c_inline in
20135 *) ac_val=$ac_cv_c_inline;;
20137 cat >>confdefs.h <<_ACEOF
20138 #ifndef __cplusplus
20139 #define inline $ac_val
20146 { echo "$as_me:$LINENO: checking
for short
" >&5
20147 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20148 if test "${ac_cv_type_short+set}" = set; then
20149 echo $ECHO_N "(cached
) $ECHO_C" >&6
20151 cat >conftest.$ac_ext <<_ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 $ac_includes_default
20158 typedef short ac__type_new_;
20162 if ((ac__type_new_ *) 0)
20164 if (sizeof (ac__type_new_))
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20174 *) ac_try_echo=$ac_try;;
20176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20179 grep -v '^ *+' conftest.er1 >conftest.err
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20183 (exit $ac_status); } && {
20184 test -z "$ac_c_werror_flag" ||
20185 test ! -s conftest.err
20186 } && test -s conftest.$ac_objext; then
20187 ac_cv_type_short=yes
20189 echo "$as_me: failed program was
:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20192 ac_cv_type_short=no
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20198 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20200 # The cast to long int works around a bug in the HP C Compiler
20201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20203 # This bug is HP SR number 8606223364.
20204 { echo "$as_me:$LINENO: checking size of short
" >&5
20205 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20206 if test "${ac_cv_sizeof_short+set}" = set; then
20207 echo $ECHO_N "(cached
) $ECHO_C" >&6
20209 if test "$cross_compiling" = yes; then
20210 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 typedef short ac__type_sizeof_;
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_compile") 2>conftest.er1
20275 grep -v '^ *+' conftest.er1 >conftest.err
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20279 (exit $ac_status); } && {
20280 test -z "$ac_c_werror_flag" ||
20281 test ! -s conftest.err
20282 } && test -s conftest.$ac_objext; then
20283 ac_hi=$ac_mid; break
20285 echo "$as_me: failed program was
:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20288 ac_lo=`expr $ac_mid + 1`
20289 if test $ac_lo -le $ac_mid; then
20293 ac_mid=`expr 2 '*' $ac_mid + 1`
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299 echo "$as_me: failed program was
:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
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_))) < 0)];
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
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20346 typedef short ac__type_sizeof_;
20350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20366 grep -v '^ *+' conftest.er1 >conftest.err
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 ac_lo=$ac_mid; break
20376 echo "$as_me: failed program was
:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20379 ac_hi=`expr '(' $ac_mid ')' - 1`
20380 if test $ac_mid -le $ac_hi; then
20384 ac_mid=`expr 2 '*' $ac_mid`
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20390 echo "$as_me: failed program was
:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 # Binary search between lo and hi bounds.
20401 while test "x
$ac_lo" != "x
$ac_hi"; do
20402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20403 cat >conftest.$ac_ext <<_ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20410 typedef short ac__type_sizeof_;
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20427 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20430 grep -v '^ *+' conftest.er1 >conftest.err
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20434 (exit $ac_status); } && {
20435 test -z "$ac_c_werror_flag" ||
20436 test ! -s conftest.err
20437 } && test -s conftest.$ac_objext; then
20440 echo "$as_me: failed program was
:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 ac_lo=`expr '(' $ac_mid ')' + 1`
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20449 ?*) ac_cv_sizeof_short=$ac_lo;;
20450 '') if test "$ac_cv_type_short" = yes; then
20451 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20452 See \
`config.log' for more details." >&5
20453 echo "$as_me: error: cannot compute sizeof (short)
20454 See \`config.log
' for more details." >&2;}
20455 { (exit 77); exit 77; }; }
20457 ac_cv_sizeof_short=0
20461 cat >conftest.$ac_ext <<_ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 $ac_includes_default
20468 typedef short ac__type_sizeof_;
20469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20472 #include <stdlib.h>
20477 FILE *f = fopen ("conftest.val", "w");
20480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20482 long int i = longval ();
20483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20485 fprintf (f, "%ld\n", i);
20489 unsigned long int i = ulongval ();
20490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20492 fprintf (f, "%lu\n", i);
20494 return ferror (f) || fclose (f) != 0;
20500 rm -f conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20511 { (case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_try") 2>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); }; }; then
20520 ac_cv_sizeof_short=`cat conftest.val`
20522 echo "$as_me: program exited with status $ac_status" >&5
20523 echo "$as_me: failed program was:" >&5
20524 sed 's
/^
/| /' conftest.$ac_ext >&5
20526 ( exit $ac_status )
20527 if test "$ac_cv_type_short" = yes; then
20528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20529 See \`config.log' for more details.
" >&5
20530 echo "$as_me: error
: cannot compute sizeof
(short
)
20531 See \
`config.log' for more details." >&2;}
20532 { (exit 77); exit 77; }; }
20534 ac_cv_sizeof_short=0
20537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20542 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20546 cat >>confdefs.h <<_ACEOF
20547 #define SIZEOF_SHORT $ac_cv_sizeof_short
20551 { echo "$as_me:$LINENO: checking for void *" >&5
20552 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20553 if test "${ac_cv_type_void_p+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 cat >conftest.$ac_ext <<_ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 $ac_includes_default
20563 typedef void * ac__type_new_;
20567 if ((ac__type_new_ *) 0)
20569 if (sizeof (ac__type_new_))
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20579 *) ac_try_echo
=$ac_try;;
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_compile") 2>conftest.er1
20584 grep -v '^ *+' conftest.er1
>conftest.err
20586 cat conftest.err
>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } && {
20589 test -z "$ac_c_werror_flag" ||
20590 test ! -s conftest.err
20591 } && test -s conftest.
$ac_objext; then
20592 ac_cv_type_void_p
=yes
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.
$ac_ext >&5
20597 ac_cv_type_void_p
=no
20600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20602 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20603 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20605 # The cast to long int works around a bug in the HP C Compiler
20606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20608 # This bug is HP SR number 8606223364.
20609 { echo "$as_me:$LINENO: checking size of void *" >&5
20610 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20611 if test "${ac_cv_sizeof_void_p+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 if test "$cross_compiling" = yes; then
20615 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
20653 cat >conftest.$ac_ext <<_ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20660 typedef void * ac__type_sizeof_;
20664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20671 rm -f conftest.$ac_objext
20672 if { (ac_try="$ac_compile"
20673 case "(($ac_try" in
20674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20675 *) ac_try_echo
=$ac_try;;
20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20678 (eval "$ac_compile") 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && {
20685 test -z "$ac_c_werror_flag" ||
20686 test ! -s conftest.err
20687 } && test -s conftest.
$ac_objext; then
20688 ac_hi
=$ac_mid; break
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.
$ac_ext >&5
20693 ac_lo
=`expr $ac_mid + 1`
20694 if test $ac_lo -le $ac_mid; then
20698 ac_mid
=`expr 2 '*' $ac_mid + 1`
20701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
20744 cat >conftest.$ac_ext <<_ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 typedef void * ac__type_sizeof_;
20755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20762 rm -f conftest.$ac_objext
20763 if { (ac_try="$ac_compile"
20764 case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20766 *) ac_try_echo
=$ac_try;;
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_compile") 2>conftest.er1
20771 grep -v '^ *+' conftest.er1
>conftest.err
20773 cat conftest.err
>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } && {
20776 test -z "$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20778 } && test -s conftest.
$ac_objext; then
20779 ac_lo
=$ac_mid; break
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 ac_hi
=`expr '(' $ac_mid ')' - 1`
20785 if test $ac_mid -le $ac_hi; then
20789 ac_mid
=`expr 2 '*' $ac_mid`
20792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.
$ac_ext >&5
20801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20805 # Binary search between lo and hi bounds.
20806 while test "x$ac_lo" != "x$ac_hi"; do
20807 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815 typedef void * ac__type_sizeof_;
20819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20826 rm -f conftest.
$ac_objext
20827 if { (ac_try
="$ac_compile"
20828 case "(($ac_try" in
20829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_compile") 2>conftest.er1
20835 grep -v '^ *+' conftest.er1 >conftest.err
20837 cat conftest.err >&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && {
20840 test -z "$ac_c_werror_flag" ||
20841 test ! -s conftest.err
20842 } && test -s conftest.$ac_objext; then
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 ac_lo=`expr '(' $ac_mid ')' + 1`
20851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20855 '') if test "$ac_cv_type_void_p" = yes; then
20856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20857 See \`config.log
' for more details." >&5
20858 echo "$as_me: error: cannot compute sizeof (void *)
20859 See \`config.log' for more details.
" >&2;}
20860 { (exit 77); exit 77; }; }
20862 ac_cv_sizeof_void_p=0
20866 cat >conftest.$ac_ext <<_ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 typedef void * ac__type_sizeof_;
20874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20877 #include <stdlib.h>
20882 FILE *f = fopen ("conftest.val
", "w
");
20885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20887 long int i = longval ();
20888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20890 fprintf (f, "%ld
\n", i);
20894 unsigned long int i = ulongval ();
20895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20897 fprintf (f, "%lu
\n", i);
20899 return ferror (f) || fclose (f) != 0;
20905 rm -f conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_link") 2>&5
20914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20916 { (case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_try") 2>&5
20923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20924 (exit $ac_status); }; }; then
20925 ac_cv_sizeof_void_p=`cat conftest.val`
20927 echo "$as_me: program exited with status
$ac_status" >&5
20928 echo "$as_me: failed program was
:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20931 ( exit $ac_status )
20932 if test "$ac_cv_type_void_p" = yes; then
20933 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20934 See \
`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (void *)
20936 See \`config.log
' for more details." >&2;}
20937 { (exit 77); exit 77; }; }
20939 ac_cv_sizeof_void_p=0
20942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20947 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20951 cat >>confdefs.h <<_ACEOF
20952 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20956 { echo "$as_me:$LINENO: checking for int" >&5
20957 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20958 if test "${ac_cv_type_int+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 cat >conftest.$ac_ext <<_ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 typedef int ac__type_new_;
20972 if ((ac__type_new_ *) 0)
20974 if (sizeof (ac__type_new_))
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20989 grep -v '^
*+' conftest.er1 >conftest.err
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20999 echo "$as_me: failed program was:" >&5
21000 sed 's
/^
/| /' conftest.$ac_ext >&5
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21008 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21010 # The cast to long int works around a bug in the HP C Compiler
21011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21013 # This bug is HP SR number 8606223364.
21014 { echo "$as_me:$LINENO: checking size of int" >&5
21015 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21016 if test "${ac_cv_sizeof_int+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 if test "$cross_compiling" = yes; then
21020 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
21058 cat >conftest.$ac_ext <<_ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 typedef int ac__type_sizeof_;
21069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21080 *) ac_try_echo
=$ac_try;;
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21085 grep -v '^ *+' conftest.er1
>conftest.err
21087 cat conftest.err
>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } && {
21090 test -z "$ac_c_werror_flag" ||
21091 test ! -s conftest.err
21092 } && test -s conftest.
$ac_objext; then
21093 ac_hi
=$ac_mid; break
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21098 ac_lo
=`expr $ac_mid + 1`
21099 if test $ac_lo -le $ac_mid; then
21103 ac_mid
=`expr 2 '*' $ac_mid + 1`
21106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef int ac__type_sizeof_;
21160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21171 *) ac_try_echo
=$ac_try;;
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_compile") 2>conftest.er1
21176 grep -v '^ *+' conftest.er1
>conftest.err
21178 cat conftest.err
>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest.
$ac_objext; then
21184 ac_lo
=$ac_mid; break
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21189 ac_hi
=`expr '(' $ac_mid ')' - 1`
21190 if test $ac_mid -le $ac_hi; then
21194 ac_mid
=`expr 2 '*' $ac_mid`
21197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.
$ac_ext >&5
21206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21210 # Binary search between lo and hi bounds.
21211 while test "x$ac_lo" != "x$ac_hi"; do
21212 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21213 cat >conftest.
$ac_ext <<_ACEOF
21216 cat confdefs.h
>>conftest.
$ac_ext
21217 cat >>conftest.
$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 $ac_includes_default
21220 typedef int ac__type_sizeof_;
21224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21231 rm -f conftest.
$ac_objext
21232 if { (ac_try
="$ac_compile"
21233 case "(($ac_try" in
21234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21235 *) ac_try_echo=$ac_try;;
21237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21238 (eval "$ac_compile") 2>conftest.er1
21240 grep -v '^ *+' conftest.er1 >conftest.err
21242 cat conftest.err >&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && {
21245 test -z "$ac_c_werror_flag" ||
21246 test ! -s conftest.err
21247 } && test -s conftest.$ac_objext; then
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 ac_lo=`expr '(' $ac_mid ')' + 1`
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 ?*) ac_cv_sizeof_int=$ac_lo;;
21260 '') if test "$ac_cv_type_int" = yes; then
21261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21262 See \`config.log
' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (int)
21264 See \`config.log' for more details.
" >&2;}
21265 { (exit 77); exit 77; }; }
21271 cat >conftest.$ac_ext <<_ACEOF
21274 cat confdefs.h >>conftest.$ac_ext
21275 cat >>conftest.$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 $ac_includes_default
21278 typedef int ac__type_sizeof_;
21279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21282 #include <stdlib.h>
21287 FILE *f = fopen ("conftest.val
", "w
");
21290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21292 long int i = longval ();
21293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21295 fprintf (f, "%ld
\n", i);
21299 unsigned long int i = ulongval ();
21300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21302 fprintf (f, "%lu
\n", i);
21304 return ferror (f) || fclose (f) != 0;
21310 rm -f conftest$ac_exeext
21311 if { (ac_try="$ac_link"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_link") 2>&5
21319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21321 { (case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_try") 2>&5
21328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21329 (exit $ac_status); }; }; then
21330 ac_cv_sizeof_int=`cat conftest.val`
21332 echo "$as_me: program exited with status
$ac_status" >&5
21333 echo "$as_me: failed program was
:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ( exit $ac_status )
21337 if test "$ac_cv_type_int" = yes; then
21338 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21339 See \
`config.log' for more details." >&5
21340 echo "$as_me: error: cannot compute sizeof (int)
21341 See \`config.log
' for more details." >&2;}
21342 { (exit 77); exit 77; }; }
21347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21352 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21356 cat >>confdefs.h <<_ACEOF
21357 #define SIZEOF_INT $ac_cv_sizeof_int
21361 { echo "$as_me:$LINENO: checking for long" >&5
21362 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21363 if test "${ac_cv_type_long+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 $ac_includes_default
21373 typedef long ac__type_new_;
21377 if ((ac__type_new_ *) 0)
21379 if (sizeof (ac__type_new_))
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389 *) ac_try_echo=$ac_try;;
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21394 grep -v '^
*+' conftest.er1 >conftest.err
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.$ac_objext; then
21402 ac_cv_type_long=yes
21404 echo "$as_me: failed program was:" >&5
21405 sed 's
/^
/| /' conftest.$ac_ext >&5
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21413 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21415 # The cast to long int works around a bug in the HP C Compiler
21416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21418 # This bug is HP SR number 8606223364.
21419 { echo "$as_me:$LINENO: checking size of long" >&5
21420 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21421 if test "${ac_cv_sizeof_long+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 if test "$cross_compiling" = yes; then
21425 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470 typedef long ac__type_sizeof_;
21474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21481 rm -f conftest.$ac_objext
21482 if { (ac_try="$ac_compile"
21483 case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21485 *) ac_try_echo
=$ac_try;;
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_compile") 2>conftest.er1
21490 grep -v '^ *+' conftest.er1
>conftest.err
21492 cat conftest.err
>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } && {
21495 test -z "$ac_c_werror_flag" ||
21496 test ! -s conftest.err
21497 } && test -s conftest.
$ac_objext; then
21498 ac_hi
=$ac_mid; break
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.
$ac_ext >&5
21503 ac_lo
=`expr $ac_mid + 1`
21504 if test $ac_lo -le $ac_mid; then
21508 ac_mid
=`expr 2 '*' $ac_mid + 1`
21511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
21554 cat >conftest.$ac_ext <<_ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21561 typedef long ac__type_sizeof_;
21565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21572 rm -f conftest.$ac_objext
21573 if { (ac_try="$ac_compile"
21574 case "(($ac_try" in
21575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21576 *) ac_try_echo
=$ac_try;;
21578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21579 (eval "$ac_compile") 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } && {
21586 test -z "$ac_c_werror_flag" ||
21587 test ! -s conftest.err
21588 } && test -s conftest.
$ac_objext; then
21589 ac_lo
=$ac_mid; break
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21594 ac_hi
=`expr '(' $ac_mid ')' - 1`
21595 if test $ac_mid -le $ac_hi; then
21599 ac_mid
=`expr 2 '*' $ac_mid`
21602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 # Binary search between lo and hi bounds.
21616 while test "x$ac_lo" != "x$ac_hi"; do
21617 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef long ac__type_sizeof_;
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21636 rm -f conftest.
$ac_objext
21637 if { (ac_try
="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21645 grep -v '^ *+' conftest.er1 >conftest.err
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21658 ac_lo=`expr '(' $ac_mid ')' + 1`
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21664 ?*) ac_cv_sizeof_long=$ac_lo;;
21665 '') if test "$ac_cv_type_long" = yes; then
21666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21667 See \`config.log
' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (long)
21669 See \`config.log' for more details.
" >&2;}
21670 { (exit 77); exit 77; }; }
21672 ac_cv_sizeof_long=0
21676 cat >conftest.$ac_ext <<_ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 $ac_includes_default
21683 typedef long ac__type_sizeof_;
21684 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21685 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21687 #include <stdlib.h>
21692 FILE *f = fopen ("conftest.val
", "w
");
21695 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21697 long int i = longval ();
21698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21700 fprintf (f, "%ld
\n", i);
21704 unsigned long int i = ulongval ();
21705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21707 fprintf (f, "%lu
\n", i);
21709 return ferror (f) || fclose (f) != 0;
21715 rm -f conftest$ac_exeext
21716 if { (ac_try="$ac_link"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_link") 2>&5
21724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21726 { (case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_try") 2>&5
21733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21734 (exit $ac_status); }; }; then
21735 ac_cv_sizeof_long=`cat conftest.val`
21737 echo "$as_me: program exited with status
$ac_status" >&5
21738 echo "$as_me: failed program was
:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21741 ( exit $ac_status )
21742 if test "$ac_cv_type_long" = yes; then
21743 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21744 See \
`config.log' for more details." >&5
21745 echo "$as_me: error: cannot compute sizeof (long)
21746 See \`config.log
' for more details." >&2;}
21747 { (exit 77); exit 77; }; }
21749 ac_cv_sizeof_long=0
21752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21756 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21757 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21761 cat >>confdefs.h <<_ACEOF
21762 #define SIZEOF_LONG $ac_cv_sizeof_long
21766 { echo "$as_me:$LINENO: checking for size_t" >&5
21767 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21768 if test "${ac_cv_type_size_t+set}" = set; then
21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21771 cat >conftest.$ac_ext <<_ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef size_t ac__type_new_;
21782 if ((ac__type_new_ *) 0)
21784 if (sizeof (ac__type_new_))
21790 rm -f conftest.$ac_objext
21791 if { (ac_try="$ac_compile"
21792 case "(($ac_try" in
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794 *) ac_try_echo=$ac_try;;
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797 (eval "$ac_compile") 2>conftest.er1
21799 grep -v '^
*+' conftest.er1 >conftest.err
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } && {
21804 test -z "$ac_c_werror_flag" ||
21805 test ! -s conftest.err
21806 } && test -s conftest.$ac_objext; then
21807 ac_cv_type_size_t=yes
21809 echo "$as_me: failed program was:" >&5
21810 sed 's
/^
/| /' conftest.$ac_ext >&5
21812 ac_cv_type_size_t=no
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21818 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21820 # The cast to long int works around a bug in the HP C Compiler
21821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21823 # This bug is HP SR number 8606223364.
21824 { echo "$as_me:$LINENO: checking size of size_t" >&5
21825 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21826 if test "${ac_cv_sizeof_size_t+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21829 if test "$cross_compiling" = yes; then
21830 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
21868 cat >conftest.$ac_ext <<_ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 typedef size_t ac__type_sizeof_;
21879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21886 rm -f conftest.$ac_objext
21887 if { (ac_try="$ac_compile"
21888 case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21890 *) ac_try_echo
=$ac_try;;
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_compile") 2>conftest.er1
21895 grep -v '^ *+' conftest.er1
>conftest.err
21897 cat conftest.err
>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } && {
21900 test -z "$ac_c_werror_flag" ||
21901 test ! -s conftest.err
21902 } && test -s conftest.
$ac_objext; then
21903 ac_hi
=$ac_mid; break
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.
$ac_ext >&5
21908 ac_lo
=`expr $ac_mid + 1`
21909 if test $ac_lo -le $ac_mid; then
21913 ac_mid
=`expr 2 '*' $ac_mid + 1`
21916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
21959 cat >conftest.$ac_ext <<_ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 $ac_includes_default
21966 typedef size_t ac__type_sizeof_;
21970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21977 rm -f conftest.$ac_objext
21978 if { (ac_try="$ac_compile"
21979 case "(($ac_try" in
21980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21981 *) ac_try_echo
=$ac_try;;
21983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21984 (eval "$ac_compile") 2>conftest.er1
21986 grep -v '^ *+' conftest.er1
>conftest.err
21988 cat conftest.err
>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } && {
21991 test -z "$ac_c_werror_flag" ||
21992 test ! -s conftest.err
21993 } && test -s conftest.
$ac_objext; then
21994 ac_lo
=$ac_mid; break
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.
$ac_ext >&5
21999 ac_hi
=`expr '(' $ac_mid ')' - 1`
22000 if test $ac_mid -le $ac_hi; then
22004 ac_mid
=`expr 2 '*' $ac_mid`
22007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.
$ac_ext >&5
22016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22020 # Binary search between lo and hi bounds.
22021 while test "x$ac_lo" != "x$ac_hi"; do
22022 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22023 cat >conftest.
$ac_ext <<_ACEOF
22026 cat confdefs.h
>>conftest.
$ac_ext
22027 cat >>conftest.
$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 $ac_includes_default
22030 typedef size_t ac__type_sizeof_;
22034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22041 rm -f conftest.
$ac_objext
22042 if { (ac_try
="$ac_compile"
22043 case "(($ac_try" in
22044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22045 *) ac_try_echo=$ac_try;;
22047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22048 (eval "$ac_compile") 2>conftest.er1
22050 grep -v '^ *+' conftest.er1 >conftest.err
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } && {
22055 test -z "$ac_c_werror_flag" ||
22056 test ! -s conftest.err
22057 } && test -s conftest.$ac_objext; then
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22063 ac_lo=`expr '(' $ac_mid ')' + 1`
22066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22070 '') if test "$ac_cv_type_size_t" = yes; then
22071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22072 See \`config.log
' for more details." >&5
22073 echo "$as_me: error: cannot compute sizeof (size_t)
22074 See \`config.log' for more details.
" >&2;}
22075 { (exit 77); exit 77; }; }
22077 ac_cv_sizeof_size_t=0
22081 cat >conftest.$ac_ext <<_ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef size_t ac__type_sizeof_;
22089 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22090 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22092 #include <stdlib.h>
22097 FILE *f = fopen ("conftest.val
", "w
");
22100 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22102 long int i = longval ();
22103 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22105 fprintf (f, "%ld
\n", i);
22109 unsigned long int i = ulongval ();
22110 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22112 fprintf (f, "%lu
\n", i);
22114 return ferror (f) || fclose (f) != 0;
22120 rm -f conftest$ac_exeext
22121 if { (ac_try="$ac_link"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22124 *) ac_try_echo=$ac_try;;
22126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_link") 2>&5
22129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22131 { (case "(($ac_try" in
22132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22133 *) ac_try_echo=$ac_try;;
22135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22136 (eval "$ac_try") 2>&5
22138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 ac_cv_sizeof_size_t=`cat conftest.val`
22142 echo "$as_me: program exited with status
$ac_status" >&5
22143 echo "$as_me: failed program was
:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22146 ( exit $ac_status )
22147 if test "$ac_cv_type_size_t" = yes; then
22148 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22149 See \
`config.log' for more details." >&5
22150 echo "$as_me: error: cannot compute sizeof (size_t)
22151 See \`config.log
' for more details." >&2;}
22152 { (exit 77); exit 77; }; }
22154 ac_cv_sizeof_size_t=0
22157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22161 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22162 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22166 cat >>confdefs.h <<_ACEOF
22167 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22174 { echo "$as_me:$LINENO: checking for long long" >&5
22175 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22176 if test "${ac_cv_type_long_long+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22179 cat >conftest.$ac_ext <<_ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 $ac_includes_default
22186 typedef long long ac__type_new_;
22190 if ((ac__type_new_ *) 0)
22192 if (sizeof (ac__type_new_))
22198 rm -f conftest.$ac_objext
22199 if { (ac_try="$ac_compile"
22200 case "(($ac_try" in
22201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22202 *) ac_try_echo=$ac_try;;
22204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22205 (eval "$ac_compile") 2>conftest.er1
22207 grep -v '^
*+' conftest.er1 >conftest.err
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } && {
22212 test -z "$ac_c_werror_flag" ||
22213 test ! -s conftest.err
22214 } && test -s conftest.$ac_objext; then
22215 ac_cv_type_long_long=yes
22217 echo "$as_me: failed program was:" >&5
22218 sed 's
/^
/| /' conftest.$ac_ext >&5
22220 ac_cv_type_long_long=no
22223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22226 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22228 # The cast to long int works around a bug in the HP C Compiler
22229 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22230 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22231 # This bug is HP SR number 8606223364.
22232 { echo "$as_me:$LINENO: checking size of long long" >&5
22233 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22234 if test "${ac_cv_sizeof_long_long+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 if test "$cross_compiling" = yes; then
22238 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
22276 cat >conftest.$ac_ext <<_ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef long long ac__type_sizeof_;
22287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22294 rm -f conftest.$ac_objext
22295 if { (ac_try="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22298 *) ac_try_echo
=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22303 grep -v '^ *+' conftest.er1
>conftest.err
22305 cat conftest.err
>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } && {
22308 test -z "$ac_c_werror_flag" ||
22309 test ! -s conftest.err
22310 } && test -s conftest.
$ac_objext; then
22311 ac_hi
=$ac_mid; break
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.
$ac_ext >&5
22316 ac_lo
=`expr $ac_mid + 1`
22317 if test $ac_lo -le $ac_mid; then
22321 ac_mid
=`expr 2 '*' $ac_mid + 1`
22324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
22367 cat >conftest.$ac_ext <<_ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 $ac_includes_default
22374 typedef long long ac__type_sizeof_;
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22389 *) ac_try_echo
=$ac_try;;
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22394 grep -v '^ *+' conftest.er1
>conftest.err
22396 cat conftest.err
>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.
$ac_objext; then
22402 ac_lo
=$ac_mid; break
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22407 ac_hi
=`expr '(' $ac_mid ')' - 1`
22408 if test $ac_mid -le $ac_hi; then
22412 ac_mid
=`expr 2 '*' $ac_mid`
22415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.
$ac_ext >&5
22424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22428 # Binary search between lo and hi bounds.
22429 while test "x$ac_lo" != "x$ac_hi"; do
22430 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22431 cat >conftest.
$ac_ext <<_ACEOF
22434 cat confdefs.h
>>conftest.
$ac_ext
22435 cat >>conftest.
$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_sizeof_;
22442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22449 rm -f conftest.
$ac_objext
22450 if { (ac_try
="$ac_compile"
22451 case "(($ac_try" in
22452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22458 grep -v '^ *+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 ac_lo=`expr '(' $ac_mid ')' + 1`
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22477 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22478 '') if test "$ac_cv_type_long_long" = yes; then
22479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22480 See \`config.log
' for more details." >&5
22481 echo "$as_me: error: cannot compute sizeof (long long)
22482 See \`config.log' for more details.
" >&2;}
22483 { (exit 77); exit 77; }; }
22485 ac_cv_sizeof_long_long=0
22489 cat >conftest.$ac_ext <<_ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 $ac_includes_default
22496 typedef long long ac__type_sizeof_;
22497 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22498 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22500 #include <stdlib.h>
22505 FILE *f = fopen ("conftest.val
", "w
");
22508 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22510 long int i = longval ();
22511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22513 fprintf (f, "%ld
\n", i);
22517 unsigned long int i = ulongval ();
22518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22520 fprintf (f, "%lu
\n", i);
22522 return ferror (f) || fclose (f) != 0;
22528 rm -f conftest$ac_exeext
22529 if { (ac_try="$ac_link"
22530 case "(($ac_try" in
22531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22532 *) ac_try_echo=$ac_try;;
22534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22535 (eval "$ac_link") 2>&5
22537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22539 { (case "(($ac_try" in
22540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22541 *) ac_try_echo=$ac_try;;
22543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22544 (eval "$ac_try") 2>&5
22546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22547 (exit $ac_status); }; }; then
22548 ac_cv_sizeof_long_long=`cat conftest.val`
22550 echo "$as_me: program exited with status
$ac_status" >&5
22551 echo "$as_me: failed program was
:" >&5
22552 sed 's/^/| /' conftest.$ac_ext >&5
22554 ( exit $ac_status )
22555 if test "$ac_cv_type_long_long" = yes; then
22556 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22557 See \
`config.log' for more details." >&5
22558 echo "$as_me: error: cannot compute sizeof (long long)
22559 See \`config.log
' for more details." >&2;}
22560 { (exit 77); exit 77; }; }
22562 ac_cv_sizeof_long_long=0
22565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22569 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22570 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22574 cat >>confdefs.h <<_ACEOF
22575 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22581 { echo "$as_me:$LINENO: checking for long long" >&5
22582 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22583 if test "${ac_cv_type_long_long+set}" = set; then
22584 echo $ECHO_N "(cached) $ECHO_C" >&6
22586 cat >conftest.$ac_ext <<_ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_new_;
22597 if ((ac__type_new_ *) 0)
22599 if (sizeof (ac__type_new_))
22605 rm -f conftest.$ac_objext
22606 if { (ac_try="$ac_compile"
22607 case "(($ac_try" in
22608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_compile") 2>conftest.er1
22614 grep -v '^
*+' conftest.er1 >conftest.err
22616 cat conftest.err >&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } && {
22619 test -z "$ac_c_werror_flag" ||
22620 test ! -s conftest.err
22621 } && test -s conftest.$ac_objext; then
22622 ac_cv_type_long_long=yes
22624 echo "$as_me: failed program was:" >&5
22625 sed 's
/^
/| /' conftest.$ac_ext >&5
22627 ac_cv_type_long_long=no
22630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22632 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22633 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22635 # The cast to long int works around a bug in the HP C Compiler
22636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22638 # This bug is HP SR number 8606223364.
22639 { echo "$as_me:$LINENO: checking size of long long" >&5
22640 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22641 if test "${ac_cv_sizeof_long_long+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22644 if test "$cross_compiling" = yes; then
22645 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
22683 cat >conftest.$ac_ext <<_ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef long long ac__type_sizeof_;
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22701 rm -f conftest.$ac_objext
22702 if { (ac_try="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22705 *) ac_try_echo
=$ac_try;;
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22710 grep -v '^ *+' conftest.er1
>conftest.err
22712 cat conftest.err
>&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.
$ac_objext; then
22718 ac_hi
=$ac_mid; break
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.
$ac_ext >&5
22723 ac_lo
=`expr $ac_mid + 1`
22724 if test $ac_lo -le $ac_mid; then
22728 ac_mid
=`expr 2 '*' $ac_mid + 1`
22731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
22774 cat >conftest.$ac_ext <<_ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 $ac_includes_default
22781 typedef long long ac__type_sizeof_;
22785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22792 rm -f conftest.$ac_objext
22793 if { (ac_try="$ac_compile"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22796 *) ac_try_echo
=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_compile") 2>conftest.er1
22801 grep -v '^ *+' conftest.er1
>conftest.err
22803 cat conftest.err
>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && {
22806 test -z "$ac_c_werror_flag" ||
22807 test ! -s conftest.err
22808 } && test -s conftest.
$ac_objext; then
22809 ac_lo
=$ac_mid; break
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.
$ac_ext >&5
22814 ac_hi
=`expr '(' $ac_mid ')' - 1`
22815 if test $ac_mid -le $ac_hi; then
22819 ac_mid
=`expr 2 '*' $ac_mid`
22822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.
$ac_ext >&5
22831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22835 # Binary search between lo and hi bounds.
22836 while test "x$ac_lo" != "x$ac_hi"; do
22837 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22838 cat >conftest.
$ac_ext <<_ACEOF
22841 cat confdefs.h
>>conftest.
$ac_ext
22842 cat >>conftest.
$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844 $ac_includes_default
22845 typedef long long ac__type_sizeof_;
22849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22856 rm -f conftest.
$ac_objext
22857 if { (ac_try
="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22865 grep -v '^ *+' conftest.er1 >conftest.err
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_c_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22878 ac_lo=`expr '(' $ac_mid ')' + 1`
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22884 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22885 '') if test "$ac_cv_type_long_long" = yes; then
22886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22887 See \`config.log
' for more details." >&5
22888 echo "$as_me: error: cannot compute sizeof (long long)
22889 See \`config.log' for more details.
" >&2;}
22890 { (exit 77); exit 77; }; }
22892 ac_cv_sizeof_long_long=0
22896 cat >conftest.$ac_ext <<_ACEOF
22899 cat confdefs.h >>conftest.$ac_ext
22900 cat >>conftest.$ac_ext <<_ACEOF
22901 /* end confdefs.h. */
22902 $ac_includes_default
22903 typedef long long ac__type_sizeof_;
22904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22907 #include <stdlib.h>
22912 FILE *f = fopen ("conftest.val
", "w
");
22915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22917 long int i = longval ();
22918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22920 fprintf (f, "%ld
\n", i);
22924 unsigned long int i = ulongval ();
22925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22927 fprintf (f, "%lu
\n", i);
22929 return ferror (f) || fclose (f) != 0;
22935 rm -f conftest$ac_exeext
22936 if { (ac_try="$ac_link"
22937 case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_link") 2>&5
22944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22946 { (case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22948 *) ac_try_echo=$ac_try;;
22950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_try") 2>&5
22953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_cv_sizeof_long_long=`cat conftest.val`
22957 echo "$as_me: program exited with status
$ac_status" >&5
22958 echo "$as_me: failed program was
:" >&5
22959 sed 's/^/| /' conftest.$ac_ext >&5
22961 ( exit $ac_status )
22962 if test "$ac_cv_type_long_long" = yes; then
22963 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22964 See \
`config.log' for more details." >&5
22965 echo "$as_me: error: cannot compute sizeof (long long)
22966 See \`config.log
' for more details." >&2;}
22967 { (exit 77); exit 77; }; }
22969 ac_cv_sizeof_long_long=0
22972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22977 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22981 cat >>confdefs.h <<_ACEOF
22982 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22986 if test "$ac_cv_sizeof_long_long" != 0; then
22987 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22991 { echo "$as_me:$LINENO: checking for long long" >&5
22992 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22993 if test "${ac_cv_type_long_long+set}" = set; then
22994 echo $ECHO_N "(cached) $ECHO_C" >&6
22996 cat >conftest.$ac_ext <<_ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 $ac_includes_default
23003 typedef long long ac__type_new_;
23007 if ((ac__type_new_ *) 0)
23009 if (sizeof (ac__type_new_))
23015 rm -f conftest.$ac_objext
23016 if { (ac_try="$ac_compile"
23017 case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_compile") 2>conftest.er1
23024 grep -v '^
*+' conftest.er1 >conftest.err
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } && {
23029 test -z "$ac_c_werror_flag" ||
23030 test ! -s conftest.err
23031 } && test -s conftest.$ac_objext; then
23032 ac_cv_type_long_long=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's
/^
/| /' conftest.$ac_ext >&5
23037 ac_cv_type_long_long=no
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23043 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23045 # The cast to long int works around a bug in the HP C Compiler
23046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23048 # This bug is HP SR number 8606223364.
23049 { echo "$as_me:$LINENO: checking size of long long" >&5
23050 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23051 if test "${ac_cv_sizeof_long_long+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 if test "$cross_compiling" = yes; then
23055 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 $ac_includes_default
23100 typedef long long ac__type_sizeof_;
23104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23111 rm -f conftest.$ac_objext
23112 if { (ac_try="$ac_compile"
23113 case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23115 *) ac_try_echo
=$ac_try;;
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_compile") 2>conftest.er1
23120 grep -v '^ *+' conftest.er1
>conftest.err
23122 cat conftest.err
>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } && {
23125 test -z "$ac_c_werror_flag" ||
23126 test ! -s conftest.err
23127 } && test -s conftest.
$ac_objext; then
23128 ac_hi
=$ac_mid; break
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.
$ac_ext >&5
23133 ac_lo
=`expr $ac_mid + 1`
23134 if test $ac_lo -le $ac_mid; then
23138 ac_mid
=`expr 2 '*' $ac_mid + 1`
23141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
23184 cat >conftest.$ac_ext <<_ACEOF
23187 cat confdefs.h >>conftest.$ac_ext
23188 cat >>conftest.$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190 $ac_includes_default
23191 typedef long long ac__type_sizeof_;
23195 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23202 rm -f conftest.$ac_objext
23203 if { (ac_try="$ac_compile"
23204 case "(($ac_try" in
23205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23206 *) ac_try_echo
=$ac_try;;
23208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23209 (eval "$ac_compile") 2>conftest.er1
23211 grep -v '^ *+' conftest.er1
>conftest.err
23213 cat conftest.err
>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); } && {
23216 test -z "$ac_c_werror_flag" ||
23217 test ! -s conftest.err
23218 } && test -s conftest.
$ac_objext; then
23219 ac_lo
=$ac_mid; break
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.
$ac_ext >&5
23224 ac_hi
=`expr '(' $ac_mid ')' - 1`
23225 if test $ac_mid -le $ac_hi; then
23229 ac_mid
=`expr 2 '*' $ac_mid`
23232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.
$ac_ext >&5
23241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23245 # Binary search between lo and hi bounds.
23246 while test "x$ac_lo" != "x$ac_hi"; do
23247 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23248 cat >conftest.
$ac_ext <<_ACEOF
23251 cat confdefs.h
>>conftest.
$ac_ext
23252 cat >>conftest.
$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254 $ac_includes_default
23255 typedef long long ac__type_sizeof_;
23259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23266 rm -f conftest.
$ac_objext
23267 if { (ac_try
="$ac_compile"
23268 case "(($ac_try" in
23269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_compile") 2>conftest.er1
23275 grep -v '^ *+' conftest.er1 >conftest.err
23277 cat conftest.err >&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } && {
23280 test -z "$ac_c_werror_flag" ||
23281 test ! -s conftest.err
23282 } && test -s conftest.$ac_objext; then
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23288 ac_lo=`expr '(' $ac_mid ')' + 1`
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23295 '') if test "$ac_cv_type_long_long" = yes; then
23296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23297 See \`config.log
' for more details." >&5
23298 echo "$as_me: error: cannot compute sizeof (long long)
23299 See \`config.log' for more details.
" >&2;}
23300 { (exit 77); exit 77; }; }
23302 ac_cv_sizeof_long_long=0
23306 cat >conftest.$ac_ext <<_ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 $ac_includes_default
23313 typedef long long ac__type_sizeof_;
23314 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23315 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23317 #include <stdlib.h>
23322 FILE *f = fopen ("conftest.val
", "w
");
23325 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23327 long int i = longval ();
23328 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23330 fprintf (f, "%ld
\n", i);
23334 unsigned long int i = ulongval ();
23335 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23337 fprintf (f, "%lu
\n", i);
23339 return ferror (f) || fclose (f) != 0;
23345 rm -f conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>&5
23354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23356 { (case "(($ac_try" in
23357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23358 *) ac_try_echo=$ac_try;;
23360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_try") 2>&5
23363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 ac_cv_sizeof_long_long=`cat conftest.val`
23367 echo "$as_me: program exited with status
$ac_status" >&5
23368 echo "$as_me: failed program was
:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23371 ( exit $ac_status )
23372 if test "$ac_cv_type_long_long" = yes; then
23373 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23374 See \
`config.log' for more details." >&5
23375 echo "$as_me: error: cannot compute sizeof (long long)
23376 See \`config.log
' for more details." >&2;}
23377 { (exit 77); exit 77; }; }
23379 ac_cv_sizeof_long_long=0
23382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23386 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23387 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23391 cat >>confdefs.h <<_ACEOF
23392 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23398 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23399 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23400 if test "${ac_cv_type_wchar_t+set}" = set; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 cat >conftest.$ac_ext <<_ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23410 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23411 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23412 # error "fake wchar_t"
23414 #ifdef HAVE_WCHAR_H
23416 # include <stddef.h>
23418 # include <wchar.h>
23420 #ifdef HAVE_STDLIB_H
23421 # include <stdlib.h>
23427 typedef wchar_t ac__type_new_
;
23431 if ((ac__type_new_
*) 0)
23433 if (sizeof
(ac__type_new_
))
23439 rm -f conftest.
$ac_objext
23440 if { (ac_try
="$ac_compile"
23441 case "(($ac_try" in
23442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_compile") 2>conftest.er1
23448 grep -v '^ *+' conftest.er1 >conftest.err
23450 cat conftest.err >&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } && {
23453 test -z "$ac_c_werror_flag" ||
23454 test ! -s conftest.err
23455 } && test -s conftest.$ac_objext; then
23456 ac_cv_type_wchar_t=yes
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23461 ac_cv_type_wchar_t=no
23464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23466 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23467 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23469 # The cast to long int works around a bug in the HP C Compiler
23470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23471 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23472 # This bug is HP SR number 8606223364.
23473 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23474 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23475 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23476 echo $ECHO_N "(cached) $ECHO_C" >&6
23478 if test "$cross_compiling" = yes; then
23479 # Depending upon the size, compute the lo and hi bounds.
23480 cat >conftest.$ac_ext <<_ACEOF
23483 cat confdefs.h >>conftest.$ac_ext
23484 cat >>conftest.$ac_ext <<_ACEOF
23485 /* end confdefs.h. */
23487 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23489 # error "fake wchar_t"
23491 #ifdef HAVE_WCHAR_H
23493 # include <stddef.h>
23495 # include <wchar.h>
23497 #ifdef HAVE_STDLIB_H
23498 # include <stdlib.h>
23504 typedef wchar_t ac__type_sizeof_
;
23508 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23515 rm -f conftest.
$ac_objext
23516 if { (ac_try
="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1 >conftest.err
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.$ac_objext; then
23534 cat >conftest.$ac_ext <<_ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23541 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23542 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23543 # error "fake wchar_t"
23545 #ifdef HAVE_WCHAR_H
23547 # include <stddef.h>
23549 # include <wchar.h>
23551 #ifdef HAVE_STDLIB_H
23552 # include <stdlib.h>
23558 typedef wchar_t ac__type_sizeof_;
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23573 *) ac_try_echo
=$ac_try;;
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23578 grep -v '^ *+' conftest.er1
>conftest.err
23580 cat conftest.err
>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.
$ac_objext; then
23586 ac_hi
=$ac_mid; break
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23591 ac_lo
=`expr $ac_mid + 1`
23592 if test $ac_lo -le $ac_mid; then
23596 ac_mid
=`expr 2 '*' $ac_mid + 1`
23599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.
$ac_ext >&5
23605 cat >conftest.
$ac_ext <<_ACEOF
23608 cat confdefs.h
>>conftest.
$ac_ext
23609 cat >>conftest.
$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23612 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23613 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23614 # error "fake wchar_t"
23616 #ifdef HAVE_WCHAR_H
23618 # include <stddef.h>
23620 # include <wchar.h>
23622 #ifdef HAVE_STDLIB_H
23623 # include <stdlib.h>
23629 typedef wchar_t ac__type_sizeof_;
23633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23640 rm -f conftest.
$ac_objext
23641 if { (ac_try
="$ac_compile"
23642 case "(($ac_try" in
23643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23644 *) ac_try_echo=$ac_try;;
23646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23647 (eval "$ac_compile") 2>conftest.er1
23649 grep -v '^ *+' conftest.er1 >conftest.err
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && {
23654 test -z "$ac_c_werror_flag" ||
23655 test ! -s conftest.err
23656 } && test -s conftest.$ac_objext; then
23659 cat >conftest.$ac_ext <<_ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23666 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23667 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23668 # error "fake wchar_t"
23670 #ifdef HAVE_WCHAR_H
23672 # include <stddef.h>
23674 # include <wchar.h>
23676 #ifdef HAVE_STDLIB_H
23677 # include <stdlib.h>
23683 typedef wchar_t ac__type_sizeof_;
23687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23694 rm -f conftest.$ac_objext
23695 if { (ac_try="$ac_compile"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23698 *) ac_try_echo
=$ac_try;;
23700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 (eval "$ac_compile") 2>conftest.er1
23703 grep -v '^ *+' conftest.er1
>conftest.err
23705 cat conftest.err
>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } && {
23708 test -z "$ac_c_werror_flag" ||
23709 test ! -s conftest.err
23710 } && test -s conftest.
$ac_objext; then
23711 ac_lo
=$ac_mid; break
23713 echo "$as_me: failed program was:" >&5
23714 sed 's/^/| /' conftest.
$ac_ext >&5
23716 ac_hi
=`expr '(' $ac_mid ')' - 1`
23717 if test $ac_mid -le $ac_hi; then
23721 ac_mid
=`expr 2 '*' $ac_mid`
23724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23737 # Binary search between lo and hi bounds.
23738 while test "x$ac_lo" != "x$ac_hi"; do
23739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23740 cat >conftest.
$ac_ext <<_ACEOF
23743 cat confdefs.h
>>conftest.
$ac_ext
23744 cat >>conftest.
$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23747 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23748 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23749 # error "fake wchar_t"
23751 #ifdef HAVE_WCHAR_H
23753 # include <stddef.h>
23755 # include <wchar.h>
23757 #ifdef HAVE_STDLIB_H
23758 # include <stdlib.h>
23764 typedef wchar_t ac__type_sizeof_;
23768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23775 rm -f conftest.
$ac_objext
23776 if { (ac_try
="$ac_compile"
23777 case "(($ac_try" in
23778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_compile") 2>conftest.er1
23784 grep -v '^ *+' conftest.er1 >conftest.err
23786 cat conftest.err >&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } && {
23789 test -z "$ac_c_werror_flag" ||
23790 test ! -s conftest.err
23791 } && test -s conftest.$ac_objext; then
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23797 ac_lo=`expr '(' $ac_mid ')' + 1`
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23803 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23804 '') if test "$ac_cv_type_wchar_t" = yes; then
23805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23806 See \`config.log
' for more details." >&5
23807 echo "$as_me: error: cannot compute sizeof (wchar_t)
23808 See \`config.log' for more details.
" >&2;}
23809 { (exit 77); exit 77; }; }
23811 ac_cv_sizeof_wchar_t=0
23815 cat >conftest.$ac_ext <<_ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23822 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23823 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23824 # error "fake wchar_t
"
23826 #ifdef HAVE_WCHAR_H
23828 # include <stddef.h>
23830 # include <wchar.h>
23832 #ifdef HAVE_STDLIB_H
23833 # include <stdlib.h>
23839 typedef wchar_t ac__type_sizeof_;
23840 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23841 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23843 #include <stdlib.h>
23848 FILE *f = fopen ("conftest.val
", "w
");
23851 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23853 long int i = longval ();
23854 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23856 fprintf (f, "%ld
\n", i);
23860 unsigned long int i = ulongval ();
23861 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23863 fprintf (f, "%lu
\n", i);
23865 return ferror (f) || fclose (f) != 0;
23871 rm -f conftest$ac_exeext
23872 if { (ac_try="$ac_link"
23873 case "(($ac_try" in
23874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23875 *) ac_try_echo=$ac_try;;
23877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_link") 2>&5
23880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23882 { (case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_try") 2>&5
23889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_sizeof_wchar_t=`cat conftest.val`
23893 echo "$as_me: program exited with status
$ac_status" >&5
23894 echo "$as_me: failed program was
:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23897 ( exit $ac_status )
23898 if test "$ac_cv_type_wchar_t" = yes; then
23899 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23900 See \
`config.log' for more details." >&5
23901 echo "$as_me: error: cannot compute sizeof (wchar_t)
23902 See \`config.log
' for more details." >&2;}
23903 { (exit 77); exit 77; }; }
23905 ac_cv_sizeof_wchar_t=0
23908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23912 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23913 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23917 cat >>confdefs.h <<_ACEOF
23918 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23922 if test "$ac_cv_sizeof_wchar_t" != 0; then
23928 { echo "$as_me:$LINENO: checking for va_copy" >&5
23929 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23930 if test "${wx_cv_func_va_copy+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 ac_cpp='$CXXCPP $CPPFLAGS'
23936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23937 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23940 cat >conftest.$ac_ext <<_ACEOF
23942 #include <stdarg.h>
23943 void foo(char *f, ...)
23957 rm -f conftest.$ac_objext conftest$ac_exeext
23958 if { (ac_try="$ac_link"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_link") 2>conftest.er1
23966 grep -v '^
*+' conftest.er1 >conftest.err
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_cxx_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest$ac_exeext &&
23974 $as_test_x conftest$ac_exeext; then
23975 wx_cv_func_va_copy=yes
23977 echo "$as_me: failed program was:" >&5
23978 sed 's
/^
/| /' conftest.$ac_ext >&5
23980 wx_cv_func_va_copy=no
23984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23985 conftest$ac_exeext conftest.$ac_ext
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23989 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23996 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23998 if test $wx_cv_func_va_copy = "yes"; then
23999 cat >>confdefs.h <<\_ACEOF
24000 #define HAVE_VA_COPY 1
24004 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24005 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24006 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 if test "$cross_compiling" = yes; then
24011 wx_cv_type_va_list_lvalue=yes
24014 cat >conftest.$ac_ext <<_ACEOF
24016 #include <stdarg.h>
24017 int foo(char *f, ...)
24022 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24030 return foo("hi", 17);
24033 rm -f conftest$ac_exeext
24034 if { (ac_try="$ac_link"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_link") 2>&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24044 { (case "(($ac_try" in
24045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_try") 2>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; }; then
24053 wx_cv_type_va_list_lvalue=yes
24055 echo "$as_me: program exited with status $ac_status" >&5
24056 echo "$as_me: failed program was:" >&5
24057 sed 's
/^
/| /' conftest.$ac_ext >&5
24059 ( exit $ac_status )
24060 wx_cv_type_va_list_lvalue=no
24062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24069 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24070 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24072 if test $wx_cv_type_va_list_lvalue != "yes"; then
24073 cat >>confdefs.h <<\_ACEOF
24074 #define VA_LIST_IS_ARRAY 1
24080 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24082 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24083 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24084 if test "${wx_cv_have_variadic_macros+set}" = set; then
24085 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24091 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24094 cat >conftest.$ac_ext <<_ACEOF
24097 cat confdefs.h >>conftest.$ac_ext
24098 cat >>conftest.$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24102 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24108 test("%s %d %p", "test", 1, 0);
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24124 grep -v '^
*+' conftest.er1 >conftest.err
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_cxx_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 wx_cv_have_variadic_macros=yes
24134 echo "$as_me: failed program was:" >&5
24135 sed 's
/^
/| /' conftest.$ac_ext >&5
24137 wx_cv_have_variadic_macros=no
24141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 ac_cpp='$CPP $CPPFLAGS'
24144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24145 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24151 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24152 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24154 if test $wx_cv_have_variadic_macros = "yes"; then
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_VARIADIC_MACROS 1
24163 LARGEFILE_CPPFLAGS=
24164 # Check whether --enable-largefile was given.
24165 if test "${enable_largefile+set}" = set; then
24166 enableval=$enable_largefile;
24169 if test "$enable_largefile" != no; then
24172 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24173 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24174 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24175 echo $ECHO_N "(cached) $ECHO_C" >&6
24178 cat >conftest.$ac_ext <<_ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24184 #define _FILE_OFFSET_BITS 64
24185 #include <sys/types.h>
24190 unsigned int field: sizeof(off_t) == 8;
24197 rm -f conftest.$ac_objext
24198 if { (ac_try="$ac_compile"
24199 case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_compile") 2>conftest.er1
24206 grep -v '^
*+' conftest.er1 >conftest.err
24208 cat conftest.err >&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && {
24211 test -z "$ac_c_werror_flag" ||
24212 test ! -s conftest.err
24213 } && test -s conftest.$ac_objext; then
24214 ac_cv_sys_file_offset_bits=64
24216 echo "$as_me: failed program was:" >&5
24217 sed 's
/^
/| /' conftest.$ac_ext >&5
24219 ac_cv_sys_file_offset_bits=no
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24227 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24229 if test "$ac_cv_sys_file_offset_bits" != no; then
24231 cat >>confdefs.h <<_ACEOF
24232 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24237 if test "x$wx_largefile" != "xyes"; then
24239 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24240 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24241 if test "${ac_cv_sys_large_files+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 cat >conftest.$ac_ext <<_ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 #define _LARGE_FILES 1
24252 #include <sys/types.h>
24257 unsigned int field: sizeof(off_t) == 8;
24264 rm -f conftest.$ac_objext
24265 if { (ac_try="$ac_compile"
24266 case "(($ac_try" in
24267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24268 *) ac_try_echo=$ac_try;;
24270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24271 (eval "$ac_compile") 2>conftest.er1
24273 grep -v '^
*+' conftest.er1 >conftest.err
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && {
24278 test -z "$ac_c_werror_flag" ||
24279 test ! -s conftest.err
24280 } && test -s conftest.$ac_objext; then
24281 ac_cv_sys_large_files=1
24283 echo "$as_me: failed program was:" >&5
24284 sed 's
/^
/| /' conftest.$ac_ext >&5
24286 ac_cv_sys_large_files=no
24289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24294 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24296 if test "$ac_cv_sys_large_files" != no; then
24298 cat >>confdefs.h <<_ACEOF
24299 #define _LARGE_FILES $ac_cv_sys_large_files
24306 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24307 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24308 if test "x$wx_largefile" = "xyes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_LARGEFILE_SUPPORT 1
24314 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24315 echo "${ECHO_T}$wx_largefile" >&6; }
24318 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24319 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24320 elif test "$ac_cv_sys_large_files" = 1; then
24321 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24324 if test -n "$LARGEFILE_CPPFLAGS"; then
24325 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24327 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24328 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24329 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24330 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24337 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat >conftest.$ac_ext <<_ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24351 #ifndef __STDC_EXT__
24359 rm -f conftest.$ac_objext
24360 if { (ac_try="$ac_compile"
24361 case "(($ac_try" in
24362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24363 *) ac_try_echo=$ac_try;;
24365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24366 (eval "$ac_compile") 2>conftest.er1
24368 grep -v '^
*+' conftest.er1 >conftest.err
24370 cat conftest.err >&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } && {
24373 test -z "$ac_cxx_werror_flag" ||
24374 test ! -s conftest.err
24375 } && test -s conftest.$ac_objext; then
24376 wx_cv_STDC_EXT_required=no
24378 echo "$as_me: failed program was:" >&5
24379 sed 's
/^
/| /' conftest.$ac_ext >&5
24381 wx_cv_STDC_EXT_required=yes
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387 ac_cpp='$CPP $CPPFLAGS'
24388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24389 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24395 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24396 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24397 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24398 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24406 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409 old_CPPFLAGS="$CPPFLAGS"
24410 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24411 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24412 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24413 if test "${ac_cv_sys_largefile_source+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 #include <sys/types.h> /* for off_t */
24428 int (*fp) (FILE *, off_t, int) = fseeko;
24429 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24434 rm -f conftest.$ac_objext conftest$ac_exeext
24435 if { (ac_try="$ac_link"
24436 case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24441 (eval "$ac_link") 2>conftest.er1
24443 grep -v '^
*+' conftest.er1 >conftest.err
24445 cat conftest.err >&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } && {
24448 test -z "$ac_cxx_werror_flag" ||
24449 test ! -s conftest.err
24450 } && test -s conftest$ac_exeext &&
24451 $as_test_x conftest$ac_exeext; then
24452 ac_cv_sys_largefile_source=no; break
24454 echo "$as_me: failed program was:" >&5
24455 sed 's
/^
/| /' conftest.$ac_ext >&5
24460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24461 conftest$ac_exeext conftest.$ac_ext
24462 cat >conftest.$ac_ext <<_ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 #define _LARGEFILE_SOURCE 1
24469 #include <sys/types.h> /* for off_t */
24474 int (*fp) (FILE *, off_t, int) = fseeko;
24475 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24480 rm -f conftest.$ac_objext conftest$ac_exeext
24481 if { (ac_try="$ac_link"
24482 case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_link") 2>conftest.er1
24489 grep -v '^
*+' conftest.er1 >conftest.err
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } && {
24494 test -z "$ac_cxx_werror_flag" ||
24495 test ! -s conftest.err
24496 } && test -s conftest$ac_exeext &&
24497 $as_test_x conftest$ac_exeext; then
24498 ac_cv_sys_largefile_source=1; break
24500 echo "$as_me: failed program was:" >&5
24501 sed 's
/^
/| /' conftest.$ac_ext >&5
24506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24507 conftest$ac_exeext conftest.$ac_ext
24508 ac_cv_sys_largefile_source=unknown
24512 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24513 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24514 case $ac_cv_sys_largefile_source in #(
24517 cat >>confdefs.h <<_ACEOF
24518 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24524 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24525 # in glibc 2.1.3, but that breaks too many other things.
24526 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24527 if test $ac_cv_sys_largefile_source != unknown; then
24529 cat >>confdefs.h <<\_ACEOF
24530 #define HAVE_FSEEKO 1
24535 CPPFLAGS="$old_CPPFLAGS"
24537 ac_cpp='$CPP $CPPFLAGS'
24538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24539 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542 if test "$ac_cv_sys_largefile_source" != no; then
24543 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24546 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24547 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24548 if test "${ac_cv_c_bigendian+set}" = set; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 ac_cv_c_bigendian=unknown
24552 # See if sys/param.h defines the BYTE_ORDER macro.
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 || !LITTLE_ENDIAN
24566 bogus endian macros
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 # It does; now see whether it defined to BIG_ENDIAN or not.
24590 cat >conftest.$ac_ext <<_ACEOF
24593 cat confdefs.h >>conftest.$ac_ext
24594 cat >>conftest.$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24596 #include <sys/types.h>
24597 #include <sys/param.h>
24602 #if BYTE_ORDER != BIG_ENDIAN
24609 rm -f conftest.$ac_objext
24610 if { (ac_try="$ac_compile"
24611 case "(($ac_try" in
24612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24613 *) ac_try_echo=$ac_try;;
24615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24616 (eval "$ac_compile") 2>conftest.er1
24618 grep -v '^
*+' conftest.er1 >conftest.err
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } && {
24623 test -z "$ac_c_werror_flag" ||
24624 test ! -s conftest.err
24625 } && test -s conftest.$ac_objext; then
24626 ac_cv_c_bigendian=yes
24628 echo "$as_me: failed program was:" >&5
24629 sed 's
/^
/| /' conftest.$ac_ext >&5
24631 ac_cv_c_bigendian=no
24634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 echo "$as_me: failed program was:" >&5
24637 sed 's
/^
/| /' conftest.$ac_ext >&5
24642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24643 if test $ac_cv_c_bigendian = unknown; then
24644 if test "$cross_compiling" = yes; then
24645 ac_cv_c_bigendian=unknown
24647 cat >conftest.$ac_ext <<_ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24654 /* Are we little or big endian? From Harbison&Steele. */
24658 char c[sizeof (long)];
24661 exit (u.c[sizeof (long) - 1] == 1);
24664 rm -f conftest$ac_exeext
24665 if { (ac_try="$ac_link"
24666 case "(($ac_try" in
24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24668 *) ac_try_echo=$ac_try;;
24670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24671 (eval "$ac_link") 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24675 { (case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_try") 2>&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 ac_cv_c_bigendian=no
24686 echo "$as_me: program exited with status $ac_status" >&5
24687 echo "$as_me: failed program was:" >&5
24688 sed 's
/^
/| /' conftest.$ac_ext >&5
24690 ( exit $ac_status )
24691 ac_cv_c_bigendian=yes
24693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24699 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24700 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24701 if test $ac_cv_c_bigendian = unknown; then
24702 { 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
24703 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;}
24705 if test $ac_cv_c_bigendian = yes; then
24706 cat >>confdefs.h <<\_ACEOF
24707 #define WORDS_BIGENDIAN 1
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24718 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723 for ac_header in iostream
24725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 cat >conftest.$ac_ext <<_ACEOF
24734 cat confdefs.h >>conftest.$ac_ext
24735 cat >>conftest.$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24739 #include <$ac_header>
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24750 grep -v '^
*+' conftest.er1 >conftest.err
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 eval "$as_ac_Header=yes"
24760 echo "$as_me: failed program was:" >&5
24761 sed 's
/^
/| /' conftest.$ac_ext >&5
24763 eval "$as_ac_Header=no"
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24768 ac_res=`eval echo '${'$as_ac_Header'}'`
24769 { echo "$as_me:$LINENO: result: $ac_res" >&5
24770 echo "${ECHO_T}$ac_res" >&6; }
24771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24772 cat >>confdefs.h <<_ACEOF
24773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24781 if test "$ac_cv_header_iostream" = "yes" ; then
24784 cat >>confdefs.h <<\_ACEOF
24785 #define wxUSE_IOSTREAMH 1
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24793 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24800 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24801 if test "${wx_cv_explicit+set}" = set; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24807 ac_cpp='$CXXCPP $CPPFLAGS'
24808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24809 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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) {} };
24832 rm -f conftest.$ac_objext
24833 if { (ac_try="$ac_compile"
24834 case "(($ac_try" in
24835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24836 *) ac_try_echo=$ac_try;;
24838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24839 (eval "$ac_compile") 2>conftest.er1
24841 grep -v '^
*+' conftest.er1 >conftest.err
24843 cat conftest.err >&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); } && {
24846 test -z "$ac_cxx_werror_flag" ||
24847 test ! -s conftest.err
24848 } && test -s conftest.$ac_objext; then
24850 cat >conftest.$ac_ext <<_ACEOF
24853 cat confdefs.h >>conftest.$ac_ext
24854 cat >>conftest.$ac_ext <<_ACEOF
24855 /* end confdefs.h. */
24857 class Foo { public: explicit Foo(int) {} };
24858 static void TakeFoo(const Foo& foo) { }
24871 rm -f conftest.$ac_objext
24872 if { (ac_try="$ac_compile"
24873 case "(($ac_try" in
24874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24875 *) ac_try_echo=$ac_try;;
24877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24878 (eval "$ac_compile") 2>conftest.er1
24880 grep -v '^
*+' conftest.er1 >conftest.err
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } && {
24885 test -z "$ac_cxx_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest.$ac_objext; then
24890 echo "$as_me: failed program was:" >&5
24891 sed 's
/^
/| /' conftest.$ac_ext >&5
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 echo "$as_me: failed program was:" >&5
24901 sed 's
/^
/| /' conftest.$ac_ext >&5
24907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_cpp='$CPP $CPPFLAGS'
24911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24918 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24920 if test "$wx_cv_explicit" = "yes"; then
24921 cat >>confdefs.h <<\_ACEOF
24922 #define HAVE_EXPLICIT 1
24928 if test "x$SUNCXX" = xyes; then
24929 CXXFLAGS="-features=tmplife $CXXFLAGS"
24932 if test "x$SUNCC" = xyes; then
24933 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24936 if test "x$SGICC" = "xyes"; then
24937 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24938 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24939 if test "${wx_cv_prog_sgicc744+set}" = set; then
24940 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 cat >conftest.$ac_ext <<_ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24954 #if _SGI_COMPILER_VERSION >= 744
24955 chock me: mipsPro is 7.4.4 or later
24962 rm -f conftest.$ac_objext
24963 if { (ac_try="$ac_compile"
24964 case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 *) ac_try_echo=$ac_try;;
24968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_compile") 2>conftest.er1
24971 grep -v '^
*+' conftest.er1 >conftest.err
24973 cat conftest.err >&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } && {
24976 test -z "$ac_c_werror_flag" ||
24977 test ! -s conftest.err
24978 } && test -s conftest.$ac_objext; then
24979 wx_cv_prog_sgicc744=no
24981 echo "$as_me: failed program was:" >&5
24982 sed 's
/^
/| /' conftest.$ac_ext >&5
24984 wx_cv_prog_sgicc744=yes
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24992 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24993 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24995 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24996 CFLAGS="-woff 3970 $CFLAGS"
24999 if test "x$SGICXX" = "xyes"; then
25000 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25001 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25002 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25003 echo $ECHO_N "(cached) $ECHO_C" >&6
25007 ac_cpp='$CXXCPP $CPPFLAGS'
25008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25009 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25012 cat >conftest.$ac_ext <<_ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25023 #if _SGI_COMPILER_VERSION >= 744
25024 chock me: mipsPro is 7.4.4 or later
25031 rm -f conftest.$ac_objext
25032 if { (ac_try="$ac_compile"
25033 case "(($ac_try" in
25034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25035 *) ac_try_echo=$ac_try;;
25037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25038 (eval "$ac_compile") 2>conftest.er1
25040 grep -v '^
*+' conftest.er1 >conftest.err
25042 cat conftest.err >&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); } && {
25045 test -z "$ac_cxx_werror_flag" ||
25046 test ! -s conftest.err
25047 } && test -s conftest.$ac_objext; then
25048 wx_cv_prog_sgicxx744=no
25050 echo "$as_me: failed program was:" >&5
25051 sed 's
/^
/| /' conftest.$ac_ext >&5
25053 wx_cv_prog_sgicxx744=yes
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059 ac_cpp='$CPP $CPPFLAGS'
25060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25061 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25067 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25068 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25070 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25071 CXXFLAGS="-woff 3970 $CXXFLAGS"
25075 if test "x$HPCC" = "xyes"; then
25076 CFLAGS="+W 2011,2450 $CFLAGS"
25078 if test "x$HPCXX" = "xyes"; then
25079 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25082 if test "x$COMPAQCXX" = "xyes"; then
25083 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25089 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25093 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25094 if test "$wxUSE_UNICODE" = "yes"; then
25095 std_string="std::wstring"
25096 char_type="wchar_t"
25098 std_string="std::string"
25102 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25103 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25104 if test "${wx_cv_class_stdstring+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 cat >conftest.$ac_ext <<_ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25123 rm -f conftest.$ac_objext
25124 if { (ac_try="$ac_compile"
25125 case "(($ac_try" in
25126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_compile") 2>conftest.er1
25132 grep -v '^
*+' conftest.er1 >conftest.err
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_cxx_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest.$ac_objext; then
25140 wx_cv_class_stdstring=yes
25142 echo "$as_me: failed program was:" >&5
25143 sed 's
/^
/| /' conftest.$ac_ext >&5
25145 wx_cv_class_stdstring=no
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25153 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25154 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25156 if test "$wx_cv_class_stdstring" = yes; then
25157 if test "$wxUSE_UNICODE" = "yes"; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define HAVE_STD_WSTRING 1
25164 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25165 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25166 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 cat >conftest.$ac_ext <<_ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25177 #ifdef HAVE_WCHAR_H
25179 # include <stddef.h>
25181 # include <wchar.h>
25183 #ifdef HAVE_STDLIB_H
25184 # include <stdlib.h>
25192 std::basic_string<$char_type> foo;
25193 const $char_type* dummy = foo.c_str();
25198 rm -f conftest.$ac_objext
25199 if { (ac_try="$ac_compile"
25200 case "(($ac_try" in
25201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25202 *) ac_try_echo=$ac_try;;
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_compile") 2>conftest.er1
25207 grep -v '^
*+' conftest.er1 >conftest.err
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_cxx_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest.$ac_objext; then
25215 wx_cv_class_stdbasicstring=yes
25217 echo "$as_me: failed program was:" >&5
25218 sed 's
/^
/| /' conftest.$ac_ext >&5
25220 wx_cv_class_stdbasicstring=no
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25229 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25231 if test "$wx_cv_class_stdbasicstring" != yes; then
25232 if test "$wxUSE_STL" = "yes"; then
25233 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25234 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25235 { (exit 1); exit 1; }; }
25236 elif test "$wxUSE_STD_STRING" = "yes"; then
25237 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25238 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25239 { (exit 1); exit 1; }; }
25241 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25242 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25243 wxUSE_STD_STRING=no
25249 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25250 { echo "$as_me:$LINENO: checking for std::istream" >&5
25251 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25252 if test "${ac_cv_type_std__istream+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 cat >conftest.$ac_ext <<_ACEOF
25258 cat confdefs.h >>conftest.$ac_ext
25259 cat >>conftest.$ac_ext <<_ACEOF
25260 /* end confdefs.h. */
25261 #include <iostream>
25263 typedef std::istream ac__type_new_;
25267 if ((ac__type_new_ *) 0)
25269 if (sizeof (ac__type_new_))
25275 rm -f conftest.$ac_objext
25276 if { (ac_try="$ac_compile"
25277 case "(($ac_try" in
25278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25279 *) ac_try_echo=$ac_try;;
25281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25282 (eval "$ac_compile") 2>conftest.er1
25284 grep -v '^
*+' conftest.er1 >conftest.err
25286 cat conftest.err >&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); } && {
25289 test -z "$ac_cxx_werror_flag" ||
25290 test ! -s conftest.err
25291 } && test -s conftest.$ac_objext; then
25292 ac_cv_type_std__istream=yes
25294 echo "$as_me: failed program was:" >&5
25295 sed 's
/^
/| /' conftest.$ac_ext >&5
25297 ac_cv_type_std__istream=no
25300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25302 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25303 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25304 if test $ac_cv_type_std__istream = yes; then
25306 cat >>confdefs.h <<_ACEOF
25307 #define HAVE_STD__ISTREAM 1
25312 wxUSE_STD_IOSTREAM=no
25314 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25315 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25316 if test "${ac_cv_type_std__ostream+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 cat >conftest.$ac_ext <<_ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325 #include <iostream>
25327 typedef std::ostream ac__type_new_;
25331 if ((ac__type_new_ *) 0)
25333 if (sizeof (ac__type_new_))
25339 rm -f conftest.$ac_objext
25340 if { (ac_try="$ac_compile"
25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25346 (eval "$ac_compile") 2>conftest.er1
25348 grep -v '^
*+' conftest.er1 >conftest.err
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && {
25353 test -z "$ac_cxx_werror_flag" ||
25354 test ! -s conftest.err
25355 } && test -s conftest.$ac_objext; then
25356 ac_cv_type_std__ostream=yes
25358 echo "$as_me: failed program was:" >&5
25359 sed 's
/^
/| /' conftest.$ac_ext >&5
25361 ac_cv_type_std__ostream=no
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25367 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25368 if test $ac_cv_type_std__ostream = yes; then
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE_STD__OSTREAM 1
25376 wxUSE_STD_IOSTREAM=no
25380 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25381 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25382 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25383 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25384 { (exit 1); exit 1; }; }
25386 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25387 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25392 if test "$wxUSE_STL" = "yes"; then
25393 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25394 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25395 if test "${wx_cv_lib_stl+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 cat >conftest.$ac_ext <<_ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25405 #include <functional>
25406 #include <algorithm>
25412 std::vector<int> moo;
25413 std::list<int> foo;
25414 std::vector<int>::iterator it =
25415 std::find_if(moo.begin(), moo.end(),
25416 std::bind2nd(std::less<int>(), 3));
25421 rm -f conftest.$ac_objext
25422 if { (ac_try="$ac_compile"
25423 case "(($ac_try" in
25424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25425 *) ac_try_echo=$ac_try;;
25427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25428 (eval "$ac_compile") 2>conftest.er1
25430 grep -v '^
*+' conftest.er1 >conftest.err
25432 cat conftest.err >&5
25433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434 (exit $ac_status); } && {
25435 test -z "$ac_cxx_werror_flag" ||
25436 test ! -s conftest.err
25437 } && test -s conftest.$ac_objext; then
25440 echo "$as_me: failed program was:" >&5
25441 sed 's
/^
/| /' conftest.$ac_ext >&5
25447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25450 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25451 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25453 if test "$wx_cv_lib_stl" != yes; then
25454 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25455 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25456 { (exit 1); exit 1; }; }
25459 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25460 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25461 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 cat >conftest.$ac_ext <<_ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25474 std::string foo, bar;
25476 foo.compare(1, 1, bar);
25477 foo.compare(1, 1, bar, 1, 1);
25479 foo.compare(1, 1, "");
25480 foo.compare(1, 1, "", 2);
25485 rm -f conftest.$ac_objext
25486 if { (ac_try="$ac_compile"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_compile") 2>conftest.er1
25494 grep -v '^
*+' conftest.er1 >conftest.err
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_cxx_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest.$ac_objext; then
25502 wx_cv_func_stdstring_compare=yes
25504 echo "$as_me: failed program was:" >&5
25505 sed 's
/^
/| /' conftest.$ac_ext >&5
25507 wx_cv_func_stdstring_compare=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25514 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25515 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25517 if test "$wx_cv_func_stdstring_compare" = yes; then
25518 cat >>confdefs.h <<\_ACEOF
25519 #define HAVE_STD_STRING_COMPARE 1
25524 if test "$wx_cv_class_gnuhashmapset" = yes; then
25525 cat >>confdefs.h <<\_ACEOF
25526 #define HAVE_EXT_HASH_MAP 1
25529 cat >>confdefs.h <<\_ACEOF
25530 #define HAVE_GNU_CXX_HASH_MAP 1
25535 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25536 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25537 if test "${ac_cv_header_unordered_map+set}" = set; then
25538 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 cat >conftest.$ac_ext <<_ACEOF
25543 cat confdefs.h >>conftest.$ac_ext
25544 cat >>conftest.$ac_ext <<_ACEOF
25545 /* end confdefs.h. */
25549 #include <unordered_map>
25551 rm -f conftest.$ac_objext
25552 if { (ac_try="$ac_compile"
25553 case "(($ac_try" in
25554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25555 *) ac_try_echo=$ac_try;;
25557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25558 (eval "$ac_compile") 2>conftest.er1
25560 grep -v '^
*+' conftest.er1 >conftest.err
25562 cat conftest.err >&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); } && {
25565 test -z "$ac_cxx_werror_flag" ||
25566 test ! -s conftest.err
25567 } && test -s conftest.$ac_objext; then
25568 ac_cv_header_unordered_map=yes
25570 echo "$as_me: failed program was:" >&5
25571 sed 's
/^
/| /' conftest.$ac_ext >&5
25573 ac_cv_header_unordered_map=no
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25579 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25580 if test $ac_cv_header_unordered_map = yes; then
25581 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25582 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25583 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 cat >conftest.$ac_ext <<_ACEOF
25589 cat confdefs.h >>conftest.$ac_ext
25590 cat >>conftest.$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 #include <unordered_map>
25593 #include <unordered_set>
25597 std::unordered_map<double*, char*> test1;
25598 std::unordered_set<char*> test2;
25603 rm -f conftest.$ac_objext
25604 if { (ac_try="$ac_compile"
25605 case "(($ac_try" in
25606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607 *) ac_try_echo=$ac_try;;
25609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25610 (eval "$ac_compile") 2>conftest.er1
25612 grep -v '^
*+' conftest.er1 >conftest.err
25614 cat conftest.err >&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } && {
25617 test -z "$ac_cxx_werror_flag" ||
25618 test ! -s conftest.err
25619 } && test -s conftest.$ac_objext; then
25620 wx_cv_class_stdunorderedmapset=yes
25622 echo "$as_me: failed program was:" >&5
25623 sed 's
/^
/| /' conftest.$ac_ext >&5
25625 wx_cv_class_stdunorderedmapset=no
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25632 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25633 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25638 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25639 cat >>confdefs.h <<\_ACEOF
25640 #define HAVE_STD_UNORDERED_MAP 1
25643 cat >>confdefs.h <<\_ACEOF
25644 #define HAVE_STD_UNORDERED_SET 1
25648 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25649 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25650 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25653 cat >conftest.$ac_ext <<_ACEOF
25656 cat confdefs.h >>conftest.$ac_ext
25657 cat >>conftest.$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25662 #include <tr1/unordered_map>
25664 rm -f conftest.$ac_objext
25665 if { (ac_try="$ac_compile"
25666 case "(($ac_try" in
25667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25668 *) ac_try_echo=$ac_try;;
25670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25671 (eval "$ac_compile") 2>conftest.er1
25673 grep -v '^
*+' conftest.er1 >conftest.err
25675 cat conftest.err >&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } && {
25678 test -z "$ac_cxx_werror_flag" ||
25679 test ! -s conftest.err
25680 } && test -s conftest.$ac_objext; then
25681 ac_cv_header_tr1_unordered_map=yes
25683 echo "$as_me: failed program was:" >&5
25684 sed 's
/^
/| /' conftest.$ac_ext >&5
25686 ac_cv_header_tr1_unordered_map=no
25689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25691 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25692 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25693 if test $ac_cv_header_tr1_unordered_map = yes; then
25694 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25695 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25696 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25697 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 cat >conftest.$ac_ext <<_ACEOF
25702 cat confdefs.h >>conftest.$ac_ext
25703 cat >>conftest.$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705 #include <tr1/unordered_map>
25706 #include <tr1/unordered_set>
25710 std::tr1::unordered_map<double*, char*> test1;
25711 std::tr1::unordered_set<char*> test2;
25712 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25713 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25719 rm -f conftest.
$ac_objext
25720 if { (ac_try
="$ac_compile"
25721 case "(($ac_try" in
25722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_compile") 2>conftest.er1
25728 grep -v '^ *+' conftest.er1 >conftest.err
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_cxx_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest.$ac_objext; then
25736 wx_cv_class_tr1unorderedmapset=yes
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25741 wx_cv_class_tr1unorderedmapset=no
25744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25748 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25749 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25754 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25755 cat >>confdefs.h <<\_ACEOF
25756 #define HAVE_TR1_UNORDERED_MAP 1
25759 cat >>confdefs.h <<\_ACEOF
25760 #define HAVE_TR1_UNORDERED_SET 1
25764 { echo "$as_me:$LINENO: checking for hash_map" >&5
25765 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25766 if test "${ac_cv_header_hash_map+set}" = set; then
25767 echo $ECHO_N "(cached) $ECHO_C" >&6
25769 cat >conftest.$ac_ext <<_ACEOF
25772 cat confdefs.h >>conftest.$ac_ext
25773 cat >>conftest.$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25778 #include <hash_map>
25780 rm -f conftest.$ac_objext
25781 if { (ac_try="$ac_compile"
25782 case "(($ac_try" in
25783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25784 *) ac_try_echo
=$ac_try;;
25786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787 (eval "$ac_compile") 2>conftest.er1
25789 grep -v '^ *+' conftest.er1
>conftest.err
25791 cat conftest.err
>&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } && {
25794 test -z "$ac_cxx_werror_flag" ||
25795 test ! -s conftest.err
25796 } && test -s conftest.
$ac_objext; then
25797 ac_cv_header_hash_map
=yes
25799 echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.
$ac_ext >&5
25802 ac_cv_header_hash_map
=no
25805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25807 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25808 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25809 if test $ac_cv_header_hash_map = yes; then
25810 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25811 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25812 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25813 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 cat >conftest.
$ac_ext <<_ACEOF
25818 cat confdefs.h
>>conftest.
$ac_ext
25819 cat >>conftest.
$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25821 #include <hash_map>
25822 #include <hash_set>
25826 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25827 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25832 rm -f conftest.
$ac_objext
25833 if { (ac_try
="$ac_compile"
25834 case "(($ac_try" in
25835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25836 *) ac_try_echo=$ac_try;;
25838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25839 (eval "$ac_compile") 2>conftest.er1
25841 grep -v '^ *+' conftest.er1 >conftest.err
25843 cat conftest.err >&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } && {
25846 test -z "$ac_cxx_werror_flag" ||
25847 test ! -s conftest.err
25848 } && test -s conftest.$ac_objext; then
25849 wx_cv_class_stdhashmapset=yes
25851 echo "$as_me: failed program was:" >&5
25852 sed 's/^/| /' conftest.$ac_ext >&5
25854 wx_cv_class_stdhashmapset=no
25857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25861 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25862 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25867 if test "$wx_cv_class_stdhashmapset" = yes; then
25868 cat >>confdefs.h <<\_ACEOF
25869 #define HAVE_HASH_MAP 1
25872 cat >>confdefs.h <<\_ACEOF
25873 #define HAVE_STD_HASH_MAP 1
25878 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25879 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25880 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 cat >conftest.$ac_ext <<_ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25892 #include <ext/hash_map>
25894 rm -f conftest.$ac_objext
25895 if { (ac_try="$ac_compile"
25896 case "(($ac_try" in
25897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25898 *) ac_try_echo
=$ac_try;;
25900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25901 (eval "$ac_compile") 2>conftest.er1
25903 grep -v '^ *+' conftest.er1
>conftest.err
25905 cat conftest.err
>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } && {
25908 test -z "$ac_cxx_werror_flag" ||
25909 test ! -s conftest.err
25910 } && test -s conftest.
$ac_objext; then
25911 ac_cv_header_ext_hash_map
=yes
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.
$ac_ext >&5
25916 ac_cv_header_ext_hash_map
=no
25919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25921 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25922 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25923 if test $ac_cv_header_ext_hash_map = yes; then
25924 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25925 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25926 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25927 echo $ECHO_N "(cached) $ECHO_C" >&6
25929 cat >conftest.
$ac_ext <<_ACEOF
25932 cat confdefs.h
>>conftest.
$ac_ext
25933 cat >>conftest.
$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935 #include <ext/hash_map>
25936 #include <ext/hash_set>
25940 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25941 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25946 rm -f conftest.
$ac_objext
25947 if { (ac_try
="$ac_compile"
25948 case "(($ac_try" in
25949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25950 *) ac_try_echo=$ac_try;;
25952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25953 (eval "$ac_compile") 2>conftest.er1
25955 grep -v '^ *+' conftest.er1 >conftest.err
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } && {
25960 test -z "$ac_cxx_werror_flag" ||
25961 test ! -s conftest.err
25962 } && test -s conftest.$ac_objext; then
25963 wx_cv_class_gnuhashmapset=yes
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 wx_cv_class_gnuhashmapset=no
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25975 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25976 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25986 ac_cpp='$CXXCPP $CPPFLAGS'
25987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25990 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25991 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25992 if test -z "$CXXCPP"; then
25993 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 # Double quotes because CXXCPP needs to be expanded
25997 for CXXCPP in "$CXX -E" "/lib/cpp"
25999 ac_preproc_ok=false
26000 for ac_cxx_preproc_warn_flag in '' yes
26002 # Use a header file that comes with gcc, so configuring glibc
26003 # with a fresh cross-compiler works.
26004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26005 # <limits.h> exists even on freestanding compilers.
26006 # On the NeXT, cc -E runs the code through the compiler's parser,
26007 # not just through cpp. "Syntax error" is here to catch this case.
26008 cat >conftest.$ac_ext <<_ACEOF
26011 cat confdefs.h >>conftest.$ac_ext
26012 cat >>conftest.$ac_ext <<_ACEOF
26013 /* end confdefs.h. */
26015 # include <limits.h>
26017 # include <assert.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
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.
$ac_ext >&5
26042 # Broken: fails on valid input.
26046 rm -f conftest.err conftest.
$ac_ext
26048 # OK, works on sane cases. Now check whether nonexistent headers
26049 # can be detected and how.
26050 cat >conftest.
$ac_ext <<_ACEOF
26053 cat confdefs.h
>>conftest.
$ac_ext
26054 cat >>conftest.
$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26056 #include <ac_nonexistent.h>
26058 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26059 case "(($ac_try" in
26060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26061 *) ac_try_echo=$ac_try;;
26063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26066 grep -v '^ *+' conftest.er1 >conftest.err
26068 cat conftest.err >&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); } >/dev/null && {
26071 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26072 test ! -s conftest.err
26074 # Broken: success on invalid input.
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.$ac_ext >&5
26080 # Passes both tests.
26085 rm -f conftest.err conftest.$ac_ext
26088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26089 rm -f conftest.err conftest.
$ac_ext
26090 if $ac_preproc_ok; then
26095 ac_cv_prog_CXXCPP
=$CXXCPP
26098 CXXCPP
=$ac_cv_prog_CXXCPP
26100 ac_cv_prog_CXXCPP
=$CXXCPP
26102 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26103 echo "${ECHO_T}$CXXCPP" >&6; }
26104 ac_preproc_ok
=false
26105 for ac_cxx_preproc_warn_flag
in '' yes
26107 # Use a header file that comes with gcc, so configuring glibc
26108 # with a fresh cross-compiler works.
26109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26110 # <limits.h> exists even on freestanding compilers.
26111 # On the NeXT, cc -E runs the code through the compiler's parser,
26112 # not just through cpp. "Syntax error" is here to catch this case.
26113 cat >conftest.
$ac_ext <<_ACEOF
26116 cat confdefs.h
>>conftest.
$ac_ext
26117 cat >>conftest.
$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26120 # include <limits.h>
26122 # include <assert.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
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26147 # Broken: fails on valid input.
26151 rm -f conftest.err conftest.$ac_ext
26153 # OK, works on sane cases. Now check whether nonexistent headers
26154 # can be detected and how.
26155 cat >conftest.$ac_ext <<_ACEOF
26158 cat confdefs.h >>conftest.$ac_ext
26159 cat >>conftest.$ac_ext <<_ACEOF
26160 /* end confdefs.h. */
26161 #include <ac_nonexistent.h>
26163 if { (ac_try="$ac_cpp conftest.$ac_ext"
26164 case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26166 *) ac_try_echo
=$ac_try;;
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26171 grep -v '^ *+' conftest.er1
>conftest.err
26173 cat conftest.err
>&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } >/dev
/null
&& {
26176 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26177 test ! -s conftest.err
26179 # Broken: success on invalid input.
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 # Passes both tests.
26190 rm -f conftest.err conftest.
$ac_ext
26193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26194 rm -f conftest.err conftest.
$ac_ext
26195 if $ac_preproc_ok; then
26198 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26199 See \`config.log' for more details." >&5
26200 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26201 See \`config.log' for more details." >&2;}
26202 { (exit 1); exit 1; }; }
26206 ac_cpp
='$CXXCPP $CPPFLAGS'
26207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26214 for ac_header
in type_traits tr
1/type_traits
26216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26217 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26220 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 ac_res
=`eval echo '${'$as_ac_Header'}'`
26224 { echo "$as_me:$LINENO: result: $ac_res" >&5
26225 echo "${ECHO_T}$ac_res" >&6; }
26227 # Is the header compilable?
26228 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26230 cat >conftest.
$ac_ext <<_ACEOF
26233 cat confdefs.h
>>conftest.
$ac_ext
26234 cat >>conftest.
$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236 $ac_includes_default
26237 #include <$ac_header>
26239 rm -f conftest.
$ac_objext
26240 if { (ac_try
="$ac_compile"
26241 case "(($ac_try" in
26242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26243 *) ac_try_echo=$ac_try;;
26245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26246 (eval "$ac_compile") 2>conftest.er1
26248 grep -v '^ *+' conftest.er1 >conftest.err
26250 cat conftest.err >&5
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); } && {
26253 test -z "$ac_cxx_werror_flag" ||
26254 test ! -s conftest.err
26255 } && test -s conftest.$ac_objext; then
26256 ac_header_compiler=yes
26258 echo "$as_me: failed program was:" >&5
26259 sed 's/^/| /' conftest.$ac_ext >&5
26261 ac_header_compiler=no
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26266 echo "${ECHO_T}$ac_header_compiler" >&6; }
26268 # Is the header present?
26269 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26271 cat >conftest.$ac_ext <<_ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <$ac_header>
26279 if { (ac_try="$ac_cpp conftest.$ac_ext"
26280 case "(($ac_try" in
26281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26282 *) ac_try_echo
=$ac_try;;
26284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26287 grep -v '^ *+' conftest.er1
>conftest.err
26289 cat conftest.err
>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } >/dev
/null
&& {
26292 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26293 test ! -s conftest.err
26295 ac_header_preproc
=yes
26297 echo "$as_me: failed program was:" >&5
26298 sed 's/^/| /' conftest.
$ac_ext >&5
26300 ac_header_preproc
=no
26303 rm -f conftest.err conftest.
$ac_ext
26304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26305 echo "${ECHO_T}$ac_header_preproc" >&6; }
26307 # So? What about this header?
26308 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26314 ac_header_preproc
=yes
26317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26330 ## ----------------------------------------- ##
26331 ## Report this to wx-dev@lists.wxwidgets.org ##
26332 ## ----------------------------------------- ##
26334 ) | sed "s/^/$as_me: WARNING: /" >&2
26337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26339 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 eval "$as_ac_Header=\$ac_header_preproc"
26344 ac_res
=`eval echo '${'$as_ac_Header'}'`
26345 { echo "$as_me:$LINENO: result: $ac_res" >&5
26346 echo "${ECHO_T}$ac_res" >&6; }
26349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26350 cat >>confdefs.h
<<_ACEOF
26351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26361 if test -n "$GCC"; then
26362 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26363 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26364 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 cat >conftest.
$ac_ext <<_ACEOF
26371 cat confdefs.h
>>conftest.
$ac_ext
26372 cat >>conftest.
$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26379 unsigned int value=0;
26380 /* wxAtomicInc doesn't use return value here */
26381 __sync_fetch_and_add(&value, 2);
26382 __sync_sub_and_fetch(&value, 1);
26383 /* but wxAtomicDec does, so mimic that: */
26384 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext
26391 if { (ac_try
="$ac_link"
26392 case "(($ac_try" in
26393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_link") 2>conftest.er1
26399 grep -v '^ *+' conftest.er1 >conftest.err
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_cxx_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest$ac_exeext &&
26407 $as_test_x conftest$ac_exeext; then
26408 wx_cv_cc_gcc_atomic_builtins=yes
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 wx_cv_cc_gcc_atomic_builtins=no
26416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26417 conftest$ac_exeext conftest.$ac_ext
26421 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26422 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26423 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define HAVE_GCC_ATOMIC_BUILTINS 1
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26441 /usr/local/include \
26442 /usr/local/X11/include \
26443 /usr/local/include/X11 \
26444 /usr/local/X11R7/include \
26445 /usr/local/X11R6/include \
26446 /usr/local/include/X11R7 \
26447 /usr/local/include/X11R6 \
26449 /usr/Motif-2.1/include \
26450 /usr/Motif-1.2/include \
26451 /usr/include/Motif1.2 \
26454 /usr/openwin/include \
26458 /usr/X11R7/include \
26459 /usr/X11R6/include \
26460 /usr/X11R6.4/include \
26462 /usr/include/X11R7 \
26463 /usr/include/X11R6 \
26468 /usr/XFree86/include/X11 \
26471 /usr/local/X1R5/include \
26472 /usr/local/include/X11R5 \
26473 /usr/X11R5/include \
26474 /usr/include/X11R5 \
26476 /usr/local/X11R4/include \
26477 /usr/local/include/X11R4 \
26478 /usr/X11R4/include \
26479 /usr/include/X11R4 \
26481 /usr/openwin/share/include"
26483 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26484 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26488 if test "${wx_cv_std_libpath+set}" = set; then
26489 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26493 for e in a so sl dylib dll.a; do
26495 if test -f $libc; then
26498 cat >conftest.$ac_ext <<_ACEOF
26499 int main() { return 0; }
26501 rm -f conftest.$ac_objext conftest$ac_exeext
26502 if { (ac_try="$ac_link"
26503 case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26505 *) ac_try_echo
=$ac_try;;
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_link") 2>conftest.er1
26510 grep -v '^ *+' conftest.er1
>conftest.err
26512 cat conftest.err
>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } && {
26515 test -z "$ac_c_werror_flag" ||
26516 test ! -s conftest.err
26517 } && test -s conftest
$ac_exeext &&
26518 $as_test_x conftest
$ac_exeext; then
26519 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.
$ac_ext >&5
26527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26528 conftest
$ac_exeext conftest.
$ac_ext
26530 if test "x$wx_cv_std_libpath" != "x"; then
26536 if test "x$wx_cv_std_libpath" = "x"; then
26537 wx_cv_std_libpath
="lib"
26546 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26547 wx_cv_std_libpath
="lib/64"
26549 wx_cv_std_libpath
="lib"
26554 if test "$ac_cv_sizeof_void_p" = 8 -a \
26555 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26556 wx_cv_std_libpath
="lib64"
26558 wx_cv_std_libpath
="lib"
26563 wx_cv_std_libpath
="lib";
26567 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26568 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26570 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26572 if test "$build" != "$host" -a "$GCC" = yes; then
26573 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26574 cross_root
=`dirname $cross_root`
26575 cross_root
=`dirname $cross_root`
26577 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26578 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26579 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26581 if test -z "$PKG_CONFIG_PATH"; then
26582 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26583 export PKG_CONFIG_PATH
26586 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26589 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26591 if test -f "$ac_dir/X11/Intrinsic.h"; then
26592 ac_find_includes
=$ac_dir
26597 x_includes
=$ac_find_includes
26599 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26602 for ac_dir
in $SEARCH_LIB;
26604 for ac_extension
in a so sl dylib dll.a
; do
26605 if test -f "$ac_dir/libXt.$ac_extension"; then
26606 ac_find_libraries
=$ac_dir
26612 x_libraries
=$ac_find_libraries
26618 cat >confcache
<<\_ACEOF
26619 # This file is a shell script that caches the results of configure
26620 # tests run on this system so they can be shared between configure
26621 # scripts and configure runs, see configure's option --config-cache.
26622 # It is not useful on other systems. If it contains results you don't
26623 # want to keep, you may remove or edit it.
26625 # config.status only pays attention to the cache file if you give it
26626 # the --recheck option to rerun configure.
26628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26630 # following values.
26634 # The following way of writing the cache mishandles newlines in values,
26635 # but we know of no workaround that is simple, portable, and efficient.
26636 # So, we kill variables containing newlines.
26637 # Ultrix sh set writes to stderr and can't be redirected directly,
26638 # and sets the high bit in the cache file unless we assign to the vars.
26640 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26641 eval ac_val
=\$
$ac_var
26645 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26646 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26649 _
| IFS
| as_nl
) ;; #(
26650 *) $as_unset $ac_var ;;
26656 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26657 *${as_nl}ac_space
=\
*)
26658 # `set' does not quote correctly, so add quotes (double-quote
26659 # substitution turns \\\\ into \\, and sed turns \\ into \).
26662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26665 # `set' quotes correctly as required by POSIX, so do not add quotes.
26666 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26675 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26677 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26679 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26680 if test -w "$cache_file"; then
26681 test "x$cache_file" != "x/dev/null" &&
26682 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26683 echo "$as_me: updating cache $cache_file" >&6;}
26684 cat confcache
>$cache_file
26686 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26687 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26692 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26693 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26694 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26695 if test "${wx_cv_lib_glibc21+set}" = set; then
26696 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 cat >conftest.
$ac_ext <<_ACEOF
26702 cat confdefs.h
>>conftest.
$ac_ext
26703 cat >>conftest.
$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26705 #include <features.h>
26710 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26718 rm -f conftest.
$ac_objext
26719 if { (ac_try
="$ac_compile"
26720 case "(($ac_try" in
26721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26722 *) ac_try_echo=$ac_try;;
26724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26725 (eval "$ac_compile") 2>conftest.er1
26727 grep -v '^ *+' conftest.er1 >conftest.err
26729 cat conftest.err >&5
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); } && {
26732 test -z "$ac_c_werror_flag" ||
26733 test ! -s conftest.err
26734 } && test -s conftest.$ac_objext; then
26736 wx_cv_lib_glibc21=yes
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26743 wx_cv_lib_glibc21=no
26748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26752 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26753 if test "$wx_cv_lib_glibc21" = "yes"; then
26754 cat >>confdefs.h <<\_ACEOF
26755 #define wxHAVE_GLIBC2 1
26761 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26762 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26763 cat >>confdefs.h <<\_ACEOF
26764 #define _GNU_SOURCE 1
26775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26779 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 cat >conftest.$ac_ext <<_ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26789 #define $ac_func innocuous_$ac_func
26791 /* System header to define __stub macros and hopefully few prototypes,
26792 which can conflict with char $ac_func (); below.
26793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26794 <limits.h> exists even on freestanding compilers. */
26797 # include <limits.h>
26799 # include <assert.h>
26804 /* Override any GCC internal prototype to avoid an error.
26805 Use char because int might match the return type of a GCC
26806 builtin and then its argument prototype would still apply. */
26811 /* The GNU C library defines this for functions which it implements
26812 to always fail with ENOSYS. Some functions are actually named
26813 something starting with __ and the normal name is an alias. */
26814 #if defined __stub_$ac_func || defined __stub___$ac_func
26821 return $ac_func ();
26826 rm -f conftest.$ac_objext conftest$ac_exeext
26827 if { (ac_try="$ac_link"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26830 *) ac_try_echo
=$ac_try;;
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_link") 2>conftest.er1
26835 grep -v '^ *+' conftest.er1
>conftest.err
26837 cat conftest.err
>&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_c_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest
$ac_exeext &&
26843 $as_test_x conftest
$ac_exeext; then
26844 eval "$as_ac_var=yes"
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.
$ac_ext >&5
26849 eval "$as_ac_var=no"
26852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26853 conftest
$ac_exeext conftest.
$ac_ext
26855 ac_res
=`eval echo '${'$as_ac_var'}'`
26856 { echo "$as_me:$LINENO: result: $ac_res" >&5
26857 echo "${ECHO_T}$ac_res" >&6; }
26858 if test `eval echo '${'$as_ac_var'}'` = yes; then
26859 cat >>confdefs.h
<<_ACEOF
26860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26867 for ac_func
in floor
26869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26872 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 cat >conftest.
$ac_ext <<_ACEOF
26878 cat confdefs.h
>>conftest.
$ac_ext
26879 cat >>conftest.
$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26883 #define $ac_func innocuous_$ac_func
26885 /* System header to define __stub macros and hopefully few prototypes,
26886 which can conflict with char $ac_func (); below.
26887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26888 <limits.h> exists even on freestanding compilers. */
26891 # include <limits.h>
26893 # include <assert.h>
26898 /* Override any GCC internal prototype to avoid an error.
26899 Use char because int might match the return type of a GCC
26900 builtin and then its argument prototype would still apply. */
26905 /* The GNU C library defines this for functions which it implements
26906 to always fail with ENOSYS. Some functions are actually named
26907 something starting with __ and the normal name is an alias. */
26908 #if defined __stub_$ac_func || defined __stub___$ac_func
26915 return $ac_func ();
26920 rm -f conftest.
$ac_objext conftest
$ac_exeext
26921 if { (ac_try
="$ac_link"
26922 case "(($ac_try" in
26923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_link") 2>conftest.er1
26929 grep -v '^ *+' conftest.er1 >conftest.err
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } && {
26934 test -z "$ac_c_werror_flag" ||
26935 test ! -s conftest.err
26936 } && test -s conftest$ac_exeext &&
26937 $as_test_x conftest$ac_exeext; then
26938 eval "$as_ac_var=yes"
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26943 eval "$as_ac_var=no"
26946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26947 conftest$ac_exeext conftest.$ac_ext
26949 ac_res=`eval echo '${'$as_ac_var'}'`
26950 { echo "$as_me:$LINENO: result: $ac_res" >&5
26951 echo "${ECHO_T}$ac_res" >&6; }
26952 if test `eval echo '${'$as_ac_var'}'` = yes; then
26953 cat >>confdefs.h <<_ACEOF
26954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26960 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26961 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26962 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26963 { echo "$as_me:$LINENO: result: yes" >&5
26964 echo "${ECHO_T}yes" >&6; }
26966 { echo "$as_me:$LINENO: result: no" >&5
26967 echo "${ECHO_T}no" >&6; }
26969 # use different functions to avoid configure caching
26975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26979 echo $ECHO_N "(cached) $ECHO_C" >&6
26981 cat >conftest.$ac_ext <<_ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26989 #define $ac_func innocuous_$ac_func
26991 /* System header to define __stub macros and hopefully few prototypes,
26992 which can conflict with char $ac_func (); below.
26993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26994 <limits.h> exists even on freestanding compilers. */
26997 # include <limits.h>
26999 # include <assert.h>
27004 /* Override any GCC internal prototype to avoid an error.
27005 Use char because int might match the return type of a GCC
27006 builtin and then its argument prototype would still apply. */
27011 /* The GNU C library defines this for functions which it implements
27012 to always fail with ENOSYS. Some functions are actually named
27013 something starting with __ and the normal name is an alias. */
27014 #if defined __stub_$ac_func || defined __stub___$ac_func
27021 return $ac_func ();
27026 rm -f conftest.$ac_objext conftest$ac_exeext
27027 if { (ac_try="$ac_link"
27028 case "(($ac_try" in
27029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27030 *) ac_try_echo
=$ac_try;;
27032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27033 (eval "$ac_link") 2>conftest.er1
27035 grep -v '^ *+' conftest.er1
>conftest.err
27037 cat conftest.err
>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } && {
27040 test -z "$ac_c_werror_flag" ||
27041 test ! -s conftest.err
27042 } && test -s conftest
$ac_exeext &&
27043 $as_test_x conftest
$ac_exeext; then
27044 eval "$as_ac_var=yes"
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 eval "$as_ac_var=no"
27052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27053 conftest
$ac_exeext conftest.
$ac_ext
27055 ac_res
=`eval echo '${'$as_ac_var'}'`
27056 { echo "$as_me:$LINENO: result: $ac_res" >&5
27057 echo "${ECHO_T}$ac_res" >&6; }
27058 if test `eval echo '${'$as_ac_var'}'` = yes; then
27059 cat >>confdefs.h
<<_ACEOF
27060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27067 for ac_func
in ceil
27069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27072 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 cat >conftest.
$ac_ext <<_ACEOF
27078 cat confdefs.h
>>conftest.
$ac_ext
27079 cat >>conftest.
$ac_ext <<_ACEOF
27080 /* end confdefs.h. */
27081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27083 #define $ac_func innocuous_$ac_func
27085 /* System header to define __stub macros and hopefully few prototypes,
27086 which can conflict with char $ac_func (); below.
27087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27088 <limits.h> exists even on freestanding compilers. */
27091 # include <limits.h>
27093 # include <assert.h>
27098 /* Override any GCC internal prototype to avoid an error.
27099 Use char because int might match the return type of a GCC
27100 builtin and then its argument prototype would still apply. */
27105 /* The GNU C library defines this for functions which it implements
27106 to always fail with ENOSYS. Some functions are actually named
27107 something starting with __ and the normal name is an alias. */
27108 #if defined __stub_$ac_func || defined __stub___$ac_func
27115 return $ac_func ();
27120 rm -f conftest.
$ac_objext conftest
$ac_exeext
27121 if { (ac_try
="$ac_link"
27122 case "(($ac_try" in
27123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27124 *) ac_try_echo=$ac_try;;
27126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27127 (eval "$ac_link") 2>conftest.er1
27129 grep -v '^ *+' conftest.er1 >conftest.err
27131 cat conftest.err >&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); } && {
27134 test -z "$ac_c_werror_flag" ||
27135 test ! -s conftest.err
27136 } && test -s conftest$ac_exeext &&
27137 $as_test_x conftest$ac_exeext; then
27138 eval "$as_ac_var=yes"
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27143 eval "$as_ac_var=no"
27146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27147 conftest$ac_exeext conftest.$ac_ext
27149 ac_res=`eval echo '${'$as_ac_var'}'`
27150 { echo "$as_me:$LINENO: result: $ac_res" >&5
27151 echo "${ECHO_T}$ac_res" >&6; }
27152 if test `eval echo '${'$as_ac_var'}'` = yes; then
27153 cat >>confdefs.h <<_ACEOF
27154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27160 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27161 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27162 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27163 { echo "$as_me:$LINENO: result: yes" >&5
27164 echo "${ECHO_T}yes" >&6; }
27166 { echo "$as_me:$LINENO: result: no" >&5
27167 echo "${ECHO_T}no" >&6; }
27168 # not sure we should warn the user, crash, etc.
27173 ac_cpp='$CXXCPP $CPPFLAGS'
27174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27178 if test "wxUSE_UNICODE" = "yes"; then
27180 for wx_func in wcstoull
27182 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27183 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27184 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27185 echo $ECHO_N "(cached) $ECHO_C" >&6
27188 cat >conftest.$ac_ext <<_ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27197 $ac_includes_default
27213 rm -f conftest.$ac_objext conftest$ac_exeext
27214 if { (ac_try="$ac_link"
27215 case "(($ac_try" in
27216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27217 *) ac_try_echo
=$ac_try;;
27219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27220 (eval "$ac_link") 2>conftest.er1
27222 grep -v '^ *+' conftest.er1
>conftest.err
27224 cat conftest.err
>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); } && {
27227 test -z "$ac_cxx_werror_flag" ||
27228 test ! -s conftest.err
27229 } && test -s conftest
$ac_exeext &&
27230 $as_test_x conftest
$ac_exeext; then
27231 eval wx_cv_func_
$wx_func=yes
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 eval wx_cv_func_
$wx_func=no
27239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27240 conftest
$ac_exeext conftest.
$ac_ext
27243 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27244 { echo "$as_me:$LINENO: result: $ac_res" >&5
27245 echo "${ECHO_T}$ac_res" >&6; }
27247 if eval test \
$wx_cv_func_$wx_func = yes
27249 cat >>confdefs.h
<<_ACEOF
27250 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27262 for wx_func
in strtoull
27264 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27265 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27266 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27267 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 cat >conftest.
$ac_ext <<_ACEOF
27274 cat confdefs.h
>>conftest.
$ac_ext
27275 cat >>conftest.
$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27279 $ac_includes_default
27295 rm -f conftest.
$ac_objext conftest
$ac_exeext
27296 if { (ac_try
="$ac_link"
27297 case "(($ac_try" in
27298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_link") 2>conftest.er1
27304 grep -v '^ *+' conftest.er1 >conftest.err
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_cxx_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest$ac_exeext &&
27312 $as_test_x conftest$ac_exeext; then
27313 eval wx_cv_func_$wx_func=yes
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.$ac_ext >&5
27318 eval wx_cv_func_$wx_func=no
27321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27322 conftest$ac_exeext conftest.$ac_ext
27325 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27326 { echo "$as_me:$LINENO: result: $ac_res" >&5
27327 echo "${ECHO_T}$ac_res" >&6; }
27329 if eval test \$wx_cv_func_$wx_func = yes
27331 cat >>confdefs.h <<_ACEOF
27332 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27344 ac_cpp='$CPP $CPPFLAGS'
27345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352 if test "$wxUSE_REGEX" != "no"; then
27353 cat >>confdefs.h <<\_ACEOF
27354 #define wxUSE_REGEX 1
27358 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27359 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27360 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27361 wxUSE_REGEX=builtin
27364 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27365 { echo "$as_me:$LINENO: checking for regex.h" >&5
27366 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27367 if test "${ac_cv_header_regex_h+set}" = set; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 cat >conftest.$ac_ext <<_ACEOF
27373 cat confdefs.h >>conftest.$ac_ext
27374 cat >>conftest.$ac_ext <<_ACEOF
27375 /* end confdefs.h. */
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27384 *) ac_try_echo
=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27389 grep -v '^ *+' conftest.er1
>conftest.err
27391 cat conftest.err
>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_c_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.
$ac_objext; then
27397 ac_cv_header_regex_h
=yes
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.
$ac_ext >&5
27402 ac_cv_header_regex_h
=no
27405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27407 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27408 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27409 if test $ac_cv_header_regex_h = yes; then
27412 for ac_func
in regcomp re_search
27414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27417 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 cat >conftest.
$ac_ext <<_ACEOF
27423 cat confdefs.h
>>conftest.
$ac_ext
27424 cat >>conftest.
$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27428 #define $ac_func innocuous_$ac_func
27430 /* System header to define __stub macros and hopefully few prototypes,
27431 which can conflict with char $ac_func (); below.
27432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27433 <limits.h> exists even on freestanding compilers. */
27436 # include <limits.h>
27438 # include <assert.h>
27443 /* Override any GCC internal prototype to avoid an error.
27444 Use char because int might match the return type of a GCC
27445 builtin and then its argument prototype would still apply. */
27450 /* The GNU C library defines this for functions which it implements
27451 to always fail with ENOSYS. Some functions are actually named
27452 something starting with __ and the normal name is an alias. */
27453 #if defined __stub_$ac_func || defined __stub___$ac_func
27460 return $ac_func ();
27465 rm -f conftest.
$ac_objext conftest
$ac_exeext
27466 if { (ac_try
="$ac_link"
27467 case "(($ac_try" in
27468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27469 *) ac_try_echo=$ac_try;;
27471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_link") 2>conftest.er1
27474 grep -v '^ *+' conftest.er1 >conftest.err
27476 cat conftest.err >&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } && {
27479 test -z "$ac_c_werror_flag" ||
27480 test ! -s conftest.err
27481 } && test -s conftest$ac_exeext &&
27482 $as_test_x conftest$ac_exeext; then
27483 eval "$as_ac_var=yes"
27485 echo "$as_me: failed program was:" >&5
27486 sed 's/^/| /' conftest.$ac_ext >&5
27488 eval "$as_ac_var=no"
27491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27492 conftest$ac_exeext conftest.$ac_ext
27494 ac_res=`eval echo '${'$as_ac_var'}'`
27495 { echo "$as_me:$LINENO: result: $ac_res" >&5
27496 echo "${ECHO_T}$ac_res" >&6; }
27497 if test `eval echo '${'$as_ac_var'}'` = yes; then
27498 cat >>confdefs.h <<_ACEOF
27499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27509 if test "x$ac_cv_func_regcomp" != "xyes"; then
27510 if test "$wxUSE_REGEX" = "sys" ; then
27511 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27512 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27513 { (exit 1); exit 1; }; }
27515 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27516 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27517 wxUSE_REGEX=builtin
27521 cat >>confdefs.h <<\_ACEOF
27522 #define WX_NO_REGEX_ADVANCED 1
27531 if test "$wxUSE_ZLIB" != "no" ; then
27532 cat >>confdefs.h <<\_ACEOF
27533 #define wxUSE_ZLIB 1
27537 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27538 if test "$USE_DARWIN" = 1; then
27539 system_zlib_h_ok="yes"
27541 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27542 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27543 if test "${ac_cv_header_zlib_h+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 if test "$cross_compiling" = yes; then
27547 unset ac_cv_header_zlib_h
27550 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27562 FILE *f=fopen("conftestval", "w");
27565 ZLIB_VERSION[0] == '1' &&
27566 (ZLIB_VERSION[2] > '1' ||
27567 (ZLIB_VERSION[2] == '1' &&
27568 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27573 rm -f conftest$ac_exeext
27574 if { (ac_try="$ac_link"
27575 case "(($ac_try" in
27576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27577 *) ac_try_echo
=$ac_try;;
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_link") 2>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27584 { (case "(($ac_try" in
27585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27586 *) ac_try_echo=$ac_try;;
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_try") 2>&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); }; }; then
27593 ac_cv_header_zlib_h=`cat conftestval
`
27595 echo "$as_me: program exited with status $ac_status" >&5
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27599 ( exit $ac_status )
27600 ac_cv_header_zlib_h=no
27602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27608 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27609 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27610 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27611 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27612 if test "${ac_cv_header_zlib_h+set}" = set; then
27613 echo $ECHO_N "(cached) $ECHO_C" >&6
27615 cat >conftest.$ac_ext <<_ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27625 rm -f conftest.$ac_objext
27626 if { (ac_try="$ac_compile"
27627 case "(($ac_try" in
27628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27629 *) ac_try_echo
=$ac_try;;
27631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27632 (eval "$ac_compile") 2>conftest.er1
27634 grep -v '^ *+' conftest.er1
>conftest.err
27636 cat conftest.err
>&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); } && {
27639 test -z "$ac_c_werror_flag" ||
27640 test ! -s conftest.err
27641 } && test -s conftest.
$ac_objext; then
27642 ac_cv_header_zlib_h
=yes
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.
$ac_ext >&5
27647 ac_cv_header_zlib_h
=no
27650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27652 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27653 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27657 system_zlib_h_ok
=$ac_cv_header_zlib_h
27660 if test "$system_zlib_h_ok" = "yes"; then
27661 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27662 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27663 if test "${ac_cv_lib_z_deflate+set}" = set; then
27664 echo $ECHO_N "(cached) $ECHO_C" >&6
27666 ac_check_lib_save_LIBS
=$LIBS
27668 cat >conftest.
$ac_ext <<_ACEOF
27671 cat confdefs.h
>>conftest.
$ac_ext
27672 cat >>conftest.
$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27675 /* Override any GCC internal prototype to avoid an error.
27676 Use char because int might match the return type of a GCC
27677 builtin and then its argument prototype would still apply. */
27690 rm -f conftest.
$ac_objext conftest
$ac_exeext
27691 if { (ac_try
="$ac_link"
27692 case "(($ac_try" in
27693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27694 *) ac_try_echo=$ac_try;;
27696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27697 (eval "$ac_link") 2>conftest.er1
27699 grep -v '^ *+' conftest.er1 >conftest.err
27701 cat conftest.err >&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } && {
27704 test -z "$ac_c_werror_flag" ||
27705 test ! -s conftest.err
27706 } && test -s conftest$ac_exeext &&
27707 $as_test_x conftest$ac_exeext; then
27708 ac_cv_lib_z_deflate=yes
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.$ac_ext >&5
27713 ac_cv_lib_z_deflate=no
27716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27717 conftest$ac_exeext conftest.$ac_ext
27718 LIBS=$ac_check_lib_save_LIBS
27720 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27721 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27722 if test $ac_cv_lib_z_deflate = yes; then
27728 if test "x$ZLIB_LINK" = "x" ; then
27729 if test "$wxUSE_ZLIB" = "sys" ; then
27730 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27731 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27732 { (exit 1); exit 1; }; }
27734 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27735 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27746 if test "$wxUSE_LIBPNG" != "no" ; then
27747 cat >>confdefs.h <<\_ACEOF
27748 #define wxUSE_LIBPNG 1
27752 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27753 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27754 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27758 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27759 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27760 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27761 wxUSE_LIBPNG=builtin
27764 if test "$wxUSE_MGL" != 1 ; then
27765 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27766 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27767 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27768 if test "${ac_cv_header_png_h+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 if test "$cross_compiling" = yes; then
27772 unset ac_cv_header_png_h
27775 cat >conftest.$ac_ext <<_ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27787 FILE *f=fopen("conftestval", "w");
27790 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27795 rm -f conftest$ac_exeext
27796 if { (ac_try="$ac_link"
27797 case "(($ac_try" in
27798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27799 *) ac_try_echo
=$ac_try;;
27801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27802 (eval "$ac_link") 2>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27806 { (case "(($ac_try" in
27807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_try") 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 ac_cv_header_png_h=`cat conftestval
`
27817 echo "$as_me: program exited with status $ac_status" >&5
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27821 ( exit $ac_status )
27822 ac_cv_header_png_h=no
27824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27830 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27831 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27832 { echo "$as_me:$LINENO: checking for png.h" >&5
27833 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27834 if test "${ac_cv_header_png_h+set}" = set; then
27835 echo $ECHO_N "(cached) $ECHO_C" >&6
27837 cat >conftest.$ac_ext <<_ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27847 rm -f conftest.$ac_objext
27848 if { (ac_try="$ac_compile"
27849 case "(($ac_try" in
27850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27851 *) ac_try_echo
=$ac_try;;
27853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854 (eval "$ac_compile") 2>conftest.er1
27856 grep -v '^ *+' conftest.er1
>conftest.err
27858 cat conftest.err
>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } && {
27861 test -z "$ac_c_werror_flag" ||
27862 test ! -s conftest.err
27863 } && test -s conftest.
$ac_objext; then
27864 ac_cv_header_png_h
=yes
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.
$ac_ext >&5
27869 ac_cv_header_png_h
=no
27872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27874 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27875 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27879 if test "$ac_cv_header_png_h" = "yes"; then
27880 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27881 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27882 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 ac_check_lib_save_LIBS
=$LIBS
27886 LIBS
="-lpng -lz -lm $LIBS"
27887 cat >conftest.
$ac_ext <<_ACEOF
27890 cat confdefs.h
>>conftest.
$ac_ext
27891 cat >>conftest.
$ac_ext <<_ACEOF
27892 /* end confdefs.h. */
27894 /* Override any GCC internal prototype to avoid an error.
27895 Use char because int might match the return type of a GCC
27896 builtin and then its argument prototype would still apply. */
27900 char png_sig_cmp ();
27904 return png_sig_cmp ();
27909 rm -f conftest.
$ac_objext conftest
$ac_exeext
27910 if { (ac_try
="$ac_link"
27911 case "(($ac_try" in
27912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27913 *) ac_try_echo=$ac_try;;
27915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27916 (eval "$ac_link") 2>conftest.er1
27918 grep -v '^ *+' conftest.er1 >conftest.err
27920 cat conftest.err >&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } && {
27923 test -z "$ac_c_werror_flag" ||
27924 test ! -s conftest.err
27925 } && test -s conftest$ac_exeext &&
27926 $as_test_x conftest$ac_exeext; then
27927 ac_cv_lib_png_png_sig_cmp=yes
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27932 ac_cv_lib_png_png_sig_cmp=no
27935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27936 conftest$ac_exeext conftest.$ac_ext
27937 LIBS=$ac_check_lib_save_LIBS
27939 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27940 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27941 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27942 PNG_LINK=" -lpng -lz"
27947 if test "x$PNG_LINK" = "x" ; then
27948 if test "$wxUSE_LIBPNG" = "sys" ; then
27949 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27950 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27951 { (exit 1); exit 1; }; }
27953 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27954 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27955 wxUSE_LIBPNG=builtin
27966 if test "$wxUSE_LIBJPEG" != "no" ; then
27967 cat >>confdefs.h <<\_ACEOF
27968 #define wxUSE_LIBJPEG 1
27972 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27973 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27974 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27978 if test "$wxUSE_MGL" != 1 ; then
27979 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27980 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27981 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27982 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27983 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 cat >conftest.$ac_ext <<_ACEOF
27988 cat confdefs.h >>conftest.$ac_ext
27989 cat >>conftest.$ac_ext <<_ACEOF
27990 /* end confdefs.h. */
27992 #undef HAVE_STDLIB_H
27994 #include <jpeglib.h>
28005 rm -f conftest.$ac_objext
28006 if { (ac_try="$ac_compile"
28007 case "(($ac_try" in
28008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28009 *) ac_try_echo
=$ac_try;;
28011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28012 (eval "$ac_compile") 2>conftest.er1
28014 grep -v '^ *+' conftest.er1
>conftest.err
28016 cat conftest.err
>&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } && {
28019 test -z "$ac_c_werror_flag" ||
28020 test ! -s conftest.err
28021 } && test -s conftest.
$ac_objext; then
28022 ac_cv_header_jpeglib_h
=yes
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.
$ac_ext >&5
28027 ac_cv_header_jpeglib_h
=no
28031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28035 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28036 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28038 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28039 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28040 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28041 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 ac_check_lib_save_LIBS
=$LIBS
28045 LIBS
="-ljpeg $LIBS"
28046 cat >conftest.
$ac_ext <<_ACEOF
28049 cat confdefs.h
>>conftest.
$ac_ext
28050 cat >>conftest.
$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28053 /* Override any GCC internal prototype to avoid an error.
28054 Use char because int might match the return type of a GCC
28055 builtin and then its argument prototype would still apply. */
28059 char jpeg_read_header ();
28063 return jpeg_read_header ();
28068 rm -f conftest.
$ac_objext conftest
$ac_exeext
28069 if { (ac_try
="$ac_link"
28070 case "(($ac_try" in
28071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_link") 2>conftest.er1
28077 grep -v '^ *+' conftest.er1 >conftest.err
28079 cat conftest.err >&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); } && {
28082 test -z "$ac_c_werror_flag" ||
28083 test ! -s conftest.err
28084 } && test -s conftest$ac_exeext &&
28085 $as_test_x conftest$ac_exeext; then
28086 ac_cv_lib_jpeg_jpeg_read_header=yes
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28091 ac_cv_lib_jpeg_jpeg_read_header=no
28094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28095 conftest$ac_exeext conftest.$ac_ext
28096 LIBS=$ac_check_lib_save_LIBS
28098 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28099 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28100 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28101 JPEG_LINK=" -ljpeg"
28106 if test "x$JPEG_LINK" = "x" ; then
28107 if test "$wxUSE_LIBJPEG" = "sys" ; then
28108 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28109 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28110 { (exit 1); exit 1; }; }
28112 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28113 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28114 wxUSE_LIBJPEG=builtin
28119 if test "$wxUSE_MSW" = 1; then
28120 { echo "$as_me:$LINENO: checking for boolean" >&5
28121 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28122 if test "${ac_cv_type_boolean+set}" = set; then
28123 echo $ECHO_N "(cached) $ECHO_C" >&6
28125 cat >conftest.$ac_ext <<_ACEOF
28128 cat confdefs.h >>conftest.$ac_ext
28129 cat >>conftest.$ac_ext <<_ACEOF
28130 /* end confdefs.h. */
28131 #include <windows.h>
28133 typedef boolean ac__type_new_;
28137 if ((ac__type_new_ *) 0)
28139 if (sizeof (ac__type_new_))
28145 rm -f conftest.$ac_objext
28146 if { (ac_try="$ac_compile"
28147 case "(($ac_try" in
28148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28149 *) ac_try_echo
=$ac_try;;
28151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28152 (eval "$ac_compile") 2>conftest.er1
28154 grep -v '^ *+' conftest.er1
>conftest.err
28156 cat conftest.err
>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); } && {
28159 test -z "$ac_c_werror_flag" ||
28160 test ! -s conftest.err
28161 } && test -s conftest.
$ac_objext; then
28162 ac_cv_type_boolean
=yes
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.
$ac_ext >&5
28167 ac_cv_type_boolean
=no
28170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28172 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28173 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28174 if test $ac_cv_type_boolean = yes; then
28176 cat >>confdefs.h
<<_ACEOF
28177 #define HAVE_BOOLEAN 1
28181 { echo "$as_me:$LINENO: checking for boolean" >&5
28182 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28183 if test "${ac_cv_type_boolean+set}" = set; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28186 cat >conftest.
$ac_ext <<_ACEOF
28189 cat confdefs.h
>>conftest.
$ac_ext
28190 cat >>conftest.
$ac_ext <<_ACEOF
28191 /* end confdefs.h. */
28193 #undef HAVE_BOOLEAN
28195 #include <jpeglib.h>
28198 typedef boolean ac__type_new_;
28202 if ((ac__type_new_ *) 0)
28204 if (sizeof (ac__type_new_))
28210 rm -f conftest.
$ac_objext
28211 if { (ac_try
="$ac_compile"
28212 case "(($ac_try" in
28213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_compile") 2>conftest.er1
28219 grep -v '^ *+' conftest.er1 >conftest.err
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest.$ac_objext; then
28227 ac_cv_type_boolean=yes
28229 echo "$as_me: failed program was:" >&5
28230 sed 's/^/| /' conftest.$ac_ext >&5
28232 ac_cv_type_boolean=no
28235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28237 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28238 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28240 # The cast to long int works around a bug in the HP C Compiler
28241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28242 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28243 # This bug is HP SR number 8606223364.
28244 { echo "$as_me:$LINENO: checking size of boolean" >&5
28245 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28246 if test "${ac_cv_sizeof_boolean+set}" = set; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 if test "$cross_compiling" = yes; then
28250 # Depending upon the size, compute the lo and hi bounds.
28251 cat >conftest.$ac_ext <<_ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28258 #undef HAVE_BOOLEAN
28260 #include <jpeglib.h>
28263 typedef boolean ac__type_sizeof_;
28267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28274 rm -f conftest.$ac_objext
28275 if { (ac_try="$ac_compile"
28276 case "(($ac_try" in
28277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28278 *) ac_try_echo=$ac_try;;
28280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28281 (eval "$ac_compile") 2>conftest.er1
28283 grep -v '^
*+' conftest.er1 >conftest.err
28285 cat conftest.err >&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); } && {
28288 test -z "$ac_c_werror_flag" ||
28289 test ! -s conftest.err
28290 } && test -s conftest.$ac_objext; then
28293 cat >conftest.$ac_ext <<_ACEOF
28296 cat confdefs.h >>conftest.$ac_ext
28297 cat >>conftest.$ac_ext <<_ACEOF
28298 /* end confdefs.h. */
28300 #undef HAVE_BOOLEAN
28302 #include <jpeglib.h>
28305 typedef boolean ac__type_sizeof_;
28309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28316 rm -f conftest.$ac_objext
28317 if { (ac_try="$ac_compile"
28318 case "(($ac_try" in
28319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28320 *) ac_try_echo=$ac_try;;
28322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28323 (eval "$ac_compile") 2>conftest.er1
28325 grep -v '^
*+' conftest.er1 >conftest.err
28327 cat conftest.err >&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); } && {
28330 test -z "$ac_c_werror_flag" ||
28331 test ! -s conftest.err
28332 } && test -s conftest.$ac_objext; then
28333 ac_hi=$ac_mid; break
28335 echo "$as_me: failed program was:" >&5
28336 sed 's
/^
/| /' conftest.$ac_ext >&5
28338 ac_lo=`expr $ac_mid + 1`
28339 if test $ac_lo -le $ac_mid; then
28343 ac_mid=`expr 2 '*' $ac_mid + 1`
28346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 echo "$as_me: failed program was:" >&5
28350 sed 's
/^
/| /' conftest.$ac_ext >&5
28352 cat >conftest.$ac_ext <<_ACEOF
28355 cat confdefs.h >>conftest.$ac_ext
28356 cat >>conftest.$ac_ext <<_ACEOF
28357 /* end confdefs.h. */
28359 #undef HAVE_BOOLEAN
28361 #include <jpeglib.h>
28364 typedef boolean ac__type_sizeof_;
28368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28375 rm -f conftest.$ac_objext
28376 if { (ac_try="$ac_compile"
28377 case "(($ac_try" in
28378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_compile") 2>conftest.er1
28384 grep -v '^
*+' conftest.er1 >conftest.err
28386 cat conftest.err >&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); } && {
28389 test -z "$ac_c_werror_flag" ||
28390 test ! -s conftest.err
28391 } && test -s conftest.$ac_objext; then
28394 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28401 #undef HAVE_BOOLEAN
28403 #include <jpeglib.h>
28406 typedef boolean ac__type_sizeof_;
28410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28417 rm -f conftest.$ac_objext
28418 if { (ac_try="$ac_compile"
28419 case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_compile") 2>conftest.er1
28426 grep -v '^
*+' conftest.er1 >conftest.err
28428 cat conftest.err >&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && {
28431 test -z "$ac_c_werror_flag" ||
28432 test ! -s conftest.err
28433 } && test -s conftest.$ac_objext; then
28434 ac_lo=$ac_mid; break
28436 echo "$as_me: failed program was:" >&5
28437 sed 's
/^
/| /' conftest.$ac_ext >&5
28439 ac_hi=`expr '(' $ac_mid ')' - 1`
28440 if test $ac_mid -le $ac_hi; then
28444 ac_mid=`expr 2 '*' $ac_mid`
28447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450 echo "$as_me: failed program was:" >&5
28451 sed 's
/^
/| /' conftest.$ac_ext >&5
28456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28460 # Binary search between lo and hi bounds.
28461 while test "x$ac_lo" != "x$ac_hi"; do
28462 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28463 cat >conftest.$ac_ext <<_ACEOF
28466 cat confdefs.h >>conftest.$ac_ext
28467 cat >>conftest.$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28470 #undef HAVE_BOOLEAN
28472 #include <jpeglib.h>
28475 typedef boolean ac__type_sizeof_;
28479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28486 rm -f conftest.$ac_objext
28487 if { (ac_try="$ac_compile"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_compile") 2>conftest.er1
28495 grep -v '^
*+' conftest.er1 >conftest.err
28497 cat conftest.err >&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); } && {
28500 test -z "$ac_c_werror_flag" ||
28501 test ! -s conftest.err
28502 } && test -s conftest.$ac_objext; then
28505 echo "$as_me: failed program was:" >&5
28506 sed 's
/^
/| /' conftest.$ac_ext >&5
28508 ac_lo=`expr '(' $ac_mid ')' + 1`
28511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28515 '') if test "$ac_cv_type_boolean" = yes; then
28516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28517 See \`config.log' for more details.
" >&5
28518 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28519 See \
`config.log' for more details." >&2;}
28520 { (exit 77); exit 77; }; }
28522 ac_cv_sizeof_boolean=0
28526 cat >conftest.$ac_ext <<_ACEOF
28529 cat confdefs.h >>conftest.$ac_ext
28530 cat >>conftest.$ac_ext <<_ACEOF
28531 /* end confdefs.h. */
28533 #undef HAVE_BOOLEAN
28535 #include <jpeglib.h>
28538 typedef boolean ac__type_sizeof_;
28539 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28540 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28542 #include <stdlib.h>
28547 FILE *f = fopen ("conftest.val", "w");
28550 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28552 long int i = longval ();
28553 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28555 fprintf (f, "%ld\n", i);
28559 unsigned long int i = ulongval ();
28560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28562 fprintf (f, "%lu\n", i);
28564 return ferror (f) || fclose (f) != 0;
28570 rm -f conftest$ac_exeext
28571 if { (ac_try="$ac_link"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28574 *) ac_try_echo
=$ac_try;;
28576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_link") 2>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28581 { (case "(($ac_try" in
28582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28583 *) ac_try_echo=$ac_try;;
28585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28586 (eval "$ac_try") 2>&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; }; then
28590 ac_cv_sizeof_boolean=`cat conftest.val
`
28592 echo "$as_me: program exited with status $ac_status" >&5
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.$ac_ext >&5
28596 ( exit $ac_status )
28597 if test "$ac_cv_type_boolean" = yes; then
28598 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28599 See \`config.log
' for more details." >&5
28600 echo "$as_me: error: cannot compute sizeof (boolean)
28601 See \`config.log' for more details.
" >&2;}
28602 { (exit 77); exit 77; }; }
28604 ac_cv_sizeof_boolean=0
28607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28611 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28612 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28616 cat >>confdefs.h <<_ACEOF
28617 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28621 cat >>confdefs.h <<_ACEOF
28622 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28636 TIFF_PREREQ_LINKS=-lm
28637 if test "$wxUSE_LIBTIFF" != "no
" ; then
28638 cat >>confdefs.h <<\_ACEOF
28639 #define wxUSE_LIBTIFF 1
28643 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28644 if test "$wxUSE_LIBJPEG" = "sys
"; then
28645 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28647 if test "$wxUSE_ZLIB" = "sys
"; then
28648 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28650 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28651 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28652 if test "${ac_cv_header_tiffio_h+set}" = set; then
28653 echo $ECHO_N "(cached
) $ECHO_C" >&6
28655 cat >conftest.$ac_ext <<_ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28664 #include <tiffio.h>
28666 rm -f conftest.$ac_objext
28667 if { (ac_try="$ac_compile"
28668 case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_compile") 2>conftest.er1
28675 grep -v '^ *+' conftest.er1 >conftest.err
28677 cat conftest.err >&5
28678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28679 (exit $ac_status); } && {
28680 test -z "$ac_c_werror_flag" ||
28681 test ! -s conftest.err
28682 } && test -s conftest.$ac_objext; then
28683 ac_cv_header_tiffio_h=yes
28685 echo "$as_me: failed program was
:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 ac_cv_header_tiffio_h=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28693 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28694 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28695 if test $ac_cv_header_tiffio_h = yes; then
28697 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28698 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28699 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28700 echo $ECHO_N "(cached
) $ECHO_C" >&6
28702 ac_check_lib_save_LIBS=$LIBS
28703 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28704 cat >conftest.$ac_ext <<_ACEOF
28707 cat confdefs.h >>conftest.$ac_ext
28708 cat >>conftest.$ac_ext <<_ACEOF
28709 /* end confdefs.h. */
28711 /* Override any GCC internal prototype to avoid an error.
28712 Use char because int might match the return type of a GCC
28713 builtin and then its argument prototype would still apply. */
28721 return TIFFError ();
28726 rm -f conftest.$ac_objext conftest$ac_exeext
28727 if { (ac_try="$ac_link"
28728 case "(($ac_try" in
28729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28730 *) ac_try_echo=$ac_try;;
28732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28733 (eval "$ac_link") 2>conftest.er1
28735 grep -v '^ *+' conftest.er1 >conftest.err
28737 cat conftest.err >&5
28738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28739 (exit $ac_status); } && {
28740 test -z "$ac_c_werror_flag" ||
28741 test ! -s conftest.err
28742 } && test -s conftest$ac_exeext &&
28743 $as_test_x conftest$ac_exeext; then
28744 ac_cv_lib_tiff_TIFFError=yes
28746 echo "$as_me: failed program was
:" >&5
28747 sed 's/^/| /' conftest.$ac_ext >&5
28749 ac_cv_lib_tiff_TIFFError=no
28752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28753 conftest$ac_exeext conftest.$ac_ext
28754 LIBS=$ac_check_lib_save_LIBS
28756 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28757 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28758 if test $ac_cv_lib_tiff_TIFFError = yes; then
28759 TIFF_LINK=" -ltiff"
28767 if test "x
$TIFF_LINK" = "x
" ; then
28768 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28769 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28770 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28771 { (exit 1); exit 1; }; }
28773 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28774 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28775 wxUSE_LIBTIFF=builtin
28781 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28782 if test "$wxUSE_LIBJPEG" = "no
"; then
28783 ac_configure_args="$ac_configure_args --disable-jpeg"
28785 subdirs="$subdirs src
/tiff
"
28791 if test "$wxUSE_WCHAR_T" != "yes"; then
28792 if test "$wxUSE_EXPAT" != "no
"; then
28793 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28794 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28797 if test "$wxUSE_XML" != "no
"; then
28798 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28799 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28804 if test "$wxUSE_EXPAT" != "no
"; then
28806 cat >>confdefs.h <<\_ACEOF
28807 #define wxUSE_EXPAT 1
28810 cat >>confdefs.h <<\_ACEOF
28811 #define wxUSE_XML 1
28815 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28816 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28817 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28818 if test "${ac_cv_header_expat_h+set}" = set; then
28819 echo $ECHO_N "(cached
) $ECHO_C" >&6
28821 cat >conftest.$ac_ext <<_ACEOF
28824 cat confdefs.h >>conftest.$ac_ext
28825 cat >>conftest.$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28831 rm -f conftest.$ac_objext
28832 if { (ac_try="$ac_compile"
28833 case "(($ac_try" in
28834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28835 *) ac_try_echo=$ac_try;;
28837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28838 (eval "$ac_compile") 2>conftest.er1
28840 grep -v '^ *+' conftest.er1 >conftest.err
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28844 (exit $ac_status); } && {
28845 test -z "$ac_c_werror_flag" ||
28846 test ! -s conftest.err
28847 } && test -s conftest.$ac_objext; then
28848 ac_cv_header_expat_h=yes
28850 echo "$as_me: failed program was
:" >&5
28851 sed 's/^/| /' conftest.$ac_ext >&5
28853 ac_cv_header_expat_h=no
28856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28858 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28859 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28860 if test $ac_cv_header_expat_h = yes; then
28865 if test "x
$found_expat_h" = "x1
"; then
28866 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28867 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28868 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28869 echo $ECHO_N "(cached
) $ECHO_C" >&6
28873 ac_cpp='$CXXCPP $CPPFLAGS'
28874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28878 cat >conftest.$ac_ext <<_ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28893 rm -f conftest.$ac_objext
28894 if { (ac_try="$ac_compile"
28895 case "(($ac_try" in
28896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_compile") 2>conftest.er1
28902 grep -v '^ *+' conftest.er1 >conftest.err
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28906 (exit $ac_status); } && {
28907 test -z "$ac_cxx_werror_flag" ||
28908 test ! -s conftest.err
28909 } && test -s conftest.$ac_objext; then
28910 wx_cv_expat_is_not_broken=yes
28912 echo "$as_me: failed program was
:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28915 wx_cv_expat_is_not_broken=no
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28929 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28930 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28931 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28932 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28933 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28934 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28935 echo $ECHO_N "(cached
) $ECHO_C" >&6
28937 ac_check_lib_save_LIBS=$LIBS
28938 LIBS="-lexpat $LIBS"
28939 cat >conftest.$ac_ext <<_ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28946 /* Override any GCC internal prototype to avoid an error.
28947 Use char because int might match the return type of a GCC
28948 builtin and then its argument prototype would still apply. */
28952 char XML_ParserCreate ();
28956 return XML_ParserCreate ();
28961 rm -f conftest.$ac_objext conftest$ac_exeext
28962 if { (ac_try="$ac_link"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_link") 2>conftest.er1
28970 grep -v '^ *+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest$ac_exeext &&
28978 $as_test_x conftest$ac_exeext; then
28979 ac_cv_lib_expat_XML_ParserCreate=yes
28981 echo "$as_me: failed program was
:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 ac_cv_lib_expat_XML_ParserCreate=no
28987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28992 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28993 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28994 EXPAT_LINK=" -lexpat"
28999 if test "x
$EXPAT_LINK" = "x
" ; then
29000 if test "$wxUSE_EXPAT" = "sys
" ; then
29001 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29002 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29003 { (exit 1); exit 1; }; }
29005 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29006 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29007 wxUSE_EXPAT=builtin
29013 if test "$wxUSE_EXPAT" = "builtin" ; then
29014 subdirs="$subdirs src
/expat
"
29021 if test "$wxUSE_LIBMSPACK" != "no
"; then
29022 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29023 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29024 if test "${ac_cv_header_mspack_h+set}" = set; then
29025 echo $ECHO_N "(cached
) $ECHO_C" >&6
29027 cat >conftest.$ac_ext <<_ACEOF
29030 cat confdefs.h >>conftest.$ac_ext
29031 cat >>conftest.$ac_ext <<_ACEOF
29032 /* end confdefs.h. */
29035 #include <mspack.h>
29037 rm -f conftest.$ac_objext
29038 if { (ac_try="$ac_compile"
29039 case "(($ac_try" in
29040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29041 *) ac_try_echo=$ac_try;;
29043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29044 (eval "$ac_compile") 2>conftest.er1
29046 grep -v '^ *+' conftest.er1 >conftest.err
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29050 (exit $ac_status); } && {
29051 test -z "$ac_c_werror_flag" ||
29052 test ! -s conftest.err
29053 } && test -s conftest.$ac_objext; then
29054 ac_cv_header_mspack_h=yes
29056 echo "$as_me: failed program was
:" >&5
29057 sed 's/^/| /' conftest.$ac_ext >&5
29059 ac_cv_header_mspack_h=no
29062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29064 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29065 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29066 if test $ac_cv_header_mspack_h = yes; then
29071 if test "x
$found_mspack_h" = "x1
"; then
29072 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29073 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29074 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29075 echo $ECHO_N "(cached
) $ECHO_C" >&6
29077 ac_check_lib_save_LIBS=$LIBS
29078 LIBS="-lmspack $LIBS"
29079 cat >conftest.$ac_ext <<_ACEOF
29082 cat confdefs.h >>conftest.$ac_ext
29083 cat >>conftest.$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29086 /* Override any GCC internal prototype to avoid an error.
29087 Use char because int might match the return type of a GCC
29088 builtin and then its argument prototype would still apply. */
29092 char mspack_create_chm_decompressor ();
29096 return mspack_create_chm_decompressor ();
29101 rm -f conftest.$ac_objext conftest$ac_exeext
29102 if { (ac_try="$ac_link"
29103 case "(($ac_try" in
29104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29105 *) ac_try_echo=$ac_try;;
29107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29108 (eval "$ac_link") 2>conftest.er1
29110 grep -v '^ *+' conftest.er1 >conftest.err
29112 cat conftest.err >&5
29113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29114 (exit $ac_status); } && {
29115 test -z "$ac_c_werror_flag" ||
29116 test ! -s conftest.err
29117 } && test -s conftest$ac_exeext &&
29118 $as_test_x conftest$ac_exeext; then
29119 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29121 echo "$as_me: failed program was
:" >&5
29122 sed 's/^/| /' conftest.$ac_ext >&5
29124 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29128 conftest$ac_exeext conftest.$ac_ext
29129 LIBS=$ac_check_lib_save_LIBS
29131 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29132 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29133 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29134 MSPACK_LINK=" -lmspack"
29138 if test "x
$MSPACK_LINK" = "x
" ; then
29143 if test "$wxUSE_LIBMSPACK" != "no
"; then
29144 cat >>confdefs.h <<\_ACEOF
29145 #define wxUSE_LIBMSPACK 1
29159 if test "$USE_WIN32" = 1 ; then
29161 for ac_header in w32api.h
29163 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29164 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29165 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29166 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29167 echo $ECHO_N "(cached
) $ECHO_C" >&6
29169 cat >conftest.$ac_ext <<_ACEOF
29172 cat confdefs.h >>conftest.$ac_ext
29173 cat >>conftest.$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29177 #include <$ac_header>
29179 rm -f conftest.$ac_objext
29180 if { (ac_try="$ac_compile"
29181 case "(($ac_try" in
29182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29183 *) ac_try_echo=$ac_try;;
29185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29186 (eval "$ac_compile") 2>conftest.er1
29188 grep -v '^ *+' conftest.er1 >conftest.err
29190 cat conftest.err >&5
29191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29192 (exit $ac_status); } && {
29193 test -z "$ac_c_werror_flag" ||
29194 test ! -s conftest.err
29195 } && test -s conftest.$ac_objext; then
29196 eval "$as_ac_Header=yes"
29198 echo "$as_me: failed program was
:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29201 eval "$as_ac_Header=no
"
29204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_res=`eval echo '${'$as_ac_Header'}'`
29207 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29208 echo "${ECHO_T}$ac_res" >&6; }
29209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29210 cat >>confdefs.h <<_ACEOF
29211 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29218 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29219 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29220 if test "${ac_cv_header_windows_h+set}" = set; then
29221 echo $ECHO_N "(cached
) $ECHO_C" >&6
29223 cat >conftest.$ac_ext <<_ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29231 #include <windows.h>
29233 rm -f conftest.$ac_objext
29234 if { (ac_try="$ac_compile"
29235 case "(($ac_try" in
29236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29237 *) ac_try_echo=$ac_try;;
29239 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29240 (eval "$ac_compile") 2>conftest.er1
29242 grep -v '^ *+' conftest.er1 >conftest.err
29244 cat conftest.err >&5
29245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29246 (exit $ac_status); } && {
29247 test -z "$ac_c_werror_flag" ||
29248 test ! -s conftest.err
29249 } && test -s conftest.$ac_objext; then
29250 ac_cv_header_windows_h=yes
29252 echo "$as_me: failed program was
:" >&5
29253 sed 's/^/| /' conftest.$ac_ext >&5
29255 ac_cv_header_windows_h=no
29258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29260 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29261 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29262 if test $ac_cv_header_windows_h = yes; then
29266 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29267 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29268 { (exit 1); exit 1; }; }
29274 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29276 x86_64-*-mingw32* )
29277 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29280 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29281 LIBS="$LIBS -loleacc"
29286 LIBS="$LIBS -lkernel32 -luser32"
29289 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29290 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29292 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29294 WIN32INSTALL=win32install
29296 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29297 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29298 if test "${ac_cv_header_pbt_h+set}" = set; then
29299 echo $ECHO_N "(cached
) $ECHO_C" >&6
29301 cat >conftest.$ac_ext <<_ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29311 rm -f conftest.$ac_objext
29312 if { (ac_try="$ac_compile"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_compile") 2>conftest.er1
29320 grep -v '^ *+' conftest.er1 >conftest.err
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest.$ac_objext; then
29328 ac_cv_header_pbt_h=yes
29330 echo "$as_me: failed program was
:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29333 ac_cv_header_pbt_h=no
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29338 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29339 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29340 if test $ac_cv_header_pbt_h = yes; then
29343 cat >>confdefs.h <<\_ACEOF
29344 #define NEED_PBT_H 1
29352 if test "$wxUSE_GUI" = "yes"; then
29362 if test "$wxUSE_OLD_COCOA" = 1 ; then
29363 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29364 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29365 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29366 wxUSE_PRINTING_ARCHITECTURE=no
29368 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29369 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29370 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29371 wxUSE_DRAG_AND_DROP=no
29373 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29374 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29375 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29380 if test "$wxUSE_MSW" = 1 ; then
29386 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29390 if test "$wxUSE_GTK" = 1; then
29391 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29392 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29394 gtk_version_cached=1
29395 if test "${wx_cv_lib_gtk+set}" = set; then
29396 echo $ECHO_N "(cached
) $ECHO_C" >&6
29399 gtk_version_cached=0
29400 { echo "$as_me:$LINENO: result
: " >&5
29401 echo "${ECHO_T}" >&6; }
29404 if test "$wxUSE_THREADS" = "yes"; then
29405 GTK_MODULES=gthread
29409 if test "x
$wxGTK_VERSION" != "x1
"
29413 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29418 # Check whether --enable-gtktest was given.
29419 if test "${enable_gtktest+set}" = set; then
29420 enableval=$enable_gtktest;
29426 pkg_config_args=gtk+-2.0
29427 for module in . $GTK_MODULES
29431 pkg_config_args="$pkg_config_args gthread
-2.0
"
29438 # Extract the first word of "pkg
-config", so it can be a program name with args.
29439 set dummy pkg-config; ac_word=$2
29440 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29441 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29443 echo $ECHO_N "(cached
) $ECHO_C" >&6
29445 case $PKG_CONFIG in
29447 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29451 for as_dir in $PATH
29454 test -z "$as_dir" && as_dir=.
29455 for ac_exec_ext in '' $ac_executable_extensions; do
29456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29457 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29458 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29465 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29469 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29470 if test -n "$PKG_CONFIG"; then
29471 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29472 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29474 { echo "$as_me:$LINENO: result
: no
" >&5
29475 echo "${ECHO_T}no
" >&6; }
29480 if test x$PKG_CONFIG != xno ; then
29481 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29484 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29492 min_gtk_version=2.4.0
29493 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29494 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29496 if test x$PKG_CONFIG != xno ; then
29497 ## don't try to run the test against uninstalled libtool libs
29498 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29499 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29503 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29510 if test x"$no_gtk" = x ; then
29511 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29512 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29513 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29515 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29517 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29519 if test "x
$enable_gtktest" = "xyes
" ; then
29520 ac_save_CFLAGS="$CFLAGS"
29521 ac_save_LIBS="$LIBS"
29522 CFLAGS="$CFLAGS $GTK_CFLAGS"
29523 LIBS="$GTK_LIBS $LIBS"
29525 if test "$cross_compiling" = yes; then
29526 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29528 cat >conftest.$ac_ext <<_ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29535 #include <gtk/gtk.h>
29537 #include <stdlib.h>
29542 int major, minor, micro;
29545 system ("touch conf.gtktest
");
29547 /* HP/UX 9 (%@#!) writes to sscanf strings */
29548 tmp_version = g_strdup("$min_gtk_version");
29549 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29550 printf("%s
, bad version string
\n", "$min_gtk_version");
29554 if ((gtk_major_version != $gtk_config_major_version) ||
29555 (gtk_minor_version != $gtk_config_minor_version) ||
29556 (gtk_micro_version != $gtk_config_micro_version))
29558 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29559 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29560 gtk_major_version, gtk_minor_version, gtk_micro_version);
29561 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29562 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29563 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29564 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29565 printf("*** required on your system.
\n");
29566 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29567 printf("*** to point to the correct configuration files
\n");
29569 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29570 (gtk_minor_version != GTK_MINOR_VERSION) ||
29571 (gtk_micro_version != GTK_MICRO_VERSION))
29573 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29574 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29575 printf("*** library
(version
%d.
%d.
%d
)\n",
29576 gtk_major_version, gtk_minor_version, gtk_micro_version);
29580 if ((gtk_major_version > major) ||
29581 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29582 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29588 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29589 gtk_major_version, gtk_minor_version, gtk_micro_version);
29590 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29591 major, minor, micro);
29592 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29594 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29595 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29596 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29597 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29598 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29599 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29600 printf("*** so that the correct libraries are found
at run
-time))\n");
29607 rm -f conftest$ac_exeext
29608 if { (ac_try="$ac_link"
29609 case "(($ac_try" in
29610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29611 *) ac_try_echo=$ac_try;;
29613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29614 (eval "$ac_link") 2>&5
29616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29618 { (case "(($ac_try" in
29619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29620 *) ac_try_echo=$ac_try;;
29622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_try") 2>&5
29625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29626 (exit $ac_status); }; }; then
29629 echo "$as_me: program exited with status
$ac_status" >&5
29630 echo "$as_me: failed program was
:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29633 ( exit $ac_status )
29636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29640 CFLAGS="$ac_save_CFLAGS"
29641 LIBS="$ac_save_LIBS"
29644 if test "x
$no_gtk" = x ; then
29645 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29646 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29649 { echo "$as_me:$LINENO: result
: no
" >&5
29650 echo "${ECHO_T}no
" >&6; }
29651 if test "$PKG_CONFIG" = "no
" ; then
29652 echo "*** A new enough version of pkg
-config was not found.
"
29653 echo "*** See http
://pkgconfig.sourceforge.net
"
29655 if test -f conf.gtktest ; then
29658 echo "*** Could not run GTK
+ test program
, checking why...
"
29659 ac_save_CFLAGS="$CFLAGS"
29660 ac_save_LIBS="$LIBS"
29661 CFLAGS="$CFLAGS $GTK_CFLAGS"
29662 LIBS="$LIBS $GTK_LIBS"
29663 cat >conftest.$ac_ext <<_ACEOF
29666 cat confdefs.h >>conftest.$ac_ext
29667 cat >>conftest.$ac_ext <<_ACEOF
29668 /* end confdefs.h. */
29670 #include <gtk/gtk.h>
29676 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29681 rm -f conftest.$ac_objext conftest$ac_exeext
29682 if { (ac_try="$ac_link"
29683 case "(($ac_try" in
29684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29685 *) ac_try_echo=$ac_try;;
29687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29688 (eval "$ac_link") 2>conftest.er1
29690 grep -v '^ *+' conftest.er1 >conftest.err
29692 cat conftest.err >&5
29693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29694 (exit $ac_status); } && {
29695 test -z "$ac_c_werror_flag" ||
29696 test ! -s conftest.err
29697 } && test -s conftest$ac_exeext &&
29698 $as_test_x conftest$ac_exeext; then
29699 echo "*** The
test program compiled
, but did not run. This usually means
"
29700 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29701 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29702 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29703 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29704 echo "*** is required on your system"
29706 echo "*** If you have an old version installed, it is best to remove it, although"
29707 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29709 echo "$as_me: failed program was:" >&5
29710 sed 's
/^
/| /' conftest.$ac_ext >&5
29712 echo "*** The test program failed to compile or link. See the file config.log for the"
29713 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29717 conftest$ac_exeext conftest.$ac_ext
29718 CFLAGS="$ac_save_CFLAGS"
29719 LIBS="$ac_save_LIBS"
29733 if test "$wxUSE_SHARED" != "yes"; then
29734 GTK_LIBS="$GTK_LIBS -lX11"
29739 if test -z "$wx_cv_lib_gtk"; then
29740 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29742 # Check whether --with-gtk-prefix was given.
29743 if test "${with_gtk_prefix+set}" = set; then
29744 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29746 gtk_config_prefix=""
29750 # Check whether --with-gtk-exec-prefix was given.
29751 if test "${with_gtk_exec_prefix+set}" = set; then
29752 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29754 gtk_config_exec_prefix=""
29757 # Check whether --enable-gtktest was given.
29758 if test "${enable_gtktest+set}" = set; then
29759 enableval=$enable_gtktest;
29765 for module in . $GTK_MODULES
29769 gtk_config_args="$gtk_config_args gthread"
29774 if test x$gtk_config_exec_prefix != x ; then
29775 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29776 if test x${GTK_CONFIG+set} != xset ; then
29777 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29780 if test x$gtk_config_prefix != x ; then
29781 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29782 if test x${GTK_CONFIG+set} != xset ; then
29783 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29787 # Extract the first word of "gtk-config", so it can be a program name with args.
29788 set dummy gtk-config; ac_word=$2
29789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29791 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 case $GTK_CONFIG in
29796 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29800 for as_dir in $PATH
29803 test -z "$as_dir" && as_dir=.
29804 for ac_exec_ext in '' $ac_executable_extensions; do
29805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29806 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29814 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29818 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29819 if test -n "$GTK_CONFIG"; then
29820 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29821 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29823 { echo "$as_me:$LINENO: result: no" >&5
29824 echo "${ECHO_T}no" >&6; }
29828 min_gtk_version=1.2.7
29829 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29830 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29832 if test "$GTK_CONFIG" = "no" ; then
29835 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29836 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29837 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29838 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29839 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29840 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29841 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29842 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29843 if test "x$enable_gtktest" = "xyes" ; then
29844 ac_save_CFLAGS="$CFLAGS"
29845 ac_save_LIBS="$LIBS"
29846 CFLAGS="$CFLAGS $GTK_CFLAGS"
29847 LIBS="$GTK_LIBS $LIBS"
29849 if test "$cross_compiling" = yes; then
29850 echo $ac_n "cross compiling; assumed OK... $ac_c"
29852 cat >conftest.$ac_ext <<_ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29859 #include <gtk/gtk.h>
29861 #include <stdlib.h>
29866 int major, minor, micro;
29869 system ("touch conf.gtktest");
29871 /* HP/UX 9 (%@#!) writes to sscanf strings */
29872 tmp_version = g_strdup("$min_gtk_version");
29873 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29874 printf("%s, bad version string\n", "$min_gtk_version");
29878 if ((gtk_major_version != $gtk_config_major_version) ||
29879 (gtk_minor_version != $gtk_config_minor_version) ||
29880 (gtk_micro_version != $gtk_config_micro_version))
29882 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29883 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29884 gtk_major_version, gtk_minor_version, gtk_micro_version);
29885 printf ("*** was found! If gtk-config was correct, then it is best\n");
29886 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29887 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29888 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29889 printf("*** required on your system.\n");
29890 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29891 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29892 printf("*** before re-running configure\n");
29894 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29895 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29896 (gtk_minor_version != GTK_MINOR_VERSION) ||
29897 (gtk_micro_version != GTK_MICRO_VERSION))
29899 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29900 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29901 printf("*** library (version %d.%d.%d)\n",
29902 gtk_major_version, gtk_minor_version, gtk_micro_version);
29904 #endif /* defined (GTK_MAJOR_VERSION) ... */
29907 if ((gtk_major_version > major) ||
29908 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29909 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29915 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29916 gtk_major_version, gtk_minor_version, gtk_micro_version);
29917 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29918 major, minor, micro);
29919 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29921 printf("*** If you have already installed a sufficiently new version, this error\n");
29922 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29923 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29924 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29925 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29926 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29927 printf("*** so that the correct libraries are found at run-time))\n");
29934 rm -f conftest$ac_exeext
29935 if { (ac_try="$ac_link"
29936 case "(($ac_try" in
29937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29938 *) ac_try_echo=$ac_try;;
29940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29941 (eval "$ac_link") 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29945 { (case "(($ac_try" in
29946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29947 *) ac_try_echo=$ac_try;;
29949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29950 (eval "$ac_try") 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29956 echo "$as_me: program exited with status $ac_status" >&5
29957 echo "$as_me: failed program was:" >&5
29958 sed 's
/^
/| /' conftest.$ac_ext >&5
29960 ( exit $ac_status )
29963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29967 CFLAGS="$ac_save_CFLAGS"
29968 LIBS="$ac_save_LIBS"
29971 if test "x$no_gtk" = x ; then
29972 { echo "$as_me:$LINENO: result: yes" >&5
29973 echo "${ECHO_T}yes" >&6; }
29974 wx_cv_lib_gtk=1.2.7
29976 { echo "$as_me:$LINENO: result: no" >&5
29977 echo "${ECHO_T}no" >&6; }
29978 if test "$GTK_CONFIG" = "no" ; then
29979 echo "*** The gtk-config script installed by GTK could not be found"
29980 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29981 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29982 echo "*** full path to gtk-config."
29984 if test -f conf.gtktest ; then
29987 echo "*** Could not run GTK test program, checking why..."
29988 CFLAGS="$CFLAGS $GTK_CFLAGS"
29989 LIBS="$LIBS $GTK_LIBS"
29990 cat >conftest.$ac_ext <<_ACEOF
29993 cat confdefs.h >>conftest.$ac_ext
29994 cat >>conftest.$ac_ext <<_ACEOF
29995 /* end confdefs.h. */
29997 #include <gtk/gtk.h>
30003 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30008 rm -f conftest.$ac_objext conftest$ac_exeext
30009 if { (ac_try="$ac_link"
30010 case "(($ac_try" in
30011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30012 *) ac_try_echo=$ac_try;;
30014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30015 (eval "$ac_link") 2>conftest.er1
30017 grep -v '^
*+' conftest.er1 >conftest.err
30019 cat conftest.err >&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } && {
30022 test -z "$ac_c_werror_flag" ||
30023 test ! -s conftest.err
30024 } && test -s conftest$ac_exeext &&
30025 $as_test_x conftest$ac_exeext; then
30026 echo "*** The test program compiled, but did not run. This usually means"
30027 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30028 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30029 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30030 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30031 echo "*** is required on your system
"
30033 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30034 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30036 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30037 echo "*** came with the system with the
command"
30039 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30041 echo "$as_me: failed program was
:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30044 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30045 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30046 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30047 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30051 conftest$ac_exeext conftest.$ac_ext
30052 CFLAGS="$ac_save_CFLAGS"
30053 LIBS="$ac_save_LIBS"
30065 if test -z "$wx_cv_lib_gtk"; then
30067 # Check whether --with-gtk-prefix was given.
30068 if test "${with_gtk_prefix+set}" = set; then
30069 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30071 gtk_config_prefix=""
30075 # Check whether --with-gtk-exec-prefix was given.
30076 if test "${with_gtk_exec_prefix+set}" = set; then
30077 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30079 gtk_config_exec_prefix=""
30082 # Check whether --enable-gtktest was given.
30083 if test "${enable_gtktest+set}" = set; then
30084 enableval=$enable_gtktest;
30090 for module in . $GTK_MODULES
30094 gtk_config_args="$gtk_config_args gthread
"
30099 if test x$gtk_config_exec_prefix != x ; then
30100 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30101 if test x${GTK_CONFIG+set} != xset ; then
30102 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30105 if test x$gtk_config_prefix != x ; then
30106 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30107 if test x${GTK_CONFIG+set} != xset ; then
30108 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30112 # Extract the first word of "gtk
-config", so it can be a program name with args.
30113 set dummy gtk-config; ac_word=$2
30114 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30115 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30116 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30117 echo $ECHO_N "(cached
) $ECHO_C" >&6
30119 case $GTK_CONFIG in
30121 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30125 for as_dir in $PATH
30128 test -z "$as_dir" && as_dir=.
30129 for ac_exec_ext in '' $ac_executable_extensions; do
30130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30131 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30132 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30139 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30143 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30144 if test -n "$GTK_CONFIG"; then
30145 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30146 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30148 { echo "$as_me:$LINENO: result
: no
" >&5
30149 echo "${ECHO_T}no
" >&6; }
30153 min_gtk_version=1.2.3
30154 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30155 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30157 if test "$GTK_CONFIG" = "no
" ; then
30160 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30161 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30162 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30164 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30166 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30168 if test "x
$enable_gtktest" = "xyes
" ; then
30169 ac_save_CFLAGS="$CFLAGS"
30170 ac_save_LIBS="$LIBS"
30171 CFLAGS="$CFLAGS $GTK_CFLAGS"
30172 LIBS="$GTK_LIBS $LIBS"
30174 if test "$cross_compiling" = yes; then
30175 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30177 cat >conftest.$ac_ext <<_ACEOF
30180 cat confdefs.h >>conftest.$ac_ext
30181 cat >>conftest.$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30184 #include <gtk/gtk.h>
30186 #include <stdlib.h>
30191 int major, minor, micro;
30194 system ("touch conf.gtktest
");
30196 /* HP/UX 9 (%@#!) writes to sscanf strings */
30197 tmp_version = g_strdup("$min_gtk_version");
30198 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30199 printf("%s
, bad version string
\n", "$min_gtk_version");
30203 if ((gtk_major_version != $gtk_config_major_version) ||
30204 (gtk_minor_version != $gtk_config_minor_version) ||
30205 (gtk_micro_version != $gtk_config_micro_version))
30207 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30208 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30209 gtk_major_version, gtk_minor_version, gtk_micro_version);
30210 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30211 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30212 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30213 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30214 printf("*** required on your system.
\n");
30215 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30216 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30217 printf("*** before re
-running configure
\n");
30219 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30220 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30221 (gtk_minor_version != GTK_MINOR_VERSION) ||
30222 (gtk_micro_version != GTK_MICRO_VERSION))
30224 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30225 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30226 printf("*** library
(version
%d.
%d.
%d
)\n",
30227 gtk_major_version, gtk_minor_version, gtk_micro_version);
30229 #endif /* defined (GTK_MAJOR_VERSION) ... */
30232 if ((gtk_major_version > major) ||
30233 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30234 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30240 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30241 gtk_major_version, gtk_minor_version, gtk_micro_version);
30242 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30243 major, minor, micro);
30244 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30246 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30247 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30248 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30249 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30250 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30251 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30252 printf("*** so that the correct libraries are found
at run
-time))\n");
30259 rm -f conftest$ac_exeext
30260 if { (ac_try="$ac_link"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263 *) ac_try_echo=$ac_try;;
30265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_link") 2>&5
30268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30270 { (case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_try") 2>&5
30277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30278 (exit $ac_status); }; }; then
30281 echo "$as_me: program exited with status
$ac_status" >&5
30282 echo "$as_me: failed program was
:" >&5
30283 sed 's/^/| /' conftest.$ac_ext >&5
30285 ( exit $ac_status )
30288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30292 CFLAGS="$ac_save_CFLAGS"
30293 LIBS="$ac_save_LIBS"
30296 if test "x
$no_gtk" = x ; then
30297 { echo "$as_me:$LINENO: result
: yes" >&5
30298 echo "${ECHO_T}yes" >&6; }
30299 wx_cv_lib_gtk=1.2.3
30301 { echo "$as_me:$LINENO: result
: no
" >&5
30302 echo "${ECHO_T}no
" >&6; }
30303 if test "$GTK_CONFIG" = "no
" ; then
30304 echo "*** The gtk
-config script installed by GTK could not be found
"
30305 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30306 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30307 echo "*** full path to gtk
-config.
"
30309 if test -f conf.gtktest ; then
30312 echo "*** Could not run GTK
test program
, checking why...
"
30313 CFLAGS="$CFLAGS $GTK_CFLAGS"
30314 LIBS="$LIBS $GTK_LIBS"
30315 cat >conftest.$ac_ext <<_ACEOF
30318 cat confdefs.h >>conftest.$ac_ext
30319 cat >>conftest.$ac_ext <<_ACEOF
30320 /* end confdefs.h. */
30322 #include <gtk/gtk.h>
30328 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30333 rm -f conftest.$ac_objext conftest$ac_exeext
30334 if { (ac_try="$ac_link"
30335 case "(($ac_try" in
30336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30337 *) ac_try_echo=$ac_try;;
30339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30340 (eval "$ac_link") 2>conftest.er1
30342 grep -v '^ *+' conftest.er1 >conftest.err
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30346 (exit $ac_status); } && {
30347 test -z "$ac_c_werror_flag" ||
30348 test ! -s conftest.err
30349 } && test -s conftest$ac_exeext &&
30350 $as_test_x conftest$ac_exeext; then
30351 echo "*** The
test program compiled
, but did not run. This usually means
"
30352 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30353 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30354 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30355 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30356 echo "*** is required on your system"
30358 echo "*** If you have an old version installed, it is best to remove it, although"
30359 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30361 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30362 echo "*** came with the system with the command"
30364 echo "*** rpm --erase --nodeps gtk gtk-devel"
30366 echo "$as_me: failed program was:" >&5
30367 sed 's
/^
/| /' conftest.$ac_ext >&5
30369 echo "*** The test program failed to compile or link. See the file config.log for the"
30370 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30371 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30372 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30376 conftest$ac_exeext conftest.$ac_ext
30377 CFLAGS="$ac_save_CFLAGS"
30378 LIBS="$ac_save_LIBS"
30393 if test -z "$wx_cv_lib_gtk"; then
30396 wx_cv_cflags_gtk=$GTK_CFLAGS
30397 wx_cv_libs_gtk=$GTK_LIBS
30404 if test "$gtk_version_cached" = 1; then
30405 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30406 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30409 case "$wx_cv_lib_gtk" in
30418 *) { { echo "$as_me:$LINENO: error:
30419 The development files for GTK+ were not found. For GTK+ 2, please
30420 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30421 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30422 and that the version is 1.2.3 or above. Also check that the
30423 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30424 --libs' are in the LD_LIBRARY_PATH or equivalent.
30426 echo "$as_me: error:
30427 The development files for GTK+ were not found. For GTK+ 2, please
30428 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30429 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30430 and that the version is 1.2.3 or above. Also check that the
30431 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30432 --libs' are in the LD_LIBRARY_PATH or equivalent.
30434 { (exit 1); exit 1; }; }
30438 if test "$WXGTK2" = 1; then
30439 save_CFLAGS="$CFLAGS"
30441 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30442 LIBS="$LIBS $wx_cv_libs_gtk"
30444 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30445 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30446 cat >conftest.$ac_ext <<_ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30453 #include <gtk/gtk.h>
30459 #if !GTK_CHECK_VERSION(2,18,0)
30467 rm -f conftest.$ac_objext
30468 if { (ac_try="$ac_compile"
30469 case "(($ac_try" in
30470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30471 *) ac_try_echo=$ac_try;;
30473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30474 (eval "$ac_compile") 2>conftest.er1
30476 grep -v '^
*+' conftest.er1 >conftest.err
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } && {
30481 test -z "$ac_c_werror_flag" ||
30482 test ! -s conftest.err
30483 } && test -s conftest.$ac_objext; then
30485 cat >>confdefs.h <<\_ACEOF
30486 #define __WXGTK218__ 1
30489 cat >>confdefs.h <<\_ACEOF
30490 #define __WXGTK210__ 1
30493 cat >>confdefs.h <<\_ACEOF
30494 #define __WXGTK26__ 1
30497 { echo "$as_me:$LINENO: result: yes" >&5
30498 echo "${ECHO_T}yes" >&6; }
30502 echo "$as_me: failed program was:" >&5
30503 sed 's
/^
/| /' conftest.$ac_ext >&5
30506 { echo "$as_me:$LINENO: result: no" >&5
30507 echo "${ECHO_T}no" >&6; }
30512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30514 if test "$ac_wxgtk218" = 0; then
30515 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30516 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30517 cat >conftest.$ac_ext <<_ACEOF
30520 cat confdefs.h >>conftest.$ac_ext
30521 cat >>conftest.$ac_ext <<_ACEOF
30522 /* end confdefs.h. */
30524 #include <gtk/gtk.h>
30530 #if !GTK_CHECK_VERSION(2,10,0)
30538 rm -f conftest.$ac_objext
30539 if { (ac_try="$ac_compile"
30540 case "(($ac_try" in
30541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30542 *) ac_try_echo=$ac_try;;
30544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30545 (eval "$ac_compile") 2>conftest.er1
30547 grep -v '^
*+' conftest.er1 >conftest.err
30549 cat conftest.err >&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); } && {
30552 test -z "$ac_c_werror_flag" ||
30553 test ! -s conftest.err
30554 } && test -s conftest.$ac_objext; then
30556 cat >>confdefs.h <<\_ACEOF
30557 #define __WXGTK210__ 1
30560 cat >>confdefs.h <<\_ACEOF
30561 #define __WXGTK26__ 1
30564 { echo "$as_me:$LINENO: result: yes" >&5
30565 echo "${ECHO_T}yes" >&6; }
30569 echo "$as_me: failed program was:" >&5
30570 sed 's
/^
/| /' conftest.$ac_ext >&5
30573 { echo "$as_me:$LINENO: result: no" >&5
30574 echo "${ECHO_T}no" >&6; }
30579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581 if test "$ac_wxgtk210" = 0; then
30582 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30583 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30584 cat >conftest.$ac_ext <<_ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30591 #include <gtk/gtk.h>
30597 #if !GTK_CHECK_VERSION(2,6,0)
30605 rm -f conftest.$ac_objext
30606 if { (ac_try="$ac_compile"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_compile") 2>conftest.er1
30614 grep -v '^
*+' conftest.er1 >conftest.err
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } && {
30619 test -z "$ac_c_werror_flag" ||
30620 test ! -s conftest.err
30621 } && test -s conftest.$ac_objext; then
30623 cat >>confdefs.h <<\_ACEOF
30624 #define __WXGTK26__ 1
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30632 echo "$as_me: failed program was:" >&5
30633 sed 's
/^
/| /' conftest.$ac_ext >&5
30636 { echo "$as_me:$LINENO: result: no" >&5
30637 echo "${ECHO_T}no" >&6; }
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30646 CFLAGS="$save_CFLAGS"
30649 if test "$wxUSE_UNICODE" = "yes"; then
30650 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30651 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30655 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30656 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30657 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 ac_check_lib_save_LIBS=$LIBS
30662 cat >conftest.$ac_ext <<_ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30669 /* Override any GCC internal prototype to avoid an error.
30670 Use char because int might match the return type of a GCC
30671 builtin and then its argument prototype would still apply. */
30675 char gdk_im_open ();
30679 return gdk_im_open ();
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (ac_try="$ac_link"
30686 case "(($ac_try" in
30687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30688 *) ac_try_echo=$ac_try;;
30690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30691 (eval "$ac_link") 2>conftest.er1
30693 grep -v '^
*+' conftest.er1 >conftest.err
30695 cat conftest.err >&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); } && {
30698 test -z "$ac_c_werror_flag" ||
30699 test ! -s conftest.err
30700 } && test -s conftest$ac_exeext &&
30701 $as_test_x conftest$ac_exeext; then
30702 ac_cv_lib_gdk_gdk_im_open=yes
30704 echo "$as_me: failed program was:" >&5
30705 sed 's
/^
/| /' conftest.$ac_ext >&5
30707 ac_cv_lib_gdk_gdk_im_open=no
30710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30711 conftest$ac_exeext conftest.$ac_ext
30712 LIBS=$ac_check_lib_save_LIBS
30714 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30715 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30716 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30717 cat >>confdefs.h <<\_ACEOF
30724 if test "$USE_DARWIN" != 1; then
30726 for ac_func in poll
30728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30732 echo $ECHO_N "(cached) $ECHO_C" >&6
30734 cat >conftest.$ac_ext <<_ACEOF
30737 cat confdefs.h >>conftest.$ac_ext
30738 cat >>conftest.$ac_ext <<_ACEOF
30739 /* end confdefs.h. */
30740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30742 #define $ac_func innocuous_$ac_func
30744 /* System header to define __stub macros and hopefully few prototypes,
30745 which can conflict with char $ac_func (); below.
30746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30747 <limits.h> exists even on freestanding compilers. */
30750 # include <limits.h>
30752 # include <assert.h>
30757 /* Override any GCC internal prototype to avoid an error.
30758 Use char because int might match the return type of a GCC
30759 builtin and then its argument prototype would still apply. */
30764 /* The GNU C library defines this for functions which it implements
30765 to always fail with ENOSYS. Some functions are actually named
30766 something starting with __ and the normal name is an alias. */
30767 #if defined __stub_$ac_func || defined __stub___$ac_func
30774 return $ac_func ();
30779 rm -f conftest.$ac_objext conftest$ac_exeext
30780 if { (ac_try="$ac_link"
30781 case "(($ac_try" in
30782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30783 *) ac_try_echo=$ac_try;;
30785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30786 (eval "$ac_link") 2>conftest.er1
30788 grep -v '^
*+' conftest.er1 >conftest.err
30790 cat conftest.err >&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } && {
30793 test -z "$ac_c_werror_flag" ||
30794 test ! -s conftest.err
30795 } && test -s conftest$ac_exeext &&
30796 $as_test_x conftest$ac_exeext; then
30797 eval "$as_ac_var=yes"
30799 echo "$as_me: failed program was:" >&5
30800 sed 's
/^
/| /' conftest.$ac_ext >&5
30802 eval "$as_ac_var=no"
30805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30806 conftest$ac_exeext conftest.$ac_ext
30808 ac_res=`eval echo '${'$as_ac_var'}'`
30809 { echo "$as_me:$LINENO: result: $ac_res" >&5
30810 echo "${ECHO_T}$ac_res" >&6; }
30811 if test `eval echo '${'$as_ac_var'}'` = yes; then
30812 cat >>confdefs.h <<_ACEOF
30813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30822 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30823 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30825 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30827 AFMINSTALL=afminstall
30831 if test "$wxUSE_GPE" = "yes"; then
30832 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30833 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30836 for ac_dir in $SEARCH_LIB;
30838 for ac_extension in a so sl dylib dll.a; do
30839 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30840 ac_find_libraries=$ac_dir
30846 if test "$ac_find_libraries" != "" ; then
30848 if test "$ac_find_libraries" = "default location"; then
30851 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30853 if test $result = 0; then
30856 ac_path_to_link=" -L$ac_find_libraries"
30860 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30862 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30863 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30865 { echo "$as_me:$LINENO: result: not found" >&5
30866 echo "${ECHO_T}not found" >&6; }
30872 if test "$wxUSE_MGL" = 1; then
30873 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30874 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30875 if test "x$MGL_ROOT" = x ; then
30876 { echo "$as_me:$LINENO: result: not found" >&5
30877 echo "${ECHO_T}not found" >&6; }
30878 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30879 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30880 { (exit 1); exit 1; }; }
30882 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30883 echo "${ECHO_T}$MGL_ROOT" >&6; }
30886 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30887 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30890 if test "x$wxUSE_SHARED" = xyes ; then
30891 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30893 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30897 mgl_os_candidates="dos32/dj2"
30900 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30901 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30902 { (exit 1); exit 1; }; }
30908 for mgl_os_i in $mgl_os_candidates ; do
30909 if test "x$mgl_os" = x ; then
30910 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30911 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30912 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30917 if test "x$mgl_lib_type" = x ; then
30918 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30919 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30920 mgl_lib_type=release
30927 if test "x$mgl_os" = x ; then
30928 { echo "$as_me:$LINENO: result: not found" >&5
30929 echo "${ECHO_T}not found" >&6; }
30930 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30931 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30932 { (exit 1); exit 1; }; }
30934 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30935 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30937 wxUSE_UNIVERSAL="yes"
30939 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30940 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30942 AFMINSTALL=afminstall
30947 if test "$wxUSE_DFB" = 1; then
30950 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30951 if test -n "$ac_tool_prefix"; then
30952 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30953 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30957 echo $ECHO_N "(cached) $ECHO_C" >&6
30959 case $PKG_CONFIG in
30961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30965 for as_dir in $PATH
30968 test -z "$as_dir" && as_dir=.
30969 for ac_exec_ext in '' $ac_executable_extensions; do
30970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30983 if test -n "$PKG_CONFIG"; then
30984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30987 { echo "$as_me:$LINENO: result: no" >&5
30988 echo "${ECHO_T}no" >&6; }
30993 if test -z "$ac_cv_path_PKG_CONFIG"; then
30994 ac_pt_PKG_CONFIG=$PKG_CONFIG
30995 # Extract the first word of "pkg-config", so it can be a program name with args.
30996 set dummy pkg-config; ac_word=$2
30997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30999 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 case $ac_pt_PKG_CONFIG in
31004 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31008 for as_dir in $PATH
31011 test -z "$as_dir" && as_dir=.
31012 for ac_exec_ext in '' $ac_executable_extensions; do
31013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31014 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31025 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31026 if test -n "$ac_pt_PKG_CONFIG"; then
31027 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31028 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31030 { echo "$as_me:$LINENO: result: no" >&5
31031 echo "${ECHO_T}no" >&6; }
31034 if test "x$ac_pt_PKG_CONFIG" = x; then
31037 case $cross_compiling:$ac_tool_warned in
31039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31040 whose name does not start with the host triplet. If you think this
31041 configuration is useful to you, please write to autoconf@gnu.org." >&5
31042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31043 whose name does not start with the host triplet. If you think this
31044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31045 ac_tool_warned=yes ;;
31047 PKG_CONFIG=$ac_pt_PKG_CONFIG
31050 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31054 if test -n "$PKG_CONFIG"; then
31055 _pkg_min_version=0.9.0
31056 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31057 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31058 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31059 { echo "$as_me:$LINENO: result: yes" >&5
31060 echo "${ECHO_T}yes" >&6; }
31062 { echo "$as_me:$LINENO: result: no" >&5
31063 echo "${ECHO_T}no" >&6; }
31071 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31072 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31074 if test -n "$PKG_CONFIG"; then
31075 if test -n "$DIRECTFB_CFLAGS"; then
31076 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31078 if test -n "$PKG_CONFIG" && \
31079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31080 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; then
31084 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31092 if test -n "$PKG_CONFIG"; then
31093 if test -n "$DIRECTFB_LIBS"; then
31094 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31096 if test -n "$PKG_CONFIG" && \
31097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31098 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; then
31102 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31113 if test $pkg_failed = yes; then
31115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31116 _pkg_short_errors_supported=yes
31118 _pkg_short_errors_supported=no
31120 if test $_pkg_short_errors_supported = yes; then
31121 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31123 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31125 # Put the nasty error message in config.log where it belongs
31126 echo "$DIRECTFB_PKG_ERRORS" >&5
31129 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31130 echo "$as_me: error: DirectFB not found." >&2;}
31131 { (exit 1); exit 1; }; }
31134 elif test $pkg_failed = untried; then
31136 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31137 echo "$as_me: error: DirectFB not found." >&2;}
31138 { (exit 1); exit 1; }; }
31142 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31143 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31144 { echo "$as_me:$LINENO: result: yes" >&5
31145 echo "${ECHO_T}yes" >&6; }
31147 wxUSE_UNIVERSAL="yes"
31148 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31149 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31156 if test "$wxUSE_MICROWIN" = 1; then
31157 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31158 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31159 if test "x$MICROWINDOWS" = x ; then
31160 { echo "$as_me:$LINENO: result: not found" >&5
31161 echo "${ECHO_T}not found" >&6; }
31162 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31163 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31164 { (exit 1); exit 1; }; }
31166 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31167 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31170 if test -f $MICROWINDOWS/lib/libmwin.a; then
31171 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31172 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31174 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31175 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31176 { (exit 1); exit 1; }; }
31179 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31180 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31182 wxUSE_UNIVERSAL="yes"
31184 AFMINSTALL=afminstall
31186 GUIDIST=MICROWIN_DIST
31188 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31191 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31192 { echo "$as_me:$LINENO: checking for X" >&5
31193 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31196 # Check whether --with-x was given.
31197 if test "${with_x+set}" = set; then
31201 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31202 if test "x$with_x" = xno; then
31203 # The user explicitly disabled X.
31206 case $x_includes,$x_libraries in #(
31207 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31208 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31209 { (exit 1); exit 1; }; };; #(
31210 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31211 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 # One or both of the vars are not set, and there is no cached value.
31214 ac_x_includes=no ac_x_libraries=no
31215 rm -f -r conftest.dir
31216 if mkdir conftest.dir; then
31218 cat >Imakefile <<'_ACEOF'
31220 @echo incroot='${INCROOT}'
31222 @echo usrlibdir='${USRLIBDIR}'
31224 @echo libdir='${LIBDIR}'
31226 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31228 for ac_var in incroot usrlibdir libdir; do
31229 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31231 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31232 for ac_extension in a so sl; do
31233 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31234 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31235 ac_im_usrlibdir=$ac_im_libdir; break
31238 # Screen out bogus values from the imake configuration. They are
31239 # bogus both because they are the default anyway, and because
31240 # using them would break gcc on systems where it needs fixed includes.
31241 case $ac_im_incroot in
31242 /usr/include) ac_x_includes= ;;
31243 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31245 case $ac_im_usrlibdir in
31246 /usr/lib | /lib) ;;
31247 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31251 rm -f -r conftest.dir
31254 # Standard set of common directories for X headers.
31255 # Check X11 before X11Rn because it is often a symlink to the current release.
31267 /usr
/local
/X
11/include
31268 /usr
/local
/X
11R
6/include
31269 /usr
/local
/X
11R
5/include
31270 /usr
/local
/X
11R
4/include
31272 /usr
/local
/include
/X11
31273 /usr
/local
/include
/X11R6
31274 /usr
/local
/include
/X11R5
31275 /usr
/local
/include
/X11R4
31279 /usr
/XFree
86/include
/X11
31283 /usr
/unsupported
/include
31284 /usr
/athena
/include
31285 /usr
/local
/x
11r
5/include
31286 /usr
/lpp
/Xamples
/include
31288 /usr
/openwin
/include
31289 /usr
/openwin
/share
/include
'
31291 if test "$ac_x_includes" = no; then
31292 # Guess where to find include files, by looking for Xlib.h.
31293 # First, try using that file with no special directory specified.
31294 cat >conftest.$ac_ext <<_ACEOF
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31300 #include <X11/Xlib.h>
31302 if { (ac_try="$ac_cpp conftest.$ac_ext"
31303 case "(($ac_try" in
31304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31305 *) ac_try_echo=$ac_try;;
31307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31310 grep -v '^
*+' conftest.er1 >conftest.err
31312 cat conftest.err >&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } >/dev/null && {
31315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31316 test ! -s conftest.err
31318 # We can compile using X headers with no special include directory.
31321 echo "$as_me: failed program was:" >&5
31322 sed 's
/^
/| /' conftest.$ac_ext >&5
31324 for ac_dir in $ac_x_header_dirs; do
31325 if test -r "$ac_dir/X11/Xlib.h"; then
31326 ac_x_includes=$ac_dir
31332 rm -f conftest.err conftest.$ac_ext
31333 fi # $ac_x_includes = no
31335 if test "$ac_x_libraries" = no; then
31336 # Check for the libraries.
31337 # See if we find them without any special options.
31338 # Don't add to
$LIBS permanently.
31341 cat >conftest.
$ac_ext <<_ACEOF
31344 cat confdefs.h
>>conftest.
$ac_ext
31345 cat >>conftest.
$ac_ext <<_ACEOF
31346 /* end confdefs.h. */
31347 #include <X11/Xlib.h>
31356 rm -f conftest.
$ac_objext conftest
$ac_exeext
31357 if { (ac_try
="$ac_link"
31358 case "(($ac_try" in
31359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31360 *) ac_try_echo=$ac_try;;
31362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31363 (eval "$ac_link") 2>conftest.er1
31365 grep -v '^ *+' conftest.er1 >conftest.err
31367 cat conftest.err >&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } && {
31370 test -z "$ac_c_werror_flag" ||
31371 test ! -s conftest.err
31372 } && test -s conftest$ac_exeext &&
31373 $as_test_x conftest$ac_exeext; then
31375 # We can link X programs with no special library path.
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.$ac_ext >&5
31382 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31384 # Don't even attempt the hair of trying to link an X program!
31385 for ac_extension in a so sl; do
31386 if test -r "$ac_dir/libX11.$ac_extension"; then
31387 ac_x_libraries=$ac_dir
31394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31395 conftest$ac_exeext conftest.$ac_ext
31396 fi # $ac_x_libraries = no
31398 case $ac_x_includes,$ac_x_libraries in #(
31399 no,* | *,no | *\'*)
31400 # Didn't find X, or a directory has "'" in its name.
31401 ac_cv_have_x="have_x=no";; #(
31403 # Record where we found X for the cache.
31404 ac_cv_have_x="have_x=yes\
31405 ac_x_includes='$ac_x_includes'\
31406 ac_x_libraries='$ac_x_libraries'"
31412 eval "$ac_cv_have_x"
31415 if test "$have_x" != yes; then
31416 { echo "$as_me:$LINENO: result: $have_x" >&5
31417 echo "${ECHO_T}$have_x" >&6; }
31420 # If each of the values was on the command line, it overrides each guess.
31421 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31422 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31423 # Update the cache value to reflect the command line values.
31424 ac_cv_have_x="have_x=yes\
31425 ac_x_includes='$x_includes'\
31426 ac_x_libraries='$x_libraries'"
31427 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31428 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31431 if test "$no_x" = yes; then
31432 # Not all programs may use this symbol, but it does not hurt to define it.
31434 cat >>confdefs.h <<\_ACEOF
31435 #define X_DISPLAY_MISSING 1
31438 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31440 if test -n "$x_includes"; then
31441 X_CFLAGS="$X_CFLAGS -I$x_includes"
31444 # It would also be nice to do this for all -L options, not just this one.
31445 if test -n "$x_libraries"; then
31446 X_LIBS="$X_LIBS -L$x_libraries"
31447 # For Solaris; some versions of Sun CC require a space after -R and
31448 # others require no space. Words are not sufficient . . . .
31449 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31450 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31451 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31452 ac_xsave_c_werror_flag=$ac_c_werror_flag
31453 ac_c_werror_flag=yes
31454 cat >conftest.$ac_ext <<_ACEOF
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (ac_try="$ac_link"
31471 case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31473 *) ac_try_echo
=$ac_try;;
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_link") 2>conftest.er1
31478 grep -v '^ *+' conftest.er1
>conftest.err
31480 cat conftest.err
>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } && {
31483 test -z "$ac_c_werror_flag" ||
31484 test ! -s conftest.err
31485 } && test -s conftest
$ac_exeext &&
31486 $as_test_x conftest
$ac_exeext; then
31487 { echo "$as_me:$LINENO: result: no" >&5
31488 echo "${ECHO_T}no" >&6; }
31489 X_LIBS
="$X_LIBS -R$x_libraries"
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.
$ac_ext >&5
31494 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31495 cat >conftest.
$ac_ext <<_ACEOF
31498 cat confdefs.h
>>conftest.
$ac_ext
31499 cat >>conftest.
$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31510 rm -f conftest.
$ac_objext conftest
$ac_exeext
31511 if { (ac_try
="$ac_link"
31512 case "(($ac_try" in
31513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31514 *) ac_try_echo=$ac_try;;
31516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31517 (eval "$ac_link") 2>conftest.er1
31519 grep -v '^ *+' conftest.er1 >conftest.err
31521 cat conftest.err >&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); } && {
31524 test -z "$ac_c_werror_flag" ||
31525 test ! -s conftest.err
31526 } && test -s conftest$ac_exeext &&
31527 $as_test_x conftest$ac_exeext; then
31528 { echo "$as_me:$LINENO: result: yes" >&5
31529 echo "${ECHO_T}yes" >&6; }
31530 X_LIBS="$X_LIBS -R $x_libraries"
31532 echo "$as_me: failed program was:" >&5
31533 sed 's/^/| /' conftest.$ac_ext >&5
31535 { echo "$as_me:$LINENO: result: neither works" >&5
31536 echo "${ECHO_T}neither works" >&6; }
31539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31540 conftest$ac_exeext conftest.$ac_ext
31543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31544 conftest$ac_exeext conftest.$ac_ext
31545 ac_c_werror_flag=$ac_xsave_c_werror_flag
31546 LIBS=$ac_xsave_LIBS
31549 # Check for system-dependent libraries X programs must link with.
31550 # Do this before checking for the system-independent R6 libraries
31551 # (-lICE), since we may need -lsocket or whatever for X linking.
31553 if test "$ISC" = yes; then
31554 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31556 # Martyn Johnson says this is needed for Ultrix, if the X
31557 # libraries were built with DECnet support. And Karl Berry says
31558 # the Alpha needs dnet_stub (dnet does not exist).
31559 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31560 cat >conftest.$ac_ext <<_ACEOF
31563 cat confdefs.h >>conftest.$ac_ext
31564 cat >>conftest.$ac_ext <<_ACEOF
31565 /* end confdefs.h. */
31567 /* Override any GCC internal prototype to avoid an error.
31568 Use char because int might match the return type of a GCC
31569 builtin and then its argument prototype would still apply. */
31573 char XOpenDisplay ();
31577 return XOpenDisplay ();
31582 rm -f conftest.$ac_objext conftest$ac_exeext
31583 if { (ac_try="$ac_link"
31584 case "(($ac_try" in
31585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31586 *) ac_try_echo
=$ac_try;;
31588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31589 (eval "$ac_link") 2>conftest.er1
31591 grep -v '^ *+' conftest.er1
>conftest.err
31593 cat conftest.err
>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } && {
31596 test -z "$ac_c_werror_flag" ||
31597 test ! -s conftest.err
31598 } && test -s conftest
$ac_exeext &&
31599 $as_test_x conftest
$ac_exeext; then
31602 echo "$as_me: failed program was:" >&5
31603 sed 's/^/| /' conftest.
$ac_ext >&5
31605 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31606 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31607 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31608 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 ac_check_lib_save_LIBS
=$LIBS
31611 LIBS
="-ldnet $LIBS"
31612 cat >conftest.
$ac_ext <<_ACEOF
31615 cat confdefs.h
>>conftest.
$ac_ext
31616 cat >>conftest.
$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31619 /* Override any GCC internal prototype to avoid an error.
31620 Use char because int might match the return type of a GCC
31621 builtin and then its argument prototype would still apply. */
31629 return dnet_ntoa ();
31634 rm -f conftest.
$ac_objext conftest
$ac_exeext
31635 if { (ac_try
="$ac_link"
31636 case "(($ac_try" in
31637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31638 *) ac_try_echo=$ac_try;;
31640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31641 (eval "$ac_link") 2>conftest.er1
31643 grep -v '^ *+' conftest.er1 >conftest.err
31645 cat conftest.err >&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); } && {
31648 test -z "$ac_c_werror_flag" ||
31649 test ! -s conftest.err
31650 } && test -s conftest$ac_exeext &&
31651 $as_test_x conftest$ac_exeext; then
31652 ac_cv_lib_dnet_dnet_ntoa=yes
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31657 ac_cv_lib_dnet_dnet_ntoa=no
31660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31661 conftest$ac_exeext conftest.$ac_ext
31662 LIBS=$ac_check_lib_save_LIBS
31664 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31665 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31666 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31667 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31670 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31671 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31672 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31673 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 ac_check_lib_save_LIBS=$LIBS
31677 LIBS="-ldnet_stub $LIBS"
31678 cat >conftest.$ac_ext <<_ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31685 /* Override any GCC internal prototype to avoid an error.
31686 Use char because int might match the return type of a GCC
31687 builtin and then its argument prototype would still apply. */
31695 return dnet_ntoa ();
31700 rm -f conftest.$ac_objext conftest$ac_exeext
31701 if { (ac_try="$ac_link"
31702 case "(($ac_try" in
31703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31704 *) ac_try_echo
=$ac_try;;
31706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31707 (eval "$ac_link") 2>conftest.er1
31709 grep -v '^ *+' conftest.er1
>conftest.err
31711 cat conftest.err
>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); } && {
31714 test -z "$ac_c_werror_flag" ||
31715 test ! -s conftest.err
31716 } && test -s conftest
$ac_exeext &&
31717 $as_test_x conftest
$ac_exeext; then
31718 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.
$ac_ext >&5
31723 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31726 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31727 conftest
$ac_exeext conftest.
$ac_ext
31728 LIBS
=$ac_check_lib_save_LIBS
31730 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31731 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31732 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31740 conftest
$ac_exeext conftest.
$ac_ext
31741 LIBS
="$ac_xsave_LIBS"
31743 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31744 # to get the SysV transport functions.
31745 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31747 # The nsl library prevents programs from opening the X display
31748 # on Irix 5.2, according to T.E. Dickey.
31749 # The functions gethostbyname, getservbyname, and inet_addr are
31750 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31751 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31752 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31753 if test "${ac_cv_func_gethostbyname+set}" = set; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 cat >conftest.
$ac_ext <<_ACEOF
31759 cat confdefs.h
>>conftest.
$ac_ext
31760 cat >>conftest.
$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31764 #define gethostbyname innocuous_gethostbyname
31766 /* System header to define __stub macros and hopefully few prototypes,
31767 which can conflict with char gethostbyname (); below.
31768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31769 <limits.h> exists even on freestanding compilers. */
31772 # include <limits.h>
31774 # include <assert.h>
31777 #undef gethostbyname
31779 /* Override any GCC internal prototype to avoid an error.
31780 Use char because int might match the return type of a GCC
31781 builtin and then its argument prototype would still apply. */
31785 char gethostbyname ();
31786 /* The GNU C library defines this for functions which it implements
31787 to always fail with ENOSYS. Some functions are actually named
31788 something starting with __ and the normal name is an alias. */
31789 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31796 return gethostbyname ();
31801 rm -f conftest.
$ac_objext conftest
$ac_exeext
31802 if { (ac_try
="$ac_link"
31803 case "(($ac_try" in
31804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_link") 2>conftest.er1
31810 grep -v '^ *+' conftest.er1 >conftest.err
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest$ac_exeext &&
31818 $as_test_x conftest$ac_exeext; then
31819 ac_cv_func_gethostbyname=yes
31821 echo "$as_me: failed program was:" >&5
31822 sed 's/^/| /' conftest.$ac_ext >&5
31824 ac_cv_func_gethostbyname=no
31827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31828 conftest$ac_exeext conftest.$ac_ext
31830 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31831 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31833 if test $ac_cv_func_gethostbyname = no; then
31834 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31835 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31836 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 ac_check_lib_save_LIBS=$LIBS
31841 cat >conftest.$ac_ext <<_ACEOF
31844 cat confdefs.h >>conftest.$ac_ext
31845 cat >>conftest.$ac_ext <<_ACEOF
31846 /* end confdefs.h. */
31848 /* Override any GCC internal prototype to avoid an error.
31849 Use char because int might match the return type of a GCC
31850 builtin and then its argument prototype would still apply. */
31854 char gethostbyname ();
31858 return gethostbyname ();
31863 rm -f conftest.$ac_objext conftest$ac_exeext
31864 if { (ac_try="$ac_link"
31865 case "(($ac_try" in
31866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31867 *) ac_try_echo
=$ac_try;;
31869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31870 (eval "$ac_link") 2>conftest.er1
31872 grep -v '^ *+' conftest.er1
>conftest.err
31874 cat conftest.err
>&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } && {
31877 test -z "$ac_c_werror_flag" ||
31878 test ! -s conftest.err
31879 } && test -s conftest
$ac_exeext &&
31880 $as_test_x conftest
$ac_exeext; then
31881 ac_cv_lib_nsl_gethostbyname
=yes
31883 echo "$as_me: failed program was:" >&5
31884 sed 's/^/| /' conftest.
$ac_ext >&5
31886 ac_cv_lib_nsl_gethostbyname
=no
31889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31890 conftest
$ac_exeext conftest.
$ac_ext
31891 LIBS
=$ac_check_lib_save_LIBS
31893 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31894 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31895 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31899 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31900 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31901 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31902 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 ac_check_lib_save_LIBS
=$LIBS
31907 cat >conftest.
$ac_ext <<_ACEOF
31910 cat confdefs.h
>>conftest.
$ac_ext
31911 cat >>conftest.
$ac_ext <<_ACEOF
31912 /* end confdefs.h. */
31914 /* Override any GCC internal prototype to avoid an error.
31915 Use char because int might match the return type of a GCC
31916 builtin and then its argument prototype would still apply. */
31920 char gethostbyname ();
31924 return gethostbyname ();
31929 rm -f conftest.
$ac_objext conftest
$ac_exeext
31930 if { (ac_try
="$ac_link"
31931 case "(($ac_try" in
31932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31933 *) ac_try_echo=$ac_try;;
31935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31936 (eval "$ac_link") 2>conftest.er1
31938 grep -v '^ *+' conftest.er1 >conftest.err
31940 cat conftest.err >&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } && {
31943 test -z "$ac_c_werror_flag" ||
31944 test ! -s conftest.err
31945 } && test -s conftest$ac_exeext &&
31946 $as_test_x conftest$ac_exeext; then
31947 ac_cv_lib_bsd_gethostbyname=yes
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.$ac_ext >&5
31952 ac_cv_lib_bsd_gethostbyname=no
31955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31956 conftest$ac_exeext conftest.$ac_ext
31957 LIBS=$ac_check_lib_save_LIBS
31959 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31960 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31961 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31962 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31968 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31969 # socket/setsockopt and other routines are undefined under SCO ODT
31970 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31971 # on later versions), says Simon Leinen: it contains gethostby*
31972 # variants that don't use the name server (or something). -lsocket
31973 # must be given before -lnsl if both are needed. We assume that
31974 # if connect needs -lnsl, so does gethostbyname.
31975 { echo "$as_me:$LINENO: checking for connect" >&5
31976 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31977 if test "${ac_cv_func_connect+set}" = set; then
31978 echo $ECHO_N "(cached) $ECHO_C" >&6
31980 cat >conftest.$ac_ext <<_ACEOF
31983 cat confdefs.h >>conftest.$ac_ext
31984 cat >>conftest.$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31988 #define connect innocuous_connect
31990 /* System header to define __stub macros and hopefully few prototypes,
31991 which can conflict with char connect (); below.
31992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31993 <limits.h> exists even on freestanding compilers. */
31996 # include <limits.h>
31998 # include <assert.h>
32003 /* Override any GCC internal prototype to avoid an error.
32004 Use char because int might match the return type of a GCC
32005 builtin and then its argument prototype would still apply. */
32010 /* The GNU C library defines this for functions which it implements
32011 to always fail with ENOSYS. Some functions are actually named
32012 something starting with __ and the normal name is an alias. */
32013 #if defined __stub_connect || defined __stub___connect
32025 rm -f conftest.$ac_objext conftest$ac_exeext
32026 if { (ac_try="$ac_link"
32027 case "(($ac_try" in
32028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32029 *) ac_try_echo
=$ac_try;;
32031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32032 (eval "$ac_link") 2>conftest.er1
32034 grep -v '^ *+' conftest.er1
>conftest.err
32036 cat conftest.err
>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } && {
32039 test -z "$ac_c_werror_flag" ||
32040 test ! -s conftest.err
32041 } && test -s conftest
$ac_exeext &&
32042 $as_test_x conftest
$ac_exeext; then
32043 ac_cv_func_connect
=yes
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.
$ac_ext >&5
32048 ac_cv_func_connect
=no
32051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32052 conftest
$ac_exeext conftest.
$ac_ext
32054 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32055 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32057 if test $ac_cv_func_connect = no
; then
32058 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32059 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32060 if test "${ac_cv_lib_socket_connect+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32063 ac_check_lib_save_LIBS
=$LIBS
32064 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32065 cat >conftest.
$ac_ext <<_ACEOF
32068 cat confdefs.h
>>conftest.
$ac_ext
32069 cat >>conftest.
$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32072 /* Override any GCC internal prototype to avoid an error.
32073 Use char because int might match the return type of a GCC
32074 builtin and then its argument prototype would still apply. */
32087 rm -f conftest.
$ac_objext conftest
$ac_exeext
32088 if { (ac_try
="$ac_link"
32089 case "(($ac_try" in
32090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32091 *) ac_try_echo=$ac_try;;
32093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32094 (eval "$ac_link") 2>conftest.er1
32096 grep -v '^ *+' conftest.er1 >conftest.err
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } && {
32101 test -z "$ac_c_werror_flag" ||
32102 test ! -s conftest.err
32103 } && test -s conftest$ac_exeext &&
32104 $as_test_x conftest$ac_exeext; then
32105 ac_cv_lib_socket_connect=yes
32107 echo "$as_me: failed program was:" >&5
32108 sed 's/^/| /' conftest.$ac_ext >&5
32110 ac_cv_lib_socket_connect=no
32113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32114 conftest$ac_exeext conftest.$ac_ext
32115 LIBS=$ac_check_lib_save_LIBS
32117 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32118 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32119 if test $ac_cv_lib_socket_connect = yes; then
32120 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32125 # Guillermo Gomez says -lposix is necessary on A/UX.
32126 { echo "$as_me:$LINENO: checking for remove" >&5
32127 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32128 if test "${ac_cv_func_remove+set}" = set; then
32129 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 cat >conftest.$ac_ext <<_ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32139 #define remove innocuous_remove
32141 /* System header to define __stub macros and hopefully few prototypes,
32142 which can conflict with char remove (); below.
32143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32144 <limits.h> exists even on freestanding compilers. */
32147 # include <limits.h>
32149 # include <assert.h>
32154 /* Override any GCC internal prototype to avoid an error.
32155 Use char because int might match the return type of a GCC
32156 builtin and then its argument prototype would still apply. */
32161 /* The GNU C library defines this for functions which it implements
32162 to always fail with ENOSYS. Some functions are actually named
32163 something starting with __ and the normal name is an alias. */
32164 #if defined __stub_remove || defined __stub___remove
32176 rm -f conftest.$ac_objext conftest$ac_exeext
32177 if { (ac_try="$ac_link"
32178 case "(($ac_try" in
32179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32180 *) ac_try_echo
=$ac_try;;
32182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32183 (eval "$ac_link") 2>conftest.er1
32185 grep -v '^ *+' conftest.er1
>conftest.err
32187 cat conftest.err
>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); } && {
32190 test -z "$ac_c_werror_flag" ||
32191 test ! -s conftest.err
32192 } && test -s conftest
$ac_exeext &&
32193 $as_test_x conftest
$ac_exeext; then
32194 ac_cv_func_remove
=yes
32196 echo "$as_me: failed program was:" >&5
32197 sed 's/^/| /' conftest.
$ac_ext >&5
32199 ac_cv_func_remove
=no
32202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32203 conftest
$ac_exeext conftest.
$ac_ext
32205 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32206 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32208 if test $ac_cv_func_remove = no
; then
32209 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32210 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32211 if test "${ac_cv_lib_posix_remove+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 ac_check_lib_save_LIBS
=$LIBS
32215 LIBS
="-lposix $LIBS"
32216 cat >conftest.
$ac_ext <<_ACEOF
32219 cat confdefs.h
>>conftest.
$ac_ext
32220 cat >>conftest.
$ac_ext <<_ACEOF
32221 /* end confdefs.h. */
32223 /* Override any GCC internal prototype to avoid an error.
32224 Use char because int might match the return type of a GCC
32225 builtin and then its argument prototype would still apply. */
32238 rm -f conftest.
$ac_objext conftest
$ac_exeext
32239 if { (ac_try
="$ac_link"
32240 case "(($ac_try" in
32241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32242 *) ac_try_echo=$ac_try;;
32244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32245 (eval "$ac_link") 2>conftest.er1
32247 grep -v '^ *+' conftest.er1 >conftest.err
32249 cat conftest.err >&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } && {
32252 test -z "$ac_c_werror_flag" ||
32253 test ! -s conftest.err
32254 } && test -s conftest$ac_exeext &&
32255 $as_test_x conftest$ac_exeext; then
32256 ac_cv_lib_posix_remove=yes
32258 echo "$as_me: failed program was:" >&5
32259 sed 's/^/| /' conftest.$ac_ext >&5
32261 ac_cv_lib_posix_remove=no
32264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32265 conftest$ac_exeext conftest.$ac_ext
32266 LIBS=$ac_check_lib_save_LIBS
32268 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32269 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32270 if test $ac_cv_lib_posix_remove = yes; then
32271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32276 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32277 { echo "$as_me:$LINENO: checking for shmat" >&5
32278 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32279 if test "${ac_cv_func_shmat+set}" = set; then
32280 echo $ECHO_N "(cached) $ECHO_C" >&6
32282 cat >conftest.$ac_ext <<_ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32288 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32290 #define shmat innocuous_shmat
32292 /* System header to define __stub macros and hopefully few prototypes,
32293 which can conflict with char shmat (); below.
32294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32295 <limits.h> exists even on freestanding compilers. */
32298 # include <limits.h>
32300 # include <assert.h>
32305 /* Override any GCC internal prototype to avoid an error.
32306 Use char because int might match the return type of a GCC
32307 builtin and then its argument prototype would still apply. */
32312 /* The GNU C library defines this for functions which it implements
32313 to always fail with ENOSYS. Some functions are actually named
32314 something starting with __ and the normal name is an alias. */
32315 #if defined __stub_shmat || defined __stub___shmat
32327 rm -f conftest.$ac_objext conftest$ac_exeext
32328 if { (ac_try="$ac_link"
32329 case "(($ac_try" in
32330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32331 *) ac_try_echo
=$ac_try;;
32333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32334 (eval "$ac_link") 2>conftest.er1
32336 grep -v '^ *+' conftest.er1
>conftest.err
32338 cat conftest.err
>&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } && {
32341 test -z "$ac_c_werror_flag" ||
32342 test ! -s conftest.err
32343 } && test -s conftest
$ac_exeext &&
32344 $as_test_x conftest
$ac_exeext; then
32345 ac_cv_func_shmat
=yes
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.
$ac_ext >&5
32350 ac_cv_func_shmat
=no
32353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32354 conftest
$ac_exeext conftest.
$ac_ext
32356 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32357 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32359 if test $ac_cv_func_shmat = no
; then
32360 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32361 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32362 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 ac_check_lib_save_LIBS
=$LIBS
32367 cat >conftest.
$ac_ext <<_ACEOF
32370 cat confdefs.h
>>conftest.
$ac_ext
32371 cat >>conftest.
$ac_ext <<_ACEOF
32372 /* end confdefs.h. */
32374 /* Override any GCC internal prototype to avoid an error.
32375 Use char because int might match the return type of a GCC
32376 builtin and then its argument prototype would still apply. */
32389 rm -f conftest.
$ac_objext conftest
$ac_exeext
32390 if { (ac_try
="$ac_link"
32391 case "(($ac_try" in
32392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32393 *) ac_try_echo=$ac_try;;
32395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32396 (eval "$ac_link") 2>conftest.er1
32398 grep -v '^ *+' conftest.er1 >conftest.err
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } && {
32403 test -z "$ac_c_werror_flag" ||
32404 test ! -s conftest.err
32405 } && test -s conftest$ac_exeext &&
32406 $as_test_x conftest$ac_exeext; then
32407 ac_cv_lib_ipc_shmat=yes
32409 echo "$as_me: failed program was:" >&5
32410 sed 's/^/| /' conftest.$ac_ext >&5
32412 ac_cv_lib_ipc_shmat=no
32415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32416 conftest$ac_exeext conftest.$ac_ext
32417 LIBS=$ac_check_lib_save_LIBS
32419 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32420 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32421 if test $ac_cv_lib_ipc_shmat = yes; then
32422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32428 # Check for libraries that X11R6 Xt/Xaw programs need.
32429 ac_save_LDFLAGS=$LDFLAGS
32430 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32431 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32432 # check for ICE first), but we must link in the order -lSM -lICE or
32433 # we get undefined symbols. So assume we have SM if we have ICE.
32434 # These have to be linked with before -lX11, unlike the other
32435 # libraries we check for below, so use a different variable.
32436 # John Interrante, Karl Berry
32437 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32438 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32439 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 ac_check_lib_save_LIBS=$LIBS
32443 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32444 cat >conftest.$ac_ext <<_ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32451 /* Override any GCC internal prototype to avoid an error.
32452 Use char because int might match the return type of a GCC
32453 builtin and then its argument prototype would still apply. */
32457 char IceConnectionNumber ();
32461 return IceConnectionNumber ();
32466 rm -f conftest.$ac_objext conftest$ac_exeext
32467 if { (ac_try="$ac_link"
32468 case "(($ac_try" in
32469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32470 *) ac_try_echo
=$ac_try;;
32472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32473 (eval "$ac_link") 2>conftest.er1
32475 grep -v '^ *+' conftest.er1
>conftest.err
32477 cat conftest.err
>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); } && {
32480 test -z "$ac_c_werror_flag" ||
32481 test ! -s conftest.err
32482 } && test -s conftest
$ac_exeext &&
32483 $as_test_x conftest
$ac_exeext; then
32484 ac_cv_lib_ICE_IceConnectionNumber
=yes
32486 echo "$as_me: failed program was:" >&5
32487 sed 's/^/| /' conftest.
$ac_ext >&5
32489 ac_cv_lib_ICE_IceConnectionNumber
=no
32492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32493 conftest
$ac_exeext conftest.
$ac_ext
32494 LIBS
=$ac_check_lib_save_LIBS
32496 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32497 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32498 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32499 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32502 LDFLAGS
=$ac_save_LDFLAGS
32507 if test "$no_x" = "yes"; then
32508 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32509 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32510 { (exit 1); exit 1; }; }
32513 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32514 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32515 AFMINSTALL
=afminstall
32516 COMPILED_X_PROGRAM
=0
32520 if test "$wxUSE_X11" = 1; then
32521 if test "$wxUSE_NANOX" = "yes"; then
32522 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32523 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32524 if test "x$MICROWIN" = x
; then
32525 { echo "$as_me:$LINENO: result: not found" >&5
32526 echo "${ECHO_T}not found" >&6; }
32527 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32528 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32529 { (exit 1); exit 1; }; }
32531 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32532 echo "${ECHO_T}$MICROWIN" >&6; }
32533 cat >>confdefs.h
<<\_ACEOF
32534 #define wxUSE_NANOX 1
32540 if test "$wxUSE_UNICODE" = "yes"; then
32543 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32544 if test -n "$ac_tool_prefix"; then
32545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32546 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32549 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32550 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 case $PKG_CONFIG in
32554 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32558 for as_dir
in $PATH
32561 test -z "$as_dir" && as_dir
=.
32562 for ac_exec_ext
in '' $ac_executable_extensions; do
32563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32564 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32575 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32576 if test -n "$PKG_CONFIG"; then
32577 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32578 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32580 { echo "$as_me:$LINENO: result: no" >&5
32581 echo "${ECHO_T}no" >&6; }
32586 if test -z "$ac_cv_path_PKG_CONFIG"; then
32587 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32588 # Extract the first word of "pkg-config", so it can be a program name with args.
32589 set dummy pkg
-config; ac_word
=$2
32590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32592 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32593 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 case $ac_pt_PKG_CONFIG in
32597 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32601 for as_dir
in $PATH
32604 test -z "$as_dir" && as_dir
=.
32605 for ac_exec_ext
in '' $ac_executable_extensions; do
32606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32607 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32618 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32619 if test -n "$ac_pt_PKG_CONFIG"; then
32620 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32621 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32623 { echo "$as_me:$LINENO: result: no" >&5
32624 echo "${ECHO_T}no" >&6; }
32627 if test "x$ac_pt_PKG_CONFIG" = x
; then
32630 case $cross_compiling:$ac_tool_warned in
32632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32633 whose name does not start with the host triplet. If you think this
32634 configuration is useful to you, please write to autoconf@gnu.org." >&5
32635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32636 whose name does not start with the host triplet. If you think this
32637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32638 ac_tool_warned
=yes ;;
32640 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32643 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32647 if test -n "$PKG_CONFIG"; then
32648 _pkg_min_version
=0.9.0
32649 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32650 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32651 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32652 { echo "$as_me:$LINENO: result: yes" >&5
32653 echo "${ECHO_T}yes" >&6; }
32655 { echo "$as_me:$LINENO: result: no" >&5
32656 echo "${ECHO_T}no" >&6; }
32664 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32665 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32667 if test -n "$PKG_CONFIG"; then
32668 if test -n "$PANGOX_CFLAGS"; then
32669 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32671 if test -n "$PKG_CONFIG" && \
32672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32673 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); }; then
32677 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32685 if test -n "$PKG_CONFIG"; then
32686 if test -n "$PANGOX_LIBS"; then
32687 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32689 if test -n "$PKG_CONFIG" && \
32690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32691 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; then
32695 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32706 if test $pkg_failed = yes; then
32708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32709 _pkg_short_errors_supported
=yes
32711 _pkg_short_errors_supported
=no
32713 if test $_pkg_short_errors_supported = yes; then
32714 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32716 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32718 # Put the nasty error message in config.log where it belongs
32719 echo "$PANGOX_PKG_ERRORS" >&5
32722 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32723 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32724 { (exit 1); exit 1; }; }
32727 elif test $pkg_failed = untried
; then
32729 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32730 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32731 { (exit 1); exit 1; }; }
32735 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32736 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32737 { echo "$as_me:$LINENO: result: yes" >&5
32738 echo "${ECHO_T}yes" >&6; }
32740 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32741 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32742 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32747 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32748 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32750 if test -n "$PKG_CONFIG"; then
32751 if test -n "$PANGOFT2_CFLAGS"; then
32752 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32754 if test -n "$PKG_CONFIG" && \
32755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32756 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; then
32760 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32768 if test -n "$PKG_CONFIG"; then
32769 if test -n "$PANGOFT2_LIBS"; then
32770 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32772 if test -n "$PKG_CONFIG" && \
32773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32774 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; then
32778 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32789 if test $pkg_failed = yes; then
32791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32792 _pkg_short_errors_supported
=yes
32794 _pkg_short_errors_supported
=no
32796 if test $_pkg_short_errors_supported = yes; then
32797 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32799 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32801 # Put the nasty error message in config.log where it belongs
32802 echo "$PANGOFT2_PKG_ERRORS" >&5
32805 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32806 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32807 wxUSE_PRINTING_ARCHITECTURE
="no"
32810 elif test $pkg_failed = untried
; then
32812 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32813 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32814 wxUSE_PRINTING_ARCHITECTURE
="no"
32818 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32819 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32820 { echo "$as_me:$LINENO: result: yes" >&5
32821 echo "${ECHO_T}yes" >&6; }
32823 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32824 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32825 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32830 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32831 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32833 if test -n "$PKG_CONFIG"; then
32834 if test -n "$PANGOXFT_CFLAGS"; then
32835 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32837 if test -n "$PKG_CONFIG" && \
32838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32839 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; then
32843 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32851 if test -n "$PKG_CONFIG"; then
32852 if test -n "$PANGOXFT_LIBS"; then
32853 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32855 if test -n "$PKG_CONFIG" && \
32856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32857 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; then
32861 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32872 if test $pkg_failed = yes; then
32874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32875 _pkg_short_errors_supported
=yes
32877 _pkg_short_errors_supported
=no
32879 if test $_pkg_short_errors_supported = yes; then
32880 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32882 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32884 # Put the nasty error message in config.log where it belongs
32885 echo "$PANGOXFT_PKG_ERRORS" >&5
32888 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32889 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32892 elif test $pkg_failed = untried
; then
32894 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32895 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32899 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32900 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32901 { echo "$as_me:$LINENO: result: yes" >&5
32902 echo "${ECHO_T}yes" >&6; }
32904 cat >>confdefs.h
<<\_ACEOF
32905 #define HAVE_PANGO_XFT 1
32908 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32909 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32910 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32914 LIBS
="$LIBS $PANGOX_LIBS"
32916 for ac_func
in pango_font_family_is_monospace
32918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32921 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32922 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 cat >conftest.
$ac_ext <<_ACEOF
32927 cat confdefs.h
>>conftest.
$ac_ext
32928 cat >>conftest.
$ac_ext <<_ACEOF
32929 /* end confdefs.h. */
32930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32932 #define $ac_func innocuous_$ac_func
32934 /* System header to define __stub macros and hopefully few prototypes,
32935 which can conflict with char $ac_func (); below.
32936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32937 <limits.h> exists even on freestanding compilers. */
32940 # include <limits.h>
32942 # include <assert.h>
32947 /* Override any GCC internal prototype to avoid an error.
32948 Use char because int might match the return type of a GCC
32949 builtin and then its argument prototype would still apply. */
32954 /* The GNU C library defines this for functions which it implements
32955 to always fail with ENOSYS. Some functions are actually named
32956 something starting with __ and the normal name is an alias. */
32957 #if defined __stub_$ac_func || defined __stub___$ac_func
32964 return $ac_func ();
32969 rm -f conftest.
$ac_objext conftest
$ac_exeext
32970 if { (ac_try
="$ac_link"
32971 case "(($ac_try" in
32972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_link") 2>conftest.er1
32978 grep -v '^ *+' conftest.er1 >conftest.err
32980 cat conftest.err >&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } && {
32983 test -z "$ac_c_werror_flag" ||
32984 test ! -s conftest.err
32985 } && test -s conftest$ac_exeext &&
32986 $as_test_x conftest$ac_exeext; then
32987 eval "$as_ac_var=yes"
32989 echo "$as_me: failed program was:" >&5
32990 sed 's/^/| /' conftest.$ac_ext >&5
32992 eval "$as_ac_var=no"
32995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32996 conftest$ac_exeext conftest.$ac_ext
32998 ac_res=`eval echo '${'$as_ac_var'}'`
32999 { echo "$as_me:$LINENO: result: $ac_res" >&5
33000 echo "${ECHO_T}$ac_res" >&6; }
33001 if test `eval echo '${'$as_ac_var'}'` = yes; then
33002 cat >>confdefs.h <<_ACEOF
33003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33012 wxUSE_UNIVERSAL="yes"
33014 if test "$wxUSE_NANOX" = "yes"; then
33015 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33016 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"
33017 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33019 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33026 if test "$wxUSE_MOTIF" = 1; then
33027 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33028 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33031 for ac_dir in $SEARCH_INCLUDE /usr/include;
33033 if test -f "$ac_dir/Xm/Xm.h"; then
33034 ac_find_includes=$ac_dir
33039 if test "$ac_find_includes" != "" ; then
33040 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33041 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33043 if test "x$ac_find_includes" = "x/usr/include"; then
33044 ac_path_to_include=""
33046 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33048 if test $result = 0; then
33049 ac_path_to_include=""
33051 ac_path_to_include=" -I$ac_find_includes"
33055 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33057 save_CFLAGS=$CFLAGS
33058 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33060 cat >conftest.$ac_ext <<_ACEOF
33063 cat confdefs.h >>conftest.$ac_ext
33064 cat >>conftest.$ac_ext <<_ACEOF
33065 /* end confdefs.h. */
33074 version = xmUseVersion;
33080 rm -f conftest.$ac_objext
33081 if { (ac_try="$ac_compile"
33082 case "(($ac_try" in
33083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33084 *) ac_try_echo
=$ac_try;;
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_compile") 2>conftest.er1
33089 grep -v '^ *+' conftest.er1
>conftest.err
33091 cat conftest.err
>&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest.
$ac_objext; then
33098 { echo "$as_me:$LINENO: result: found in default search path" >&5
33099 echo "${ECHO_T}found in default search path" >&6; }
33100 COMPILED_X_PROGRAM
=1
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.
$ac_ext >&5
33107 { echo "$as_me:$LINENO: result: no" >&5
33108 echo "${ECHO_T}no" >&6; }
33109 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33110 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33111 { (exit 1); exit 1; }; }
33116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33118 CFLAGS
=$save_CFLAGS
33122 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33123 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33126 for ac_dir
in $SEARCH_LIB;
33128 for ac_extension
in a so sl dylib dll.a
; do
33129 if test -f "$ac_dir/libXm.$ac_extension"; then
33130 ac_find_libraries
=$ac_dir
33137 if test "x$ac_find_libraries" != "x" ; then
33138 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33139 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33142 if test "$ac_find_libraries" = "default location"; then
33145 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33147 if test $result = 0; then
33150 ac_path_to_link
=" -L$ac_find_libraries"
33154 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33156 save_CFLAGS
=$CFLAGS
33157 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33159 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33161 cat >conftest.
$ac_ext <<_ACEOF
33164 cat confdefs.h
>>conftest.
$ac_ext
33165 cat >>conftest.
$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33175 version = xmUseVersion;
33181 rm -f conftest.
$ac_objext conftest
$ac_exeext
33182 if { (ac_try
="$ac_link"
33183 case "(($ac_try" in
33184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33185 *) ac_try_echo=$ac_try;;
33187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33188 (eval "$ac_link") 2>conftest.er1
33190 grep -v '^ *+' conftest.er1 >conftest.err
33192 cat conftest.err >&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } && {
33195 test -z "$ac_c_werror_flag" ||
33196 test ! -s conftest.err
33197 } && test -s conftest$ac_exeext &&
33198 $as_test_x conftest$ac_exeext; then
33200 { echo "$as_me:$LINENO: result: found in default search path" >&5
33201 echo "${ECHO_T}found in default search path" >&6; }
33202 COMPILED_X_PROGRAM=1
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33209 { echo "$as_me:$LINENO: result: no" >&5
33210 echo "${ECHO_T}no" >&6; }
33211 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33212 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33213 { (exit 1); exit 1; }; }
33218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33219 conftest$ac_exeext conftest.$ac_ext
33221 CFLAGS=$save_CFLAGS
33225 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33226 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33230 for libp in "" " -lXp"; do
33231 if test "$libs_found" = 0; then
33232 for libsm_ice in "" " -lSM -lICE"; do
33233 if test "$libs_found" = 0; then
33235 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33236 save_CFLAGS=$CFLAGS
33237 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33239 cat >conftest.$ac_ext <<_ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33247 #include <Xm/List.h>
33253 XmString string = NULL;
33256 XmListAddItem(w, string, position);
33262 rm -f conftest.$ac_objext conftest$ac_exeext
33263 if { (ac_try="$ac_link"
33264 case "(($ac_try" in
33265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33266 *) ac_try_echo
=$ac_try;;
33268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33269 (eval "$ac_link") 2>conftest.er1
33271 grep -v '^ *+' conftest.er1
>conftest.err
33273 cat conftest.err
>&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } && {
33276 test -z "$ac_c_werror_flag" ||
33277 test ! -s conftest.err
33278 } && test -s conftest
$ac_exeext &&
33279 $as_test_x conftest
$ac_exeext; then
33282 libsm_ice_link
="$libsm_ice"
33283 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33284 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.
$ac_ext >&5
33295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33296 conftest
$ac_exeext conftest.
$ac_ext
33299 CFLAGS
=$save_CFLAGS
33305 if test "$libs_found" = 0; then
33306 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33307 echo "${ECHO_T}can't find the right libraries" >&6; }
33308 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33309 echo "$as_me: error: can't link a simple motif program" >&2;}
33310 { (exit 1); exit 1; }; }
33313 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33314 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33315 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 ac_check_lib_save_LIBS
=$LIBS
33320 cat >conftest.
$ac_ext <<_ACEOF
33323 cat confdefs.h
>>conftest.
$ac_ext
33324 cat >>conftest.
$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33327 /* Override any GCC internal prototype to avoid an error.
33328 Use char because int might match the return type of a GCC
33329 builtin and then its argument prototype would still apply. */
33333 char SgCreateList ();
33337 return SgCreateList ();
33342 rm -f conftest.
$ac_objext conftest
$ac_exeext
33343 if { (ac_try
="$ac_link"
33344 case "(($ac_try" in
33345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33346 *) ac_try_echo=$ac_try;;
33348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33349 (eval "$ac_link") 2>conftest.er1
33351 grep -v '^ *+' conftest.er1 >conftest.err
33353 cat conftest.err >&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } && {
33356 test -z "$ac_c_werror_flag" ||
33357 test ! -s conftest.err
33358 } && test -s conftest$ac_exeext &&
33359 $as_test_x conftest$ac_exeext; then
33360 ac_cv_lib_Sgm_SgCreateList=yes
33362 echo "$as_me: failed program was:" >&5
33363 sed 's/^/| /' conftest.$ac_ext >&5
33365 ac_cv_lib_Sgm_SgCreateList=no
33368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33369 conftest$ac_exeext conftest.$ac_ext
33370 LIBS=$ac_check_lib_save_LIBS
33372 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33373 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33374 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33375 libsgm_link=" -lSgm"
33379 save_CFLAGS=$CFLAGS
33380 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33382 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33383 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33384 if test "${wx_cv_lib_motif2+set}" = set; then
33385 echo $ECHO_N "(cached) $ECHO_C" >&6
33387 cat >conftest.$ac_ext <<_ACEOF
33390 cat confdefs.h >>conftest.$ac_ext
33391 cat >>conftest.$ac_ext <<_ACEOF
33392 /* end confdefs.h. */
33400 #if XmVersion < 2000
33408 rm -f conftest.$ac_objext
33409 if { (ac_try="$ac_compile"
33410 case "(($ac_try" in
33411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33412 *) ac_try_echo
=$ac_try;;
33414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33415 (eval "$ac_compile") 2>conftest.er1
33417 grep -v '^ *+' conftest.er1
>conftest.err
33419 cat conftest.err
>&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); } && {
33422 test -z "$ac_c_werror_flag" ||
33423 test ! -s conftest.err
33424 } && test -s conftest.
$ac_objext; then
33425 wx_cv_lib_motif2
="yes"
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.
$ac_ext >&5
33430 wx_cv_lib_motif2
="no"
33433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33435 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33436 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33437 if test "$wx_cv_lib_motif2" = "yes"; then
33438 cat >>confdefs.h
<<\_ACEOF
33439 #define __WXMOTIF20__ 1
33443 cat >>confdefs.h
<<\_ACEOF
33444 #define __WXMOTIF20__ 0
33449 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33450 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33451 if test "${wx_cv_lib_lesstif+set}" = set; then
33452 echo $ECHO_N "(cached) $ECHO_C" >&6
33454 cat >conftest.
$ac_ext <<_ACEOF
33457 cat confdefs.h
>>conftest.
$ac_ext
33458 cat >>conftest.
$ac_ext <<_ACEOF
33459 /* end confdefs.h. */
33467 #if !defined(LesstifVersion) || LesstifVersion <= 0
33475 rm -f conftest.
$ac_objext
33476 if { (ac_try
="$ac_compile"
33477 case "(($ac_try" in
33478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33479 *) ac_try_echo=$ac_try;;
33481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33482 (eval "$ac_compile") 2>conftest.er1
33484 grep -v '^ *+' conftest.er1 >conftest.err
33486 cat conftest.err >&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); } && {
33489 test -z "$ac_c_werror_flag" ||
33490 test ! -s conftest.err
33491 } && test -s conftest.$ac_objext; then
33492 wx_cv_lib_lesstif="yes"
33494 echo "$as_me: failed program was:" >&5
33495 sed 's/^/| /' conftest.$ac_ext >&5
33497 wx_cv_lib_lesstif="no"
33500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33504 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33505 if test "$wx_cv_lib_lesstif" = "yes"; then
33506 cat >>confdefs.h <<\_ACEOF
33507 #define __WXLESSTIF__ 1
33511 cat >>confdefs.h <<\_ACEOF
33512 #define __WXLESSTIF__ 0
33517 CFLAGS=$save_CFLAGS
33519 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33524 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33525 if test "$wxUSE_LIBXPM" = "sys"; then
33526 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33527 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33530 for ac_dir in $SEARCH_LIB;
33532 for ac_extension in a so sl dylib dll.a; do
33533 if test -f "$ac_dir/libXpm.$ac_extension"; then
33534 ac_find_libraries=$ac_dir
33540 if test "$ac_find_libraries" != "" ; then
33542 if test "$ac_find_libraries" = "default location"; then
33545 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33547 if test $result = 0; then
33550 ac_path_to_link=" -L$ac_find_libraries"
33554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33555 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33556 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33558 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33559 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33560 if test "${wx_cv_x11_xpm_h+set}" = set; then
33561 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 save_CFLAGS=$CFLAGS
33565 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33567 cat >conftest.$ac_ext <<_ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33574 #include <X11/xpm.h>
33581 version = XpmLibraryVersion();
33587 rm -f conftest.$ac_objext
33588 if { (ac_try="$ac_compile"
33589 case "(($ac_try" in
33590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33591 *) ac_try_echo
=$ac_try;;
33593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33594 (eval "$ac_compile") 2>conftest.er1
33596 grep -v '^ *+' conftest.er1
>conftest.err
33598 cat conftest.err
>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); } && {
33601 test -z "$ac_c_werror_flag" ||
33602 test ! -s conftest.err
33603 } && test -s conftest.
$ac_objext; then
33604 wx_cv_x11_xpm_h
=yes
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.
$ac_ext >&5
33613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33615 CFLAGS
=$save_CFLAGS
33619 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33620 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33622 if test $wx_cv_x11_xpm_h = "yes"; then
33623 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33624 cat >>confdefs.h
<<\_ACEOF
33625 #define wxHAVE_LIB_XPM 1
33629 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33630 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33636 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33637 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33638 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33641 ac_check_lib_save_LIBS
=$LIBS
33642 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33643 cat >conftest.
$ac_ext <<_ACEOF
33646 cat confdefs.h
>>conftest.
$ac_ext
33647 cat >>conftest.
$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33650 /* Override any GCC internal prototype to avoid an error.
33651 Use char because int might match the return type of a GCC
33652 builtin and then its argument prototype would still apply. */
33656 char XShapeQueryExtension ();
33660 return XShapeQueryExtension ();
33665 rm -f conftest.
$ac_objext conftest
$ac_exeext
33666 if { (ac_try
="$ac_link"
33667 case "(($ac_try" in
33668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33669 *) ac_try_echo=$ac_try;;
33671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33672 (eval "$ac_link") 2>conftest.er1
33674 grep -v '^ *+' conftest.er1 >conftest.err
33676 cat conftest.err >&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); } && {
33679 test -z "$ac_c_werror_flag" ||
33680 test ! -s conftest.err
33681 } && test -s conftest$ac_exeext &&
33682 $as_test_x conftest$ac_exeext; then
33683 ac_cv_lib_Xext_XShapeQueryExtension=yes
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33688 ac_cv_lib_Xext_XShapeQueryExtension=no
33691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33692 conftest$ac_exeext conftest.$ac_ext
33693 LIBS=$ac_check_lib_save_LIBS
33695 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33696 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33697 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33705 if test "$wxHAVE_XEXT_LIB" = 1; then
33706 save_CFLAGS="$CFLAGS"
33707 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33709 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33710 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33711 cat >conftest.$ac_ext <<_ACEOF
33714 cat confdefs.h >>conftest.$ac_ext
33715 cat >>conftest.$ac_ext <<_ACEOF
33716 /* end confdefs.h. */
33718 #include <X11/Xlib.h>
33719 #include <X11/extensions/shape.h>
33725 int dummy1, dummy2;
33726 XShapeQueryExtension((Display*)NULL,
33727 (int*)NULL, (int*)NULL);
33733 rm -f conftest.$ac_objext
33734 if { (ac_try="$ac_compile"
33735 case "(($ac_try" in
33736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33737 *) ac_try_echo
=$ac_try;;
33739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33740 (eval "$ac_compile") 2>conftest.er1
33742 grep -v '^ *+' conftest.er1
>conftest.err
33744 cat conftest.err
>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } && {
33747 test -z "$ac_c_werror_flag" ||
33748 test ! -s conftest.err
33749 } && test -s conftest.
$ac_objext; then
33751 cat >>confdefs.h
<<\_ACEOF
33752 #define HAVE_XSHAPE 1
33755 { echo "$as_me:$LINENO: result: found" >&5
33756 echo "${ECHO_T}found" >&6; }
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.
$ac_ext >&5
33763 { echo "$as_me:$LINENO: result: not found" >&5
33764 echo "${ECHO_T}not found" >&6; }
33768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33769 CFLAGS
="$save_CFLAGS"
33774 if test "$wxUSE_OSX_CARBON" = 1; then
33775 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33776 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33777 if test "$GCC" = yes; then
33778 { echo "$as_me:$LINENO: result: gcc" >&5
33779 echo "${ECHO_T}gcc" >&6; }
33780 CPPFLAGS_PASCAL
="-fpascal-strings"
33781 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33782 { echo "$as_me:$LINENO: result: xlc" >&5
33783 echo "${ECHO_T}xlc" >&6; }
33784 CPPFLAGS_PASCAL
="-qmacpstr"
33786 { echo "$as_me:$LINENO: result: none" >&5
33787 echo "${ECHO_T}none" >&6; }
33790 if test "x$wxUSE_UNIX" = "xyes"; then
33791 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33793 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33797 GUIDIST
=OSX_CARBON_DIST
33798 WXBASEPORT
="_carbon"
33800 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33803 if test "$wxUSE_OSX_COCOA" = 1; then
33805 GUIDIST
=OSX_COCOA_DIST
33807 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33810 if test "$wxUSE_OSX_IPHONE" = 1; then
33814 if test "$wxUSE_OLD_COCOA" = 1; then
33819 if test "$wxUSE_PM" = 1; then
33822 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33823 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33824 if test "${wx_cv_spbcdata+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 cat >conftest.
$ac_ext <<_ACEOF
33831 cat confdefs.h
>>conftest.
$ac_ext
33832 cat >>conftest.
$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33848 rm -f conftest.
$ac_objext
33849 if { (ac_try
="$ac_compile"
33850 case "(($ac_try" in
33851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33852 *) ac_try_echo=$ac_try;;
33854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33855 (eval "$ac_compile") 2>conftest.er1
33857 grep -v '^ *+' conftest.er1 >conftest.err
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } && {
33862 test -z "$ac_c_werror_flag" ||
33863 test ! -s conftest.err
33864 } && test -s conftest.$ac_objext; then
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33878 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33879 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33881 if test $wx_cv_spbcdata = "yes"; then
33882 cat >>confdefs.h <<\_ACEOF
33883 #define HAVE_SPBCDATA 1
33889 if test "$TOOLKIT" = "PM" ; then
33892 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33895 if test "$wxUSE_UNIVERSAL" = "yes"; then
33896 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33900 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33901 DISTDIR="wx\$(TOOLKIT)"
33907 if test "$USE_WIN32" = 1 ; then
33911 GUIDIST="BASE_DIST"
33917 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33918 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33919 wxUSE_UNICODE_UTF8=yes
33920 elif test "$USE_OS2" = 1 ; then
33921 wxUSE_UNICODE_UTF8=yes
33923 wxUSE_UNICODE_UTF8=no
33928 if test "$wxUSE_GUI" = "yes"; then
33929 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33931 for ac_header in X11/Xlib.h
33933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33934 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 cat >conftest.$ac_ext <<_ACEOF
33942 cat confdefs.h >>conftest.$ac_ext
33943 cat >>conftest.$ac_ext <<_ACEOF
33944 /* end confdefs.h. */
33947 #include <$ac_header>
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33953 *) ac_try_echo
=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33958 grep -v '^ *+' conftest.er1
>conftest.err
33960 cat conftest.err
>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.
$ac_objext; then
33966 eval "$as_ac_Header=yes"
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.
$ac_ext >&5
33971 eval "$as_ac_Header=no"
33974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33976 ac_res
=`eval echo '${'$as_ac_Header'}'`
33977 { echo "$as_me:$LINENO: result: $ac_res" >&5
33978 echo "${ECHO_T}$ac_res" >&6; }
33979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33980 cat >>confdefs.h
<<_ACEOF
33981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33989 for ac_header
in X
11/XKBlib.h
33991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33994 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34004 #if HAVE_X11_XLIB_H
34005 #include <X11/Xlib.h>
34009 #include <$ac_header>
34011 rm -f conftest.
$ac_objext
34012 if { (ac_try
="$ac_compile"
34013 case "(($ac_try" in
34014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_compile") 2>conftest.er1
34020 grep -v '^ *+' conftest.er1 >conftest.err
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } && {
34025 test -z "$ac_c_werror_flag" ||
34026 test ! -s conftest.err
34027 } && test -s conftest.$ac_objext; then
34028 eval "$as_ac_Header=yes"
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34033 eval "$as_ac_Header=no"
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34038 ac_res=`eval echo '${'$as_ac_Header'}'`
34039 { echo "$as_me:$LINENO: result: $ac_res" >&5
34040 echo "${ECHO_T}$ac_res" >&6; }
34041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34042 cat >>confdefs.h <<_ACEOF
34043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34056 if test "$wxUSE_DISPLAY" = "yes"; then
34057 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34058 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34059 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34062 for ac_dir in $SEARCH_LIB;
34064 for ac_extension in a so sl dylib dll.a; do
34065 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34066 ac_find_libraries=$ac_dir
34072 if test "$ac_find_libraries" != "" ; then
34074 if test "$ac_find_libraries" = "default location"; then
34077 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34079 if test $result = 0; then
34082 ac_path_to_link=" -L$ac_find_libraries"
34086 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34087 LDFLAGS="$LDFLAGS $ac_path_to_link"
34090 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34091 { echo "$as_me:$LINENO: result: yes" >&5
34092 echo "${ECHO_T}yes" >&6; }
34094 { echo "$as_me:$LINENO: result: no" >&5
34095 echo "${ECHO_T}no" >&6; }
34096 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34097 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34100 elif test "$wxUSE_MSW" = 1; then
34101 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34102 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34103 if test "${ac_cv_header_ddraw_h+set}" = set; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34106 cat >conftest.$ac_ext <<_ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112 #include <windows.h>
34116 rm -f conftest.$ac_objext
34117 if { (ac_try="$ac_compile"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34120 *) ac_try_echo
=$ac_try;;
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_compile") 2>conftest.er1
34125 grep -v '^ *+' conftest.er1
>conftest.err
34127 cat conftest.err
>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } && {
34130 test -z "$ac_c_werror_flag" ||
34131 test ! -s conftest.err
34132 } && test -s conftest.
$ac_objext; then
34133 ac_cv_header_ddraw_h
=yes
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.
$ac_ext >&5
34138 ac_cv_header_ddraw_h
=no
34141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34143 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34144 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34150 if test "$wxUSE_DISPLAY" = "yes"; then
34151 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34152 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34153 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34156 for ac_dir
in $SEARCH_LIB;
34158 for ac_extension
in a so sl dylib dll.a
; do
34159 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34160 ac_find_libraries
=$ac_dir
34166 if test "$ac_find_libraries" != "" ; then
34167 { echo "$as_me:$LINENO: result: yes" >&5
34168 echo "${ECHO_T}yes" >&6; }
34170 for ac_header
in X
11/extensions
/xf86vmode.h
34172 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34175 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 cat >conftest.
$ac_ext <<_ACEOF
34181 cat confdefs.h
>>conftest.
$ac_ext
34182 cat >>conftest.
$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34185 #if HAVE_X11_XLIB_H
34186 #include <X11/Xlib.h>
34190 #include <$ac_header>
34192 rm -f conftest.
$ac_objext
34193 if { (ac_try
="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34196 *) ac_try_echo=$ac_try;;
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34201 grep -v '^ *+' conftest.er1 >conftest.err
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.$ac_objext; then
34209 eval "$as_ac_Header=yes"
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.$ac_ext >&5
34214 eval "$as_ac_Header=no"
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219 ac_res=`eval echo '${'$as_ac_Header'}'`
34220 { echo "$as_me:$LINENO: result: $ac_res" >&5
34221 echo "${ECHO_T}$ac_res" >&6; }
34222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34223 cat >>confdefs.h <<_ACEOF
34224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34227 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34234 { echo "$as_me:$LINENO: result: no" >&5
34235 echo "${ECHO_T}no" >&6; }
34240 if test "$wxUSE_DETECT_SM" = "yes"; then
34241 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34242 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34243 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34246 for ac_dir in $SEARCH_LIB;
34248 for ac_extension in a so sl dylib dll.a; do
34249 if test -f "$ac_dir/libSM.$ac_extension"; then
34250 ac_find_libraries=$ac_dir
34256 if test "$ac_find_libraries" != "" ; then
34258 if test "$ac_find_libraries" = "default location"; then
34261 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34263 if test $result = 0; then
34266 ac_path_to_link=" -L$ac_find_libraries"
34270 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34271 LDFLAGS="$LDFLAGS $ac_path_to_link"
34273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34274 { echo "$as_me:$LINENO: result: yes" >&5
34275 echo "${ECHO_T}yes" >&6; }
34277 { echo "$as_me:$LINENO: result: no" >&5
34278 echo "${ECHO_T}no" >&6; }
34279 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34280 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34281 wxUSE_DETECT_SM="no"
34284 wxUSE_DETECT_SM="no"
34291 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34294 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34295 OPENGL_LIBS="-framework OpenGL -framework AGL"
34296 elif test "$wxUSE_MSW" = 1; then
34297 OPENGL_LIBS="-lopengl32 -lglu32"
34298 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34300 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34301 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34304 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34306 if test -f "$ac_dir/GL/gl.h"; then
34307 ac_find_includes=$ac_dir
34312 if test "$ac_find_includes" != "" ; then
34313 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34314 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34316 if test "x$ac_find_includes" = "x/usr/include"; then
34317 ac_path_to_include=""
34319 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34321 if test $result = 0; then
34322 ac_path_to_include=""
34324 ac_path_to_include=" -I$ac_find_includes"
34328 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34330 { echo "$as_me:$LINENO: result: not found" >&5
34331 echo "${ECHO_T}not found" >&6; }
34334 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34335 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34336 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 cat >conftest.$ac_ext <<_ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34349 rm -f conftest.$ac_objext
34350 if { (ac_try="$ac_compile"
34351 case "(($ac_try" in
34352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34353 *) ac_try_echo
=$ac_try;;
34355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34356 (eval "$ac_compile") 2>conftest.er1
34358 grep -v '^ *+' conftest.er1
>conftest.err
34360 cat conftest.err
>&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); } && {
34363 test -z "$ac_c_werror_flag" ||
34364 test ! -s conftest.err
34365 } && test -s conftest.
$ac_objext; then
34366 ac_cv_header_GL_gl_h
=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.
$ac_ext >&5
34371 ac_cv_header_GL_gl_h
=no
34374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34376 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34377 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34378 if test $ac_cv_header_GL_gl_h = yes; then
34380 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34381 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34382 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 cat >conftest.
$ac_ext <<_ACEOF
34388 cat confdefs.h
>>conftest.
$ac_ext
34389 cat >>conftest.
$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34393 #include <GL/glu.h>
34395 rm -f conftest.
$ac_objext
34396 if { (ac_try
="$ac_compile"
34397 case "(($ac_try" in
34398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34399 *) ac_try_echo=$ac_try;;
34401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34402 (eval "$ac_compile") 2>conftest.er1
34404 grep -v '^ *+' conftest.er1 >conftest.err
34406 cat conftest.err >&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); } && {
34409 test -z "$ac_c_werror_flag" ||
34410 test ! -s conftest.err
34411 } && test -s conftest.$ac_objext; then
34412 ac_cv_header_GL_glu_h=yes
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.$ac_ext >&5
34417 ac_cv_header_GL_glu_h=no
34420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34423 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34424 if test $ac_cv_header_GL_glu_h = yes; then
34428 { echo "$as_me:$LINENO: checking for -lGL" >&5
34429 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34432 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34434 for ac_extension in a so sl dylib dll.a; do
34435 if test -f "$ac_dir/libGL.$ac_extension"; then
34436 ac_find_libraries=$ac_dir
34442 if test "$ac_find_libraries" != "" ; then
34443 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34444 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34447 if test "$ac_find_libraries" = "default location"; then
34450 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34452 if test $result = 0; then
34455 ac_path_to_link=" -L$ac_find_libraries"
34459 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34460 LDFLAGS_GL="$ac_path_to_link"
34463 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34464 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34467 for ac_dir in $SEARCH_LIB;
34469 for ac_extension in a so sl dylib dll.a; do
34470 if test -f "$ac_dir/libGLU.$ac_extension"; then
34471 ac_find_libraries=$ac_dir
34477 if test "$ac_find_libraries" != "" ; then
34479 if test "$ac_find_libraries" = "default location"; then
34482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34484 if test $result = 0; then
34487 ac_path_to_link=" -L$ac_find_libraries"
34491 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34492 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34493 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34497 OPENGL_LIBS="-lGL -lGLU"
34498 { echo "$as_me:$LINENO: result: yes" >&5
34499 echo "${ECHO_T}yes" >&6; }
34501 { echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6; }
34505 { echo "$as_me:$LINENO: result: no" >&5
34506 echo "${ECHO_T}no" >&6; }
34509 if test "$found_gl" != 1; then
34510 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34511 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34514 for ac_dir in $SEARCH_LIB;
34516 for ac_extension in a so sl dylib dll.a; do
34517 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34518 ac_find_libraries=$ac_dir
34524 if test "$ac_find_libraries" != "" ; then
34526 if test "$ac_find_libraries" = "default location"; then
34529 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34531 if test $result = 0; then
34534 ac_path_to_link=" -L$ac_find_libraries"
34538 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34539 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34540 { echo "$as_me:$LINENO: result: yes" >&5
34541 echo "${ECHO_T}yes" >&6; }
34543 { echo "$as_me:$LINENO: result: no" >&5
34544 echo "${ECHO_T}no" >&6; }
34556 if test "x$OPENGL_LIBS" = "x"; then
34557 if test "$wxUSE_OPENGL" = "yes"; then
34558 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34559 echo "$as_me: error: OpenGL libraries not available" >&2;}
34560 { (exit 1); exit 1; }; }
34562 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34563 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34569 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34570 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34574 if test "$wxUSE_OPENGL" = "auto"; then
34578 if test "$wxUSE_OPENGL" = "yes"; then
34580 cat >>confdefs.h <<\_ACEOF
34581 #define wxUSE_OPENGL 1
34584 cat >>confdefs.h <<\_ACEOF
34585 #define wxUSE_GLCANVAS 1
34588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34593 if test -n "$TOOLKIT" ; then
34594 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34599 if test "$wxUSE_SHARED" = "yes"; then
34603 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34604 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34609 if test "$wxUSE_SHARED" = "yes"; then
34613 *-*-cygwin* | *-*-mingw* )
34614 wx_cv_version_script=no
34618 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34619 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34620 if test "${wx_cv_version_script+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 echo "VER_1 { *; };" >conftest.sym
34625 echo "int main() { return 0; }" >conftest.cpp
34628 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34629 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; } ; then
34635 if test -s conftest.stderr ; then
34636 wx_cv_version_script=no
34638 wx_cv_version_script=yes
34641 wx_cv_version_script=no
34644 if test $wx_cv_version_script = yes
34646 echo "struct B { virtual ~B() { } }; \
34647 struct D : public B { }; \
34648 void F() { D d; }" > conftest.cpp
34651 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34652 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34654 (eval $ac_try) 2>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); }; } &&
34659 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34660 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; }
34668 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34669 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }
34676 wx_cv_version_script=yes
34678 wx_cv_version_script=no
34683 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34684 rm -f conftest1.output conftest2.output conftest3.output
34687 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34688 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34690 if test $wx_cv_version_script = yes ; then
34691 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34697 if test "$wxUSE_VISIBILITY" != "no"; then
34700 if test -n "$GCC"; then
34701 CFLAGS_VISIBILITY="-fvisibility=hidden"
34702 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34703 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34704 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34705 if test "${wx_cv_cc_visibility+set}" = set; then
34706 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 wx_save_CXXFLAGS="$CXXFLAGS"
34710 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34712 ac_cpp='$CXXCPP $CPPFLAGS'
34713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34717 cat >conftest.$ac_ext <<_ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34724 /* we need gcc >= 4.0, older versions with visibility support
34725 didn't have class visibility: */
34726 #if defined(__GNUC__) && __GNUC__ < 4
34727 error this gcc is too old;
34730 /* visibility only makes sense for ELF shared libs: */
34731 #if !defined(__ELF__) && !defined(__APPLE__)
34732 error this platform has no visibility;
34735 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34736 extern __attribute__((__visibility__("default"))) int exportedvar;
34737 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34738 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34739 class __attribute__((__visibility__("default"))) Foo {
34751 rm -f conftest.$ac_objext
34752 if { (ac_try="$ac_compile"
34753 case "(($ac_try" in
34754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34755 *) ac_try_echo
=$ac_try;;
34757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34758 (eval "$ac_compile") 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } && {
34765 test -z "$ac_cxx_werror_flag" ||
34766 test ! -s conftest.err
34767 } && test -s conftest.
$ac_objext; then
34768 wx_cv_cc_visibility
=yes
34770 echo "$as_me: failed program was:" >&5
34771 sed 's/^/| /' conftest.
$ac_ext >&5
34773 wx_cv_cc_visibility
=no
34776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34778 ac_cpp
='$CPP $CPPFLAGS'
34779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34783 CXXFLAGS
="$wx_save_CXXFLAGS"
34786 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34787 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34788 if test $wx_cv_cc_visibility = yes; then
34789 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34790 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34791 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34795 wx_save_CXXFLAGS
="$CXXFLAGS"
34796 wx_save_LDFLAGS
="$LDFLAGS"
34797 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34798 LDFLAGS
="$LDFLAGS -shared -fPIC"
34800 ac_cpp
='$CXXCPP $CPPFLAGS'
34801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34805 cat >conftest.
$ac_ext <<_ACEOF
34808 cat confdefs.h
>>conftest.
$ac_ext
34809 cat >>conftest.
$ac_ext <<_ACEOF
34810 /* end confdefs.h. */
34818 std::string s("hello");
34825 rm -f conftest.
$ac_objext conftest
$ac_exeext
34826 if { (ac_try
="$ac_link"
34827 case "(($ac_try" in
34828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34829 *) ac_try_echo=$ac_try;;
34831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34832 (eval "$ac_link") 2>conftest.er1
34834 grep -v '^ *+' conftest.er1 >conftest.err
34836 cat conftest.err >&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } && {
34839 test -z "$ac_cxx_werror_flag" ||
34840 test ! -s conftest.err
34841 } && test -s conftest$ac_exeext &&
34842 $as_test_x conftest$ac_exeext; then
34843 wx_cv_cc_broken_libstdcxx_visibility=no
34845 echo "$as_me: failed program was:" >&5
34846 sed 's/^/| /' conftest.$ac_ext >&5
34848 wx_cv_cc_broken_libstdcxx_visibility=yes
34851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34852 conftest$ac_exeext conftest.$ac_ext
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34859 CXXFLAGS="$wx_save_CXXFLAGS"
34860 LDFLAGS="$wx_save_LDFLAGS"
34863 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34864 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34866 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34867 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34868 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34869 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879 cat >conftest.$ac_ext <<_ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34886 #pragma GCC visibility push(default)
34888 #pragma GCC visibility pop
34894 std::string s("hello");
34901 rm -f conftest.$ac_objext conftest$ac_exeext
34902 if { (ac_try="$ac_link"
34903 case "(($ac_try" in
34904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34905 *) ac_try_echo
=$ac_try;;
34907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34908 (eval "$ac_link") 2>conftest.er1
34910 grep -v '^ *+' conftest.er1
>conftest.err
34912 cat conftest.err
>&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); } && {
34915 test -z "$ac_cxx_werror_flag" ||
34916 test ! -s conftest.err
34917 } && test -s conftest
$ac_exeext &&
34918 $as_test_x conftest
$ac_exeext; then
34919 wx_cv_cc_visibility_workaround
=no
34921 echo "$as_me: failed program was:" >&5
34922 sed 's/^/| /' conftest.
$ac_ext >&5
34924 wx_cv_cc_visibility_workaround
=yes
34927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34928 conftest
$ac_exeext conftest.
$ac_ext
34930 ac_cpp
='$CPP $CPPFLAGS'
34931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34938 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34939 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34941 if test $wx_cv_cc_visibility_workaround = no
; then
34942 wx_cv_cc_visibility
=no
34947 if test $wx_cv_cc_visibility = yes; then
34948 cat >>confdefs.h
<<\_ACEOF
34949 #define HAVE_VISIBILITY 1
34952 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34953 cat >>confdefs.h
<<\_ACEOF
34954 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34959 CFLAGS_VISIBILITY
=""
34960 CXXFLAGS_VISIBILITY
=""
34968 if test "x$SUNCXX" = xyes
; then
34969 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34970 WXCONFIG_RPATH
="-R\$libdir"
34973 *-*-linux* | *-*-gnu* )
34974 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34975 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34980 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34982 saveLdflags
="$LDFLAGS"
34983 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34984 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34985 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34986 cat >conftest.
$ac_ext <<_ACEOF
34989 cat confdefs.h
>>conftest.
$ac_ext
34990 cat >>conftest.
$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
35001 rm -f conftest.
$ac_objext conftest
$ac_exeext
35002 if { (ac_try
="$ac_link"
35003 case "(($ac_try" in
35004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35005 *) ac_try_echo=$ac_try;;
35007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35008 (eval "$ac_link") 2>conftest.er1
35010 grep -v '^ *+' conftest.er1 >conftest.err
35012 cat conftest.err >&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } && {
35015 test -z "$ac_c_werror_flag" ||
35016 test ! -s conftest.err
35017 } && test -s conftest$ac_exeext &&
35018 $as_test_x conftest$ac_exeext; then
35020 { echo "$as_me:$LINENO: result: yes" >&5
35021 echo "${ECHO_T}yes" >&6; }
35022 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35023 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35026 echo "$as_me: failed program was:" >&5
35027 sed 's/^/| /' conftest.$ac_ext >&5
35030 { echo "$as_me:$LINENO: result: no" >&5
35031 echo "${ECHO_T}no" >&6; }
35032 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35033 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35034 LDFLAGS="$saveLdflags -Wl,-R,/"
35035 cat >conftest.$ac_ext <<_ACEOF
35038 cat confdefs.h >>conftest.$ac_ext
35039 cat >>conftest.$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35050 rm -f conftest.$ac_objext conftest$ac_exeext
35051 if { (ac_try="$ac_link"
35052 case "(($ac_try" in
35053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35054 *) ac_try_echo
=$ac_try;;
35056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35057 (eval "$ac_link") 2>conftest.er1
35059 grep -v '^ *+' conftest.er1
>conftest.err
35061 cat conftest.err
>&5
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); } && {
35064 test -z "$ac_c_werror_flag" ||
35065 test ! -s conftest.err
35066 } && test -s conftest
$ac_exeext &&
35067 $as_test_x conftest
$ac_exeext; then
35069 { echo "$as_me:$LINENO: result: yes" >&5
35070 echo "${ECHO_T}yes" >&6; }
35071 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35072 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.
$ac_ext >&5
35079 { echo "$as_me:$LINENO: result: no" >&5
35080 echo "${ECHO_T}no" >&6; }
35084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35085 conftest
$ac_exeext conftest.
$ac_ext
35089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35090 conftest
$ac_exeext conftest.
$ac_ext
35091 LDFLAGS
="$saveLdflags"
35095 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35096 if test "$install_name_tool" -a -x "$install_name_tool"; then
35097 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35098 cat <<EOF >change-install-names
35100 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35101 for i in \${libnames} ; do
35102 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35103 for dep in \${libnames} ; do
35104 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35108 chmod +x change
-install-names
35109 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35112 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35115 *-*-cygwin* | *-*-mingw32* )
35119 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35120 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35126 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35128 if test $wxUSE_RPATH = "no"; then
35129 SAMPLES_RPATH_FLAG
=''
35130 DYLIB_PATH_POSTLINK
=''
35138 config_linkage_component
="-static"
35145 lib_unicode_suffix
=
35147 if test "$wxUSE_UNICODE" = "yes"; then
35148 lib_unicode_suffix
=u
35149 WX_CHARTYPE
="unicode"
35153 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35154 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35157 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35161 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35163 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35165 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35168 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35169 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35171 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35173 if test "${TOOLKIT_DIR}" = "os2"; then
35174 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35176 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35181 if test "$wxUSE_OLD_COCOA" = 1; then
35184 ac_cpp
='$CPP $CPPFLAGS'
35185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35191 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35192 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35193 cat >conftest.
$ac_ext <<_ACEOF
35196 cat confdefs.h
>>conftest.
$ac_ext
35197 cat >>conftest.
$ac_ext <<_ACEOF
35198 /* end confdefs.h. */
35199 #include <AppKit/NSEvent.h>
35200 #include <CoreFoundation/CoreFoundation.h>
35210 rm -f conftest.
$ac_objext
35211 if { (ac_try
="$ac_compile"
35212 case "(($ac_try" in
35213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35214 *) ac_try_echo=$ac_try;;
35216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35217 (eval "$ac_compile") 2>conftest.er1
35219 grep -v '^ *+' conftest.er1 >conftest.err
35221 cat conftest.err >&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } && {
35224 test -z "$ac_c_werror_flag" ||
35225 test ! -s conftest.err
35226 } && test -s conftest.$ac_objext; then
35227 { echo "$as_me:$LINENO: result: no" >&5
35228 echo "${ECHO_T}no" >&6; }
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.$ac_ext >&5
35233 { echo "$as_me:$LINENO: result: yes" >&5
35234 echo "${ECHO_T}yes" >&6; }
35235 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35236 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35237 cat >conftest.$ac_ext <<_ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 #define __Point__ 1
35244 #include <AppKit/NSEvent.h>
35245 #include <CoreFoundation/CoreFoundation.h>
35255 rm -f conftest.$ac_objext
35256 if { (ac_try="$ac_compile"
35257 case "(($ac_try" in
35258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35259 *) ac_try_echo
=$ac_try;;
35261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35262 (eval "$ac_compile") 2>conftest.er1
35264 grep -v '^ *+' conftest.er1
>conftest.err
35266 cat conftest.err
>&5
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); } && {
35269 test -z "$ac_c_werror_flag" ||
35270 test ! -s conftest.err
35271 } && test -s conftest.
$ac_objext; then
35272 { echo "$as_me:$LINENO: result: yes" >&5
35273 echo "${ECHO_T}yes" >&6; }
35274 cat >>confdefs.h
<<\_ACEOF
35275 #define __Point__ 1
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.
$ac_ext >&5
35283 { { echo "$as_me:$LINENO: error: no
35284 See \`config.log' for more details." >&5
35285 echo "$as_me: error: no
35286 See \`config.log' for more details." >&2;}
35287 { (exit 1); exit 1; }; }
35291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35297 ac_cpp
='$CPP $CPPFLAGS'
35298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35305 { echo "$as_me:$LINENO: checking for mode_t" >&5
35306 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35307 if test "${ac_cv_type_mode_t+set}" = set; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35310 cat >conftest.
$ac_ext <<_ACEOF
35313 cat confdefs.h
>>conftest.
$ac_ext
35314 cat >>conftest.
$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 $ac_includes_default
35317 typedef mode_t ac__type_new_;
35321 if ((ac__type_new_ *) 0)
35323 if (sizeof (ac__type_new_))
35329 rm -f conftest.
$ac_objext
35330 if { (ac_try
="$ac_compile"
35331 case "(($ac_try" in
35332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35333 *) ac_try_echo=$ac_try;;
35335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35336 (eval "$ac_compile") 2>conftest.er1
35338 grep -v '^ *+' conftest.er1 >conftest.err
35340 cat conftest.err >&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); } && {
35343 test -z "$ac_c_werror_flag" ||
35344 test ! -s conftest.err
35345 } && test -s conftest.$ac_objext; then
35346 ac_cv_type_mode_t=yes
35348 echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.$ac_ext >&5
35351 ac_cv_type_mode_t=no
35354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35357 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35358 if test $ac_cv_type_mode_t = yes; then
35362 cat >>confdefs.h <<_ACEOF
35368 { echo "$as_me:$LINENO: checking for off_t" >&5
35369 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35370 if test "${ac_cv_type_off_t+set}" = set; then
35371 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 cat >conftest.$ac_ext <<_ACEOF
35376 cat confdefs.h >>conftest.$ac_ext
35377 cat >>conftest.$ac_ext <<_ACEOF
35378 /* end confdefs.h. */
35379 $ac_includes_default
35380 typedef off_t ac__type_new_;
35384 if ((ac__type_new_ *) 0)
35386 if (sizeof (ac__type_new_))
35392 rm -f conftest.$ac_objext
35393 if { (ac_try="$ac_compile"
35394 case "(($ac_try" in
35395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35396 *) ac_try_echo
=$ac_try;;
35398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35399 (eval "$ac_compile") 2>conftest.er1
35401 grep -v '^ *+' conftest.er1
>conftest.err
35403 cat conftest.err
>&5
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); } && {
35406 test -z "$ac_c_werror_flag" ||
35407 test ! -s conftest.err
35408 } && test -s conftest.
$ac_objext; then
35409 ac_cv_type_off_t
=yes
35411 echo "$as_me: failed program was:" >&5
35412 sed 's/^/| /' conftest.
$ac_ext >&5
35414 ac_cv_type_off_t
=no
35417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35419 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35420 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35421 if test $ac_cv_type_off_t = yes; then
35425 cat >>confdefs.h
<<_ACEOF
35426 #define off_t long int
35431 { echo "$as_me:$LINENO: checking for pid_t" >&5
35432 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35433 if test "${ac_cv_type_pid_t+set}" = set; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 cat >conftest.
$ac_ext <<_ACEOF
35439 cat confdefs.h
>>conftest.
$ac_ext
35440 cat >>conftest.
$ac_ext <<_ACEOF
35441 /* end confdefs.h. */
35442 $ac_includes_default
35443 typedef pid_t ac__type_new_;
35447 if ((ac__type_new_ *) 0)
35449 if (sizeof (ac__type_new_))
35455 rm -f conftest.
$ac_objext
35456 if { (ac_try
="$ac_compile"
35457 case "(($ac_try" in
35458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35459 *) ac_try_echo=$ac_try;;
35461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35462 (eval "$ac_compile") 2>conftest.er1
35464 grep -v '^ *+' conftest.er1 >conftest.err
35466 cat conftest.err >&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } && {
35469 test -z "$ac_c_werror_flag" ||
35470 test ! -s conftest.err
35471 } && test -s conftest.$ac_objext; then
35472 ac_cv_type_pid_t=yes
35474 echo "$as_me: failed program was:" >&5
35475 sed 's/^/| /' conftest.$ac_ext >&5
35477 ac_cv_type_pid_t=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35482 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35483 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35484 if test $ac_cv_type_pid_t = yes; then
35488 cat >>confdefs.h <<_ACEOF
35494 { echo "$as_me:$LINENO: checking for size_t" >&5
35495 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35496 if test "${ac_cv_type_size_t+set}" = set; then
35497 echo $ECHO_N "(cached) $ECHO_C" >&6
35499 cat >conftest.$ac_ext <<_ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 $ac_includes_default
35506 typedef size_t ac__type_new_;
35510 if ((ac__type_new_ *) 0)
35512 if (sizeof (ac__type_new_))
35518 rm -f conftest.$ac_objext
35519 if { (ac_try="$ac_compile"
35520 case "(($ac_try" in
35521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35522 *) ac_try_echo
=$ac_try;;
35524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35525 (eval "$ac_compile") 2>conftest.er1
35527 grep -v '^ *+' conftest.er1
>conftest.err
35529 cat conftest.err
>&5
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); } && {
35532 test -z "$ac_c_werror_flag" ||
35533 test ! -s conftest.err
35534 } && test -s conftest.
$ac_objext; then
35535 ac_cv_type_size_t
=yes
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.
$ac_ext >&5
35540 ac_cv_type_size_t
=no
35543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35545 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35546 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35547 if test $ac_cv_type_size_t = yes; then
35551 cat >>confdefs.h
<<_ACEOF
35552 #define size_t unsigned int
35558 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35559 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35560 if test "${ac_cv_type_ssize_t+set}" = set; then
35561 echo $ECHO_N "(cached) $ECHO_C" >&6
35563 cat >conftest.
$ac_ext <<_ACEOF
35566 cat confdefs.h
>>conftest.
$ac_ext
35567 cat >>conftest.
$ac_ext <<_ACEOF
35568 /* end confdefs.h. */
35569 $ac_includes_default
35570 typedef ssize_t ac__type_new_;
35574 if ((ac__type_new_ *) 0)
35576 if (sizeof (ac__type_new_))
35582 rm -f conftest.
$ac_objext
35583 if { (ac_try
="$ac_compile"
35584 case "(($ac_try" in
35585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35586 *) ac_try_echo=$ac_try;;
35588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35589 (eval "$ac_compile") 2>conftest.er1
35591 grep -v '^ *+' conftest.er1 >conftest.err
35593 cat conftest.err >&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); } && {
35596 test -z "$ac_c_werror_flag" ||
35597 test ! -s conftest.err
35598 } && test -s conftest.$ac_objext; then
35599 ac_cv_type_ssize_t=yes
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35604 ac_cv_type_ssize_t=no
35607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35609 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35610 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35611 if test $ac_cv_type_ssize_t = yes; then
35613 cat >>confdefs.h <<_ACEOF
35614 #define HAVE_SSIZE_T 1
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35627 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35628 if test "${wx_cv_size_t_is_uint+set}" = set; then
35629 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 cat >conftest.$ac_ext <<_ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 #include <stddef.h>
35645 struct Foo { void foo(size_t); void foo(unsigned int); };
35653 rm -f conftest.$ac_objext
35654 if { (ac_try="$ac_compile"
35655 case "(($ac_try" in
35656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35657 *) ac_try_echo
=$ac_try;;
35659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35660 (eval "$ac_compile") 2>conftest.er1
35662 grep -v '^ *+' conftest.er1
>conftest.err
35664 cat conftest.err
>&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); } && {
35667 test -z "$ac_cxx_werror_flag" ||
35668 test ! -s conftest.err
35669 } && test -s conftest.
$ac_objext; then
35670 wx_cv_size_t_is_uint
=no
35672 echo "$as_me: failed program was:" >&5
35673 sed 's/^/| /' conftest.
$ac_ext >&5
35675 wx_cv_size_t_is_uint
=yes
35679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35683 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35684 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35686 if test "$wx_cv_size_t_is_uint" = "yes"; then
35687 cat >>confdefs.h
<<\_ACEOF
35688 #define wxSIZE_T_IS_UINT 1
35692 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35693 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35694 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.
$ac_ext <<_ACEOF
35700 cat confdefs.h
>>conftest.
$ac_ext
35701 cat >>conftest.
$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 #include <stddef.h>
35710 struct Foo { void foo(size_t); void foo(unsigned long); };
35718 rm -f conftest.
$ac_objext
35719 if { (ac_try
="$ac_compile"
35720 case "(($ac_try" in
35721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35722 *) ac_try_echo=$ac_try;;
35724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35725 (eval "$ac_compile") 2>conftest.er1
35727 grep -v '^ *+' conftest.er1 >conftest.err
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } && {
35732 test -z "$ac_cxx_werror_flag" ||
35733 test ! -s conftest.err
35734 } && test -s conftest.$ac_objext; then
35735 wx_cv_size_t_is_ulong=no
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.$ac_ext >&5
35740 wx_cv_size_t_is_ulong=yes
35744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35747 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35748 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35750 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35751 cat >>confdefs.h <<\_ACEOF
35752 #define wxSIZE_T_IS_ULONG 1
35758 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35759 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35760 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 cat >conftest.$ac_ext <<_ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35776 struct Foo { void foo(wchar_t);
35777 void foo(unsigned short);
35778 void foo(unsigned int);
35779 void foo(unsigned long); };
35787 rm -f conftest.$ac_objext
35788 if { (ac_try="$ac_compile"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35791 *) ac_try_echo
=$ac_try;;
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_compile") 2>conftest.er1
35796 grep -v '^ *+' conftest.er1
>conftest.err
35798 cat conftest.err
>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_cxx_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest.
$ac_objext; then
35804 wx_cv_wchar_t_is_separate_type
=yes
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.
$ac_ext >&5
35809 wx_cv_wchar_t_is_separate_type
=no
35813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35816 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35817 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35819 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35820 cat >>confdefs.h
<<\_ACEOF
35821 #define wxWCHAR_T_IS_REAL_TYPE 1
35825 cat >>confdefs.h
<<\_ACEOF
35826 #define wxWCHAR_T_IS_REAL_TYPE 0
35832 ac_cpp
='$CPP $CPPFLAGS'
35833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35838 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35839 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35840 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 cat >conftest.
$ac_ext <<_ACEOF
35847 cat confdefs.h
>>conftest.
$ac_ext
35848 cat >>conftest.
$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35863 rm -f conftest.
$ac_objext
35864 if { (ac_try
="$ac_compile"
35865 case "(($ac_try" in
35866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35867 *) ac_try_echo=$ac_try;;
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_compile") 2>conftest.er1
35872 grep -v '^ *+' conftest.er1 >conftest.err
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest.$ac_objext; then
35881 wx_cv_struct_pw_gecos=yes
35884 echo "$as_me: failed program was:" >&5
35885 sed 's/^/| /' conftest.$ac_ext >&5
35888 wx_cv_struct_pw_gecos=no
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35898 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35900 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35901 cat >>confdefs.h <<\_ACEOF
35902 #define HAVE_PW_GECOS 1
35908 if test "$wxUSE_WCHAR_T" = "yes"; then
35909 cat >>confdefs.h <<\_ACEOF
35910 #define wxUSE_WCHAR_T 1
35917 for ac_func in wcslen
35919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 cat >conftest.$ac_ext <<_ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35933 #define $ac_func innocuous_$ac_func
35935 /* System header to define __stub macros and hopefully few prototypes,
35936 which can conflict with char $ac_func (); below.
35937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35938 <limits.h> exists even on freestanding compilers. */
35941 # include <limits.h>
35943 # include <assert.h>
35948 /* Override any GCC internal prototype to avoid an error.
35949 Use char because int might match the return type of a GCC
35950 builtin and then its argument prototype would still apply. */
35955 /* The GNU C library defines this for functions which it implements
35956 to always fail with ENOSYS. Some functions are actually named
35957 something starting with __ and the normal name is an alias. */
35958 #if defined __stub_$ac_func || defined __stub___$ac_func
35965 return $ac_func ();
35970 rm -f conftest.$ac_objext conftest$ac_exeext
35971 if { (ac_try="$ac_link"
35972 case "(($ac_try" in
35973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35974 *) ac_try_echo
=$ac_try;;
35976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35977 (eval "$ac_link") 2>conftest.er1
35979 grep -v '^ *+' conftest.er1
>conftest.err
35981 cat conftest.err
>&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); } && {
35984 test -z "$ac_c_werror_flag" ||
35985 test ! -s conftest.err
35986 } && test -s conftest
$ac_exeext &&
35987 $as_test_x conftest
$ac_exeext; then
35988 eval "$as_ac_var=yes"
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35993 eval "$as_ac_var=no"
35996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35997 conftest
$ac_exeext conftest.
$ac_ext
35999 ac_res
=`eval echo '${'$as_ac_var'}'`
36000 { echo "$as_me:$LINENO: result: $ac_res" >&5
36001 echo "${ECHO_T}$ac_res" >&6; }
36002 if test `eval echo '${'$as_ac_var'}'` = yes; then
36003 cat >>confdefs.h
<<_ACEOF
36004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36011 if test "$WCSLEN_FOUND" = 0; then
36012 if test "$TOOLKIT" = "MSW"; then
36013 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36014 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36015 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 ac_check_lib_save_LIBS
=$LIBS
36019 LIBS
="-lmsvcrt $LIBS"
36020 cat >conftest.
$ac_ext <<_ACEOF
36023 cat confdefs.h
>>conftest.
$ac_ext
36024 cat >>conftest.
$ac_ext <<_ACEOF
36025 /* end confdefs.h. */
36027 /* Override any GCC internal prototype to avoid an error.
36028 Use char because int might match the return type of a GCC
36029 builtin and then its argument prototype would still apply. */
36042 rm -f conftest.
$ac_objext conftest
$ac_exeext
36043 if { (ac_try
="$ac_link"
36044 case "(($ac_try" in
36045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36046 *) ac_try_echo=$ac_try;;
36048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36049 (eval "$ac_link") 2>conftest.er1
36051 grep -v '^ *+' conftest.er1 >conftest.err
36053 cat conftest.err >&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } && {
36056 test -z "$ac_c_werror_flag" ||
36057 test ! -s conftest.err
36058 } && test -s conftest$ac_exeext &&
36059 $as_test_x conftest$ac_exeext; then
36060 ac_cv_lib_msvcrt_wcslen=yes
36062 echo "$as_me: failed program was:" >&5
36063 sed 's/^/| /' conftest.$ac_ext >&5
36065 ac_cv_lib_msvcrt_wcslen=no
36068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36069 conftest$ac_exeext conftest.$ac_ext
36070 LIBS=$ac_check_lib_save_LIBS
36072 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36073 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36074 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36079 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36080 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36081 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 ac_check_lib_save_LIBS=$LIBS
36086 cat >conftest.$ac_ext <<_ACEOF
36089 cat confdefs.h >>conftest.$ac_ext
36090 cat >>conftest.$ac_ext <<_ACEOF
36091 /* end confdefs.h. */
36093 /* Override any GCC internal prototype to avoid an error.
36094 Use char because int might match the return type of a GCC
36095 builtin and then its argument prototype would still apply. */
36108 rm -f conftest.$ac_objext conftest$ac_exeext
36109 if { (ac_try="$ac_link"
36110 case "(($ac_try" in
36111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36112 *) ac_try_echo
=$ac_try;;
36114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36115 (eval "$ac_link") 2>conftest.er1
36117 grep -v '^ *+' conftest.er1
>conftest.err
36119 cat conftest.err
>&5
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); } && {
36122 test -z "$ac_c_werror_flag" ||
36123 test ! -s conftest.err
36124 } && test -s conftest
$ac_exeext &&
36125 $as_test_x conftest
$ac_exeext; then
36126 ac_cv_lib_w_wcslen
=yes
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.
$ac_ext >&5
36131 ac_cv_lib_w_wcslen
=no
36134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36135 conftest
$ac_exeext conftest.
$ac_ext
36136 LIBS
=$ac_check_lib_save_LIBS
36138 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36139 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36140 if test $ac_cv_lib_w_wcslen = yes; then
36150 if test "$WCSLEN_FOUND" = 1; then
36151 cat >>confdefs.h
<<\_ACEOF
36152 #define HAVE_WCSLEN 1
36162 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36167 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36168 echo $ECHO_N "(cached) $ECHO_C" >&6
36170 cat >conftest.
$ac_ext <<_ACEOF
36173 cat confdefs.h
>>conftest.
$ac_ext
36174 cat >>conftest.
$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36178 #define $ac_func innocuous_$ac_func
36180 /* System header to define __stub macros and hopefully few prototypes,
36181 which can conflict with char $ac_func (); below.
36182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36183 <limits.h> exists even on freestanding compilers. */
36186 # include <limits.h>
36188 # include <assert.h>
36193 /* Override any GCC internal prototype to avoid an error.
36194 Use char because int might match the return type of a GCC
36195 builtin and then its argument prototype would still apply. */
36200 /* The GNU C library defines this for functions which it implements
36201 to always fail with ENOSYS. Some functions are actually named
36202 something starting with __ and the normal name is an alias. */
36203 #if defined __stub_$ac_func || defined __stub___$ac_func
36210 return $ac_func ();
36215 rm -f conftest.
$ac_objext conftest
$ac_exeext
36216 if { (ac_try
="$ac_link"
36217 case "(($ac_try" in
36218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36219 *) ac_try_echo=$ac_try;;
36221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36222 (eval "$ac_link") 2>conftest.er1
36224 grep -v '^ *+' conftest.er1 >conftest.err
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } && {
36229 test -z "$ac_c_werror_flag" ||
36230 test ! -s conftest.err
36231 } && test -s conftest$ac_exeext &&
36232 $as_test_x conftest$ac_exeext; then
36233 eval "$as_ac_var=yes"
36235 echo "$as_me: failed program was:" >&5
36236 sed 's/^/| /' conftest.$ac_ext >&5
36238 eval "$as_ac_var=no"
36241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36242 conftest$ac_exeext conftest.$ac_ext
36244 ac_res=`eval echo '${'$as_ac_var'}'`
36245 { echo "$as_me:$LINENO: result: $ac_res" >&5
36246 echo "${ECHO_T}$ac_res" >&6; }
36247 if test `eval echo '${'$as_ac_var'}'` = yes; then
36248 cat >>confdefs.h <<_ACEOF
36249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36256 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36257 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36260 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36261 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36262 if test "${ac_cv_type_mbstate_t+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 cat >conftest.$ac_ext <<_ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36273 typedef mbstate_t ac__type_new_;
36277 if ((ac__type_new_ *) 0)
36279 if (sizeof (ac__type_new_))
36285 rm -f conftest.$ac_objext
36286 if { (ac_try="$ac_compile"
36287 case "(($ac_try" in
36288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36289 *) ac_try_echo
=$ac_try;;
36291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36292 (eval "$ac_compile") 2>conftest.er1
36294 grep -v '^ *+' conftest.er1
>conftest.err
36296 cat conftest.err
>&5
36297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36298 (exit $ac_status); } && {
36299 test -z "$ac_c_werror_flag" ||
36300 test ! -s conftest.err
36301 } && test -s conftest.
$ac_objext; then
36302 ac_cv_type_mbstate_t
=yes
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.
$ac_ext >&5
36307 ac_cv_type_mbstate_t
=no
36310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36312 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36313 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36314 if test $ac_cv_type_mbstate_t = yes; then
36316 cat >>confdefs.h
<<_ACEOF
36317 #define HAVE_MBSTATE_T 1
36321 for ac_func
in wcsrtombs
36323 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36326 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 cat >conftest.
$ac_ext <<_ACEOF
36332 cat confdefs.h
>>conftest.
$ac_ext
36333 cat >>conftest.
$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36337 #define $ac_func innocuous_$ac_func
36339 /* System header to define __stub macros and hopefully few prototypes,
36340 which can conflict with char $ac_func (); below.
36341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36342 <limits.h> exists even on freestanding compilers. */
36345 # include <limits.h>
36347 # include <assert.h>
36352 /* Override any GCC internal prototype to avoid an error.
36353 Use char because int might match the return type of a GCC
36354 builtin and then its argument prototype would still apply. */
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined __stub_$ac_func || defined __stub___$ac_func
36369 return $ac_func ();
36374 rm -f conftest.
$ac_objext conftest
$ac_exeext
36375 if { (ac_try
="$ac_link"
36376 case "(($ac_try" in
36377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36378 *) ac_try_echo=$ac_try;;
36380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36381 (eval "$ac_link") 2>conftest.er1
36383 grep -v '^ *+' conftest.er1 >conftest.err
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } && {
36388 test -z "$ac_c_werror_flag" ||
36389 test ! -s conftest.err
36390 } && test -s conftest$ac_exeext &&
36391 $as_test_x conftest$ac_exeext; then
36392 eval "$as_ac_var=yes"
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.$ac_ext >&5
36397 eval "$as_ac_var=no"
36400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36401 conftest$ac_exeext conftest.$ac_ext
36403 ac_res=`eval echo '${'$as_ac_var'}'`
36404 { echo "$as_me:$LINENO: result: $ac_res" >&5
36405 echo "${ECHO_T}$ac_res" >&6; }
36406 if test `eval echo '${'$as_ac_var'}'` = yes; then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36417 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36418 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36424 for ac_func in snprintf vsnprintf vsscanf
36426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36429 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36430 echo $ECHO_N "(cached) $ECHO_C" >&6
36432 cat >conftest.$ac_ext <<_ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36440 #define $ac_func innocuous_$ac_func
36442 /* System header to define __stub macros and hopefully few prototypes,
36443 which can conflict with char $ac_func (); below.
36444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36445 <limits.h> exists even on freestanding compilers. */
36448 # include <limits.h>
36450 # include <assert.h>
36455 /* Override any GCC internal prototype to avoid an error.
36456 Use char because int might match the return type of a GCC
36457 builtin and then its argument prototype would still apply. */
36462 /* The GNU C library defines this for functions which it implements
36463 to always fail with ENOSYS. Some functions are actually named
36464 something starting with __ and the normal name is an alias. */
36465 #if defined __stub_$ac_func || defined __stub___$ac_func
36472 return $ac_func ();
36477 rm -f conftest.$ac_objext conftest$ac_exeext
36478 if { (ac_try="$ac_link"
36479 case "(($ac_try" in
36480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36481 *) ac_try_echo
=$ac_try;;
36483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36484 (eval "$ac_link") 2>conftest.er1
36486 grep -v '^ *+' conftest.er1
>conftest.err
36488 cat conftest.err
>&5
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); } && {
36491 test -z "$ac_c_werror_flag" ||
36492 test ! -s conftest.err
36493 } && test -s conftest
$ac_exeext &&
36494 $as_test_x conftest
$ac_exeext; then
36495 eval "$as_ac_var=yes"
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.
$ac_ext >&5
36500 eval "$as_ac_var=no"
36503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36504 conftest
$ac_exeext conftest.
$ac_ext
36506 ac_res
=`eval echo '${'$as_ac_var'}'`
36507 { echo "$as_me:$LINENO: result: $ac_res" >&5
36508 echo "${ECHO_T}$ac_res" >&6; }
36509 if test `eval echo '${'$as_ac_var'}'` = yes; then
36510 cat >>confdefs.h
<<_ACEOF
36511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36519 ac_cpp
='$CXXCPP $CPPFLAGS'
36520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36524 if test "$ac_cv_func_vsnprintf" = "yes"; then
36525 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36526 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36527 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36531 cat >conftest.
$ac_ext <<_ACEOF
36534 cat confdefs.h
>>conftest.
$ac_ext
36535 cat >>conftest.
$ac_ext <<_ACEOF
36536 /* end confdefs.h. */
36539 #include <stdarg.h>
36541 #if __MSL__ >= 0x6000
36543 using namespace std;
36553 vsnprintf(buf, 10u, "%s", ap);
36559 rm -f conftest.
$ac_objext
36560 if { (ac_try
="$ac_compile"
36561 case "(($ac_try" in
36562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36563 *) ac_try_echo=$ac_try;;
36565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36566 (eval "$ac_compile") 2>conftest.er1
36568 grep -v '^ *+' conftest.er1 >conftest.err
36570 cat conftest.err >&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); } && {
36573 test -z "$ac_cxx_werror_flag" ||
36574 test ! -s conftest.err
36575 } && test -s conftest.$ac_objext; then
36576 wx_cv_func_vsnprintf_decl=yes
36578 echo "$as_me: failed program was:" >&5
36579 sed 's/^/| /' conftest.$ac_ext >&5
36581 wx_cv_func_vsnprintf_decl=no
36585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36589 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36590 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36592 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36593 cat >>confdefs.h <<\_ACEOF
36594 #define HAVE_VSNPRINTF_DECL 1
36598 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36599 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36600 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 cat >conftest.$ac_ext <<_ACEOF
36607 cat confdefs.h >>conftest.$ac_ext
36608 cat >>conftest.$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36612 #include <stdarg.h>
36614 #if __MSL__ >= 0x6000
36616 using namespace std;
36626 const char *fmt = "%s";
36627 vsnprintf(buf, 10u, fmt, ap);
36633 rm -f conftest.$ac_objext
36634 if { (ac_try="$ac_compile"
36635 case "(($ac_try" in
36636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36637 *) ac_try_echo
=$ac_try;;
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_compile") 2>conftest.er1
36642 grep -v '^ *+' conftest.er1
>conftest.err
36644 cat conftest.err
>&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest.
$ac_objext; then
36650 wx_cv_func_broken_vsnprintf_decl
=no
36652 echo "$as_me: failed program was:" >&5
36653 sed 's/^/| /' conftest.
$ac_ext >&5
36655 wx_cv_func_broken_vsnprintf_decl
=yes
36659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36663 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36664 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36666 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36667 cat >>confdefs.h
<<\_ACEOF
36668 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36675 if test "$ac_cv_func_snprintf" = "yes"; then
36676 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36677 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36678 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36679 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 cat >conftest.
$ac_ext <<_ACEOF
36685 cat confdefs.h
>>conftest.
$ac_ext
36686 cat >>conftest.
$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36690 #include <stdarg.h>
36692 #if __MSL__ >= 0x6000
36694 using namespace std;
36703 snprintf(buf, 10u, "%s", "wx");
36709 rm -f conftest.
$ac_objext
36710 if { (ac_try
="$ac_compile"
36711 case "(($ac_try" in
36712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36713 *) ac_try_echo=$ac_try;;
36715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36716 (eval "$ac_compile") 2>conftest.er1
36718 grep -v '^ *+' conftest.er1 >conftest.err
36720 cat conftest.err >&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); } && {
36723 test -z "$ac_cxx_werror_flag" ||
36724 test ! -s conftest.err
36725 } && test -s conftest.$ac_objext; then
36726 wx_cv_func_snprintf_decl=yes
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.$ac_ext >&5
36731 wx_cv_func_snprintf_decl=no
36735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36739 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36740 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36742 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36743 cat >>confdefs.h <<\_ACEOF
36744 #define HAVE_SNPRINTF_DECL 1
36749 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36751 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36752 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36753 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36757 if test "$cross_compiling" = yes; then
36759 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36760 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36761 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36762 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36763 wx_cv_func_snprintf_pos_params=no
36767 cat >conftest.$ac_ext <<_ACEOF
36770 cat confdefs.h >>conftest.$ac_ext
36771 cat >>conftest.$ac_ext <<_ACEOF
36772 /* end confdefs.h. */
36779 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36780 if (strcmp ("2 3 1", buffer) == 0)
36786 rm -f conftest$ac_exeext
36787 if { (ac_try="$ac_link"
36788 case "(($ac_try" in
36789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36790 *) ac_try_echo
=$ac_try;;
36792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36793 (eval "$ac_link") 2>&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36797 { (case "(($ac_try" in
36798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_try") 2>&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 wx_cv_func_snprintf_pos_params=no
36808 echo "$as_me: program exited with status $ac_status" >&5
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36812 ( exit $ac_status )
36813 wx_cv_func_snprintf_pos_params=yes
36815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36822 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36823 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36825 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36826 cat >>confdefs.h <<\_ACEOF
36827 #define HAVE_UNIX98_PRINTF 1
36834 if test "$ac_cv_func_vsscanf" = "yes"; then
36835 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36836 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36837 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 cat >conftest.$ac_ext <<_ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36849 #include <stdarg.h>
36851 #if __MSL__ >= 0x6000
36853 using namespace std;
36863 vsscanf(buf, "%s", args);
36869 rm -f conftest.$ac_objext
36870 if { (ac_try="$ac_compile"
36871 case "(($ac_try" in
36872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36873 *) ac_try_echo
=$ac_try;;
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_compile") 2>conftest.er1
36878 grep -v '^ *+' conftest.er1
>conftest.err
36880 cat conftest.err
>&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); } && {
36883 test -z "$ac_cxx_werror_flag" ||
36884 test ! -s conftest.err
36885 } && test -s conftest.
$ac_objext; then
36886 wx_cv_func_vsscanf_decl
=yes
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.
$ac_ext >&5
36891 wx_cv_func_vsscanf_decl
=no
36895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36899 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36900 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36902 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36903 cat >>confdefs.h
<<\_ACEOF
36904 #define HAVE_VSSCANF_DECL 1
36910 ac_cpp
='$CPP $CPPFLAGS'
36911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36916 if test "$wxUSE_UNICODE" = yes; then
36918 wchar_headers
="#include <stdio.h>
36919 #include <wchar.h>"
36923 for ac_header
in widec.h
36925 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36928 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 cat >conftest.
$ac_ext <<_ACEOF
36934 cat confdefs.h
>>conftest.
$ac_ext
36935 cat >>conftest.
$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36939 #include <$ac_header>
36941 rm -f conftest.
$ac_objext
36942 if { (ac_try
="$ac_compile"
36943 case "(($ac_try" in
36944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_compile") 2>conftest.er1
36950 grep -v '^ *+' conftest.er1 >conftest.err
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_c_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest.$ac_objext; then
36958 eval "$as_ac_Header=yes"
36960 echo "$as_me: failed program was:" >&5
36961 sed 's/^/| /' conftest.$ac_ext >&5
36963 eval "$as_ac_Header=no"
36966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_res=`eval echo '${'$as_ac_Header'}'`
36969 { echo "$as_me:$LINENO: result: $ac_res" >&5
36970 echo "${ECHO_T}$ac_res" >&6; }
36971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36972 cat >>confdefs.h <<_ACEOF
36973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36980 if test "$ac_cv_header_widec_h" = "yes"; then
36981 wchar_headers="$wchar_headers
36982 #include <widec.h>"
36987 for wx_func in putws fputws wprintf vswprintf vswscanf
36989 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36990 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36991 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36995 cat >conftest.$ac_ext <<_ACEOF
36999 cat confdefs.h >>conftest.$ac_ext
37000 cat >>conftest.$ac_ext <<_ACEOF
37001 /* end confdefs.h. */
37004 $ac_includes_default
37020 rm -f conftest.$ac_objext conftest$ac_exeext
37021 if { (ac_try="$ac_link"
37022 case "(($ac_try" in
37023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37024 *) ac_try_echo
=$ac_try;;
37026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37027 (eval "$ac_link") 2>conftest.er1
37029 grep -v '^ *+' conftest.er1
>conftest.err
37031 cat conftest.err
>&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } && {
37034 test -z "$ac_c_werror_flag" ||
37035 test ! -s conftest.err
37036 } && test -s conftest
$ac_exeext &&
37037 $as_test_x conftest
$ac_exeext; then
37038 eval wx_cv_func_
$wx_func=yes
37040 echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.
$ac_ext >&5
37043 eval wx_cv_func_
$wx_func=no
37046 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37047 conftest
$ac_exeext conftest.
$ac_ext
37050 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37051 { echo "$as_me:$LINENO: result: $ac_res" >&5
37052 echo "${ECHO_T}$ac_res" >&6; }
37054 if eval test \
$wx_cv_func_$wx_func = yes
37056 cat >>confdefs.h
<<_ACEOF
37057 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37068 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37069 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37070 cat >conftest.
$ac_ext <<_ACEOF
37073 cat confdefs.h
>>conftest.
$ac_ext
37074 cat >>conftest.
$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37085 rm -f conftest.
$ac_objext
37086 if { (ac_try
="$ac_compile"
37087 case "(($ac_try" in
37088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37089 *) ac_try_echo=$ac_try;;
37091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37092 (eval "$ac_compile") 2>conftest.er1
37094 grep -v '^ *+' conftest.er1 >conftest.err
37096 cat conftest.err >&5
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); } && {
37099 test -z "$ac_c_werror_flag" ||
37100 test ! -s conftest.err
37101 } && test -s conftest.$ac_objext; then
37102 { echo "$as_me:$LINENO: result: yes" >&5
37103 echo "${ECHO_T}yes" >&6; }
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE__VSNWPRINTF 1
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.$ac_ext >&5
37112 { echo "$as_me:$LINENO: result: no" >&5
37113 echo "${ECHO_T}no" >&6; }
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37119 if test "$wxUSE_FILE" = "yes"; then
37121 for wx_func in fsync
37123 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37124 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37125 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 cat >conftest.$ac_ext <<_ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37138 $ac_includes_default
37154 rm -f conftest.$ac_objext conftest$ac_exeext
37155 if { (ac_try="$ac_link"
37156 case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37158 *) ac_try_echo
=$ac_try;;
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_link") 2>conftest.er1
37163 grep -v '^ *+' conftest.er1
>conftest.err
37165 cat conftest.err
>&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest
$ac_exeext &&
37171 $as_test_x conftest
$ac_exeext; then
37172 eval wx_cv_func_
$wx_func=yes
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.
$ac_ext >&5
37177 eval wx_cv_func_
$wx_func=no
37180 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37181 conftest
$ac_exeext conftest.
$ac_ext
37184 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37185 { echo "$as_me:$LINENO: result: $ac_res" >&5
37186 echo "${ECHO_T}$ac_res" >&6; }
37188 if eval test \
$wx_cv_func_$wx_func = yes
37190 cat >>confdefs.h
<<_ACEOF
37191 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37204 ac_cpp
='$CXXCPP $CPPFLAGS'
37205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37210 for wx_func
in round
37212 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37213 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37214 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37218 cat >conftest.
$ac_ext <<_ACEOF
37222 cat confdefs.h
>>conftest.
$ac_ext
37223 cat >>conftest.
$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37227 $ac_includes_default
37243 rm -f conftest.
$ac_objext conftest
$ac_exeext
37244 if { (ac_try
="$ac_link"
37245 case "(($ac_try" in
37246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37247 *) ac_try_echo=$ac_try;;
37249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37250 (eval "$ac_link") 2>conftest.er1
37252 grep -v '^ *+' conftest.er1 >conftest.err
37254 cat conftest.err >&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } && {
37257 test -z "$ac_cxx_werror_flag" ||
37258 test ! -s conftest.err
37259 } && test -s conftest$ac_exeext &&
37260 $as_test_x conftest$ac_exeext; then
37261 eval wx_cv_func_$wx_func=yes
37263 echo "$as_me: failed program was:" >&5
37264 sed 's/^/| /' conftest.$ac_ext >&5
37266 eval wx_cv_func_$wx_func=no
37269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37270 conftest$ac_exeext conftest.$ac_ext
37273 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37274 { echo "$as_me:$LINENO: result: $ac_res" >&5
37275 echo "${ECHO_T}$ac_res" >&6; }
37277 if eval test \$wx_cv_func_$wx_func = yes
37279 cat >>confdefs.h <<_ACEOF
37280 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37297 if test "$TOOLKIT" != "MSW"; then
37299 if test "$wxUSE_LIBICONV" != "no" ; then
37303 # Check whether --with-libiconv-prefix was given.
37304 if test "${with_libiconv_prefix+set}" = set; then
37305 withval=$with_libiconv_prefix;
37306 for dir in `echo "$withval" | tr : ' '`; do
37307 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37308 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37314 { echo "$as_me:$LINENO: checking for iconv" >&5
37315 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37316 if test "${am_cv_func_iconv+set}" = set; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 am_cv_func_iconv="no, consider installing GNU libiconv"
37322 cat >conftest.$ac_ext <<_ACEOF
37325 cat confdefs.h >>conftest.$ac_ext
37326 cat >>conftest.$ac_ext <<_ACEOF
37327 /* end confdefs.h. */
37328 #include <stdlib.h>
37333 iconv_t cd = iconv_open("","");
37334 iconv(cd,NULL,NULL,NULL,NULL);
37340 rm -f conftest.$ac_objext conftest$ac_exeext
37341 if { (ac_try="$ac_link"
37342 case "(($ac_try" in
37343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37344 *) ac_try_echo
=$ac_try;;
37346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37347 (eval "$ac_link") 2>conftest.er1
37349 grep -v '^ *+' conftest.er1
>conftest.err
37351 cat conftest.err
>&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); } && {
37354 test -z "$ac_c_werror_flag" ||
37355 test ! -s conftest.err
37356 } && test -s conftest
$ac_exeext &&
37357 $as_test_x conftest
$ac_exeext; then
37358 am_cv_func_iconv
=yes
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.
$ac_ext >&5
37366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37367 conftest
$ac_exeext conftest.
$ac_ext
37368 if test "$am_cv_func_iconv" != yes; then
37369 am_save_LIBS
="$LIBS"
37370 LIBS
="$LIBS -liconv"
37371 cat >conftest.
$ac_ext <<_ACEOF
37374 cat confdefs.h
>>conftest.
$ac_ext
37375 cat >>conftest.
$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 #include <stdlib.h>
37382 iconv_t cd = iconv_open("","");
37383 iconv(cd,NULL,NULL,NULL,NULL);
37389 rm -f conftest.
$ac_objext conftest
$ac_exeext
37390 if { (ac_try
="$ac_link"
37391 case "(($ac_try" in
37392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37393 *) ac_try_echo=$ac_try;;
37395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37396 (eval "$ac_link") 2>conftest.er1
37398 grep -v '^ *+' conftest.er1 >conftest.err
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } && {
37403 test -z "$ac_c_werror_flag" ||
37404 test ! -s conftest.err
37405 } && test -s conftest$ac_exeext &&
37406 $as_test_x conftest$ac_exeext; then
37407 am_cv_lib_iconv=yes
37408 am_cv_func_iconv=yes
37410 echo "$as_me: failed program was:" >&5
37411 sed 's/^/| /' conftest.$ac_ext >&5
37416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37417 conftest$ac_exeext conftest.$ac_ext
37418 LIBS="$am_save_LIBS"
37422 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37423 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37424 if test "$am_cv_func_iconv" = yes; then
37426 cat >>confdefs.h <<\_ACEOF
37427 #define HAVE_ICONV 1
37430 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37431 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37432 if test "${wx_cv_func_iconv_const+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37435 cat >conftest.$ac_ext <<_ACEOF
37438 cat confdefs.h >>conftest.$ac_ext
37439 cat >>conftest.$ac_ext <<_ACEOF
37440 /* end confdefs.h. */
37442 #include <stdlib.h>
37448 #if defined(__STDC__) || defined(__cplusplus)
37449 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37462 rm -f conftest.$ac_objext
37463 if { (ac_try="$ac_compile"
37464 case "(($ac_try" in
37465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37466 *) ac_try_echo
=$ac_try;;
37468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37469 (eval "$ac_compile") 2>conftest.er1
37471 grep -v '^ *+' conftest.er1
>conftest.err
37473 cat conftest.err
>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } && {
37476 test -z "$ac_c_werror_flag" ||
37477 test ! -s conftest.err
37478 } && test -s conftest.
$ac_objext; then
37479 wx_cv_func_iconv_const
="no"
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.
$ac_ext >&5
37484 wx_cv_func_iconv_const
="yes"
37488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37491 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37492 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37495 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37496 iconv_const
="const"
37500 cat >>confdefs.h
<<_ACEOF
37501 #define ICONV_CONST $iconv_const
37506 if test "$am_cv_lib_iconv" = yes; then
37511 LIBS
="$LIBICONV $LIBS"
37514 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37516 for ac_func
in sigaction
37518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37521 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 cat >conftest.
$ac_ext <<_ACEOF
37527 cat confdefs.h
>>conftest.
$ac_ext
37528 cat >>conftest.
$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37532 #define $ac_func innocuous_$ac_func
37534 /* System header to define __stub macros and hopefully few prototypes,
37535 which can conflict with char $ac_func (); below.
37536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37537 <limits.h> exists even on freestanding compilers. */
37540 # include <limits.h>
37542 # include <assert.h>
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined __stub_$ac_func || defined __stub___$ac_func
37564 return $ac_func ();
37569 rm -f conftest.
$ac_objext conftest
$ac_exeext
37570 if { (ac_try
="$ac_link"
37571 case "(($ac_try" in
37572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37573 *) ac_try_echo=$ac_try;;
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_link") 2>conftest.er1
37578 grep -v '^ *+' conftest.er1 >conftest.err
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest$ac_exeext &&
37586 $as_test_x conftest$ac_exeext; then
37587 eval "$as_ac_var=yes"
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.$ac_ext >&5
37592 eval "$as_ac_var=no"
37595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37596 conftest$ac_exeext conftest.$ac_ext
37598 ac_res=`eval echo '${'$as_ac_var'}'`
37599 { echo "$as_me:$LINENO: result: $ac_res" >&5
37600 echo "${ECHO_T}$ac_res" >&6; }
37601 if test `eval echo '${'$as_ac_var'}'` = yes; then
37602 cat >>confdefs.h <<_ACEOF
37603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37610 if test "$ac_cv_func_sigaction" = "no"; then
37611 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37612 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37613 wxUSE_ON_FATAL_EXCEPTION=no
37616 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37617 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37618 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37619 if test "${wx_cv_type_sa_handler+set}" = set; then
37620 echo $ECHO_N "(cached) $ECHO_C" >&6
37624 ac_cpp='$CXXCPP $CPPFLAGS'
37625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37629 cat >conftest.$ac_ext <<_ACEOF
37632 cat confdefs.h >>conftest.$ac_ext
37633 cat >>conftest.$ac_ext <<_ACEOF
37634 /* end confdefs.h. */
37635 #include <signal.h>
37640 extern void testSigHandler(int);
37642 struct sigaction sa;
37643 sa.sa_handler = testSigHandler;
37649 rm -f conftest.$ac_objext
37650 if { (ac_try="$ac_compile"
37651 case "(($ac_try" in
37652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37653 *) ac_try_echo
=$ac_try;;
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_compile") 2>conftest.er1
37658 grep -v '^ *+' conftest.er1
>conftest.err
37660 cat conftest.err
>&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_cxx_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest.
$ac_objext; then
37667 wx_cv_type_sa_handler
=int
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.
$ac_ext >&5
37674 wx_cv_type_sa_handler
=void
37678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37680 ac_cpp
='$CPP $CPPFLAGS'
37681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37687 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37688 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37690 cat >>confdefs.h
<<_ACEOF
37691 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37697 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37698 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37699 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37700 if test "${wx_cv_func_backtrace+set}" = set; then
37701 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 ac_cpp
='$CXXCPP $CPPFLAGS'
37706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37710 cat >conftest.
$ac_ext <<_ACEOF
37713 cat confdefs.h
>>conftest.
$ac_ext
37714 cat >>conftest.
$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37716 #include <execinfo.h>
37724 backtrace(trace, 1);
37725 messages = backtrace_symbols(trace, 1);
37731 rm -f conftest.
$ac_objext
37732 if { (ac_try
="$ac_compile"
37733 case "(($ac_try" in
37734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37735 *) ac_try_echo=$ac_try;;
37737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37738 (eval "$ac_compile") 2>conftest.er1
37740 grep -v '^ *+' conftest.er1 >conftest.err
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } && {
37745 test -z "$ac_cxx_werror_flag" ||
37746 test ! -s conftest.err
37747 } && test -s conftest.$ac_objext; then
37748 wx_cv_func_backtrace=yes
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37753 wx_cv_func_backtrace=no
37757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37759 ac_cpp='$CPP $CPPFLAGS'
37760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37768 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37771 if test "$wx_cv_func_backtrace" = "no"; then
37772 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37773 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37774 wxUSE_STACKWALKER=no
37776 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37777 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37778 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37779 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37788 cat >conftest.$ac_ext <<_ACEOF
37791 cat confdefs.h >>conftest.$ac_ext
37792 cat >>conftest.$ac_ext <<_ACEOF
37793 /* end confdefs.h. */
37794 #include <cxxabi.h>
37800 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37806 rm -f conftest.$ac_objext conftest$ac_exeext
37807 if { (ac_try="$ac_link"
37808 case "(($ac_try" in
37809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37810 *) ac_try_echo
=$ac_try;;
37812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37813 (eval "$ac_link") 2>conftest.er1
37815 grep -v '^ *+' conftest.er1
>conftest.err
37817 cat conftest.err
>&5
37818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819 (exit $ac_status); } && {
37820 test -z "$ac_cxx_werror_flag" ||
37821 test ! -s conftest.err
37822 } && test -s conftest
$ac_exeext &&
37823 $as_test_x conftest
$ac_exeext; then
37824 wx_cv_func_cxa_demangle
=yes
37826 echo "$as_me: failed program was:" >&5
37827 sed 's/^/| /' conftest.
$ac_ext >&5
37829 wx_cv_func_cxa_demangle
=no
37833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37834 conftest
$ac_exeext conftest.
$ac_ext
37836 ac_cpp
='$CPP $CPPFLAGS'
37837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37844 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37845 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37847 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37848 cat >>confdefs.h
<<\_ACEOF
37849 #define HAVE_CXA_DEMANGLE 1
37856 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37857 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37858 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37859 wxUSE_STACKWALKER
=no
37865 for ac_func
in mkstemp mktemp
37867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37870 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37873 cat >conftest.
$ac_ext <<_ACEOF
37876 cat confdefs.h
>>conftest.
$ac_ext
37877 cat >>conftest.
$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37881 #define $ac_func innocuous_$ac_func
37883 /* System header to define __stub macros and hopefully few prototypes,
37884 which can conflict with char $ac_func (); below.
37885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37886 <limits.h> exists even on freestanding compilers. */
37889 # include <limits.h>
37891 # include <assert.h>
37896 /* Override any GCC internal prototype to avoid an error.
37897 Use char because int might match the return type of a GCC
37898 builtin and then its argument prototype would still apply. */
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined __stub_$ac_func || defined __stub___$ac_func
37913 return $ac_func ();
37918 rm -f conftest.
$ac_objext conftest
$ac_exeext
37919 if { (ac_try
="$ac_link"
37920 case "(($ac_try" in
37921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_link") 2>conftest.er1
37927 grep -v '^ *+' conftest.er1 >conftest.err
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest$ac_exeext &&
37935 $as_test_x conftest$ac_exeext; then
37936 eval "$as_ac_var=yes"
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37941 eval "$as_ac_var=no"
37944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37945 conftest$ac_exeext conftest.$ac_ext
37947 ac_res=`eval echo '${'$as_ac_var'}'`
37948 { echo "$as_me:$LINENO: result: $ac_res" >&5
37949 echo "${ECHO_T}$ac_res" >&6; }
37950 if test `eval echo '${'$as_ac_var'}'` = yes; then
37951 cat >>confdefs.h <<_ACEOF
37952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37959 { echo "$as_me:$LINENO: checking for statfs" >&5
37960 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37961 if test "${wx_cv_func_statfs+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 cat >conftest.$ac_ext <<_ACEOF
37967 cat confdefs.h >>conftest.$ac_ext
37968 cat >>conftest.$ac_ext <<_ACEOF
37969 /* end confdefs.h. */
37971 #if defined(__BSD__)
37972 #include <sys/param.h>
37973 #include <sys/mount.h>
37975 #include <sys/vfs.h>
37993 rm -f conftest.$ac_objext
37994 if { (ac_try="$ac_compile"
37995 case "(($ac_try" in
37996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37997 *) ac_try_echo
=$ac_try;;
37999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38000 (eval "$ac_compile") 2>conftest.er1
38002 grep -v '^ *+' conftest.er1
>conftest.err
38004 cat conftest.err
>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } && {
38007 test -z "$ac_c_werror_flag" ||
38008 test ! -s conftest.err
38009 } && test -s conftest.
$ac_objext; then
38010 wx_cv_func_statfs
=yes
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.
$ac_ext >&5
38015 wx_cv_func_statfs
=no
38019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38022 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38023 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38025 if test "$wx_cv_func_statfs" = "yes"; then
38026 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38027 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38028 if test "${wx_cv_func_statfs_decl+set}" = set; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 ac_cpp
='$CXXCPP $CPPFLAGS'
38033 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38037 cat >conftest.
$ac_ext <<_ACEOF
38040 cat confdefs.h
>>conftest.
$ac_ext
38041 cat >>conftest.
$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38044 #if defined(__BSD__)
38045 #include <sys/param.h>
38046 #include <sys/mount.h>
38048 #include <sys/vfs.h>
38062 rm -f conftest.
$ac_objext
38063 if { (ac_try
="$ac_compile"
38064 case "(($ac_try" in
38065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_compile") 2>conftest.er1
38071 grep -v '^ *+' conftest.er1 >conftest.err
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_cxx_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest.$ac_objext; then
38079 wx_cv_func_statfs_decl=yes
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38084 wx_cv_func_statfs_decl=no
38088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38090 ac_cpp='$CPP $CPPFLAGS'
38091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38097 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38098 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38100 if test "$wx_cv_func_statfs_decl" = "yes"; then
38101 cat >>confdefs.h <<\_ACEOF
38102 #define HAVE_STATFS_DECL 1
38107 wx_cv_type_statvfs_t="struct statfs"
38108 cat >>confdefs.h <<\_ACEOF
38109 #define HAVE_STATFS 1
38113 { echo "$as_me:$LINENO: checking for statvfs" >&5
38114 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38115 if test "${wx_cv_func_statvfs+set}" = set; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38125 #include <stddef.h>
38126 #include <sys/statvfs.h>
38132 statvfs("/", NULL);
38138 rm -f conftest.$ac_objext
38139 if { (ac_try="$ac_compile"
38140 case "(($ac_try" in
38141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38142 *) ac_try_echo
=$ac_try;;
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_compile") 2>conftest.er1
38147 grep -v '^ *+' conftest.er1
>conftest.err
38149 cat conftest.err
>&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } && {
38152 test -z "$ac_c_werror_flag" ||
38153 test ! -s conftest.err
38154 } && test -s conftest.
$ac_objext; then
38155 wx_cv_func_statvfs
=yes
38157 echo "$as_me: failed program was:" >&5
38158 sed 's/^/| /' conftest.
$ac_ext >&5
38160 wx_cv_func_statvfs
=no
38164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38167 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38168 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38170 if test "$wx_cv_func_statvfs" = "yes"; then
38171 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38172 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38173 if test "${wx_cv_type_statvfs_t+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 ac_cpp
='$CXXCPP $CPPFLAGS'
38178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38182 cat >conftest.
$ac_ext <<_ACEOF
38185 cat confdefs.h
>>conftest.
$ac_ext
38186 cat >>conftest.
$ac_ext <<_ACEOF
38187 /* end confdefs.h. */
38189 #include <sys/statvfs.h>
38206 rm -f conftest.
$ac_objext
38207 if { (ac_try
="$ac_compile"
38208 case "(($ac_try" in
38209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38210 *) ac_try_echo=$ac_try;;
38212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38213 (eval "$ac_compile") 2>conftest.er1
38215 grep -v '^ *+' conftest.er1 >conftest.err
38217 cat conftest.err >&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } && {
38220 test -z "$ac_cxx_werror_flag" ||
38221 test ! -s conftest.err
38222 } && test -s conftest.$ac_objext; then
38223 wx_cv_type_statvfs_t=statvfs_t
38225 echo "$as_me: failed program was:" >&5
38226 sed 's/^/| /' conftest.$ac_ext >&5
38229 cat >conftest.$ac_ext <<_ACEOF
38232 cat confdefs.h >>conftest.$ac_ext
38233 cat >>conftest.$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38236 #include <sys/statvfs.h>
38253 rm -f conftest.$ac_objext
38254 if { (ac_try="$ac_compile"
38255 case "(($ac_try" in
38256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38257 *) ac_try_echo
=$ac_try;;
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_compile") 2>conftest.er1
38262 grep -v '^ *+' conftest.er1
>conftest.err
38264 cat conftest.err
>&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_cxx_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest.
$ac_objext; then
38270 wx_cv_type_statvfs_t
="struct statvfs"
38272 echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.
$ac_ext >&5
38275 wx_cv_type_statvfs_t
="unknown"
38279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38286 ac_cpp
='$CPP $CPPFLAGS'
38287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38293 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38294 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38296 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38297 cat >>confdefs.h
<<\_ACEOF
38298 #define HAVE_STATVFS 1
38303 wx_cv_type_statvfs_t
="unknown"
38307 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38308 cat >>confdefs.h
<<_ACEOF
38309 #define WX_STATFS_T $wx_cv_type_statvfs_t
38313 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38314 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38317 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38320 for ac_func
in fcntl flock
38322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38325 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38326 echo $ECHO_N "(cached) $ECHO_C" >&6
38328 cat >conftest.
$ac_ext <<_ACEOF
38331 cat confdefs.h
>>conftest.
$ac_ext
38332 cat >>conftest.
$ac_ext <<_ACEOF
38333 /* end confdefs.h. */
38334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38336 #define $ac_func innocuous_$ac_func
38338 /* System header to define __stub macros and hopefully few prototypes,
38339 which can conflict with char $ac_func (); below.
38340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38341 <limits.h> exists even on freestanding compilers. */
38344 # include <limits.h>
38346 # include <assert.h>
38351 /* Override any GCC internal prototype to avoid an error.
38352 Use char because int might match the return type of a GCC
38353 builtin and then its argument prototype would still apply. */
38358 /* The GNU C library defines this for functions which it implements
38359 to always fail with ENOSYS. Some functions are actually named
38360 something starting with __ and the normal name is an alias. */
38361 #if defined __stub_$ac_func || defined __stub___$ac_func
38368 return $ac_func ();
38373 rm -f conftest.
$ac_objext conftest
$ac_exeext
38374 if { (ac_try
="$ac_link"
38375 case "(($ac_try" in
38376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38377 *) ac_try_echo=$ac_try;;
38379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38380 (eval "$ac_link") 2>conftest.er1
38382 grep -v '^ *+' conftest.er1 >conftest.err
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } && {
38387 test -z "$ac_c_werror_flag" ||
38388 test ! -s conftest.err
38389 } && test -s conftest$ac_exeext &&
38390 $as_test_x conftest$ac_exeext; then
38391 eval "$as_ac_var=yes"
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38396 eval "$as_ac_var=no"
38399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38400 conftest$ac_exeext conftest.$ac_ext
38402 ac_res=`eval echo '${'$as_ac_var'}'`
38403 { echo "$as_me:$LINENO: result: $ac_res" >&5
38404 echo "${ECHO_T}$ac_res" >&6; }
38405 if test `eval echo '${'$as_ac_var'}'` = yes; then
38406 cat >>confdefs.h <<_ACEOF
38407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38414 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38415 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38416 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38417 wxUSE_SNGLINST_CHECKER=no
38423 for ac_func in setenv putenv
38425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38429 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 cat >conftest.$ac_ext <<_ACEOF
38434 cat confdefs.h >>conftest.$ac_ext
38435 cat >>conftest.$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38439 #define $ac_func innocuous_$ac_func
38441 /* System header to define __stub macros and hopefully few prototypes,
38442 which can conflict with char $ac_func (); below.
38443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38444 <limits.h> exists even on freestanding compilers. */
38447 # include <limits.h>
38449 # include <assert.h>
38454 /* Override any GCC internal prototype to avoid an error.
38455 Use char because int might match the return type of a GCC
38456 builtin and then its argument prototype would still apply. */
38461 /* The GNU C library defines this for functions which it implements
38462 to always fail with ENOSYS. Some functions are actually named
38463 something starting with __ and the normal name is an alias. */
38464 #if defined __stub_$ac_func || defined __stub___$ac_func
38471 return $ac_func ();
38476 rm -f conftest.$ac_objext conftest$ac_exeext
38477 if { (ac_try="$ac_link"
38478 case "(($ac_try" in
38479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38480 *) ac_try_echo
=$ac_try;;
38482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38483 (eval "$ac_link") 2>conftest.er1
38485 grep -v '^ *+' conftest.er1
>conftest.err
38487 cat conftest.err
>&5
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); } && {
38490 test -z "$ac_c_werror_flag" ||
38491 test ! -s conftest.err
38492 } && test -s conftest
$ac_exeext &&
38493 $as_test_x conftest
$ac_exeext; then
38494 eval "$as_ac_var=yes"
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.
$ac_ext >&5
38499 eval "$as_ac_var=no"
38502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38503 conftest
$ac_exeext conftest.
$ac_ext
38505 ac_res
=`eval echo '${'$as_ac_var'}'`
38506 { echo "$as_me:$LINENO: result: $ac_res" >&5
38507 echo "${ECHO_T}$ac_res" >&6; }
38508 if test `eval echo '${'$as_ac_var'}'` = yes; then
38509 cat >>confdefs.h
<<_ACEOF
38510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38516 if test "$ac_cv_func_setenv" = "yes"; then
38518 for ac_func
in unsetenv
38520 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38521 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38523 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38524 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 cat >conftest.
$ac_ext <<_ACEOF
38529 cat confdefs.h
>>conftest.
$ac_ext
38530 cat >>conftest.
$ac_ext <<_ACEOF
38531 /* end confdefs.h. */
38532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38534 #define $ac_func innocuous_$ac_func
38536 /* System header to define __stub macros and hopefully few prototypes,
38537 which can conflict with char $ac_func (); below.
38538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38539 <limits.h> exists even on freestanding compilers. */
38542 # include <limits.h>
38544 # include <assert.h>
38549 /* Override any GCC internal prototype to avoid an error.
38550 Use char because int might match the return type of a GCC
38551 builtin and then its argument prototype would still apply. */
38556 /* The GNU C library defines this for functions which it implements
38557 to always fail with ENOSYS. Some functions are actually named
38558 something starting with __ and the normal name is an alias. */
38559 #if defined __stub_$ac_func || defined __stub___$ac_func
38566 return $ac_func ();
38571 rm -f conftest.
$ac_objext conftest
$ac_exeext
38572 if { (ac_try
="$ac_link"
38573 case "(($ac_try" in
38574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38575 *) ac_try_echo=$ac_try;;
38577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38578 (eval "$ac_link") 2>conftest.er1
38580 grep -v '^ *+' conftest.er1 >conftest.err
38582 cat conftest.err >&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } && {
38585 test -z "$ac_c_werror_flag" ||
38586 test ! -s conftest.err
38587 } && test -s conftest$ac_exeext &&
38588 $as_test_x conftest$ac_exeext; then
38589 eval "$as_ac_var=yes"
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38594 eval "$as_ac_var=no"
38597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38598 conftest$ac_exeext conftest.$ac_ext
38600 ac_res=`eval echo '${'$as_ac_var'}'`
38601 { echo "$as_me:$LINENO: result: $ac_res" >&5
38602 echo "${ECHO_T}$ac_res" >&6; }
38603 if test `eval echo '${'$as_ac_var'}'` = yes; then
38604 cat >>confdefs.h <<_ACEOF
38605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38613 HAVE_SOME_SLEEP_FUNC=0
38614 if test "$USE_BEOS" = 1; then
38615 cat >>confdefs.h <<\_ACEOF
38616 #define HAVE_SLEEP 1
38619 HAVE_SOME_SLEEP_FUNC=1
38622 if test "$USE_DARWIN" = 1; then
38623 cat >>confdefs.h <<\_ACEOF
38624 #define HAVE_USLEEP 1
38627 HAVE_SOME_SLEEP_FUNC=1
38630 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38633 for ac_func in nanosleep
38635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38639 echo $ECHO_N "(cached) $ECHO_C" >&6
38641 cat >conftest.$ac_ext <<_ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38649 #define $ac_func innocuous_$ac_func
38651 /* System header to define __stub macros and hopefully few prototypes,
38652 which can conflict with char $ac_func (); below.
38653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38654 <limits.h> exists even on freestanding compilers. */
38657 # include <limits.h>
38659 # include <assert.h>
38664 /* Override any GCC internal prototype to avoid an error.
38665 Use char because int might match the return type of a GCC
38666 builtin and then its argument prototype would still apply. */
38671 /* The GNU C library defines this for functions which it implements
38672 to always fail with ENOSYS. Some functions are actually named
38673 something starting with __ and the normal name is an alias. */
38674 #if defined __stub_$ac_func || defined __stub___$ac_func
38681 return $ac_func ();
38686 rm -f conftest.$ac_objext conftest$ac_exeext
38687 if { (ac_try="$ac_link"
38688 case "(($ac_try" in
38689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38690 *) ac_try_echo
=$ac_try;;
38692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38693 (eval "$ac_link") 2>conftest.er1
38695 grep -v '^ *+' conftest.er1
>conftest.err
38697 cat conftest.err
>&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } && {
38700 test -z "$ac_c_werror_flag" ||
38701 test ! -s conftest.err
38702 } && test -s conftest
$ac_exeext &&
38703 $as_test_x conftest
$ac_exeext; then
38704 eval "$as_ac_var=yes"
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.
$ac_ext >&5
38709 eval "$as_ac_var=no"
38712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38713 conftest
$ac_exeext conftest.
$ac_ext
38715 ac_res
=`eval echo '${'$as_ac_var'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38718 if test `eval echo '${'$as_ac_var'}'` = yes; then
38719 cat >>confdefs.h
<<_ACEOF
38720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38722 cat >>confdefs.h
<<\_ACEOF
38723 #define HAVE_NANOSLEEP 1
38728 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38729 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38730 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38731 echo $ECHO_N "(cached) $ECHO_C" >&6
38733 ac_check_lib_save_LIBS
=$LIBS
38734 LIBS
="-lposix4 $LIBS"
38735 cat >conftest.
$ac_ext <<_ACEOF
38738 cat confdefs.h
>>conftest.
$ac_ext
38739 cat >>conftest.
$ac_ext <<_ACEOF
38740 /* end confdefs.h. */
38742 /* Override any GCC internal prototype to avoid an error.
38743 Use char because int might match the return type of a GCC
38744 builtin and then its argument prototype would still apply. */
38752 return nanosleep ();
38757 rm -f conftest.
$ac_objext conftest
$ac_exeext
38758 if { (ac_try
="$ac_link"
38759 case "(($ac_try" in
38760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38761 *) ac_try_echo=$ac_try;;
38763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38764 (eval "$ac_link") 2>conftest.er1
38766 grep -v '^ *+' conftest.er1 >conftest.err
38768 cat conftest.err >&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); } && {
38771 test -z "$ac_c_werror_flag" ||
38772 test ! -s conftest.err
38773 } && test -s conftest$ac_exeext &&
38774 $as_test_x conftest$ac_exeext; then
38775 ac_cv_lib_posix4_nanosleep=yes
38777 echo "$as_me: failed program was:" >&5
38778 sed 's/^/| /' conftest.$ac_ext >&5
38780 ac_cv_lib_posix4_nanosleep=no
38783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38784 conftest$ac_exeext conftest.$ac_ext
38785 LIBS=$ac_check_lib_save_LIBS
38787 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38788 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38789 if test $ac_cv_lib_posix4_nanosleep = yes; then
38791 cat >>confdefs.h <<\_ACEOF
38792 #define HAVE_NANOSLEEP 1
38795 POSIX4_LINK=" -lposix4"
38800 for wx_func in usleep
38802 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38803 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38804 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 cat >conftest.$ac_ext <<_ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38817 $ac_includes_default
38833 rm -f conftest.$ac_objext conftest$ac_exeext
38834 if { (ac_try="$ac_link"
38835 case "(($ac_try" in
38836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38837 *) ac_try_echo
=$ac_try;;
38839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38840 (eval "$ac_link") 2>conftest.er1
38842 grep -v '^ *+' conftest.er1
>conftest.err
38844 cat conftest.err
>&5
38845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846 (exit $ac_status); } && {
38847 test -z "$ac_c_werror_flag" ||
38848 test ! -s conftest.err
38849 } && test -s conftest
$ac_exeext &&
38850 $as_test_x conftest
$ac_exeext; then
38851 eval wx_cv_func_
$wx_func=yes
38853 echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.
$ac_ext >&5
38856 eval wx_cv_func_
$wx_func=no
38859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38860 conftest
$ac_exeext conftest.
$ac_ext
38863 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38864 { echo "$as_me:$LINENO: result: $ac_res" >&5
38865 echo "${ECHO_T}$ac_res" >&6; }
38867 if eval test \
$wx_cv_func_$wx_func = yes
38869 cat >>confdefs.h
<<_ACEOF
38870 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38876 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38877 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38894 for wx_func
in uname
38896 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38897 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38898 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 cat >conftest.
$ac_ext <<_ACEOF
38906 cat confdefs.h
>>conftest.
$ac_ext
38907 cat >>conftest.
$ac_ext <<_ACEOF
38908 /* end confdefs.h. */
38910 #include <sys/utsname.h>
38911 $ac_includes_default
38927 rm -f conftest.
$ac_objext conftest
$ac_exeext
38928 if { (ac_try
="$ac_link"
38929 case "(($ac_try" in
38930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38931 *) ac_try_echo=$ac_try;;
38933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38934 (eval "$ac_link") 2>conftest.er1
38936 grep -v '^ *+' conftest.er1 >conftest.err
38938 cat conftest.err >&5
38939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940 (exit $ac_status); } && {
38941 test -z "$ac_c_werror_flag" ||
38942 test ! -s conftest.err
38943 } && test -s conftest$ac_exeext &&
38944 $as_test_x conftest$ac_exeext; then
38945 eval wx_cv_func_$wx_func=yes
38947 echo "$as_me: failed program was:" >&5
38948 sed 's/^/| /' conftest.$ac_ext >&5
38950 eval wx_cv_func_$wx_func=no
38953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38954 conftest$ac_exeext conftest.$ac_ext
38957 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38958 { echo "$as_me:$LINENO: result: $ac_res" >&5
38959 echo "${ECHO_T}$ac_res" >&6; }
38961 if eval test \$wx_cv_func_$wx_func = yes
38963 cat >>confdefs.h <<_ACEOF
38964 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38974 if test "$wx_cv_func_uname" != yes; then
38976 for wx_func in gethostname
38978 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38979 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38980 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38981 echo $ECHO_N "(cached) $ECHO_C" >&6
38984 cat >conftest.$ac_ext <<_ACEOF
38988 cat confdefs.h >>conftest.$ac_ext
38989 cat >>conftest.$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38993 $ac_includes_default
39009 rm -f conftest.$ac_objext conftest$ac_exeext
39010 if { (ac_try="$ac_link"
39011 case "(($ac_try" in
39012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39013 *) ac_try_echo
=$ac_try;;
39015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39016 (eval "$ac_link") 2>conftest.er1
39018 grep -v '^ *+' conftest.er1
>conftest.err
39020 cat conftest.err
>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } && {
39023 test -z "$ac_c_werror_flag" ||
39024 test ! -s conftest.err
39025 } && test -s conftest
$ac_exeext &&
39026 $as_test_x conftest
$ac_exeext; then
39027 eval wx_cv_func_
$wx_func=yes
39029 echo "$as_me: failed program was:" >&5
39030 sed 's/^/| /' conftest.
$ac_ext >&5
39032 eval wx_cv_func_
$wx_func=no
39035 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39036 conftest
$ac_exeext conftest.
$ac_ext
39039 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39040 { echo "$as_me:$LINENO: result: $ac_res" >&5
39041 echo "${ECHO_T}$ac_res" >&6; }
39043 if eval test \
$wx_cv_func_$wx_func = yes
39045 cat >>confdefs.h
<<_ACEOF
39046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39059 for wx_func
in strtok_r
39061 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39062 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39063 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39064 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 cat >conftest.
$ac_ext <<_ACEOF
39071 cat confdefs.h
>>conftest.
$ac_ext
39072 cat >>conftest.
$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39076 $ac_includes_default
39092 rm -f conftest.
$ac_objext conftest
$ac_exeext
39093 if { (ac_try
="$ac_link"
39094 case "(($ac_try" in
39095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39096 *) ac_try_echo=$ac_try;;
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_link") 2>conftest.er1
39101 grep -v '^ *+' conftest.er1 >conftest.err
39103 cat conftest.err >&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_c_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest$ac_exeext &&
39109 $as_test_x conftest$ac_exeext; then
39110 eval wx_cv_func_$wx_func=yes
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39115 eval wx_cv_func_$wx_func=no
39118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39119 conftest$ac_exeext conftest.$ac_ext
39122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39123 { echo "$as_me:$LINENO: result: $ac_res" >&5
39124 echo "${ECHO_T}$ac_res" >&6; }
39126 if eval test \$wx_cv_func_$wx_func = yes
39128 cat >>confdefs.h <<_ACEOF
39129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39142 for ac_func in inet_addr
39144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39145 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39150 cat >conftest.$ac_ext <<_ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39158 #define $ac_func innocuous_$ac_func
39160 /* System header to define __stub macros and hopefully few prototypes,
39161 which can conflict with char $ac_func (); below.
39162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39163 <limits.h> exists even on freestanding compilers. */
39166 # include <limits.h>
39168 # include <assert.h>
39173 /* Override any GCC internal prototype to avoid an error.
39174 Use char because int might match the return type of a GCC
39175 builtin and then its argument prototype would still apply. */
39180 /* The GNU C library defines this for functions which it implements
39181 to always fail with ENOSYS. Some functions are actually named
39182 something starting with __ and the normal name is an alias. */
39183 #if defined __stub_$ac_func || defined __stub___$ac_func
39190 return $ac_func ();
39195 rm -f conftest.$ac_objext conftest$ac_exeext
39196 if { (ac_try="$ac_link"
39197 case "(($ac_try" in
39198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39199 *) ac_try_echo
=$ac_try;;
39201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39202 (eval "$ac_link") 2>conftest.er1
39204 grep -v '^ *+' conftest.er1
>conftest.err
39206 cat conftest.err
>&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); } && {
39209 test -z "$ac_c_werror_flag" ||
39210 test ! -s conftest.err
39211 } && test -s conftest
$ac_exeext &&
39212 $as_test_x conftest
$ac_exeext; then
39213 eval "$as_ac_var=yes"
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.
$ac_ext >&5
39218 eval "$as_ac_var=no"
39221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39222 conftest
$ac_exeext conftest.
$ac_ext
39224 ac_res
=`eval echo '${'$as_ac_var'}'`
39225 { echo "$as_me:$LINENO: result: $ac_res" >&5
39226 echo "${ECHO_T}$ac_res" >&6; }
39227 if test `eval echo '${'$as_ac_var'}'` = yes; then
39228 cat >>confdefs.h
<<_ACEOF
39229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39231 cat >>confdefs.h
<<\_ACEOF
39232 #define HAVE_INET_ADDR 1
39237 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39238 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39239 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39240 echo $ECHO_N "(cached) $ECHO_C" >&6
39242 ac_check_lib_save_LIBS
=$LIBS
39244 cat >conftest.
$ac_ext <<_ACEOF
39247 cat confdefs.h
>>conftest.
$ac_ext
39248 cat >>conftest.
$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39251 /* Override any GCC internal prototype to avoid an error.
39252 Use char because int might match the return type of a GCC
39253 builtin and then its argument prototype would still apply. */
39261 return inet_addr ();
39266 rm -f conftest.
$ac_objext conftest
$ac_exeext
39267 if { (ac_try
="$ac_link"
39268 case "(($ac_try" in
39269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39270 *) ac_try_echo=$ac_try;;
39272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39273 (eval "$ac_link") 2>conftest.er1
39275 grep -v '^ *+' conftest.er1 >conftest.err
39277 cat conftest.err >&5
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); } && {
39280 test -z "$ac_c_werror_flag" ||
39281 test ! -s conftest.err
39282 } && test -s conftest$ac_exeext &&
39283 $as_test_x conftest$ac_exeext; then
39284 ac_cv_lib_nsl_inet_addr=yes
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.$ac_ext >&5
39289 ac_cv_lib_nsl_inet_addr=no
39292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39293 conftest$ac_exeext conftest.$ac_ext
39294 LIBS=$ac_check_lib_save_LIBS
39296 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39297 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39298 if test $ac_cv_lib_nsl_inet_addr = yes; then
39302 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39303 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39304 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39305 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 ac_check_lib_save_LIBS=$LIBS
39308 LIBS="-lresolv $LIBS"
39309 cat >conftest.$ac_ext <<_ACEOF
39312 cat confdefs.h >>conftest.$ac_ext
39313 cat >>conftest.$ac_ext <<_ACEOF
39314 /* end confdefs.h. */
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39326 return inet_addr ();
39331 rm -f conftest.$ac_objext conftest$ac_exeext
39332 if { (ac_try="$ac_link"
39333 case "(($ac_try" in
39334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39335 *) ac_try_echo
=$ac_try;;
39337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39338 (eval "$ac_link") 2>conftest.er1
39340 grep -v '^ *+' conftest.er1
>conftest.err
39342 cat conftest.err
>&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } && {
39345 test -z "$ac_c_werror_flag" ||
39346 test ! -s conftest.err
39347 } && test -s conftest
$ac_exeext &&
39348 $as_test_x conftest
$ac_exeext; then
39349 ac_cv_lib_resolv_inet_addr
=yes
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.
$ac_ext >&5
39354 ac_cv_lib_resolv_inet_addr
=no
39357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39358 conftest
$ac_exeext conftest.
$ac_ext
39359 LIBS
=$ac_check_lib_save_LIBS
39361 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39362 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39363 if test $ac_cv_lib_resolv_inet_addr = yes; then
39367 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39368 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39369 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39372 ac_check_lib_save_LIBS
=$LIBS
39373 LIBS
="-lsocket $LIBS"
39374 cat >conftest.
$ac_ext <<_ACEOF
39377 cat confdefs.h
>>conftest.
$ac_ext
39378 cat >>conftest.
$ac_ext <<_ACEOF
39379 /* end confdefs.h. */
39381 /* Override any GCC internal prototype to avoid an error.
39382 Use char because int might match the return type of a GCC
39383 builtin and then its argument prototype would still apply. */
39391 return inet_addr ();
39396 rm -f conftest.
$ac_objext conftest
$ac_exeext
39397 if { (ac_try
="$ac_link"
39398 case "(($ac_try" in
39399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39400 *) ac_try_echo=$ac_try;;
39402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39403 (eval "$ac_link") 2>conftest.er1
39405 grep -v '^ *+' conftest.er1 >conftest.err
39407 cat conftest.err >&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); } && {
39410 test -z "$ac_c_werror_flag" ||
39411 test ! -s conftest.err
39412 } && test -s conftest$ac_exeext &&
39413 $as_test_x conftest$ac_exeext; then
39414 ac_cv_lib_socket_inet_addr=yes
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39419 ac_cv_lib_socket_inet_addr=no
39422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39423 conftest$ac_exeext conftest.$ac_ext
39424 LIBS=$ac_check_lib_save_LIBS
39426 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39427 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39428 if test $ac_cv_lib_socket_inet_addr = yes; then
39448 for ac_func in inet_aton
39450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39456 cat >conftest.$ac_ext <<_ACEOF
39459 cat confdefs.h >>conftest.$ac_ext
39460 cat >>conftest.$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39464 #define $ac_func innocuous_$ac_func
39466 /* System header to define __stub macros and hopefully few prototypes,
39467 which can conflict with char $ac_func (); below.
39468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39469 <limits.h> exists even on freestanding compilers. */
39472 # include <limits.h>
39474 # include <assert.h>
39479 /* Override any GCC internal prototype to avoid an error.
39480 Use char because int might match the return type of a GCC
39481 builtin and then its argument prototype would still apply. */
39486 /* The GNU C library defines this for functions which it implements
39487 to always fail with ENOSYS. Some functions are actually named
39488 something starting with __ and the normal name is an alias. */
39489 #if defined __stub_$ac_func || defined __stub___$ac_func
39496 return $ac_func ();
39501 rm -f conftest.$ac_objext conftest$ac_exeext
39502 if { (ac_try="$ac_link"
39503 case "(($ac_try" in
39504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39505 *) ac_try_echo
=$ac_try;;
39507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39508 (eval "$ac_link") 2>conftest.er1
39510 grep -v '^ *+' conftest.er1
>conftest.err
39512 cat conftest.err
>&5
39513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39514 (exit $ac_status); } && {
39515 test -z "$ac_c_werror_flag" ||
39516 test ! -s conftest.err
39517 } && test -s conftest
$ac_exeext &&
39518 $as_test_x conftest
$ac_exeext; then
39519 eval "$as_ac_var=yes"
39521 echo "$as_me: failed program was:" >&5
39522 sed 's/^/| /' conftest.
$ac_ext >&5
39524 eval "$as_ac_var=no"
39527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39528 conftest
$ac_exeext conftest.
$ac_ext
39530 ac_res
=`eval echo '${'$as_ac_var'}'`
39531 { echo "$as_me:$LINENO: result: $ac_res" >&5
39532 echo "${ECHO_T}$ac_res" >&6; }
39533 if test `eval echo '${'$as_ac_var'}'` = yes; then
39534 cat >>confdefs.h
<<_ACEOF
39535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39537 cat >>confdefs.h
<<\_ACEOF
39538 #define HAVE_INET_ATON 1
39543 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39544 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39545 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39546 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39549 ac_check_lib_save_LIBS
=$LIBS
39550 LIBS
="-l$INET_LINK $LIBS"
39551 cat >conftest.
$ac_ext <<_ACEOF
39554 cat confdefs.h
>>conftest.
$ac_ext
39555 cat >>conftest.
$ac_ext <<_ACEOF
39556 /* end confdefs.h. */
39558 /* Override any GCC internal prototype to avoid an error.
39559 Use char because int might match the return type of a GCC
39560 builtin and then its argument prototype would still apply. */
39568 return inet_aton ();
39573 rm -f conftest.
$ac_objext conftest
$ac_exeext
39574 if { (ac_try
="$ac_link"
39575 case "(($ac_try" in
39576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39577 *) ac_try_echo=$ac_try;;
39579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39580 (eval "$ac_link") 2>conftest.er1
39582 grep -v '^ *+' conftest.er1 >conftest.err
39584 cat conftest.err >&5
39585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39586 (exit $ac_status); } && {
39587 test -z "$ac_c_werror_flag" ||
39588 test ! -s conftest.err
39589 } && test -s conftest$ac_exeext &&
39590 $as_test_x conftest$ac_exeext; then
39591 eval "$as_ac_Lib=yes"
39593 echo "$as_me: failed program was:" >&5
39594 sed 's/^/| /' conftest.$ac_ext >&5
39596 eval "$as_ac_Lib=no"
39599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39600 conftest$ac_exeext conftest.$ac_ext
39601 LIBS=$ac_check_lib_save_LIBS
39603 ac_res=`eval echo '${'$as_ac_Lib'}'`
39604 { echo "$as_me:$LINENO: result: $ac_res" >&5
39605 echo "${ECHO_T}$ac_res" >&6; }
39606 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39607 cat >>confdefs.h <<\_ACEOF
39608 #define HAVE_INET_ATON 1
39618 if test "x$INET_LINK" != "x"; then
39619 cat >>confdefs.h <<\_ACEOF
39620 #define HAVE_INET_ADDR 1
39623 INET_LINK=" -l$INET_LINK"
39627 for wx_func in fdopen
39629 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39630 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39631 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39632 echo $ECHO_N "(cached) $ECHO_C" >&6
39635 cat >conftest.$ac_ext <<_ACEOF
39639 cat confdefs.h >>conftest.$ac_ext
39640 cat >>conftest.$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39644 $ac_includes_default
39660 rm -f conftest.$ac_objext conftest$ac_exeext
39661 if { (ac_try="$ac_link"
39662 case "(($ac_try" in
39663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39664 *) ac_try_echo
=$ac_try;;
39666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39667 (eval "$ac_link") 2>conftest.er1
39669 grep -v '^ *+' conftest.er1
>conftest.err
39671 cat conftest.err
>&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } && {
39674 test -z "$ac_c_werror_flag" ||
39675 test ! -s conftest.err
39676 } && test -s conftest
$ac_exeext &&
39677 $as_test_x conftest
$ac_exeext; then
39678 eval wx_cv_func_
$wx_func=yes
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.
$ac_ext >&5
39683 eval wx_cv_func_
$wx_func=no
39686 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39687 conftest
$ac_exeext conftest.
$ac_ext
39690 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39691 { echo "$as_me:$LINENO: result: $ac_res" >&5
39692 echo "${ECHO_T}$ac_res" >&6; }
39694 if eval test \
$wx_cv_func_$wx_func = yes
39696 cat >>confdefs.h
<<_ACEOF
39697 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39708 if test "$wxUSE_TARSTREAM" = "yes"; then
39710 for wx_func
in sysconf
39712 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39713 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39714 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39715 echo $ECHO_N "(cached) $ECHO_C" >&6
39718 cat >conftest.
$ac_ext <<_ACEOF
39722 cat confdefs.h
>>conftest.
$ac_ext
39723 cat >>conftest.
$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39727 $ac_includes_default
39743 rm -f conftest.
$ac_objext conftest
$ac_exeext
39744 if { (ac_try
="$ac_link"
39745 case "(($ac_try" in
39746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39747 *) ac_try_echo=$ac_try;;
39749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39750 (eval "$ac_link") 2>conftest.er1
39752 grep -v '^ *+' conftest.er1 >conftest.err
39754 cat conftest.err >&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); } && {
39757 test -z "$ac_c_werror_flag" ||
39758 test ! -s conftest.err
39759 } && test -s conftest$ac_exeext &&
39760 $as_test_x conftest$ac_exeext; then
39761 eval wx_cv_func_$wx_func=yes
39763 echo "$as_me: failed program was:" >&5
39764 sed 's/^/| /' conftest.$ac_ext >&5
39766 eval wx_cv_func_$wx_func=no
39769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39770 conftest$ac_exeext conftest.$ac_ext
39773 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39774 { echo "$as_me:$LINENO: result: $ac_res" >&5
39775 echo "${ECHO_T}$ac_res" >&6; }
39777 if eval test \$wx_cv_func_$wx_func = yes
39779 cat >>confdefs.h <<_ACEOF
39780 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39792 for wx_func in getpwuid_r
39794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39796 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39797 echo $ECHO_N "(cached) $ECHO_C" >&6
39800 cat >conftest.$ac_ext <<_ACEOF
39804 cat confdefs.h >>conftest.$ac_ext
39805 cat >>conftest.$ac_ext <<_ACEOF
39806 /* end confdefs.h. */
39812 $ac_includes_default
39822 struct passwd pw, *ppw;
39824 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39832 rm -f conftest.$ac_objext conftest$ac_exeext
39833 if { (ac_try="$ac_link"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39836 *) ac_try_echo
=$ac_try;;
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_link") 2>conftest.er1
39841 grep -v '^ *+' conftest.er1
>conftest.err
39843 cat conftest.err
>&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest
$ac_exeext &&
39849 $as_test_x conftest
$ac_exeext; then
39850 eval wx_cv_func_
$wx_func=yes
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.
$ac_ext >&5
39855 eval wx_cv_func_
$wx_func=no
39858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39859 conftest
$ac_exeext conftest.
$ac_ext
39862 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39863 { echo "$as_me:$LINENO: result: $ac_res" >&5
39864 echo "${ECHO_T}$ac_res" >&6; }
39866 if eval test \
$wx_cv_func_$wx_func = yes
39868 cat >>confdefs.h
<<_ACEOF
39869 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39881 for wx_func
in getgrgid_r
39883 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39884 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39885 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39886 echo $ECHO_N "(cached) $ECHO_C" >&6
39889 cat >conftest.
$ac_ext <<_ACEOF
39893 cat confdefs.h
>>conftest.
$ac_ext
39894 cat >>conftest.
$ac_ext <<_ACEOF
39895 /* end confdefs.h. */
39901 $ac_includes_default
39911 struct group grp, *pgrp;
39913 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39921 rm -f conftest.
$ac_objext conftest
$ac_exeext
39922 if { (ac_try
="$ac_link"
39923 case "(($ac_try" in
39924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39925 *) ac_try_echo=$ac_try;;
39927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39928 (eval "$ac_link") 2>conftest.er1
39930 grep -v '^ *+' conftest.er1 >conftest.err
39932 cat conftest.err >&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); } && {
39935 test -z "$ac_c_werror_flag" ||
39936 test ! -s conftest.err
39937 } && test -s conftest$ac_exeext &&
39938 $as_test_x conftest$ac_exeext; then
39939 eval wx_cv_func_$wx_func=yes
39941 echo "$as_me: failed program was:" >&5
39942 sed 's/^/| /' conftest.$ac_ext >&5
39944 eval wx_cv_func_$wx_func=no
39947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39948 conftest$ac_exeext conftest.$ac_ext
39951 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39952 { echo "$as_me:$LINENO: result: $ac_res" >&5
39953 echo "${ECHO_T}$ac_res" >&6; }
39955 if eval test \$wx_cv_func_$wx_func = yes
39957 cat >>confdefs.h <<_ACEOF
39958 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39974 cat >confcache <<\_ACEOF
39975 # This file is a shell script that caches the results of configure
39976 # tests run on this system so they can be shared between configure
39977 # scripts and configure runs, see configure's option --config-cache.
39978 # It is not useful on other systems. If it contains results you don't
39979 # want to keep, you may remove or edit it.
39981 # config.status only pays attention to the cache file if you give it
39982 # the --recheck option to rerun configure.
39984 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39986 # following values.
39990 # The following way of writing the cache mishandles newlines in values,
39991 # but we know of no workaround that is simple, portable, and efficient.
39992 # So, we kill variables containing newlines.
39993 # Ultrix sh set writes to stderr and can't be redirected directly,
39994 # and sets the high bit in the cache file unless we assign to the vars.
39996 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39997 eval ac_val
=\$
$ac_var
40001 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40002 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40005 _
| IFS
| as_nl
) ;; #(
40006 *) $as_unset $ac_var ;;
40012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40013 *${as_nl}ac_space
=\
*)
40014 # `set' does not quote correctly, so add quotes (double-quote
40015 # substitution turns \\\\ into \\, and sed turns \\ into \).
40018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40021 # `set' quotes correctly as required by POSIX, so do not add quotes.
40022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40035 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40036 if test -w "$cache_file"; then
40037 test "x$cache_file" != "x/dev/null" &&
40038 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40039 echo "$as_me: updating cache $cache_file" >&6;}
40040 cat confcache
>$cache_file
40042 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40043 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40049 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40055 if test "$wxUSE_THREADS" = "yes" ; then
40056 if test "$USE_BEOS" = 1; then
40057 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40058 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40063 if test "$wxUSE_THREADS" = "yes" ; then
40066 THREAD_OPTS
="-pthread"
40067 if test "x$SUNCXX" = xyes
; then
40068 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40072 *-*-solaris2* | *-*-sunos4* )
40073 if test "x$GCC" = "xyes"; then
40074 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40078 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40080 *-*-darwin* | *-*-cygwin* )
40084 THREAD_OPTS
="pthreads"
40087 if test "x$GCC" = "xyes"; then
40088 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40096 if test "x$GCC" = "xyes"; then
40106 if test "x$GCC" != "xyes"; then
40107 THREAD_OPTS
="-Ethread"
40114 THREAD_OPTS
="none pthread"
40118 THREAD_OPTS
="$THREAD_OPTS pthread none"
40123 for flag
in $THREAD_OPTS; do
40126 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40127 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40131 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40132 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40133 THREADS_CFLAGS
="$flag"
40137 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40138 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40139 THREADS_LINK
="-l$flag"
40144 save_CFLAGS
="$CFLAGS"
40145 LIBS
="$THREADS_LINK $LIBS"
40146 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40148 cat >conftest.
$ac_ext <<_ACEOF
40151 cat confdefs.h
>>conftest.
$ac_ext
40152 cat >>conftest.
$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154 #include <pthread.h>
40158 pthread_create(0,0,0,0);
40163 rm -f conftest.
$ac_objext conftest
$ac_exeext
40164 if { (ac_try
="$ac_link"
40165 case "(($ac_try" in
40166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40167 *) ac_try_echo=$ac_try;;
40169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40170 (eval "$ac_link") 2>conftest.er1
40172 grep -v '^ *+' conftest.er1 >conftest.err
40174 cat conftest.err >&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } && {
40177 test -z "$ac_c_werror_flag" ||
40178 test ! -s conftest.err
40179 } && test -s conftest$ac_exeext &&
40180 $as_test_x conftest$ac_exeext; then
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40190 conftest$ac_exeext conftest.$ac_ext
40193 CFLAGS="$save_CFLAGS"
40195 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40196 echo "${ECHO_T}$THREADS_OK" >&6; }
40197 if test "x$THREADS_OK" = "xyes"; then
40205 if test "x$THREADS_OK" != "xyes"; then
40207 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40208 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40210 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40211 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40212 LIBS="$THREADS_LINK $LIBS"
40214 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40215 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40219 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40220 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40221 flag="-D_THREAD_SAFE"
40224 flag="-D_THREAD_SAFE"
40227 flag="-D_REENTRANT"
40228 if test "x$GCC" != "xyes"; then
40229 flag="$flag -D_RWSTD_MULTI_THREAD"
40232 *solaris* | alpha*-osf*)
40233 flag="-D_REENTRANT"
40236 { echo "$as_me:$LINENO: result: ${flag}" >&5
40237 echo "${ECHO_T}${flag}" >&6; }
40238 if test "x$flag" != xno; then
40239 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40242 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40246 if test "$wxUSE_THREADS" = "yes" ; then
40248 for ac_func in thr_setconcurrency
40250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40256 cat >conftest.$ac_ext <<_ACEOF
40259 cat confdefs.h >>conftest.$ac_ext
40260 cat >>conftest.$ac_ext <<_ACEOF
40261 /* end confdefs.h. */
40262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40264 #define $ac_func innocuous_$ac_func
40266 /* System header to define __stub macros and hopefully few prototypes,
40267 which can conflict with char $ac_func (); below.
40268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40269 <limits.h> exists even on freestanding compilers. */
40272 # include <limits.h>
40274 # include <assert.h>
40279 /* Override any GCC internal prototype to avoid an error.
40280 Use char because int might match the return type of a GCC
40281 builtin and then its argument prototype would still apply. */
40286 /* The GNU C library defines this for functions which it implements
40287 to always fail with ENOSYS. Some functions are actually named
40288 something starting with __ and the normal name is an alias. */
40289 #if defined __stub_$ac_func || defined __stub___$ac_func
40296 return $ac_func ();
40301 rm -f conftest.$ac_objext conftest$ac_exeext
40302 if { (ac_try="$ac_link"
40303 case "(($ac_try" in
40304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40305 *) ac_try_echo
=$ac_try;;
40307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40308 (eval "$ac_link") 2>conftest.er1
40310 grep -v '^ *+' conftest.er1
>conftest.err
40312 cat conftest.err
>&5
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); } && {
40315 test -z "$ac_c_werror_flag" ||
40316 test ! -s conftest.err
40317 } && test -s conftest
$ac_exeext &&
40318 $as_test_x conftest
$ac_exeext; then
40319 eval "$as_ac_var=yes"
40321 echo "$as_me: failed program was:" >&5
40322 sed 's/^/| /' conftest.
$ac_ext >&5
40324 eval "$as_ac_var=no"
40327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40328 conftest
$ac_exeext conftest.
$ac_ext
40330 ac_res
=`eval echo '${'$as_ac_var'}'`
40331 { echo "$as_me:$LINENO: result: $ac_res" >&5
40332 echo "${ECHO_T}$ac_res" >&6; }
40333 if test `eval echo '${'$as_ac_var'}'` = yes; then
40334 cat >>confdefs.h
<<_ACEOF
40335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40342 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40343 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40344 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 ac_cpp
='$CXXCPP $CPPFLAGS'
40350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40354 cat >conftest.
$ac_ext <<_ACEOF
40357 cat confdefs.h
>>conftest.
$ac_ext
40358 cat >>conftest.
$ac_ext <<_ACEOF
40359 /* end confdefs.h. */
40360 #include <pthread.h>
40361 void ThreadCleanupFunc(void *p);
40368 pthread_cleanup_push(ThreadCleanupFunc, p);
40369 pthread_cleanup_pop(0);
40375 rm -f conftest.
$ac_objext
40376 if { (ac_try
="$ac_compile"
40377 case "(($ac_try" in
40378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_compile") 2>conftest.er1
40384 grep -v '^ *+' conftest.er1 >conftest.err
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_cxx_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest.$ac_objext; then
40393 wx_cv_func_pthread_cleanup=yes
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.$ac_ext >&5
40400 wx_cv_func_pthread_cleanup=no
40405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40407 ac_cpp='$CPP $CPPFLAGS'
40408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40414 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40415 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40416 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40417 cat >>confdefs.h <<\_ACEOF
40418 #define wxHAVE_PTHREAD_CLEANUP 1
40424 for ac_header in sched.h
40426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 cat >conftest.$ac_ext <<_ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 $ac_includes_default
40440 #include <$ac_header>
40442 rm -f conftest.$ac_objext
40443 if { (ac_try="$ac_compile"
40444 case "(($ac_try" in
40445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40446 *) ac_try_echo
=$ac_try;;
40448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40449 (eval "$ac_compile") 2>conftest.er1
40451 grep -v '^ *+' conftest.er1
>conftest.err
40453 cat conftest.err
>&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } && {
40456 test -z "$ac_c_werror_flag" ||
40457 test ! -s conftest.err
40458 } && test -s conftest.
$ac_objext; then
40459 eval "$as_ac_Header=yes"
40461 echo "$as_me: failed program was:" >&5
40462 sed 's/^/| /' conftest.
$ac_ext >&5
40464 eval "$as_ac_Header=no"
40467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40469 ac_res
=`eval echo '${'$as_ac_Header'}'`
40470 { echo "$as_me:$LINENO: result: $ac_res" >&5
40471 echo "${ECHO_T}$ac_res" >&6; }
40472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40473 cat >>confdefs.h
<<_ACEOF
40474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40481 if test "$ac_cv_header_sched_h" = "yes"; then
40482 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40483 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40484 if test "${ac_cv_func_sched_yield+set}" = set; then
40485 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 cat >conftest.
$ac_ext <<_ACEOF
40490 cat confdefs.h
>>conftest.
$ac_ext
40491 cat >>conftest.
$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40495 #define sched_yield innocuous_sched_yield
40497 /* System header to define __stub macros and hopefully few prototypes,
40498 which can conflict with char sched_yield (); below.
40499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40500 <limits.h> exists even on freestanding compilers. */
40503 # include <limits.h>
40505 # include <assert.h>
40510 /* Override any GCC internal prototype to avoid an error.
40511 Use char because int might match the return type of a GCC
40512 builtin and then its argument prototype would still apply. */
40516 char sched_yield ();
40517 /* The GNU C library defines this for functions which it implements
40518 to always fail with ENOSYS. Some functions are actually named
40519 something starting with __ and the normal name is an alias. */
40520 #if defined __stub_sched_yield || defined __stub___sched_yield
40527 return sched_yield ();
40532 rm -f conftest.
$ac_objext conftest
$ac_exeext
40533 if { (ac_try
="$ac_link"
40534 case "(($ac_try" in
40535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40536 *) ac_try_echo=$ac_try;;
40538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40539 (eval "$ac_link") 2>conftest.er1
40541 grep -v '^ *+' conftest.er1 >conftest.err
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } && {
40546 test -z "$ac_c_werror_flag" ||
40547 test ! -s conftest.err
40548 } && test -s conftest$ac_exeext &&
40549 $as_test_x conftest$ac_exeext; then
40550 ac_cv_func_sched_yield=yes
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.$ac_ext >&5
40555 ac_cv_func_sched_yield=no
40558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40559 conftest$ac_exeext conftest.$ac_ext
40561 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40562 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40563 if test $ac_cv_func_sched_yield = yes; then
40564 cat >>confdefs.h <<\_ACEOF
40565 #define HAVE_SCHED_YIELD 1
40570 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40571 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40572 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 ac_check_lib_save_LIBS=$LIBS
40576 LIBS="-lposix4 $LIBS"
40577 cat >conftest.$ac_ext <<_ACEOF
40580 cat confdefs.h >>conftest.$ac_ext
40581 cat >>conftest.$ac_ext <<_ACEOF
40582 /* end confdefs.h. */
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40590 char sched_yield ();
40594 return sched_yield ();
40599 rm -f conftest.$ac_objext conftest$ac_exeext
40600 if { (ac_try="$ac_link"
40601 case "(($ac_try" in
40602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40603 *) ac_try_echo
=$ac_try;;
40605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40606 (eval "$ac_link") 2>conftest.er1
40608 grep -v '^ *+' conftest.er1
>conftest.err
40610 cat conftest.err
>&5
40611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40612 (exit $ac_status); } && {
40613 test -z "$ac_c_werror_flag" ||
40614 test ! -s conftest.err
40615 } && test -s conftest
$ac_exeext &&
40616 $as_test_x conftest
$ac_exeext; then
40617 ac_cv_lib_posix4_sched_yield
=yes
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.
$ac_ext >&5
40622 ac_cv_lib_posix4_sched_yield
=no
40625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40626 conftest
$ac_exeext conftest.
$ac_ext
40627 LIBS
=$ac_check_lib_save_LIBS
40629 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40630 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40631 if test $ac_cv_lib_posix4_sched_yield = yes; then
40632 cat >>confdefs.h
<<\_ACEOF
40633 #define HAVE_SCHED_YIELD 1
40635 POSIX4_LINK
=" -lposix4"
40637 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40638 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40649 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40650 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40651 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40654 cat >conftest.
$ac_ext <<_ACEOF
40657 cat confdefs.h
>>conftest.
$ac_ext
40658 cat >>conftest.
$ac_ext <<_ACEOF
40659 /* end confdefs.h. */
40660 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40662 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40664 /* System header to define __stub macros and hopefully few prototypes,
40665 which can conflict with char pthread_attr_getschedpolicy (); below.
40666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40667 <limits.h> exists even on freestanding compilers. */
40670 # include <limits.h>
40672 # include <assert.h>
40675 #undef pthread_attr_getschedpolicy
40677 /* Override any GCC internal prototype to avoid an error.
40678 Use char because int might match the return type of a GCC
40679 builtin and then its argument prototype would still apply. */
40683 char pthread_attr_getschedpolicy ();
40684 /* The GNU C library defines this for functions which it implements
40685 to always fail with ENOSYS. Some functions are actually named
40686 something starting with __ and the normal name is an alias. */
40687 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40694 return pthread_attr_getschedpolicy ();
40699 rm -f conftest.
$ac_objext conftest
$ac_exeext
40700 if { (ac_try
="$ac_link"
40701 case "(($ac_try" in
40702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40703 *) ac_try_echo=$ac_try;;
40705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40706 (eval "$ac_link") 2>conftest.er1
40708 grep -v '^ *+' conftest.er1 >conftest.err
40710 cat conftest.err >&5
40711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40712 (exit $ac_status); } && {
40713 test -z "$ac_c_werror_flag" ||
40714 test ! -s conftest.err
40715 } && test -s conftest$ac_exeext &&
40716 $as_test_x conftest$ac_exeext; then
40717 ac_cv_func_pthread_attr_getschedpolicy=yes
40719 echo "$as_me: failed program was:" >&5
40720 sed 's/^/| /' conftest.$ac_ext >&5
40722 ac_cv_func_pthread_attr_getschedpolicy=no
40725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40726 conftest$ac_exeext conftest.$ac_ext
40728 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40729 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40730 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40731 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40732 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40733 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40734 echo $ECHO_N "(cached) $ECHO_C" >&6
40736 cat >conftest.$ac_ext <<_ACEOF
40739 cat confdefs.h >>conftest.$ac_ext
40740 cat >>conftest.$ac_ext <<_ACEOF
40741 /* end confdefs.h. */
40742 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40744 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40746 /* System header to define __stub macros and hopefully few prototypes,
40747 which can conflict with char pthread_attr_setschedparam (); below.
40748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40749 <limits.h> exists even on freestanding compilers. */
40752 # include <limits.h>
40754 # include <assert.h>
40757 #undef pthread_attr_setschedparam
40759 /* Override any GCC internal prototype to avoid an error.
40760 Use char because int might match the return type of a GCC
40761 builtin and then its argument prototype would still apply. */
40765 char pthread_attr_setschedparam ();
40766 /* The GNU C library defines this for functions which it implements
40767 to always fail with ENOSYS. Some functions are actually named
40768 something starting with __ and the normal name is an alias. */
40769 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40776 return pthread_attr_setschedparam ();
40781 rm -f conftest.$ac_objext conftest$ac_exeext
40782 if { (ac_try="$ac_link"
40783 case "(($ac_try" in
40784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40785 *) ac_try_echo
=$ac_try;;
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_link") 2>conftest.er1
40790 grep -v '^ *+' conftest.er1
>conftest.err
40792 cat conftest.err
>&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest
$ac_exeext &&
40798 $as_test_x conftest
$ac_exeext; then
40799 ac_cv_func_pthread_attr_setschedparam
=yes
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.
$ac_ext >&5
40804 ac_cv_func_pthread_attr_setschedparam
=no
40807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40808 conftest
$ac_exeext conftest.
$ac_ext
40810 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40811 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40812 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40813 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40814 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40815 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40818 cat >conftest.
$ac_ext <<_ACEOF
40821 cat confdefs.h
>>conftest.
$ac_ext
40822 cat >>conftest.
$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40824 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40826 #define sched_get_priority_max innocuous_sched_get_priority_max
40828 /* System header to define __stub macros and hopefully few prototypes,
40829 which can conflict with char sched_get_priority_max (); below.
40830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40831 <limits.h> exists even on freestanding compilers. */
40834 # include <limits.h>
40836 # include <assert.h>
40839 #undef sched_get_priority_max
40841 /* Override any GCC internal prototype to avoid an error.
40842 Use char because int might match the return type of a GCC
40843 builtin and then its argument prototype would still apply. */
40847 char sched_get_priority_max ();
40848 /* The GNU C library defines this for functions which it implements
40849 to always fail with ENOSYS. Some functions are actually named
40850 something starting with __ and the normal name is an alias. */
40851 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40858 return sched_get_priority_max ();
40863 rm -f conftest.
$ac_objext conftest
$ac_exeext
40864 if { (ac_try
="$ac_link"
40865 case "(($ac_try" in
40866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40867 *) ac_try_echo=$ac_try;;
40869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40870 (eval "$ac_link") 2>conftest.er1
40872 grep -v '^ *+' conftest.er1 >conftest.err
40874 cat conftest.err >&5
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); } && {
40877 test -z "$ac_c_werror_flag" ||
40878 test ! -s conftest.err
40879 } && test -s conftest$ac_exeext &&
40880 $as_test_x conftest$ac_exeext; then
40881 ac_cv_func_sched_get_priority_max=yes
40883 echo "$as_me: failed program was:" >&5
40884 sed 's/^/| /' conftest.$ac_ext >&5
40886 ac_cv_func_sched_get_priority_max=no
40889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40890 conftest$ac_exeext conftest.$ac_ext
40892 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40893 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40894 if test $ac_cv_func_sched_get_priority_max = yes; then
40897 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40898 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40899 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40900 echo $ECHO_N "(cached) $ECHO_C" >&6
40902 ac_check_lib_save_LIBS=$LIBS
40903 LIBS="-lposix4 $LIBS"
40904 cat >conftest.$ac_ext <<_ACEOF
40907 cat confdefs.h >>conftest.$ac_ext
40908 cat >>conftest.$ac_ext <<_ACEOF
40909 /* end confdefs.h. */
40911 /* Override any GCC internal prototype to avoid an error.
40912 Use char because int might match the return type of a GCC
40913 builtin and then its argument prototype would still apply. */
40917 char sched_get_priority_max ();
40921 return sched_get_priority_max ();
40926 rm -f conftest.$ac_objext conftest$ac_exeext
40927 if { (ac_try="$ac_link"
40928 case "(($ac_try" in
40929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40930 *) ac_try_echo
=$ac_try;;
40932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40933 (eval "$ac_link") 2>conftest.er1
40935 grep -v '^ *+' conftest.er1
>conftest.err
40937 cat conftest.err
>&5
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); } && {
40940 test -z "$ac_c_werror_flag" ||
40941 test ! -s conftest.err
40942 } && test -s conftest
$ac_exeext &&
40943 $as_test_x conftest
$ac_exeext; then
40944 ac_cv_lib_posix4_sched_get_priority_max
=yes
40946 echo "$as_me: failed program was:" >&5
40947 sed 's/^/| /' conftest.
$ac_ext >&5
40949 ac_cv_lib_posix4_sched_get_priority_max
=no
40952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40953 conftest
$ac_exeext conftest.
$ac_ext
40954 LIBS
=$ac_check_lib_save_LIBS
40956 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40957 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40958 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40961 POSIX4_LINK
=" -lposix4"
40975 if test "$HAVE_PRIOR_FUNCS" = 1; then
40976 cat >>confdefs.h
<<\_ACEOF
40977 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40981 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40982 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40985 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40986 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40987 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40988 echo $ECHO_N "(cached) $ECHO_C" >&6
40990 cat >conftest.
$ac_ext <<_ACEOF
40993 cat confdefs.h
>>conftest.
$ac_ext
40994 cat >>conftest.
$ac_ext <<_ACEOF
40995 /* end confdefs.h. */
40996 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40998 #define pthread_cancel innocuous_pthread_cancel
41000 /* System header to define __stub macros and hopefully few prototypes,
41001 which can conflict with char pthread_cancel (); below.
41002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41003 <limits.h> exists even on freestanding compilers. */
41006 # include <limits.h>
41008 # include <assert.h>
41011 #undef pthread_cancel
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41019 char pthread_cancel ();
41020 /* The GNU C library defines this for functions which it implements
41021 to always fail with ENOSYS. Some functions are actually named
41022 something starting with __ and the normal name is an alias. */
41023 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41030 return pthread_cancel ();
41035 rm -f conftest.
$ac_objext conftest
$ac_exeext
41036 if { (ac_try
="$ac_link"
41037 case "(($ac_try" in
41038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41039 *) ac_try_echo=$ac_try;;
41041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41042 (eval "$ac_link") 2>conftest.er1
41044 grep -v '^ *+' conftest.er1 >conftest.err
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } && {
41049 test -z "$ac_c_werror_flag" ||
41050 test ! -s conftest.err
41051 } && test -s conftest$ac_exeext &&
41052 $as_test_x conftest$ac_exeext; then
41053 ac_cv_func_pthread_cancel=yes
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41058 ac_cv_func_pthread_cancel=no
41061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41062 conftest$ac_exeext conftest.$ac_ext
41064 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41065 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41066 if test $ac_cv_func_pthread_cancel = yes; then
41067 cat >>confdefs.h <<\_ACEOF
41068 #define HAVE_PTHREAD_CANCEL 1
41072 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41073 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41077 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41078 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41079 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41080 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 cat >conftest.$ac_ext <<_ACEOF
41085 cat confdefs.h >>conftest.$ac_ext
41086 cat >>conftest.$ac_ext <<_ACEOF
41087 /* end confdefs.h. */
41088 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41090 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41092 /* System header to define __stub macros and hopefully few prototypes,
41093 which can conflict with char pthread_mutex_timedlock (); below.
41094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41095 <limits.h> exists even on freestanding compilers. */
41098 # include <limits.h>
41100 # include <assert.h>
41103 #undef pthread_mutex_timedlock
41105 /* Override any GCC internal prototype to avoid an error.
41106 Use char because int might match the return type of a GCC
41107 builtin and then its argument prototype would still apply. */
41111 char pthread_mutex_timedlock ();
41112 /* The GNU C library defines this for functions which it implements
41113 to always fail with ENOSYS. Some functions are actually named
41114 something starting with __ and the normal name is an alias. */
41115 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41122 return pthread_mutex_timedlock ();
41127 rm -f conftest.$ac_objext conftest$ac_exeext
41128 if { (ac_try="$ac_link"
41129 case "(($ac_try" in
41130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41131 *) ac_try_echo
=$ac_try;;
41133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41134 (eval "$ac_link") 2>conftest.er1
41136 grep -v '^ *+' conftest.er1
>conftest.err
41138 cat conftest.err
>&5
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); } && {
41141 test -z "$ac_c_werror_flag" ||
41142 test ! -s conftest.err
41143 } && test -s conftest
$ac_exeext &&
41144 $as_test_x conftest
$ac_exeext; then
41145 ac_cv_func_pthread_mutex_timedlock
=yes
41147 echo "$as_me: failed program was:" >&5
41148 sed 's/^/| /' conftest.
$ac_ext >&5
41150 ac_cv_func_pthread_mutex_timedlock
=no
41153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41154 conftest
$ac_exeext conftest.
$ac_ext
41156 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41157 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41158 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41159 cat >>confdefs.h
<<\_ACEOF
41160 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41164 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41165 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41169 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41170 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41171 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41174 cat >conftest.
$ac_ext <<_ACEOF
41177 cat confdefs.h
>>conftest.
$ac_ext
41178 cat >>conftest.
$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41182 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41184 /* System header to define __stub macros and hopefully few prototypes,
41185 which can conflict with char pthread_attr_setstacksize (); below.
41186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41187 <limits.h> exists even on freestanding compilers. */
41190 # include <limits.h>
41192 # include <assert.h>
41195 #undef pthread_attr_setstacksize
41197 /* Override any GCC internal prototype to avoid an error.
41198 Use char because int might match the return type of a GCC
41199 builtin and then its argument prototype would still apply. */
41203 char pthread_attr_setstacksize ();
41204 /* The GNU C library defines this for functions which it implements
41205 to always fail with ENOSYS. Some functions are actually named
41206 something starting with __ and the normal name is an alias. */
41207 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41214 return pthread_attr_setstacksize ();
41219 rm -f conftest.
$ac_objext conftest
$ac_exeext
41220 if { (ac_try
="$ac_link"
41221 case "(($ac_try" in
41222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41223 *) ac_try_echo=$ac_try;;
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_link") 2>conftest.er1
41228 grep -v '^ *+' conftest.er1 >conftest.err
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_c_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest$ac_exeext &&
41236 $as_test_x conftest$ac_exeext; then
41237 ac_cv_func_pthread_attr_setstacksize=yes
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41242 ac_cv_func_pthread_attr_setstacksize=no
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41248 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41249 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41250 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41251 cat >>confdefs.h <<\_ACEOF
41252 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41259 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41260 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41261 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41262 echo $ECHO_N "(cached) $ECHO_C" >&6
41265 cat >conftest.$ac_ext <<_ACEOF
41268 cat confdefs.h >>conftest.$ac_ext
41269 cat >>conftest.$ac_ext <<_ACEOF
41270 /* end confdefs.h. */
41271 #include <pthread.h>
41276 pthread_mutexattr_t attr;
41277 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41283 rm -f conftest.$ac_objext
41284 if { (ac_try="$ac_compile"
41285 case "(($ac_try" in
41286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41287 *) ac_try_echo
=$ac_try;;
41289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41290 (eval "$ac_compile") 2>conftest.er1
41292 grep -v '^ *+' conftest.er1
>conftest.err
41294 cat conftest.err
>&5
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); } && {
41297 test -z "$ac_c_werror_flag" ||
41298 test ! -s conftest.err
41299 } && test -s conftest.
$ac_objext; then
41300 wx_cv_type_pthread_mutexattr_t
=yes
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.
$ac_ext >&5
41305 wx_cv_type_pthread_mutexattr_t
=no
41309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41312 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41313 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41315 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41316 cat >>confdefs.h
<<\_ACEOF
41317 #define HAVE_PTHREAD_MUTEXATTR_T 1
41321 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41322 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41323 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41324 echo $ECHO_N "(cached) $ECHO_C" >&6
41327 cat >conftest.
$ac_ext <<_ACEOF
41330 cat confdefs.h
>>conftest.
$ac_ext
41331 cat >>conftest.
$ac_ext <<_ACEOF
41332 /* end confdefs.h. */
41333 #include <pthread.h>
41338 pthread_mutexattr_t attr;
41339 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41345 rm -f conftest.
$ac_objext
41346 if { (ac_try
="$ac_compile"
41347 case "(($ac_try" in
41348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41349 *) ac_try_echo=$ac_try;;
41351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41352 (eval "$ac_compile") 2>conftest.er1
41354 grep -v '^ *+' conftest.er1 >conftest.err
41356 cat conftest.err >&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); } && {
41359 test -z "$ac_c_werror_flag" ||
41360 test ! -s conftest.err
41361 } && test -s conftest.$ac_objext; then
41362 wx_cv_func_pthread_mutexattr_settype_decl=yes
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41367 wx_cv_func_pthread_mutexattr_settype_decl=no
41371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41374 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41375 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41376 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41377 cat >>confdefs.h <<\_ACEOF
41378 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41383 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41384 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41385 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 cat >conftest.$ac_ext <<_ACEOF
41392 cat confdefs.h >>conftest.$ac_ext
41393 cat >>conftest.$ac_ext <<_ACEOF
41394 /* end confdefs.h. */
41395 #include <pthread.h>
41400 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41406 rm -f conftest.$ac_objext
41407 if { (ac_try="$ac_compile"
41408 case "(($ac_try" in
41409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41410 *) ac_try_echo
=$ac_try;;
41412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41413 (eval "$ac_compile") 2>conftest.er1
41415 grep -v '^ *+' conftest.er1
>conftest.err
41417 cat conftest.err
>&5
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); } && {
41420 test -z "$ac_c_werror_flag" ||
41421 test ! -s conftest.err
41422 } && test -s conftest.
$ac_objext; then
41424 wx_cv_type_pthread_rec_mutex_init
=yes
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.
$ac_ext >&5
41431 wx_cv_type_pthread_rec_mutex_init
=no
41436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41439 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41440 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41441 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41442 cat >>confdefs.h
<<\_ACEOF
41443 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41447 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41448 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41452 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41453 if test "$USE_NETBSD" = 1; then
41454 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41455 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41456 wxUSE_COMPILER_TLS
=no
41458 wxUSE_COMPILER_TLS
=yes
41462 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41463 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41464 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41465 if test "${wx_cv_cc___thread+set}" = set; then
41466 echo $ECHO_N "(cached) $ECHO_C" >&6
41469 cat >conftest.
$ac_ext <<_ACEOF
41472 cat confdefs.h
>>conftest.
$ac_ext
41473 cat >>conftest.
$ac_ext <<_ACEOF
41474 /* end confdefs.h. */
41475 #include <pthread.h>
41480 static __thread int n = 0;
41481 static __thread int *p = 0;
41487 rm -f conftest.
$ac_objext
41488 if { (ac_try
="$ac_compile"
41489 case "(($ac_try" in
41490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41491 *) ac_try_echo=$ac_try;;
41493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41494 (eval "$ac_compile") 2>conftest.er1
41496 grep -v '^ *+' conftest.er1 >conftest.err
41498 cat conftest.err >&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } && {
41501 test -z "$ac_c_werror_flag" ||
41502 test ! -s conftest.err
41503 } && test -s conftest.$ac_objext; then
41504 wx_cv_cc___thread=yes
41506 echo "$as_me: failed program was:" >&5
41507 sed 's/^/| /' conftest.$ac_ext >&5
41509 wx_cv_cc___thread=no
41513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41518 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41520 if test "$wx_cv_cc___thread" = "yes"; then
41526 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41527 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41529 if test "x$GCC" = "xyes" ; then
41531 if test -z "" ; then
41533 ax_gcc_option_test="int main()
41540 ax_gcc_option_test=""
41545 # Dump the test program to file
41546 cat <<EOF > conftest.c
41547 $ax_gcc_option_test
41550 # Dump back the file to the log, useful for debugging purposes
41551 { ac_try='cat conftest.c 1>&5'
41552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41553 (eval $ac_try) 2>&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); }; }
41558 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41560 (eval $ac_try) 2>&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); }; } ; then
41565 { echo "$as_me:$LINENO: result: yes" >&5
41566 echo "${ECHO_T}yes" >&6; }
41568 ax_gcc_version_option=yes
41573 { echo "$as_me:$LINENO: result: no" >&5
41574 echo "${ECHO_T}no" >&6; }
41576 ax_gcc_version_option=no
41584 { echo "$as_me:$LINENO: result: no gcc available" >&5
41585 echo "${ECHO_T}no gcc available" >&6; }
41590 if test "x$GXX" = "xyes"; then
41592 if test "x$ax_gxx_version_option" != "no"; then
41594 { echo "$as_me:$LINENO: checking gxx version" >&5
41595 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41596 if test "${ax_cv_gxx_version+set}" = set; then
41597 echo $ECHO_N "(cached) $ECHO_C" >&6
41600 ax_cv_gxx_version="`$CXX -dumpversion`"
41601 if test "x$ax_cv_gxx_version" = "x"; then
41603 ax_cv_gxx_version=""
41609 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41610 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41611 GXX_VERSION=$ax_cv_gxx_version
41620 if test -n "$ax_cv_gxx_version"; then
41621 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41622 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41623 case "$ax_cv_gxx_version" in
41625 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41626 echo "${ECHO_T}no, it's broken" >&6; }
41627 wx_cv_cc___thread=no
41630 { echo "$as_me:$LINENO: result: yes, it works" >&5
41631 echo "${ECHO_T}yes, it works" >&6; }
41637 if test "$wx_cv_cc___thread" = "yes"; then
41638 cat >>confdefs.h <<\_ACEOF
41639 #define HAVE___THREAD_KEYWORD 1
41647 if test "$wxUSE_THREADS" = "yes" ; then
41649 x86_64-*-mingw32* )
41652 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41653 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41654 if test "${wx_cv_cflags_mthread+set}" = set; then
41655 echo $ECHO_N "(cached) $ECHO_C" >&6
41658 CFLAGS_OLD="$CFLAGS"
41659 CFLAGS="-mthreads $CFLAGS"
41660 cat >conftest.$ac_ext <<_ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41675 rm -f conftest.$ac_objext
41676 if { (ac_try="$ac_compile"
41677 case "(($ac_try" in
41678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41679 *) ac_try_echo
=$ac_try;;
41681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41682 (eval "$ac_compile") 2>conftest.er1
41684 grep -v '^ *+' conftest.er1
>conftest.err
41686 cat conftest.err
>&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); } && {
41689 test -z "$ac_c_werror_flag" ||
41690 test ! -s conftest.err
41691 } && test -s conftest.
$ac_objext; then
41692 wx_cv_cflags_mthread
=yes
41694 echo "$as_me: failed program was:" >&5
41695 sed 's/^/| /' conftest.
$ac_ext >&5
41697 wx_cv_cflags_mthread
=no
41701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41705 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41706 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41708 if test "$wx_cv_cflags_mthread" = "yes"; then
41709 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41710 LDFLAGS
="$LDFLAGS -mthreads"
41712 CFLAGS
="$CFLAGS_OLD"
41716 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41717 LDFLAGS
="$LDFLAGS -Zmt"
41723 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41724 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41725 if test "${ac_cv_func_localtime_r+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41728 cat >conftest.
$ac_ext <<_ACEOF
41731 cat confdefs.h
>>conftest.
$ac_ext
41732 cat >>conftest.
$ac_ext <<_ACEOF
41733 /* end confdefs.h. */
41734 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41736 #define localtime_r innocuous_localtime_r
41738 /* System header to define __stub macros and hopefully few prototypes,
41739 which can conflict with char localtime_r (); below.
41740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41741 <limits.h> exists even on freestanding compilers. */
41744 # include <limits.h>
41746 # include <assert.h>
41751 /* Override any GCC internal prototype to avoid an error.
41752 Use char because int might match the return type of a GCC
41753 builtin and then its argument prototype would still apply. */
41757 char localtime_r ();
41758 /* The GNU C library defines this for functions which it implements
41759 to always fail with ENOSYS. Some functions are actually named
41760 something starting with __ and the normal name is an alias. */
41761 #if defined __stub_localtime_r || defined __stub___localtime_r
41768 return localtime_r ();
41773 rm -f conftest.
$ac_objext conftest
$ac_exeext
41774 if { (ac_try
="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41777 *) ac_try_echo=$ac_try;;
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41782 grep -v '^ *+' conftest.er1 >conftest.err
41784 cat conftest.err >&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest$ac_exeext &&
41790 $as_test_x conftest$ac_exeext; then
41791 ac_cv_func_localtime_r=yes
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.$ac_ext >&5
41796 ac_cv_func_localtime_r=no
41799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41800 conftest$ac_exeext conftest.$ac_ext
41802 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41803 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41804 if test $ac_cv_func_localtime_r = yes; then
41805 cat >>confdefs.h <<\_ACEOF
41806 #define HAVE_LOCALTIME_R 1
41811 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41812 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41813 if test "${ac_cv_func_gmtime_r+set}" = set; then
41814 echo $ECHO_N "(cached) $ECHO_C" >&6
41816 cat >conftest.$ac_ext <<_ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41824 #define gmtime_r innocuous_gmtime_r
41826 /* System header to define __stub macros and hopefully few prototypes,
41827 which can conflict with char gmtime_r (); below.
41828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41829 <limits.h> exists even on freestanding compilers. */
41832 # include <limits.h>
41834 # include <assert.h>
41839 /* Override any GCC internal prototype to avoid an error.
41840 Use char because int might match the return type of a GCC
41841 builtin and then its argument prototype would still apply. */
41846 /* The GNU C library defines this for functions which it implements
41847 to always fail with ENOSYS. Some functions are actually named
41848 something starting with __ and the normal name is an alias. */
41849 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41856 return gmtime_r ();
41861 rm -f conftest.$ac_objext conftest$ac_exeext
41862 if { (ac_try="$ac_link"
41863 case "(($ac_try" in
41864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41865 *) ac_try_echo
=$ac_try;;
41867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41868 (eval "$ac_link") 2>conftest.er1
41870 grep -v '^ *+' conftest.er1
>conftest.err
41872 cat conftest.err
>&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); } && {
41875 test -z "$ac_c_werror_flag" ||
41876 test ! -s conftest.err
41877 } && test -s conftest
$ac_exeext &&
41878 $as_test_x conftest
$ac_exeext; then
41879 ac_cv_func_gmtime_r
=yes
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.
$ac_ext >&5
41884 ac_cv_func_gmtime_r
=no
41887 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41888 conftest
$ac_exeext conftest.
$ac_ext
41890 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41891 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41892 if test $ac_cv_func_gmtime_r = yes; then
41893 cat >>confdefs.h
<<\_ACEOF
41894 #define HAVE_GMTIME_R 1
41903 ac_cpp
='$CPP $CPPFLAGS'
41904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41908 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41909 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41911 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41912 echo $ECHO_N "(cached) $ECHO_C" >&6
41916 ################################################################
41918 ac_cv_func_which_gethostbyname_r
=unknown
41921 # ONE ARGUMENT (sanity check)
41924 # This should fail, as there is no variant of gethostbyname_r() that takes
41925 # a single argument. If it actually compiles, then we can assume that
41926 # netdb.h is not declaring the function, and the compiler is thereby
41927 # assuming an implicit prototype. In which case, we're out of luck.
41929 cat >conftest.
$ac_ext <<_ACEOF
41932 cat confdefs.h
>>conftest.
$ac_ext
41933 cat >>conftest.
$ac_ext <<_ACEOF
41934 /* end confdefs.h. */
41940 char *name = "www.gnu.org";
41941 (void)gethostbyname_r(name) /* ; */
41947 rm -f conftest.
$ac_objext
41948 if { (ac_try
="$ac_compile"
41949 case "(($ac_try" in
41950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41951 *) ac_try_echo=$ac_try;;
41953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41954 (eval "$ac_compile") 2>conftest.er1
41956 grep -v '^ *+' conftest.er1 >conftest.err
41958 cat conftest.err >&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); } && {
41961 test -z "$ac_c_werror_flag" ||
41962 test ! -s conftest.err
41963 } && test -s conftest.$ac_objext; then
41964 ac_cv_func_which_gethostbyname_r=no
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.$ac_ext >&5
41972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41979 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41981 cat >conftest.$ac_ext <<_ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41992 char *name = "www.gnu.org";
41993 struct hostent ret, *retp;
41997 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42003 rm -f conftest.$ac_objext
42004 if { (ac_try="$ac_compile"
42005 case "(($ac_try" in
42006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42007 *) ac_try_echo
=$ac_try;;
42009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42010 (eval "$ac_compile") 2>conftest.er1
42012 grep -v '^ *+' conftest.er1
>conftest.err
42014 cat conftest.err
>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); } && {
42017 test -z "$ac_c_werror_flag" ||
42018 test ! -s conftest.err
42019 } && test -s conftest.
$ac_objext; then
42020 ac_cv_func_which_gethostbyname_r
=six
42022 echo "$as_me: failed program was:" >&5
42023 sed 's/^/| /' conftest.
$ac_ext >&5
42028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42037 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42039 cat >conftest.
$ac_ext <<_ACEOF
42042 cat confdefs.h
>>conftest.
$ac_ext
42043 cat >>conftest.
$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42050 char *name = "www.gnu.org";
42051 struct hostent ret;
42055 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42061 rm -f conftest.
$ac_objext
42062 if { (ac_try
="$ac_compile"
42063 case "(($ac_try" in
42064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42065 *) ac_try_echo=$ac_try;;
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_compile") 2>conftest.er1
42070 grep -v '^ *+' conftest.er1 >conftest.err
42072 cat conftest.err >&5
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); } && {
42075 test -z "$ac_c_werror_flag" ||
42076 test ! -s conftest.err
42077 } && test -s conftest.$ac_objext; then
42078 ac_cv_func_which_gethostbyname_r=five
42080 echo "$as_me: failed program was:" >&5
42081 sed 's/^/| /' conftest.$ac_ext >&5
42086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42092 # (e.g. AIX, HP-UX, Tru64)
42095 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42097 cat >conftest.$ac_ext <<_ACEOF
42100 cat confdefs.h >>conftest.$ac_ext
42101 cat >>conftest.$ac_ext <<_ACEOF
42102 /* end confdefs.h. */
42108 char *name = "www.gnu.org";
42109 struct hostent ret;
42110 struct hostent_data data;
42111 (void)gethostbyname_r(name, &ret, &data) /* ; */
42117 rm -f conftest.$ac_objext
42118 if { (ac_try="$ac_compile"
42119 case "(($ac_try" in
42120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42121 *) ac_try_echo
=$ac_try;;
42123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42124 (eval "$ac_compile") 2>conftest.er1
42126 grep -v '^ *+' conftest.er1
>conftest.err
42128 cat conftest.err
>&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } && {
42131 test -z "$ac_c_werror_flag" ||
42132 test ! -s conftest.err
42133 } && test -s conftest.
$ac_objext; then
42134 ac_cv_func_which_gethostbyname_r
=three
42136 echo "$as_me: failed program was:" >&5
42137 sed 's/^/| /' conftest.
$ac_ext >&5
42142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42146 ################################################################
42151 case "$ac_cv_func_which_gethostbyname_r" in
42153 { echo "$as_me:$LINENO: result: three" >&5
42154 echo "${ECHO_T}three" >&6; }
42155 cat >>confdefs.h
<<\_ACEOF
42156 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42162 { echo "$as_me:$LINENO: result: five" >&5
42163 echo "${ECHO_T}five" >&6; }
42164 cat >>confdefs.h
<<\_ACEOF
42165 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42171 { echo "$as_me:$LINENO: result: six" >&5
42172 echo "${ECHO_T}six" >&6; }
42173 cat >>confdefs.h
<<\_ACEOF
42174 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42180 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42181 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42185 { echo "$as_me:$LINENO: result: can't tell" >&5
42186 echo "${ECHO_T}can't tell" >&6; }
42190 { { echo "$as_me:$LINENO: error: internal error" >&5
42191 echo "$as_me: error: internal error" >&2;}
42192 { (exit 1); exit 1; }; }
42197 ac_cpp
='$CPP $CPPFLAGS'
42198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42204 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42205 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42206 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42207 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42208 if test "${ac_cv_func_gethostbyname+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42211 cat >conftest.
$ac_ext <<_ACEOF
42214 cat confdefs.h
>>conftest.
$ac_ext
42215 cat >>conftest.
$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42217 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42219 #define gethostbyname innocuous_gethostbyname
42221 /* System header to define __stub macros and hopefully few prototypes,
42222 which can conflict with char gethostbyname (); below.
42223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42224 <limits.h> exists even on freestanding compilers. */
42227 # include <limits.h>
42229 # include <assert.h>
42232 #undef gethostbyname
42234 /* Override any GCC internal prototype to avoid an error.
42235 Use char because int might match the return type of a GCC
42236 builtin and then its argument prototype would still apply. */
42240 char gethostbyname ();
42241 /* The GNU C library defines this for functions which it implements
42242 to always fail with ENOSYS. Some functions are actually named
42243 something starting with __ and the normal name is an alias. */
42244 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42251 return gethostbyname ();
42256 rm -f conftest.
$ac_objext conftest
$ac_exeext
42257 if { (ac_try
="$ac_link"
42258 case "(($ac_try" in
42259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42260 *) ac_try_echo=$ac_try;;
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_link") 2>conftest.er1
42265 grep -v '^ *+' conftest.er1 >conftest.err
42267 cat conftest.err >&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } && {
42270 test -z "$ac_c_werror_flag" ||
42271 test ! -s conftest.err
42272 } && test -s conftest$ac_exeext &&
42273 $as_test_x conftest$ac_exeext; then
42274 ac_cv_func_gethostbyname=yes
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.$ac_ext >&5
42279 ac_cv_func_gethostbyname=no
42282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42283 conftest$ac_exeext conftest.$ac_ext
42285 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42286 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42287 if test $ac_cv_func_gethostbyname = yes; then
42288 cat >>confdefs.h <<\_ACEOF
42289 #define HAVE_GETHOSTBYNAME 1
42296 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42297 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42298 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42299 echo $ECHO_N "(cached) $ECHO_C" >&6
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42309 cat >conftest.$ac_ext <<_ACEOF
42312 cat confdefs.h >>conftest.$ac_ext
42313 cat >>conftest.$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42322 struct servent *se, *res;
42325 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42331 rm -f conftest.$ac_objext
42332 if { (ac_try="$ac_compile"
42333 case "(($ac_try" in
42334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42335 *) ac_try_echo
=$ac_try;;
42337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42338 (eval "$ac_compile") 2>conftest.er1
42340 grep -v '^ *+' conftest.er1
>conftest.err
42342 cat conftest.err
>&5
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); } && {
42345 test -z "$ac_cxx_werror_flag" ||
42346 test ! -s conftest.err
42347 } && test -s conftest.
$ac_objext; then
42348 ac_cv_func_which_getservbyname_r
=six
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.
$ac_ext >&5
42354 cat >conftest.
$ac_ext <<_ACEOF
42357 cat confdefs.h
>>conftest.
$ac_ext
42358 cat >>conftest.
$ac_ext <<_ACEOF
42359 /* end confdefs.h. */
42367 struct servent *se;
42370 (void) getservbyname_r(name, proto, se, buffer, buflen)
42376 rm -f conftest.
$ac_objext
42377 if { (ac_try
="$ac_compile"
42378 case "(($ac_try" in
42379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42380 *) ac_try_echo=$ac_try;;
42382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42383 (eval "$ac_compile") 2>conftest.er1
42385 grep -v '^ *+' conftest.er1 >conftest.err
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } && {
42390 test -z "$ac_cxx_werror_flag" ||
42391 test ! -s conftest.err
42392 } && test -s conftest.$ac_objext; then
42393 ac_cv_func_which_getservbyname_r=five
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42399 cat >conftest.$ac_ext <<_ACEOF
42402 cat confdefs.h >>conftest.$ac_ext
42403 cat >>conftest.$ac_ext <<_ACEOF
42404 /* end confdefs.h. */
42412 struct servent *se;
42413 struct servent_data data;
42414 (void) getservbyname_r(name, proto, se, &data);
42420 rm -f conftest.$ac_objext
42421 if { (ac_try="$ac_compile"
42422 case "(($ac_try" in
42423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42424 *) ac_try_echo
=$ac_try;;
42426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42427 (eval "$ac_compile") 2>conftest.er1
42429 grep -v '^ *+' conftest.er1
>conftest.err
42431 cat conftest.err
>&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } && {
42434 test -z "$ac_cxx_werror_flag" ||
42435 test ! -s conftest.err
42436 } && test -s conftest.
$ac_objext; then
42437 ac_cv_func_which_getservbyname_r
=four
42439 echo "$as_me: failed program was:" >&5
42440 sed 's/^/| /' conftest.
$ac_ext >&5
42442 ac_cv_func_which_getservbyname_r
=no
42446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42458 ac_cpp
='$CPP $CPPFLAGS'
42459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42466 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42467 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42469 if test $ac_cv_func_which_getservbyname_r = six
; then
42470 cat >>confdefs.h
<<\_ACEOF
42471 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42474 elif test $ac_cv_func_which_getservbyname_r = five
; then
42475 cat >>confdefs.h
<<\_ACEOF
42476 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42479 elif test $ac_cv_func_which_getservbyname_r = four
; then
42480 cat >>confdefs.h
<<\_ACEOF
42481 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42487 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42488 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42490 for ac_func
in getservbyname
42492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42495 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42498 cat >conftest.
$ac_ext <<_ACEOF
42501 cat confdefs.h
>>conftest.
$ac_ext
42502 cat >>conftest.
$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42506 #define $ac_func innocuous_$ac_func
42508 /* System header to define __stub macros and hopefully few prototypes,
42509 which can conflict with char $ac_func (); below.
42510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42511 <limits.h> exists even on freestanding compilers. */
42514 # include <limits.h>
42516 # include <assert.h>
42521 /* Override any GCC internal prototype to avoid an error.
42522 Use char because int might match the return type of a GCC
42523 builtin and then its argument prototype would still apply. */
42528 /* The GNU C library defines this for functions which it implements
42529 to always fail with ENOSYS. Some functions are actually named
42530 something starting with __ and the normal name is an alias. */
42531 #if defined __stub_$ac_func || defined __stub___$ac_func
42538 return $ac_func ();
42543 rm -f conftest.
$ac_objext conftest
$ac_exeext
42544 if { (ac_try
="$ac_link"
42545 case "(($ac_try" in
42546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42547 *) ac_try_echo=$ac_try;;
42549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42550 (eval "$ac_link") 2>conftest.er1
42552 grep -v '^ *+' conftest.er1 >conftest.err
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } && {
42557 test -z "$ac_c_werror_flag" ||
42558 test ! -s conftest.err
42559 } && test -s conftest$ac_exeext &&
42560 $as_test_x conftest$ac_exeext; then
42561 eval "$as_ac_var=yes"
42563 echo "$as_me: failed program was:" >&5
42564 sed 's/^/| /' conftest.$ac_ext >&5
42566 eval "$as_ac_var=no"
42569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42570 conftest$ac_exeext conftest.$ac_ext
42572 ac_res=`eval echo '${'$as_ac_var'}'`
42573 { echo "$as_me:$LINENO: result: $ac_res" >&5
42574 echo "${ECHO_T}$ac_res" >&6; }
42575 if test `eval echo '${'$as_ac_var'}'` = yes; then
42576 cat >>confdefs.h <<_ACEOF
42577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42579 cat >>confdefs.h <<\_ACEOF
42580 #define HAVE_GETSERVBYNAME 1
42588 if test "$wxUSE_THREADS" = "yes"; then
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_THREADS 1
42594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42596 if test "$wx_cv_func_strtok_r" = "yes"; then
42597 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42598 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42599 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42600 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42601 { echo "$as_me:$LINENO: result: yes" >&5
42602 echo "${ECHO_T}yes" >&6; }
42604 { echo "$as_me:$LINENO: result: no" >&5
42605 echo "${ECHO_T}no" >&6; }
42610 if test "$WXGTK2" = 1 ; then
42611 cat >>confdefs.h <<_ACEOF
42612 #define __WXGTK20__ $WXGTK2
42618 if test "$WXGTK12" = 1 ; then
42619 cat >>confdefs.h <<_ACEOF
42620 #define __WXGTK12__ $WXGTK12
42625 if test "$WXGTK127" = 1 ; then
42626 cat >>confdefs.h <<_ACEOF
42627 #define __WXGTK127__ $WXGTK127
42632 if test "$WXGPE" = 1 ; then
42633 cat >>confdefs.h <<_ACEOF
42634 #define __WXGPE__ $WXGPE
42640 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42641 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42642 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42643 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42647 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42648 wxUSE_DEBUG_INFO=yes
42649 if test "$GCC" = yes; then
42650 DEBUG_CFLAGS="-ggdb"
42654 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42655 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42657 if test "$wxUSE_GTK" = 1 ; then
42658 if test "x$wxGTK_VERSION" = "x1" ; then
42659 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42664 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxUSE_MEMORY_TRACING 1
42669 cat >>confdefs.h <<\_ACEOF
42670 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42673 cat >>confdefs.h <<\_ACEOF
42674 #define wxUSE_DEBUG_NEW_ALWAYS 1
42677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42680 if test "$wxUSE_DMALLOC" = "yes" ; then
42681 DMALLOC_LIBS="-ldmallocthcxx"
42685 if test "$wxUSE_PROFILE" = "yes" ; then
42686 PROFILE_FLAGS=" -pg"
42689 if test "$GCC" = "yes" ; then
42690 if test "$wxUSE_NO_RTTI" = "yes" ; then
42691 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42693 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42694 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42696 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42697 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42702 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42711 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42712 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42713 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42715 if test "$wxUSE_OPTIMISE" = "no" ; then
42716 if test "$GCC" = yes ; then
42717 OPTIMISE_CFLAGS="-O0"
42720 if test "$GCC" = yes ; then
42722 *-pc-os2_emx | *-pc-os2-emx )
42723 OPTIMISE_CFLAGS="-O2"
42726 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42730 OPTIMISE_CFLAGS="-O"
42736 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42737 cat >>confdefs.h <<\_ACEOF
42738 #define WXWIN_COMPATIBILITY_2_6 1
42742 WXWIN_COMPATIBILITY_2_8="yes"
42745 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42746 cat >>confdefs.h <<\_ACEOF
42747 #define WXWIN_COMPATIBILITY_2_8 1
42753 if test "$wxUSE_GUI" = "yes"; then
42754 cat >>confdefs.h <<\_ACEOF
42755 #define wxUSE_GUI 1
42762 if test "$wxUSE_UNIX" = "yes"; then
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_UNIX 1
42770 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42774 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42775 if test "$USE_DOS" = 1; then
42779 for ac_func in dlopen
42781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42785 echo $ECHO_N "(cached) $ECHO_C" >&6
42787 cat >conftest.$ac_ext <<_ACEOF
42790 cat confdefs.h >>conftest.$ac_ext
42791 cat >>conftest.$ac_ext <<_ACEOF
42792 /* end confdefs.h. */
42793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42795 #define $ac_func innocuous_$ac_func
42797 /* System header to define __stub macros and hopefully few prototypes,
42798 which can conflict with char $ac_func (); below.
42799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42800 <limits.h> exists even on freestanding compilers. */
42803 # include <limits.h>
42805 # include <assert.h>
42810 /* Override any GCC internal prototype to avoid an error.
42811 Use char because int might match the return type of a GCC
42812 builtin and then its argument prototype would still apply. */
42817 /* The GNU C library defines this for functions which it implements
42818 to always fail with ENOSYS. Some functions are actually named
42819 something starting with __ and the normal name is an alias. */
42820 #if defined __stub_$ac_func || defined __stub___$ac_func
42827 return $ac_func ();
42832 rm -f conftest.$ac_objext conftest$ac_exeext
42833 if { (ac_try="$ac_link"
42834 case "(($ac_try" in
42835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42836 *) ac_try_echo
=$ac_try;;
42838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42839 (eval "$ac_link") 2>conftest.er1
42841 grep -v '^ *+' conftest.er1
>conftest.err
42843 cat conftest.err
>&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); } && {
42846 test -z "$ac_c_werror_flag" ||
42847 test ! -s conftest.err
42848 } && test -s conftest
$ac_exeext &&
42849 $as_test_x conftest
$ac_exeext; then
42850 eval "$as_ac_var=yes"
42852 echo "$as_me: failed program was:" >&5
42853 sed 's/^/| /' conftest.
$ac_ext >&5
42855 eval "$as_ac_var=no"
42858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42859 conftest
$ac_exeext conftest.
$ac_ext
42861 ac_res
=`eval echo '${'$as_ac_var'}'`
42862 { echo "$as_me:$LINENO: result: $ac_res" >&5
42863 echo "${ECHO_T}$ac_res" >&6; }
42864 if test `eval echo '${'$as_ac_var'}'` = yes; then
42865 cat >>confdefs.h
<<_ACEOF
42866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42869 cat >>confdefs.h
<<\_ACEOF
42870 #define HAVE_DLOPEN 1
42877 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42878 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42880 echo $ECHO_N "(cached) $ECHO_C" >&6
42882 ac_check_lib_save_LIBS
=$LIBS
42884 cat >conftest.
$ac_ext <<_ACEOF
42887 cat confdefs.h
>>conftest.
$ac_ext
42888 cat >>conftest.
$ac_ext <<_ACEOF
42889 /* end confdefs.h. */
42891 /* Override any GCC internal prototype to avoid an error.
42892 Use char because int might match the return type of a GCC
42893 builtin and then its argument prototype would still apply. */
42906 rm -f conftest.
$ac_objext conftest
$ac_exeext
42907 if { (ac_try
="$ac_link"
42908 case "(($ac_try" in
42909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_link") 2>conftest.er1
42915 grep -v '^ *+' conftest.er1 >conftest.err
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest$ac_exeext &&
42923 $as_test_x conftest$ac_exeext; then
42924 ac_cv_lib_dl_dlopen=yes
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.$ac_ext >&5
42929 ac_cv_lib_dl_dlopen=no
42932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42933 conftest$ac_exeext conftest.$ac_ext
42934 LIBS=$ac_check_lib_save_LIBS
42936 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42937 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42938 if test $ac_cv_lib_dl_dlopen = yes; then
42940 cat >>confdefs.h <<\_ACEOF
42941 #define HAVE_DLOPEN 1
42945 DL_LINK=" -ldl$DL_LINK"
42950 for ac_func in shl_load
42952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42956 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 cat >conftest.$ac_ext <<_ACEOF
42961 cat confdefs.h >>conftest.$ac_ext
42962 cat >>conftest.$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42966 #define $ac_func innocuous_$ac_func
42968 /* System header to define __stub macros and hopefully few prototypes,
42969 which can conflict with char $ac_func (); below.
42970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42971 <limits.h> exists even on freestanding compilers. */
42974 # include <limits.h>
42976 # include <assert.h>
42981 /* Override any GCC internal prototype to avoid an error.
42982 Use char because int might match the return type of a GCC
42983 builtin and then its argument prototype would still apply. */
42988 /* The GNU C library defines this for functions which it implements
42989 to always fail with ENOSYS. Some functions are actually named
42990 something starting with __ and the normal name is an alias. */
42991 #if defined __stub_$ac_func || defined __stub___$ac_func
42998 return $ac_func ();
43003 rm -f conftest.$ac_objext conftest$ac_exeext
43004 if { (ac_try="$ac_link"
43005 case "(($ac_try" in
43006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43007 *) ac_try_echo
=$ac_try;;
43009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43010 (eval "$ac_link") 2>conftest.er1
43012 grep -v '^ *+' conftest.er1
>conftest.err
43014 cat conftest.err
>&5
43015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016 (exit $ac_status); } && {
43017 test -z "$ac_c_werror_flag" ||
43018 test ! -s conftest.err
43019 } && test -s conftest
$ac_exeext &&
43020 $as_test_x conftest
$ac_exeext; then
43021 eval "$as_ac_var=yes"
43023 echo "$as_me: failed program was:" >&5
43024 sed 's/^/| /' conftest.
$ac_ext >&5
43026 eval "$as_ac_var=no"
43029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43030 conftest
$ac_exeext conftest.
$ac_ext
43032 ac_res
=`eval echo '${'$as_ac_var'}'`
43033 { echo "$as_me:$LINENO: result: $ac_res" >&5
43034 echo "${ECHO_T}$ac_res" >&6; }
43035 if test `eval echo '${'$as_ac_var'}'` = yes; then
43036 cat >>confdefs.h
<<_ACEOF
43037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43040 cat >>confdefs.h
<<\_ACEOF
43041 #define HAVE_SHL_LOAD 1
43048 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43049 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43050 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43051 echo $ECHO_N "(cached) $ECHO_C" >&6
43053 ac_check_lib_save_LIBS
=$LIBS
43054 LIBS
="-lshl_load $LIBS"
43055 cat >conftest.
$ac_ext <<_ACEOF
43058 cat confdefs.h
>>conftest.
$ac_ext
43059 cat >>conftest.
$ac_ext <<_ACEOF
43060 /* end confdefs.h. */
43062 /* Override any GCC internal prototype to avoid an error.
43063 Use char because int might match the return type of a GCC
43064 builtin and then its argument prototype would still apply. */
43077 rm -f conftest.
$ac_objext conftest
$ac_exeext
43078 if { (ac_try
="$ac_link"
43079 case "(($ac_try" in
43080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43081 *) ac_try_echo=$ac_try;;
43083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43084 (eval "$ac_link") 2>conftest.er1
43086 grep -v '^ *+' conftest.er1 >conftest.err
43088 cat conftest.err >&5
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); } && {
43091 test -z "$ac_c_werror_flag" ||
43092 test ! -s conftest.err
43093 } && test -s conftest$ac_exeext &&
43094 $as_test_x conftest$ac_exeext; then
43095 ac_cv_lib_shl_load_dld=yes
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43100 ac_cv_lib_shl_load_dld=no
43103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43104 conftest$ac_exeext conftest.$ac_ext
43105 LIBS=$ac_check_lib_save_LIBS
43107 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43108 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43109 if test $ac_cv_lib_shl_load_dld = yes; then
43112 DL_LINK=" -ldld$DL_LINK"
43128 if test "$HAVE_DL_FUNCS" = 1; then
43130 for ac_func in dlerror
43132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43138 cat >conftest.$ac_ext <<_ACEOF
43141 cat confdefs.h >>conftest.$ac_ext
43142 cat >>conftest.$ac_ext <<_ACEOF
43143 /* end confdefs.h. */
43144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43146 #define $ac_func innocuous_$ac_func
43148 /* System header to define __stub macros and hopefully few prototypes,
43149 which can conflict with char $ac_func (); below.
43150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43151 <limits.h> exists even on freestanding compilers. */
43154 # include <limits.h>
43156 # include <assert.h>
43161 /* Override any GCC internal prototype to avoid an error.
43162 Use char because int might match the return type of a GCC
43163 builtin and then its argument prototype would still apply. */
43168 /* The GNU C library defines this for functions which it implements
43169 to always fail with ENOSYS. Some functions are actually named
43170 something starting with __ and the normal name is an alias. */
43171 #if defined __stub_$ac_func || defined __stub___$ac_func
43178 return $ac_func ();
43183 rm -f conftest.$ac_objext conftest$ac_exeext
43184 if { (ac_try="$ac_link"
43185 case "(($ac_try" in
43186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43187 *) ac_try_echo
=$ac_try;;
43189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43190 (eval "$ac_link") 2>conftest.er1
43192 grep -v '^ *+' conftest.er1
>conftest.err
43194 cat conftest.err
>&5
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); } && {
43197 test -z "$ac_c_werror_flag" ||
43198 test ! -s conftest.err
43199 } && test -s conftest
$ac_exeext &&
43200 $as_test_x conftest
$ac_exeext; then
43201 eval "$as_ac_var=yes"
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.
$ac_ext >&5
43206 eval "$as_ac_var=no"
43209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43210 conftest
$ac_exeext conftest.
$ac_ext
43212 ac_res
=`eval echo '${'$as_ac_var'}'`
43213 { echo "$as_me:$LINENO: result: $ac_res" >&5
43214 echo "${ECHO_T}$ac_res" >&6; }
43215 if test `eval echo '${'$as_ac_var'}'` = yes; then
43216 cat >>confdefs.h
<<_ACEOF
43217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 cat >>confdefs.h
<<\_ACEOF
43220 #define HAVE_DLERROR 1
43225 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43226 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43227 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43228 echo $ECHO_N "(cached) $ECHO_C" >&6
43230 ac_check_lib_save_LIBS
=$LIBS
43232 cat >conftest.
$ac_ext <<_ACEOF
43235 cat confdefs.h
>>conftest.
$ac_ext
43236 cat >>conftest.
$ac_ext <<_ACEOF
43237 /* end confdefs.h. */
43239 /* Override any GCC internal prototype to avoid an error.
43240 Use char because int might match the return type of a GCC
43241 builtin and then its argument prototype would still apply. */
43254 rm -f conftest.
$ac_objext conftest
$ac_exeext
43255 if { (ac_try
="$ac_link"
43256 case "(($ac_try" in
43257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_link") 2>conftest.er1
43263 grep -v '^ *+' conftest.er1 >conftest.err
43265 cat conftest.err >&5
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); } && {
43268 test -z "$ac_c_werror_flag" ||
43269 test ! -s conftest.err
43270 } && test -s conftest$ac_exeext &&
43271 $as_test_x conftest$ac_exeext; then
43272 ac_cv_lib_dl_dlerror=yes
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43277 ac_cv_lib_dl_dlerror=no
43280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43281 conftest$ac_exeext conftest.$ac_ext
43282 LIBS=$ac_check_lib_save_LIBS
43284 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43285 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43286 if test $ac_cv_lib_dl_dlerror = yes; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define HAVE_DLERROR 1
43301 if test "$USE_DARWIN" = 1; then
43305 if test "$HAVE_DL_FUNCS" = 0; then
43306 if test "$HAVE_SHL_FUNCS" = 0; then
43307 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43308 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43309 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43310 wxUSE_DYNAMIC_LOADER=no
43311 wxUSE_DYNLIB_CLASS=no
43313 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43314 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43321 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43322 cat >>confdefs.h <<\_ACEOF
43323 #define wxUSE_DYNAMIC_LOADER 1
43327 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43328 cat >>confdefs.h <<\_ACEOF
43329 #define wxUSE_DYNLIB_CLASS 1
43336 if test "$wxUSE_PLUGINS" = "yes" ; then
43337 if test "$wxUSE_SHARED" = "no" ; then
43338 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43339 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43342 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43343 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43344 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43347 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43348 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43349 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43352 if test "$wxUSE_PLUGINS" = "yes" ; then
43353 cat >>confdefs.h <<\_ACEOF
43354 #define wxUSE_PLUGINS 1
43361 if test "$wxUSE_FSWATCHER" = "yes"; then
43362 if test "$wxUSE_MSW" != "1"; then
43363 if test "$wxUSE_UNIX" = "yes"; then
43365 for ac_header in sys/inotify.h
43367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43371 echo $ECHO_N "(cached) $ECHO_C" >&6
43373 cat >conftest.$ac_ext <<_ACEOF
43376 cat confdefs.h >>conftest.$ac_ext
43377 cat >>conftest.$ac_ext <<_ACEOF
43378 /* end confdefs.h. */
43379 $ac_includes_default
43381 #include <$ac_header>
43383 rm -f conftest.$ac_objext
43384 if { (ac_try="$ac_compile"
43385 case "(($ac_try" in
43386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43387 *) ac_try_echo
=$ac_try;;
43389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43390 (eval "$ac_compile") 2>conftest.er1
43392 grep -v '^ *+' conftest.er1
>conftest.err
43394 cat conftest.err
>&5
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); } && {
43397 test -z "$ac_c_werror_flag" ||
43398 test ! -s conftest.err
43399 } && test -s conftest.
$ac_objext; then
43400 eval "$as_ac_Header=yes"
43402 echo "$as_me: failed program was:" >&5
43403 sed 's/^/| /' conftest.
$ac_ext >&5
43405 eval "$as_ac_Header=no"
43408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43410 ac_res
=`eval echo '${'$as_ac_Header'}'`
43411 { echo "$as_me:$LINENO: result: $ac_res" >&5
43412 echo "${ECHO_T}$ac_res" >&6; }
43413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43414 cat >>confdefs.h
<<_ACEOF
43415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43422 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43423 cat >>confdefs.h
<<\_ACEOF
43424 #define wxHAS_INOTIFY 1
43429 for ac_header
in sys
/event.h
43431 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43434 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43437 cat >conftest.
$ac_ext <<_ACEOF
43440 cat confdefs.h
>>conftest.
$ac_ext
43441 cat >>conftest.
$ac_ext <<_ACEOF
43442 /* end confdefs.h. */
43443 $ac_includes_default
43445 #include <$ac_header>
43447 rm -f conftest.
$ac_objext
43448 if { (ac_try
="$ac_compile"
43449 case "(($ac_try" in
43450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43451 *) ac_try_echo=$ac_try;;
43453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43454 (eval "$ac_compile") 2>conftest.er1
43456 grep -v '^ *+' conftest.er1 >conftest.err
43458 cat conftest.err >&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } && {
43461 test -z "$ac_c_werror_flag" ||
43462 test ! -s conftest.err
43463 } && test -s conftest.$ac_objext; then
43464 eval "$as_ac_Header=yes"
43466 echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.$ac_ext >&5
43469 eval "$as_ac_Header=no"
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43474 ac_res=`eval echo '${'$as_ac_Header'}'`
43475 { echo "$as_me:$LINENO: result: $ac_res" >&5
43476 echo "${ECHO_T}$ac_res" >&6; }
43477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43478 cat >>confdefs.h <<_ACEOF
43479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43486 if test "$ac_cv_header_sys_event_h" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxHAS_KQUEUE 1
43500 if test "$wxUSE_FSWATCHER" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_FSWATCHER 1
43505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43507 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43508 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43513 if test "$wxUSE_STL" = "yes"; then
43514 cat >>confdefs.h <<\_ACEOF
43515 #define wxUSE_STL 1
43520 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43521 cat >>confdefs.h <<\_ACEOF
43522 #define wxUSE_EXTENDED_RTTI 1
43527 if test "$wxUSE_ANY" = "yes"; then
43528 cat >>confdefs.h <<\_ACEOF
43529 #define wxUSE_ANY 1
43534 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_APPLE_IEEE 1
43541 if test "$wxUSE_TIMER" = "yes"; then
43542 cat >>confdefs.h <<\_ACEOF
43543 #define wxUSE_TIMER 1
43548 if test "$USE_UNIX" = 1 ; then
43549 if test "$wxUSE_MGL" != 1; then
43550 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43551 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43552 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43553 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 cat >conftest.$ac_ext <<_ACEOF
43559 cat confdefs.h >>conftest.$ac_ext
43560 cat >>conftest.$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43563 #include <sys/ioctl.h>
43564 #include <sys/soundcard.h>
43570 ioctl(0, SNDCTL_DSP_SPEED, 0);
43576 rm -f conftest.$ac_objext conftest$ac_exeext
43577 if { (ac_try="$ac_link"
43578 case "(($ac_try" in
43579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43580 *) ac_try_echo
=$ac_try;;
43582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43583 (eval "$ac_link") 2>conftest.er1
43585 grep -v '^ *+' conftest.er1
>conftest.err
43587 cat conftest.err
>&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } && {
43590 test -z "$ac_c_werror_flag" ||
43591 test ! -s conftest.err
43592 } && test -s conftest
$ac_exeext &&
43593 $as_test_x conftest
$ac_exeext; then
43594 ac_cv_header_sys_soundcard
=yes
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.
$ac_ext >&5
43601 LIBS
="$saveLibs -lossaudio"
43602 cat >conftest.
$ac_ext <<_ACEOF
43605 cat confdefs.h
>>conftest.
$ac_ext
43606 cat >>conftest.
$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43609 #include <sys/ioctl.h>
43610 #include <sys/soundcard.h>
43616 ioctl(0, SNDCTL_DSP_SPEED, 0);
43622 rm -f conftest.
$ac_objext conftest
$ac_exeext
43623 if { (ac_try
="$ac_link"
43624 case "(($ac_try" in
43625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_link") 2>conftest.er1
43631 grep -v '^ *+' conftest.er1 >conftest.err
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_c_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest$ac_exeext &&
43639 $as_test_x conftest$ac_exeext; then
43640 ac_cv_header_sys_soundcard=yes
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43647 ac_cv_header_sys_soundcard=no
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43659 conftest$ac_exeext conftest.$ac_ext
43662 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43663 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43666 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define HAVE_SYS_SOUNDCARD_H 1
43675 if test "$wxUSE_SOUND" = "yes"; then
43676 if test "$USE_UNIX" = 1 ; then
43677 if test "$wxUSE_LIBSDL" != "no"; then
43679 # Check whether --with-sdl-prefix was given.
43680 if test "${with_sdl_prefix+set}" = set; then
43681 withval=$with_sdl_prefix; sdl_prefix="$withval"
43687 # Check whether --with-sdl-exec-prefix was given.
43688 if test "${with_sdl_exec_prefix+set}" = set; then
43689 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43694 # Check whether --enable-sdltest was given.
43695 if test "${enable_sdltest+set}" = set; then
43696 enableval=$enable_sdltest;
43702 if test x$sdl_exec_prefix != x ; then
43703 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43704 if test x${SDL_CONFIG+set} != xset ; then
43705 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43708 if test x$sdl_prefix != x ; then
43709 sdl_args="$sdl_args --prefix=$sdl_prefix"
43710 if test x${SDL_CONFIG+set} != xset ; then
43711 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43715 if test "x$prefix" != xNONE; then
43716 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43718 # Extract the first word of "sdl-config", so it can be a program name with args.
43719 set dummy sdl-config; ac_word=$2
43720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43722 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43723 echo $ECHO_N "(cached) $ECHO_C" >&6
43725 case $SDL_CONFIG in
43727 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43731 for as_dir in $PATH
43734 test -z "$as_dir" && as_dir=.
43735 for ac_exec_ext in '' $ac_executable_extensions; do
43736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43737 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43745 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43749 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43750 if test -n "$SDL_CONFIG"; then
43751 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43752 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43754 { echo "$as_me:$LINENO: result: no" >&5
43755 echo "${ECHO_T}no" >&6; }
43759 min_sdl_version=1.2.0
43760 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43761 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43763 if test "$SDL_CONFIG" = "no" ; then
43766 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43767 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43769 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43771 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43773 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43775 if test "x$enable_sdltest" = "xyes" ; then
43776 ac_save_CFLAGS="$CFLAGS"
43777 ac_save_CXXFLAGS="$CXXFLAGS"
43778 ac_save_LIBS="$LIBS"
43779 CFLAGS="$CFLAGS $SDL_CFLAGS"
43780 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43781 LIBS="$LIBS $SDL_LIBS"
43783 if test "$cross_compiling" = yes; then
43784 echo $ac_n "cross compiling; assumed OK... $ac_c"
43786 cat >conftest.$ac_ext <<_ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43794 #include <stdlib.h>
43795 #include <string.h>
43799 my_strdup (char *str)
43805 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43806 strcpy (new_str, str);
43814 int main (int argc, char *argv[])
43816 int major, minor, micro;
43819 /* This hangs on some systems (?)
43820 system ("touch conf.sdltest");
43822 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43824 /* HP/UX 9 (%@#!) writes to sscanf strings */
43825 tmp_version = my_strdup("$min_sdl_version");
43826 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43827 printf("%s, bad version string\n", "$min_sdl_version");
43831 if (($sdl_major_version > major) ||
43832 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43833 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43839 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43840 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43841 printf("*** best to upgrade to the required version.\n");
43842 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43843 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43844 printf("*** config.cache before re-running configure\n");
43851 rm -f conftest$ac_exeext
43852 if { (ac_try="$ac_link"
43853 case "(($ac_try" in
43854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43855 *) ac_try_echo
=$ac_try;;
43857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43858 (eval "$ac_link") 2>&5
43860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43862 { (case "(($ac_try" in
43863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43864 *) ac_try_echo=$ac_try;;
43866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43867 (eval "$ac_try") 2>&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43873 echo "$as_me: program exited with status $ac_status" >&5
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43877 ( exit $ac_status )
43880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43884 CFLAGS="$ac_save_CFLAGS"
43885 CXXFLAGS="$ac_save_CXXFLAGS"
43886 LIBS="$ac_save_LIBS"
43889 if test "x$no_sdl" = x ; then
43890 { echo "$as_me:$LINENO: result: yes" >&5
43891 echo "${ECHO_T}yes" >&6; }
43893 EXTRALIBS_SDL="$SDL_LIBS"
43894 CFLAGS="$SDL_CFLAGS $CFLAGS"
43895 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_LIBSDL 1
43902 { echo "$as_me:$LINENO: result: no" >&5
43903 echo "${ECHO_T}no" >&6; }
43904 if test "$SDL_CONFIG" = "no" ; then
43905 echo "*** The sdl-config script installed by SDL could not be found"
43906 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43907 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43908 echo "*** full path to sdl-config."
43910 if test -f conf.sdltest ; then
43913 echo "*** Could not run SDL test program, checking why..."
43914 CFLAGS="$CFLAGS $SDL_CFLAGS"
43915 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43916 LIBS="$LIBS $SDL_LIBS"
43917 cat >conftest.$ac_ext <<_ACEOF
43920 cat confdefs.h >>conftest.$ac_ext
43921 cat >>conftest.$ac_ext <<_ACEOF
43922 /* end confdefs.h. */
43927 int main(int argc, char *argv[])
43930 #define main K_and_R_C_main
43940 rm -f conftest.$ac_objext conftest$ac_exeext
43941 if { (ac_try="$ac_link"
43942 case "(($ac_try" in
43943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43944 *) ac_try_echo
=$ac_try;;
43946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43947 (eval "$ac_link") 2>conftest.er1
43949 grep -v '^ *+' conftest.er1
>conftest.err
43951 cat conftest.err
>&5
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); } && {
43954 test -z "$ac_c_werror_flag" ||
43955 test ! -s conftest.err
43956 } && test -s conftest
$ac_exeext &&
43957 $as_test_x conftest
$ac_exeext; then
43958 echo "*** The test program compiled, but did not run. This usually means"
43959 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43960 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43963 echo "*** is required on your system"
43965 echo "*** If you have an old version installed, it is best to remove it, although"
43966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43968 echo "$as_me: failed program was:" >&5
43969 sed 's/^/| /' conftest.
$ac_ext >&5
43971 echo "*** The test program failed to compile or link. See the file config.log for the"
43972 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43973 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43974 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43978 conftest
$ac_exeext conftest.
$ac_ext
43979 CFLAGS
="$ac_save_CFLAGS"
43980 CXXFLAGS
="$ac_save_CXXFLAGS"
43981 LIBS
="$ac_save_LIBS"
43992 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43997 if test "$wxUSE_MGL" = 1; then
43998 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43999 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44005 if test "$wxUSE_SOUND" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_SOUND 1
44010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44013 if test "$WXGTK2" = 1; then
44016 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44017 if test -n "$ac_tool_prefix"; then
44018 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44019 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44022 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44025 case $PKG_CONFIG in
44027 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44031 for as_dir
in $PATH
44034 test -z "$as_dir" && as_dir
=.
44035 for ac_exec_ext
in '' $ac_executable_extensions; do
44036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44037 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44048 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44049 if test -n "$PKG_CONFIG"; then
44050 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44051 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44053 { echo "$as_me:$LINENO: result: no" >&5
44054 echo "${ECHO_T}no" >&6; }
44059 if test -z "$ac_cv_path_PKG_CONFIG"; then
44060 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44061 # Extract the first word of "pkg-config", so it can be a program name with args.
44062 set dummy pkg
-config; ac_word
=$2
44063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44065 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44068 case $ac_pt_PKG_CONFIG in
44070 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44074 for as_dir
in $PATH
44077 test -z "$as_dir" && as_dir
=.
44078 for ac_exec_ext
in '' $ac_executable_extensions; do
44079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44080 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44091 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44092 if test -n "$ac_pt_PKG_CONFIG"; then
44093 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44094 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44096 { echo "$as_me:$LINENO: result: no" >&5
44097 echo "${ECHO_T}no" >&6; }
44100 if test "x$ac_pt_PKG_CONFIG" = x
; then
44103 case $cross_compiling:$ac_tool_warned in
44105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44106 whose name does not start with the host triplet. If you think this
44107 configuration is useful to you, please write to autoconf@gnu.org." >&5
44108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44109 whose name does not start with the host triplet. If you think this
44110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44111 ac_tool_warned
=yes ;;
44113 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44116 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44120 if test -n "$PKG_CONFIG"; then
44121 _pkg_min_version
=0.9.0
44122 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44123 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44124 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44125 { echo "$as_me:$LINENO: result: yes" >&5
44126 echo "${ECHO_T}yes" >&6; }
44128 { echo "$as_me:$LINENO: result: no" >&5
44129 echo "${ECHO_T}no" >&6; }
44135 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44137 if test "$wxUSE_GTKPRINT" = "yes" ; then
44141 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44142 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44144 if test -n "$PKG_CONFIG"; then
44145 if test -n "$GTKPRINT_CFLAGS"; then
44146 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44148 if test -n "$PKG_CONFIG" && \
44149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44150 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); }; then
44154 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44162 if test -n "$PKG_CONFIG"; then
44163 if test -n "$GTKPRINT_LIBS"; then
44164 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44166 if test -n "$PKG_CONFIG" && \
44167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44168 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; then
44172 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44183 if test $pkg_failed = yes; then
44185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44186 _pkg_short_errors_supported
=yes
44188 _pkg_short_errors_supported
=no
44190 if test $_pkg_short_errors_supported = yes; then
44191 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44193 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44195 # Put the nasty error message in config.log where it belongs
44196 echo "$GTKPRINT_PKG_ERRORS" >&5
44199 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44200 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44201 wxUSE_GTKPRINT
="no"
44204 elif test $pkg_failed = untried
; then
44206 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44207 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44208 wxUSE_GTKPRINT
="no"
44212 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44213 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44214 { echo "$as_me:$LINENO: result: yes" >&5
44215 echo "${ECHO_T}yes" >&6; }
44217 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44218 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44219 cat >>confdefs.h
<<\_ACEOF
44220 #define wxUSE_GTKPRINT 1
44227 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44231 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44232 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44234 if test -n "$PKG_CONFIG"; then
44235 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44236 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44238 if test -n "$PKG_CONFIG" && \
44239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44240 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; then
44244 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44252 if test -n "$PKG_CONFIG"; then
44253 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44254 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44256 if test -n "$PKG_CONFIG" && \
44257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44258 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; then
44262 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44273 if test $pkg_failed = yes; then
44275 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44276 _pkg_short_errors_supported
=yes
44278 _pkg_short_errors_supported
=no
44280 if test $_pkg_short_errors_supported = yes; then
44281 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44283 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44285 # Put the nasty error message in config.log where it belongs
44286 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44289 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44290 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44291 wxUSE_LIBGNOMEPRINT
="no"
44294 elif test $pkg_failed = untried
; then
44296 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44297 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44298 wxUSE_LIBGNOMEPRINT
="no"
44302 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44303 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44304 { echo "$as_me:$LINENO: result: yes" >&5
44305 echo "${ECHO_T}yes" >&6; }
44307 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44308 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44309 cat >>confdefs.h
<<\_ACEOF
44310 #define wxUSE_LIBGNOMEPRINT 1
44318 if test "$wxUSE_MIMETYPE" = "yes" ; then
44319 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44323 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44324 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44326 if test -n "$PKG_CONFIG"; then
44327 if test -n "$GNOMEVFS_CFLAGS"; then
44328 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44330 if test -n "$PKG_CONFIG" && \
44331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44332 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; then
44336 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44344 if test -n "$PKG_CONFIG"; then
44345 if test -n "$GNOMEVFS_LIBS"; then
44346 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44348 if test -n "$PKG_CONFIG" && \
44349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44350 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); }; then
44354 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44365 if test $pkg_failed = yes; then
44367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44368 _pkg_short_errors_supported
=yes
44370 _pkg_short_errors_supported
=no
44372 if test $_pkg_short_errors_supported = yes; then
44373 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44375 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44377 # Put the nasty error message in config.log where it belongs
44378 echo "$GNOMEVFS_PKG_ERRORS" >&5
44381 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44382 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44383 wxUSE_LIBGNOMEVFS
="no"
44386 elif test $pkg_failed = untried
; then
44388 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44389 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44390 wxUSE_LIBGNOMEVFS
="no"
44394 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44395 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44396 { echo "$as_me:$LINENO: result: yes" >&5
44397 echo "${ECHO_T}yes" >&6; }
44399 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44400 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44401 cat >>confdefs.h
<<\_ACEOF
44402 #define wxUSE_LIBGNOMEVFS 1
44410 if test "$wxUSE_LIBHILDON" = "yes" ; then
44413 { echo "$as_me:$LINENO: checking for HILDON" >&5
44414 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44416 if test -n "$PKG_CONFIG"; then
44417 if test -n "$HILDON_CFLAGS"; then
44418 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44420 if test -n "$PKG_CONFIG" && \
44421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44422 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); }; then
44426 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44434 if test -n "$PKG_CONFIG"; then
44435 if test -n "$HILDON_LIBS"; then
44436 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44438 if test -n "$PKG_CONFIG" && \
44439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44440 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; then
44444 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44455 if test $pkg_failed = yes; then
44457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44458 _pkg_short_errors_supported
=yes
44460 _pkg_short_errors_supported
=no
44462 if test $_pkg_short_errors_supported = yes; then
44463 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44465 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44467 # Put the nasty error message in config.log where it belongs
44468 echo "$HILDON_PKG_ERRORS" >&5
44471 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44472 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44473 wxUSE_LIBHILDON
="no"
44477 elif test $pkg_failed = untried
; then
44479 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44480 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44481 wxUSE_LIBHILDON
="no"
44486 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44487 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44488 { echo "$as_me:$LINENO: result: yes" >&5
44489 echo "${ECHO_T}yes" >&6; }
44491 EXTRALIBS_HILDON
="$HILDON_LIBS"
44492 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44493 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44494 cat >>confdefs.h
<<\_ACEOF
44495 #define wxUSE_LIBHILDON 1
44502 if test "$ac_hildon_lgpl" = 0 ; then
44505 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44506 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44508 if test -n "$PKG_CONFIG"; then
44509 if test -n "$HILDON2_CFLAGS"; then
44510 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44512 if test -n "$PKG_CONFIG" && \
44513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44514 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; then
44518 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44526 if test -n "$PKG_CONFIG"; then
44527 if test -n "$HILDON2_LIBS"; then
44528 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44530 if test -n "$PKG_CONFIG" && \
44531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44532 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44535 (exit $ac_status); }; then
44536 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44547 if test $pkg_failed = yes; then
44549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44550 _pkg_short_errors_supported
=yes
44552 _pkg_short_errors_supported
=no
44554 if test $_pkg_short_errors_supported = yes; then
44555 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44557 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44559 # Put the nasty error message in config.log where it belongs
44560 echo "$HILDON2_PKG_ERRORS" >&5
44563 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44564 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44565 wxUSE_LIBHILDON2
="no"
44568 elif test $pkg_failed = untried
; then
44570 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44571 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44572 wxUSE_LIBHILDON2
="no"
44576 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44577 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44578 { echo "$as_me:$LINENO: result: yes" >&5
44579 echo "${ECHO_T}yes" >&6; }
44581 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44582 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44583 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_LIBHILDON2 1
44594 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44595 cat >>confdefs.h
<<\_ACEOF
44596 #define wxUSE_CMDLINE_PARSER 1
44601 if test "$wxUSE_STOPWATCH" = "yes"; then
44602 cat >>confdefs.h
<<\_ACEOF
44603 #define wxUSE_STOPWATCH 1
44608 if test "$wxUSE_DATETIME" = "yes"; then
44609 cat >>confdefs.h
<<\_ACEOF
44610 #define wxUSE_DATETIME 1
44615 if test "$wxUSE_FILE" = "yes"; then
44616 cat >>confdefs.h
<<\_ACEOF
44617 #define wxUSE_FILE 1
44622 if test "$wxUSE_FFILE" = "yes"; then
44623 cat >>confdefs.h
<<\_ACEOF
44624 #define wxUSE_FFILE 1
44629 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44630 if test "$wxUSE_STREAMS" != yes; then
44631 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44632 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44633 wxUSE_ARCHIVE_STREAMS
=no
44635 cat >>confdefs.h
<<\_ACEOF
44636 #define wxUSE_ARCHIVE_STREAMS 1
44642 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44643 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44645 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44646 elif test "$wxUSE_ZLIB" = "no"; then
44647 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44648 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44650 cat >>confdefs.h
<<\_ACEOF
44651 #define wxUSE_ZIPSTREAM 1
44657 if test "$wxUSE_TARSTREAM" = "yes"; then
44658 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44659 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44660 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44662 cat >>confdefs.h
<<\_ACEOF
44663 #define wxUSE_TARSTREAM 1
44669 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44670 cat >>confdefs.h
<<\_ACEOF
44671 #define wxUSE_FILE_HISTORY 1
44676 if test "$wxUSE_FILESYSTEM" = "yes"; then
44677 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44678 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44679 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44680 wxUSE_FILESYSTEM
=no
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_FILESYSTEM 1
44689 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44690 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44691 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44692 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_FS_ARCHIVE 1
44701 if test "$wxUSE_FS_ZIP" = "yes"; then
44702 if test "$wxUSE_FS_ARCHIVE" != yes; then
44703 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44704 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44706 cat >>confdefs.h
<<\_ACEOF
44707 #define wxUSE_FS_ZIP 1
44713 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44714 if test "$USE_UNIX" != 1; then
44715 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44716 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44717 wxUSE_ON_FATAL_EXCEPTION
=no
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_ON_FATAL_EXCEPTION 1
44726 if test "$wxUSE_STACKWALKER" = "yes"; then
44727 cat >>confdefs.h
<<\_ACEOF
44728 #define wxUSE_STACKWALKER 1
44733 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44734 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44735 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44736 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44737 wxUSE_DEBUGREPORT
=no
44739 cat >>confdefs.h
<<\_ACEOF
44740 #define wxUSE_DEBUGREPORT 1
44743 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44749 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44750 cat >>confdefs.h
<<\_ACEOF
44751 #define wxUSE_SNGLINST_CHECKER 1
44756 if test "$wxUSE_BUSYINFO" = "yes"; then
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_BUSYINFO 1
44763 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_STD_IOSTREAM 1
44770 if test "$wxUSE_STD_STRING" = "yes"; then
44771 cat >>confdefs.h
<<\_ACEOF
44772 #define wxUSE_STD_STRING 1
44777 if test "$wxUSE_STDPATHS" = "yes"; then
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_STDPATHS 1
44784 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_TEXTBUFFER 1
44791 if test "$wxUSE_TEXTFILE" = "yes"; then
44792 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44793 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44794 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44796 cat >>confdefs.h
<<\_ACEOF
44797 #define wxUSE_TEXTFILE 1
44803 if test "$wxUSE_CONFIG" = "yes" ; then
44804 if test "$wxUSE_TEXTFILE" != "yes"; then
44805 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44806 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44808 cat >>confdefs.h
<<\_ACEOF
44809 #define wxUSE_CONFIG 1
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_CONFIG_NATIVE 1
44816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44820 if test "$wxUSE_INTL" = "yes" ; then
44821 if test "$wxUSE_FILE" != "yes"; then
44822 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44823 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44825 cat >>confdefs.h
<<\_ACEOF
44826 #define wxUSE_INTL 1
44829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44830 GUIDIST
="$GUIDIST INTL_DIST"
44834 if test "$wxUSE_XLOCALE" = "yes" ; then
44835 cat >>confdefs.h
<<\_ACEOF
44836 #define wxUSE_XLOCALE 1
44839 { echo "$as_me:$LINENO: checking for locale_t" >&5
44840 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44841 if test "${ac_cv_type_locale_t+set}" = set; then
44842 echo $ECHO_N "(cached) $ECHO_C" >&6
44844 cat >conftest.
$ac_ext <<_ACEOF
44847 cat confdefs.h
>>conftest.
$ac_ext
44848 cat >>conftest.
$ac_ext <<_ACEOF
44849 /* end confdefs.h. */
44850 #include <xlocale.h>
44851 #include <locale.h>
44853 typedef locale_t ac__type_new_;
44857 if ((ac__type_new_ *) 0)
44859 if (sizeof (ac__type_new_))
44865 rm -f conftest.
$ac_objext
44866 if { (ac_try
="$ac_compile"
44867 case "(($ac_try" in
44868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44869 *) ac_try_echo=$ac_try;;
44871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44872 (eval "$ac_compile") 2>conftest.er1
44874 grep -v '^ *+' conftest.er1 >conftest.err
44876 cat conftest.err >&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); } && {
44879 test -z "$ac_c_werror_flag" ||
44880 test ! -s conftest.err
44881 } && test -s conftest.$ac_objext; then
44882 ac_cv_type_locale_t=yes
44884 echo "$as_me: failed program was:" >&5
44885 sed 's/^/| /' conftest.$ac_ext >&5
44887 ac_cv_type_locale_t=no
44890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44892 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44893 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44894 if test $ac_cv_type_locale_t = yes; then
44896 cat >>confdefs.h <<_ACEOF
44897 #define HAVE_LOCALE_T 1
44905 if test "$wxUSE_LOG" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_LOG 1
44911 if test "$wxUSE_LOGGUI" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_LOGGUI 1
44918 if test "$wxUSE_LOGWINDOW" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_LOGWINDOW 1
44925 if test "$wxUSE_LOGDIALOG" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_LOG_DIALOG 1
44932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44935 if test "$wxUSE_LONGLONG" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_LONGLONG 1
44942 if test "$wxUSE_GEOMETRY" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_GEOMETRY 1
44949 if test "$wxUSE_BASE64" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_BASE64 1
44956 if test "$wxUSE_STREAMS" = "yes" ; then
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_STREAMS 1
44963 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_PRINTF_POS_PARAMS 1
44970 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_OBJC_UNIQUIFYING 1
44978 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_CONSOLE_EVENTLOOP 1
44984 if test "$wxUSE_UNIX" = "yes"; then
44985 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_SELECT_DISPATCHER 1
44992 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44994 for ac_header in sys/epoll.h
44996 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45000 echo $ECHO_N "(cached) $ECHO_C" >&6
45002 cat >conftest.$ac_ext <<_ACEOF
45005 cat confdefs.h >>conftest.$ac_ext
45006 cat >>conftest.$ac_ext <<_ACEOF
45007 /* end confdefs.h. */
45008 $ac_includes_default
45010 #include <$ac_header>
45012 rm -f conftest.$ac_objext
45013 if { (ac_try="$ac_compile"
45014 case "(($ac_try" in
45015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45016 *) ac_try_echo
=$ac_try;;
45018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45019 (eval "$ac_compile") 2>conftest.er1
45021 grep -v '^ *+' conftest.er1
>conftest.err
45023 cat conftest.err
>&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); } && {
45026 test -z "$ac_c_werror_flag" ||
45027 test ! -s conftest.err
45028 } && test -s conftest.
$ac_objext; then
45029 eval "$as_ac_Header=yes"
45031 echo "$as_me: failed program was:" >&5
45032 sed 's/^/| /' conftest.
$ac_ext >&5
45034 eval "$as_ac_Header=no"
45037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45039 ac_res
=`eval echo '${'$as_ac_Header'}'`
45040 { echo "$as_me:$LINENO: result: $ac_res" >&5
45041 echo "${ECHO_T}$ac_res" >&6; }
45042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45043 cat >>confdefs.h
<<_ACEOF
45044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45051 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45052 cat >>confdefs.h
<<\_ACEOF
45053 #define wxUSE_EPOLL_DISPATCHER 1
45057 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45058 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45067 for ac_func
in gettimeofday ftime
45069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45072 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45073 echo $ECHO_N "(cached) $ECHO_C" >&6
45075 cat >conftest.
$ac_ext <<_ACEOF
45078 cat confdefs.h
>>conftest.
$ac_ext
45079 cat >>conftest.
$ac_ext <<_ACEOF
45080 /* end confdefs.h. */
45081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45083 #define $ac_func innocuous_$ac_func
45085 /* System header to define __stub macros and hopefully few prototypes,
45086 which can conflict with char $ac_func (); below.
45087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45088 <limits.h> exists even on freestanding compilers. */
45091 # include <limits.h>
45093 # include <assert.h>
45098 /* Override any GCC internal prototype to avoid an error.
45099 Use char because int might match the return type of a GCC
45100 builtin and then its argument prototype would still apply. */
45105 /* The GNU C library defines this for functions which it implements
45106 to always fail with ENOSYS. Some functions are actually named
45107 something starting with __ and the normal name is an alias. */
45108 #if defined __stub_$ac_func || defined __stub___$ac_func
45115 return $ac_func ();
45120 rm -f conftest.
$ac_objext conftest
$ac_exeext
45121 if { (ac_try
="$ac_link"
45122 case "(($ac_try" in
45123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45124 *) ac_try_echo=$ac_try;;
45126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45127 (eval "$ac_link") 2>conftest.er1
45129 grep -v '^ *+' conftest.er1 >conftest.err
45131 cat conftest.err >&5
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); } && {
45134 test -z "$ac_c_werror_flag" ||
45135 test ! -s conftest.err
45136 } && test -s conftest$ac_exeext &&
45137 $as_test_x conftest$ac_exeext; then
45138 eval "$as_ac_var=yes"
45140 echo "$as_me: failed program was:" >&5
45141 sed 's/^/| /' conftest.$ac_ext >&5
45143 eval "$as_ac_var=no"
45146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45147 conftest$ac_exeext conftest.$ac_ext
45149 ac_res=`eval echo '${'$as_ac_var'}'`
45150 { echo "$as_me:$LINENO: result: $ac_res" >&5
45151 echo "${ECHO_T}$ac_res" >&6; }
45152 if test `eval echo '${'$as_ac_var'}'` = yes; then
45153 cat >>confdefs.h <<_ACEOF
45154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45161 if test "$ac_cv_func_gettimeofday" = "yes"; then
45162 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45163 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45164 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45165 echo $ECHO_N "(cached) $ECHO_C" >&6
45168 cat >conftest.$ac_ext <<_ACEOF
45171 cat confdefs.h >>conftest.$ac_ext
45172 cat >>conftest.$ac_ext <<_ACEOF
45173 /* end confdefs.h. */
45175 #include <sys/time.h>
45176 #include <unistd.h>
45183 gettimeofday(&tv, NULL);
45189 rm -f conftest.$ac_objext
45190 if { (ac_try="$ac_compile"
45191 case "(($ac_try" in
45192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45193 *) ac_try_echo
=$ac_try;;
45195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45196 (eval "$ac_compile") 2>conftest.er1
45198 grep -v '^ *+' conftest.er1
>conftest.err
45200 cat conftest.err
>&5
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); } && {
45203 test -z "$ac_c_werror_flag" ||
45204 test ! -s conftest.err
45205 } && test -s conftest.
$ac_objext; then
45206 wx_cv_func_gettimeofday_has_2_args
=yes
45208 echo "$as_me: failed program was:" >&5
45209 sed 's/^/| /' conftest.
$ac_ext >&5
45211 cat >conftest.
$ac_ext <<_ACEOF
45214 cat confdefs.h
>>conftest.
$ac_ext
45215 cat >>conftest.
$ac_ext <<_ACEOF
45216 /* end confdefs.h. */
45218 #include <sys/time.h>
45219 #include <unistd.h>
45232 rm -f conftest.
$ac_objext
45233 if { (ac_try
="$ac_compile"
45234 case "(($ac_try" in
45235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45236 *) ac_try_echo=$ac_try;;
45238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45239 (eval "$ac_compile") 2>conftest.er1
45241 grep -v '^ *+' conftest.er1 >conftest.err
45243 cat conftest.err >&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); } && {
45246 test -z "$ac_c_werror_flag" ||
45247 test ! -s conftest.err
45248 } && test -s conftest.$ac_objext; then
45249 wx_cv_func_gettimeofday_has_2_args=no
45251 echo "$as_me: failed program was:" >&5
45252 sed 's/^/| /' conftest.$ac_ext >&5
45255 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45256 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45257 wx_cv_func_gettimeofday_has_2_args=unknown
45262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45270 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45272 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define WX_GETTIMEOFDAY_NO_TZ 1
45280 if test "$wxUSE_DATETIME" = "yes"; then
45281 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45282 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45283 if test "${wx_cv_var_timezone+set}" = set; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45288 ac_cpp='$CXXCPP $CPPFLAGS'
45289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45293 cat >conftest.$ac_ext <<_ACEOF
45296 cat confdefs.h >>conftest.$ac_ext
45297 cat >>conftest.$ac_ext <<_ACEOF
45298 /* end confdefs.h. */
45313 rm -f conftest.$ac_objext
45314 if { (ac_try="$ac_compile"
45315 case "(($ac_try" in
45316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45317 *) ac_try_echo
=$ac_try;;
45319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45320 (eval "$ac_compile") 2>conftest.er1
45322 grep -v '^ *+' conftest.er1
>conftest.err
45324 cat conftest.err
>&5
45325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326 (exit $ac_status); } && {
45327 test -z "$ac_cxx_werror_flag" ||
45328 test ! -s conftest.err
45329 } && test -s conftest.
$ac_objext; then
45331 wx_cv_var_timezone
=timezone
45334 echo "$as_me: failed program was:" >&5
45335 sed 's/^/| /' conftest.
$ac_ext >&5
45338 cat >conftest.
$ac_ext <<_ACEOF
45341 cat confdefs.h
>>conftest.
$ac_ext
45342 cat >>conftest.
$ac_ext <<_ACEOF
45343 /* end confdefs.h. */
45358 rm -f conftest.
$ac_objext
45359 if { (ac_try
="$ac_compile"
45360 case "(($ac_try" in
45361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45362 *) ac_try_echo=$ac_try;;
45364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45365 (eval "$ac_compile") 2>conftest.er1
45367 grep -v '^ *+' conftest.er1 >conftest.err
45369 cat conftest.err >&5
45370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45371 (exit $ac_status); } && {
45372 test -z "$ac_cxx_werror_flag" ||
45373 test ! -s conftest.err
45374 } && test -s conftest.$ac_objext; then
45376 wx_cv_var_timezone=_timezone
45379 echo "$as_me: failed program was:" >&5
45380 sed 's/^/| /' conftest.$ac_ext >&5
45383 cat >conftest.$ac_ext <<_ACEOF
45386 cat confdefs.h >>conftest.$ac_ext
45387 cat >>conftest.$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45403 rm -f conftest.$ac_objext
45404 if { (ac_try="$ac_compile"
45405 case "(($ac_try" in
45406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45407 *) ac_try_echo
=$ac_try;;
45409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45410 (eval "$ac_compile") 2>conftest.er1
45412 grep -v '^ *+' conftest.er1
>conftest.err
45414 cat conftest.err
>&5
45415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45416 (exit $ac_status); } && {
45417 test -z "$ac_cxx_werror_flag" ||
45418 test ! -s conftest.err
45419 } && test -s conftest.
$ac_objext; then
45421 wx_cv_var_timezone
=__timezone
45424 echo "$as_me: failed program was:" >&5
45425 sed 's/^/| /' conftest.
$ac_ext >&5
45428 if test "$USE_DOS" = 0 ; then
45429 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45430 echo "$as_me: WARNING: no timezone variable" >&2;}
45436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45448 ac_cpp
='$CPP $CPPFLAGS'
45449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45456 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45457 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45459 if test "x$wx_cv_var_timezone" != x
; then
45460 cat >>confdefs.h
<<_ACEOF
45461 #define WX_TIMEZONE $wx_cv_var_timezone
45467 for ac_func
in localtime
45469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45472 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45473 echo $ECHO_N "(cached) $ECHO_C" >&6
45475 cat >conftest.
$ac_ext <<_ACEOF
45478 cat confdefs.h
>>conftest.
$ac_ext
45479 cat >>conftest.
$ac_ext <<_ACEOF
45480 /* end confdefs.h. */
45481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45483 #define $ac_func innocuous_$ac_func
45485 /* System header to define __stub macros and hopefully few prototypes,
45486 which can conflict with char $ac_func (); below.
45487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45488 <limits.h> exists even on freestanding compilers. */
45491 # include <limits.h>
45493 # include <assert.h>
45498 /* Override any GCC internal prototype to avoid an error.
45499 Use char because int might match the return type of a GCC
45500 builtin and then its argument prototype would still apply. */
45505 /* The GNU C library defines this for functions which it implements
45506 to always fail with ENOSYS. Some functions are actually named
45507 something starting with __ and the normal name is an alias. */
45508 #if defined __stub_$ac_func || defined __stub___$ac_func
45515 return $ac_func ();
45520 rm -f conftest.
$ac_objext conftest
$ac_exeext
45521 if { (ac_try
="$ac_link"
45522 case "(($ac_try" in
45523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45524 *) ac_try_echo=$ac_try;;
45526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45527 (eval "$ac_link") 2>conftest.er1
45529 grep -v '^ *+' conftest.er1 >conftest.err
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } && {
45534 test -z "$ac_c_werror_flag" ||
45535 test ! -s conftest.err
45536 } && test -s conftest$ac_exeext &&
45537 $as_test_x conftest$ac_exeext; then
45538 eval "$as_ac_var=yes"
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.$ac_ext >&5
45543 eval "$as_ac_var=no"
45546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45547 conftest$ac_exeext conftest.$ac_ext
45549 ac_res=`eval echo '${'$as_ac_var'}'`
45550 { echo "$as_me:$LINENO: result: $ac_res" >&5
45551 echo "${ECHO_T}$ac_res" >&6; }
45552 if test `eval echo '${'$as_ac_var'}'` = yes; then
45553 cat >>confdefs.h <<_ACEOF
45554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45561 if test "$ac_cv_func_localtime" = "yes"; then
45562 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45563 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45564 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45568 cat >conftest.$ac_ext <<_ACEOF
45571 cat confdefs.h >>conftest.$ac_ext
45572 cat >>conftest.$ac_ext <<_ACEOF
45573 /* end confdefs.h. */
45588 rm -f conftest.$ac_objext
45589 if { (ac_try="$ac_compile"
45590 case "(($ac_try" in
45591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45592 *) ac_try_echo
=$ac_try;;
45594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45595 (eval "$ac_compile") 2>conftest.er1
45597 grep -v '^ *+' conftest.er1
>conftest.err
45599 cat conftest.err
>&5
45600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601 (exit $ac_status); } && {
45602 test -z "$ac_c_werror_flag" ||
45603 test ! -s conftest.err
45604 } && test -s conftest.
$ac_objext; then
45606 wx_cv_struct_tm_has_gmtoff
=yes
45609 echo "$as_me: failed program was:" >&5
45610 sed 's/^/| /' conftest.
$ac_ext >&5
45612 wx_cv_struct_tm_has_gmtoff
=no
45616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45619 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45620 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45623 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define WX_GMTOFF_IN_TM 1
45630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45634 if test "$wxUSE_SOCKETS" = "yes"; then
45635 if test "$wxUSE_MGL" = 1; then
45636 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45637 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45642 if test "$wxUSE_SOCKETS" = "yes"; then
45643 if test "$TOOLKIT" != "MSW"; then
45644 { echo "$as_me:$LINENO: checking for socket" >&5
45645 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45646 if test "${ac_cv_func_socket+set}" = set; then
45647 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 cat >conftest.
$ac_ext <<_ACEOF
45652 cat confdefs.h
>>conftest.
$ac_ext
45653 cat >>conftest.
$ac_ext <<_ACEOF
45654 /* end confdefs.h. */
45655 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45657 #define socket innocuous_socket
45659 /* System header to define __stub macros and hopefully few prototypes,
45660 which can conflict with char socket (); below.
45661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45662 <limits.h> exists even on freestanding compilers. */
45665 # include <limits.h>
45667 # include <assert.h>
45672 /* Override any GCC internal prototype to avoid an error.
45673 Use char because int might match the return type of a GCC
45674 builtin and then its argument prototype would still apply. */
45679 /* The GNU C library defines this for functions which it implements
45680 to always fail with ENOSYS. Some functions are actually named
45681 something starting with __ and the normal name is an alias. */
45682 #if defined __stub_socket || defined __stub___socket
45694 rm -f conftest.
$ac_objext conftest
$ac_exeext
45695 if { (ac_try
="$ac_link"
45696 case "(($ac_try" in
45697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45698 *) ac_try_echo=$ac_try;;
45700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45701 (eval "$ac_link") 2>conftest.er1
45703 grep -v '^ *+' conftest.er1 >conftest.err
45705 cat conftest.err >&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); } && {
45708 test -z "$ac_c_werror_flag" ||
45709 test ! -s conftest.err
45710 } && test -s conftest$ac_exeext &&
45711 $as_test_x conftest$ac_exeext; then
45712 ac_cv_func_socket=yes
45714 echo "$as_me: failed program was:" >&5
45715 sed 's/^/| /' conftest.$ac_ext >&5
45717 ac_cv_func_socket=no
45720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45721 conftest$ac_exeext conftest.$ac_ext
45723 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45724 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45725 if test $ac_cv_func_socket = yes; then
45729 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45730 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45731 if test "${ac_cv_lib_socket_socket+set}" = set; then
45732 echo $ECHO_N "(cached) $ECHO_C" >&6
45734 ac_check_lib_save_LIBS=$LIBS
45735 LIBS="-lsocket $LIBS"
45736 cat >conftest.$ac_ext <<_ACEOF
45739 cat confdefs.h >>conftest.$ac_ext
45740 cat >>conftest.$ac_ext <<_ACEOF
45741 /* end confdefs.h. */
45743 /* Override any GCC internal prototype to avoid an error.
45744 Use char because int might match the return type of a GCC
45745 builtin and then its argument prototype would still apply. */
45758 rm -f conftest.$ac_objext conftest$ac_exeext
45759 if { (ac_try="$ac_link"
45760 case "(($ac_try" in
45761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45762 *) ac_try_echo
=$ac_try;;
45764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45765 (eval "$ac_link") 2>conftest.er1
45767 grep -v '^ *+' conftest.er1
>conftest.err
45769 cat conftest.err
>&5
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); } && {
45772 test -z "$ac_c_werror_flag" ||
45773 test ! -s conftest.err
45774 } && test -s conftest
$ac_exeext &&
45775 $as_test_x conftest
$ac_exeext; then
45776 ac_cv_lib_socket_socket
=yes
45778 echo "$as_me: failed program was:" >&5
45779 sed 's/^/| /' conftest.
$ac_ext >&5
45781 ac_cv_lib_socket_socket
=no
45784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45785 conftest
$ac_exeext conftest.
$ac_ext
45786 LIBS
=$ac_check_lib_save_LIBS
45788 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45789 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45790 if test $ac_cv_lib_socket_socket = yes; then
45791 if test "$INET_LINK" != " -lsocket"; then
45792 INET_LINK
="$INET_LINK -lsocket"
45796 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45797 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45810 if test "$wxUSE_SOCKETS" = "yes" ; then
45811 if test "$TOOLKIT" != "MSW"; then
45812 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45813 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45814 if test "${wx_cv_type_getsockname3+set}" = set; then
45815 echo $ECHO_N "(cached) $ECHO_C" >&6
45819 ac_cpp
='$CXXCPP $CPPFLAGS'
45820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45824 cat >conftest.
$ac_ext <<_ACEOF
45827 cat confdefs.h
>>conftest.
$ac_ext
45828 cat >>conftest.
$ac_ext <<_ACEOF
45829 /* end confdefs.h. */
45831 #include <sys/types.h>
45832 #include <sys/socket.h>
45839 getsockname(0, 0, &len);
45845 rm -f conftest.
$ac_objext
45846 if { (ac_try
="$ac_compile"
45847 case "(($ac_try" in
45848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45849 *) ac_try_echo=$ac_try;;
45851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45852 (eval "$ac_compile") 2>conftest.er1
45854 grep -v '^ *+' conftest.er1 >conftest.err
45856 cat conftest.err >&5
45857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45858 (exit $ac_status); } && {
45859 test -z "$ac_cxx_werror_flag" ||
45860 test ! -s conftest.err
45861 } && test -s conftest.$ac_objext; then
45862 wx_cv_type_getsockname3=socklen_t
45864 echo "$as_me: failed program was:" >&5
45865 sed 's/^/| /' conftest.$ac_ext >&5
45868 CFLAGS_OLD="$CFLAGS"
45869 if test "$GCC" = yes ; then
45870 CFLAGS="-Werror $CFLAGS"
45873 cat >conftest.$ac_ext <<_ACEOF
45876 cat confdefs.h >>conftest.$ac_ext
45877 cat >>conftest.$ac_ext <<_ACEOF
45878 /* end confdefs.h. */
45880 #include <sys/types.h>
45881 #include <sys/socket.h>
45888 getsockname(0, 0, &len);
45894 rm -f conftest.$ac_objext
45895 if { (ac_try="$ac_compile"
45896 case "(($ac_try" in
45897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45898 *) ac_try_echo
=$ac_try;;
45900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45901 (eval "$ac_compile") 2>conftest.er1
45903 grep -v '^ *+' conftest.er1
>conftest.err
45905 cat conftest.err
>&5
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); } && {
45908 test -z "$ac_cxx_werror_flag" ||
45909 test ! -s conftest.err
45910 } && test -s conftest.
$ac_objext; then
45911 wx_cv_type_getsockname3
=size_t
45913 echo "$as_me: failed program was:" >&5
45914 sed 's/^/| /' conftest.
$ac_ext >&5
45916 cat >conftest.
$ac_ext <<_ACEOF
45919 cat confdefs.h
>>conftest.
$ac_ext
45920 cat >>conftest.
$ac_ext <<_ACEOF
45921 /* end confdefs.h. */
45923 #include <sys/types.h>
45924 #include <sys/socket.h>
45931 getsockname(0, 0, &len);
45937 rm -f conftest.
$ac_objext
45938 if { (ac_try
="$ac_compile"
45939 case "(($ac_try" in
45940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45941 *) ac_try_echo=$ac_try;;
45943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45944 (eval "$ac_compile") 2>conftest.er1
45946 grep -v '^ *+' conftest.er1 >conftest.err
45948 cat conftest.err >&5
45949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45950 (exit $ac_status); } && {
45951 test -z "$ac_cxx_werror_flag" ||
45952 test ! -s conftest.err
45953 } && test -s conftest.$ac_objext; then
45954 wx_cv_type_getsockname3=int
45956 echo "$as_me: failed program was:" >&5
45957 sed 's/^/| /' conftest.$ac_ext >&5
45959 wx_cv_type_getsockname3=unknown
45963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45969 CFLAGS="$CFLAGS_OLD"
45974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976 ac_cpp='$CPP $CPPFLAGS'
45977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45983 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45984 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45986 if test "$wx_cv_type_getsockname3" = "unknown"; then
45988 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45989 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45991 cat >>confdefs.h <<_ACEOF
45992 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45996 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45997 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45998 if test "${wx_cv_type_getsockopt5+set}" = set; then
45999 echo $ECHO_N "(cached) $ECHO_C" >&6
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008 cat >conftest.$ac_ext <<_ACEOF
46011 cat confdefs.h >>conftest.$ac_ext
46012 cat >>conftest.$ac_ext <<_ACEOF
46013 /* end confdefs.h. */
46015 #include <sys/types.h>
46016 #include <sys/socket.h>
46023 getsockopt(0, 0, 0, 0, &len);
46029 rm -f conftest.$ac_objext
46030 if { (ac_try="$ac_compile"
46031 case "(($ac_try" in
46032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46033 *) ac_try_echo
=$ac_try;;
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_compile") 2>conftest.er1
46038 grep -v '^ *+' conftest.er1
>conftest.err
46040 cat conftest.err
>&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); } && {
46043 test -z "$ac_cxx_werror_flag" ||
46044 test ! -s conftest.err
46045 } && test -s conftest.
$ac_objext; then
46046 wx_cv_type_getsockopt5
=socklen_t
46048 echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.
$ac_ext >&5
46052 cat >conftest.
$ac_ext <<_ACEOF
46055 cat confdefs.h
>>conftest.
$ac_ext
46056 cat >>conftest.
$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46059 #include <sys/types.h>
46060 #include <sys/socket.h>
46067 getsockopt(0, 0, 0, 0, &len);
46073 rm -f conftest.
$ac_objext
46074 if { (ac_try
="$ac_compile"
46075 case "(($ac_try" in
46076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46077 *) ac_try_echo=$ac_try;;
46079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46080 (eval "$ac_compile") 2>conftest.er1
46082 grep -v '^ *+' conftest.er1 >conftest.err
46084 cat conftest.err >&5
46085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46086 (exit $ac_status); } && {
46087 test -z "$ac_cxx_werror_flag" ||
46088 test ! -s conftest.err
46089 } && test -s conftest.$ac_objext; then
46090 wx_cv_type_getsockopt5=size_t
46092 echo "$as_me: failed program was:" >&5
46093 sed 's/^/| /' conftest.$ac_ext >&5
46095 cat >conftest.$ac_ext <<_ACEOF
46098 cat confdefs.h >>conftest.$ac_ext
46099 cat >>conftest.$ac_ext <<_ACEOF
46100 /* end confdefs.h. */
46102 #include <sys/types.h>
46103 #include <sys/socket.h>
46110 getsockopt(0, 0, 0, 0, &len);
46116 rm -f conftest.$ac_objext
46117 if { (ac_try="$ac_compile"
46118 case "(($ac_try" in
46119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46120 *) ac_try_echo
=$ac_try;;
46122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46123 (eval "$ac_compile") 2>conftest.er1
46125 grep -v '^ *+' conftest.er1
>conftest.err
46127 cat conftest.err
>&5
46128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129 (exit $ac_status); } && {
46130 test -z "$ac_cxx_werror_flag" ||
46131 test ! -s conftest.err
46132 } && test -s conftest.
$ac_objext; then
46133 wx_cv_type_getsockopt5
=int
46135 echo "$as_me: failed program was:" >&5
46136 sed 's/^/| /' conftest.
$ac_ext >&5
46138 wx_cv_type_getsockopt5
=unknown
46142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46153 ac_cpp
='$CPP $CPPFLAGS'
46154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46160 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46161 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46163 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46165 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46166 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46168 cat >>confdefs.h
<<_ACEOF
46169 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46176 if test "$wxUSE_SOCKETS" = "yes" ; then
46177 if test "$wxUSE_IPV6" = "yes"; then
46178 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46179 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46180 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46181 echo $ECHO_N "(cached) $ECHO_C" >&6
46184 cat >conftest.
$ac_ext <<_ACEOF
46187 cat confdefs.h
>>conftest.
$ac_ext
46188 cat >>conftest.
$ac_ext <<_ACEOF
46189 /* end confdefs.h. */
46191 #include <sys/types.h>
46192 #include <sys/socket.h>
46193 #include <netinet/in.h>
46199 struct sockaddr_in6 sa6;
46205 rm -f conftest.
$ac_objext
46206 if { (ac_try
="$ac_compile"
46207 case "(($ac_try" in
46208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46209 *) ac_try_echo=$ac_try;;
46211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46212 (eval "$ac_compile") 2>conftest.er1
46214 grep -v '^ *+' conftest.er1 >conftest.err
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } && {
46219 test -z "$ac_c_werror_flag" ||
46220 test ! -s conftest.err
46221 } && test -s conftest.$ac_objext; then
46222 wx_cv_type_sockaddr_in6=yes
46224 echo "$as_me: failed program was:" >&5
46225 sed 's/^/| /' conftest.$ac_ext >&5
46227 wx_cv_type_sockaddr_in6=no
46231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46235 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46236 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46238 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_IPV6 1
46244 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46245 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_SOCKETS 1
46253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46256 if test "$wxUSE_PROTOCOL" = "yes"; then
46257 if test "$wxUSE_SOCKETS" != "yes"; then
46258 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46259 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46264 if test "$wxUSE_PROTOCOL" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_PROTOCOL 1
46270 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_PROTOCOL_HTTP 1
46276 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_PROTOCOL_FTP 1
46282 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_PROTOCOL_FILE 1
46289 if test "$wxUSE_FS_INET" = "yes"; then
46290 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46291 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46296 if test "$wxUSE_URL" = "yes"; then
46297 if test "$wxUSE_PROTOCOL" != "yes"; then
46298 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46299 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46302 if test "$wxUSE_URL" = "yes"; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_URL 1
46310 if test "$wxUSE_VARIANT" = "yes"; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_VARIANT 1
46317 if test "$wxUSE_FS_INET" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_FS_INET 1
46325 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46328 if test "$TOOLKIT" = "MSW"; then
46331 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46332 if test "$USE_DARWIN" = 1; then
46333 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46334 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat >conftest.$ac_ext <<_ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347 #include <IOKit/hid/IOHIDLib.h>
46351 IOHIDQueueInterface *qi = NULL;
46352 IOHIDCallbackFunction cb = NULL;
46353 qi->setEventCallout(NULL, cb, NULL, NULL);
46358 rm -f conftest.$ac_objext
46359 if { (ac_try="$ac_compile"
46360 case "(($ac_try" in
46361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46362 *) ac_try_echo
=$ac_try;;
46364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46365 (eval "$ac_compile") 2>conftest.er1
46367 grep -v '^ *+' conftest.er1
>conftest.err
46369 cat conftest.err
>&5
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); } && {
46372 test -z "$ac_cxx_werror_flag" ||
46373 test ! -s conftest.err
46374 } && test -s conftest.
$ac_objext; then
46378 echo "$as_me: failed program was:" >&5
46379 sed 's/^/| /' conftest.
$ac_ext >&5
46384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46386 ac_cpp
='$CPP $CPPFLAGS'
46387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46391 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46392 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46396 if test "$wxUSE_MGL" != 1; then
46398 for ac_header
in linux
/joystick.h
46400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46403 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46404 echo $ECHO_N "(cached) $ECHO_C" >&6
46406 cat >conftest.
$ac_ext <<_ACEOF
46409 cat confdefs.h
>>conftest.
$ac_ext
46410 cat >>conftest.
$ac_ext <<_ACEOF
46411 /* end confdefs.h. */
46412 $ac_includes_default
46414 #include <$ac_header>
46416 rm -f conftest.
$ac_objext
46417 if { (ac_try
="$ac_compile"
46418 case "(($ac_try" in
46419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46420 *) ac_try_echo=$ac_try;;
46422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46423 (eval "$ac_compile") 2>conftest.er1
46425 grep -v '^ *+' conftest.er1 >conftest.err
46427 cat conftest.err >&5
46428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46429 (exit $ac_status); } && {
46430 test -z "$ac_c_werror_flag" ||
46431 test ! -s conftest.err
46432 } && test -s conftest.$ac_objext; then
46433 eval "$as_ac_Header=yes"
46435 echo "$as_me: failed program was:" >&5
46436 sed 's/^/| /' conftest.$ac_ext >&5
46438 eval "$as_ac_Header=no"
46441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443 ac_res=`eval echo '${'$as_ac_Header'}'`
46444 { echo "$as_me:$LINENO: result: $ac_res" >&5
46445 echo "${ECHO_T}$ac_res" >&6; }
46446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46447 cat >>confdefs.h <<_ACEOF
46448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46458 if test "$wxUSE_JOYSTICK" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_JOYSTICK 1
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46465 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46466 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46472 if test "$wxUSE_FONTENUM" = "yes" ; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_FONTENUM 1
46479 if test "$wxUSE_FONTMAP" = "yes" ; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_FONTMAP 1
46486 if test "$wxUSE_UNICODE" = "yes" ; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_UNICODE 1
46492 if test "$USE_WIN32" != 1; then
46493 wxUSE_UNICODE_MSLU=no
46496 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46497 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46498 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46499 if test "${ac_cv_lib_unicows_main+set}" = set; then
46500 echo $ECHO_N "(cached) $ECHO_C" >&6
46502 ac_check_lib_save_LIBS=$LIBS
46503 LIBS="-lunicows $LIBS"
46504 cat >conftest.$ac_ext <<_ACEOF
46507 cat confdefs.h >>conftest.$ac_ext
46508 cat >>conftest.$ac_ext <<_ACEOF
46509 /* end confdefs.h. */
46520 rm -f conftest.$ac_objext conftest$ac_exeext
46521 if { (ac_try="$ac_link"
46522 case "(($ac_try" in
46523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46524 *) ac_try_echo
=$ac_try;;
46526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46527 (eval "$ac_link") 2>conftest.er1
46529 grep -v '^ *+' conftest.er1
>conftest.err
46531 cat conftest.err
>&5
46532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46533 (exit $ac_status); } && {
46534 test -z "$ac_c_werror_flag" ||
46535 test ! -s conftest.err
46536 } && test -s conftest
$ac_exeext &&
46537 $as_test_x conftest
$ac_exeext; then
46538 ac_cv_lib_unicows_main
=yes
46540 echo "$as_me: failed program was:" >&5
46541 sed 's/^/| /' conftest.
$ac_ext >&5
46543 ac_cv_lib_unicows_main
=no
46546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46547 conftest
$ac_exeext conftest.
$ac_ext
46548 LIBS
=$ac_check_lib_save_LIBS
46550 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46551 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46552 if test $ac_cv_lib_unicows_main = yes; then
46554 cat >>confdefs.h
<<\_ACEOF
46555 #define wxUSE_UNICODE_MSLU 1
46561 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46562 Applications will only run on Windows NT/2000/XP!" >&5
46563 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46564 Applications will only run on Windows NT/2000/XP!" >&2;}
46565 wxUSE_UNICODE_MSLU
=no
46572 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46573 cat >>confdefs.h
<<\_ACEOF
46574 #define wxUSE_UNICODE_UTF8 1
46578 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46579 cat >>confdefs.h
<<\_ACEOF
46580 #define wxUSE_UTF8_LOCALE_ONLY 1
46587 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46588 cat >>confdefs.h
<<\_ACEOF
46589 #define wxUSE_CONSTRAINTS 1
46592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46595 if test "$wxUSE_MDI" = "yes"; then
46596 cat >>confdefs.h
<<\_ACEOF
46597 #define wxUSE_MDI 1
46601 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46602 cat >>confdefs.h
<<\_ACEOF
46603 #define wxUSE_MDI_ARCHITECTURE 1
46606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46610 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46611 cat >>confdefs.h
<<\_ACEOF
46612 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46618 if test "$wxUSE_HELP" = "yes"; then
46619 cat >>confdefs.h
<<\_ACEOF
46620 #define wxUSE_HELP 1
46623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46625 if test "$wxUSE_MSW" = 1; then
46626 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46627 cat >>confdefs.h
<<\_ACEOF
46628 #define wxUSE_MS_HTML_HELP 1
46634 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46635 if test "$wxUSE_HTML" = "yes"; then
46636 cat >>confdefs.h
<<\_ACEOF
46637 #define wxUSE_WXHTML_HELP 1
46641 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46642 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46643 wxUSE_WXHTML_HELP
=no
46648 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46649 cat >>confdefs.h
<<\_ACEOF
46650 #define wxUSE_PRINTING_ARCHITECTURE 1
46653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46656 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46657 cat >>confdefs.h
<<\_ACEOF
46658 #define wxUSE_POSTSCRIPT 1
46663 cat >>confdefs.h
<<\_ACEOF
46664 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46668 if test "$wxUSE_SVG" = "yes"; then
46669 cat >>confdefs.h
<<\_ACEOF
46670 #define wxUSE_SVG 1
46676 if test "$wxUSE_METAFILE" = "yes"; then
46677 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46678 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46679 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46685 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46686 -o "$wxUSE_CLIPBOARD" = "yes" \
46687 -o "$wxUSE_OLE" = "yes" \
46688 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46689 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46690 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46691 if test "${ac_cv_header_ole2_h+set}" = set; then
46692 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 cat >conftest.
$ac_ext <<_ACEOF
46697 cat confdefs.h
>>conftest.
$ac_ext
46698 cat >>conftest.
$ac_ext <<_ACEOF
46699 /* end confdefs.h. */
46704 rm -f conftest.
$ac_objext
46705 if { (ac_try
="$ac_compile"
46706 case "(($ac_try" in
46707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46708 *) ac_try_echo=$ac_try;;
46710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46711 (eval "$ac_compile") 2>conftest.er1
46713 grep -v '^ *+' conftest.er1 >conftest.err
46715 cat conftest.err >&5
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); } && {
46718 test -z "$ac_c_werror_flag" ||
46719 test ! -s conftest.err
46720 } && test -s conftest.$ac_objext; then
46721 ac_cv_header_ole2_h=yes
46723 echo "$as_me: failed program was:" >&5
46724 sed 's/^/| /' conftest.$ac_ext >&5
46726 ac_cv_header_ole2_h=no
46729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46732 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46736 if test "$ac_cv_header_ole2_h" = "yes" ; then
46737 if test "$GCC" = yes ; then
46738 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46739 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46740 cat >conftest.$ac_ext <<_ACEOF
46743 cat confdefs.h >>conftest.$ac_ext
46744 cat >>conftest.$ac_ext <<_ACEOF
46745 /* end confdefs.h. */
46746 #include <windows.h>
46756 rm -f conftest.$ac_objext
46757 if { (ac_try="$ac_compile"
46758 case "(($ac_try" in
46759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46760 *) ac_try_echo
=$ac_try;;
46762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46763 (eval "$ac_compile") 2>conftest.er1
46765 grep -v '^ *+' conftest.er1
>conftest.err
46767 cat conftest.err
>&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); } && {
46770 test -z "$ac_c_werror_flag" ||
46771 test ! -s conftest.err
46772 } && test -s conftest.
$ac_objext; then
46773 { echo "$as_me:$LINENO: result: no" >&5
46774 echo "${ECHO_T}no" >&6; }
46776 echo "$as_me: failed program was:" >&5
46777 sed 's/^/| /' conftest.
$ac_ext >&5
46779 { echo "$as_me:$LINENO: result: yes" >&5
46780 echo "${ECHO_T}yes" >&6; }
46781 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46785 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46786 if test "$wxUSE_OLE" = "yes" ; then
46787 cat >>confdefs.h
<<\_ACEOF
46788 #define wxUSE_OLE 1
46791 cat >>confdefs.h
<<\_ACEOF
46792 #define wxUSE_OLE_AUTOMATION 1
46795 cat >>confdefs.h
<<\_ACEOF
46796 #define wxUSE_ACTIVEX 1
46799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46803 if test "$wxUSE_DATAOBJ" = "yes" ; then
46804 cat >>confdefs.h
<<\_ACEOF
46805 #define wxUSE_DATAOBJ 1
46810 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46811 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46814 wxUSE_DRAG_AND_DROP
=no
46819 if test "$wxUSE_METAFILE" = "yes"; then
46820 cat >>confdefs.h
<<\_ACEOF
46821 #define wxUSE_METAFILE 1
46825 cat >>confdefs.h
<<\_ACEOF
46826 #define wxUSE_ENH_METAFILE 1
46832 if test "$wxUSE_IPC" = "yes"; then
46833 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46834 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46835 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46839 if test "$wxUSE_IPC" = "yes"; then
46840 cat >>confdefs.h
<<\_ACEOF
46841 #define wxUSE_IPC 1
46844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46848 if test "$wxUSE_DATAOBJ" = "yes"; then
46849 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46850 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46851 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46854 cat >>confdefs.h
<<\_ACEOF
46855 #define wxUSE_DATAOBJ 1
46860 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46861 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46863 wxUSE_DRAG_AND_DROP
=no
46866 if test "$wxUSE_CLIPBOARD" = "yes"; then
46867 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46868 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46869 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46873 if test "$wxUSE_CLIPBOARD" = "yes"; then
46874 cat >>confdefs.h
<<\_ACEOF
46875 #define wxUSE_CLIPBOARD 1
46881 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46882 if test "$wxUSE_GTK" = 1; then
46883 if test "$WXGTK12" != 1; then
46884 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46885 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46886 wxUSE_DRAG_AND_DROP
=no
46890 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46891 "$wxUSE_DFB" = 1; then
46892 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46893 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46894 wxUSE_DRAG_AND_DROP
=no
46897 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46898 cat >>confdefs.h
<<\_ACEOF
46899 #define wxUSE_DRAG_AND_DROP 1
46906 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46910 if test "$wxUSE_CLIPBOARD" = "yes"; then
46911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46914 if test "$wxUSE_SPLINES" = "yes" ; then
46915 cat >>confdefs.h
<<\_ACEOF
46916 #define wxUSE_SPLINES 1
46921 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46922 cat >>confdefs.h
<<\_ACEOF
46923 #define wxUSE_MOUSEWHEEL 1
46928 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46929 cat >>confdefs.h
<<\_ACEOF
46930 #define wxUSE_UIACTIONSIMULATOR 1
46933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46938 if test "$wxUSE_CONTROLS" = "yes"; then
46942 if test "$wxUSE_ACCEL" = "yes"; then
46943 cat >>confdefs.h
<<\_ACEOF
46944 #define wxUSE_ACCEL 1
46950 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46951 cat >>confdefs.h
<<\_ACEOF
46952 #define wxUSE_ANIMATIONCTRL 1
46956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46959 if test "$wxUSE_BUTTON" = "yes"; then
46960 cat >>confdefs.h
<<\_ACEOF
46961 #define wxUSE_BUTTON 1
46967 if test "$wxUSE_BMPBUTTON" = "yes"; then
46968 cat >>confdefs.h
<<\_ACEOF
46969 #define wxUSE_BMPBUTTON 1
46975 if test "$wxUSE_CALCTRL" = "yes"; then
46976 cat >>confdefs.h
<<\_ACEOF
46977 #define wxUSE_CALENDARCTRL 1
46981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46984 if test "$wxUSE_CARET" = "yes"; then
46985 cat >>confdefs.h
<<\_ACEOF
46986 #define wxUSE_CARET 1
46990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46993 if test "$wxUSE_COLLPANE" = "yes"; then
46994 cat >>confdefs.h
<<\_ACEOF
46995 #define wxUSE_COLLPANE 1
46999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47002 if test "$wxUSE_COMBOBOX" = "yes"; then
47003 cat >>confdefs.h
<<\_ACEOF
47004 #define wxUSE_COMBOBOX 1
47010 if test "$wxUSE_COMBOCTRL" = "yes"; then
47011 cat >>confdefs.h
<<\_ACEOF
47012 #define wxUSE_COMBOCTRL 1
47018 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47019 cat >>confdefs.h
<<\_ACEOF
47020 #define wxUSE_COMMANDLINKBUTTON 1
47026 if test "$wxUSE_CHOICE" = "yes"; then
47027 cat >>confdefs.h
<<\_ACEOF
47028 #define wxUSE_CHOICE 1
47034 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47035 cat >>confdefs.h
<<\_ACEOF
47036 #define wxUSE_CHOICEBOOK 1
47042 if test "$wxUSE_CHECKBOX" = "yes"; then
47043 cat >>confdefs.h
<<\_ACEOF
47044 #define wxUSE_CHECKBOX 1
47050 if test "$wxUSE_CHECKLST" = "yes"; then
47051 cat >>confdefs.h
<<\_ACEOF
47052 #define wxUSE_CHECKLISTBOX 1
47058 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47059 cat >>confdefs.h
<<\_ACEOF
47060 #define wxUSE_COLOURPICKERCTRL 1
47066 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47067 cat >>confdefs.h
<<\_ACEOF
47068 #define wxUSE_DATEPICKCTRL 1
47074 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47075 cat >>confdefs.h
<<\_ACEOF
47076 #define wxUSE_DIRPICKERCTRL 1
47082 if test "$wxUSE_FILECTRL" = "yes"; then
47083 cat >>confdefs.h
<<\_ACEOF
47084 #define wxUSE_FILECTRL 1
47090 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47091 cat >>confdefs.h
<<\_ACEOF
47092 #define wxUSE_FILEPICKERCTRL 1
47098 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_FONTPICKERCTRL 1
47106 if test "$wxUSE_DISPLAY" = "yes"; then
47107 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47108 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47109 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47112 cat >>confdefs.h
<<\_ACEOF
47113 #define wxUSE_DISPLAY 1
47116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47120 if test "$wxUSE_DETECT_SM" = "yes"; then
47121 cat >>confdefs.h
<<\_ACEOF
47122 #define wxUSE_DETECT_SM 1
47127 if test "$wxUSE_GAUGE" = "yes"; then
47128 cat >>confdefs.h
<<\_ACEOF
47129 #define wxUSE_GAUGE 1
47135 if test "$wxUSE_GRID" = "yes"; then
47136 cat >>confdefs.h
<<\_ACEOF
47137 #define wxUSE_GRID 1
47141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47144 if test "$wxUSE_HEADERCTRL" = "yes"; then
47145 cat >>confdefs.h
<<\_ACEOF
47146 #define wxUSE_HEADERCTRL 1
47152 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47153 cat >>confdefs.h
<<\_ACEOF
47154 #define wxUSE_HYPERLINKCTRL 1
47160 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47161 cat >>confdefs.h
<<\_ACEOF
47162 #define wxUSE_BITMAPCOMBOBOX 1
47168 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47169 cat >>confdefs.h
<<\_ACEOF
47170 #define wxUSE_DATAVIEWCTRL 1
47174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47177 if test "$wxUSE_IMAGLIST" = "yes"; then
47178 cat >>confdefs.h
<<\_ACEOF
47179 #define wxUSE_IMAGLIST 1
47184 if test "$wxUSE_INFOBAR" = "yes"; then
47185 cat >>confdefs.h
<<\_ACEOF
47186 #define wxUSE_INFOBAR 1
47191 if test "$wxUSE_LISTBOOK" = "yes"; then
47192 cat >>confdefs.h
<<\_ACEOF
47193 #define wxUSE_LISTBOOK 1
47199 if test "$wxUSE_LISTBOX" = "yes"; then
47200 cat >>confdefs.h
<<\_ACEOF
47201 #define wxUSE_LISTBOX 1
47207 if test "$wxUSE_LISTCTRL" = "yes"; then
47208 if test "$wxUSE_IMAGLIST" = "yes"; then
47209 cat >>confdefs.h
<<\_ACEOF
47210 #define wxUSE_LISTCTRL 1
47214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47216 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47217 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47221 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_EDITABLELISTBOX 1
47229 if test "$wxUSE_NOTEBOOK" = "yes"; then
47230 cat >>confdefs.h
<<\_ACEOF
47231 #define wxUSE_NOTEBOOK 1
47235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47238 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47239 cat >>confdefs.h
<<\_ACEOF
47240 #define wxUSE_NOTIFICATION_MESSAGE 1
47245 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47246 cat >>confdefs.h
<<\_ACEOF
47247 #define wxUSE_ODCOMBOBOX 1
47251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47254 if test "$wxUSE_RADIOBOX" = "yes"; then
47255 cat >>confdefs.h
<<\_ACEOF
47256 #define wxUSE_RADIOBOX 1
47262 if test "$wxUSE_RADIOBTN" = "yes"; then
47263 cat >>confdefs.h
<<\_ACEOF
47264 #define wxUSE_RADIOBTN 1
47270 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47271 cat >>confdefs.h
<<\_ACEOF
47272 #define wxUSE_REARRANGECTRL 1
47277 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47278 cat >>confdefs.h
<<\_ACEOF
47279 #define wxUSE_RICHMSGDLG 1
47284 if test "$wxUSE_SASH" = "yes"; then
47285 cat >>confdefs.h
<<\_ACEOF
47286 #define wxUSE_SASH 1
47289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47292 if test "$wxUSE_SCROLLBAR" = "yes"; then
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_SCROLLBAR 1
47298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47301 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47302 cat >>confdefs.h
<<\_ACEOF
47303 #define wxUSE_SEARCHCTRL 1
47309 if test "$wxUSE_SLIDER" = "yes"; then
47310 cat >>confdefs.h
<<\_ACEOF
47311 #define wxUSE_SLIDER 1
47317 if test "$wxUSE_SPINBTN" = "yes"; then
47318 cat >>confdefs.h
<<\_ACEOF
47319 #define wxUSE_SPINBTN 1
47325 if test "$wxUSE_SPINCTRL" = "yes"; then
47326 cat >>confdefs.h
<<\_ACEOF
47327 #define wxUSE_SPINCTRL 1
47333 if test "$wxUSE_SPLITTER" = "yes"; then
47334 cat >>confdefs.h
<<\_ACEOF
47335 #define wxUSE_SPLITTER 1
47338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47341 if test "$wxUSE_STATBMP" = "yes"; then
47342 cat >>confdefs.h
<<\_ACEOF
47343 #define wxUSE_STATBMP 1
47349 if test "$wxUSE_STATBOX" = "yes"; then
47350 cat >>confdefs.h
<<\_ACEOF
47351 #define wxUSE_STATBOX 1
47357 if test "$wxUSE_STATTEXT" = "yes"; then
47358 cat >>confdefs.h
<<\_ACEOF
47359 #define wxUSE_STATTEXT 1
47365 if test "$wxUSE_STATLINE" = "yes"; then
47366 cat >>confdefs.h
<<\_ACEOF
47367 #define wxUSE_STATLINE 1
47373 if test "$wxUSE_STATUSBAR" = "yes"; then
47374 cat >>confdefs.h
<<\_ACEOF
47375 #define wxUSE_NATIVE_STATUSBAR 1
47378 cat >>confdefs.h
<<\_ACEOF
47379 #define wxUSE_STATUSBAR 1
47384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47387 if test "$wxUSE_TEXTCTRL" = "yes"; then
47388 cat >>confdefs.h
<<\_ACEOF
47389 #define wxUSE_TEXTCTRL 1
47393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47395 cat >>confdefs.h
<<\_ACEOF
47396 #define wxUSE_RICHEDIT 1
47399 cat >>confdefs.h
<<\_ACEOF
47400 #define wxUSE_RICHEDIT2 1
47405 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47406 if test "$wxUSE_OLD_COCOA" = 1 ; then
47407 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47408 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47412 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47413 cat >>confdefs.h
<<\_ACEOF
47414 #define wxUSE_TOGGLEBTN 1
47421 if test "$wxUSE_TOOLBAR" = "yes"; then
47422 cat >>confdefs.h
<<\_ACEOF
47423 #define wxUSE_TOOLBAR 1
47428 if test "$wxUSE_UNIVERSAL" = "yes"; then
47429 wxUSE_TOOLBAR_NATIVE
="no"
47431 wxUSE_TOOLBAR_NATIVE
="yes"
47432 cat >>confdefs.h
<<\_ACEOF
47433 #define wxUSE_TOOLBAR_NATIVE 1
47438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47441 if test "$wxUSE_TOOLTIPS" = "yes"; then
47442 if test "$wxUSE_MOTIF" = 1; then
47443 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47444 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47446 if test "$wxUSE_UNIVERSAL" = "yes"; then
47447 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47448 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47450 cat >>confdefs.h
<<\_ACEOF
47451 #define wxUSE_TOOLTIPS 1
47458 if test "$wxUSE_TREEBOOK" = "yes"; then
47459 cat >>confdefs.h
<<\_ACEOF
47460 #define wxUSE_TREEBOOK 1
47466 if test "$wxUSE_TOOLBOOK" = "yes"; then
47467 cat >>confdefs.h
<<\_ACEOF
47468 #define wxUSE_TOOLBOOK 1
47474 if test "$wxUSE_TREECTRL" = "yes"; then
47475 if test "$wxUSE_IMAGLIST" = "yes"; then
47476 cat >>confdefs.h
<<\_ACEOF
47477 #define wxUSE_TREECTRL 1
47481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47483 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47484 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47488 if test "$wxUSE_POPUPWIN" = "yes"; then
47489 if test "$wxUSE_OLD_COCOA" = 1 ; then
47490 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47491 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47493 if test "$wxUSE_PM" = 1; then
47494 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47495 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47497 cat >>confdefs.h
<<\_ACEOF
47498 #define wxUSE_POPUPWIN 1
47501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47508 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47509 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47510 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47511 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47513 cat >>confdefs.h
<<\_ACEOF
47514 #define wxUSE_DIALUP_MANAGER 1
47517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47521 if test "$wxUSE_TIPWINDOW" = "yes"; then
47522 if test "$wxUSE_PM" = 1; then
47523 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47524 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47526 cat >>confdefs.h
<<\_ACEOF
47527 #define wxUSE_TIPWINDOW 1
47533 if test "$USES_CONTROLS" = 1; then
47534 cat >>confdefs.h
<<\_ACEOF
47535 #define wxUSE_CONTROLS 1
47541 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47542 cat >>confdefs.h
<<\_ACEOF
47543 #define wxUSE_ACCESSIBILITY 1
47546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47549 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47550 cat >>confdefs.h
<<\_ACEOF
47551 #define wxUSE_DRAGIMAGE 1
47554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47557 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47558 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47559 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47560 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47562 cat >>confdefs.h
<<\_ACEOF
47563 #define wxUSE_EXCEPTIONS 1
47566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47571 if test "$wxUSE_HTML" = "yes"; then
47572 cat >>confdefs.h
<<\_ACEOF
47573 #define wxUSE_HTML 1
47577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47579 if test "$wxUSE_WEBKIT" = "yes"; then
47580 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47581 old_CPPFLAGS
="$CPPFLAGS"
47582 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47583 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47584 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47585 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47586 echo $ECHO_N "(cached) $ECHO_C" >&6
47588 cat >conftest.
$ac_ext <<_ACEOF
47591 cat confdefs.h
>>conftest.
$ac_ext
47592 cat >>conftest.
$ac_ext <<_ACEOF
47593 /* end confdefs.h. */
47595 #include <Carbon/Carbon.h>
47596 #include <WebKit/WebKit.h>
47599 #include <WebKit/HIWebView.h>
47601 rm -f conftest.
$ac_objext
47602 if { (ac_try
="$ac_compile"
47603 case "(($ac_try" in
47604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47605 *) ac_try_echo=$ac_try;;
47607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47608 (eval "$ac_compile") 2>conftest.er1
47610 grep -v '^ *+' conftest.er1 >conftest.err
47612 cat conftest.err >&5
47613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47614 (exit $ac_status); } && {
47615 test -z "$ac_c_werror_flag" ||
47616 test ! -s conftest.err
47617 } && test -s conftest.$ac_objext; then
47618 ac_cv_header_WebKit_HIWebView_h=yes
47620 echo "$as_me: failed program was:" >&5
47621 sed 's/^/| /' conftest.$ac_ext >&5
47623 ac_cv_header_WebKit_HIWebView_h=no
47626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47628 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47629 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47630 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_WEBKIT 1
47636 WEBKIT_LINK="-framework WebKit"
47640 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47641 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47647 CPPFLAGS="$old_CPPFLAGS"
47648 elif test "$wxUSE_OLD_COCOA" = 1; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_WEBKIT 1
47656 if test "$wxUSE_WEBKIT" = "yes"; then
47657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47662 if test "$wxUSE_XRC" = "yes"; then
47663 if test "$wxUSE_XML" != "yes"; then
47664 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47665 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_XRC 1
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47678 if test "$wxUSE_AUI" = "yes"; then
47679 cat >>confdefs.h <<\_ACEOF
47680 #define wxUSE_AUI 1
47684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47688 if test "$wxUSE_PROPGRID" = "yes"; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_PROPGRID 1
47694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47698 if test "$wxUSE_RIBBON" = "yes"; then
47699 cat >>confdefs.h <<\_ACEOF
47700 #define wxUSE_RIBBON 1
47704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47708 if test "$wxUSE_STC" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_STC 1
47714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47716 # Extract the first word of "python", so it can be a program name with args.
47717 set dummy python; ac_word=$2
47718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47720 if test "${ac_cv_path_PYTHON+set}" = set; then
47721 echo $ECHO_N "(cached) $ECHO_C" >&6
47725 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47729 for as_dir in $PATH
47732 test -z "$as_dir" && as_dir=.
47733 for ac_exec_ext in '' $ac_executable_extensions; do
47734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47735 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47746 PYTHON=$ac_cv_path_PYTHON
47747 if test -n "$PYTHON"; then
47748 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47749 echo "${ECHO_T}$PYTHON" >&6; }
47751 { echo "$as_me:$LINENO: result: no" >&5
47752 echo "${ECHO_T}no" >&6; }
47756 if test "x$PYTHON" = "x"; then
47762 if test "$wxUSE_MENUS" = "yes"; then
47763 cat >>confdefs.h <<\_ACEOF
47764 #define wxUSE_MENUS 1
47767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47770 if test "$wxUSE_METAFILE" = "yes"; then
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_METAFILE 1
47777 if test "$wxUSE_MIMETYPE" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_MIMETYPE 1
47784 if test "$wxUSE_MINIFRAME" = "yes"; then
47785 cat >>confdefs.h <<\_ACEOF
47786 #define wxUSE_MINIFRAME 1
47791 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_SYSTEM_OPTIONS 1
47798 if test "$wxUSE_TASKBARICON" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_TASKBARICON 1
47803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47807 if test "$wxUSE_VALIDATORS" = "yes"; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_VALIDATORS 1
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47815 if test "$wxUSE_PALETTE" = "yes" ; then
47816 if test "$wxUSE_DFB" = 1; then
47817 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47818 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_PALETTE 1
47828 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47829 LIBS=" -lunicows $LIBS"
47833 if test "$wxUSE_RICHTEXT" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_RICHTEXT 1
47839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47843 if test "$wxUSE_IMAGE" = "yes" ; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_IMAGE 1
47849 if test "$wxUSE_GIF" = "yes" ; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_GIF 1
47856 if test "$wxUSE_PCX" = "yes" ; then
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_PCX 1
47863 if test "$wxUSE_TGA" = "yes" ; then
47864 cat >>confdefs.h <<\_ACEOF
47865 #define wxUSE_TGA 1
47870 if test "$wxUSE_IFF" = "yes" ; then
47871 cat >>confdefs.h <<\_ACEOF
47872 #define wxUSE_IFF 1
47877 if test "$wxUSE_PNM" = "yes" ; then
47878 cat >>confdefs.h <<\_ACEOF
47879 #define wxUSE_PNM 1
47884 if test "$wxUSE_XPM" = "yes" ; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_XPM 1
47891 if test "$wxUSE_ICO_CUR" = "yes" ; then
47892 cat >>confdefs.h <<\_ACEOF
47893 #define wxUSE_ICO_CUR 1
47900 if test "$wxUSE_ABOUTDLG" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_ABOUTDLG 1
47907 if test "$wxUSE_CHOICEDLG" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_CHOICEDLG 1
47914 if test "$wxUSE_COLOURDLG" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_COLOURDLG 1
47921 if test "$wxUSE_FILEDLG" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_FILEDLG 1
47928 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_FINDREPLDLG 1
47935 if test "$wxUSE_FONTDLG" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_FONTDLG 1
47942 if test "$wxUSE_DIRDLG" = "yes"; then
47943 if test "$wxUSE_TREECTRL" != "yes"; then
47944 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47945 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_DIRDLG 1
47954 if test "$wxUSE_MSGDLG" = "yes"; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_MSGDLG 1
47961 if test "$wxUSE_NUMBERDLG" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_NUMBERDLG 1
47968 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_PROGRESSDLG 1
47975 if test "$wxUSE_SPLASH" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_SPLASH 1
47980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47983 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_STARTUP_TIPS 1
47990 if test "$wxUSE_TEXTDLG" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_TEXTDLG 1
47997 if test "$wxUSE_WIZARDDLG" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_WIZARDDLG 1
48002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48006 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48007 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_OWNER_DRAWN 1
48016 if test "$wxUSE_MSW" = 1 ; then
48018 if test "$wxUSE_DC_CACHEING" = "yes"; then
48019 cat >>confdefs.h <<\_ACEOF
48020 #define wxUSE_DC_CACHEING 1
48025 if test "$wxUSE_DIB" = "yes"; then
48026 cat >>confdefs.h <<\_ACEOF
48027 #define wxUSE_WXDIB 1
48032 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48039 if test "$wxUSE_UXTHEME" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_UXTHEME 1
48048 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_AUTOID_MANAGEMENT 1
48055 if test "$USE_WIN32" = 1 ; then
48056 if test "$wxUSE_INICONF" = "yes"; then
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_INICONF 1
48063 if test "$wxUSE_REGKEY" = "yes"; then
48064 cat >>confdefs.h <<\_ACEOF
48065 #define wxUSE_REGKEY 1
48072 if test "$wxUSE_MAC" = 1; then
48073 wxUSE_GRAPHICS_CONTEXT="yes"
48076 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48078 if test "$wxUSE_MSW" = 1; then
48079 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48080 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48081 if test "${wx_cv_lib_gdiplus+set}" = set; then
48082 echo $ECHO_N "(cached) $ECHO_C" >&6
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48091 cat >conftest.$ac_ext <<_ACEOF
48094 cat confdefs.h >>conftest.$ac_ext
48095 cat >>conftest.$ac_ext <<_ACEOF
48096 /* end confdefs.h. */
48097 #include <windows.h>
48098 #include <gdiplus.h>
48103 using namespace Gdiplus;
48109 rm -f conftest.$ac_objext
48110 if { (ac_try="$ac_compile"
48111 case "(($ac_try" in
48112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48113 *) ac_try_echo
=$ac_try;;
48115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48116 (eval "$ac_compile") 2>conftest.er1
48118 grep -v '^ *+' conftest.er1
>conftest.err
48120 cat conftest.err
>&5
48121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48122 (exit $ac_status); } && {
48123 test -z "$ac_cxx_werror_flag" ||
48124 test ! -s conftest.err
48125 } && test -s conftest.
$ac_objext; then
48126 wx_cv_lib_gdiplus
=yes
48128 echo "$as_me: failed program was:" >&5
48129 sed 's/^/| /' conftest.
$ac_ext >&5
48131 wx_cv_lib_gdiplus
=no
48135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48137 ac_cpp
='$CPP $CPPFLAGS'
48138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48145 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48146 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48147 if test "$wx_cv_lib_gdiplus" = "yes"; then
48150 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48153 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48154 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48156 if test -n "$PKG_CONFIG"; then
48157 if test -n "$CAIRO_CFLAGS"; then
48158 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48160 if test -n "$PKG_CONFIG" && \
48161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48162 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48165 (exit $ac_status); }; then
48166 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48174 if test -n "$PKG_CONFIG"; then
48175 if test -n "$CAIRO_LIBS"; then
48176 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48178 if test -n "$PKG_CONFIG" && \
48179 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48180 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48183 (exit $ac_status); }; then
48184 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48195 if test $pkg_failed = yes; then
48197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48198 _pkg_short_errors_supported
=yes
48200 _pkg_short_errors_supported
=no
48202 if test $_pkg_short_errors_supported = yes; then
48203 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48205 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48207 # Put the nasty error message in config.log where it belongs
48208 echo "$CAIRO_PKG_ERRORS" >&5
48210 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48211 echo "$as_me: WARNING: Cairo library not found" >&2;}
48213 elif test $pkg_failed = untried
; then
48214 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48215 echo "$as_me: WARNING: Cairo library not found" >&2;}
48218 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48219 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48220 { echo "$as_me:$LINENO: result: yes" >&5
48221 echo "${ECHO_T}yes" >&6; }
48224 if test "$wx_has_graphics" = 1; then
48225 cat >>confdefs.h
<<\_ACEOF
48226 #define wxUSE_CAIRO 1
48230 if test "$wxUSE_GTK" != 1; then
48231 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
48232 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
48239 if test "$wx_has_graphics" = 1; then
48240 cat >>confdefs.h
<<\_ACEOF
48241 #define wxUSE_GRAPHICS_CONTEXT 1
48245 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48246 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48253 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48256 if test "$wxUSE_GTK" = 1; then
48257 wxUSE_GSTREAMER
="no"
48259 GST_VERSION_MAJOR
=0
48260 GST_VERSION_MINOR
=10
48261 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48263 if test "$wxUSE_GSTREAMER8" = "no"; then
48266 { echo "$as_me:$LINENO: checking for GST" >&5
48267 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48269 if test -n "$PKG_CONFIG"; then
48270 if test -n "$GST_CFLAGS"; then
48271 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48273 if test -n "$PKG_CONFIG" && \
48274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48275 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48278 (exit $ac_status); }; then
48279 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48287 if test -n "$PKG_CONFIG"; then
48288 if test -n "$GST_LIBS"; then
48289 pkg_cv_GST_LIBS
="$GST_LIBS"
48291 if test -n "$PKG_CONFIG" && \
48292 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48293 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); }; then
48297 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48308 if test $pkg_failed = yes; then
48310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48311 _pkg_short_errors_supported
=yes
48313 _pkg_short_errors_supported
=no
48315 if test $_pkg_short_errors_supported = yes; then
48316 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48318 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48320 # Put the nasty error message in config.log where it belongs
48321 echo "$GST_PKG_ERRORS" >&5
48324 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48325 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48326 GST_VERSION_MINOR
=8
48329 elif test $pkg_failed = untried
; then
48331 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48332 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48333 GST_VERSION_MINOR
=8
48337 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48338 GST_LIBS
=$pkg_cv_GST_LIBS
48339 { echo "$as_me:$LINENO: result: yes" >&5
48340 echo "${ECHO_T}yes" >&6; }
48342 wxUSE_GSTREAMER
="yes"
48343 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48347 GST_VERSION_MINOR
=8
48350 if test $GST_VERSION_MINOR = "8"; then
48351 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48354 { echo "$as_me:$LINENO: checking for GST" >&5
48355 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48357 if test -n "$PKG_CONFIG"; then
48358 if test -n "$GST_CFLAGS"; then
48359 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48361 if test -n "$PKG_CONFIG" && \
48362 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48363 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48366 (exit $ac_status); }; then
48367 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48375 if test -n "$PKG_CONFIG"; then
48376 if test -n "$GST_LIBS"; then
48377 pkg_cv_GST_LIBS
="$GST_LIBS"
48379 if test -n "$PKG_CONFIG" && \
48380 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48381 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48384 (exit $ac_status); }; then
48385 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48396 if test $pkg_failed = yes; then
48398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48399 _pkg_short_errors_supported
=yes
48401 _pkg_short_errors_supported
=no
48403 if test $_pkg_short_errors_supported = yes; then
48404 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48406 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48408 # Put the nasty error message in config.log where it belongs
48409 echo "$GST_PKG_ERRORS" >&5
48412 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48413 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48415 elif test $pkg_failed = untried
; then
48417 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48418 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48421 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48422 GST_LIBS
=$pkg_cv_GST_LIBS
48423 { echo "$as_me:$LINENO: result: yes" >&5
48424 echo "${ECHO_T}yes" >&6; }
48425 wxUSE_GSTREAMER
="yes"
48430 if test "$wxUSE_GSTREAMER" = "yes"; then
48431 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48432 EXTRALIBS_MEDIA
="$GST_LIBS"
48434 cat >>confdefs.h
<<\_ACEOF
48435 #define wxUSE_GSTREAMER 1
48443 if test $USE_MEDIA = 1; then
48444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48445 cat >>confdefs.h
<<\_ACEOF
48446 #define wxUSE_MEDIACTRL 1
48450 if test "$wxUSE_MEDIACTRL" = "yes"; then
48451 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48452 echo "$as_me: error: GStreamer not available" >&2;}
48453 { (exit 1); exit 1; }; }
48455 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48456 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48462 if test "$cross_compiling" != "no"; then
48465 OSINFO
=`uname -s -r -m`
48466 OSINFO
="\"$OSINFO\""
48469 cat >>confdefs.h
<<_ACEOF
48470 #define WXWIN_OS_DESCRIPTION $OSINFO
48475 if test "x$prefix" != "xNONE"; then
48478 wxPREFIX
=$ac_default_prefix
48481 cat >>confdefs.h
<<_ACEOF
48482 #define wxINSTALL_PREFIX "$wxPREFIX"
48488 STD_BASE_LIBS
="base"
48490 BUILT_WX_LIBS
="base"
48491 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
48493 if test "$wxUSE_SOCKETS" = "yes" ; then
48494 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48495 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48497 if test "$wxUSE_XML" = "yes" ; then
48498 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48499 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48502 if test "$wxUSE_GUI" = "yes"; then
48503 STD_GUI_LIBS
="adv core"
48504 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48506 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48507 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48508 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48510 if test "$wxUSE_HTML" = "yes" ; then
48511 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48512 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48514 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48515 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48517 if test "$wxUSE_OPENGL" = "yes" ; then
48518 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48520 if test "$wxUSE_AUI" = "yes" ; then
48521 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48523 if test "$wxUSE_PROPGRID" = "yes" ; then
48524 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
48526 if test "$wxUSE_RIBBON" = "yes" ; then
48527 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
48529 if test "$wxUSE_RICHTEXT" = "yes" ; then
48530 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
48532 if test "$wxUSE_STC" = "yes" ; then
48533 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48535 if test "$wxUSE_XRC" = "yes" ; then
48536 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48537 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48548 if test "$wxUSE_MAC" = 1 ; then
48549 if test "$USE_DARWIN" = 1; then
48550 if test "$wxUSE_OSX_IPHONE" = 1; then
48551 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48553 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48557 if test "$wxUSE_OLD_COCOA" = 1 ; then
48558 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48559 if test "$wxUSE_MEDIACTRL" = "yes"; then
48560 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48563 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48564 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48567 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48568 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48570 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48572 if test "$wxUSE_GUI" = "yes"; then
48575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48576 erase event exec font image minimal render \
48577 shaped svg taborder vscroll widgets wrapsizer"
48579 if test "$wxUSE_MONOLITHIC" != "yes"; then
48580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48582 if test "$TOOLKIT" = "MSW"; then
48583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48584 if test "$wxUSE_UNIVERSAL" != "yes"; then
48585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48588 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48592 SAMPLES_SUBDIRS
="console"
48593 if test "$wxUSE_SOCKETS" = "yes" ; then
48594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48596 if test "$wxUSE_IPC" = "yes" ; then
48597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48602 if test "x$INTELCC" = "xyes" ; then
48603 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48604 elif test "$GCC" = yes ; then
48605 CWARNINGS
="-Wall -Wundef"
48608 if test "x$INTELCXX" = "xyes" ; then
48609 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48610 elif test "$GXX" = yes ; then
48611 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48612 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48613 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48614 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48615 echo $ECHO_N "(cached) $ECHO_C" >&6
48617 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48620 ac_cpp
='$CXXCPP $CPPFLAGS'
48621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48625 ac_save_CXXFLAGS
="$CXXFLAGS"
48626 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48627 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48628 cat >conftest.
$ac_ext <<_ACEOF
48631 cat confdefs.h
>>conftest.
$ac_ext
48632 cat >>conftest.
$ac_ext <<_ACEOF
48633 /* end confdefs.h. */
48643 rm -f conftest.
$ac_objext
48644 if { (ac_try
="$ac_compile"
48645 case "(($ac_try" in
48646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48647 *) ac_try_echo=$ac_try;;
48649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48650 (eval "$ac_compile") 2>conftest.er1
48652 grep -v '^ *+' conftest.er1 >conftest.err
48654 cat conftest.err >&5
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); } && {
48657 test -z "$ac_cxx_werror_flag" ||
48658 test ! -s conftest.err
48659 } && test -s conftest.$ac_objext; then
48660 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48662 echo "$as_me: failed program was:" >&5
48663 sed 's/^/| /' conftest.$ac_ext >&5
48668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 CXXFLAGS="$ac_save_CXXFLAGS"
48672 ac_cpp='$CPP $CPPFLAGS'
48673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48679 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48680 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48681 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48685 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48686 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48687 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); }
48691 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48692 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695 (exit $ac_status); }
48696 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48702 if test "$wxUSE_MAC" = 1 ; then
48703 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48708 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48709 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48712 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48713 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48714 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48717 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48718 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48719 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48720 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48721 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48723 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48726 if test "x$MWCC" = "xyes"; then
48728 CC="$CC -cwd source -I-"
48729 CXX="$CXX -cwd source -I-"
48734 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48735 EXTRALIBS_XML="$EXPAT_LINK"
48736 EXTRALIBS_HTML="$MSPACK_LINK"
48737 EXTRALIBS_MEDIA="$GST_LIBS"
48738 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48739 if test "$wxUSE_GUI" = "yes"; then
48740 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48742 if test "$wxUSE_OPENGL" = "yes"; then
48743 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48746 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48748 WXCONFIG_LIBS="$LIBS"
48750 if test "$wxUSE_REGEX" = "builtin" ; then
48751 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48753 if test "$wxUSE_EXPAT" = "builtin" ; then
48754 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48756 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48757 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48759 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48760 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48762 if test "$wxUSE_LIBPNG" = "builtin" ; then
48763 wxconfig_3rdparty="png $wxconfig_3rdparty"
48765 if test "$wxUSE_ZLIB" = "builtin" ; then
48766 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48769 for i in $wxconfig_3rdparty ; do
48770 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48774 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48777 case "$wxUNIV_THEMES" in
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_ALL_THEMES 1
48786 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48787 cat >>confdefs.h <<_ACEOF
48788 #define wxUSE_THEME_$t 1
48804 if test $wxUSE_MONOLITHIC = "yes" ; then
48810 if test $wxUSE_PLUGINS = "yes" ; then
48816 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48822 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48854 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48867 TOOLKIT_DESC="GTK+"
48868 if test "$WXGTK2" = 1; then
48869 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48870 if test "$wxUSE_GTKPRINT" = "yes" ; then
48871 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48873 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48874 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48876 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48877 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48879 if test "$wxUSE_LIBHILDON" = "yes"; then
48880 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48882 if test "$wxUSE_LIBHILDON2" = "yes"; then
48883 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48886 if test "$TOOLKIT_EXTRA" != ""; then
48887 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48893 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48897 TOOLKIT_DESC="base only"
48901 if test "$wxUSE_WINE" = "yes"; then
48902 BAKEFILE_FORCE_PLATFORM=win32
48905 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48907 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48908 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48909 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48910 echo $ECHO_N "(cached) $ECHO_C" >&6
48913 echo '#include <stdio.h>
48914 const wchar_t test_var[] = L"awidetest";' > conftest.h
48916 echo '#include "conftest.h"
48919 printf("%ls", test_var);
48923 wx_cv_gcc_pch_bug="pch not supported"
48925 if $CXX conftest.h >/dev/null 2>&1
48929 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48931 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48932 grep awidetest >/dev/null
48934 wx_cv_gcc_pch_bug=no
48936 wx_cv_gcc_pch_bug=yes
48941 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48944 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48945 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48947 if test "$wx_cv_gcc_pch_bug" = yes; then
48958 if test "x$BAKEFILE_HOST" = "x"; then
48959 if test "x${host}" = "x" ; then
48960 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48961 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48962 { (exit 1); exit 1; }; }
48965 BAKEFILE_HOST="${host}"
48968 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48970 if test -n "$ac_tool_prefix"; then
48971 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48972 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48975 if test "${ac_cv_prog_RANLIB+set}" = set; then
48976 echo $ECHO_N "(cached) $ECHO_C" >&6
48978 if test -n "$RANLIB"; then
48979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48982 for as_dir in $PATH
48985 test -z "$as_dir" && as_dir=.
48986 for ac_exec_ext in '' $ac_executable_extensions; do
48987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48988 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48998 RANLIB=$ac_cv_prog_RANLIB
48999 if test -n "$RANLIB"; then
49000 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49001 echo "${ECHO_T}$RANLIB" >&6; }
49003 { echo "$as_me:$LINENO: result: no" >&5
49004 echo "${ECHO_T}no" >&6; }
49009 if test -z "$ac_cv_prog_RANLIB"; then
49010 ac_ct_RANLIB=$RANLIB
49011 # Extract the first word of "ranlib", so it can be a program name with args.
49012 set dummy ranlib; ac_word=$2
49013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49015 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49016 echo $ECHO_N "(cached) $ECHO_C" >&6
49018 if test -n "$ac_ct_RANLIB"; then
49019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49022 for as_dir in $PATH
49025 test -z "$as_dir" && as_dir=.
49026 for ac_exec_ext in '' $ac_executable_extensions; do
49027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49028 ac_cv_prog_ac_ct_RANLIB="ranlib"
49029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49039 if test -n "$ac_ct_RANLIB"; then
49040 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49041 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49043 { echo "$as_me:$LINENO: result: no" >&5
49044 echo "${ECHO_T}no" >&6; }
49047 if test "x$ac_ct_RANLIB" = x; then
49050 case $cross_compiling:$ac_tool_warned in
49052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49053 whose name does not start with the host triplet. If you think this
49054 configuration is useful to you, please write to autoconf@gnu.org." >&5
49055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49056 whose name does not start with the host triplet. If you think this
49057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49058 ac_tool_warned=yes ;;
49060 RANLIB=$ac_ct_RANLIB
49063 RANLIB="$ac_cv_prog_RANLIB"
49066 # Find a good install program. We prefer a C program (faster),
49067 # so one script is as good as another. But avoid the broken or
49068 # incompatible versions:
49069 # SysV /etc/install, /usr/sbin/install
49070 # SunOS /usr/etc/install
49071 # IRIX /sbin/install
49073 # AmigaOS /C/install, which installs bootblocks on floppy discs
49074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49077 # OS/2's system install, which has a completely different semantic
49078 # ./install, which can be erroneously created by make from ./install.sh.
49079 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49080 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49081 if test -z "$INSTALL"; then
49082 if test "${ac_cv_path_install+set}" = set; then
49083 echo $ECHO_N "(cached) $ECHO_C" >&6
49085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49086 for as_dir in $PATH
49089 test -z "$as_dir" && as_dir=.
49090 # Account for people who put trailing slashes in PATH elements.
49092 ./ | .// | /cC/* | \
49093 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49094 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49097 # OSF1 and SCO ODT 3.0 have their own names for install.
49098 # Don't use installbsd from OSF since it installs stuff as root
49100 for ac_prog in ginstall scoinst install; do
49101 for ac_exec_ext in '' $ac_executable_extensions; do
49102 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49103 if test $ac_prog = install &&
49104 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49105 # AIX install. It has an incompatible calling convention.
49107 elif test $ac_prog = install &&
49108 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49109 # program-specific install script used by HP pwplus--don't use.
49112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49125 if test "${ac_cv_path_install+set}" = set; then
49126 INSTALL=$ac_cv_path_install
49128 # As a last resort, use the slow shell script. Don't cache a
49129 # value for INSTALL within a source directory, because that will
49130 # break other packages using the cache if that directory is
49131 # removed, or if the value is a relative name.
49132 INSTALL=$ac_install_sh
49135 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49136 echo "${ECHO_T}$INSTALL" >&6; }
49138 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49139 # It thinks the first close brace ends the variable substitution.
49140 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49142 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49144 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49146 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49147 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49149 if test "$LN_S" = "ln -s"; then
49150 { echo "$as_me:$LINENO: result: yes" >&5
49151 echo "${ECHO_T}yes" >&6; }
49153 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49154 echo "${ECHO_T}no, using $LN_S" >&6; }
49158 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49159 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49160 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49161 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49162 echo $ECHO_N "(cached) $ECHO_C" >&6
49164 cat >conftest.make <<\_ACEOF
49167 @echo '@@@%%%=$(MAKE)=@@@%%%'
49169 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49170 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49171 *@@@%%%=?*=@@@%%%*)
49172 eval ac_cv_prog_make_${ac_make}_set=yes;;
49174 eval ac_cv_prog_make_${ac_make}_set=no;;
49176 rm -f conftest.make
49178 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49179 { echo "$as_me:$LINENO: result: yes" >&5
49180 echo "${ECHO_T}yes" >&6; }
49183 { echo "$as_me:$LINENO: result: no" >&5
49184 echo "${ECHO_T}no" >&6; }
49185 SET_MAKE="MAKE=${MAKE-make}"
49190 if test "x$SUNCXX" = "xyes"; then
49192 AROPTIONS="-xar -o"
49194 elif test "x$SGICC" = "xyes"; then
49199 if test -n "$ac_tool_prefix"; then
49200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49201 set dummy ${ac_tool_prefix}ar; ac_word=$2
49202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49204 if test "${ac_cv_prog_AR+set}" = set; then
49205 echo $ECHO_N "(cached) $ECHO_C" >&6
49207 if test -n "$AR"; then
49208 ac_cv_prog_AR="$AR" # Let the user override the test.
49210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49211 for as_dir in $PATH
49214 test -z "$as_dir" && as_dir=.
49215 for ac_exec_ext in '' $ac_executable_extensions; do
49216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49217 ac_cv_prog_AR="${ac_tool_prefix}ar"
49218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49228 if test -n "$AR"; then
49229 { echo "$as_me:$LINENO: result: $AR" >&5
49230 echo "${ECHO_T}$AR" >&6; }
49232 { echo "$as_me:$LINENO: result: no" >&5
49233 echo "${ECHO_T}no" >&6; }
49238 if test -z "$ac_cv_prog_AR"; then
49240 # Extract the first word of "ar", so it can be a program name with args.
49241 set dummy ar; ac_word=$2
49242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49244 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49245 echo $ECHO_N "(cached) $ECHO_C" >&6
49247 if test -n "$ac_ct_AR"; then
49248 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49251 for as_dir in $PATH
49254 test -z "$as_dir" && as_dir=.
49255 for ac_exec_ext in '' $ac_executable_extensions; do
49256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49257 ac_cv_prog_ac_ct_AR="ar"
49258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49267 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49268 if test -n "$ac_ct_AR"; then
49269 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49270 echo "${ECHO_T}$ac_ct_AR" >&6; }
49272 { echo "$as_me:$LINENO: result: no" >&5
49273 echo "${ECHO_T}no" >&6; }
49276 if test "x$ac_ct_AR" = x; then
49279 case $cross_compiling:$ac_tool_warned in
49281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49282 whose name does not start with the host triplet. If you think this
49283 configuration is useful to you, please write to autoconf@gnu.org." >&5
49284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49285 whose name does not start with the host triplet. If you think this
49286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49287 ac_tool_warned=yes ;;
49292 AR="$ac_cv_prog_AR"
49299 if test -n "$ac_tool_prefix"; then
49300 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49301 set dummy ${ac_tool_prefix}strip; ac_word=$2
49302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49304 if test "${ac_cv_prog_STRIP+set}" = set; then
49305 echo $ECHO_N "(cached) $ECHO_C" >&6
49307 if test -n "$STRIP"; then
49308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49311 for as_dir in $PATH
49314 test -z "$as_dir" && as_dir=.
49315 for ac_exec_ext in '' $ac_executable_extensions; do
49316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49317 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49327 STRIP=$ac_cv_prog_STRIP
49328 if test -n "$STRIP"; then
49329 { echo "$as_me:$LINENO: result: $STRIP" >&5
49330 echo "${ECHO_T}$STRIP" >&6; }
49332 { echo "$as_me:$LINENO: result: no" >&5
49333 echo "${ECHO_T}no" >&6; }
49338 if test -z "$ac_cv_prog_STRIP"; then
49340 # Extract the first word of "strip", so it can be a program name with args.
49341 set dummy strip; ac_word=$2
49342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49344 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49345 echo $ECHO_N "(cached) $ECHO_C" >&6
49347 if test -n "$ac_ct_STRIP"; then
49348 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49351 for as_dir in $PATH
49354 test -z "$as_dir" && as_dir=.
49355 for ac_exec_ext in '' $ac_executable_extensions; do
49356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49357 ac_cv_prog_ac_ct_STRIP="strip"
49358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49367 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49368 if test -n "$ac_ct_STRIP"; then
49369 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49370 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49372 { echo "$as_me:$LINENO: result: no" >&5
49373 echo "${ECHO_T}no" >&6; }
49376 if test "x$ac_ct_STRIP" = x; then
49379 case $cross_compiling:$ac_tool_warned in
49381 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49382 whose name does not start with the host triplet. If you think this
49383 configuration is useful to you, please write to autoconf@gnu.org." >&5
49384 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49385 whose name does not start with the host triplet. If you think this
49386 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49387 ac_tool_warned=yes ;;
49392 STRIP="$ac_cv_prog_STRIP"
49395 if test -n "$ac_tool_prefix"; then
49396 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49397 set dummy ${ac_tool_prefix}nm; ac_word=$2
49398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49400 if test "${ac_cv_prog_NM+set}" = set; then
49401 echo $ECHO_N "(cached) $ECHO_C" >&6
49403 if test -n "$NM"; then
49404 ac_cv_prog_NM="$NM" # Let the user override the test.
49406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49407 for as_dir in $PATH
49410 test -z "$as_dir" && as_dir=.
49411 for ac_exec_ext in '' $ac_executable_extensions; do
49412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49413 ac_cv_prog_NM="${ac_tool_prefix}nm"
49414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49424 if test -n "$NM"; then
49425 { echo "$as_me:$LINENO: result: $NM" >&5
49426 echo "${ECHO_T}$NM" >&6; }
49428 { echo "$as_me:$LINENO: result: no" >&5
49429 echo "${ECHO_T}no" >&6; }
49434 if test -z "$ac_cv_prog_NM"; then
49436 # Extract the first word of "nm", so it can be a program name with args.
49437 set dummy nm; ac_word=$2
49438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49440 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49441 echo $ECHO_N "(cached) $ECHO_C" >&6
49443 if test -n "$ac_ct_NM"; then
49444 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49447 for as_dir in $PATH
49450 test -z "$as_dir" && as_dir=.
49451 for ac_exec_ext in '' $ac_executable_extensions; do
49452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49453 ac_cv_prog_ac_ct_NM="nm"
49454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49463 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49464 if test -n "$ac_ct_NM"; then
49465 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49466 echo "${ECHO_T}$ac_ct_NM" >&6; }
49468 { echo "$as_me:$LINENO: result: no" >&5
49469 echo "${ECHO_T}no" >&6; }
49472 if test "x$ac_ct_NM" = x; then
49475 case $cross_compiling:$ac_tool_warned in
49477 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49478 whose name does not start with the host triplet. If you think this
49479 configuration is useful to you, please write to autoconf@gnu.org." >&5
49480 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49481 whose name does not start with the host triplet. If you think this
49482 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49483 ac_tool_warned=yes ;;
49488 NM="$ac_cv_prog_NM"
49492 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49493 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49494 INSTALL_TEST_DIR=acbftest$$
49495 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49496 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49497 rmdir $INSTALL_TEST_DIR
49498 INSTALL_DIR='$(INSTALL) -d'
49499 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49500 echo "${ECHO_T}$INSTALL -d" >&6; }
49502 INSTALL_DIR="mkdir -p"
49503 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49504 echo "${ECHO_T}mkdir -p" >&6; }
49509 case ${BAKEFILE_HOST} in
49510 *-*-cygwin* | *-*-mingw32* )
49511 LDFLAGS_GUI="-mwindows"
49517 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49518 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49519 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49520 echo $ECHO_N "(cached) $ECHO_C" >&6
49523 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49524 egrep -s GNU > /dev/null); then
49525 bakefile_cv_prog_makeisgnu="yes"
49527 bakefile_cv_prog_makeisgnu="no"
49531 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49532 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49534 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49551 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49552 case "${BAKEFILE_HOST}" in
49559 *-pc-os2_emx | *-pc-os2-emx )
49569 powerpc-apple-macos* )
49578 case "$BAKEFILE_FORCE_PLATFORM" in
49599 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49600 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49601 { (exit 1); exit 1; }; }
49616 # Check whether --enable-omf was given.
49617 if test "${enable_omf+set}" = set; then
49618 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49622 case "${BAKEFILE_HOST}" in
49624 if test "x$GCC" = "xyes"; then
49625 CFLAGS="$CFLAGS -fno-common"
49626 CXXFLAGS="$CXXFLAGS -fno-common"
49628 if test "x$XLCC" = "xyes"; then
49629 CFLAGS="$CFLAGS -qnocommon"
49630 CXXFLAGS="$CXXFLAGS -qnocommon"
49634 *-pc-os2_emx | *-pc-os2-emx )
49635 if test "x$bk_os2_use_omf" = "xyes" ; then
49638 LDFLAGS="-Zomf $LDFLAGS"
49639 CFLAGS="-Zomf $CFLAGS"
49640 CXXFLAGS="-Zomf $CXXFLAGS"
49648 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49654 SO_SUFFIX_MODULE="so"
49659 DLLPREFIX_MODULE=""
49663 case "${BAKEFILE_HOST}" in
49668 SO_SUFFIX_MODULE="sl"
49672 SO_SUFFIX_MODULE="a"
49676 SO_SUFFIX_MODULE="dll"
49677 DLLIMP_SUFFIX="dll.a"
49684 SO_SUFFIX_MODULE="dll"
49685 DLLIMP_SUFFIX="dll.a"
49695 *-pc-os2_emx | *-pc-os2-emx )
49697 SO_SUFFIX_MODULE="dll"
49698 DLLIMP_SUFFIX=$OS2_LIBEXT
49702 LIBEXT=".$OS2_LIBEXT"
49707 SO_SUFFIX_MODULE="bundle"
49711 if test "x$DLLIMP_SUFFIX" = "x" ; then
49712 DLLIMP_SUFFIX="$SO_SUFFIX"
49727 if test "x$GCC" = "xyes"; then
49731 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49732 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49735 case "${BAKEFILE_HOST}" in
49737 if test "x$GCC" != "xyes"; then
49738 LDFLAGS="$LDFLAGS -L/usr/lib"
49740 SHARED_LD_CC="${CC} -b -o"
49741 SHARED_LD_CXX="${CXX} -b -o"
49747 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49749 elif test "x$SUNCXX" = "xyes"; then
49750 SHARED_LD_CC="${CC} -G -o"
49751 SHARED_LD_CXX="${CXX} -G -o"
49757 if test "x$SUNCXX" = xyes ; then
49758 SHARED_LD_CC="${CC} -G -o"
49759 SHARED_LD_CXX="${CXX} -G -o"
49767 cat <<EOF >shared-ld-sh
49769 #-----------------------------------------------------------------------------
49770 #-- Name: distrib/mac/shared-ld-sh
49771 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49772 #-- Author: Gilles Depeyrot
49773 #-- Copyright: (c) 2002 Gilles Depeyrot
49774 #-- Licence: any use permitted
49775 #-----------------------------------------------------------------------------
49780 linking_flag="-dynamiclib"
49781 ldargs="-r -keep_private_externs -nostdlib"
49783 if test "x${D}CXX" = "x"; then
49787 while test ${D}# -gt 0; do
49794 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49795 # collect these options and values
49796 args="${D}{args} ${D}1 ${D}2"
49801 # collect these options and values
49802 ldargs="${D}{ldargs} ${D}1 ${D}2"
49807 # collect these load args
49808 ldargs="${D}{ldargs} ${D}1"
49811 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49812 # collect these options
49813 args="${D}{args} ${D}1"
49816 -dynamiclib|-bundle)
49817 linking_flag="${D}1"
49821 echo "shared-ld: unhandled option '${D}1'"
49825 *.o | *.a | *.dylib)
49826 # collect object files
49827 objects="${D}{objects} ${D}1"
49831 echo "shared-ld: unhandled argument '${D}1'"
49842 # Link one module containing all the others
49844 if test ${D}{verbose} = 1; then
49845 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49847 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49851 # Link the shared library from the single module created, but only if the
49852 # previous command didn't fail:
49854 if test ${D}{status} = 0; then
49855 if test ${D}{verbose} = 1; then
49856 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49858 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49863 # Remove intermediate module
49865 rm -f master.${D}${D}.o
49870 chmod +x shared-ld-sh
49872 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49873 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49876 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49877 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49878 if test "${bakefile_cv_gcc31+set}" = set; then
49879 echo $ECHO_N "(cached) $ECHO_C" >&6
49882 cat >conftest.$ac_ext <<_ACEOF
49885 cat confdefs.h >>conftest.$ac_ext
49886 cat >>conftest.$ac_ext <<_ACEOF
49887 /* end confdefs.h. */
49893 #if (__GNUC__ < 3) || \
49894 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49902 rm -f conftest.$ac_objext
49903 if { (ac_try="$ac_compile"
49904 case "(($ac_try" in
49905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49906 *) ac_try_echo
=$ac_try;;
49908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49909 (eval "$ac_compile") 2>conftest.er1
49911 grep -v '^ *+' conftest.er1
>conftest.err
49913 cat conftest.err
>&5
49914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915 (exit $ac_status); } && {
49916 test -z "$ac_c_werror_flag" ||
49917 test ! -s conftest.err
49918 } && test -s conftest.
$ac_objext; then
49920 bakefile_cv_gcc31
=yes
49923 echo "$as_me: failed program was:" >&5
49924 sed 's/^/| /' conftest.
$ac_ext >&5
49927 bakefile_cv_gcc31
=no
49932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49935 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49936 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49937 if test "$bakefile_cv_gcc31" = "no"; then
49938 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49939 SHARED_LD_CXX
="$SHARED_LD_CC"
49941 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49942 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49945 if test "x$GCC" == "xyes"; then
49946 PIC_FLAG
="-dynamic -fPIC"
49948 if test "x$XLCC" = "xyes"; then
49949 PIC_FLAG
="-dynamic -DPIC"
49954 if test "x$GCC" = "xyes"; then
49957 case "${BAKEFILE_HOST}" in
49959 LD_EXPFULL
="-Wl,-bexpfull"
49963 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49964 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49966 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49967 set dummy makeC
++SharedLib
; ac_word
=$2
49968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49970 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49971 echo $ECHO_N "(cached) $ECHO_C" >&6
49973 if test -n "$AIX_CXX_LD"; then
49974 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49977 for as_dir
in $PATH
49980 test -z "$as_dir" && as_dir
=.
49981 for ac_exec_ext
in '' $ac_executable_extensions; do
49982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49983 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49991 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49994 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49995 if test -n "$AIX_CXX_LD"; then
49996 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49997 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49999 { echo "$as_me:$LINENO: result: no" >&5
50000 echo "${ECHO_T}no" >&6; }
50004 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50005 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50010 SHARED_LD_CC
="${LD} -nostart -o"
50011 SHARED_LD_CXX
="${LD} -nostart -o"
50015 if test "x$GCC" != "xyes"; then
50020 *-*-cygwin* | *-*-mingw32* )
50022 SHARED_LD_CC
="\$(CC) -shared -o"
50023 SHARED_LD_CXX
="\$(CXX) -shared -o"
50027 *-pc-os2_emx | *-pc-os2-emx )
50028 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50029 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50033 cat <<EOF >dllar.sh
50036 # dllar - a tool to build both a .dll and an .a file
50037 # from a set of object (.o) files for EMX/OS2.
50039 # Written by Andrew Zabolotny, bit@freya.etu.ru
50040 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50042 # This script will accept a set of files on the command line.
50043 # All the public symbols from the .o files will be exported into
50044 # a .DEF file, then linker will be run (through gcc) against them to
50045 # build a shared library consisting of all given .o files. All libraries
50046 # (.a) will be first decompressed into component .o files then act as
50047 # described above. You can optionally give a description (-d "description")
50048 # which will be put into .DLL. To see the list of accepted options (as well
50049 # as command-line format) simply run this program without options. The .DLL
50050 # is built to be imported by name (there is no guarantee that new versions
50051 # of the library you build will have same ordinals for same symbols).
50053 # dllar is free software; you can redistribute it and/or modify
50054 # it under the terms of the GNU General Public License as published by
50055 # the Free Software Foundation; either version 2, or (at your option)
50056 # any later version.
50058 # dllar is distributed in the hope that it will be useful,
50059 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50060 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50061 # GNU General Public License for more details.
50063 # You should have received a copy of the GNU General Public License
50064 # along with dllar; see the file COPYING. If not, write to the Free
50065 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50068 # To successfuly run this program you will need:
50069 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50070 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50072 # (used to build the .dll)
50074 # (used to create .def file from .o files)
50076 # (used to create .a file from .def file)
50077 # - GNU text utilites (cat, sort, uniq)
50078 # used to process emxexp output
50079 # - GNU file utilities (mv, rm)
50081 # - lxlite (optional, see flag below)
50082 # (used for general .dll cleanup)
50089 # basnam, variant of basename, which does _not_ remove the path, _iff_
50090 # second argument (suffix to remove) is given
50094 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50097 echo ${D}1 | sed 's/'${D}2'${D}//'
50100 echo "error in basnam ${D}*"
50106 # Cleanup temporary files and output
50109 for i in ${D}inputFiles ; do
50112 rm -rf \`basnam ${D}i !\`
50119 # Kill result in case of failure as there is just to many stupid make/nmake
50120 # things out there which doesn't do this.
50121 if [ ${D}# -eq 0 ]; then
50122 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50126 # Print usage and exit script with rc=1.
50128 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50129 echo ' [-name-mangler-script script.sh]'
50130 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50131 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50132 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50133 echo ' [*.o] [*.a]'
50134 echo '*> "output_file" should have no extension.'
50135 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50136 echo ' The import library name is derived from this and is set to "name".a,'
50137 echo ' unless overridden by -import'
50138 echo '*> "importlib_name" should have no extension.'
50139 echo ' If it has the .o, or .a extension, it is automatically removed.'
50140 echo ' This name is used as the import library name and may be longer and'
50141 echo ' more descriptive than the DLL name which has to follow the old '
50142 echo ' 8.3 convention of FAT.'
50143 echo '*> "script.sh may be given to override the output_file name by a'
50144 echo ' different name. It is mainly useful if the regular make process'
50145 echo ' of some package does not take into account OS/2 restriction of'
50146 echo ' DLL name lengths. It takes the importlib name as input and is'
50147 echo ' supposed to procude a shorter name as output. The script should'
50148 echo ' expect to get importlib_name without extension and should produce'
50149 echo ' a (max.) 8 letter name without extension.'
50150 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50151 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50152 echo ' These flags will be put at the start of GCC command line.'
50153 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50154 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50155 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50156 echo ' If the last character of a symbol is "*", all symbols beginning'
50157 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50158 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50159 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50160 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50161 echo ' C runtime DLLs.'
50162 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50163 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50164 echo ' unchanged to GCC at the end of command line.'
50165 echo '*> If you create a DLL from a library and you do not specify -o,'
50166 echo ' the basename for DLL and import library will be set to library name,'
50167 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50168 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50169 echo ' library will be renamed into gcc_s.a.'
50172 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50173 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50178 # Execute a command.
50179 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50180 # @Uses Whatever CleanUp() uses.
50186 if [ ${D}rcCmd -ne 0 ]; then
50187 echo "command failed, exit code="${D}rcCmd
50202 CFLAGS="-s -Zcrtdll"
50204 EXPORT_BY_ORDINALS=0
50209 case ${D}curDirS in
50213 curDirS=${D}{curDirS}"/"
50216 # Parse commandline
50219 while [ ${D}1 ]; do
50222 EXPORT_BY_ORDINALS=1;
50232 -name-mangler-script)
50253 exclude_symbols=${D}{exclude_symbols}${D}1" "
50257 library_flags=${D}{library_flags}${D}1" "
50276 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50279 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50280 if [ ${D}omfLinking -eq 1 ]; then
50281 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50283 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50288 if [ ${D}libsToLink -ne 0 ]; then
50289 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50291 for file in ${D}1 ; do
50292 if [ -f ${D}file ]; then
50293 inputFiles="${D}{inputFiles} ${D}file"
50297 if [ ${D}found -eq 0 ]; then
50298 echo "ERROR: No file(s) found: "${D}1
50305 done # iterate cmdline words
50308 if [ -z "${D}inputFiles" ]; then
50309 echo "dllar: no input files"
50313 # Now extract all .o files from .a files
50315 for file in ${D}inputFiles ; do
50326 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50331 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50333 if [ ${D}? -ne 0 ]; then
50334 echo "Failed to create subdirectory ./${D}dirname"
50338 # Append '!' to indicate archive
50339 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50340 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50343 for subfile in ${D}dirname/*.o* ; do
50344 if [ -f ${D}subfile ]; then
50346 if [ -s ${D}subfile ]; then
50347 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50348 newInputFiles="${D}newInputFiles ${D}subfile"
50352 if [ ${D}found -eq 0 ]; then
50353 echo "WARNING: there are no files in archive \\'${D}file\\'"
50357 newInputFiles="${D}{newInputFiles} ${D}file"
50361 inputFiles="${D}newInputFiles"
50363 # Output filename(s).
50365 if [ -z ${D}outFile ]; then
50367 set outFile ${D}inputFiles; outFile=${D}2
50370 # If it is an archive, remove the '!' and the '_%' suffixes
50371 case ${D}outFile in
50373 outFile=\`basnam ${D}outFile _%!\`
50378 case ${D}outFile in
50380 outFile=\`basnam ${D}outFile .dll\`
50383 outFile=\`basnam ${D}outFile .DLL\`
50386 outFile=\`basnam ${D}outFile .o\`
50389 outFile=\`basnam ${D}outFile .obj\`
50392 outFile=\`basnam ${D}outFile .a\`
50395 outFile=\`basnam ${D}outFile .lib\`
50400 case ${D}outimpFile in
50402 outimpFile=\`basnam ${D}outimpFile .a\`
50405 outimpFile=\`basnam ${D}outimpFile .lib\`
50410 if [ -z ${D}outimpFile ]; then
50411 outimpFile=${D}outFile
50413 defFile="${D}{outFile}.def"
50414 arcFile="${D}{outimpFile}.a"
50415 arcFile2="${D}{outimpFile}.lib"
50417 #create ${D}dllFile as something matching 8.3 restrictions,
50418 if [ -z ${D}renameScript ] ; then
50419 dllFile="${D}outFile"
50421 dllFile=\`${D}renameScript ${D}outimpFile\`
50424 if [ ${D}do_backup -ne 0 ] ; then
50425 if [ -f ${D}arcFile ] ; then
50426 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50428 if [ -f ${D}arcFile2 ] ; then
50429 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50433 # Extract public symbols from all the object files.
50434 tmpdefFile=${D}{defFile}_%
50435 rm -f ${D}tmpdefFile
50436 for file in ${D}inputFiles ; do
50441 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50446 # Create the def file.
50448 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50449 dllFile="${D}{dllFile}.dll"
50450 if [ ! -z ${D}description ]; then
50451 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50453 echo "EXPORTS" >> ${D}defFile
50455 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50456 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50458 # Checks if the export is ok or not.
50459 for word in ${D}exclude_symbols; do
50460 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50461 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50465 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50466 sed "=" < ${D}tmpdefFile | \\
50470 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50472 ' > ${D}{tmpdefFile}%
50473 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50475 rm -f ${D}{tmpdefFile}%
50477 cat ${D}tmpdefFile >> ${D}defFile
50478 rm -f ${D}tmpdefFile
50480 # Do linking, create implib, and apply lxlite.
50482 for file in ${D}inputFiles ; do
50487 gccCmdl="${D}gccCmdl ${D}file"
50491 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50492 touch "${D}{outFile}.dll"
50494 doCommand "emximp -o ${D}arcFile ${D}defFile"
50495 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50497 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50500 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50502 doCommand "emxomf -s -l ${D}arcFile"
50512 powerpc
-apple-macos* | \
50513 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
50523 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50524 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50525 { (exit 1); exit 1; }; }
50528 if test "x$PIC_FLAG" != "x" ; then
50529 PIC_FLAG
="$PIC_FLAG -DPIC"
50532 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50533 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
50535 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50536 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50551 USE_SOTWOSYMLINKS
=0
50555 case "${BAKEFILE_HOST}" in
50556 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50557 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50558 if test "x$SUNCXX" = "xyes"; then
50561 SONAME_FLAG
="-Wl,-soname,"
50565 USE_SOTWOSYMLINKS
=1
50577 USE_SOTWOSYMLINKS
=1
50595 # Check whether --enable-dependency-tracking was given.
50596 if test "${enable_dependency_tracking+set}" = set; then
50597 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50601 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50602 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50605 if test "x$bk_use_trackdeps" = "xno" ; then
50607 { echo "$as_me:$LINENO: result: disabled" >&5
50608 echo "${ECHO_T}disabled" >&6; }
50612 if test "x$GCC" = "xyes"; then
50614 case "${BAKEFILE_HOST}" in
50616 DEPSFLAG
="-no-cpp-precomp -MMD"
50622 { echo "$as_me:$LINENO: result: gcc" >&5
50623 echo "${ECHO_T}gcc" >&6; }
50624 elif test "x$MWCC" = "xyes"; then
50627 { echo "$as_me:$LINENO: result: mwcc" >&5
50628 echo "${ECHO_T}mwcc" >&6; }
50629 elif test "x$SUNCC" = "xyes"; then
50632 { echo "$as_me:$LINENO: result: Sun cc" >&5
50633 echo "${ECHO_T}Sun cc" >&6; }
50634 elif test "x$SGICC" = "xyes"; then
50637 { echo "$as_me:$LINENO: result: SGI cc" >&5
50638 echo "${ECHO_T}SGI cc" >&6; }
50639 elif test "x$HPCC" = "xyes"; then
50642 { echo "$as_me:$LINENO: result: HP cc" >&5
50643 echo "${ECHO_T}HP cc" >&6; }
50644 elif test "x$COMPAQCC" = "xyes"; then
50647 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50648 echo "${ECHO_T}Compaq cc" >&6; }
50651 { echo "$as_me:$LINENO: result: none" >&5
50652 echo "${ECHO_T}none" >&6; }
50655 if test $DEPS_TRACKING = 1 ; then
50661 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50662 # script. It is used to track C/C++ files dependencies in portable way.
50664 # Permission is given to use this file in any way.
50666 DEPSMODE=${DEPSMODE}
50667 DEPSFLAG="${DEPSFLAG}"
50670 if test ${D}DEPSMODE = gcc ; then
50671 ${D}* ${D}{DEPSFLAG}
50674 # determine location of created files:
50675 while test ${D}# -gt 0; do
50689 objfilebase=\`basename ${D}objfile\`
50690 builddir=\`dirname ${D}objfile\`
50691 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50692 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50693 depsdir=${D}builddir/${D}DEPSDIRBASE
50694 mkdir -p ${D}depsdir
50696 # if the compiler failed, we're done:
50697 if test ${D}{status} != 0 ; then
50702 # move created file to the location we want it in:
50703 if test -f ${D}depfile ; then
50704 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50707 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50708 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50709 if test ! -f ${D}depfile ; then
50710 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50711 depfile="${D}objfile.d"
50713 if test -f ${D}depfile ; then
50714 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50720 elif test ${D}DEPSMODE = mwcc ; then
50721 ${D}* || exit ${D}?
50722 # Run mwcc again with -MM and redirect into the dep file we want
50723 # NOTE: We can't use shift here because we need ${D}* to be valid
50725 for arg in ${D}* ; do
50726 if test "${D}prevarg" = "-o"; then
50740 objfilebase=\`basename ${D}objfile\`
50741 builddir=\`dirname ${D}objfile\`
50742 depsdir=${D}builddir/${D}DEPSDIRBASE
50743 mkdir -p ${D}depsdir
50745 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50748 elif test ${D}DEPSMODE = unixcc; then
50749 ${D}* || exit ${D}?
50750 # Run compiler again with deps flag and redirect into the dep file.
50751 # It doesn't work if the '-o FILE' option is used, but without it the
50752 # dependency file will contain the wrong name for the object. So it is
50753 # removed from the command line, and the dep file is fixed with sed.
50755 while test ${D}# -gt 0; do
50762 eval arg${D}#=\\${D}1
50763 cmd="${D}cmd \\${D}arg${D}#"
50769 objfilebase=\`basename ${D}objfile\`
50770 builddir=\`dirname ${D}objfile\`
50771 depsdir=${D}builddir/${D}DEPSDIRBASE
50772 mkdir -p ${D}depsdir
50774 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50784 BK_DEPS
="`pwd`/bk-deps"
50792 case ${BAKEFILE_HOST} in
50793 *-*-cygwin* | *-*-mingw32* )
50794 if test -n "$ac_tool_prefix"; then
50795 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50796 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50799 if test "${ac_cv_prog_WINDRES+set}" = set; then
50800 echo $ECHO_N "(cached) $ECHO_C" >&6
50802 if test -n "$WINDRES"; then
50803 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50806 for as_dir
in $PATH
50809 test -z "$as_dir" && as_dir
=.
50810 for ac_exec_ext
in '' $ac_executable_extensions; do
50811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50812 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50822 WINDRES
=$ac_cv_prog_WINDRES
50823 if test -n "$WINDRES"; then
50824 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50825 echo "${ECHO_T}$WINDRES" >&6; }
50827 { echo "$as_me:$LINENO: result: no" >&5
50828 echo "${ECHO_T}no" >&6; }
50833 if test -z "$ac_cv_prog_WINDRES"; then
50834 ac_ct_WINDRES
=$WINDRES
50835 # Extract the first word of "windres", so it can be a program name with args.
50836 set dummy windres
; ac_word
=$2
50837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50839 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50840 echo $ECHO_N "(cached) $ECHO_C" >&6
50842 if test -n "$ac_ct_WINDRES"; then
50843 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50846 for as_dir
in $PATH
50849 test -z "$as_dir" && as_dir
=.
50850 for ac_exec_ext
in '' $ac_executable_extensions; do
50851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50852 ac_cv_prog_ac_ct_WINDRES
="windres"
50853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50862 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50863 if test -n "$ac_ct_WINDRES"; then
50864 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50865 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50867 { echo "$as_me:$LINENO: result: no" >&5
50868 echo "${ECHO_T}no" >&6; }
50871 if test "x$ac_ct_WINDRES" = x
; then
50874 case $cross_compiling:$ac_tool_warned in
50876 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50877 whose name does not start with the host triplet. If you think this
50878 configuration is useful to you, please write to autoconf@gnu.org." >&5
50879 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50880 whose name does not start with the host triplet. If you think this
50881 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50882 ac_tool_warned
=yes ;;
50884 WINDRES
=$ac_ct_WINDRES
50887 WINDRES
="$ac_cv_prog_WINDRES"
50892 *-*-darwin* | powerpc
-apple-macos* )
50893 # Extract the first word of "Rez", so it can be a program name with args.
50894 set dummy Rez
; ac_word
=$2
50895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50897 if test "${ac_cv_prog_REZ+set}" = set; then
50898 echo $ECHO_N "(cached) $ECHO_C" >&6
50900 if test -n "$REZ"; then
50901 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50904 for as_dir
in $PATH
50907 test -z "$as_dir" && as_dir
=.
50908 for ac_exec_ext
in '' $ac_executable_extensions; do
50909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50910 ac_cv_prog_REZ
="Rez"
50911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50918 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50921 REZ
=$ac_cv_prog_REZ
50922 if test -n "$REZ"; then
50923 { echo "$as_me:$LINENO: result: $REZ" >&5
50924 echo "${ECHO_T}$REZ" >&6; }
50926 { echo "$as_me:$LINENO: result: no" >&5
50927 echo "${ECHO_T}no" >&6; }
50931 # Extract the first word of "SetFile", so it can be a program name with args.
50932 set dummy SetFile
; ac_word
=$2
50933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50935 if test "${ac_cv_prog_SETFILE+set}" = set; then
50936 echo $ECHO_N "(cached) $ECHO_C" >&6
50938 if test -n "$SETFILE"; then
50939 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50942 for as_dir
in $PATH
50945 test -z "$as_dir" && as_dir
=.
50946 for ac_exec_ext
in '' $ac_executable_extensions; do
50947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50948 ac_cv_prog_SETFILE
="SetFile"
50949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50956 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50959 SETFILE
=$ac_cv_prog_SETFILE
50960 if test -n "$SETFILE"; then
50961 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50962 echo "${ECHO_T}$SETFILE" >&6; }
50964 { echo "$as_me:$LINENO: result: no" >&5
50965 echo "${ECHO_T}no" >&6; }
50980 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50983 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50987 # Check whether --enable-precomp-headers was given.
50988 if test "${enable_precomp_headers+set}" = set; then
50989 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50998 case ${BAKEFILE_HOST} in
51004 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51005 if test "x$GCC" = "xyes"; then
51006 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51007 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51008 cat >conftest.
$ac_ext <<_ACEOF
51011 cat confdefs.h
>>conftest.
$ac_ext
51012 cat >>conftest.
$ac_ext <<_ACEOF
51013 /* end confdefs.h. */
51019 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51020 There is no PCH support
51023 There is no PCH support
51025 #if (__GNUC__ == 3) && \
51026 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51027 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51028 ( defined(__INTEL_COMPILER) )
51029 There is no PCH support
51036 rm -f conftest.
$ac_objext
51037 if { (ac_try
="$ac_compile"
51038 case "(($ac_try" in
51039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51040 *) ac_try_echo=$ac_try;;
51042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51043 (eval "$ac_compile") 2>conftest.er1
51045 grep -v '^ *+' conftest.er1 >conftest.err
51047 cat conftest.err >&5
51048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51049 (exit $ac_status); } && {
51050 test -z "$ac_c_werror_flag" ||
51051 test ! -s conftest.err
51052 } && test -s conftest.$ac_objext; then
51054 { echo "$as_me:$LINENO: result: yes" >&5
51055 echo "${ECHO_T}yes" >&6; }
51059 echo "$as_me: failed program was:" >&5
51060 sed 's/^/| /' conftest.$ac_ext >&5
51063 if test "$INTELCXX8" = "yes"; then
51064 { echo "$as_me:$LINENO: result: yes" >&5
51065 echo "${ECHO_T}yes" >&6; }
51067 if test "$INTELCXX10" = "yes"; then
51068 ICC_PCH_CREATE_SWITCH="-pch-create"
51069 ICC_PCH_USE_SWITCH="-pch-use"
51071 ICC_PCH_CREATE_SWITCH="-create-pch"
51072 ICC_PCH_USE_SWITCH="-use-pch"
51075 { echo "$as_me:$LINENO: result: no" >&5
51076 echo "${ECHO_T}no" >&6; }
51081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51082 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51086 cat <<EOF >bk-make-pch
51089 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51090 # script. It is used to generated precompiled headers.
51092 # Permission is given to use this file in any way.
51099 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
51104 while test ${D}{#} -gt 0; do
51108 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51109 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51110 headerfile="${D}{incdir}/${D}{header}"
51113 -use-pch|-use_pch|-pch-use )
51118 if test ${D}add_to_cmdline = 1 ; then
51119 compiler="${D}{compiler} ${D}{1}"
51124 if test "x${D}{headerfile}" = "x" ; then
51125 echo "error: can't find header ${D}{header} in include paths" >&2
51127 if test -f ${D}{outfile} ; then
51128 rm -f ${D}{outfile}
51130 mkdir -p \`dirname ${D}{outfile
}\
`
51132 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51133 mkdir -p ${D}{builddir}/.deps
51134 if test "x${GCC_PCH}" = "x1" ; then
51135 # can do this because gcc is >= 3.4:
51136 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51137 elif test "x${ICC_PCH}" = "x1" ; then
51138 filename=pch_gen-${D}${D}
51139 file=${D}{filename}.c
51140 dfile=${D}{filename}.d
51141 cat > ${D}file <<EOT
51142 #include "${D}header"
51144 # using -MF icc complains about differing command lines in creation/use
51145 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51146 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51147 rm -f ${D}file ${D}dfile ${D}{filename}.o
51153 chmod +x bk-make-pch
51154 BK_MAKE_PCH="`pwd`/bk-make-pch"
51165 COND_BUILD_DEBUG="#"
51166 if test "x$BUILD" = "xdebug" ; then
51167 COND_BUILD_DEBUG=""
51170 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51171 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51172 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51175 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51176 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51177 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51180 COND_BUILD_DEBUG_UNICODE_0="#"
51181 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51182 COND_BUILD_DEBUG_UNICODE_0=""
51185 COND_BUILD_DEBUG_UNICODE_1="#"
51186 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51187 COND_BUILD_DEBUG_UNICODE_1=""
51190 COND_BUILD_RELEASE="#"
51191 if test "x$BUILD" = "xrelease" ; then
51192 COND_BUILD_RELEASE=""
51195 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51196 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51197 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51200 COND_BUILD_RELEASE_UNICODE_0="#"
51201 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51202 COND_BUILD_RELEASE_UNICODE_0=""
51205 COND_BUILD_RELEASE_UNICODE_1="#"
51206 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51207 COND_BUILD_RELEASE_UNICODE_1=""
51210 COND_BUILD_debug="#"
51211 if test "x$BUILD" = "xdebug" ; then
51212 COND_BUILD_debug=""
51215 COND_BUILD_debug_DEBUG_FLAG_default="#"
51216 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51217 COND_BUILD_debug_DEBUG_FLAG_default=""
51220 COND_BUILD_debug_DEBUG_INFO_default="#"
51221 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51222 COND_BUILD_debug_DEBUG_INFO_default=""
51225 COND_BUILD_debug_UNICODE_0="#"
51226 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51227 COND_BUILD_debug_UNICODE_0=""
51230 COND_BUILD_debug_UNICODE_1="#"
51231 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51232 COND_BUILD_debug_UNICODE_1=""
51235 COND_BUILD_release="#"
51236 if test "x$BUILD" = "xrelease" ; then
51237 COND_BUILD_release=""
51240 COND_BUILD_release_DEBUG_INFO_default="#"
51241 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51242 COND_BUILD_release_DEBUG_INFO_default=""
51245 COND_BUILD_release_UNICODE_0="#"
51246 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51247 COND_BUILD_release_UNICODE_0=""
51250 COND_BUILD_release_UNICODE_1="#"
51251 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51252 COND_BUILD_release_UNICODE_1=""
51255 COND_DEBUG_FLAG_0="#"
51256 if test "x$DEBUG_FLAG" = "x0" ; then
51257 COND_DEBUG_FLAG_0=""
51260 COND_DEBUG_FLAG_1="#"
51261 if test "x$DEBUG_FLAG" = "x1" ; then
51262 COND_DEBUG_FLAG_1=""
51265 COND_DEBUG_INFO_0="#"
51266 if test "x$DEBUG_INFO" = "x0" ; then
51267 COND_DEBUG_INFO_0=""
51270 COND_DEBUG_INFO_1="#"
51271 if test "x$DEBUG_INFO" = "x1" ; then
51272 COND_DEBUG_INFO_1=""
51275 COND_DEPS_TRACKING_0="#"
51276 if test "x$DEPS_TRACKING" = "x0" ; then
51277 COND_DEPS_TRACKING_0=""
51280 COND_DEPS_TRACKING_1="#"
51281 if test "x$DEPS_TRACKING" = "x1" ; then
51282 COND_DEPS_TRACKING_1=""
51286 if test "x$GCC_PCH" = "x1" ; then
51291 if test "x$ICC_PCH" = "x1" ; then
51295 COND_MONOLITHIC_0="#"
51296 if test "x$MONOLITHIC" = "x0" ; then
51297 COND_MONOLITHIC_0=""
51300 COND_MONOLITHIC_0_SHARED_0="#"
51301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51302 COND_MONOLITHIC_0_SHARED_0=""
51305 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51307 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51315 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51317 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51322 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51327 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51330 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51332 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51335 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51337 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51340 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51342 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51345 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51347 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51350 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51352 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51355 COND_MONOLITHIC_0_SHARED_1="#"
51356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51357 COND_MONOLITHIC_0_SHARED_1=""
51360 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51362 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51366 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51371 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51372 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51377 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51382 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51385 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51387 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51390 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51392 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51395 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51397 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51400 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51402 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51405 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51407 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51410 COND_MONOLITHIC_0_USE_AUI_1="#"
51411 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51412 COND_MONOLITHIC_0_USE_AUI_1=""
51415 COND_MONOLITHIC_0_USE_GUI_1="#"
51416 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51417 COND_MONOLITHIC_0_USE_GUI_1=""
51420 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51421 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51422 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51425 COND_MONOLITHIC_0_USE_HTML_1="#"
51426 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51427 COND_MONOLITHIC_0_USE_HTML_1=""
51430 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51431 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51432 COND_MONOLITHIC_0_USE_MEDIA_1=""
51435 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51436 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51437 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51440 COND_MONOLITHIC_0_USE_QA_1="#"
51441 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51442 COND_MONOLITHIC_0_USE_QA_1=""
51445 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51446 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51447 COND_MONOLITHIC_0_USE_RIBBON_1=""
51450 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51451 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51452 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51455 COND_MONOLITHIC_0_USE_STC_1="#"
51456 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51457 COND_MONOLITHIC_0_USE_STC_1=""
51460 COND_MONOLITHIC_0_USE_XRC_1="#"
51461 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51462 COND_MONOLITHIC_0_USE_XRC_1=""
51465 COND_MONOLITHIC_1="#"
51466 if test "x$MONOLITHIC" = "x1" ; then
51467 COND_MONOLITHIC_1=""
51470 COND_MONOLITHIC_1_SHARED_0="#"
51471 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51472 COND_MONOLITHIC_1_SHARED_0=""
51475 COND_MONOLITHIC_1_SHARED_1="#"
51476 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51477 COND_MONOLITHIC_1_SHARED_1=""
51480 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51481 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51482 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51485 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51486 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51487 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51490 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51491 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51492 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51495 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51496 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51497 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51500 COND_PLATFORM_MACOSX_1="#"
51501 if test "x$PLATFORM_MACOSX" = "x1" ; then
51502 COND_PLATFORM_MACOSX_1=""
51505 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51507 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51510 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51512 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51515 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51516 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51517 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51521 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51522 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51526 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51527 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51530 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51532 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51535 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51537 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51540 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51542 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51545 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51547 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51550 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51552 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51555 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51556 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51557 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51560 COND_PLATFORM_MACOS_1="#"
51561 if test "x$PLATFORM_MACOS" = "x1" ; then
51562 COND_PLATFORM_MACOS_1=""
51565 COND_PLATFORM_MAC_0="#"
51566 if test "x$PLATFORM_MAC" = "x0" ; then
51567 COND_PLATFORM_MAC_0=""
51570 COND_PLATFORM_MAC_1="#"
51571 if test "x$PLATFORM_MAC" = "x1" ; then
51572 COND_PLATFORM_MAC_1=""
51575 COND_PLATFORM_MSDOS_0="#"
51576 if test "x$PLATFORM_MSDOS" = "x0" ; then
51577 COND_PLATFORM_MSDOS_0=""
51580 COND_PLATFORM_MSDOS_1="#"
51581 if test "x$PLATFORM_MSDOS" = "x1" ; then
51582 COND_PLATFORM_MSDOS_1=""
51585 COND_PLATFORM_OS2_1="#"
51586 if test "x$PLATFORM_OS2" = "x1" ; then
51587 COND_PLATFORM_OS2_1=""
51590 COND_PLATFORM_UNIX_0="#"
51591 if test "x$PLATFORM_UNIX" = "x0" ; then
51592 COND_PLATFORM_UNIX_0=""
51595 COND_PLATFORM_UNIX_1="#"
51596 if test "x$PLATFORM_UNIX" = "x1" ; then
51597 COND_PLATFORM_UNIX_1=""
51600 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51601 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51602 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51605 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51606 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51607 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51610 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51611 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51612 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51615 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51616 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51617 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51620 COND_PLATFORM_WIN32_0="#"
51621 if test "x$PLATFORM_WIN32" = "x0" ; then
51622 COND_PLATFORM_WIN32_0=""
51625 COND_PLATFORM_WIN32_1="#"
51626 if test "x$PLATFORM_WIN32" = "x1" ; then
51627 COND_PLATFORM_WIN32_1=""
51630 COND_PLATFORM_WIN32_1_SHARED_0="#"
51631 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51632 COND_PLATFORM_WIN32_1_SHARED_0=""
51636 if test "x$SHARED" = "x0" ; then
51640 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51641 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51642 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51645 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51646 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51647 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51650 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51651 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51652 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51655 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51656 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51657 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51660 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51661 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51662 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51665 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51666 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51667 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51670 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51671 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51672 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51675 COND_SHARED_0_USE_STC_1="#"
51676 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51677 COND_SHARED_0_USE_STC_1=""
51680 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51681 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51682 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51685 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51686 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51687 COND_SHARED_0_wxUSE_REGEX_builtin=""
51690 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51691 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51692 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51696 if test "x$SHARED" = "x1" ; then
51700 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51701 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51702 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51706 if test "x$TOOLKIT" = "x" ; then
51710 COND_TOOLKIT_COCOA="#"
51711 if test "x$TOOLKIT" = "xCOCOA" ; then
51712 COND_TOOLKIT_COCOA=""
51715 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51716 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51717 COND_TOOLKIT_COCOA_USE_GUI_1=""
51720 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51721 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51722 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51725 COND_TOOLKIT_DFB="#"
51726 if test "x$TOOLKIT" = "xDFB" ; then
51727 COND_TOOLKIT_DFB=""
51730 COND_TOOLKIT_DFB_USE_GUI_1="#"
51731 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51732 COND_TOOLKIT_DFB_USE_GUI_1=""
51735 COND_TOOLKIT_GTK="#"
51736 if test "x$TOOLKIT" = "xGTK" ; then
51737 COND_TOOLKIT_GTK=""
51740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51741 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51746 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51751 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51756 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51757 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51760 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51761 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51762 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51765 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51766 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51767 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51770 COND_TOOLKIT_GTK_USE_GUI_1="#"
51771 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51772 COND_TOOLKIT_GTK_USE_GUI_1=""
51775 COND_TOOLKIT_MAC="#"
51776 if test "x$TOOLKIT" = "xMAC" ; then
51777 COND_TOOLKIT_MAC=""
51780 COND_TOOLKIT_MGL="#"
51781 if test "x$TOOLKIT" = "xMGL" ; then
51782 COND_TOOLKIT_MGL=""
51785 COND_TOOLKIT_MGL_USE_GUI_1="#"
51786 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51787 COND_TOOLKIT_MGL_USE_GUI_1=""
51790 COND_TOOLKIT_MOTIF="#"
51791 if test "x$TOOLKIT" = "xMOTIF" ; then
51792 COND_TOOLKIT_MOTIF=""
51795 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51796 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51797 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51800 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51801 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51802 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51805 COND_TOOLKIT_MSW="#"
51806 if test "x$TOOLKIT" = "xMSW" ; then
51807 COND_TOOLKIT_MSW=""
51810 COND_TOOLKIT_MSW_USE_GUI_1="#"
51811 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51812 COND_TOOLKIT_MSW_USE_GUI_1=""
51815 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51816 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51817 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51820 COND_TOOLKIT_MSW_WXUNIV_0="#"
51821 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51822 COND_TOOLKIT_MSW_WXUNIV_0=""
51825 COND_TOOLKIT_OSX_CARBON="#"
51826 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51827 COND_TOOLKIT_OSX_CARBON=""
51830 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51831 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51832 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51835 COND_TOOLKIT_OSX_COCOA="#"
51836 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51837 COND_TOOLKIT_OSX_COCOA=""
51840 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51841 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51842 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51845 COND_TOOLKIT_OSX_IPHONE="#"
51846 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51847 COND_TOOLKIT_OSX_IPHONE=""
51850 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51851 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51852 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51855 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51856 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51857 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51860 COND_TOOLKIT_PM="#"
51861 if test "x$TOOLKIT" = "xPM" ; then
51865 COND_TOOLKIT_PM_USE_GUI_1="#"
51866 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51867 COND_TOOLKIT_PM_USE_GUI_1=""
51870 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51871 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51872 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51875 COND_TOOLKIT_WINCE="#"
51876 if test "x$TOOLKIT" = "xWINCE" ; then
51877 COND_TOOLKIT_WINCE=""
51880 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51881 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51882 COND_TOOLKIT_WINCE_USE_GUI_1=""
51885 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51886 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51887 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51890 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51891 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51892 COND_TOOLKIT_WINCE_WXUNIV_0=""
51895 COND_TOOLKIT_X11="#"
51896 if test "x$TOOLKIT" = "xX11" ; then
51897 COND_TOOLKIT_X11=""
51900 COND_TOOLKIT_X11_USE_GUI_1="#"
51901 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51902 COND_TOOLKIT_X11_USE_GUI_1=""
51906 if test "x$UNICODE" = "x1" ; then
51910 COND_USE_CAIRO_1="#"
51911 if test "x$USE_CAIRO" = "x1" ; then
51912 COND_USE_CAIRO_1=""
51915 COND_USE_EXCEPTIONS_0="#"
51916 if test "x$USE_EXCEPTIONS" = "x0" ; then
51917 COND_USE_EXCEPTIONS_0=""
51920 COND_USE_EXCEPTIONS_1="#"
51921 if test "x$USE_EXCEPTIONS" = "x1" ; then
51922 COND_USE_EXCEPTIONS_1=""
51926 if test "x$USE_GUI" = "x0" ; then
51931 if test "x$USE_GUI" = "x1" ; then
51935 COND_USE_GUI_1_USE_OPENGL_1="#"
51936 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51937 COND_USE_GUI_1_USE_OPENGL_1=""
51940 COND_USE_GUI_1_WXUNIV_0="#"
51941 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51942 COND_USE_GUI_1_WXUNIV_0=""
51945 COND_USE_GUI_1_WXUNIV_1="#"
51946 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51947 COND_USE_GUI_1_WXUNIV_1=""
51950 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51951 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51955 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51956 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51957 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51960 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51961 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51962 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51966 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51970 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51971 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51972 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51975 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51976 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51977 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51980 COND_USE_OPENGL_1="#"
51981 if test "x$USE_OPENGL" = "x1" ; then
51982 COND_USE_OPENGL_1=""
51986 if test "x$USE_PCH" = "x1" ; then
51990 COND_USE_PLUGINS_0="#"
51991 if test "x$USE_PLUGINS" = "x0" ; then
51992 COND_USE_PLUGINS_0=""
51995 COND_USE_RTTI_0="#"
51996 if test "x$USE_RTTI" = "x0" ; then
52000 COND_USE_RTTI_1="#"
52001 if test "x$USE_RTTI" = "x1" ; then
52005 COND_USE_SOTWOSYMLINKS_1="#"
52006 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52007 COND_USE_SOTWOSYMLINKS_1=""
52010 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52011 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52012 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52015 COND_USE_SOVERLINUX_1="#"
52016 if test "x$USE_SOVERLINUX" = "x1" ; then
52017 COND_USE_SOVERLINUX_1=""
52020 COND_USE_SOVERSION_0="#"
52021 if test "x$USE_SOVERSION" = "x0" ; then
52022 COND_USE_SOVERSION_0=""
52025 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52026 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52027 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52030 COND_USE_SOVERSOLARIS_1="#"
52031 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52032 COND_USE_SOVERSOLARIS_1=""
52036 if test "x$USE_STC" = "x1" ; then
52040 COND_USE_THREADS_0="#"
52041 if test "x$USE_THREADS" = "x0" ; then
52042 COND_USE_THREADS_0=""
52045 COND_USE_THREADS_1="#"
52046 if test "x$USE_THREADS" = "x1" ; then
52047 COND_USE_THREADS_1=""
52051 if test "x$USE_XRC" = "x1" ; then
52055 COND_WINDOWS_IMPLIB_1="#"
52056 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52057 COND_WINDOWS_IMPLIB_1=""
52060 COND_WITH_PLUGIN_SDL_1="#"
52061 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52062 COND_WITH_PLUGIN_SDL_1=""
52066 if test "x$WXUNIV" = "x0" ; then
52071 if test "x$WXUNIV" = "x1" ; then
52075 COND_WXUSE_EXPAT_BUILTIN="#"
52076 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52077 COND_WXUSE_EXPAT_BUILTIN=""
52080 COND_WXUSE_LIBJPEG_BUILTIN="#"
52081 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52082 COND_WXUSE_LIBJPEG_BUILTIN=""
52085 COND_WXUSE_LIBPNG_BUILTIN="#"
52086 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52087 COND_WXUSE_LIBPNG_BUILTIN=""
52090 COND_WXUSE_LIBTIFF_BUILTIN="#"
52091 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52092 COND_WXUSE_LIBTIFF_BUILTIN=""
52095 COND_WXUSE_REGEX_BUILTIN="#"
52096 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52097 COND_WXUSE_REGEX_BUILTIN=""
52100 COND_WXUSE_ZLIB_BUILTIN="#"
52101 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52102 COND_WXUSE_ZLIB_BUILTIN=""
52105 COND_wxUSE_EXPAT_builtin="#"
52106 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52107 COND_wxUSE_EXPAT_builtin=""
52110 COND_wxUSE_LIBJPEG_builtin="#"
52111 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52112 COND_wxUSE_LIBJPEG_builtin=""
52115 COND_wxUSE_LIBPNG_builtin="#"
52116 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52117 COND_wxUSE_LIBPNG_builtin=""
52120 COND_wxUSE_LIBTIFF_builtin="#"
52121 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52122 COND_wxUSE_LIBTIFF_builtin=""
52125 COND_wxUSE_REGEX_builtin="#"
52126 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52127 COND_wxUSE_REGEX_builtin=""
52130 COND_wxUSE_ZLIB_builtin="#"
52131 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52132 COND_wxUSE_ZLIB_builtin=""
52137 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52138 { { 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
52139 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;}
52140 { (exit 1); exit 1; }; }
52143 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52144 { { 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
52145 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;}
52146 { (exit 1); exit 1; }; }
52153 ?:* ) # Drive letter, considered as absolute.
52156 INSTALL=`pwd`/${INSTALL} ;;
52159 if test "$wxUSE_GUI" = "yes"; then
52161 if test "$wxUSE_MSW" = 1 ; then
52162 if test "x$WINDRES" = "x"; then
52163 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52164 echo "$as_me: error: Required windres program not found" >&2;}
52165 { (exit 1); exit 1; }; }
52171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52172 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52173 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52175 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52177 # Extract the first word of "DeRez", so it can be a program name with args.
52178 set dummy DeRez; ac_word=$2
52179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52181 if test "${ac_cv_prog_DEREZ+set}" = set; then
52182 echo $ECHO_N "(cached) $ECHO_C" >&6
52184 if test -n "$DEREZ"; then
52185 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52188 for as_dir in $PATH
52191 test -z "$as_dir" && as_dir=.
52192 for ac_exec_ext in '' $ac_executable_extensions; do
52193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52194 ac_cv_prog_DEREZ="DeRez"
52195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52202 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52205 DEREZ=$ac_cv_prog_DEREZ
52206 if test -n "$DEREZ"; then
52207 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52208 echo "${ECHO_T}$DEREZ" >&6; }
52210 { echo "$as_me:$LINENO: result: no" >&5
52211 echo "${ECHO_T}no" >&6; }
52216 MACSETFILE="\$(SETFILE)"
52218 if test "$wxUSE_OSX_CARBON" = 1; then
52219 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52221 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52223 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52224 RESCOMP="cat /dev/null \| $REZ"
52225 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52231 if test "$wxUSE_PM" = 1; then
52233 WXCONFIG_RESFLAGS="-ep"
52235 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52237 POSTLINK_COMMAND="@true"
52244 if test $GCC_PCH = 1
52246 if test "$wx_cv_gcc_pch_bug" = yes; then
52247 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52248 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52249 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52250 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52251 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52252 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52255 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52256 # the headers that benefit from precompilation are mostly C++ headers.
52257 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52258 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52259 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52263 if test "$wxUSE_MAC" = 1 ; then
52264 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52265 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52271 if test "$wxUSE_SHARED" = "yes"; then
52273 *-pc-os2_emx | *-pc-os2-emx )
52274 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52275 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52276 cp -p ${srcdir}/src/os2/dllnames.sh .
52277 cp -p ${srcdir}/src/os2/dllar.sh .
52281 if test "$wxUSE_OMF" = "yes"; then
52283 *-pc-os2_emx | *-pc-os2-emx )
52284 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52285 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52286 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52296 if test "$GCC" = yes; then
52297 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52298 LIBS=`echo $LIBS | sed 's/-mt//'`
52299 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52304 if test "x$SUNCXX" = xyes; then
52305 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52306 LIBS=`echo $LIBS | sed 's/-pthread//'`
52307 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52312 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52313 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52314 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52315 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52317 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52378 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52379 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52380 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52381 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52382 echo $ECHO_N "(cached) $ECHO_C" >&6
52384 cat >conftest.make <<\_ACEOF
52387 @echo '@@@%%%=$(MAKE)=@@@%%%'
52389 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52390 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52391 *@@@%%%=?*=@@@%%%*)
52392 eval ac_cv_prog_make_${ac_make}_set=yes;;
52394 eval ac_cv_prog_make_${ac_make}_set=no;;
52396 rm -f conftest.make
52398 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52399 { echo "$as_me:$LINENO: result: yes" >&5
52400 echo "${ECHO_T}yes" >&6; }
52403 { echo "$as_me:$LINENO: result: no" >&5
52404 echo "${ECHO_T}no" >&6; }
52405 SET_MAKE="MAKE=${MAKE-make}"
52410 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52413 if test "$USE_WIN32" = 1; then
52414 ac_config_commands="$ac_config_commands rcdefs.h"
52418 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52421 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52424 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52427 if test "$wx_cv_version_script" = "yes"; then
52428 ac_config_files="$ac_config_files version-script"
52431 ac_config_files="$ac_config_files Makefile"
52434 ac_config_commands="$ac_config_commands wx-config"
52438 if test "$wxWITH_SUBDIRS" != "no"; then
52439 if test "$wxUSE_GUI" = "yes"; then
52440 SUBDIRS="samples demos utils"
52442 SUBDIRS="samples utils"
52447 # Check whether --with-cppunit-prefix was given.
52448 if test "${with_cppunit_prefix+set}" = set; then
52449 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52451 cppunit_config_prefix=""
52455 # Check whether --with-cppunit-exec-prefix was given.
52456 if test "${with_cppunit_exec_prefix+set}" = set; then
52457 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52459 cppunit_config_exec_prefix=""
52463 if test x$cppunit_config_exec_prefix != x ; then
52464 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52465 if test x${CPPUNIT_CONFIG+set} != xset ; then
52466 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52469 if test x$cppunit_config_prefix != x ; then
52470 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52471 if test x${CPPUNIT_CONFIG+set} != xset ; then
52472 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52476 # Extract the first word of "cppunit-config", so it can be a program name with args.
52477 set dummy cppunit-config; ac_word=$2
52478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52480 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52481 echo $ECHO_N "(cached) $ECHO_C" >&6
52483 case $CPPUNIT_CONFIG in
52485 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52489 for as_dir in $PATH
52492 test -z "$as_dir" && as_dir=.
52493 for ac_exec_ext in '' $ac_executable_extensions; do
52494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52495 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52503 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52507 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52508 if test -n "$CPPUNIT_CONFIG"; then
52509 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52510 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52512 { echo "$as_me:$LINENO: result: no" >&5
52513 echo "${ECHO_T}no" >&6; }
52517 cppunit_version_min=1.8.0
52519 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52520 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52522 if test "$CPPUNIT_CONFIG" = "no" ; then
52523 { echo "$as_me:$LINENO: result: no" >&5
52524 echo "${ECHO_T}no" >&6; }
52527 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52528 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52529 cppunit_version=`$CPPUNIT_CONFIG --version`
52531 cppunit_major_version=`echo $cppunit_version | \
52532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52533 cppunit_minor_version=`echo $cppunit_version | \
52534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52535 cppunit_micro_version=`echo $cppunit_version | \
52536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52538 cppunit_major_min=`echo $cppunit_version_min | \
52539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52540 cppunit_minor_min=`echo $cppunit_version_min | \
52541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52542 cppunit_micro_min=`echo $cppunit_version_min | \
52543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52545 cppunit_version_proper=`expr \
52546 $cppunit_major_version \
> $cppunit_major_min \
| \
52547 $cppunit_major_version \
= $cppunit_major_min \
& \
52548 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52549 $cppunit_major_version \
= $cppunit_major_min \
& \
52550 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52551 $cppunit_micro_version \
>= $cppunit_micro_min `
52553 if test "$cppunit_version_proper" = "1" ; then
52554 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52555 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52557 { echo "$as_me:$LINENO: result: no" >&5
52558 echo "${ECHO_T}no" >&6; }
52563 if test "x$no_cppunit" = x ; then
52564 SUBDIRS="$SUBDIRS tests"
52575 for subdir in $SUBDIRS; do
52576 if test -d ${srcdir}/${subdir} ; then
52577 if test "$wxUSE_GUI" = "yes"; then
52578 if test ${subdir} = "samples"; then
52579 makefiles="samples/Makefile.in $makefiles"
52580 for sample in $SAMPLES_SUBDIRS; do
52581 if test -d $srcdir/samples/$sample; then
52582 makefiles="samples/$sample/Makefile.in $makefiles"
52586 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52587 eval "disabled=\$$disabled_var"
52588 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52589 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52592 if test ${subdir} = "samples"; then
52593 makefiles="samples/Makefile.in $makefiles"
52594 for sample in `echo $SAMPLES_SUBDIRS`; do
52595 if test -d $srcdir/samples/$sample; then
52596 makefiles="samples/$sample/Makefile.in $makefiles"
52599 elif test ${subdir} = "utils"; then
52601 for util in ifacecheck ; do
52602 if test -d $srcdir/utils/$util ; then
52603 makefiles="utils/$util/src/Makefile.in \
52608 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52612 for mkin in $makefiles ; do
52613 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52614 ac_config_files="$ac_config_files $mk"
52620 cat >confcache <<\_ACEOF
52621 # This file is a shell script that caches the results of configure
52622 # tests run on this system so they can be shared between configure
52623 # scripts and configure runs, see configure's option --config-cache.
52624 # It is not useful on other systems. If it contains results you don't
52625 # want to keep, you may remove or edit it.
52627 # config.status only pays attention to the cache file if you give it
52628 # the --recheck option to rerun configure.
52630 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52632 # following values.
52636 # The following way of writing the cache mishandles newlines in values,
52637 # but we know of no workaround that is simple, portable, and efficient.
52638 # So, we kill variables containing newlines.
52639 # Ultrix sh set writes to stderr and can't be redirected directly,
52640 # and sets the high bit in the cache file unless we assign to the vars.
52642 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52643 eval ac_val
=\$
$ac_var
52647 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52648 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52651 _
| IFS
| as_nl
) ;; #(
52652 *) $as_unset $ac_var ;;
52658 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52659 *${as_nl}ac_space
=\
*)
52660 # `set' does not quote correctly, so add quotes (double-quote
52661 # substitution turns \\\\ into \\, and sed turns \\ into \).
52664 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52667 # `set' quotes correctly as required by POSIX, so do not add quotes.
52668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52679 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52681 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52682 if test -w "$cache_file"; then
52683 test "x$cache_file" != "x/dev/null" &&
52684 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52685 echo "$as_me: updating cache $cache_file" >&6;}
52686 cat confcache
>$cache_file
52688 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52689 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52694 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52695 # Let make expand exec_prefix.
52696 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52698 DEFS
=-DHAVE_CONFIG_H
52702 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52703 # 1. Remove the extension, and $U if already installed.
52704 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52705 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52706 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52707 # will be set to the directory where LIBOBJS objects are built.
52708 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52709 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52711 LIBOBJS
=$ac_libobjs
52713 LTLIBOBJS
=$ac_ltlibobjs
52717 : ${CONFIG_STATUS=./config.status}
52718 ac_clean_files_save
=$ac_clean_files
52719 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52720 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52721 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52722 cat >$CONFIG_STATUS <<_ACEOF
52724 # Generated by $as_me.
52725 # Run this file to recreate the current configuration.
52726 # Compiler output produced by configure, useful for debugging
52727 # configure, is in config.log if it exists.
52730 ac_cs_recheck=false
52732 SHELL=\${CONFIG_SHELL-$SHELL}
52735 cat >>$CONFIG_STATUS <<\_ACEOF
52736 ## --------------------- ##
52737 ## M4sh Initialization. ##
52738 ## --------------------- ##
52740 # Be more Bourne compatible
52741 DUALCASE
=1; export DUALCASE
# for MKS sh
52742 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52745 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52746 # is contrary to our usage. Disable this feature.
52747 alias -g '${1+"$@"}'='"$@"'
52748 setopt NO_GLOB_SUBST
52750 case `(set -o) 2>/dev/null` in
52751 *posix
*) set -o posix
;;
52760 # Avoid depending upon Character Ranges.
52761 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52762 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52763 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52764 as_cr_digits
='0123456789'
52765 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52767 # The user is always right.
52768 if test "${PATH_SEPARATOR+set}" != set; then
52769 echo "#! /bin/sh" >conf$$.sh
52770 echo "exit 0" >>conf$$.sh
52772 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52780 # Support unset when possible.
52781 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52789 # We need space, tab and new line, in precisely that order. Quoting is
52790 # there to prevent editors from complaining about space-tab.
52791 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52792 # splitting by setting IFS to empty value.)
52797 # Find who we are. Look in the path if we contain no directory separator.
52799 *[\\/]* ) as_myself
=$0 ;;
52800 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52801 for as_dir
in $PATH
52804 test -z "$as_dir" && as_dir
=.
52805 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52811 # We did not find ourselves, most probably we were run as `sh COMMAND'
52812 # in which case we are not to be found in the path.
52813 if test "x$as_myself" = x
; then
52816 if test ! -f "$as_myself"; then
52817 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52818 { (exit 1); exit 1; }
52821 # Work around bugs in pre-3.0 UWIN ksh.
52822 for as_var
in ENV MAIL MAILPATH
52823 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52831 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52832 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52833 LC_TELEPHONE LC_TIME
52835 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52836 eval $as_var=C
; export $as_var
52838 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52842 # Required to use basename.
52843 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52844 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52850 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52851 as_basename
=basename
52857 # Name of the executable.
52858 as_me
=`$as_basename -- "$0" ||
52859 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52860 X"$0" : 'X\(//\)$' \| \
52861 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52863 sed '/^.*\/\([^/][^/]*\)\/*$/{
52882 as_lineno_1
=$LINENO
52883 as_lineno_2
=$LINENO
52884 test "x$as_lineno_1" != "x$as_lineno_2" &&
52885 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52887 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52888 # uniformly replaced by the line number. The first 'sed' inserts a
52889 # line-number line after each line using $LINENO; the second 'sed'
52890 # does the real work. The second script uses 'N' to pair each
52891 # line-number line with the line containing $LINENO, and appends
52892 # trailing '-' during substitution so that $LINENO is not a special
52893 # case at line end.
52894 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52895 # scripts with optimization help from Paolo Bonzini. Blame Lee
52896 # E. McMahon (1931-1989) for sed's syntax. :-)
52908 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52911 ' >$as_me.lineno
&&
52912 chmod +x
"$as_me.lineno" ||
52913 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52914 { (exit 1); exit 1; }; }
52916 # Don't try to exec as it changes $[0], causing all sort of problems
52917 # (the dirname of $[0] is not the place where we might find the
52918 # original and so on. Autoconf is especially sensitive to this).
52919 .
"./$as_me.lineno"
52920 # Exit status is that of the last command.
52925 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52931 ECHO_C
= ECHO_N
= ECHO_T
=
52932 case `echo -n x` in
52934 case `echo 'x\c'` in
52935 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52942 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52943 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52949 rm -f conf$$ conf$$.exe conf$$.
file
52950 if test -d conf$$.dir
; then
52951 rm -f conf$$.dir
/conf$$.
file
52957 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52959 # ... but there are two gotchas:
52960 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52961 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52962 # In both cases, we have to default to `cp -p'.
52963 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52965 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52970 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52971 rmdir conf$$.dir
2>/dev
/null
52973 if mkdir -p .
2>/dev
/null
; then
52976 test -d .
/-p && rmdir .
/-p
52980 if test -x / >/dev
/null
2>&1; then
52981 as_test_x
='test -x'
52983 if ls -dL / >/dev
/null
2>&1; then
52990 if test -d "$1"; then
52996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52997 ???[sx]*):;;*)false;;esac;fi
53001 as_executable_p
=$as_test_x
53003 # Sed expression to map a string onto a valid CPP name.
53004 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53006 # Sed expression to map a string onto a valid variable name.
53007 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53012 # Save the log message, to keep $[0] and so on meaningful, and to
53013 # report actual input values of CONFIG_FILES etc. instead of their
53014 # values after options handling.
53016 This file was extended by wxWidgets $as_me 2.9.2, which was
53017 generated by GNU Autoconf 2.61. Invocation command line was
53019 CONFIG_FILES = $CONFIG_FILES
53020 CONFIG_HEADERS = $CONFIG_HEADERS
53021 CONFIG_LINKS = $CONFIG_LINKS
53022 CONFIG_COMMANDS = $CONFIG_COMMANDS
53025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53030 cat >>$CONFIG_STATUS <<_ACEOF
53031 # Files that config.status was made for.
53032 config_files="$ac_config_files"
53033 config_headers="$ac_config_headers"
53034 config_commands="$ac_config_commands"
53038 cat >>$CONFIG_STATUS <<\_ACEOF
53040 \`$as_me' instantiates files from templates according to the
53041 current configuration.
53043 Usage: $0 [OPTIONS] [FILE]...
53045 -h, --help print this help, then exit
53046 -V, --version print version number and configuration settings, then exit
53047 -q, --quiet do not print progress messages
53048 -d, --debug don't remove temporary files
53049 --recheck update $as_me by reconfiguring in the same conditions
53050 --file=FILE[:TEMPLATE]
53051 instantiate the configuration file FILE
53052 --header=FILE[:TEMPLATE]
53053 instantiate the configuration header FILE
53055 Configuration files:
53058 Configuration headers:
53061 Configuration commands:
53064 Report bugs to <bug-autoconf@gnu.org>."
53067 cat >>$CONFIG_STATUS <<_ACEOF
53069 wxWidgets config.status 2.9.2
53070 configured by $0, generated by GNU Autoconf 2.61,
53071 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53073 Copyright (C) 2006 Free Software Foundation, Inc.
53074 This config.status script is free software; the Free Software Foundation
53075 gives unlimited permission to copy, distribute and modify it."
53082 cat >>$CONFIG_STATUS <<\_ACEOF
53083 # If no file are specified by the user, then we need to provide default
53084 # value. By we need to know if files were specified by the user.
53090 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53091 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53102 # Handling of the options.
53103 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53105 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53106 echo "$ac_cs_version"; exit ;;
53107 --debug | --debu | --deb | --de | --d | -d )
53109 --file | --fil | --fi | --f )
53111 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53112 ac_need_defaults
=false
;;
53113 --header | --heade | --head | --hea )
53115 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53116 ac_need_defaults
=false
;;
53118 # Conflict between --help and --header
53119 { echo "$as_me: error: ambiguous option: $1
53120 Try \`$0 --help' for more information." >&2
53121 { (exit 1); exit 1; }; };;
53122 --help | --hel | -h )
53123 echo "$ac_cs_usage"; exit ;;
53124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53125 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53128 # This is an error.
53129 -*) { echo "$as_me: error: unrecognized option: $1
53130 Try \`$0 --help' for more information." >&2
53131 { (exit 1); exit 1; }; } ;;
53133 *) ac_config_targets
="$ac_config_targets $1"
53134 ac_need_defaults
=false
;;
53140 ac_configure_extra_args
=
53142 if $ac_cs_silent; then
53144 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53148 cat >>$CONFIG_STATUS <<_ACEOF
53149 if \$ac_cs_recheck; then
53150 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53151 CONFIG_SHELL=$SHELL
53152 export CONFIG_SHELL
53153 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53157 cat >>$CONFIG_STATUS <<\_ACEOF
53161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53162 ## Running $as_me. ##
53168 cat >>$CONFIG_STATUS <<_ACEOF
53174 infile="$srcdir/include/wx/msw/genrcdefs.h"
53175 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53178 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53179 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53180 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53186 cat >>$CONFIG_STATUS <<\_ACEOF
53188 # Handling of arguments.
53189 for ac_config_target
in $ac_config_targets
53191 case $ac_config_target in
53192 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53193 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53194 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53195 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53196 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53197 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53198 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53199 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53200 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53202 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53203 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53204 { (exit 1); exit 1; }; };;
53209 # If the user did not use the arguments to specify the items to instantiate,
53210 # then the envvar interface is used. Set only those that are not.
53211 # We use the long form for the default assignment because of an extremely
53212 # bizarre bug on SunOS 4.1.3.
53213 if $ac_need_defaults; then
53214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53216 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53219 # Have a temporary directory for convenience. Make it in the build tree
53220 # simply because there is no reason against having it here, and in addition,
53221 # creating and moving files from /tmp can sometimes cause problems.
53222 # Hook for its removal unless debugging.
53223 # Note that there is a small window in which the directory will not be cleaned:
53224 # after its creation but before its name has been assigned to `$tmp'.
53228 trap 'exit_status=$?
53229 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53231 trap '{ (exit 1); exit 1; }' 1 2 13 15
53233 # Create a (secure) tmp directory for tmp files.
53236 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53237 test -n "$tmp" && test -d "$tmp"
53240 tmp
=.
/conf$$
-$RANDOM
53241 (umask 077 && mkdir "$tmp")
53244 echo "$me: cannot create a temporary directory in ." >&2
53245 { (exit 1); exit 1; }
53249 # Set up the sed scripts for CONFIG_FILES section.
53252 # No need to generate the scripts if there are no CONFIG_FILES.
53253 # This happens for instance when ./config.status config.h
53254 if test -n "$CONFIG_FILES"; then
53261 for ac_last_try
in false false false false false
:; do
53262 cat >conf$
$subs.
sed <<_ACEOF
53263 SHELL!$SHELL$ac_delim
53264 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53265 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53266 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53267 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53268 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53269 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53270 exec_prefix!$exec_prefix$ac_delim
53271 prefix!$prefix$ac_delim
53272 program_transform_name!$program_transform_name$ac_delim
53273 bindir!$bindir$ac_delim
53274 sbindir!$sbindir$ac_delim
53275 libexecdir!$libexecdir$ac_delim
53276 datarootdir!$datarootdir$ac_delim
53277 datadir!$datadir$ac_delim
53278 sysconfdir!$sysconfdir$ac_delim
53279 sharedstatedir!$sharedstatedir$ac_delim
53280 localstatedir!$localstatedir$ac_delim
53281 includedir!$includedir$ac_delim
53282 oldincludedir!$oldincludedir$ac_delim
53283 docdir!$docdir$ac_delim
53284 infodir!$infodir$ac_delim
53285 htmldir!$htmldir$ac_delim
53286 dvidir!$dvidir$ac_delim
53287 pdfdir!$pdfdir$ac_delim
53288 psdir!$psdir$ac_delim
53289 libdir!$libdir$ac_delim
53290 localedir!$localedir$ac_delim
53291 mandir!$mandir$ac_delim
53292 DEFS!$DEFS$ac_delim
53293 ECHO_C!$ECHO_C$ac_delim
53294 ECHO_N!$ECHO_N$ac_delim
53295 ECHO_T!$ECHO_T$ac_delim
53296 LIBS!$LIBS$ac_delim
53297 build_alias!$build_alias$ac_delim
53298 host_alias!$host_alias$ac_delim
53299 target_alias!$target_alias$ac_delim
53300 build!$build$ac_delim
53301 build_cpu!$build_cpu$ac_delim
53302 build_vendor!$build_vendor$ac_delim
53303 build_os!$build_os$ac_delim
53304 host!$host$ac_delim
53305 host_cpu!$host_cpu$ac_delim
53306 host_vendor!$host_vendor$ac_delim
53307 host_os!$host_os$ac_delim
53308 wx_top_builddir!$wx_top_builddir$ac_delim
53310 CFLAGS!$CFLAGS$ac_delim
53311 LDFLAGS!$LDFLAGS$ac_delim
53312 CPPFLAGS!$CPPFLAGS$ac_delim
53313 ac_ct_CC!$ac_ct_CC$ac_delim
53314 EXEEXT!$EXEEXT$ac_delim
53315 OBJEXT!$OBJEXT$ac_delim
53317 GREP!$GREP$ac_delim
53318 EGREP!$EGREP$ac_delim
53320 CXXFLAGS!$CXXFLAGS$ac_delim
53321 ac_ct_CXX!$ac_ct_CXX$ac_delim
53323 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53324 CXXCPP!$CXXCPP$ac_delim
53325 subdirs!$subdirs$ac_delim
53326 PKG_CONFIG!$PKG_CONFIG$ac_delim
53327 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53328 GTK_LIBS!$GTK_LIBS$ac_delim
53329 GTK_CONFIG!$GTK_CONFIG$ac_delim
53330 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53331 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53332 XMKMF!$XMKMF$ac_delim
53333 X_CFLAGS!$X_CFLAGS$ac_delim
53334 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53335 X_LIBS!$X_LIBS$ac_delim
53336 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53337 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53338 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53339 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53340 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53341 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53342 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53343 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53344 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53345 LIBICONV!$LIBICONV$ac_delim
53346 GXX_VERSION!$GXX_VERSION$ac_delim
53347 SDL_CONFIG!$SDL_CONFIG$ac_delim
53348 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53349 SDL_LIBS!$SDL_LIBS$ac_delim
53350 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53351 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53352 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53353 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53354 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53355 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53356 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53357 HILDON_LIBS!$HILDON_LIBS$ac_delim
53358 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53359 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53362 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53364 elif $ac_last_try; then
53365 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53366 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53367 { (exit 1); exit 1; }; }
53369 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53373 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53374 if test -n "$ac_eof"; then
53375 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53376 ac_eof
=`expr $ac_eof + 1`
53379 cat >>$CONFIG_STATUS <<_ACEOF
53380 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53384 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53385 s/^/s,@/; s/!/@,|#_!!_#|/
53388 s/'"$ac_delim"'$/,g/; t
53390 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53391 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53392 rm -f conf$
$subs.
sed
53393 cat >>$CONFIG_STATUS <<_ACEOF
53399 for ac_last_try
in false false false false false
:; do
53400 cat >conf$
$subs.
sed <<_ACEOF
53401 PYTHON!$PYTHON$ac_delim
53402 COND_PYTHON!$COND_PYTHON$ac_delim
53403 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53404 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53405 GST_CFLAGS!$GST_CFLAGS$ac_delim
53406 GST_LIBS!$GST_LIBS$ac_delim
53407 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53408 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53409 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53410 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53411 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53412 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53413 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53414 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53415 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53416 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53417 VENDOR!$VENDOR$ac_delim
53418 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53419 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53420 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53421 WXUNIV!$WXUNIV$ac_delim
53422 MONOLITHIC!$MONOLITHIC$ac_delim
53423 USE_PLUGINS!$USE_PLUGINS$ac_delim
53424 CXXWARNINGS!$CXXWARNINGS$ac_delim
53425 EXTRALIBS!$EXTRALIBS$ac_delim
53426 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53427 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53428 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53429 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53430 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53431 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53432 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53433 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53434 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53435 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53436 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53437 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53438 UNICODE!$UNICODE$ac_delim
53439 DEBUG_INFO!$DEBUG_INFO$ac_delim
53440 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53441 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53442 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53443 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53444 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53445 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53446 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53447 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53448 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53449 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53450 RANLIB!$RANLIB$ac_delim
53451 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53452 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53453 INSTALL_DATA!$INSTALL_DATA$ac_delim
53454 LN_S!$LN_S$ac_delim
53455 SET_MAKE!$SET_MAKE$ac_delim
53456 MAKE_SET!$MAKE_SET$ac_delim
53457 AROPTIONS!$AROPTIONS$ac_delim
53458 STRIP!$STRIP$ac_delim
53460 INSTALL_DIR!$INSTALL_DIR$ac_delim
53461 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53462 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53463 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53464 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53465 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53466 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53467 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53468 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53469 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53470 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53471 SO_SUFFIX!$SO_SUFFIX$ac_delim
53472 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53473 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53474 LIBPREFIX!$LIBPREFIX$ac_delim
53475 LIBEXT!$LIBEXT$ac_delim
53476 DLLPREFIX!$DLLPREFIX$ac_delim
53477 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53478 dlldir!$dlldir$ac_delim
53479 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53480 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53481 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53482 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53483 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53484 PIC_FLAG!$PIC_FLAG$ac_delim
53485 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53486 USE_SOVERSION!$USE_SOVERSION$ac_delim
53487 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53488 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53489 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53490 USE_MACVERSION!$USE_MACVERSION$ac_delim
53491 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53492 SONAME_FLAG!$SONAME_FLAG$ac_delim
53493 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53494 BK_DEPS!$BK_DEPS$ac_delim
53495 WINDRES!$WINDRES$ac_delim
53497 SETFILE!$SETFILE$ac_delim
53500 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53502 elif $ac_last_try; then
53503 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53504 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53505 { (exit 1); exit 1; }; }
53507 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53511 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53512 if test -n "$ac_eof"; then
53513 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53514 ac_eof
=`expr $ac_eof + 1`
53517 cat >>$CONFIG_STATUS <<_ACEOF
53518 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53522 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53523 s/^/s,@/; s/!/@,|#_!!_#|/
53526 s/'"$ac_delim"'$/,g/; t
53528 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53529 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53530 rm -f conf$
$subs.
sed
53531 cat >>$CONFIG_STATUS <<_ACEOF
53537 for ac_last_try
in false false false false false
:; do
53538 cat >conf$
$subs.
sed <<_ACEOF
53539 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53540 GCC_PCH!$GCC_PCH$ac_delim
53541 ICC_PCH!$ICC_PCH$ac_delim
53542 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53543 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53544 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53545 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53546 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53547 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53548 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53549 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53550 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53551 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53552 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53553 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53554 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53555 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53556 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53557 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53558 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53559 COND_BUILD_release!$COND_BUILD_release$ac_delim
53560 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53561 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53562 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53563 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53564 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53565 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53566 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53567 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53568 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53569 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53570 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53571 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53572 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53573 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53574 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53575 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53576 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53577 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53578 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53579 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53580 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53581 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53582 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53583 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53584 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53585 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53586 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53587 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53589 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53590 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53591 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53592 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53593 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53594 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53595 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53596 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53597 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53598 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53599 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53600 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53601 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53602 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53603 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53604 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53605 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53606 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53607 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53608 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53609 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53610 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53611 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53612 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53613 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53614 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53615 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53616 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
53617 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53618 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
53619 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53620 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
53621 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53622 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53623 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53624 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53625 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53626 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53627 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53628 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53629 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53630 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53631 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53632 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53633 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53634 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53635 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53638 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53640 elif $ac_last_try; then
53641 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53642 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53643 { (exit 1); exit 1; }; }
53645 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53649 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53650 if test -n "$ac_eof"; then
53651 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53652 ac_eof
=`expr $ac_eof + 1`
53655 cat >>$CONFIG_STATUS <<_ACEOF
53656 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53657 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53660 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53661 s/^/s,@/; s/!/@,|#_!!_#|/
53664 s/'"$ac_delim"'$/,g/; t
53666 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53667 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53668 rm -f conf$
$subs.
sed
53669 cat >>$CONFIG_STATUS <<_ACEOF
53675 for ac_last_try
in false false false false false
:; do
53676 cat >conf$
$subs.
sed <<_ACEOF
53677 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53678 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53679 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53680 COND_SHARED_0!$COND_SHARED_0$ac_delim
53681 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53682 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53683 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53684 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53685 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53686 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53687 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53688 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53689 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53690 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53691 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53692 COND_SHARED_1!$COND_SHARED_1$ac_delim
53693 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53694 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53695 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53696 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53697 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53698 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53699 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53700 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53705 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53706 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53707 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53708 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53709 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53710 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53711 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53712 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53713 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53714 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53715 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53716 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53717 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53718 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53719 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53720 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53721 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53722 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53723 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53724 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53725 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53726 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53727 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53728 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53729 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53730 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53731 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53732 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53733 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53734 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53735 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53736 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53737 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53738 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53739 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53740 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53741 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53742 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53743 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53744 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53745 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53746 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53747 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53748 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53749 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53750 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53751 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53752 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53753 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53754 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53755 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53756 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53757 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53758 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53759 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53760 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53761 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53762 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53763 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53764 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53765 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53766 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53767 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53768 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53769 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53770 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53771 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53772 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53773 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53776 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53778 elif $ac_last_try; then
53779 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53780 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53781 { (exit 1); exit 1; }; }
53783 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53787 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53788 if test -n "$ac_eof"; then
53789 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53790 ac_eof
=`expr $ac_eof + 1`
53793 cat >>$CONFIG_STATUS <<_ACEOF
53794 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53798 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53799 s/^/s,@/; s/!/@,|#_!!_#|/
53802 s/'"$ac_delim"'$/,g/; t
53804 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53805 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53806 rm -f conf$
$subs.
sed
53807 cat >>$CONFIG_STATUS <<_ACEOF
53813 for ac_last_try
in false false false false false
:; do
53814 cat >conf$
$subs.
sed <<_ACEOF
53815 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53816 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53817 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53818 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53819 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53820 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53821 DEREZ!$DEREZ$ac_delim
53822 SHARED!$SHARED$ac_delim
53823 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53824 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53825 USE_GUI!$USE_GUI$ac_delim
53826 AFMINSTALL!$AFMINSTALL$ac_delim
53827 WIN32INSTALL!$WIN32INSTALL$ac_delim
53828 TOOLKIT!$TOOLKIT$ac_delim
53829 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53830 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53831 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53832 cross_compiling!$cross_compiling$ac_delim
53833 WIDGET_SET!$WIDGET_SET$ac_delim
53834 WX_RELEASE!$WX_RELEASE$ac_delim
53835 WX_VERSION!$WX_VERSION$ac_delim
53836 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53837 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53838 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53839 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53840 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53841 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53842 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53843 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53844 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53845 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53846 GUIDIST!$GUIDIST$ac_delim
53847 DISTDIR!$DISTDIR$ac_delim
53848 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53849 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53850 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53851 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53852 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53853 RESCOMP!$RESCOMP$ac_delim
53854 RESFLAGS!$RESFLAGS$ac_delim
53855 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53856 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53857 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53858 LIBWXMACRES!$LIBWXMACRES$ac_delim
53859 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53860 MACSETFILE!$MACSETFILE$ac_delim
53862 DLLTOOL!$DLLTOOL$ac_delim
53863 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53864 LIBOBJS!$LIBOBJS$ac_delim
53865 LTLIBOBJS!$LTLIBOBJS$ac_delim
53868 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53870 elif $ac_last_try; then
53871 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53872 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53873 { (exit 1); exit 1; }; }
53875 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53879 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53880 if test -n "$ac_eof"; then
53881 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53882 ac_eof
=`expr $ac_eof + 1`
53885 cat >>$CONFIG_STATUS <<_ACEOF
53886 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53887 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53890 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53891 s/^/s,@/; s/!/@,|#_!!_#|/
53894 s/'"$ac_delim"'$/,g/; t
53896 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53897 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53898 rm -f conf$
$subs.
sed
53899 cat >>$CONFIG_STATUS <<_ACEOF
53906 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53907 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53908 # trailing colons and then remove the whole line if VPATH becomes empty
53909 # (actually we leave an empty line to preserve line numbers).
53910 if test "x$srcdir" = x.
; then
53911 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53912 s/:*\$(srcdir):*/:/
53913 s/:*\${srcdir}:*/:/
53915 s/^\([^=]*=[ ]*\):*/\1/
53921 cat >>$CONFIG_STATUS <<\_ACEOF
53922 fi # test -n "$CONFIG_FILES"
53925 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53928 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53930 case $ac_mode$ac_tag in
53932 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53933 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53934 { (exit 1); exit 1; }; };;
53935 :[FH
]-) ac_tag
=-:-;;
53936 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53953 -) ac_f
="$tmp/stdin";;
53954 *) # Look for the file first in the build tree, then in the source tree
53955 # (if the path is not absolute). The absolute path cannot be DOS-style,
53956 # because $ac_f cannot contain `:'.
53960 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53962 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53963 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53964 { (exit 1); exit 1; }; };;
53966 ac_file_inputs
="$ac_file_inputs $ac_f"
53969 # Let's still pretend it is `configure' which instantiates (i.e., don't
53970 # use $as_me), people would be surprised to read:
53971 # /* config.h. Generated by config.status. */
53972 configure_input
="Generated from "`IFS=:
53973 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53974 if test x
"$ac_file" != x
-; then
53975 configure_input
="$ac_file. $configure_input"
53976 { echo "$as_me:$LINENO: creating $ac_file" >&5
53977 echo "$as_me: creating $ac_file" >&6;}
53981 *:-:* | *:-) cat >"$tmp/stdin";;
53986 ac_dir
=`$as_dirname -- "$ac_file" ||
53987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53988 X"$ac_file" : 'X\(//\)[^/]' \| \
53989 X"$ac_file" : 'X\(//\)$' \| \
53990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53996 /^X\(\/\/\)[^/].*/{
54011 -*) as_dir
=.
/$as_dir;;
54013 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54017 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54018 *) as_qdir
=$as_dir;;
54020 as_dirs
="'$as_qdir' $as_dirs"
54021 as_dir
=`$as_dirname -- "$as_dir" ||
54022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54023 X"$as_dir" : 'X\(//\)[^/]' \| \
54024 X"$as_dir" : 'X\(//\)$' \| \
54025 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54031 /^X\(\/\/\)[^/].*/{
54044 test -d "$as_dir" && break
54046 test -z "$as_dirs" || eval "mkdir $as_dirs"
54047 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54048 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54049 { (exit 1); exit 1; }; }; }
54053 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54055 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54056 # A ".." for each directory in $ac_dir_suffix.
54057 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54058 case $ac_top_builddir_sub in
54059 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54060 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54063 ac_abs_top_builddir
=$ac_pwd
54064 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54065 # for backward compatibility:
54066 ac_top_builddir
=$ac_top_build_prefix
54069 .
) # We are building in place.
54071 ac_top_srcdir
=$ac_top_builddir_sub
54072 ac_abs_top_srcdir
=$ac_pwd ;;
54073 [\\/]* | ?
:[\\/]* ) # Absolute name.
54074 ac_srcdir
=$srcdir$ac_dir_suffix;
54075 ac_top_srcdir
=$srcdir
54076 ac_abs_top_srcdir
=$srcdir ;;
54077 *) # Relative name.
54078 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54079 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54080 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54082 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54092 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54093 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54097 cat >>$CONFIG_STATUS <<\_ACEOF
54098 # If the template does not know about datarootdir, expand it.
54099 # FIXME: This hack should be removed a few years after 2.60.
54100 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54102 case `sed -n '/datarootdir/ {
54111 ' $ac_file_inputs` in
54112 *datarootdir
*) ac_datarootdir_seen
=yes;;
54113 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54114 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54115 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54117 cat >>$CONFIG_STATUS <<_ACEOF
54118 ac_datarootdir_hack='
54119 s&@datadir@&$datadir&g
54120 s&@docdir@&$docdir&g
54121 s&@infodir@&$infodir&g
54122 s&@localedir@&$localedir&g
54123 s&@mandir@&$mandir&g
54124 s&\\\${datarootdir}&$datarootdir&g' ;;
54128 # Neutralize VPATH when `$srcdir' = `.'.
54129 # Shell code in configure.ac might set extrasub.
54130 # FIXME: do we really want to maintain this feature?
54131 cat >>$CONFIG_STATUS <<_ACEOF
54135 cat >>$CONFIG_STATUS <<\_ACEOF
54137 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54138 s
&@configure_input@
&$configure_input&;t t
54139 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54140 s
&@srcdir@
&$ac_srcdir&;t t
54141 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54142 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54143 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54144 s
&@builddir@
&$ac_builddir&;t t
54145 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54146 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54147 s
&@INSTALL@
&$ac_INSTALL&;t t
54148 $ac_datarootdir_hack
54149 " $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
54151 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54152 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54153 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54154 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54155 which seems to be undefined. Please make sure it is defined." >&5
54156 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54157 which seems to be undefined. Please make sure it is defined." >&2;}
54161 -) cat "$tmp/out"; rm -f "$tmp/out";;
54162 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54171 # Transform confdefs.h into a sed script `conftest.defines', that
54172 # substitutes the proper values into config.h.in to produce config.h.
54173 rm -f conftest.defines conftest.
tail
54174 # First, append a space to every undef/define line, to ease matching.
54175 echo 's/$/ /' >conftest.defines
54176 # Then, protect against being on the right side of a sed subst, or in
54177 # an unquoted here document, in config.status. If some macros were
54178 # called several times there might be several #defines for the same
54179 # symbol, which is useless. But do not sort them, since the last
54180 # AC_DEFINE must be honored.
54181 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54182 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54183 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54184 # PARAMS is the parameter list in the macro definition--in most cases, it's
54185 # just an empty string.
54186 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54187 ac_dB
='\\)[ (].*,\\1define\\2'
54195 s/^[ ]*#[ ]*define[ ][ ]*//
54200 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54201 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54202 ' >>conftest.defines
54204 # Remove the space that was appended to ease matching.
54205 # Then replace #undef with comments. This is necessary, for
54206 # example, in the case of _POSIX_SOURCE, which is predefined and required
54207 # on some systems where configure will not decide to define it.
54208 # (The regexp can be short, since the line contains either #define or #undef.)
54210 s,^[ #]*u.*,/* & */,' >>conftest.defines
54212 # Break up conftest.defines:
54213 ac_max_sed_lines
=50
54215 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54216 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54217 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54219 ac_in
='$ac_file_inputs'
54220 ac_out
='"$tmp/out1"'
54221 ac_nxt
='"$tmp/out2"'
54225 # Write a here document:
54226 cat >>$CONFIG_STATUS <<_ACEOF
54227 # First, check the format of the line:
54228 cat >"\$tmp/defines.sed" <<\\CEOF
54229 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54230 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54234 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54236 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54237 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54238 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54239 grep . conftest.
tail >/dev
/null
|| break
54240 rm -f conftest.defines
54241 mv conftest.
tail conftest.defines
54243 rm -f conftest.defines conftest.
tail
54245 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54246 cat >>$CONFIG_STATUS <<\_ACEOF
54247 if test x
"$ac_file" != x
-; then
54248 echo "/* $configure_input */" >"$tmp/config.h"
54249 cat "$ac_result" >>"$tmp/config.h"
54250 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54251 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54252 echo "$as_me: $ac_file is unchanged" >&6;}
54255 mv "$tmp/config.h" $ac_file
54258 echo "/* $configure_input */"
54264 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54265 echo "$as_me: executing $ac_file commands" >&6;}
54270 case $ac_file$ac_mode in
54272 mkdir -p $outdir &&
54273 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54275 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54276 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54277 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54278 "wx-config":C
) rm -f wx
-config
54279 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54286 { (exit 0); exit 0; }
54288 chmod +x
$CONFIG_STATUS
54289 ac_clean_files
=$ac_clean_files_save
54292 # configure is writing to config.log, and then calls config.status.
54293 # config.status does its own redirection, appending to config.log.
54294 # Unfortunately, on DOS this fails, as config.log is still kept open
54295 # by configure, so config.status won't be able to write to it; its
54296 # output is simply discarded. So we exec the FD to /dev/null,
54297 # effectively closing config.log, so it can be properly (re)opened and
54298 # appended to by config.status. When coming back to configure, we
54299 # need to make the FD available again.
54300 if test "$no_create" != yes; then
54302 ac_config_status_args
=
54303 test "$silent" = yes &&
54304 ac_config_status_args
="$ac_config_status_args --quiet"
54306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54309 # would make configure fail if this is the last instruction.
54310 $ac_cs_success || { (exit 1); exit 1; }
54314 # CONFIG_SUBDIRS section.
54316 if test "$no_recursion" != yes; then
54318 # Remove --cache-file and --srcdir arguments so they do not pile up.
54319 ac_sub_configure_args
=
54321 eval "set x $ac_configure_args"
54325 if test -n "$ac_prev"; then
54330 -cache-file | --cache-file | --cache-fil | --cache-fi \
54331 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54332 ac_prev
=cache_file
;;
54333 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54334 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54337 --config-cache | -C)
54339 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54341 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54349 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54351 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54355 # Always prepend --prefix to ensure using the same prefix
54356 # in subdir configurations.
54357 ac_arg
="--prefix=$prefix"
54359 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54361 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54364 if test "$silent" = yes; then
54365 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54369 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54371 # Do not complain, so a configure script can configure whichever
54372 # parts of a large source tree are present.
54373 test -d "$srcdir/$ac_dir" || continue
54375 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54376 echo "$as_me:$LINENO: $ac_msg" >&5
54380 -*) as_dir
=.
/$as_dir;;
54382 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54386 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54387 *) as_qdir
=$as_dir;;
54389 as_dirs
="'$as_qdir' $as_dirs"
54390 as_dir
=`$as_dirname -- "$as_dir" ||
54391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54392 X"$as_dir" : 'X\(//\)[^/]' \| \
54393 X"$as_dir" : 'X\(//\)$' \| \
54394 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54400 /^X\(\/\/\)[^/].*/{
54413 test -d "$as_dir" && break
54415 test -z "$as_dirs" || eval "mkdir $as_dirs"
54416 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54417 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54418 { (exit 1); exit 1; }; }; }
54422 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54424 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54425 # A ".." for each directory in $ac_dir_suffix.
54426 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54427 case $ac_top_builddir_sub in
54428 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54429 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54432 ac_abs_top_builddir
=$ac_pwd
54433 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54434 # for backward compatibility:
54435 ac_top_builddir
=$ac_top_build_prefix
54438 .
) # We are building in place.
54440 ac_top_srcdir
=$ac_top_builddir_sub
54441 ac_abs_top_srcdir
=$ac_pwd ;;
54442 [\\/]* | ?
:[\\/]* ) # Absolute name.
54443 ac_srcdir
=$srcdir$ac_dir_suffix;
54444 ac_top_srcdir
=$srcdir
54445 ac_abs_top_srcdir
=$srcdir ;;
54446 *) # Relative name.
54447 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54448 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54449 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54451 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54456 # Check for guested configure; otherwise get Cygnus style configure.
54457 if test -f "$ac_srcdir/configure.gnu"; then
54458 ac_sub_configure
=$ac_srcdir/configure.gnu
54459 elif test -f "$ac_srcdir/configure"; then
54460 ac_sub_configure
=$ac_srcdir/configure
54461 elif test -f "$ac_srcdir/configure.in"; then
54462 # This should be Cygnus configure.
54463 ac_sub_configure
=$ac_aux_dir/configure
54465 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54466 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54470 # The recursion is here.
54471 if test -n "$ac_sub_configure"; then
54472 # Make the cache file name correct relative to the subdirectory.
54473 case $cache_file in
54474 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54475 *) # Relative name.
54476 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54479 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54480 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54481 # The eval makes quoting arguments work.
54482 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54483 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54484 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54485 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54486 { (exit 1); exit 1; }; }
54495 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54497 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54498 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54499 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54500 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54501 if test "$wxUSE_UNICODE" = "yes"; then
54502 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54503 echo " (using UTF-8)"
54505 echo " (using wchar_t)"
54511 echo " What level of wxWidgets compatibility should be enabled?"
54512 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54513 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54515 echo " Which libraries should wxWidgets use?"
54516 echo " STL ${wxUSE_STL}"
54517 echo " jpeg ${wxUSE_LIBJPEG-none}"
54518 echo " png ${wxUSE_LIBPNG-none}"
54519 echo " regex ${wxUSE_REGEX}"
54520 echo " tiff ${wxUSE_LIBTIFF-none}"
54521 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54522 echo " xpm ${wxUSE_LIBXPM-none}"
54524 echo " zlib ${wxUSE_ZLIB}"
54525 echo " expat ${wxUSE_EXPAT}"
54526 echo " libmspack ${wxUSE_LIBMSPACK}"
54527 echo " sdl ${wxUSE_LIBSDL}"