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.3.
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.3'
579 PACKAGE_STRING
='wxWidgets 2.9.3'
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.3 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.3:";;
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 standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1711 --enable-macosx_arch=ARCH build
for just the specified architecture
1712 --enable-compat26 enable wxWidgets
2.6 compatibility
1713 --disable-compat28 disable wxWidgets
2.8 compatibility
1714 --disable-rpath disable use of rpath
for uninstalled builds
1715 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even
if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x
-locale support
(requires wxLocale
)
1720 --enable-config use wxConfig
(and derived
) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP
(requires wxProtocol
1723 --enable-http use wxHTTP
(requires wxProtocol
1724 --enable-fileproto use wxFileProto class
(requires wxProtocol
1725 --enable-sockets use socket
/network classes
1726 --enable-ipv6 enable IPv6 support
in wxSocket
1727 --enable-ole use OLE classes
(Win32 only
)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication
(wxSocket etc.
)
1730 --enable-baseevtloop use event loop
in console programs too
1731 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding
/decoding functions
1737 --enable-backtrace use wxStackWalker class
for getting backtraces
1738 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class
for DLL loading
1744 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1745 --enable-exceptions build exception
-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual
file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP
/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support
in wxProtocol
1776 --enable-protocol-ftp FTP support
in wxProtocol
1777 --enable-protocol-file FILE support
in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig
(Win32 only
)
1780 --enable-regkey use wxRegKey class
(Win32 only
)
1781 --enable-docview use document view architecture
1782 --enable-help use
help subsystem
1783 --enable-mshtmlhelp use MS HTML Help
(win32
)
1784 --enable-html use wxHTML sub
-library
1785 --enable-htmlhelp use wxHTML
-based help
1786 --enable-xrc use XRC resources sub
-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout
-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl
(Mac
)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context
2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag
'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl
::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-bannerwindow use wxBannerWindow class
1813 --enable-artstd use standard XPM icons
in wxArtProvider
1814 --enable-arttango use Tango icons
in wxArtProvider
1815 --enable-bmpbutton use wxBitmapButton class
1816 --enable-bmpcombobox use wxBitmapComboBox class
1817 --enable-button use wxButton class
1818 --enable-calendar use wxCalendarCtrl class
1819 --enable-caret use wxCaret class
1820 --enable-checkbox use wxCheckBox class
1821 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1822 --enable-choice use wxChoice class
1823 --enable-choicebook use wxChoicebook class
1824 --enable-collpane use wxCollapsiblePane class
1825 --enable-colourpicker use wxColourPickerCtrl class
1826 --enable-combobox use wxComboBox class
1827 --enable-comboctrl use wxComboCtrl class
1828 --enable-commandlinkbutton use wxCommmandLinkButton class
1829 --enable-dataviewctrl use wxDataViewCtrl class
1830 --enable-datepick use wxDatePickerCtrl class
1831 --enable-detect_sm use code to detect X11 session manager
1832 --enable-dirpicker use wxDirPickerCtrl class
1833 --enable-display use wxDisplay class
1834 --enable-editablebox use wxEditableListBox class
1835 --enable-filectrl use wxFileCtrl class
1836 --enable-filepicker use wxFilePickerCtrl class
1837 --enable-fontpicker use wxFontPickerCtrl class
1838 --enable-gauge use wxGauge class
1839 --enable-grid use wxGrid class
1840 --enable-headerctrl use wxHeaderCtrl class
1841 --enable-hyperlink use wxHyperlinkCtrl class
1842 --enable-imaglist use wxImageList class
1843 --enable-infobar use wxInfoBar class
1844 --enable-listbook use wxListbook class
1845 --enable-listbox use wxListBox class
1846 --enable-listctrl use wxListCtrl class
1847 --enable-notebook use wxNotebook class
1848 --enable-notifmsg use wxNotificationMessage class
1849 --enable-odcombobox use wxOwnerDrawnComboBox class
1850 --enable-popupwin use wxPopUpWindow class
1851 --enable-radiobox use wxRadioBox class
1852 --enable-radiobtn use wxRadioButton class
1853 --enable-richmsgdlg use wxRichMessageDialog class
1854 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1855 --enable-sash use wxSashWindow class
1856 --enable-scrollbar use wxScrollBar class and scrollable windows
1857 --enable-searchctrl use wxSearchCtrl class
1858 --enable-slider use wxSlider class
1859 --enable-spinbtn use wxSpinButton class
1860 --enable-spinctrl use wxSpinCtrl class
1861 --enable-splitter use wxSplitterWindow class
1862 --enable-statbmp use wxStaticBitmap class
1863 --enable-statbox use wxStaticBox class
1864 --enable-statline use wxStaticLine class
1865 --enable-stattext use wxStaticText class
1866 --enable-statusbar use wxStatusBar class
1867 --enable-taskbaricon use wxTaskBarIcon class
1868 --enable-tbarnative use native wxToolBar class
1869 --enable-textctrl use wxTextCtrl class
1870 --enable-tipwindow use wxTipWindow class
1871 --enable-togglebtn use wxToggleButton class
1872 --enable-toolbar use wxToolBar class
1873 --enable-toolbook use wxToolbook class
1874 --enable-treebook use wxTreebook class
1875 --enable-treectrl use wxTreeCtrl class
1876 --enable-treelist use wxTreeListCtrl class
1877 --enable-commondlg use all common dialogs
1878 --enable-aboutdlg use wxAboutBox
1879 --enable-choicedlg use wxChoiceDialog
1880 --enable-coldlg use wxColourDialog
1881 --enable-filedlg use wxFileDialog
1882 --enable-finddlg use wxFindReplaceDialog
1883 --enable-fontdlg use wxFontDialog
1884 --enable-dirdlg use wxDirDialog
1885 --enable-msgdlg use wxMessageDialog
1886 --enable-numberdlg use wxNumberEntryDialog
1887 --enable-splash use wxSplashScreen
1888 --enable-textdlg use wxTextDialog
1889 --enable-tipdlg use startup tips
1890 --enable-progressdlg use wxProgressDialog
1891 --enable-wizarddlg use wxWizard
1892 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1893 --enable-miniframe use wxMiniFrame class
1894 --enable-tooltips use wxToolTip class
1895 --enable-splines use spline drawing code
1896 --enable-mousewheel use mousewheel
1897 --enable-validators use wxValidator and derived classes
1898 --enable-busyinfo use wxBusyInfo
1899 --enable-joystick use wxJoystick
1900 --enable-metafiles use wxMetaFile
(Win32 only
)
1901 --enable-dragimage use wxDragImage
1902 --enable-accessibility enable accessibility support
1903 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1904 --enable-dctransform use wxDC
::SetTransformMatrix and related
1905 --enable-palette use wxPalette class
1906 --enable-image use wxImage class
1907 --enable-gif use gif images
(GIF
file format
)
1908 --enable-pcx use pcx images
(PCX
file format
)
1909 --enable-tga use tga images
(TGA
file format
)
1910 --enable-iff use iff images
(IFF
file format
)
1911 --enable-pnm use pnm images
(PNM
file format
)
1912 --enable-xpm use xpm images
(XPM
file format
)
1913 --enable-ico_cur use Windows ICO and CUR formats
1914 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1915 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1916 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1917 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1918 --enable-wxdib use wxDIB class
(Win32 only
)
1919 --enable-autoidman use automatic ids management
1920 --disable-largefile omit support
for large files
1921 --disable-gtktest do not try to compile and run a
test GTK
+ program
1922 --disable-gtktest Do not try to compile and run a
test GTK program
1923 --disable-sdltest Do not try to compile and run a
test SDL program
1924 --enable-omf use OMF object format
(OS
/2)
1925 --disable-dependency-tracking
1926 don
't use dependency tracking even if the compiler
1928 --disable-precomp-headers
1929 don't use precompiled headers even
if compiler can
1932 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1933 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1934 --without-subdirs don
't generate makefiles for samples/demos/...
1935 --with-flavour=NAME specify a name to identify this build
1936 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1937 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1938 --with-motif use Motif/Lesstif
1939 --with-osx_carbon use Mac OS X (Carbon)
1940 --with-osx_cocoa use Mac OS X (Cocoa)
1941 --with-osx_iphone use iPhone OS X port
1942 --with-osx use Mac OS X (default port, currently Carbon)
1943 --with-carbon same as --with-osx_carbon
1944 --with-cocoa same as --with-osx_cocoa
1945 --with-iphone same as --with-osx_iphone
1946 --with-mac same as --with-osx
1947 --with-old_cocoa use old, deprecated, Cocoa port
1948 --with-wine use Wine
1949 --with-msw use MS-Windows
1950 --with-pm use OS/2 Presentation Manager
1951 --with-mgl use SciTech MGL
1952 --with-directfb use DirectFB
1953 --with-microwin use MicroWindows
1955 --with-libpng use libpng (PNG image format)
1956 --with-libjpeg use libjpeg (JPEG file format)
1957 --with-libtiff use libtiff (TIFF file format)
1958 --with-libxpm use libxpm (XPM file format)
1959 --with-libiconv use libiconv (character conversion)
1960 --with-libmspack use libmspack (CHM help files loading)
1961 --without-gtkprint don't use GTK printing support
1962 --without-gnomeprint don
't use GNOME printing libraries
1963 --with-gnomevfs use GNOME VFS for associating MIME types
1964 --with-hildon use Hildon framework for Nokia 770/800/810
1965 --with-opengl use OpenGL (or Mesa)
1966 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1967 --with-sdl use SDL for audio on Unix
1968 --with-regex enable support for wxRegEx class
1969 --with-zlib use zlib for LZW compression
1970 --with-expat enable XML support using expat parser
1971 --with-macosx-sdk=PATH use an OS X SDK at PATH
1972 --with-macosx-version-min=VER build binaries which require at least this OS X version
1973 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1974 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1975 --with-x use the X Window System
1976 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1977 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1978 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1979 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1980 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1982 Some influential environment variables:
1983 CC C compiler command
1984 CFLAGS C compiler flags
1985 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1986 nonstandard directory <lib dir>
1987 LIBS libraries to pass to the linker, e.g. -l<library>
1988 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1989 you have headers in a nonstandard directory <include dir>
1991 CXX C++ compiler command
1992 CXXFLAGS C++ compiler flags
1993 CXXCPP C++ preprocessor
1994 PKG_CONFIG path to pkg-config utility
1996 C compiler flags for DIRECTFB, overriding pkg-config
1998 linker flags for DIRECTFB, overriding pkg-config
1999 XMKMF Path to xmkmf, Makefile generator for X Window System
2001 C compiler flags for PANGOX, overriding pkg-config
2002 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2004 C compiler flags for PANGOFT2, overriding pkg-config
2006 linker flags for PANGOFT2, overriding pkg-config
2008 C compiler flags for PANGOXFT, overriding pkg-config
2010 linker flags for PANGOXFT, overriding pkg-config
2012 C compiler flags for GTKPRINT, overriding pkg-config
2014 linker flags for GTKPRINT, overriding pkg-config
2015 LIBGNOMEPRINTUI_CFLAGS
2016 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 LIBGNOMEPRINTUI_LIBS
2018 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2020 C compiler flags for GNOMEVFS, overriding pkg-config
2022 linker flags for GNOMEVFS, overriding pkg-config
2024 C compiler flags for HILDON, overriding pkg-config
2025 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2027 C compiler flags for HILDON2, overriding pkg-config
2029 linker flags for HILDON2, overriding pkg-config
2031 C compiler flags for CAIRO, overriding pkg-config
2032 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2033 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2034 GST_LIBS linker flags for GST, overriding pkg-config
2036 Use these variables to override the choices made by `configure' or to
help
2037 it to
find libraries and programs with nonstandard names
/locations.
2039 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2044 if test "$ac_init_help" = "recursive"; then
2045 # If there are subdirs, report their specific --help.
2046 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2047 test -d "$ac_dir" || continue
2051 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2053 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2054 # A ".." for each directory in $ac_dir_suffix.
2055 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2056 case $ac_top_builddir_sub in
2057 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2058 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2061 ac_abs_top_builddir
=$ac_pwd
2062 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2063 # for backward compatibility:
2064 ac_top_builddir
=$ac_top_build_prefix
2067 .
) # We are building in place.
2069 ac_top_srcdir
=$ac_top_builddir_sub
2070 ac_abs_top_srcdir
=$ac_pwd ;;
2071 [\\/]* | ?
:[\\/]* ) # Absolute name.
2072 ac_srcdir
=$srcdir$ac_dir_suffix;
2073 ac_top_srcdir
=$srcdir
2074 ac_abs_top_srcdir
=$srcdir ;;
2076 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2077 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2078 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2080 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2082 cd "$ac_dir" || { ac_status
=$?
; continue; }
2083 # Check for guested configure.
2084 if test -f "$ac_srcdir/configure.gnu"; then
2086 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2087 elif test -f "$ac_srcdir/configure"; then
2089 $SHELL "$ac_srcdir/configure" --help=recursive
2091 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2093 cd "$ac_pwd" || { ac_status
=$?
; break; }
2097 test -n "$ac_init_help" && exit $ac_status
2098 if $ac_init_version; then
2100 wxWidgets configure
2.9.3
2101 generated by GNU Autoconf
2.61
2103 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2104 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2105 This configure
script is free software
; the Free Software Foundation
2106 gives unlimited permission to copy
, distribute and modify it.
2110 cat >config.log
<<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2114 It was created by wxWidgets $as_me 2.9.3, which was
2115 generated by GNU Autoconf 2.61. Invocation command line was
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir
=.
2151 echo "PATH: $as_dir"
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2175 ac_must_keep_next
=false
2181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2186 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2191 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2192 if test $ac_must_keep_next = true
; then
2193 ac_must_keep_next
=false
# Got value, back to normal.
2196 *=* | --config-cache | -C | -disable-* | --disable-* \
2197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2199 | -with-* | --with-* | -without-* | --without-* | --x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204 -* ) ac_must_keep_next
=true
;;
2207 ac_configure_args
="$ac_configure_args '$ac_arg'"
2212 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2213 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2226 ## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##
2231 # The following way of writing the cache mishandles newlines in values,
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2242 _ | IFS | as_nl) ;; #(
2243 *) $as_unset $ac_var ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263 ## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##
2268 for ac_var in $ac_subst_vars
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 echo "$ac_var='\''$ac_val'\''"
2278 if test -n "$ac_subst_files"; then
2280 ## ------------------- ##
2281 ## File substitutions. ##
2282 ## ------------------- ##
2285 for ac_var
in $ac_subst_files
2287 eval ac_val
=\$
$ac_var
2289 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 echo "$ac_var='\''$ac_val'\''"
2296 if test -s confdefs.h; then
2306 test "$ac_signal" != 0 &&
2307 echo "$as_me: caught signal $ac_signal"
2308 echo "$as_me: exit $exit_status"
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2314 for ac_signal
in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest
* confdefs.h
2322 # Predefined preprocessor variables.
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer explicitly selected file to automatically selected ones.
2351 if test -n "$CONFIG_SITE"; then
2352 set x
"$CONFIG_SITE"
2353 elif test "x$prefix" != xNONE
; then
2354 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2356 set x
"$ac_default_prefix/share/config.site" \
2357 "$ac_default_prefix/etc/config.site"
2362 if test -r "$ac_site_file"; then
2363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2364 echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special
2372 # files actually), so we avoid doing that.
2373 if test -f "$cache_file"; then
2374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2375 echo "$as_me: loading cache $cache_file" >&6;}
2377 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2378 *) .
"./$cache_file";;
2382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2383 echo "$as_me: creating cache $cache_file" >&6;}
2387 # Check that the precious variables saved in the cache have kept the same
2389 ac_cache_corrupted
=false
2390 for ac_var
in $ac_precious_vars; do
2391 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2392 eval ac_new_set
=\
$ac_env_${ac_var}_set
2393 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2394 eval ac_new_val
=\
$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2397 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted
=: ;;
2401 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted
=: ;;
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2408 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2410 echo "$as_me: former value: $ac_old_val" >&2;}
2411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2412 echo "$as_me: current value: $ac_new_val" >&2;}
2413 ac_cache_corrupted
=:
2416 # Pass precious variables to config.status.
2417 if test "$ac_new_set" = set; then
2419 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 *) ac_arg
=$ac_var=$ac_new_val ;;
2422 case " $ac_configure_args " in
2423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2424 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2428 if $ac_cache_corrupted; then
2429 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2430 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2432 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2433 { (exit 1); exit 1; }; }
2461 ac_cpp
='$CPP $CPPFLAGS'
2462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2471 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2472 if test -f "$ac_dir/install-sh"; then
2474 ac_install_sh
="$ac_aux_dir/install-sh -c"
2476 elif test -f "$ac_dir/install.sh"; then
2478 ac_install_sh
="$ac_aux_dir/install.sh -c"
2480 elif test -f "$ac_dir/shtool"; then
2482 ac_install_sh
="$ac_aux_dir/shtool install -c"
2486 if test -z "$ac_aux_dir"; then
2487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2488 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2489 { (exit 1); exit 1; }; }
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2503 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505 { (exit 1); exit 1; }; }
2507 { echo "$as_me:$LINENO: checking build system type" >&5
2508 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_build+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 ac_build_alias
=$build_alias
2513 test "x$ac_build_alias" = x
&&
2514 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x
&&
2516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518 { (exit 1); exit 1; }; }
2519 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526 echo "${ECHO_T}$ac_cv_build" >&6; }
2527 case $ac_cv_build in
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530 echo "$as_me: error: invalid value of canonical build" >&2;}
2531 { (exit 1); exit 1; }; };;
2534 ac_save_IFS
=$IFS; IFS
='-'
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2544 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2547 { echo "$as_me:$LINENO: checking host system type" >&5
2548 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2549 if test "${ac_cv_host+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test "x$host_alias" = x
; then
2553 ac_cv_host
=$ac_cv_build
2555 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558 { (exit 1); exit 1; }; }
2562 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563 echo "${ECHO_T}$ac_cv_host" >&6; }
2566 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567 echo "$as_me: error: invalid value of canonical host" >&2;}
2568 { (exit 1); exit 1; }; };;
2571 ac_save_IFS
=$IFS; IFS
='-'
2577 # Remember, the first character of IFS is used to create $*,
2578 # except with old shells:
2581 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2585 if test "$cross_compiling" != "no"; then
2586 HOST_PREFIX
="${host_alias}-"
2587 HOST_SUFFIX
="-$host_alias"
2594 wx_major_version_number
=2
2595 wx_minor_version_number
=9
2597 wx_subrelease_number
=0
2599 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2600 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2601 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2603 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2606 wx_top_builddir
="`pwd`"
2619 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2625 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2633 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2635 DEFAULT_wxUSE_OLD_COCOA
=0
2637 DEFAULT_wxUSE_OSX_CARBON
=0
2638 DEFAULT_wxUSE_OSX_COCOA
=0
2639 DEFAULT_wxUSE_OSX_IPHONE
=0
2641 DEFAULT_wxUSE_MICROWIN
=0
2642 DEFAULT_wxUSE_MOTIF
=0
2648 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2649 DEFAULT_DEFAULT_wxUSE_GTK
=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2653 DEFAULT_DEFAULT_wxUSE_MGL
=0
2654 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2655 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2656 DEFAULT_DEFAULT_wxUSE_MSW
=0
2657 DEFAULT_DEFAULT_wxUSE_PM
=0
2658 DEFAULT_DEFAULT_wxUSE_X11
=0
2659 DEFAULT_DEFAULT_wxUSE_DFB
=0
2663 DYLIB_RPATH_INSTALL
=
2664 DYLIB_RPATH_POSTLINK
=
2666 DEFAULT_STD_FLAG
=yes
2671 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2672 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2673 cat >>confdefs.h
<<\_ACEOF
2678 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2682 cat >>confdefs.h
<<\_ACEOF
2687 if test "x$TMP" = "xalpha"; then
2689 cat >>confdefs.h
<<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK
=1
2696 *-*-gnu* | *-*-k*bsd
*-gnu )
2699 if test "x$TMP" = "xalpha"; then
2701 cat >>confdefs.h
<<\_ACEOF
2706 DEFAULT_DEFAULT_wxUSE_GTK
=1
2708 *-*-irix5* | *-*-irix6* )
2711 cat >>confdefs.h
<<\_ACEOF
2715 cat >>confdefs.h
<<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2723 cat >>confdefs.h
<<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_X11
=1
2733 cat >>confdefs.h
<<\_ACEOF
2737 cat >>confdefs.h
<<\_ACEOF
2738 #define __SOLARIS__ 1
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2752 cat >>confdefs.h
<<\_ACEOF
2756 cat >>confdefs.h
<<\_ACEOF
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2769 cat >>confdefs.h
<<\_ACEOF
2770 #define __FREEBSD__ 1
2773 cat >>confdefs.h
<<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_GTK
=1
2779 *-*-openbsd*|*-*-mirbsd*)
2782 cat >>confdefs.h
<<\_ACEOF
2783 #define __OPENBSD__ 1
2786 cat >>confdefs.h
<<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_GTK
=1
2795 cat >>confdefs.h
<<\_ACEOF
2796 #define __NETBSD__ 1
2799 cat >>confdefs.h
<<\_ACEOF
2803 DEFAULT_DEFAULT_wxUSE_GTK
=1
2804 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2806 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2811 cat >>confdefs.h
<<\_ACEOF
2815 cat >>confdefs.h
<<\_ACEOF
2819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2825 cat >>confdefs.h
<<\_ACEOF
2829 cat >>confdefs.h
<<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2838 cat >>confdefs.h
<<\_ACEOF
2842 cat >>confdefs.h
<<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2856 cat >>confdefs.h
<<\_ACEOF
2860 cat >>confdefs.h
<<\_ACEOF
2864 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2871 cat >>confdefs.h
<<\_ACEOF
2872 #define __UNIXWARE__ 1
2877 *-*-cygwin* | *-*-mingw32* )
2879 DEFAULT_DEFAULT_wxUSE_MSW
=1
2885 cat >>confdefs.h
<<\_ACEOF
2890 DEFAULT_DEFAULT_wxUSE_MGL
=1
2893 *-pc-os2_emx | *-pc-os2-emx )
2894 cat >>confdefs.h
<<\_ACEOF
2899 cat >>confdefs.h
<<\_ACEOF
2904 DEFAULT_DEFAULT_wxUSE_PM
=1
2906 LDFLAGS
="$LDFLAGS -Zcrtdll"
2907 ac_executable_extensions
=".exe"
2908 export ac_executable_extensions
2912 for ac_dir
in $PATH; do
2914 if test -z "$ac_TEMP_PATH"; then
2915 ac_TEMP_PATH
="$ac_dir"
2917 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2920 export PATH
="$ac_TEMP_PATH"
2928 cat >>confdefs.h
<<\_ACEOF
2932 cat >>confdefs.h
<<\_ACEOF
2933 #define __DARWIN__ 1
2936 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2942 cat >>confdefs.h
<<\_ACEOF
2946 cat >>confdefs.h
<<\_ACEOF
2947 #define __DARWIN__ 1
2950 cat >>confdefs.h
<<\_ACEOF
2951 #define TARGET_CARBON 1
2954 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2959 cat >>confdefs.h
<<\_ACEOF
2966 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2967 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2968 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2969 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2971 DEFAULT_DEFAULT_wxUSE_X11
=1
2972 DEFAULT_wxUSE_SHARED
=no
2977 DEFAULT_wxUSE_ALL_FEATURES
=yes
2979 DEFAULT_wxUSE_STD_CONTAINERS
=no
2980 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2983 DEFAULT_wxUSE_DMALLOC
=no
2984 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2985 DEFAULT_wxUSE_LIBHILDON
=no
2986 DEFAULT_wxUSE_LIBHILDON2
=no
2987 DEFAULT_wxUSE_LIBMSPACK
=no
2988 DEFAULT_wxUSE_LIBSDL
=no
2990 DEFAULT_wxUSE_ACCESSIBILITY
=no
2991 DEFAULT_wxUSE_IPV6
=no
2992 DEFAULT_wxUSE_GSTREAMER8
=no
2994 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
2995 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2996 DEFAULT_wxUSE_OPENGL
=auto
2997 DEFAULT_wxUSE_MEDIACTRL
=auto
2998 DEFAULT_wxUSE_COMPILER_TLS
=auto
3000 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3002 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3003 DEFAULT_wxUSE_MAC_ARCH
=no
3005 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3007 DEFAULT_wxUSE_GTK2
=yes
3009 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3015 enablestring
=disable
3017 if test -z "$defaultval"; then
3018 if test x
"$enablestring" = xdisable
; then
3025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3026 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3027 # Check whether --enable-gui was given.
3028 if test "${enable_gui+set}" = set; then
3029 enableval
=$enable_gui;
3030 if test "$enableval" = yes; then
3031 wx_cv_use_gui
='wxUSE_GUI=yes'
3033 wx_cv_use_gui
='wxUSE_GUI=no'
3038 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3043 eval "$wx_cv_use_gui"
3045 if test x"$enablestring" = xdisable; then
3046 if test $wxUSE_GUI = no; then
3055 { echo "$as_me:$LINENO: result: $result" >&5
3056 echo "${ECHO_T}$result" >&6; }
3061 if test -z "$defaultval"; then
3062 if test x"$enablestring" = xdisable; then
3069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3070 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3071 # Check whether --enable-monolithic was given.
3072 if test "${enable_monolithic+set}" = set; then
3073 enableval=$enable_monolithic;
3074 if test "$enableval" = yes; then
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3077 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3082 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3087 eval "$wx_cv_use_monolithic"
3089 if test x"$enablestring" = xdisable; then
3090 if test $wxUSE_MONOLITHIC = no; then
3096 result=$wxUSE_MONOLITHIC
3099 { echo "$as_me:$LINENO: result
: $result" >&5
3100 echo "${ECHO_T}$result" >&6; }
3105 if test -z "$defaultval"; then
3106 if test x"$enablestring" = xdisable; then
3113 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3114 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3115 # Check whether --enable-plugins was given.
3116 if test "${enable_plugins+set}" = set; then
3117 enableval=$enable_plugins;
3118 if test "$enableval" = yes; then
3119 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3121 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3126 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3131 eval "$wx_cv_use_plugins"
3133 if test x
"$enablestring" = xdisable
; then
3134 if test $wxUSE_PLUGINS = no
; then
3140 result
=$wxUSE_PLUGINS
3143 { echo "$as_me:$LINENO: result: $result" >&5
3144 echo "${ECHO_T}$result" >&6; }
3148 defaultval
=$wxUSE_ALL_FEATURES
3149 if test -z "$defaultval"; then
3150 if test x
"$withstring" = xwithout
; then
3156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3157 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3159 # Check whether --with-subdirs was given.
3160 if test "${with_subdirs+set}" = set; then
3161 withval
=$with_subdirs;
3162 if test "$withval" = yes; then
3163 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3165 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3170 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3175 eval "$wx_cv_use_subdirs"
3177 if test x"$withstring" = xwithout; then
3178 if test $wxWITH_SUBDIRS = yes; then
3184 result=$wxWITH_SUBDIRS
3187 { echo "$as_me:$LINENO: result: $result" >&5
3188 echo "${ECHO_T}$result" >&6; }
3191 # Check whether --with-flavour was given.
3192 if test "${with_flavour+set}" = set; then
3193 withval=$with_flavour; WX_FLAVOUR="$withval"
3199 if test -z "$defaultval"; then
3200 if test x"$enablestring" = xdisable; then
3207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3208 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3209 # Check whether --enable-official_build was given.
3210 if test "${enable_official_build+set}" = set; then
3211 enableval=$enable_official_build;
3212 if test "$enableval" = yes; then
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3220 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3225 eval "$wx_cv_use_official_build"
3227 if test x"$enablestring" = xdisable; then
3228 if test $wxUSE_OFFICIAL_BUILD = no; then
3234 result=$wxUSE_OFFICIAL_BUILD
3237 { echo "$as_me:$LINENO: result
: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3240 # Check whether --enable-vendor was given.
3241 if test "${enable_vendor+set}" = set; then
3242 enableval=$enable_vendor; VENDOR="$enableval"
3245 if test "x
$VENDOR" = "x
"; then
3250 enablestring=disable
3252 if test -z "$defaultval"; then
3253 if test x"$enablestring" = xdisable; then
3260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3261 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3262 # Check whether --enable-all-features was given.
3263 if test "${enable_all_features+set}" = set; then
3264 enableval=$enable_all_features;
3265 if test "$enableval" = yes; then
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3278 eval "$wx_cv_use_all_features"
3280 if test x
"$enablestring" = xdisable
; then
3281 if test $wxUSE_ALL_FEATURES = no
; then
3287 result
=$wxUSE_ALL_FEATURES
3290 { echo "$as_me:$LINENO: result: $result" >&5
3291 echo "${ECHO_T}$result" >&6; }
3294 if test "$wxUSE_ALL_FEATURES" = "no"; then
3295 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3296 DEFAULT_wxUSE_MEDIACTRL
=no
3300 if test "$wxUSE_GUI" = "yes"; then
3305 if test -z "$defaultval"; then
3306 if test x
"$enablestring" = xdisable
; then
3313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3314 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3315 # Check whether --enable-universal was given.
3316 if test "${enable_universal+set}" = set; then
3317 enableval
=$enable_universal;
3318 if test "$enableval" = yes; then
3319 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3321 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3326 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3331 eval "$wx_cv_use_universal"
3333 if test x"$enablestring" = xdisable; then
3334 if test $wxUSE_UNIVERSAL = no; then
3340 result=$wxUSE_UNIVERSAL
3343 { echo "$as_me:$LINENO: result: $result" >&5
3344 echo "${ECHO_T}$result" >&6; }
3346 if test "$wxUSE_UNIVERSAL" = "yes"; then
3348 # Check whether --with-themes was given.
3349 if test "${with_themes+set}" = set; then
3350 withval=$with_themes; wxUNIV_THEMES="$withval"
3356 # Check whether --with-gtk was given.
3357 if test "${with_gtk+set}" = set; then
3358 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-motif was given.
3363 if test "${with_motif+set}" = set; then
3364 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-osx_carbon was given.
3369 if test "${with_osx_carbon+set}" = set; then
3370 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-osx_cocoa was given.
3375 if test "${with_osx_cocoa+set}" = set; then
3376 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-osx_iphone was given.
3381 if test "${with_osx_iphone+set}" = set; then
3382 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-osx was given.
3387 if test "${with_osx+set}" = set; then
3388 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-carbon was given.
3393 if test "${with_carbon+set}" = set; then
3394 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-cocoa was given.
3399 if test "${with_cocoa+set}" = set; then
3400 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-iphone was given.
3405 if test "${with_iphone+set}" = set; then
3406 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-mac was given.
3411 if test "${with_mac+set}" = set; then
3412 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-old_cocoa was given.
3417 if test "${with_old_cocoa+set}" = set; then
3418 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3422 # Check whether --with-wine was given.
3423 if test "${with_wine+set}" = set; then
3424 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3428 # Check whether --with-msw was given.
3429 if test "${with_msw+set}" = set; then
3430 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-pm was given.
3435 if test "${with_pm+set}" = set; then
3436 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3440 # Check whether --with-mgl was given.
3441 if test "${with_mgl+set}" = set; then
3442 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3446 # Check whether --with-directfb was given.
3447 if test "${with_directfb+set}" = set; then
3448 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3452 # Check whether --with-microwin was given.
3453 if test "${with_microwin+set}" = set; then
3454 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3458 # Check whether --with-x11 was given.
3459 if test "${with_x11+set}" = set; then
3460 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3466 if test -z "$defaultval"; then
3467 if test x"$enablestring" = xdisable; then
3474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3475 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3476 # Check whether --enable-nanox was given.
3477 if test "${enable_nanox+set}" = set; then
3478 enableval=$enable_nanox;
3479 if test "$enableval" = yes; then
3480 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3482 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3487 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3492 eval "$wx_cv_use_nanox"
3494 if test x"$enablestring" = xdisable; then
3495 if test $wxUSE_NANOX = no; then
3504 { echo "$as_me:$LINENO: result
: $result" >&5
3505 echo "${ECHO_T}$result" >&6; }
3508 # Check whether --enable-gtk2 was given.
3509 if test "${enable_gtk2+set}" = set; then
3510 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3516 if test -z "$defaultval"; then
3517 if test x"$enablestring" = xdisable; then
3524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3525 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3526 # Check whether --enable-gpe was given.
3527 if test "${enable_gpe+set}" = set; then
3528 enableval=$enable_gpe;
3529 if test "$enableval" = yes; then
3530 wx_cv_use_gpe='wxUSE_GPE=yes'
3532 wx_cv_use_gpe='wxUSE_GPE=no'
3537 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3542 eval "$wx_cv_use_gpe"
3544 if test x
"$enablestring" = xdisable
; then
3545 if test $wxUSE_GPE = no
; then
3554 { echo "$as_me:$LINENO: result: $result" >&5
3555 echo "${ECHO_T}$result" >&6; }
3559 { echo "$as_me:$LINENO: checking for toolkit" >&5
3560 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3564 # In Wine, we need to default to MSW, not GTK or MOTIF
3565 if test "$wxUSE_WINE" = "yes"; then
3566 DEFAULT_DEFAULT_wxUSE_GTK
=0
3567 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3568 DEFAULT_DEFAULT_wxUSE_MSW
=1
3575 if test "$wxUSE_GUI" = "yes"; then
3577 if test "$USE_BEOS" = 1; then
3578 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3579 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3580 { (exit 1); exit 1; }; }
3583 if test "$TOOLKIT_GIVEN" = 1; then
3584 for toolkit
in $ALL_TOOLKITS; do
3586 eval "value=\$${var}"
3587 if test "x$value" = "xno"; then
3589 elif test "x$value" != "x"; then
3593 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3594 eval "wx${toolkit}_VERSION=$value"
3598 for toolkit
in $ALL_TOOLKITS; do
3599 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3600 eval "wxUSE_$toolkit=\$${var}"
3604 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3605 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3606 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3609 *-pc-os2_emx | *-pc-os2-emx )
3610 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3613 case "$NUM_TOOLKITS" in
3617 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3618 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3619 { (exit 1); exit 1; }; }
3622 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3623 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3624 { (exit 1); exit 1; }; }
3627 # to be removed when --disable-gtk2 isn't needed
3628 if test "x$wxUSE_GTK2" = "xyes"; then
3631 elif test "x$wxUSE_GTK2" = "xno"; then
3636 for toolkit
in $ALL_TOOLKITS; do
3638 eval "value=\$${var}"
3639 if test "$value" = 1; then
3640 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3641 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3642 echo "${ECHO_T}$toolkit_echo" >&6; }
3646 if test "x$host_alias" != "x"; then
3647 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3648 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3650 { echo "$as_me:$LINENO: result: base only" >&5
3651 echo "${ECHO_T}base only" >&6; }
3656 if test "$wxUSE_OSX_CARBON" = 1 \
3657 -o "$wxUSE_OSX_COCOA" = 1 \
3658 -o "$wxUSE_OSX_IPHONE" = 1; then
3664 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3665 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3667 # Check whether --with-libpng was given.
3668 if test "${with_libpng+set}" = set; then
3669 withval
=$with_libpng;
3670 if test "$withval" = yes; then
3671 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3672 elif test "$withval" = no
; then
3673 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3674 elif test "$withval" = sys
; then
3675 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3676 elif test "$withval" = builtin; then
3677 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3679 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3680 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3681 { (exit 1); exit 1; }; }
3686 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3691 eval "$wx_cv_use_libpng"
3693 if test "$wxUSE_LIBPNG" = yes; then
3694 { echo "$as_me:$LINENO: result: yes" >&5
3695 echo "${ECHO_T}yes" >&6; }
3696 elif test "$wxUSE_LIBPNG" = no; then
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3699 elif test "$wxUSE_LIBPNG" = sys; then
3700 { echo "$as_me:$LINENO: result: system version" >&5
3701 echo "${ECHO_T}system version" >&6; }
3702 elif test "$wxUSE_LIBPNG" = builtin; then
3703 { echo "$as_me:$LINENO: result: builtin version" >&5
3704 echo "${ECHO_T}builtin version" >&6; }
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3712 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3713 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3715 # Check whether --with-libjpeg was given.
3716 if test "${with_libjpeg+set}" = set; then
3717 withval=$with_libjpeg;
3718 if test "$withval" = yes; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3720 elif test "$withval" = no; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3722 elif test "$withval" = sys; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3724 elif test "$withval" = builtin; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3728 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3729 { (exit 1); exit 1; }; }
3734 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3739 eval "$wx_cv_use_libjpeg"
3741 if test "$wxUSE_LIBJPEG" = yes; then
3742 { echo "$as_me:$LINENO: result
: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = no; then
3745 { echo "$as_me:$LINENO: result
: no
" >&5
3746 echo "${ECHO_T}no
" >&6; }
3747 elif test "$wxUSE_LIBJPEG" = sys; then
3748 { echo "$as_me:$LINENO: result
: system version
" >&5
3749 echo "${ECHO_T}system version
" >&6; }
3750 elif test "$wxUSE_LIBJPEG" = builtin; then
3751 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3752 echo "${ECHO_T}builtin version
" >&6; }
3754 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3755 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3760 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3761 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3763 # Check whether --with-libtiff was given.
3764 if test "${with_libtiff+set}" = set; then
3765 withval=$with_libtiff;
3766 if test "$withval" = yes; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3768 elif test "$withval" = no; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3770 elif test "$withval" = sys; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3772 elif test "$withval" = builtin; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3775 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3776 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3777 { (exit 1); exit 1; }; }
3782 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3787 eval "$wx_cv_use_libtiff"
3789 if test "$wxUSE_LIBTIFF" = yes; then
3790 { echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = no
; then
3793 { echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6; }
3795 elif test "$wxUSE_LIBTIFF" = sys
; then
3796 { echo "$as_me:$LINENO: result: system version" >&5
3797 echo "${ECHO_T}system version" >&6; }
3798 elif test "$wxUSE_LIBTIFF" = builtin; then
3799 { echo "$as_me:$LINENO: result: builtin version" >&5
3800 echo "${ECHO_T}builtin version" >&6; }
3802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3803 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3804 { (exit 1); exit 1; }; }
3808 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3809 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3811 # Check whether --with-libxpm was given.
3812 if test "${with_libxpm+set}" = set; then
3813 withval
=$with_libxpm;
3814 if test "$withval" = yes; then
3815 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3816 elif test "$withval" = no
; then
3817 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3818 elif test "$withval" = sys
; then
3819 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3820 elif test "$withval" = builtin; then
3821 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3830 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3835 eval "$wx_cv_use_libxpm"
3837 if test "$wxUSE_LIBXPM" = yes; then
3838 { echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6; }
3840 elif test "$wxUSE_LIBXPM" = no; then
3841 { echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6; }
3843 elif test "$wxUSE_LIBXPM" = sys; then
3844 { echo "$as_me:$LINENO: result: system version" >&5
3845 echo "${ECHO_T}system version" >&6; }
3846 elif test "$wxUSE_LIBXPM" = builtin; then
3847 { echo "$as_me:$LINENO: result: builtin version" >&5
3848 echo "${ECHO_T}builtin version" >&6; }
3850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3851 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3852 { (exit 1); exit 1; }; }
3857 defaultval=$wxUSE_ALL_FEATURES
3858 if test -z "$defaultval"; then
3859 if test x"$withstring" = xwithout; then
3865 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3866 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3868 # Check whether --with-libiconv was given.
3869 if test "${with_libiconv+set}" = set; then
3870 withval=$with_libiconv;
3871 if test "$withval" = yes; then
3872 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3874 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3879 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3884 eval "$wx_cv_use_libiconv"
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_LIBICONV = yes; then
3893 result=$wxUSE_LIBICONV
3896 { echo "$as_me:$LINENO: result
: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3909 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3910 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3912 # Check whether --with-libmspack was given.
3913 if test "${with_libmspack+set}" = set; then
3914 withval=$with_libmspack;
3915 if test "$withval" = yes; then
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3918 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3923 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3928 eval "$wx_cv_use_libmspack"
3930 if test x
"$withstring" = xwithout
; then
3931 if test $wxUSE_LIBMSPACK = yes; then
3937 result
=$wxUSE_LIBMSPACK
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3945 defaultval
=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x
"$withstring" = xwithout
; then
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3956 # Check whether --with-gtkprint was given.
3957 if test "${with_gtkprint+set}" = set; then
3958 withval
=$with_gtkprint;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3962 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3967 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3972 eval "$wx_cv_use_gtkprint"
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_GTKPRINT = yes; then
3981 result=$wxUSE_GTKPRINT
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4000 # Check whether --with-gnomeprint was given.
4001 if test "${with_gnomeprint+set}" = set; then
4002 withval=$with_gnomeprint;
4003 if test "$withval" = yes; then
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4006 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4011 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4016 eval "$wx_cv_use_gnomeprint"
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_LIBGNOMEPRINT = yes; then
4025 result=$wxUSE_LIBGNOMEPRINT
4028 { echo "$as_me:$LINENO: result
: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4041 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4042 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4044 # Check whether --with-gnomevfs was given.
4045 if test "${with_gnomevfs+set}" = set; then
4046 withval=$with_gnomevfs;
4047 if test "$withval" = yes; then
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4050 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4055 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4060 eval "$wx_cv_use_gnomevfs"
4062 if test x
"$withstring" = xwithout
; then
4063 if test $wxUSE_LIBGNOMEVFS = yes; then
4069 result
=$wxUSE_LIBGNOMEVFS
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4077 defaultval
=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x
"$withstring" = xwithout
; then
4085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4086 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4088 # Check whether --with-hildon was given.
4089 if test "${with_hildon+set}" = set; then
4090 withval
=$with_hildon;
4091 if test "$withval" = yes; then
4092 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4094 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4099 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4104 eval "$wx_cv_use_hildon"
4106 if test x"$withstring" = xwithout; then
4107 if test $wxUSE_LIBHILDON = yes; then
4113 result=$wxUSE_LIBHILDON
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4121 defaultval=$wxUSE_ALL_FEATURES
4122 if test -z "$defaultval"; then
4123 if test x"$withstring" = xwithout; then
4129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4130 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4132 # Check whether --with-opengl was given.
4133 if test "${with_opengl+set}" = set; then
4134 withval=$with_opengl;
4135 if test "$withval" = yes; then
4136 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4138 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4143 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4148 eval "$wx_cv_use_opengl"
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_OPENGL = yes; then
4157 result=$wxUSE_OPENGL
4160 { echo "$as_me:$LINENO: result
: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4168 defaultval=$wxUSE_ALL_FEATURES
4169 if test -z "$defaultval"; then
4170 if test x"$withstring" = xwithout; then
4176 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4177 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4179 # Check whether --with-dmalloc was given.
4180 if test "${with_dmalloc+set}" = set; then
4181 withval=$with_dmalloc;
4182 if test "$withval" = yes; then
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4190 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4195 eval "$wx_cv_use_dmalloc"
4197 if test x
"$withstring" = xwithout
; then
4198 if test $wxUSE_DMALLOC = yes; then
4204 result
=$wxUSE_DMALLOC
4207 { echo "$as_me:$LINENO: result: $result" >&5
4208 echo "${ECHO_T}$result" >&6; }
4212 defaultval
=$wxUSE_ALL_FEATURES
4213 if test -z "$defaultval"; then
4214 if test x
"$withstring" = xwithout
; then
4220 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4221 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4223 # Check whether --with-sdl was given.
4224 if test "${with_sdl+set}" = set; then
4226 if test "$withval" = yes; then
4227 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4229 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4234 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4239 eval "$wx_cv_use_sdl"
4241 if test x"$withstring" = xwithout; then
4242 if test $wxUSE_LIBSDL = yes; then
4248 result=$wxUSE_LIBSDL
4251 { echo "$as_me:$LINENO: result: $result" >&5
4252 echo "${ECHO_T}$result" >&6; }
4255 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4256 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4258 # Check whether --with-regex was given.
4259 if test "${with_regex+set}" = set; then
4260 withval=$with_regex;
4261 if test "$withval" = yes; then
4262 wx_cv_use_regex='wxUSE_REGEX
=yes'
4263 elif test "$withval" = no; then
4264 wx_cv_use_regex='wxUSE_REGEX
=no
'
4265 elif test "$withval" = sys; then
4266 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4267 elif test "$withval" = builtin; then
4268 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4277 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4282 eval "$wx_cv_use_regex"
4284 if test "$wxUSE_REGEX" = yes; then
4285 { echo "$as_me:$LINENO: result
: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 elif test "$wxUSE_REGEX" = no; then
4288 { echo "$as_me:$LINENO: result
: no
" >&5
4289 echo "${ECHO_T}no
" >&6; }
4290 elif test "$wxUSE_REGEX" = sys; then
4291 { echo "$as_me:$LINENO: result
: system version
" >&5
4292 echo "${ECHO_T}system version
" >&6; }
4293 elif test "$wxUSE_REGEX" = builtin; then
4294 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4295 echo "${ECHO_T}builtin version
" >&6; }
4297 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4298 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4303 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4304 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4306 # Check whether --with-zlib was given.
4307 if test "${with_zlib+set}" = set; then
4309 if test "$withval" = yes; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4311 elif test "$withval" = no; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=no'
4313 elif test "$withval" = sys; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4315 elif test "$withval" = builtin; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4318 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4319 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4325 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4330 eval "$wx_cv_use_zlib"
4332 if test "$wxUSE_ZLIB" = yes; then
4333 { echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6; }
4335 elif test "$wxUSE_ZLIB" = no
; then
4336 { echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6; }
4338 elif test "$wxUSE_ZLIB" = sys
; then
4339 { echo "$as_me:$LINENO: result: system version" >&5
4340 echo "${ECHO_T}system version" >&6; }
4341 elif test "$wxUSE_ZLIB" = builtin; then
4342 { echo "$as_me:$LINENO: result: builtin version" >&5
4343 echo "${ECHO_T}builtin version" >&6; }
4345 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4346 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4347 { (exit 1); exit 1; }; }
4351 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4352 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4354 # Check whether --with-expat was given.
4355 if test "${with_expat+set}" = set; then
4356 withval
=$with_expat;
4357 if test "$withval" = yes; then
4358 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4359 elif test "$withval" = no
; then
4360 wx_cv_use_expat
='wxUSE_EXPAT=no'
4361 elif test "$withval" = sys
; then
4362 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4363 elif test "$withval" = builtin; then
4364 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4366 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4367 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4368 { (exit 1); exit 1; }; }
4373 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4378 eval "$wx_cv_use_expat"
4380 if test "$wxUSE_EXPAT" = yes; then
4381 { echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6; }
4383 elif test "$wxUSE_EXPAT" = no; then
4384 { echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6; }
4386 elif test "$wxUSE_EXPAT" = sys; then
4387 { echo "$as_me:$LINENO: result: system version" >&5
4388 echo "${ECHO_T}system version" >&6; }
4389 elif test "$wxUSE_EXPAT" = builtin; then
4390 { echo "$as_me:$LINENO: result: builtin version" >&5
4391 echo "${ECHO_T}builtin version" >&6; }
4393 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4394 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4395 { (exit 1); exit 1; }; }
4399 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4400 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4402 # Check whether --with-macosx-sdk was given.
4403 if test "${with_macosx_sdk+set}" = set; then
4404 withval=$with_macosx_sdk;
4405 wxUSE_MACOSX_SDK=$withval
4406 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4410 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4411 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4413 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4414 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4416 # Check whether --with-macosx-version-min was given.
4417 if test "${with_macosx_version_min+set}" = set; then
4418 withval=$with_macosx_version_min;
4419 wxUSE_MACOSX_VERSION_MIN=$withval
4420 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4424 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4425 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4428 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4429 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4430 # Check whether --enable-debug was given.
4431 if test "${enable_debug+set}" = set; then
4432 enableval=$enable_debug;
4433 if test "$enableval" = yes; then
4435 elif test "$enableval" = no; then
4437 elif test "$enableval" = max; then
4439 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4441 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4442 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4443 { (exit 1); exit 1; }; }
4452 case "$wxUSE_DEBUG" in
4454 DEFAULT_wxUSE_DEBUG_FLAG=yes
4455 DEFAULT_wxUSE_DEBUG_INFO=yes
4457 DEFAULT_wxUSE_OPTIMISE=no
4461 DEFAULT_wxUSE_DEBUG_FLAG=no
4462 DEFAULT_wxUSE_DEBUG_INFO=no
4466 DEFAULT_wxUSE_DEBUG_FLAG=yes
4467 DEFAULT_wxUSE_DEBUG_INFO=no
4472 enablestring=disable
4474 if test -z "$defaultval"; then
4475 if test x"$enablestring" = xdisable; then
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4484 # Check whether --enable-debug_flag was given.
4485 if test "${enable_debug_flag+set}" = set; then
4486 enableval=$enable_debug_flag;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4490 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4495 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4500 eval "$wx_cv_use_debug_flag"
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_DEBUG_FLAG = no; then
4509 result=$wxUSE_DEBUG_FLAG
4512 { echo "$as_me:$LINENO: result
: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4526 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4527 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4528 # Check whether --enable-debug_info was given.
4529 if test "${enable_debug_info+set}" = set; then
4530 enableval=$enable_debug_info;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4534 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4539 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4544 eval "$wx_cv_use_debug_info"
4546 if test x
"$enablestring" = xdisable
; then
4547 if test $wxUSE_DEBUG_INFO = no
; then
4553 result
=$wxUSE_DEBUG_INFO
4556 { echo "$as_me:$LINENO: result: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4564 if test -z "$defaultval"; then
4565 if test x
"$enablestring" = xdisable
; then
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4574 # Check whether --enable-debug_gdb was given.
4575 if test "${enable_debug_gdb+set}" = set; then
4576 enableval
=$enable_debug_gdb;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4580 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4585 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4590 eval "$wx_cv_use_debug_gdb"
4592 if test x"$enablestring" = xdisable; then
4593 if test $wxUSE_DEBUG_GDB = no; then
4599 result=$wxUSE_DEBUG_GDB
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4608 if test -z "$defaultval"; then
4609 if test x"$enablestring" = xdisable; then
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4618 # Check whether --enable-debug_cntxt was given.
4619 if test "${enable_debug_cntxt+set}" = set; then
4620 enableval=$enable_debug_cntxt;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4624 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4629 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4634 eval "$wx_cv_use_debug_cntxt"
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_DEBUG_CONTEXT = no; then
4643 result=$wxUSE_DEBUG_CONTEXT
4646 { echo "$as_me:$LINENO: result
: $result" >&5
4647 echo "${ECHO_T}$result" >&6; }
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4661 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4662 # Check whether --enable-mem_tracing was given.
4663 if test "${enable_mem_tracing+set}" = set; then
4664 enableval=$enable_mem_tracing;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4668 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4673 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4678 eval "$wx_cv_use_mem_tracing"
4680 if test x
"$enablestring" = xdisable
; then
4681 if test $wxUSE_MEM_TRACING = no
; then
4687 result
=$wxUSE_MEM_TRACING
4690 { echo "$as_me:$LINENO: result: $result" >&5
4691 echo "${ECHO_T}$result" >&6; }
4696 enablestring
=disable
4698 if test -z "$defaultval"; then
4699 if test x
"$enablestring" = xdisable
; then
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4708 # Check whether --enable-shared was given.
4709 if test "${enable_shared+set}" = set; then
4710 enableval
=$enable_shared;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_shared
='wxUSE_SHARED=yes'
4714 wx_cv_use_shared
='wxUSE_SHARED=no'
4719 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4724 eval "$wx_cv_use_shared"
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_SHARED = no; then
4733 result=$wxUSE_SHARED
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4742 if test -z "$defaultval"; then
4743 if test x"$enablestring" = xdisable; then
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4752 # Check whether --enable-stl was given.
4753 if test "${enable_stl+set}" = set; then
4754 enableval=$enable_stl;
4755 if test "$enableval" = yes; then
4756 wx_cv_use_stl='wxUSE_STL
=yes'
4758 wx_cv_use_stl='wxUSE_STL
=no
'
4763 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4768 eval "$wx_cv_use_stl"
4770 if test x"$enablestring" = xdisable; then
4771 if test $wxUSE_STL = no; then
4780 { echo "$as_me:$LINENO: result
: $result" >&5
4781 echo "${ECHO_T}$result" >&6; }
4783 if test "$wxUSE_STL" = "yes"; then
4784 DEFAULT_wxUSE_STD_CONTAINERS=yes
4785 DEFAULT_wxUSE_STD_IOSTREAM=yes
4786 DEFAULT_wxUSE_STD_STRING=yes
4791 if test -z "$defaultval"; then
4792 if test x"$enablestring" = xdisable; then
4799 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4800 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4801 # Check whether --enable-std_containers was given.
4802 if test "${enable_std_containers+set}" = set; then
4803 enableval=$enable_std_containers;
4804 if test "$enableval" = yes; then
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4807 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4812 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4817 eval "$wx_cv_use_std_containers"
4819 if test x
"$enablestring" = xdisable
; then
4820 if test $wxUSE_STD_CONTAINERS = no
; then
4826 result
=$wxUSE_STD_CONTAINERS
4829 { echo "$as_me:$LINENO: result: $result" >&5
4830 echo "${ECHO_T}$result" >&6; }
4835 if test -z "$defaultval"; then
4836 if test x
"$enablestring" = xdisable
; then
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4845 # Check whether --enable-std_iostreams was given.
4846 if test "${enable_std_iostreams+set}" = set; then
4847 enableval
=$enable_std_iostreams;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4851 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4856 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4861 eval "$wx_cv_use_std_iostreams"
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_STD_IOSTREAM = no; then
4870 result=$wxUSE_STD_IOSTREAM
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4879 if test -z "$defaultval"; then
4880 if test x"$enablestring" = xdisable; then
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4889 # Check whether --enable-std_string was given.
4890 if test "${enable_std_string+set}" = set; then
4891 enableval=$enable_std_string;
4892 if test "$enableval" = yes; then
4893 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4895 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4900 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4905 eval "$wx_cv_use_std_string"
4907 if test x"$enablestring" = xdisable; then
4908 if test $wxUSE_STD_STRING = no; then
4914 result=$wxUSE_STD_STRING
4917 { echo "$as_me:$LINENO: result
: $result" >&5
4918 echo "${ECHO_T}$result" >&6; }
4923 if test -z "$defaultval"; then
4924 if test x"$enablestring" = xdisable; then
4931 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4932 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4933 # Check whether --enable-std_string_conv_in_wxstring was given.
4934 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4935 enableval=$enable_std_string_conv_in_wxstring;
4936 if test "$enableval" = yes; then
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4939 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4944 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4949 eval "$wx_cv_use_std_string_conv_in_wxstring"
4951 if test x
"$enablestring" = xdisable
; then
4952 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4958 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4961 { echo "$as_me:$LINENO: result: $result" >&5
4962 echo "${ECHO_T}$result" >&6; }
4965 enablestring
=disable
4967 if test -z "$defaultval"; then
4968 if test x
"$enablestring" = xdisable
; then
4975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4976 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4977 # Check whether --enable-unicode was given.
4978 if test "${enable_unicode+set}" = set; then
4979 enableval
=$enable_unicode;
4980 if test "$enableval" = yes; then
4981 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4983 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4988 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4993 eval "$wx_cv_use_unicode"
4995 if test x"$enablestring" = xdisable; then
4996 if test $wxUSE_UNICODE = no; then
5002 result=$wxUSE_UNICODE
5005 { echo "$as_me:$LINENO: result: $result" >&5
5006 echo "${ECHO_T}$result" >&6; }
5011 if test -z "$defaultval"; then
5012 if test x"$enablestring" = xdisable; then
5019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5021 # Check whether --enable-mslu was given.
5022 if test "${enable_mslu+set}" = set; then
5023 enableval=$enable_mslu;
5024 if test "$enableval" = yes; then
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5027 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5032 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5037 eval "$wx_cv_use_mslu"
5039 if test x"$enablestring" = xdisable; then
5040 if test $wxUSE_UNICODE_MSLU = no; then
5046 result=$wxUSE_UNICODE_MSLU
5049 { echo "$as_me:$LINENO: result
: $result" >&5
5050 echo "${ECHO_T}$result" >&6; }
5054 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5055 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5056 # Check whether --enable-utf8 was given.
5057 if test "${enable_utf8+set}" = set; then
5058 enableval=$enable_utf8;
5059 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5063 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5068 eval "$wx_cv_use_utf8"
5070 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5071 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5085 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5086 # Check whether --enable-utf8only was given.
5087 if test "${enable_utf8only+set}" = set; then
5088 enableval=$enable_utf8only;
5089 if test "$enableval" = yes; then
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5097 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5102 eval "$wx_cv_use_utf8only"
5104 if test x
"$enablestring" = xdisable
; then
5105 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5111 result
=$wxUSE_UNICODE_UTF8_LOCALE
5114 { echo "$as_me:$LINENO: result: $result" >&5
5115 echo "${ECHO_T}$result" >&6; }
5120 if test -z "$defaultval"; then
5121 if test x
"$enablestring" = xdisable
; then
5128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5129 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5130 # Check whether --enable-extended_rtti was given.
5131 if test "${enable_extended_rtti+set}" = set; then
5132 enableval
=$enable_extended_rtti;
5133 if test "$enableval" = yes; then
5134 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5136 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5141 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5146 eval "$wx_cv_use_extended_rtti"
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_EXTENDED_RTTI = no; then
5155 result=$wxUSE_EXTENDED_RTTI
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5161 if test "$USE_OS2" = 1; then
5162 DEFAULT_wxUSE_OMF=no
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5176 # Check whether --enable-omf was given.
5177 if test "${enable_omf+set}" = set; then
5178 enableval=$enable_omf;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_omf='wxUSE_OMF
=yes'
5182 wx_cv_use_omf='wxUSE_OMF
=no
'
5187 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5192 eval "$wx_cv_use_omf"
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_OMF = no; then
5204 { echo "$as_me:$LINENO: result
: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5210 enablestring=disable
5212 if test -z "$defaultval"; then
5213 if test x"$enablestring" = xdisable; then
5220 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5221 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5222 # Check whether --enable-optimise was given.
5223 if test "${enable_optimise+set}" = set; then
5224 enableval=$enable_optimise;
5225 if test "$enableval" = yes; then
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5228 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5233 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5238 eval "$wx_cv_use_optimise"
5240 if test x
"$enablestring" = xdisable
; then
5241 if test $wxUSE_OPTIMISE = no
; then
5247 result
=$wxUSE_OPTIMISE
5250 { echo "$as_me:$LINENO: result: $result" >&5
5251 echo "${ECHO_T}$result" >&6; }
5257 if test -z "$defaultval"; then
5258 if test x
"$enablestring" = xdisable
; then
5265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5267 # Check whether --enable-profile was given.
5268 if test "${enable_profile+set}" = set; then
5269 enableval
=$enable_profile;
5270 if test "$enableval" = yes; then
5271 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5273 wx_cv_use_profile
='wxUSE_PROFILE=no'
5278 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5283 eval "$wx_cv_use_profile"
5285 if test x"$enablestring" = xdisable; then
5286 if test $wxUSE_PROFILE = no; then
5292 result=$wxUSE_PROFILE
5295 { echo "$as_me:$LINENO: result: $result" >&5
5296 echo "${ECHO_T}$result" >&6; }
5301 if test -z "$defaultval"; then
5302 if test x"$enablestring" = xdisable; then
5309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5311 # Check whether --enable-no_rtti was given.
5312 if test "${enable_no_rtti+set}" = set; then
5313 enableval=$enable_no_rtti;
5314 if test "$enableval" = yes; then
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5317 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5322 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5327 eval "$wx_cv_use_no_rtti"
5329 if test x"$enablestring" = xdisable; then
5330 if test $wxUSE_NO_RTTI = no; then
5336 result=$wxUSE_NO_RTTI
5339 { echo "$as_me:$LINENO: result
: $result" >&5
5340 echo "${ECHO_T}$result" >&6; }
5345 if test -z "$defaultval"; then
5346 if test x"$enablestring" = xdisable; then
5353 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5354 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5355 # Check whether --enable-no_exceptions was given.
5356 if test "${enable_no_exceptions+set}" = set; then
5357 enableval=$enable_no_exceptions;
5358 if test "$enableval" = yes; then
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5361 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5366 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5371 eval "$wx_cv_use_no_exceptions"
5373 if test x
"$enablestring" = xdisable
; then
5374 if test $wxUSE_NO_EXCEPTIONS = no
; then
5380 result
=$wxUSE_NO_EXCEPTIONS
5383 { echo "$as_me:$LINENO: result: $result" >&5
5384 echo "${ECHO_T}$result" >&6; }
5389 if test -z "$defaultval"; then
5390 if test x
"$enablestring" = xdisable
; then
5397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5399 # Check whether --enable-permissive was given.
5400 if test "${enable_permissive+set}" = set; then
5401 enableval
=$enable_permissive;
5402 if test "$enableval" = yes; then
5403 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5405 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5410 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5415 eval "$wx_cv_use_permissive"
5417 if test x"$enablestring" = xdisable; then
5418 if test $wxUSE_PERMISSIVE = no; then
5424 result=$wxUSE_PERMISSIVE
5427 { echo "$as_me:$LINENO: result: $result" >&5
5428 echo "${ECHO_T}$result" >&6; }
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5443 # Check whether --enable-no_deps was given.
5444 if test "${enable_no_deps+set}" = set; then
5445 enableval=$enable_no_deps;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5449 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5454 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5459 eval "$wx_cv_use_no_deps"
5461 if test x"$enablestring" = xdisable; then
5462 if test $wxUSE_NO_DEPS = no; then
5468 result=$wxUSE_NO_DEPS
5471 { echo "$as_me:$LINENO: result
: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5475 enablestring=disable
5477 if test -z "$defaultval"; then
5478 if test x"$enablestring" = xdisable; then
5485 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5486 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5487 # Check whether --enable-vararg_macros was given.
5488 if test "${enable_vararg_macros+set}" = set; then
5489 enableval=$enable_vararg_macros;
5490 if test "$enableval" = yes; then
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5493 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5498 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5503 eval "$wx_cv_use_vararg_macros"
5505 if test x
"$enablestring" = xdisable
; then
5506 if test $wxUSE_VARARG_MACROS = no
; then
5512 result
=$wxUSE_VARARG_MACROS
5515 { echo "$as_me:$LINENO: result: $result" >&5
5516 echo "${ECHO_T}$result" >&6; }
5521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5523 # Check whether --enable-universal_binary was given.
5524 if test "${enable_universal_binary+set}" = set; then
5525 enableval
=$enable_universal_binary;
5526 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5530 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5535 eval "$wx_cv_use_universal_binary"
5537 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5538 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5544 # Check whether --enable-macosx_arch was given.
5545 if test "${enable_macosx_arch+set}" = set; then
5546 enableval
=$enable_macosx_arch;
5547 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5551 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5556 eval "$wx_cv_use_macosx_arch"
5558 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5559 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5565 if test -z "$defaultval"; then
5566 if test x
"$enablestring" = xdisable
; then
5573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5575 # Check whether --enable-compat26 was given.
5576 if test "${enable_compat26+set}" = set; then
5577 enableval
=$enable_compat26;
5578 if test "$enableval" = yes; then
5579 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5581 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5586 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5591 eval "$wx_cv_use_compat26"
5593 if test x"$enablestring" = xdisable; then
5594 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5600 result=$WXWIN_COMPATIBILITY_2_6
5603 { echo "$as_me:$LINENO: result: $result" >&5
5604 echo "${ECHO_T}$result" >&6; }
5607 enablestring=disable
5609 if test -z "$defaultval"; then
5610 if test x"$enablestring" = xdisable; then
5617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5618 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5619 # Check whether --enable-compat28 was given.
5620 if test "${enable_compat28+set}" = set; then
5621 enableval=$enable_compat28;
5622 if test "$enableval" = yes; then
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5625 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5630 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5635 eval "$wx_cv_use_compat28"
5637 if test x"$enablestring" = xdisable; then
5638 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5644 result=$WXWIN_COMPATIBILITY_2_8
5647 { echo "$as_me:$LINENO: result
: $result" >&5
5648 echo "${ECHO_T}$result" >&6; }
5652 enablestring=disable
5654 if test -z "$defaultval"; then
5655 if test x"$enablestring" = xdisable; then
5662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5663 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5664 # Check whether --enable-rpath was given.
5665 if test "${enable_rpath+set}" = set; then
5666 enableval=$enable_rpath;
5667 if test "$enableval" = yes; then
5668 wx_cv_use_rpath='wxUSE_RPATH=yes'
5670 wx_cv_use_rpath='wxUSE_RPATH=no'
5675 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5680 eval "$wx_cv_use_rpath"
5682 if test x
"$enablestring" = xdisable
; then
5683 if test $wxUSE_RPATH = no
; then
5692 { echo "$as_me:$LINENO: result: $result" >&5
5693 echo "${ECHO_T}$result" >&6; }
5699 if test -z "$defaultval"; then
5700 if test x
"$enablestring" = xdisable
; then
5707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5709 # Check whether --enable-objc_uniquifying was given.
5710 if test "${enable_objc_uniquifying+set}" = set; then
5711 enableval
=$enable_objc_uniquifying;
5712 if test "$enableval" = yes; then
5713 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5715 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5720 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5725 eval "$wx_cv_use_objc_uniquifying"
5727 if test x"$enablestring" = xdisable; then
5728 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5734 result=$wxUSE_OBJC_UNIQUIFYING
5737 { echo "$as_me:$LINENO: result: $result" >&5
5738 echo "${ECHO_T}$result" >&6; }
5742 enablestring=disable
5744 if test -z "$defaultval"; then
5745 if test x"$enablestring" = xdisable; then
5752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5754 # Check whether --enable-visibility was given.
5755 if test "${enable_visibility+set}" = set; then
5756 enableval=$enable_visibility;
5757 if test "$enableval" = yes; then
5758 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5760 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5765 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5770 eval "$wx_cv_use_visibility"
5772 if test x"$enablestring" = xdisable; then
5773 if test $wxUSE_VISIBILITY = no; then
5779 result=$wxUSE_VISIBILITY
5782 { echo "$as_me:$LINENO: result
: $result" >&5
5783 echo "${ECHO_T}$result" >&6; }
5786 enablestring=disable
5788 if test -z "$defaultval"; then
5789 if test x"$enablestring" = xdisable; then
5796 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5797 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5798 # Check whether --enable-tls was given.
5799 if test "${enable_tls+set}" = set; then
5800 enableval=$enable_tls;
5801 if test "$enableval" = yes; then
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5804 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5809 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5814 eval "$wx_cv_use_tls"
5816 if test x
"$enablestring" = xdisable
; then
5817 if test $wxUSE_COMPILER_TLS = no
; then
5823 result
=$wxUSE_COMPILER_TLS
5826 { echo "$as_me:$LINENO: result: $result" >&5
5827 echo "${ECHO_T}$result" >&6; }
5833 defaultval
=$wxUSE_ALL_FEATURES
5834 if test -z "$defaultval"; then
5835 if test x
"$enablestring" = xdisable
; then
5842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5843 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5844 # Check whether --enable-intl was given.
5845 if test "${enable_intl+set}" = set; then
5846 enableval
=$enable_intl;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_intl
='wxUSE_INTL=yes'
5850 wx_cv_use_intl
='wxUSE_INTL=no'
5855 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5860 eval "$wx_cv_use_intl"
5862 if test x"$enablestring" = xdisable; then
5863 if test $wxUSE_INTL = no; then
5872 { echo "$as_me:$LINENO: result: $result" >&5
5873 echo "${ECHO_T}$result" >&6; }
5877 defaultval=$wxUSE_ALL_FEATURES
5878 if test -z "$defaultval"; then
5879 if test x"$enablestring" = xdisable; then
5886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5888 # Check whether --enable-xlocale was given.
5889 if test "${enable_xlocale+set}" = set; then
5890 enableval=$enable_xlocale;
5891 if test "$enableval" = yes; then
5892 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5894 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5899 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5904 eval "$wx_cv_use_xlocale"
5906 if test x"$enablestring" = xdisable; then
5907 if test $wxUSE_XLOCALE = no; then
5913 result=$wxUSE_XLOCALE
5916 { echo "$as_me:$LINENO: result
: $result" >&5
5917 echo "${ECHO_T}$result" >&6; }
5921 defaultval=$wxUSE_ALL_FEATURES
5922 if test -z "$defaultval"; then
5923 if test x"$enablestring" = xdisable; then
5930 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5931 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5932 # Check whether --enable-config was given.
5933 if test "${enable_config+set}" = set; then
5934 enableval=$enable_config;
5935 if test "$enableval" = yes; then
5936 wx_cv_use_config='wxUSE_CONFIG=yes'
5938 wx_cv_use_config='wxUSE_CONFIG=no'
5943 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5948 eval "$wx_cv_use_config"
5950 if test x
"$enablestring" = xdisable
; then
5951 if test $wxUSE_CONFIG = no
; then
5957 result
=$wxUSE_CONFIG
5960 { echo "$as_me:$LINENO: result: $result" >&5
5961 echo "${ECHO_T}$result" >&6; }
5966 defaultval
=$wxUSE_ALL_FEATURES
5967 if test -z "$defaultval"; then
5968 if test x
"$enablestring" = xdisable
; then
5975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5976 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5977 # Check whether --enable-protocols was given.
5978 if test "${enable_protocols+set}" = set; then
5979 enableval
=$enable_protocols;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5983 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5988 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5993 eval "$wx_cv_use_protocols"
5995 if test x"$enablestring" = xdisable; then
5996 if test $wxUSE_PROTOCOL = no; then
6002 result=$wxUSE_PROTOCOL
6005 { echo "$as_me:$LINENO: result: $result" >&5
6006 echo "${ECHO_T}$result" >&6; }
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6021 # Check whether --enable-ftp was given.
6022 if test "${enable_ftp+set}" = set; then
6023 enableval=$enable_ftp;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6027 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6032 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6037 eval "$wx_cv_use_ftp"
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_PROTOCOL_FTP = no; then
6046 result=$wxUSE_PROTOCOL_FTP
6049 { echo "$as_me:$LINENO: result
: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6054 defaultval=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x"$enablestring" = xdisable; then
6063 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6064 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6065 # Check whether --enable-http was given.
6066 if test "${enable_http+set}" = set; then
6067 enableval=$enable_http;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6071 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6076 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6081 eval "$wx_cv_use_http"
6083 if test x
"$enablestring" = xdisable
; then
6084 if test $wxUSE_PROTOCOL_HTTP = no
; then
6090 result
=$wxUSE_PROTOCOL_HTTP
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6098 defaultval
=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x
"$enablestring" = xdisable
; then
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6109 # Check whether --enable-fileproto was given.
6110 if test "${enable_fileproto+set}" = set; then
6111 enableval
=$enable_fileproto;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6115 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6120 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6125 eval "$wx_cv_use_fileproto"
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_PROTOCOL_FILE = no; then
6134 result=$wxUSE_PROTOCOL_FILE
6137 { echo "$as_me:$LINENO: result: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6142 defaultval=$wxUSE_ALL_FEATURES
6143 if test -z "$defaultval"; then
6144 if test x"$enablestring" = xdisable; then
6151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6152 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6153 # Check whether --enable-sockets was given.
6154 if test "${enable_sockets+set}" = set; then
6155 enableval=$enable_sockets;
6156 if test "$enableval" = yes; then
6157 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6159 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6164 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6169 eval "$wx_cv_use_sockets"
6171 if test x"$enablestring" = xdisable; then
6172 if test $wxUSE_SOCKETS = no; then
6178 result=$wxUSE_SOCKETS
6181 { echo "$as_me:$LINENO: result
: $result" >&5
6182 echo "${ECHO_T}$result" >&6; }
6186 defaultval=$wxUSE_ALL_FEATURES
6187 if test -z "$defaultval"; then
6188 if test x"$enablestring" = xdisable; then
6195 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6196 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6197 # Check whether --enable-ipv6 was given.
6198 if test "${enable_ipv6+set}" = set; then
6199 enableval=$enable_ipv6;
6200 if test "$enableval" = yes; then
6201 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6203 wx_cv_use_ipv6='wxUSE_IPV6=no'
6208 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6213 eval "$wx_cv_use_ipv6"
6215 if test x
"$enablestring" = xdisable
; then
6216 if test $wxUSE_IPV6 = no
; then
6225 { echo "$as_me:$LINENO: result: $result" >&5
6226 echo "${ECHO_T}$result" >&6; }
6230 defaultval
=$wxUSE_ALL_FEATURES
6231 if test -z "$defaultval"; then
6232 if test x
"$enablestring" = xdisable
; then
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6241 # Check whether --enable-ole was given.
6242 if test "${enable_ole+set}" = set; then
6243 enableval
=$enable_ole;
6244 if test "$enableval" = yes; then
6245 wx_cv_use_ole
='wxUSE_OLE=yes'
6247 wx_cv_use_ole
='wxUSE_OLE=no'
6252 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6257 eval "$wx_cv_use_ole"
6259 if test x"$enablestring" = xdisable; then
6260 if test $wxUSE_OLE = no; then
6269 { echo "$as_me:$LINENO: result: $result" >&5
6270 echo "${ECHO_T}$result" >&6; }
6274 defaultval=$wxUSE_ALL_FEATURES
6275 if test -z "$defaultval"; then
6276 if test x"$enablestring" = xdisable; then
6283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6285 # Check whether --enable-dataobj was given.
6286 if test "${enable_dataobj+set}" = set; then
6287 enableval=$enable_dataobj;
6288 if test "$enableval" = yes; then
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6291 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6296 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6301 eval "$wx_cv_use_dataobj"
6303 if test x"$enablestring" = xdisable; then
6304 if test $wxUSE_DATAOBJ = no; then
6310 result=$wxUSE_DATAOBJ
6313 { echo "$as_me:$LINENO: result
: $result" >&5
6314 echo "${ECHO_T}$result" >&6; }
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6329 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6330 # Check whether --enable-ipc was given.
6331 if test "${enable_ipc+set}" = set; then
6332 enableval=$enable_ipc;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_ipc='wxUSE_IPC=yes'
6336 wx_cv_use_ipc='wxUSE_IPC=no'
6341 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6346 eval "$wx_cv_use_ipc"
6348 if test x
"$enablestring" = xdisable
; then
6349 if test $wxUSE_IPC = no
; then
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6364 defaultval
=$wxUSE_ALL_FEATURES
6365 if test -z "$defaultval"; then
6366 if test x
"$enablestring" = xdisable
; then
6373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6375 # Check whether --enable-baseevtloop was given.
6376 if test "${enable_baseevtloop+set}" = set; then
6377 enableval
=$enable_baseevtloop;
6378 if test "$enableval" = yes; then
6379 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6381 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6386 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6391 eval "$wx_cv_use_baseevtloop"
6393 if test x"$enablestring" = xdisable; then
6394 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6400 result=$wxUSE_CONSOLE_EVENTLOOP
6403 { echo "$as_me:$LINENO: result: $result" >&5
6404 echo "${ECHO_T}$result" >&6; }
6408 defaultval=$wxUSE_ALL_FEATURES
6409 if test -z "$defaultval"; then
6410 if test x"$enablestring" = xdisable; then
6417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6418 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6419 # Check whether --enable-epollloop was given.
6420 if test "${enable_epollloop+set}" = set; then
6421 enableval=$enable_epollloop;
6422 if test "$enableval" = yes; then
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6425 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6430 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6435 eval "$wx_cv_use_epollloop"
6437 if test x"$enablestring" = xdisable; then
6438 if test $wxUSE_EPOLL_DISPATCHER = no; then
6444 result=$wxUSE_EPOLL_DISPATCHER
6447 { echo "$as_me:$LINENO: result
: $result" >&5
6448 echo "${ECHO_T}$result" >&6; }
6452 defaultval=$wxUSE_ALL_FEATURES
6453 if test -z "$defaultval"; then
6454 if test x"$enablestring" = xdisable; then
6461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6462 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6463 # Check whether --enable-selectloop was given.
6464 if test "${enable_selectloop+set}" = set; then
6465 enableval=$enable_selectloop;
6466 if test "$enableval" = yes; then
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6469 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6474 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6479 eval "$wx_cv_use_selectloop"
6481 if test x
"$enablestring" = xdisable
; then
6482 if test $wxUSE_SELECT_DISPATCHER = no
; then
6488 result
=$wxUSE_SELECT_DISPATCHER
6491 { echo "$as_me:$LINENO: result: $result" >&5
6492 echo "${ECHO_T}$result" >&6; }
6497 defaultval
=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x
"$enablestring" = xdisable
; then
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6508 # Check whether --enable-any was given.
6509 if test "${enable_any+set}" = set; then
6510 enableval
=$enable_any;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_any
='wxUSE_ANY=yes'
6514 wx_cv_use_any
='wxUSE_ANY=no'
6519 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6524 eval "$wx_cv_use_any"
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_ANY = no; then
6536 { echo "$as_me:$LINENO: result: $result" >&5
6537 echo "${ECHO_T}$result" >&6; }
6541 defaultval=$wxUSE_ALL_FEATURES
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6552 # Check whether --enable-apple_ieee was given.
6553 if test "${enable_apple_ieee+set}" = set; then
6554 enableval=$enable_apple_ieee;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6558 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6563 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6568 eval "$wx_cv_use_apple_ieee"
6570 if test x"$enablestring" = xdisable; then
6571 if test $wxUSE_APPLE_IEEE = no; then
6577 result=$wxUSE_APPLE_IEEE
6580 { echo "$as_me:$LINENO: result
: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6585 defaultval=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x"$enablestring" = xdisable; then
6594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6595 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6596 # Check whether --enable-arcstream was given.
6597 if test "${enable_arcstream+set}" = set; then
6598 enableval=$enable_arcstream;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6602 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6607 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6612 eval "$wx_cv_use_arcstream"
6614 if test x
"$enablestring" = xdisable
; then
6615 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6621 result
=$wxUSE_ARCHIVE_STREAMS
6624 { echo "$as_me:$LINENO: result: $result" >&5
6625 echo "${ECHO_T}$result" >&6; }
6629 defaultval
=$wxUSE_ALL_FEATURES
6630 if test -z "$defaultval"; then
6631 if test x
"$enablestring" = xdisable
; then
6638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6640 # Check whether --enable-base64 was given.
6641 if test "${enable_base64+set}" = set; then
6642 enableval
=$enable_base64;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_base64
='wxUSE_BASE64=yes'
6646 wx_cv_use_base64
='wxUSE_BASE64=no'
6651 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6656 eval "$wx_cv_use_base64"
6658 if test x"$enablestring" = xdisable; then
6659 if test $wxUSE_BASE64 = no; then
6665 result=$wxUSE_BASE64
6668 { echo "$as_me:$LINENO: result: $result" >&5
6669 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6684 # Check whether --enable-backtrace was given.
6685 if test "${enable_backtrace+set}" = set; then
6686 enableval=$enable_backtrace;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6690 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6695 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6700 eval "$wx_cv_use_backtrace"
6702 if test x"$enablestring" = xdisable; then
6703 if test $wxUSE_STACKWALKER = no; then
6709 result=$wxUSE_STACKWALKER
6712 { echo "$as_me:$LINENO: result
: $result" >&5
6713 echo "${ECHO_T}$result" >&6; }
6717 defaultval=$wxUSE_ALL_FEATURES
6718 if test -z "$defaultval"; then
6719 if test x"$enablestring" = xdisable; then
6726 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6727 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6728 # Check whether --enable-catch_segvs was given.
6729 if test "${enable_catch_segvs+set}" = set; then
6730 enableval=$enable_catch_segvs;
6731 if test "$enableval" = yes; then
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6734 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6739 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6744 eval "$wx_cv_use_catch_segvs"
6746 if test x
"$enablestring" = xdisable
; then
6747 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6753 result
=$wxUSE_ON_FATAL_EXCEPTION
6756 { echo "$as_me:$LINENO: result: $result" >&5
6757 echo "${ECHO_T}$result" >&6; }
6761 defaultval
=$wxUSE_ALL_FEATURES
6762 if test -z "$defaultval"; then
6763 if test x
"$enablestring" = xdisable
; then
6770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6772 # Check whether --enable-cmdline was given.
6773 if test "${enable_cmdline+set}" = set; then
6774 enableval
=$enable_cmdline;
6775 if test "$enableval" = yes; then
6776 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6778 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6783 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6788 eval "$wx_cv_use_cmdline"
6790 if test x"$enablestring" = xdisable; then
6791 if test $wxUSE_CMDLINE_PARSER = no; then
6797 result=$wxUSE_CMDLINE_PARSER
6800 { echo "$as_me:$LINENO: result: $result" >&5
6801 echo "${ECHO_T}$result" >&6; }
6805 defaultval=$wxUSE_ALL_FEATURES
6806 if test -z "$defaultval"; then
6807 if test x"$enablestring" = xdisable; then
6814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6816 # Check whether --enable-datetime was given.
6817 if test "${enable_datetime+set}" = set; then
6818 enableval=$enable_datetime;
6819 if test "$enableval" = yes; then
6820 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6822 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6827 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6832 eval "$wx_cv_use_datetime"
6834 if test x"$enablestring" = xdisable; then
6835 if test $wxUSE_DATETIME = no; then
6841 result=$wxUSE_DATETIME
6844 { echo "$as_me:$LINENO: result
: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6849 defaultval=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x"$enablestring" = xdisable; then
6858 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6859 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6860 # Check whether --enable-debugreport was given.
6861 if test "${enable_debugreport+set}" = set; then
6862 enableval=$enable_debugreport;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6866 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6871 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6876 eval "$wx_cv_use_debugreport"
6878 if test x
"$enablestring" = xdisable
; then
6879 if test $wxUSE_DEBUGREPORT = no
; then
6885 result
=$wxUSE_DEBUGREPORT
6888 { echo "$as_me:$LINENO: result: $result" >&5
6889 echo "${ECHO_T}$result" >&6; }
6893 defaultval
=$wxUSE_ALL_FEATURES
6894 if test -z "$defaultval"; then
6895 if test x
"$enablestring" = xdisable
; then
6902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6904 # Check whether --enable-dialupman was given.
6905 if test "${enable_dialupman+set}" = set; then
6906 enableval
=$enable_dialupman;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6910 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6915 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6920 eval "$wx_cv_use_dialupman"
6922 if test x"$enablestring" = xdisable; then
6923 if test $wxUSE_DIALUP_MANAGER = no; then
6929 result=$wxUSE_DIALUP_MANAGER
6932 { echo "$as_me:$LINENO: result: $result" >&5
6933 echo "${ECHO_T}$result" >&6; }
6937 defaultval=$wxUSE_ALL_FEATURES
6938 if test -z "$defaultval"; then
6939 if test x"$enablestring" = xdisable; then
6946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6947 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6948 # Check whether --enable-dynlib was given.
6949 if test "${enable_dynlib+set}" = set; then
6950 enableval=$enable_dynlib;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6954 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6959 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6964 eval "$wx_cv_use_dynlib"
6966 if test x"$enablestring" = xdisable; then
6967 if test $wxUSE_DYNLIB_CLASS = no; then
6973 result=$wxUSE_DYNLIB_CLASS
6976 { echo "$as_me:$LINENO: result
: $result" >&5
6977 echo "${ECHO_T}$result" >&6; }
6981 defaultval=$wxUSE_ALL_FEATURES
6982 if test -z "$defaultval"; then
6983 if test x"$enablestring" = xdisable; then
6990 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6991 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6992 # Check whether --enable-dynamicloader was given.
6993 if test "${enable_dynamicloader+set}" = set; then
6994 enableval=$enable_dynamicloader;
6995 if test "$enableval" = yes; then
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6998 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7003 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7008 eval "$wx_cv_use_dynamicloader"
7010 if test x
"$enablestring" = xdisable
; then
7011 if test $wxUSE_DYNAMIC_LOADER = no
; then
7017 result
=$wxUSE_DYNAMIC_LOADER
7020 { echo "$as_me:$LINENO: result: $result" >&5
7021 echo "${ECHO_T}$result" >&6; }
7025 defaultval
=$wxUSE_ALL_FEATURES
7026 if test -z "$defaultval"; then
7027 if test x
"$enablestring" = xdisable
; then
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7036 # Check whether --enable-exceptions was given.
7037 if test "${enable_exceptions+set}" = set; then
7038 enableval
=$enable_exceptions;
7039 if test "$enableval" = yes; then
7040 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7042 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7047 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7052 eval "$wx_cv_use_exceptions"
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_EXCEPTIONS = no; then
7061 result=$wxUSE_EXCEPTIONS
7064 { echo "$as_me:$LINENO: result: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7080 # Check whether --enable-ffile was given.
7081 if test "${enable_ffile+set}" = set; then
7082 enableval=$enable_ffile;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7086 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7091 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7096 eval "$wx_cv_use_ffile"
7098 if test x"$enablestring" = xdisable; then
7099 if test $wxUSE_FFILE = no; then
7108 { echo "$as_me:$LINENO: result
: $result" >&5
7109 echo "${ECHO_T}$result" >&6; }
7113 defaultval=$wxUSE_ALL_FEATURES
7114 if test -z "$defaultval"; then
7115 if test x"$enablestring" = xdisable; then
7122 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7123 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7124 # Check whether --enable-file was given.
7125 if test "${enable_file+set}" = set; then
7126 enableval=$enable_file;
7127 if test "$enableval" = yes; then
7128 wx_cv_use_file='wxUSE_FILE=yes'
7130 wx_cv_use_file='wxUSE_FILE=no'
7135 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7140 eval "$wx_cv_use_file"
7142 if test x
"$enablestring" = xdisable
; then
7143 if test $wxUSE_FILE = no
; then
7152 { echo "$as_me:$LINENO: result: $result" >&5
7153 echo "${ECHO_T}$result" >&6; }
7157 defaultval
=$wxUSE_ALL_FEATURES
7158 if test -z "$defaultval"; then
7159 if test x
"$enablestring" = xdisable
; then
7166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7168 # Check whether --enable-filehistory was given.
7169 if test "${enable_filehistory+set}" = set; then
7170 enableval
=$enable_filehistory;
7171 if test "$enableval" = yes; then
7172 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7174 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7179 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7184 eval "$wx_cv_use_filehistory"
7186 if test x"$enablestring" = xdisable; then
7187 if test $wxUSE_FILE_HISTORY = no; then
7193 result=$wxUSE_FILE_HISTORY
7196 { echo "$as_me:$LINENO: result: $result" >&5
7197 echo "${ECHO_T}$result" >&6; }
7201 defaultval=$wxUSE_ALL_FEATURES
7202 if test -z "$defaultval"; then
7203 if test x"$enablestring" = xdisable; then
7210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7211 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7212 # Check whether --enable-filesystem was given.
7213 if test "${enable_filesystem+set}" = set; then
7214 enableval=$enable_filesystem;
7215 if test "$enableval" = yes; then
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7218 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7223 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7228 eval "$wx_cv_use_filesystem"
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_FILESYSTEM = no; then
7237 result=$wxUSE_FILESYSTEM
7240 { echo "$as_me:$LINENO: result
: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7255 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7256 # Check whether --enable-fontenum was given.
7257 if test "${enable_fontenum+set}" = set; then
7258 enableval=$enable_fontenum;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7262 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7267 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7272 eval "$wx_cv_use_fontenum"
7274 if test x
"$enablestring" = xdisable
; then
7275 if test $wxUSE_FONTENUM = no
; then
7281 result
=$wxUSE_FONTENUM
7284 { echo "$as_me:$LINENO: result: $result" >&5
7285 echo "${ECHO_T}$result" >&6; }
7289 defaultval
=$wxUSE_ALL_FEATURES
7290 if test -z "$defaultval"; then
7291 if test x
"$enablestring" = xdisable
; then
7298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7299 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7300 # Check whether --enable-fontmap was given.
7301 if test "${enable_fontmap+set}" = set; then
7302 enableval
=$enable_fontmap;
7303 if test "$enableval" = yes; then
7304 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7306 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7311 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7316 eval "$wx_cv_use_fontmap"
7318 if test x"$enablestring" = xdisable; then
7319 if test $wxUSE_FONTMAP = no; then
7325 result=$wxUSE_FONTMAP
7328 { echo "$as_me:$LINENO: result: $result" >&5
7329 echo "${ECHO_T}$result" >&6; }
7333 defaultval=$wxUSE_ALL_FEATURES
7334 if test -z "$defaultval"; then
7335 if test x"$enablestring" = xdisable; then
7342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7344 # Check whether --enable-fs_archive was given.
7345 if test "${enable_fs_archive+set}" = set; then
7346 enableval=$enable_fs_archive;
7347 if test "$enableval" = yes; then
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7350 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7355 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7360 eval "$wx_cv_use_fs_archive"
7362 if test x"$enablestring" = xdisable; then
7363 if test $wxUSE_FS_ARCHIVE = no; then
7369 result=$wxUSE_FS_ARCHIVE
7372 { echo "$as_me:$LINENO: result
: $result" >&5
7373 echo "${ECHO_T}$result" >&6; }
7377 defaultval=$wxUSE_ALL_FEATURES
7378 if test -z "$defaultval"; then
7379 if test x"$enablestring" = xdisable; then
7386 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7387 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7388 # Check whether --enable-fs_inet was given.
7389 if test "${enable_fs_inet+set}" = set; then
7390 enableval=$enable_fs_inet;
7391 if test "$enableval" = yes; then
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7394 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7399 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7404 eval "$wx_cv_use_fs_inet"
7406 if test x
"$enablestring" = xdisable
; then
7407 if test $wxUSE_FS_INET = no
; then
7413 result
=$wxUSE_FS_INET
7416 { echo "$as_me:$LINENO: result: $result" >&5
7417 echo "${ECHO_T}$result" >&6; }
7421 defaultval
=$wxUSE_ALL_FEATURES
7422 if test -z "$defaultval"; then
7423 if test x
"$enablestring" = xdisable
; then
7430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7432 # Check whether --enable-fs_zip was given.
7433 if test "${enable_fs_zip+set}" = set; then
7434 enableval
=$enable_fs_zip;
7435 if test "$enableval" = yes; then
7436 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7438 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7443 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7448 eval "$wx_cv_use_fs_zip"
7450 if test x"$enablestring" = xdisable; then
7451 if test $wxUSE_FS_ZIP = no; then
7457 result=$wxUSE_FS_ZIP
7460 { echo "$as_me:$LINENO: result: $result" >&5
7461 echo "${ECHO_T}$result" >&6; }
7465 defaultval=$wxUSE_ALL_FEATURES
7466 if test -z "$defaultval"; then
7467 if test x"$enablestring" = xdisable; then
7474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7476 # Check whether --enable-fswatcher was given.
7477 if test "${enable_fswatcher+set}" = set; then
7478 enableval=$enable_fswatcher;
7479 if test "$enableval" = yes; then
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7482 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7487 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7492 eval "$wx_cv_use_fswatcher"
7494 if test x"$enablestring" = xdisable; then
7495 if test $wxUSE_FSWATCHER = no; then
7501 result=$wxUSE_FSWATCHER
7504 { echo "$as_me:$LINENO: result
: $result" >&5
7505 echo "${ECHO_T}$result" >&6; }
7509 defaultval=$wxUSE_ALL_FEATURES
7510 if test -z "$defaultval"; then
7511 if test x"$enablestring" = xdisable; then
7518 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7519 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7520 # Check whether --enable-geometry was given.
7521 if test "${enable_geometry+set}" = set; then
7522 enableval=$enable_geometry;
7523 if test "$enableval" = yes; then
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7526 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7531 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7536 eval "$wx_cv_use_geometry"
7538 if test x
"$enablestring" = xdisable
; then
7539 if test $wxUSE_GEOMETRY = no
; then
7545 result
=$wxUSE_GEOMETRY
7548 { echo "$as_me:$LINENO: result: $result" >&5
7549 echo "${ECHO_T}$result" >&6; }
7553 defaultval
=$wxUSE_ALL_FEATURES
7554 if test -z "$defaultval"; then
7555 if test x
"$enablestring" = xdisable
; then
7562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7563 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7564 # Check whether --enable-log was given.
7565 if test "${enable_log+set}" = set; then
7566 enableval
=$enable_log;
7567 if test "$enableval" = yes; then
7568 wx_cv_use_log
='wxUSE_LOG=yes'
7570 wx_cv_use_log
='wxUSE_LOG=no'
7575 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7580 eval "$wx_cv_use_log"
7582 if test x"$enablestring" = xdisable; then
7583 if test $wxUSE_LOG = no; then
7592 { echo "$as_me:$LINENO: result: $result" >&5
7593 echo "${ECHO_T}$result" >&6; }
7597 defaultval=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x"$enablestring" = xdisable; then
7606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7608 # Check whether --enable-longlong was given.
7609 if test "${enable_longlong+set}" = set; then
7610 enableval=$enable_longlong;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7614 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7619 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7624 eval "$wx_cv_use_longlong"
7626 if test x"$enablestring" = xdisable; then
7627 if test $wxUSE_LONGLONG = no; then
7633 result=$wxUSE_LONGLONG
7636 { echo "$as_me:$LINENO: result
: $result" >&5
7637 echo "${ECHO_T}$result" >&6; }
7641 defaultval=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x"$enablestring" = xdisable; then
7650 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7651 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7652 # Check whether --enable-mimetype was given.
7653 if test "${enable_mimetype+set}" = set; then
7654 enableval=$enable_mimetype;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7658 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7663 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7668 eval "$wx_cv_use_mimetype"
7670 if test x
"$enablestring" = xdisable
; then
7671 if test $wxUSE_MIMETYPE = no
; then
7677 result
=$wxUSE_MIMETYPE
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7685 defaultval
=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x
"$enablestring" = xdisable
; then
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7696 # Check whether --enable-printfposparam was given.
7697 if test "${enable_printfposparam+set}" = set; then
7698 enableval
=$enable_printfposparam;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7702 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7707 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7712 eval "$wx_cv_use_printfposparam"
7714 if test x"$enablestring" = xdisable; then
7715 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7721 result=$wxUSE_PRINTF_POS_PARAMS
7724 { echo "$as_me:$LINENO: result: $result" >&5
7725 echo "${ECHO_T}$result" >&6; }
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7739 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7740 # Check whether --enable-snglinst was given.
7741 if test "${enable_snglinst+set}" = set; then
7742 enableval=$enable_snglinst;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7746 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7751 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7756 eval "$wx_cv_use_snglinst"
7758 if test x"$enablestring" = xdisable; then
7759 if test $wxUSE_SNGLINST_CHECKER = no; then
7765 result=$wxUSE_SNGLINST_CHECKER
7768 { echo "$as_me:$LINENO: result
: $result" >&5
7769 echo "${ECHO_T}$result" >&6; }
7773 defaultval=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x"$enablestring" = xdisable; then
7782 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7783 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7784 # Check whether --enable-sound was given.
7785 if test "${enable_sound+set}" = set; then
7786 enableval=$enable_sound;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_sound='wxUSE_SOUND=yes'
7790 wx_cv_use_sound='wxUSE_SOUND=no'
7795 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7800 eval "$wx_cv_use_sound"
7802 if test x
"$enablestring" = xdisable
; then
7803 if test $wxUSE_SOUND = no
; then
7812 { echo "$as_me:$LINENO: result: $result" >&5
7813 echo "${ECHO_T}$result" >&6; }
7817 defaultval
=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x
"$enablestring" = xdisable
; then
7826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7828 # Check whether --enable-stdpaths was given.
7829 if test "${enable_stdpaths+set}" = set; then
7830 enableval
=$enable_stdpaths;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7834 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7839 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7844 eval "$wx_cv_use_stdpaths"
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_STDPATHS = no; then
7853 result=$wxUSE_STDPATHS
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7872 # Check whether --enable-stopwatch was given.
7873 if test "${enable_stopwatch+set}" = set; then
7874 enableval=$enable_stopwatch;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7878 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7883 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7888 eval "$wx_cv_use_stopwatch"
7890 if test x"$enablestring" = xdisable; then
7891 if test $wxUSE_STOPWATCH = no; then
7897 result=$wxUSE_STOPWATCH
7900 { echo "$as_me:$LINENO: result
: $result" >&5
7901 echo "${ECHO_T}$result" >&6; }
7905 defaultval=$wxUSE_ALL_FEATURES
7906 if test -z "$defaultval"; then
7907 if test x"$enablestring" = xdisable; then
7914 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7915 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7916 # Check whether --enable-streams was given.
7917 if test "${enable_streams+set}" = set; then
7918 enableval=$enable_streams;
7919 if test "$enableval" = yes; then
7920 wx_cv_use_streams='wxUSE_STREAMS=yes'
7922 wx_cv_use_streams='wxUSE_STREAMS=no'
7927 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7932 eval "$wx_cv_use_streams"
7934 if test x
"$enablestring" = xdisable
; then
7935 if test $wxUSE_STREAMS = no
; then
7941 result
=$wxUSE_STREAMS
7944 { echo "$as_me:$LINENO: result: $result" >&5
7945 echo "${ECHO_T}$result" >&6; }
7949 defaultval
=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x
"$enablestring" = xdisable
; then
7958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7960 # Check whether --enable-sysoptions was given.
7961 if test "${enable_sysoptions+set}" = set; then
7962 enableval
=$enable_sysoptions;
7963 if test "$enableval" = yes; then
7964 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7966 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7971 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7976 eval "$wx_cv_use_sysoptions"
7978 if test x"$enablestring" = xdisable; then
7979 if test $wxUSE_SYSTEM_OPTIONS = no; then
7985 result=$wxUSE_SYSTEM_OPTIONS
7988 { echo "$as_me:$LINENO: result: $result" >&5
7989 echo "${ECHO_T}$result" >&6; }
7993 defaultval=$wxUSE_ALL_FEATURES
7994 if test -z "$defaultval"; then
7995 if test x"$enablestring" = xdisable; then
8002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8004 # Check whether --enable-tarstream was given.
8005 if test "${enable_tarstream+set}" = set; then
8006 enableval=$enable_tarstream;
8007 if test "$enableval" = yes; then
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8010 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8015 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8020 eval "$wx_cv_use_tarstream"
8022 if test x"$enablestring" = xdisable; then
8023 if test $wxUSE_TARSTREAM = no; then
8029 result=$wxUSE_TARSTREAM
8032 { echo "$as_me:$LINENO: result
: $result" >&5
8033 echo "${ECHO_T}$result" >&6; }
8037 defaultval=$wxUSE_ALL_FEATURES
8038 if test -z "$defaultval"; then
8039 if test x"$enablestring" = xdisable; then
8046 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8047 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8048 # Check whether --enable-textbuf was given.
8049 if test "${enable_textbuf+set}" = set; then
8050 enableval=$enable_textbuf;
8051 if test "$enableval" = yes; then
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8054 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8059 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8064 eval "$wx_cv_use_textbuf"
8066 if test x
"$enablestring" = xdisable
; then
8067 if test $wxUSE_TEXTBUFFER = no
; then
8073 result
=$wxUSE_TEXTBUFFER
8076 { echo "$as_me:$LINENO: result: $result" >&5
8077 echo "${ECHO_T}$result" >&6; }
8081 defaultval
=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x
"$enablestring" = xdisable
; then
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8092 # Check whether --enable-textfile was given.
8093 if test "${enable_textfile+set}" = set; then
8094 enableval
=$enable_textfile;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8098 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8103 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8108 eval "$wx_cv_use_textfile"
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_TEXTFILE = no; then
8117 result=$wxUSE_TEXTFILE
8120 { echo "$as_me:$LINENO: result: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8125 defaultval=$wxUSE_ALL_FEATURES
8126 if test -z "$defaultval"; then
8127 if test x"$enablestring" = xdisable; then
8134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8136 # Check whether --enable-timer was given.
8137 if test "${enable_timer+set}" = set; then
8138 enableval=$enable_timer;
8139 if test "$enableval" = yes; then
8140 wx_cv_use_timer='wxUSE_TIMER
=yes'
8142 wx_cv_use_timer='wxUSE_TIMER
=no
'
8147 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8152 eval "$wx_cv_use_timer"
8154 if test x"$enablestring" = xdisable; then
8155 if test $wxUSE_TIMER = no; then
8164 { echo "$as_me:$LINENO: result
: $result" >&5
8165 echo "${ECHO_T}$result" >&6; }
8169 defaultval=$wxUSE_ALL_FEATURES
8170 if test -z "$defaultval"; then
8171 if test x"$enablestring" = xdisable; then
8178 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8179 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8180 # Check whether --enable-variant was given.
8181 if test "${enable_variant+set}" = set; then
8182 enableval=$enable_variant;
8183 if test "$enableval" = yes; then
8184 wx_cv_use_variant='wxUSE_VARIANT=yes'
8186 wx_cv_use_variant='wxUSE_VARIANT=no'
8191 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8196 eval "$wx_cv_use_variant"
8198 if test x
"$enablestring" = xdisable
; then
8199 if test $wxUSE_VARIANT = no
; then
8205 result
=$wxUSE_VARIANT
8208 { echo "$as_me:$LINENO: result: $result" >&5
8209 echo "${ECHO_T}$result" >&6; }
8213 defaultval
=$wxUSE_ALL_FEATURES
8214 if test -z "$defaultval"; then
8215 if test x
"$enablestring" = xdisable
; then
8222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8224 # Check whether --enable-zipstream was given.
8225 if test "${enable_zipstream+set}" = set; then
8226 enableval
=$enable_zipstream;
8227 if test "$enableval" = yes; then
8228 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8230 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8235 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8240 eval "$wx_cv_use_zipstream"
8242 if test x"$enablestring" = xdisable; then
8243 if test $wxUSE_ZIPSTREAM = no; then
8249 result=$wxUSE_ZIPSTREAM
8252 { echo "$as_me:$LINENO: result: $result" >&5
8253 echo "${ECHO_T}$result" >&6; }
8258 defaultval=$wxUSE_ALL_FEATURES
8259 if test -z "$defaultval"; then
8260 if test x"$enablestring" = xdisable; then
8267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8269 # Check whether --enable-url was given.
8270 if test "${enable_url+set}" = set; then
8271 enableval=$enable_url;
8272 if test "$enableval" = yes; then
8273 wx_cv_use_url='wxUSE_URL
=yes'
8275 wx_cv_use_url='wxUSE_URL
=no
'
8280 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8285 eval "$wx_cv_use_url"
8287 if test x"$enablestring" = xdisable; then
8288 if test $wxUSE_URL = no; then
8297 { echo "$as_me:$LINENO: result
: $result" >&5
8298 echo "${ECHO_T}$result" >&6; }
8302 defaultval=$wxUSE_ALL_FEATURES
8303 if test -z "$defaultval"; then
8304 if test x"$enablestring" = xdisable; then
8311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8312 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8313 # Check whether --enable-protocol was given.
8314 if test "${enable_protocol+set}" = set; then
8315 enableval=$enable_protocol;
8316 if test "$enableval" = yes; then
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8319 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8324 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8329 eval "$wx_cv_use_protocol"
8331 if test x
"$enablestring" = xdisable
; then
8332 if test $wxUSE_PROTOCOL = no
; then
8338 result
=$wxUSE_PROTOCOL
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8346 defaultval
=$wxUSE_ALL_FEATURES
8347 if test -z "$defaultval"; then
8348 if test x
"$enablestring" = xdisable
; then
8355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8357 # Check whether --enable-protocol_http was given.
8358 if test "${enable_protocol_http+set}" = set; then
8359 enableval
=$enable_protocol_http;
8360 if test "$enableval" = yes; then
8361 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8363 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8368 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8373 eval "$wx_cv_use_protocol_http"
8375 if test x"$enablestring" = xdisable; then
8376 if test $wxUSE_PROTOCOL_HTTP = no; then
8382 result=$wxUSE_PROTOCOL_HTTP
8385 { echo "$as_me:$LINENO: result: $result" >&5
8386 echo "${ECHO_T}$result" >&6; }
8390 defaultval=$wxUSE_ALL_FEATURES
8391 if test -z "$defaultval"; then
8392 if test x"$enablestring" = xdisable; then
8399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8401 # Check whether --enable-protocol_ftp was given.
8402 if test "${enable_protocol_ftp+set}" = set; then
8403 enableval=$enable_protocol_ftp;
8404 if test "$enableval" = yes; then
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8407 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8412 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8417 eval "$wx_cv_use_protocol_ftp"
8419 if test x"$enablestring" = xdisable; then
8420 if test $wxUSE_PROTOCOL_FTP = no; then
8426 result=$wxUSE_PROTOCOL_FTP
8429 { echo "$as_me:$LINENO: result
: $result" >&5
8430 echo "${ECHO_T}$result" >&6; }
8434 defaultval=$wxUSE_ALL_FEATURES
8435 if test -z "$defaultval"; then
8436 if test x"$enablestring" = xdisable; then
8443 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8444 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8445 # Check whether --enable-protocol_file was given.
8446 if test "${enable_protocol_file+set}" = set; then
8447 enableval=$enable_protocol_file;
8448 if test "$enableval" = yes; then
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8451 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8456 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8461 eval "$wx_cv_use_protocol_file"
8463 if test x
"$enablestring" = xdisable
; then
8464 if test $wxUSE_PROTOCOL_FILE = no
; then
8470 result
=$wxUSE_PROTOCOL_FILE
8473 { echo "$as_me:$LINENO: result: $result" >&5
8474 echo "${ECHO_T}$result" >&6; }
8479 defaultval
=$wxUSE_ALL_FEATURES
8480 if test -z "$defaultval"; then
8481 if test x
"$enablestring" = xdisable
; then
8488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8489 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8490 # Check whether --enable-threads was given.
8491 if test "${enable_threads+set}" = set; then
8492 enableval
=$enable_threads;
8493 if test "$enableval" = yes; then
8494 wx_cv_use_threads
='wxUSE_THREADS=yes'
8496 wx_cv_use_threads
='wxUSE_THREADS=no'
8501 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8506 eval "$wx_cv_use_threads"
8508 if test x"$enablestring" = xdisable; then
8509 if test $wxUSE_THREADS = no; then
8515 result=$wxUSE_THREADS
8518 { echo "$as_me:$LINENO: result: $result" >&5
8519 echo "${ECHO_T}$result" >&6; }
8525 if test -z "$defaultval"; then
8526 if test x"$enablestring" = xdisable; then
8533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8535 # Check whether --enable-iniconf was given.
8536 if test "${enable_iniconf+set}" = set; then
8537 enableval=$enable_iniconf;
8538 if test "$enableval" = yes; then
8539 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8541 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8546 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8551 eval "$wx_cv_use_iniconf"
8553 if test x"$enablestring" = xdisable; then
8554 if test $wxUSE_INICONF = no; then
8560 result=$wxUSE_INICONF
8563 { echo "$as_me:$LINENO: result
: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8568 defaultval=$wxUSE_ALL_FEATURES
8569 if test -z "$defaultval"; then
8570 if test x"$enablestring" = xdisable; then
8577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8578 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8579 # Check whether --enable-regkey was given.
8580 if test "${enable_regkey+set}" = set; then
8581 enableval=$enable_regkey;
8582 if test "$enableval" = yes; then
8583 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8585 wx_cv_use_regkey='wxUSE_REGKEY=no'
8590 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8595 eval "$wx_cv_use_regkey"
8597 if test x
"$enablestring" = xdisable
; then
8598 if test $wxUSE_REGKEY = no
; then
8604 result
=$wxUSE_REGKEY
8607 { echo "$as_me:$LINENO: result: $result" >&5
8608 echo "${ECHO_T}$result" >&6; }
8611 if test "$wxUSE_GUI" = "yes"; then
8616 defaultval
=$wxUSE_ALL_FEATURES
8617 if test -z "$defaultval"; then
8618 if test x
"$enablestring" = xdisable
; then
8625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8627 # Check whether --enable-docview was given.
8628 if test "${enable_docview+set}" = set; then
8629 enableval
=$enable_docview;
8630 if test "$enableval" = yes; then
8631 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8633 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8638 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8643 eval "$wx_cv_use_docview"
8645 if test x"$enablestring" = xdisable; then
8646 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8652 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8655 { echo "$as_me:$LINENO: result: $result" >&5
8656 echo "${ECHO_T}$result" >&6; }
8660 defaultval=$wxUSE_ALL_FEATURES
8661 if test -z "$defaultval"; then
8662 if test x"$enablestring" = xdisable; then
8669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8671 # Check whether --enable-help was given.
8672 if test "${enable_help+set}" = set; then
8673 enableval=$enable_help;
8674 if test "$enableval" = yes; then
8675 wx_cv_use_help='wxUSE_HELP
=yes'
8677 wx_cv_use_help='wxUSE_HELP
=no
'
8682 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8687 eval "$wx_cv_use_help"
8689 if test x"$enablestring" = xdisable; then
8690 if test $wxUSE_HELP = no; then
8699 { echo "$as_me:$LINENO: result
: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8704 defaultval=$wxUSE_ALL_FEATURES
8705 if test -z "$defaultval"; then
8706 if test x"$enablestring" = xdisable; then
8713 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8714 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8715 # Check whether --enable-mshtmlhelp was given.
8716 if test "${enable_mshtmlhelp+set}" = set; then
8717 enableval=$enable_mshtmlhelp;
8718 if test "$enableval" = yes; then
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8721 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8726 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8731 eval "$wx_cv_use_mshtmlhelp"
8733 if test x
"$enablestring" = xdisable
; then
8734 if test $wxUSE_MS_HTML_HELP = no
; then
8740 result
=$wxUSE_MS_HTML_HELP
8743 { echo "$as_me:$LINENO: result: $result" >&5
8744 echo "${ECHO_T}$result" >&6; }
8748 defaultval
=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x
"$enablestring" = xdisable
; then
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8759 # Check whether --enable-html was given.
8760 if test "${enable_html+set}" = set; then
8761 enableval
=$enable_html;
8762 if test "$enableval" = yes; then
8763 wx_cv_use_html
='wxUSE_HTML=yes'
8765 wx_cv_use_html
='wxUSE_HTML=no'
8770 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8775 eval "$wx_cv_use_html"
8777 if test x"$enablestring" = xdisable; then
8778 if test $wxUSE_HTML = no; then
8787 { echo "$as_me:$LINENO: result: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8792 defaultval=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x"$enablestring" = xdisable; then
8801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8803 # Check whether --enable-htmlhelp was given.
8804 if test "${enable_htmlhelp+set}" = set; then
8805 enableval=$enable_htmlhelp;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8809 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8814 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8819 eval "$wx_cv_use_htmlhelp"
8821 if test x"$enablestring" = xdisable; then
8822 if test $wxUSE_WXHTML_HELP = no; then
8828 result=$wxUSE_WXHTML_HELP
8831 { echo "$as_me:$LINENO: result
: $result" >&5
8832 echo "${ECHO_T}$result" >&6; }
8836 defaultval=$wxUSE_ALL_FEATURES
8837 if test -z "$defaultval"; then
8838 if test x"$enablestring" = xdisable; then
8845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8846 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8847 # Check whether --enable-xrc was given.
8848 if test "${enable_xrc+set}" = set; then
8849 enableval=$enable_xrc;
8850 if test "$enableval" = yes; then
8851 wx_cv_use_xrc='wxUSE_XRC=yes'
8853 wx_cv_use_xrc='wxUSE_XRC=no'
8858 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8863 eval "$wx_cv_use_xrc"
8865 if test x
"$enablestring" = xdisable
; then
8866 if test $wxUSE_XRC = no
; then
8875 { echo "$as_me:$LINENO: result: $result" >&5
8876 echo "${ECHO_T}$result" >&6; }
8880 defaultval
=$wxUSE_ALL_FEATURES
8881 if test -z "$defaultval"; then
8882 if test x
"$enablestring" = xdisable
; then
8889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8890 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8891 # Check whether --enable-aui was given.
8892 if test "${enable_aui+set}" = set; then
8893 enableval
=$enable_aui;
8894 if test "$enableval" = yes; then
8895 wx_cv_use_aui
='wxUSE_AUI=yes'
8897 wx_cv_use_aui
='wxUSE_AUI=no'
8902 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8907 eval "$wx_cv_use_aui"
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_AUI = no; then
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8935 # Check whether --enable-propgrid was given.
8936 if test "${enable_propgrid+set}" = set; then
8937 enableval=$enable_propgrid;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8941 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8946 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8951 eval "$wx_cv_use_propgrid"
8953 if test x"$enablestring" = xdisable; then
8954 if test $wxUSE_PROPGRID = no; then
8960 result=$wxUSE_PROPGRID
8963 { echo "$as_me:$LINENO: result
: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8968 defaultval=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x"$enablestring" = xdisable; then
8977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8978 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8979 # Check whether --enable-ribbon was given.
8980 if test "${enable_ribbon+set}" = set; then
8981 enableval=$enable_ribbon;
8982 if test "$enableval" = yes; then
8983 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8985 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8990 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8995 eval "$wx_cv_use_ribbon"
8997 if test x
"$enablestring" = xdisable
; then
8998 if test $wxUSE_RIBBON = no
; then
9004 result
=$wxUSE_RIBBON
9007 { echo "$as_me:$LINENO: result: $result" >&5
9008 echo "${ECHO_T}$result" >&6; }
9012 defaultval
=$wxUSE_ALL_FEATURES
9013 if test -z "$defaultval"; then
9014 if test x
"$enablestring" = xdisable
; then
9021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9023 # Check whether --enable-stc was given.
9024 if test "${enable_stc+set}" = set; then
9025 enableval
=$enable_stc;
9026 if test "$enableval" = yes; then
9027 wx_cv_use_stc
='wxUSE_STC=yes'
9029 wx_cv_use_stc
='wxUSE_STC=no'
9034 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9039 eval "$wx_cv_use_stc"
9041 if test x"$enablestring" = xdisable; then
9042 if test $wxUSE_STC = no; then
9051 { echo "$as_me:$LINENO: result: $result" >&5
9052 echo "${ECHO_T}$result" >&6; }
9056 defaultval=$wxUSE_ALL_FEATURES
9057 if test -z "$defaultval"; then
9058 if test x"$enablestring" = xdisable; then
9065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9067 # Check whether --enable-constraints was given.
9068 if test "${enable_constraints+set}" = set; then
9069 enableval=$enable_constraints;
9070 if test "$enableval" = yes; then
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9073 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9078 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9083 eval "$wx_cv_use_constraints"
9085 if test x"$enablestring" = xdisable; then
9086 if test $wxUSE_CONSTRAINTS = no; then
9092 result=$wxUSE_CONSTRAINTS
9095 { echo "$as_me:$LINENO: result
: $result" >&5
9096 echo "${ECHO_T}$result" >&6; }
9100 defaultval=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x"$enablestring" = xdisable; then
9109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9110 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9111 # Check whether --enable-loggui was given.
9112 if test "${enable_loggui+set}" = set; then
9113 enableval=$enable_loggui;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9117 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9122 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9127 eval "$wx_cv_use_loggui"
9129 if test x
"$enablestring" = xdisable
; then
9130 if test $wxUSE_LOGGUI = no
; then
9136 result
=$wxUSE_LOGGUI
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9144 defaultval
=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x
"$enablestring" = xdisable
; then
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9155 # Check whether --enable-logwin was given.
9156 if test "${enable_logwin+set}" = set; then
9157 enableval
=$enable_logwin;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9161 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9166 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9171 eval "$wx_cv_use_logwin"
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_LOGWINDOW = no; then
9180 result=$wxUSE_LOGWINDOW
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9199 # Check whether --enable-logdialog was given.
9200 if test "${enable_logdialog+set}" = set; then
9201 enableval=$enable_logdialog;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9205 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9210 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9215 eval "$wx_cv_use_logdialog"
9217 if test x"$enablestring" = xdisable; then
9218 if test $wxUSE_LOGDIALOG = no; then
9224 result=$wxUSE_LOGDIALOG
9227 { echo "$as_me:$LINENO: result
: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9232 defaultval=$wxUSE_ALL_FEATURES
9233 if test -z "$defaultval"; then
9234 if test x"$enablestring" = xdisable; then
9241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9242 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9243 # Check whether --enable-mdi was given.
9244 if test "${enable_mdi+set}" = set; then
9245 enableval=$enable_mdi;
9246 if test "$enableval" = yes; then
9247 wx_cv_use_mdi='wxUSE_MDI=yes'
9249 wx_cv_use_mdi='wxUSE_MDI=no'
9254 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9259 eval "$wx_cv_use_mdi"
9261 if test x
"$enablestring" = xdisable
; then
9262 if test $wxUSE_MDI = no
; then
9271 { echo "$as_me:$LINENO: result: $result" >&5
9272 echo "${ECHO_T}$result" >&6; }
9276 defaultval
=$wxUSE_ALL_FEATURES
9277 if test -z "$defaultval"; then
9278 if test x
"$enablestring" = xdisable
; then
9285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9287 # Check whether --enable-mdidoc was given.
9288 if test "${enable_mdidoc+set}" = set; then
9289 enableval
=$enable_mdidoc;
9290 if test "$enableval" = yes; then
9291 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9293 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9298 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9303 eval "$wx_cv_use_mdidoc"
9305 if test x"$enablestring" = xdisable; then
9306 if test $wxUSE_MDI_ARCHITECTURE = no; then
9312 result=$wxUSE_MDI_ARCHITECTURE
9315 { echo "$as_me:$LINENO: result: $result" >&5
9316 echo "${ECHO_T}$result" >&6; }
9320 defaultval=$wxUSE_ALL_FEATURES
9321 if test -z "$defaultval"; then
9322 if test x"$enablestring" = xdisable; then
9329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9331 # Check whether --enable-mediactrl was given.
9332 if test "${enable_mediactrl+set}" = set; then
9333 enableval=$enable_mediactrl;
9334 if test "$enableval" = yes; then
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9337 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9342 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9347 eval "$wx_cv_use_mediactrl"
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_MEDIACTRL = no; then
9356 result=$wxUSE_MEDIACTRL
9359 { echo "$as_me:$LINENO: result
: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9364 defaultval=$wxUSE_ALL_FEATURES
9365 if test -z "$defaultval"; then
9366 if test x"$enablestring" = xdisable; then
9373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9374 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9375 # Check whether --enable-gstreamer8 was given.
9376 if test "${enable_gstreamer8+set}" = set; then
9377 enableval=$enable_gstreamer8;
9378 if test "$enableval" = yes; then
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9381 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9386 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9391 eval "$wx_cv_use_gstreamer8"
9393 if test x
"$enablestring" = xdisable
; then
9394 if test $wxUSE_GSTREAMER8 = no
; then
9400 result
=$wxUSE_GSTREAMER8
9403 { echo "$as_me:$LINENO: result: $result" >&5
9404 echo "${ECHO_T}$result" >&6; }
9408 defaultval
=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x
"$enablestring" = xdisable
; then
9417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9419 # Check whether --enable-webkit was given.
9420 if test "${enable_webkit+set}" = set; then
9421 enableval
=$enable_webkit;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9425 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9430 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9435 eval "$wx_cv_use_webkit"
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_WEBKIT = no; then
9444 result=$wxUSE_WEBKIT
9447 { echo "$as_me:$LINENO: result: $result" >&5
9448 echo "${ECHO_T}$result" >&6; }
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9463 # Check whether --enable-richtext was given.
9464 if test "${enable_richtext+set}" = set; then
9465 enableval=$enable_richtext;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9469 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9474 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9479 eval "$wx_cv_use_richtext"
9481 if test x"$enablestring" = xdisable; then
9482 if test $wxUSE_RICHTEXT = no; then
9488 result=$wxUSE_RICHTEXT
9491 { echo "$as_me:$LINENO: result
: $result" >&5
9492 echo "${ECHO_T}$result" >&6; }
9496 defaultval=$wxUSE_ALL_FEATURES
9497 if test -z "$defaultval"; then
9498 if test x"$enablestring" = xdisable; then
9505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9506 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9507 # Check whether --enable-postscript was given.
9508 if test "${enable_postscript+set}" = set; then
9509 enableval=$enable_postscript;
9510 if test "$enableval" = yes; then
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9518 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9523 eval "$wx_cv_use_postscript"
9525 if test x
"$enablestring" = xdisable
; then
9526 if test $wxUSE_POSTSCRIPT = no
; then
9532 result
=$wxUSE_POSTSCRIPT
9535 { echo "$as_me:$LINENO: result: $result" >&5
9536 echo "${ECHO_T}$result" >&6; }
9540 defaultval
=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x
"$enablestring" = xdisable
; then
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9551 # Check whether --enable-printarch was given.
9552 if test "${enable_printarch+set}" = set; then
9553 enableval
=$enable_printarch;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9557 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9562 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9567 eval "$wx_cv_use_printarch"
9569 if test x"$enablestring" = xdisable; then
9570 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9576 result=$wxUSE_PRINTING_ARCHITECTURE
9579 { echo "$as_me:$LINENO: result: $result" >&5
9580 echo "${ECHO_T}$result" >&6; }
9584 defaultval=$wxUSE_ALL_FEATURES
9585 if test -z "$defaultval"; then
9586 if test x"$enablestring" = xdisable; then
9593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9595 # Check whether --enable-svg was given.
9596 if test "${enable_svg+set}" = set; then
9597 enableval=$enable_svg;
9598 if test "$enableval" = yes; then
9599 wx_cv_use_svg='wxUSE_SVG
=yes'
9601 wx_cv_use_svg='wxUSE_SVG
=no
'
9606 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9611 eval "$wx_cv_use_svg"
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_SVG = no; then
9623 { echo "$as_me:$LINENO: result
: $result" >&5
9624 echo "${ECHO_T}$result" >&6; }
9627 if test "$wxUSE_MAC" != 1; then
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9639 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9640 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9641 # Check whether --enable-graphics_ctx was given.
9642 if test "${enable_graphics_ctx+set}" = set; then
9643 enableval=$enable_graphics_ctx;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9647 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9652 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9657 eval "$wx_cv_use_graphics_ctx"
9659 if test x
"$enablestring" = xdisable
; then
9660 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9666 result
=$wxUSE_GRAPHICS_CONTEXT
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9677 defaultval
=$wxUSE_ALL_FEATURES
9678 if test -z "$defaultval"; then
9679 if test x
"$enablestring" = xdisable
; then
9686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9688 # Check whether --enable-clipboard was given.
9689 if test "${enable_clipboard+set}" = set; then
9690 enableval
=$enable_clipboard;
9691 if test "$enableval" = yes; then
9692 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9694 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9699 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9704 eval "$wx_cv_use_clipboard"
9706 if test x"$enablestring" = xdisable; then
9707 if test $wxUSE_CLIPBOARD = no; then
9713 result=$wxUSE_CLIPBOARD
9716 { echo "$as_me:$LINENO: result: $result" >&5
9717 echo "${ECHO_T}$result" >&6; }
9721 defaultval=$wxUSE_ALL_FEATURES
9722 if test -z "$defaultval"; then
9723 if test x"$enablestring" = xdisable; then
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9732 # Check whether --enable-dnd was given.
9733 if test "${enable_dnd+set}" = set; then
9734 enableval=$enable_dnd;
9735 if test "$enableval" = yes; then
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9738 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9743 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9748 eval "$wx_cv_use_dnd"
9750 if test x"$enablestring" = xdisable; then
9751 if test $wxUSE_DRAG_AND_DROP = no; then
9757 result=$wxUSE_DRAG_AND_DROP
9760 { echo "$as_me:$LINENO: result
: $result" >&5
9761 echo "${ECHO_T}$result" >&6; }
9765 defaultval=$wxUSE_ALL_FEATURES
9766 if test -z "$defaultval"; then
9767 if test x"$enablestring" = xdisable; then
9774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9775 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9776 # Check whether --enable-metafile was given.
9777 if test "${enable_metafile+set}" = set; then
9778 enableval=$enable_metafile;
9779 if test "$enableval" = yes; then
9780 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9782 wx_cv_use_metafile='wxUSE_METAFILE=no'
9787 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9792 eval "$wx_cv_use_metafile"
9794 if test x
"$enablestring" = xdisable
; then
9795 if test $wxUSE_METAFILE = no
; then
9801 result
=$wxUSE_METAFILE
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9809 DEFAULT_wxUSE_CONTROLS
=none
9811 enablestring
=disable
9813 if test -z "$defaultval"; then
9814 if test x
"$enablestring" = xdisable
; then
9821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9822 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9823 # Check whether --enable-controls was given.
9824 if test "${enable_controls+set}" = set; then
9825 enableval
=$enable_controls;
9826 if test "$enableval" = yes; then
9827 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9829 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9834 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9839 eval "$wx_cv_use_controls"
9841 if test x"$enablestring" = xdisable; then
9842 if test $wxUSE_CONTROLS = no; then
9848 result=$wxUSE_CONTROLS
9851 { echo "$as_me:$LINENO: result: $result" >&5
9852 echo "${ECHO_T}$result" >&6; }
9855 if test "$wxUSE_CONTROLS" = "no"; then
9856 DEFAULT_wxUSE_ACCEL=no
9857 DEFAULT_wxUSE_ANIMATIONCTRL=no
9858 DEFAULT_wxUSE_BANNERWINDOW=no
9859 DEFAULT_wxUSE_BMPBUTTON=no
9860 DEFAULT_wxUSE_BUTTON=no
9861 DEFAULT_wxUSE_CALCTRL=no
9862 DEFAULT_wxUSE_CARET=no
9863 DEFAULT_wxUSE_CHECKBOX=no
9864 DEFAULT_wxUSE_CHECKLISTBOX=no
9865 DEFAULT_wxUSE_CHOICE=no
9866 DEFAULT_wxUSE_CHOICEBOOK=no
9867 DEFAULT_wxUSE_COLLPANE=no
9868 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9869 DEFAULT_wxUSE_COMBOBOX=no
9870 DEFAULT_wxUSE_COMBOBOX=no
9871 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9872 DEFAULT_wxUSE_DATAVIEWCTRL=no
9873 DEFAULT_wxUSE_DATEPICKCTRL=no
9874 DEFAULT_wxUSE_DETECT_SM=no
9875 DEFAULT_wxUSE_DIRPICKERCTRL=no
9876 DEFAULT_wxUSE_DISPLAY=no
9877 DEFAULT_wxUSE_FILECTRL=no
9878 DEFAULT_wxUSE_FILEPICKERCTRL=no
9879 DEFAULT_wxUSE_FONTPICKERCTRL=no
9880 DEFAULT_wxUSE_GAUGE=no
9881 DEFAULT_wxUSE_GRID=no
9882 DEFAULT_wxUSE_HEADERCTRL=no
9883 DEFAULT_wxUSE_HYPERLINKCTRL=no
9884 DEFAULT_wxUSE_IMAGLIST=no
9885 DEFAULT_wxUSE_LISTBOOK=no
9886 DEFAULT_wxUSE_LISTBOX=no
9887 DEFAULT_wxUSE_LISTCTRL=no
9888 DEFAULT_wxUSE_MARKUP=no
9889 DEFAULT_wxUSE_NOTEBOOK=no
9890 DEFAULT_wxUSE_POPUPWIN=no
9891 DEFAULT_wxUSE_RADIOBOX=no
9892 DEFAULT_wxUSE_RADIOBTN=no
9893 DEFAULT_wxUSE_RICHMSGDLG=no
9894 DEFAULT_wxUSE_REARRANGECTRL=no
9895 DEFAULT_wxUSE_SASH=no
9896 DEFAULT_wxUSE_SCROLLBAR=no
9897 DEFAULT_wxUSE_SEARCHCTRL=no
9898 DEFAULT_wxUSE_SLIDER=no
9899 DEFAULT_wxUSE_SPINBTN=no
9900 DEFAULT_wxUSE_SPINCTRL=no
9901 DEFAULT_wxUSE_SPLITTER=no
9902 DEFAULT_wxUSE_STATBMP=no
9903 DEFAULT_wxUSE_STATBOX=no
9904 DEFAULT_wxUSE_STATLINE=no
9905 DEFAULT_wxUSE_STATUSBAR=no
9906 DEFAULT_wxUSE_TIPWINDOW=no
9907 DEFAULT_wxUSE_TOGGLEBTN=no
9908 DEFAULT_wxUSE_TOOLBAR=no
9909 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9910 DEFAULT_wxUSE_TOOLBOOK=no
9911 DEFAULT_wxUSE_TOOLTIPS=no
9912 DEFAULT_wxUSE_TREEBOOK=no
9913 DEFAULT_wxUSE_TREECTRL=no
9914 DEFAULT_wxUSE_TREELISTCTRL=no
9919 defaultval=$wxUSE_ALL_FEATURES
9920 if test -z "$defaultval"; then
9921 if test x"$enablestring" = xdisable; then
9928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9930 # Check whether --enable-markup was given.
9931 if test "${enable_markup+set}" = set; then
9932 enableval=$enable_markup;
9933 if test "$enableval" = yes; then
9934 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9936 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9941 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9946 eval "$wx_cv_use_markup"
9948 if test x"$enablestring" = xdisable; then
9949 if test $wxUSE_MARKUP = no; then
9955 result=$wxUSE_MARKUP
9958 { echo "$as_me:$LINENO: result
: $result" >&5
9959 echo "${ECHO_T}$result" >&6; }
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9973 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9974 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9975 # Check whether --enable-accel was given.
9976 if test "${enable_accel+set}" = set; then
9977 enableval=$enable_accel;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_accel='wxUSE_ACCEL=yes'
9981 wx_cv_use_accel='wxUSE_ACCEL=no'
9986 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9991 eval "$wx_cv_use_accel"
9993 if test x
"$enablestring" = xdisable
; then
9994 if test $wxUSE_ACCEL = no
; then
10000 result
=$wxUSE_ACCEL
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10008 defaultval
=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x
"$enablestring" = xdisable
; then
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10019 # Check whether --enable-animatectrl was given.
10020 if test "${enable_animatectrl+set}" = set; then
10021 enableval
=$enable_animatectrl;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10025 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10030 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10035 eval "$wx_cv_use_animatectrl"
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_ANIMATIONCTRL = no; then
10044 result=$wxUSE_ANIMATIONCTRL
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10063 # Check whether --enable-bannerwindow was given.
10064 if test "${enable_bannerwindow+set}" = set; then
10065 enableval=$enable_bannerwindow;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10069 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10074 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10079 eval "$wx_cv_use_bannerwindow"
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_BANNERWINDOW = no; then
10088 result=$wxUSE_BANNERWINDOW
10091 { echo "$as_me:$LINENO: result
: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10106 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10107 # Check whether --enable-artstd was given.
10108 if test "${enable_artstd+set}" = set; then
10109 enableval=$enable_artstd;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10113 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10118 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10123 eval "$wx_cv_use_artstd"
10125 if test x
"$enablestring" = xdisable
; then
10126 if test $wxUSE_ARTPROVIDER_STD = no
; then
10132 result
=$wxUSE_ARTPROVIDER_STD
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10140 defaultval
=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x
"$enablestring" = xdisable
; then
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10151 # Check whether --enable-arttango was given.
10152 if test "${enable_arttango+set}" = set; then
10153 enableval
=$enable_arttango;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10157 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10162 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10167 eval "$wx_cv_use_arttango"
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10176 result=$wxUSE_ARTPROVIDER_TANGO
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10195 # Check whether --enable-bmpbutton was given.
10196 if test "${enable_bmpbutton+set}" = set; then
10197 enableval=$enable_bmpbutton;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10201 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10206 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10211 eval "$wx_cv_use_bmpbutton"
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_BMPBUTTON = no; then
10220 result=$wxUSE_BMPBUTTON
10223 { echo "$as_me:$LINENO: result
: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10238 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10239 # Check whether --enable-bmpcombobox was given.
10240 if test "${enable_bmpcombobox+set}" = set; then
10241 enableval=$enable_bmpcombobox;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10245 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10250 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10255 eval "$wx_cv_use_bmpcombobox"
10257 if test x
"$enablestring" = xdisable
; then
10258 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10264 result
=$wxUSE_BITMAPCOMBOBOX
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10272 defaultval
=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x
"$enablestring" = xdisable
; then
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10283 # Check whether --enable-button was given.
10284 if test "${enable_button+set}" = set; then
10285 enableval
=$enable_button;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_button
='wxUSE_BUTTON=yes'
10289 wx_cv_use_button
='wxUSE_BUTTON=no'
10294 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10299 eval "$wx_cv_use_button"
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_BUTTON = no; then
10308 result=$wxUSE_BUTTON
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10327 # Check whether --enable-calendar was given.
10328 if test "${enable_calendar+set}" = set; then
10329 enableval=$enable_calendar;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10333 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10338 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10343 eval "$wx_cv_use_calendar"
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_CALCTRL = no; then
10352 result=$wxUSE_CALCTRL
10355 { echo "$as_me:$LINENO: result
: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10369 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10370 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10371 # Check whether --enable-caret was given.
10372 if test "${enable_caret+set}" = set; then
10373 enableval=$enable_caret;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_caret='wxUSE_CARET=yes'
10377 wx_cv_use_caret='wxUSE_CARET=no'
10382 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10387 eval "$wx_cv_use_caret"
10389 if test x
"$enablestring" = xdisable
; then
10390 if test $wxUSE_CARET = no
; then
10396 result
=$wxUSE_CARET
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10404 defaultval
=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x
"$enablestring" = xdisable
; then
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10415 # Check whether --enable-checkbox was given.
10416 if test "${enable_checkbox+set}" = set; then
10417 enableval
=$enable_checkbox;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10421 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10426 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10431 eval "$wx_cv_use_checkbox"
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_CHECKBOX = no; then
10440 result=$wxUSE_CHECKBOX
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10459 # Check whether --enable-checklst was given.
10460 if test "${enable_checklst+set}" = set; then
10461 enableval=$enable_checklst;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10465 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10470 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10475 eval "$wx_cv_use_checklst"
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_CHECKLST = no; then
10484 result=$wxUSE_CHECKLST
10487 { echo "$as_me:$LINENO: result
: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10501 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10502 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10503 # Check whether --enable-choice was given.
10504 if test "${enable_choice+set}" = set; then
10505 enableval=$enable_choice;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_choice='wxUSE_CHOICE=yes'
10509 wx_cv_use_choice='wxUSE_CHOICE=no'
10514 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10519 eval "$wx_cv_use_choice"
10521 if test x
"$enablestring" = xdisable
; then
10522 if test $wxUSE_CHOICE = no
; then
10528 result
=$wxUSE_CHOICE
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10536 defaultval
=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x
"$enablestring" = xdisable
; then
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10547 # Check whether --enable-choicebook was given.
10548 if test "${enable_choicebook+set}" = set; then
10549 enableval
=$enable_choicebook;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10553 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10558 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10563 eval "$wx_cv_use_choicebook"
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_CHOICEBOOK = no; then
10572 result=$wxUSE_CHOICEBOOK
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10591 # Check whether --enable-collpane was given.
10592 if test "${enable_collpane+set}" = set; then
10593 enableval=$enable_collpane;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10597 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10602 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10607 eval "$wx_cv_use_collpane"
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_COLLPANE = no; then
10616 result=$wxUSE_COLLPANE
10619 { echo "$as_me:$LINENO: result
: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10634 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10635 # Check whether --enable-colourpicker was given.
10636 if test "${enable_colourpicker+set}" = set; then
10637 enableval=$enable_colourpicker;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10641 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10646 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10651 eval "$wx_cv_use_colourpicker"
10653 if test x
"$enablestring" = xdisable
; then
10654 if test $wxUSE_COLOURPICKERCTRL = no
; then
10660 result
=$wxUSE_COLOURPICKERCTRL
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10668 defaultval
=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x
"$enablestring" = xdisable
; then
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10679 # Check whether --enable-combobox was given.
10680 if test "${enable_combobox+set}" = set; then
10681 enableval
=$enable_combobox;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10685 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10690 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10695 eval "$wx_cv_use_combobox"
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_COMBOBOX = no; then
10704 result=$wxUSE_COMBOBOX
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10723 # Check whether --enable-comboctrl was given.
10724 if test "${enable_comboctrl+set}" = set; then
10725 enableval=$enable_comboctrl;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10729 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10734 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10739 eval "$wx_cv_use_comboctrl"
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_COMBOCTRL = no; then
10748 result=$wxUSE_COMBOCTRL
10751 { echo "$as_me:$LINENO: result
: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10766 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10767 # Check whether --enable-commandlinkbutton was given.
10768 if test "${enable_commandlinkbutton+set}" = set; then
10769 enableval=$enable_commandlinkbutton;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10773 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10778 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10783 eval "$wx_cv_use_commandlinkbutton"
10785 if test x
"$enablestring" = xdisable
; then
10786 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10792 result
=$wxUSE_COMMANDLINKBUTTON
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10800 defaultval
=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x
"$enablestring" = xdisable
; then
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10811 # Check whether --enable-dataviewctrl was given.
10812 if test "${enable_dataviewctrl+set}" = set; then
10813 enableval
=$enable_dataviewctrl;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10817 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10822 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10827 eval "$wx_cv_use_dataviewctrl"
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_DATAVIEWCTRL = no; then
10836 result=$wxUSE_DATAVIEWCTRL
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10855 # Check whether --enable-datepick was given.
10856 if test "${enable_datepick+set}" = set; then
10857 enableval=$enable_datepick;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10861 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10866 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10871 eval "$wx_cv_use_datepick"
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_DATEPICKCTRL = no; then
10880 result=$wxUSE_DATEPICKCTRL
10883 { echo "$as_me:$LINENO: result
: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10898 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10899 # Check whether --enable-detect_sm was given.
10900 if test "${enable_detect_sm+set}" = set; then
10901 enableval=$enable_detect_sm;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10905 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10910 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10915 eval "$wx_cv_use_detect_sm"
10917 if test x
"$enablestring" = xdisable
; then
10918 if test $wxUSE_DETECT_SM = no
; then
10924 result
=$wxUSE_DETECT_SM
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10932 defaultval
=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x
"$enablestring" = xdisable
; then
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10943 # Check whether --enable-dirpicker was given.
10944 if test "${enable_dirpicker+set}" = set; then
10945 enableval
=$enable_dirpicker;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10949 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10954 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10959 eval "$wx_cv_use_dirpicker"
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_DIRPICKERCTRL = no; then
10968 result=$wxUSE_DIRPICKERCTRL
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10987 # Check whether --enable-display was given.
10988 if test "${enable_display+set}" = set; then
10989 enableval=$enable_display;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10993 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10998 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11003 eval "$wx_cv_use_display"
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_DISPLAY = no; then
11012 result=$wxUSE_DISPLAY
11015 { echo "$as_me:$LINENO: result
: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11030 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11031 # Check whether --enable-editablebox was given.
11032 if test "${enable_editablebox+set}" = set; then
11033 enableval=$enable_editablebox;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11037 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11042 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11047 eval "$wx_cv_use_editablebox"
11049 if test x
"$enablestring" = xdisable
; then
11050 if test $wxUSE_EDITABLELISTBOX = no
; then
11056 result
=$wxUSE_EDITABLELISTBOX
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11064 defaultval
=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x
"$enablestring" = xdisable
; then
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11075 # Check whether --enable-filectrl was given.
11076 if test "${enable_filectrl+set}" = set; then
11077 enableval
=$enable_filectrl;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11081 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11086 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11091 eval "$wx_cv_use_filectrl"
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_FILECTRL = no; then
11100 result=$wxUSE_FILECTRL
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11119 # Check whether --enable-filepicker was given.
11120 if test "${enable_filepicker+set}" = set; then
11121 enableval=$enable_filepicker;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11125 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11130 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11135 eval "$wx_cv_use_filepicker"
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_FILEPICKERCTRL = no; then
11144 result=$wxUSE_FILEPICKERCTRL
11147 { echo "$as_me:$LINENO: result
: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11162 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11163 # Check whether --enable-fontpicker was given.
11164 if test "${enable_fontpicker+set}" = set; then
11165 enableval=$enable_fontpicker;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11169 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11174 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11179 eval "$wx_cv_use_fontpicker"
11181 if test x
"$enablestring" = xdisable
; then
11182 if test $wxUSE_FONTPICKERCTRL = no
; then
11188 result
=$wxUSE_FONTPICKERCTRL
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11196 defaultval
=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x
"$enablestring" = xdisable
; then
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11207 # Check whether --enable-gauge was given.
11208 if test "${enable_gauge+set}" = set; then
11209 enableval
=$enable_gauge;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11213 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11218 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11223 eval "$wx_cv_use_gauge"
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_GAUGE = no; then
11232 result=$wxUSE_GAUGE
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11251 # Check whether --enable-grid was given.
11252 if test "${enable_grid+set}" = set; then
11253 enableval=$enable_grid;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_grid='wxUSE_GRID
=yes'
11257 wx_cv_use_grid='wxUSE_GRID
=no
'
11262 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11267 eval "$wx_cv_use_grid"
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_GRID = no; then
11279 { echo "$as_me:$LINENO: result
: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11294 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11295 # Check whether --enable-headerctrl was given.
11296 if test "${enable_headerctrl+set}" = set; then
11297 enableval=$enable_headerctrl;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11301 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11306 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11311 eval "$wx_cv_use_headerctrl"
11313 if test x
"$enablestring" = xdisable
; then
11314 if test $wxUSE_HEADERCTRL = no
; then
11320 result
=$wxUSE_HEADERCTRL
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11328 defaultval
=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x
"$enablestring" = xdisable
; then
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11339 # Check whether --enable-hyperlink was given.
11340 if test "${enable_hyperlink+set}" = set; then
11341 enableval
=$enable_hyperlink;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11345 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11350 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11355 eval "$wx_cv_use_hyperlink"
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_HYPERLINKCTRL = no; then
11364 result=$wxUSE_HYPERLINKCTRL
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11383 # Check whether --enable-imaglist was given.
11384 if test "${enable_imaglist+set}" = set; then
11385 enableval=$enable_imaglist;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11389 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11394 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11399 eval "$wx_cv_use_imaglist"
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_IMAGLIST = no; then
11408 result=$wxUSE_IMAGLIST
11411 { echo "$as_me:$LINENO: result
: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11426 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11427 # Check whether --enable-infobar was given.
11428 if test "${enable_infobar+set}" = set; then
11429 enableval=$enable_infobar;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11433 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11438 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11443 eval "$wx_cv_use_infobar"
11445 if test x
"$enablestring" = xdisable
; then
11446 if test $wxUSE_INFOBAR = no
; then
11452 result
=$wxUSE_INFOBAR
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11460 defaultval
=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x
"$enablestring" = xdisable
; then
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11471 # Check whether --enable-listbook was given.
11472 if test "${enable_listbook+set}" = set; then
11473 enableval
=$enable_listbook;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11477 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11482 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11487 eval "$wx_cv_use_listbook"
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_LISTBOOK = no; then
11496 result=$wxUSE_LISTBOOK
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11515 # Check whether --enable-listbox was given.
11516 if test "${enable_listbox+set}" = set; then
11517 enableval=$enable_listbox;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11521 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11526 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11531 eval "$wx_cv_use_listbox"
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_LISTBOX = no; then
11540 result=$wxUSE_LISTBOX
11543 { echo "$as_me:$LINENO: result
: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11558 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11559 # Check whether --enable-listctrl was given.
11560 if test "${enable_listctrl+set}" = set; then
11561 enableval=$enable_listctrl;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11565 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11570 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11575 eval "$wx_cv_use_listctrl"
11577 if test x
"$enablestring" = xdisable
; then
11578 if test $wxUSE_LISTCTRL = no
; then
11584 result
=$wxUSE_LISTCTRL
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11592 defaultval
=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x
"$enablestring" = xdisable
; then
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11603 # Check whether --enable-notebook was given.
11604 if test "${enable_notebook+set}" = set; then
11605 enableval
=$enable_notebook;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11609 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11614 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11619 eval "$wx_cv_use_notebook"
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_NOTEBOOK = no; then
11628 result=$wxUSE_NOTEBOOK
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11647 # Check whether --enable-notifmsg was given.
11648 if test "${enable_notifmsg+set}" = set; then
11649 enableval=$enable_notifmsg;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11653 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11658 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11663 eval "$wx_cv_use_notifmsg"
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11672 result=$wxUSE_NOTIFICATION_MESSAGE
11675 { echo "$as_me:$LINENO: result
: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11690 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11691 # Check whether --enable-odcombobox was given.
11692 if test "${enable_odcombobox+set}" = set; then
11693 enableval=$enable_odcombobox;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11697 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11702 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11707 eval "$wx_cv_use_odcombobox"
11709 if test x
"$enablestring" = xdisable
; then
11710 if test $wxUSE_ODCOMBOBOX = no
; then
11716 result
=$wxUSE_ODCOMBOBOX
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11724 defaultval
=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x
"$enablestring" = xdisable
; then
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11735 # Check whether --enable-popupwin was given.
11736 if test "${enable_popupwin+set}" = set; then
11737 enableval
=$enable_popupwin;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11741 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11746 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11751 eval "$wx_cv_use_popupwin"
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_POPUPWIN = no; then
11760 result=$wxUSE_POPUPWIN
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11779 # Check whether --enable-radiobox was given.
11780 if test "${enable_radiobox+set}" = set; then
11781 enableval=$enable_radiobox;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11785 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11790 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11795 eval "$wx_cv_use_radiobox"
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_RADIOBOX = no; then
11804 result=$wxUSE_RADIOBOX
11807 { echo "$as_me:$LINENO: result
: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11822 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11823 # Check whether --enable-radiobtn was given.
11824 if test "${enable_radiobtn+set}" = set; then
11825 enableval=$enable_radiobtn;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11829 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11834 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11839 eval "$wx_cv_use_radiobtn"
11841 if test x
"$enablestring" = xdisable
; then
11842 if test $wxUSE_RADIOBTN = no
; then
11848 result
=$wxUSE_RADIOBTN
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11856 defaultval
=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x
"$enablestring" = xdisable
; then
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11867 # Check whether --enable-richmsgdlg was given.
11868 if test "${enable_richmsgdlg+set}" = set; then
11869 enableval
=$enable_richmsgdlg;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11873 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11878 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11883 eval "$wx_cv_use_richmsgdlg"
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_RICHMSGDLG = no; then
11892 result=$wxUSE_RICHMSGDLG
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11911 # Check whether --enable-rearrangectrl was given.
11912 if test "${enable_rearrangectrl+set}" = set; then
11913 enableval=$enable_rearrangectrl;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11917 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11922 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11927 eval "$wx_cv_use_rearrangectrl"
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_REARRANGECTRL = no; then
11936 result=$wxUSE_REARRANGECTRL
11939 { echo "$as_me:$LINENO: result
: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11954 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11955 # Check whether --enable-sash was given.
11956 if test "${enable_sash+set}" = set; then
11957 enableval=$enable_sash;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_sash='wxUSE_SASH=yes'
11961 wx_cv_use_sash='wxUSE_SASH=no'
11966 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11971 eval "$wx_cv_use_sash"
11973 if test x
"$enablestring" = xdisable
; then
11974 if test $wxUSE_SASH = no
; then
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11988 defaultval
=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x
"$enablestring" = xdisable
; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11999 # Check whether --enable-scrollbar was given.
12000 if test "${enable_scrollbar+set}" = set; then
12001 enableval
=$enable_scrollbar;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12005 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12010 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12015 eval "$wx_cv_use_scrollbar"
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_SCROLLBAR = no; then
12024 result=$wxUSE_SCROLLBAR
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12043 # Check whether --enable-searchctrl was given.
12044 if test "${enable_searchctrl+set}" = set; then
12045 enableval=$enable_searchctrl;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
12049 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
12054 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12059 eval "$wx_cv_use_searchctrl"
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_SEARCHCTRL = no; then
12068 result=$wxUSE_SEARCHCTRL
12071 { echo "$as_me:$LINENO: result
: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
12086 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
12087 # Check whether --enable-slider was given.
12088 if test "${enable_slider+set}" = set; then
12089 enableval=$enable_slider;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_slider='wxUSE_SLIDER=yes'
12093 wx_cv_use_slider='wxUSE_SLIDER=no'
12098 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12103 eval "$wx_cv_use_slider"
12105 if test x
"$enablestring" = xdisable
; then
12106 if test $wxUSE_SLIDER = no
; then
12112 result
=$wxUSE_SLIDER
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12120 defaultval
=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x
"$enablestring" = xdisable
; then
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12131 # Check whether --enable-spinbtn was given.
12132 if test "${enable_spinbtn+set}" = set; then
12133 enableval
=$enable_spinbtn;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
12137 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
12142 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12147 eval "$wx_cv_use_spinbtn"
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_SPINBTN = no; then
12156 result=$wxUSE_SPINBTN
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12175 # Check whether --enable-spinctrl was given.
12176 if test "${enable_spinctrl+set}" = set; then
12177 enableval=$enable_spinctrl;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
12181 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
12186 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12191 eval "$wx_cv_use_spinctrl"
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_SPINCTRL = no; then
12200 result=$wxUSE_SPINCTRL
12203 { echo "$as_me:$LINENO: result
: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
12218 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
12219 # Check whether --enable-splitter was given.
12220 if test "${enable_splitter+set}" = set; then
12221 enableval=$enable_splitter;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12225 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12230 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12235 eval "$wx_cv_use_splitter"
12237 if test x
"$enablestring" = xdisable
; then
12238 if test $wxUSE_SPLITTER = no
; then
12244 result
=$wxUSE_SPLITTER
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12252 defaultval
=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x
"$enablestring" = xdisable
; then
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12263 # Check whether --enable-statbmp was given.
12264 if test "${enable_statbmp+set}" = set; then
12265 enableval
=$enable_statbmp;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
12269 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
12274 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12279 eval "$wx_cv_use_statbmp"
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_STATBMP = no; then
12288 result=$wxUSE_STATBMP
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12307 # Check whether --enable-statbox was given.
12308 if test "${enable_statbox+set}" = set; then
12309 enableval=$enable_statbox;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12313 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12318 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12323 eval "$wx_cv_use_statbox"
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_STATBOX = no; then
12332 result=$wxUSE_STATBOX
12335 { echo "$as_me:$LINENO: result
: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12350 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12351 # Check whether --enable-statline was given.
12352 if test "${enable_statline+set}" = set; then
12353 enableval=$enable_statline;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_statline='wxUSE_STATLINE=yes'
12357 wx_cv_use_statline='wxUSE_STATLINE=no'
12362 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12367 eval "$wx_cv_use_statline"
12369 if test x
"$enablestring" = xdisable
; then
12370 if test $wxUSE_STATLINE = no
; then
12376 result
=$wxUSE_STATLINE
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12384 defaultval
=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x
"$enablestring" = xdisable
; then
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12395 # Check whether --enable-stattext was given.
12396 if test "${enable_stattext+set}" = set; then
12397 enableval
=$enable_stattext;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12401 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12406 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12411 eval "$wx_cv_use_stattext"
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_STATTEXT = no; then
12420 result=$wxUSE_STATTEXT
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12439 # Check whether --enable-statusbar was given.
12440 if test "${enable_statusbar+set}" = set; then
12441 enableval=$enable_statusbar;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12445 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12450 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12455 eval "$wx_cv_use_statusbar"
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_STATUSBAR = no; then
12464 result=$wxUSE_STATUSBAR
12467 { echo "$as_me:$LINENO: result
: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12482 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12483 # Check whether --enable-taskbaricon was given.
12484 if test "${enable_taskbaricon+set}" = set; then
12485 enableval=$enable_taskbaricon;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12494 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12499 eval "$wx_cv_use_taskbaricon"
12501 if test x
"$enablestring" = xdisable
; then
12502 if test $wxUSE_TASKBARICON = no
; then
12508 result
=$wxUSE_TASKBARICON
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12516 defaultval
=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x
"$enablestring" = xdisable
; then
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12527 # Check whether --enable-tbarnative was given.
12528 if test "${enable_tbarnative+set}" = set; then
12529 enableval
=$enable_tbarnative;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12533 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12538 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12543 eval "$wx_cv_use_tbarnative"
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_TOOLBAR_NATIVE = no; then
12552 result=$wxUSE_TOOLBAR_NATIVE
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12571 # Check whether --enable-textctrl was given.
12572 if test "${enable_textctrl+set}" = set; then
12573 enableval=$enable_textctrl;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12577 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12582 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12587 eval "$wx_cv_use_textctrl"
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_TEXTCTRL = no; then
12596 result=$wxUSE_TEXTCTRL
12599 { echo "$as_me:$LINENO: result
: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12614 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12615 # Check whether --enable-tipwindow was given.
12616 if test "${enable_tipwindow+set}" = set; then
12617 enableval=$enable_tipwindow;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12621 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12626 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12631 eval "$wx_cv_use_tipwindow"
12633 if test x
"$enablestring" = xdisable
; then
12634 if test $wxUSE_TIPWINDOW = no
; then
12640 result
=$wxUSE_TIPWINDOW
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12648 defaultval
=$wxUSE_ALL_FEATURES
12649 if test -z "$defaultval"; then
12650 if test x
"$enablestring" = xdisable
; then
12657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12658 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12659 # Check whether --enable-togglebtn was given.
12660 if test "${enable_togglebtn+set}" = set; then
12661 enableval
=$enable_togglebtn;
12662 if test "$enableval" = yes; then
12663 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12665 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12670 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12675 eval "$wx_cv_use_togglebtn"
12677 if test x"$enablestring" = xdisable; then
12678 if test $wxUSE_TOGGLEBTN = no; then
12684 result=$wxUSE_TOGGLEBTN
12687 { echo "$as_me:$LINENO: result: $result" >&5
12688 echo "${ECHO_T}$result" >&6; }
12692 defaultval=$wxUSE_ALL_FEATURES
12693 if test -z "$defaultval"; then
12694 if test x"$enablestring" = xdisable; then
12701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12702 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12703 # Check whether --enable-toolbar was given.
12704 if test "${enable_toolbar+set}" = set; then
12705 enableval=$enable_toolbar;
12706 if test "$enableval" = yes; then
12707 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12709 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12714 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12719 eval "$wx_cv_use_toolbar"
12721 if test x"$enablestring" = xdisable; then
12722 if test $wxUSE_TOOLBAR = no; then
12728 result=$wxUSE_TOOLBAR
12731 { echo "$as_me:$LINENO: result
: $result" >&5
12732 echo "${ECHO_T}$result" >&6; }
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12746 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12747 # Check whether --enable-toolbook was given.
12748 if test "${enable_toolbook+set}" = set; then
12749 enableval=$enable_toolbook;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12753 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12758 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12763 eval "$wx_cv_use_toolbook"
12765 if test x
"$enablestring" = xdisable
; then
12766 if test $wxUSE_TOOLBOOK = no
; then
12772 result
=$wxUSE_TOOLBOOK
12775 { echo "$as_me:$LINENO: result: $result" >&5
12776 echo "${ECHO_T}$result" >&6; }
12780 defaultval
=$wxUSE_ALL_FEATURES
12781 if test -z "$defaultval"; then
12782 if test x
"$enablestring" = xdisable
; then
12789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12790 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12791 # Check whether --enable-treebook was given.
12792 if test "${enable_treebook+set}" = set; then
12793 enableval
=$enable_treebook;
12794 if test "$enableval" = yes; then
12795 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12797 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12802 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12807 eval "$wx_cv_use_treebook"
12809 if test x"$enablestring" = xdisable; then
12810 if test $wxUSE_TREEBOOK = no; then
12816 result=$wxUSE_TREEBOOK
12819 { echo "$as_me:$LINENO: result: $result" >&5
12820 echo "${ECHO_T}$result" >&6; }
12824 defaultval=$wxUSE_ALL_FEATURES
12825 if test -z "$defaultval"; then
12826 if test x"$enablestring" = xdisable; then
12833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12834 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12835 # Check whether --enable-treectrl was given.
12836 if test "${enable_treectrl+set}" = set; then
12837 enableval=$enable_treectrl;
12838 if test "$enableval" = yes; then
12839 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12841 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12846 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12851 eval "$wx_cv_use_treectrl"
12853 if test x"$enablestring" = xdisable; then
12854 if test $wxUSE_TREECTRL = no; then
12860 result=$wxUSE_TREECTRL
12863 { echo "$as_me:$LINENO: result
: $result" >&5
12864 echo "${ECHO_T}$result" >&6; }
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12877 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treelist" >&5
12878 echo $ECHO_N "checking
for --${enablestring:-enable}-treelist...
$ECHO_C" >&6; }
12879 # Check whether --enable-treelist was given.
12880 if test "${enable_treelist+set}" = set; then
12881 enableval=$enable_treelist;
12882 if test "$enableval" = yes; then
12883 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12885 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12890 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12895 eval "$wx_cv_use_treelist"
12897 if test x
"$enablestring" = xdisable
; then
12898 if test $wxUSE_TREELISTCTRL = no
; then
12904 result
=$wxUSE_TREELISTCTRL
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12914 defaultval
=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x
"$enablestring" = xdisable
; then
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12925 # Check whether --enable-commondlg was given.
12926 if test "${enable_commondlg+set}" = set; then
12927 enableval
=$enable_commondlg;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12931 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12936 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12941 eval "$wx_cv_use_commondlg"
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_COMMONDLGS = no; then
12950 result=$wxUSE_COMMONDLGS
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12969 # Check whether --enable-aboutdlg was given.
12970 if test "${enable_aboutdlg+set}" = set; then
12971 enableval=$enable_aboutdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12975 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12980 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12985 eval "$wx_cv_use_aboutdlg"
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_ABOUTDLG = no; then
12994 result=$wxUSE_ABOUTDLG
12997 { echo "$as_me:$LINENO: result
: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13011 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
13012 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
13013 # Check whether --enable-choicedlg was given.
13014 if test "${enable_choicedlg+set}" = set; then
13015 enableval=$enable_choicedlg;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13019 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13024 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13029 eval "$wx_cv_use_choicedlg"
13031 if test x
"$enablestring" = xdisable
; then
13032 if test $wxUSE_CHOICEDLG = no
; then
13038 result
=$wxUSE_CHOICEDLG
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13046 defaultval
=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x
"$enablestring" = xdisable
; then
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13057 # Check whether --enable-coldlg was given.
13058 if test "${enable_coldlg+set}" = set; then
13059 enableval
=$enable_coldlg;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
13063 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
13068 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13073 eval "$wx_cv_use_coldlg"
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_COLOURDLG = no; then
13082 result=$wxUSE_COLOURDLG
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13101 # Check whether --enable-filedlg was given.
13102 if test "${enable_filedlg+set}" = set; then
13103 enableval=$enable_filedlg;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
13107 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
13112 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13117 eval "$wx_cv_use_filedlg"
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_FILEDLG = no; then
13126 result=$wxUSE_FILEDLG
13129 { echo "$as_me:$LINENO: result
: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13143 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
13144 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
13145 # Check whether --enable-finddlg was given.
13146 if test "${enable_finddlg+set}" = set; then
13147 enableval=$enable_finddlg;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13151 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13156 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13161 eval "$wx_cv_use_finddlg"
13163 if test x
"$enablestring" = xdisable
; then
13164 if test $wxUSE_FINDREPLDLG = no
; then
13170 result
=$wxUSE_FINDREPLDLG
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13178 defaultval
=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x
"$enablestring" = xdisable
; then
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13189 # Check whether --enable-fontdlg was given.
13190 if test "${enable_fontdlg+set}" = set; then
13191 enableval
=$enable_fontdlg;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
13195 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
13200 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13205 eval "$wx_cv_use_fontdlg"
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_FONTDLG = no; then
13214 result=$wxUSE_FONTDLG
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13222 defaultval=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x"$enablestring" = xdisable; then
13231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13232 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13233 # Check whether --enable-dirdlg was given.
13234 if test "${enable_dirdlg+set}" = set; then
13235 enableval=$enable_dirdlg;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
13239 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
13244 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13249 eval "$wx_cv_use_dirdlg"
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_DIRDLG = no; then
13258 result=$wxUSE_DIRDLG
13261 { echo "$as_me:$LINENO: result
: $result" >&5
13262 echo "${ECHO_T}$result" >&6; }
13266 defaultval=$wxUSE_ALL_FEATURES
13267 if test -z "$defaultval"; then
13268 if test x"$enablestring" = xdisable; then
13275 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
13276 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
13277 # Check whether --enable-msgdlg was given.
13278 if test "${enable_msgdlg+set}" = set; then
13279 enableval=$enable_msgdlg;
13280 if test "$enableval" = yes; then
13281 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13283 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13288 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13293 eval "$wx_cv_use_msgdlg"
13295 if test x
"$enablestring" = xdisable
; then
13296 if test $wxUSE_MSGDLG = no
; then
13302 result
=$wxUSE_MSGDLG
13305 { echo "$as_me:$LINENO: result: $result" >&5
13306 echo "${ECHO_T}$result" >&6; }
13310 defaultval
=$wxUSE_ALL_FEATURES
13311 if test -z "$defaultval"; then
13312 if test x
"$enablestring" = xdisable
; then
13319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13320 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13321 # Check whether --enable-numberdlg was given.
13322 if test "${enable_numberdlg+set}" = set; then
13323 enableval
=$enable_numberdlg;
13324 if test "$enableval" = yes; then
13325 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
13327 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
13332 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13337 eval "$wx_cv_use_numberdlg"
13339 if test x"$enablestring" = xdisable; then
13340 if test $wxUSE_NUMBERDLG = no; then
13346 result=$wxUSE_NUMBERDLG
13349 { echo "$as_me:$LINENO: result: $result" >&5
13350 echo "${ECHO_T}$result" >&6; }
13354 defaultval=$wxUSE_ALL_FEATURES
13355 if test -z "$defaultval"; then
13356 if test x"$enablestring" = xdisable; then
13363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13364 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13365 # Check whether --enable-splash was given.
13366 if test "${enable_splash+set}" = set; then
13367 enableval=$enable_splash;
13368 if test "$enableval" = yes; then
13369 wx_cv_use_splash='wxUSE_SPLASH
=yes'
13371 wx_cv_use_splash='wxUSE_SPLASH
=no
'
13376 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13381 eval "$wx_cv_use_splash"
13383 if test x"$enablestring" = xdisable; then
13384 if test $wxUSE_SPLASH = no; then
13390 result=$wxUSE_SPLASH
13393 { echo "$as_me:$LINENO: result
: $result" >&5
13394 echo "${ECHO_T}$result" >&6; }
13398 defaultval=$wxUSE_ALL_FEATURES
13399 if test -z "$defaultval"; then
13400 if test x"$enablestring" = xdisable; then
13407 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
13408 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
13409 # Check whether --enable-textdlg was given.
13410 if test "${enable_textdlg+set}" = set; then
13411 enableval=$enable_textdlg;
13412 if test "$enableval" = yes; then
13413 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13415 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13420 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13425 eval "$wx_cv_use_textdlg"
13427 if test x
"$enablestring" = xdisable
; then
13428 if test $wxUSE_TEXTDLG = no
; then
13434 result
=$wxUSE_TEXTDLG
13437 { echo "$as_me:$LINENO: result: $result" >&5
13438 echo "${ECHO_T}$result" >&6; }
13442 defaultval
=$wxUSE_ALL_FEATURES
13443 if test -z "$defaultval"; then
13444 if test x
"$enablestring" = xdisable
; then
13451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13452 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13453 # Check whether --enable-tipdlg was given.
13454 if test "${enable_tipdlg+set}" = set; then
13455 enableval
=$enable_tipdlg;
13456 if test "$enableval" = yes; then
13457 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13459 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13464 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13469 eval "$wx_cv_use_tipdlg"
13471 if test x"$enablestring" = xdisable; then
13472 if test $wxUSE_STARTUP_TIPS = no; then
13478 result=$wxUSE_STARTUP_TIPS
13481 { echo "$as_me:$LINENO: result: $result" >&5
13482 echo "${ECHO_T}$result" >&6; }
13486 defaultval=$wxUSE_ALL_FEATURES
13487 if test -z "$defaultval"; then
13488 if test x"$enablestring" = xdisable; then
13495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13497 # Check whether --enable-progressdlg was given.
13498 if test "${enable_progressdlg+set}" = set; then
13499 enableval=$enable_progressdlg;
13500 if test "$enableval" = yes; then
13501 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13503 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13508 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13513 eval "$wx_cv_use_progressdlg"
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_PROGRESSDLG = no; then
13522 result=$wxUSE_PROGRESSDLG
13525 { echo "$as_me:$LINENO: result
: $result" >&5
13526 echo "${ECHO_T}$result" >&6; }
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13540 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13541 # Check whether --enable-wizarddlg was given.
13542 if test "${enable_wizarddlg+set}" = set; then
13543 enableval=$enable_wizarddlg;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13547 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13552 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13557 eval "$wx_cv_use_wizarddlg"
13559 if test x
"$enablestring" = xdisable
; then
13560 if test $wxUSE_WIZARDDLG = no
; then
13566 result
=$wxUSE_WIZARDDLG
13569 { echo "$as_me:$LINENO: result: $result" >&5
13570 echo "${ECHO_T}$result" >&6; }
13576 defaultval
=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x
"$enablestring" = xdisable
; then
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13587 # Check whether --enable-menus was given.
13588 if test "${enable_menus+set}" = set; then
13589 enableval
=$enable_menus;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_menus
='wxUSE_MENUS=yes'
13593 wx_cv_use_menus
='wxUSE_MENUS=no'
13598 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13603 eval "$wx_cv_use_menus"
13605 if test x"$enablestring" = xdisable; then
13606 if test $wxUSE_MENUS = no; then
13612 result=$wxUSE_MENUS
13615 { echo "$as_me:$LINENO: result: $result" >&5
13616 echo "${ECHO_T}$result" >&6; }
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13631 # Check whether --enable-miniframe was given.
13632 if test "${enable_miniframe+set}" = set; then
13633 enableval=$enable_miniframe;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13637 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13642 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13647 eval "$wx_cv_use_miniframe"
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_MINIFRAME = no; then
13656 result=$wxUSE_MINIFRAME
13659 { echo "$as_me:$LINENO: result
: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13664 defaultval=$wxUSE_ALL_FEATURES
13665 if test -z "$defaultval"; then
13666 if test x"$enablestring" = xdisable; then
13673 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13674 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13675 # Check whether --enable-tooltips was given.
13676 if test "${enable_tooltips+set}" = set; then
13677 enableval=$enable_tooltips;
13678 if test "$enableval" = yes; then
13679 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13681 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13686 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13691 eval "$wx_cv_use_tooltips"
13693 if test x
"$enablestring" = xdisable
; then
13694 if test $wxUSE_TOOLTIPS = no
; then
13700 result
=$wxUSE_TOOLTIPS
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13708 defaultval
=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x
"$enablestring" = xdisable
; then
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13719 # Check whether --enable-splines was given.
13720 if test "${enable_splines+set}" = set; then
13721 enableval
=$enable_splines;
13722 if test "$enableval" = yes; then
13723 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13725 wx_cv_use_splines
='wxUSE_SPLINES=no'
13730 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13735 eval "$wx_cv_use_splines"
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_SPLINES = no; then
13744 result=$wxUSE_SPLINES
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13763 # Check whether --enable-mousewheel was given.
13764 if test "${enable_mousewheel+set}" = set; then
13765 enableval=$enable_mousewheel;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13769 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13774 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13779 eval "$wx_cv_use_mousewheel"
13781 if test x"$enablestring" = xdisable; then
13782 if test $wxUSE_MOUSEWHEEL = no; then
13788 result=$wxUSE_MOUSEWHEEL
13791 { echo "$as_me:$LINENO: result
: $result" >&5
13792 echo "${ECHO_T}$result" >&6; }
13796 defaultval=$wxUSE_ALL_FEATURES
13797 if test -z "$defaultval"; then
13798 if test x"$enablestring" = xdisable; then
13805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13806 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13807 # Check whether --enable-validators was given.
13808 if test "${enable_validators+set}" = set; then
13809 enableval=$enable_validators;
13810 if test "$enableval" = yes; then
13811 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13813 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13818 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13823 eval "$wx_cv_use_validators"
13825 if test x
"$enablestring" = xdisable
; then
13826 if test $wxUSE_VALIDATORS = no
; then
13832 result
=$wxUSE_VALIDATORS
13835 { echo "$as_me:$LINENO: result: $result" >&5
13836 echo "${ECHO_T}$result" >&6; }
13840 defaultval
=$wxUSE_ALL_FEATURES
13841 if test -z "$defaultval"; then
13842 if test x
"$enablestring" = xdisable
; then
13849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13850 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13851 # Check whether --enable-busyinfo was given.
13852 if test "${enable_busyinfo+set}" = set; then
13853 enableval
=$enable_busyinfo;
13854 if test "$enableval" = yes; then
13855 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13857 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13862 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13867 eval "$wx_cv_use_busyinfo"
13869 if test x"$enablestring" = xdisable; then
13870 if test $wxUSE_BUSYINFO = no; then
13876 result=$wxUSE_BUSYINFO
13879 { echo "$as_me:$LINENO: result: $result" >&5
13880 echo "${ECHO_T}$result" >&6; }
13884 defaultval=$wxUSE_ALL_FEATURES
13885 if test -z "$defaultval"; then
13886 if test x"$enablestring" = xdisable; then
13893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13894 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13895 # Check whether --enable-joystick was given.
13896 if test "${enable_joystick+set}" = set; then
13897 enableval=$enable_joystick;
13898 if test "$enableval" = yes; then
13899 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13901 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13906 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13911 eval "$wx_cv_use_joystick"
13913 if test x"$enablestring" = xdisable; then
13914 if test $wxUSE_JOYSTICK = no; then
13920 result=$wxUSE_JOYSTICK
13923 { echo "$as_me:$LINENO: result
: $result" >&5
13924 echo "${ECHO_T}$result" >&6; }
13928 defaultval=$wxUSE_ALL_FEATURES
13929 if test -z "$defaultval"; then
13930 if test x"$enablestring" = xdisable; then
13937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13938 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13939 # Check whether --enable-metafile was given.
13940 if test "${enable_metafile+set}" = set; then
13941 enableval=$enable_metafile;
13942 if test "$enableval" = yes; then
13943 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13945 wx_cv_use_metafile='wxUSE_METAFILE=no'
13950 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13955 eval "$wx_cv_use_metafile"
13957 if test x
"$enablestring" = xdisable
; then
13958 if test $wxUSE_METAFILE = no
; then
13964 result
=$wxUSE_METAFILE
13967 { echo "$as_me:$LINENO: result: $result" >&5
13968 echo "${ECHO_T}$result" >&6; }
13972 defaultval
=$wxUSE_ALL_FEATURES
13973 if test -z "$defaultval"; then
13974 if test x
"$enablestring" = xdisable
; then
13981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13982 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13983 # Check whether --enable-dragimage was given.
13984 if test "${enable_dragimage+set}" = set; then
13985 enableval
=$enable_dragimage;
13986 if test "$enableval" = yes; then
13987 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13989 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13994 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13999 eval "$wx_cv_use_dragimage"
14001 if test x"$enablestring" = xdisable; then
14002 if test $wxUSE_DRAGIMAGE = no; then
14008 result=$wxUSE_DRAGIMAGE
14011 { echo "$as_me:$LINENO: result: $result" >&5
14012 echo "${ECHO_T}$result" >&6; }
14016 defaultval=$wxUSE_ALL_FEATURES
14017 if test -z "$defaultval"; then
14018 if test x"$enablestring" = xdisable; then
14025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14026 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14027 # Check whether --enable-accessibility was given.
14028 if test "${enable_accessibility+set}" = set; then
14029 enableval=$enable_accessibility;
14030 if test "$enableval" = yes; then
14031 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14033 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14038 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14043 eval "$wx_cv_use_accessibility"
14045 if test x"$enablestring" = xdisable; then
14046 if test $wxUSE_ACCESSIBILITY = no; then
14052 result=$wxUSE_ACCESSIBILITY
14055 { echo "$as_me:$LINENO: result
: $result" >&5
14056 echo "${ECHO_T}$result" >&6; }
14060 defaultval=$wxUSE_ALL_FEATURES
14061 if test -z "$defaultval"; then
14062 if test x"$enablestring" = xdisable; then
14069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14070 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14071 # Check whether --enable-uiactionsim was given.
14072 if test "${enable_uiactionsim+set}" = set; then
14073 enableval=$enable_uiactionsim;
14074 if test "$enableval" = yes; then
14075 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14077 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14082 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14087 eval "$wx_cv_use_uiactionsim"
14089 if test x
"$enablestring" = xdisable
; then
14090 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14096 result
=$wxUSE_UIACTIONSIMULATOR
14099 { echo "$as_me:$LINENO: result: $result" >&5
14100 echo "${ECHO_T}$result" >&6; }
14104 defaultval
=$wxUSE_ALL_FEATURES
14105 if test -z "$defaultval"; then
14106 if test x
"$enablestring" = xdisable
; then
14113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14114 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14115 # Check whether --enable-dctransform was given.
14116 if test "${enable_dctransform+set}" = set; then
14117 enableval
=$enable_dctransform;
14118 if test "$enableval" = yes; then
14119 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14121 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14126 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14131 eval "$wx_cv_use_dctransform"
14133 if test x"$enablestring" = xdisable; then
14134 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14140 result=$wxUSE_DC_TRANSFORM_MATRIX
14143 { echo "$as_me:$LINENO: result: $result" >&5
14144 echo "${ECHO_T}$result" >&6; }
14150 defaultval=$wxUSE_ALL_FEATURES
14151 if test -z "$defaultval"; then
14152 if test x"$enablestring" = xdisable; then
14159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14160 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14161 # Check whether --enable-palette was given.
14162 if test "${enable_palette+set}" = set; then
14163 enableval=$enable_palette;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_palette='wxUSE_PALETTE
=yes'
14167 wx_cv_use_palette='wxUSE_PALETTE
=no
'
14172 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14177 eval "$wx_cv_use_palette"
14179 if test x"$enablestring" = xdisable; then
14180 if test $wxUSE_PALETTE = no; then
14186 result=$wxUSE_PALETTE
14189 { echo "$as_me:$LINENO: result
: $result" >&5
14190 echo "${ECHO_T}$result" >&6; }
14194 defaultval=$wxUSE_ALL_FEATURES
14195 if test -z "$defaultval"; then
14196 if test x"$enablestring" = xdisable; then
14203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
14204 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
14205 # Check whether --enable-image was given.
14206 if test "${enable_image+set}" = set; then
14207 enableval=$enable_image;
14208 if test "$enableval" = yes; then
14209 wx_cv_use_image='wxUSE_IMAGE=yes'
14211 wx_cv_use_image='wxUSE_IMAGE=no'
14216 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14221 eval "$wx_cv_use_image"
14223 if test x
"$enablestring" = xdisable
; then
14224 if test $wxUSE_IMAGE = no
; then
14230 result
=$wxUSE_IMAGE
14233 { echo "$as_me:$LINENO: result: $result" >&5
14234 echo "${ECHO_T}$result" >&6; }
14238 defaultval
=$wxUSE_ALL_FEATURES
14239 if test -z "$defaultval"; then
14240 if test x
"$enablestring" = xdisable
; then
14247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14248 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14249 # Check whether --enable-gif was given.
14250 if test "${enable_gif+set}" = set; then
14251 enableval
=$enable_gif;
14252 if test "$enableval" = yes; then
14253 wx_cv_use_gif
='wxUSE_GIF=yes'
14255 wx_cv_use_gif
='wxUSE_GIF=no'
14260 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14265 eval "$wx_cv_use_gif"
14267 if test x"$enablestring" = xdisable; then
14268 if test $wxUSE_GIF = no; then
14277 { echo "$as_me:$LINENO: result: $result" >&5
14278 echo "${ECHO_T}$result" >&6; }
14282 defaultval=$wxUSE_ALL_FEATURES
14283 if test -z "$defaultval"; then
14284 if test x"$enablestring" = xdisable; then
14291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14292 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14293 # Check whether --enable-pcx was given.
14294 if test "${enable_pcx+set}" = set; then
14295 enableval=$enable_pcx;
14296 if test "$enableval" = yes; then
14297 wx_cv_use_pcx='wxUSE_PCX
=yes'
14299 wx_cv_use_pcx='wxUSE_PCX
=no
'
14304 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14309 eval "$wx_cv_use_pcx"
14311 if test x"$enablestring" = xdisable; then
14312 if test $wxUSE_PCX = no; then
14321 { echo "$as_me:$LINENO: result
: $result" >&5
14322 echo "${ECHO_T}$result" >&6; }
14326 defaultval=$wxUSE_ALL_FEATURES
14327 if test -z "$defaultval"; then
14328 if test x"$enablestring" = xdisable; then
14335 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
14336 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
14337 # Check whether --enable-tga was given.
14338 if test "${enable_tga+set}" = set; then
14339 enableval=$enable_tga;
14340 if test "$enableval" = yes; then
14341 wx_cv_use_tga='wxUSE_TGA=yes'
14343 wx_cv_use_tga='wxUSE_TGA=no'
14348 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14353 eval "$wx_cv_use_tga"
14355 if test x
"$enablestring" = xdisable
; then
14356 if test $wxUSE_TGA = no
; then
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14370 defaultval
=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x
"$enablestring" = xdisable
; then
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14381 # Check whether --enable-iff was given.
14382 if test "${enable_iff+set}" = set; then
14383 enableval
=$enable_iff;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_iff
='wxUSE_IFF=yes'
14387 wx_cv_use_iff
='wxUSE_IFF=no'
14392 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14397 eval "$wx_cv_use_iff"
14399 if test x"$enablestring" = xdisable; then
14400 if test $wxUSE_IFF = no; then
14409 { echo "$as_me:$LINENO: result: $result" >&5
14410 echo "${ECHO_T}$result" >&6; }
14414 defaultval=$wxUSE_ALL_FEATURES
14415 if test -z "$defaultval"; then
14416 if test x"$enablestring" = xdisable; then
14423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14424 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14425 # Check whether --enable-pnm was given.
14426 if test "${enable_pnm+set}" = set; then
14427 enableval=$enable_pnm;
14428 if test "$enableval" = yes; then
14429 wx_cv_use_pnm='wxUSE_PNM
=yes'
14431 wx_cv_use_pnm='wxUSE_PNM
=no
'
14436 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14441 eval "$wx_cv_use_pnm"
14443 if test x"$enablestring" = xdisable; then
14444 if test $wxUSE_PNM = no; then
14453 { echo "$as_me:$LINENO: result
: $result" >&5
14454 echo "${ECHO_T}$result" >&6; }
14458 defaultval=$wxUSE_ALL_FEATURES
14459 if test -z "$defaultval"; then
14460 if test x"$enablestring" = xdisable; then
14467 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
14468 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
14469 # Check whether --enable-xpm was given.
14470 if test "${enable_xpm+set}" = set; then
14471 enableval=$enable_xpm;
14472 if test "$enableval" = yes; then
14473 wx_cv_use_xpm='wxUSE_XPM=yes'
14475 wx_cv_use_xpm='wxUSE_XPM=no'
14480 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14485 eval "$wx_cv_use_xpm"
14487 if test x
"$enablestring" = xdisable
; then
14488 if test $wxUSE_XPM = no
; then
14497 { echo "$as_me:$LINENO: result: $result" >&5
14498 echo "${ECHO_T}$result" >&6; }
14502 defaultval
=$wxUSE_ALL_FEATURES
14503 if test -z "$defaultval"; then
14504 if test x
"$enablestring" = xdisable
; then
14511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14512 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14513 # Check whether --enable-ico_cur was given.
14514 if test "${enable_ico_cur+set}" = set; then
14515 enableval
=$enable_ico_cur;
14516 if test "$enableval" = yes; then
14517 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
14519 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
14524 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14529 eval "$wx_cv_use_ico_cur"
14531 if test x"$enablestring" = xdisable; then
14532 if test $wxUSE_ICO_CUR = no; then
14538 result=$wxUSE_ICO_CUR
14541 { echo "$as_me:$LINENO: result: $result" >&5
14542 echo "${ECHO_T}$result" >&6; }
14548 defaultval=$wxUSE_ALL_FEATURES
14549 if test -z "$defaultval"; then
14550 if test x"$enablestring" = xdisable; then
14557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14558 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14559 # Check whether --enable-dccache was given.
14560 if test "${enable_dccache+set}" = set; then
14561 enableval=$enable_dccache;
14562 if test "$enableval" = yes; then
14563 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
14565 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
14570 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14575 eval "$wx_cv_use_dccache"
14577 if test x"$enablestring" = xdisable; then
14578 if test $wxUSE_DC_CACHEING = no; then
14584 result=$wxUSE_DC_CACHEING
14587 { echo "$as_me:$LINENO: result
: $result" >&5
14588 echo "${ECHO_T}$result" >&6; }
14592 defaultval=$wxUSE_ALL_FEATURES
14593 if test -z "$defaultval"; then
14594 if test x"$enablestring" = xdisable; then
14601 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
14602 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
14603 # Check whether --enable-ps-in-msw was given.
14604 if test "${enable_ps_in_msw+set}" = set; then
14605 enableval=$enable_ps_in_msw;
14606 if test "$enableval" = yes; then
14607 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14609 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14614 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14619 eval "$wx_cv_use_ps_in_msw"
14621 if test x
"$enablestring" = xdisable
; then
14622 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
14628 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14631 { echo "$as_me:$LINENO: result: $result" >&5
14632 echo "${ECHO_T}$result" >&6; }
14636 defaultval
=$wxUSE_ALL_FEATURES
14637 if test -z "$defaultval"; then
14638 if test x
"$enablestring" = xdisable
; then
14645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14646 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14647 # Check whether --enable-ownerdrawn was given.
14648 if test "${enable_ownerdrawn+set}" = set; then
14649 enableval
=$enable_ownerdrawn;
14650 if test "$enableval" = yes; then
14651 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14653 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14658 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14663 eval "$wx_cv_use_ownerdrawn"
14665 if test x"$enablestring" = xdisable; then
14666 if test $wxUSE_OWNER_DRAWN = no; then
14672 result=$wxUSE_OWNER_DRAWN
14675 { echo "$as_me:$LINENO: result: $result" >&5
14676 echo "${ECHO_T}$result" >&6; }
14680 defaultval=$wxUSE_ALL_FEATURES
14681 if test -z "$defaultval"; then
14682 if test x"$enablestring" = xdisable; then
14689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14690 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14691 # Check whether --enable-uxtheme was given.
14692 if test "${enable_uxtheme+set}" = set; then
14693 enableval=$enable_uxtheme;
14694 if test "$enableval" = yes; then
14695 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14697 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14702 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14707 eval "$wx_cv_use_uxtheme"
14709 if test x"$enablestring" = xdisable; then
14710 if test $wxUSE_UXTHEME = no; then
14716 result=$wxUSE_UXTHEME
14719 { echo "$as_me:$LINENO: result
: $result" >&5
14720 echo "${ECHO_T}$result" >&6; }
14724 defaultval=$wxUSE_ALL_FEATURES
14725 if test -z "$defaultval"; then
14726 if test x"$enablestring" = xdisable; then
14733 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14734 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14735 # Check whether --enable-wxdib was given.
14736 if test "${enable_wxdib+set}" = set; then
14737 enableval=$enable_wxdib;
14738 if test "$enableval" = yes; then
14739 wx_cv_use_wxdib='wxUSE_DIB=yes'
14741 wx_cv_use_wxdib='wxUSE_DIB=no'
14746 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14751 eval "$wx_cv_use_wxdib"
14753 if test x
"$enablestring" = xdisable
; then
14754 if test $wxUSE_DIB = no
; then
14763 { echo "$as_me:$LINENO: result: $result" >&5
14764 echo "${ECHO_T}$result" >&6; }
14767 if test "$wxUSE_MSW" != 1; then
14768 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14773 defaultval
=$wxUSE_ALL_FEATURES
14774 if test -z "$defaultval"; then
14775 if test x
"$enablestring" = xdisable
; then
14782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14783 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14784 # Check whether --enable-autoidman was given.
14785 if test "${enable_autoidman+set}" = set; then
14786 enableval
=$enable_autoidman;
14787 if test "$enableval" = yes; then
14788 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14790 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14795 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14800 eval "$wx_cv_use_autoidman"
14802 if test x"$enablestring" = xdisable; then
14803 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14809 result=$wxUSE_AUTOID_MANAGEMENT
14812 { echo "$as_me:$LINENO: result: $result" >&5
14813 echo "${ECHO_T}$result" >&6; }
14819 cat >confcache <<\_ACEOF
14820 # This file is a shell script that caches the results of configure
14821 # tests run on this system so they can be shared between configure
14822 # scripts and configure runs, see configure's option
--config-cache.
14823 # It is not useful on other systems. If it contains results you don't
14824 # want to keep, you may remove or edit it.
14826 # config.status only pays attention to the cache file if you give it
14827 # the --recheck option to rerun configure.
14829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14831 # following values.
14835 # The following way of writing the cache mishandles newlines in values,
14836 # but we know of no workaround that is simple, portable, and efficient.
14837 # So, we kill variables containing newlines.
14838 # Ultrix sh set writes to stderr and can't be redirected directly,
14839 # and sets the high bit in the cache file unless we assign to the vars.
14841 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14842 eval ac_val
=\$
$ac_var
14846 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14847 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14850 _
| IFS
| as_nl
) ;; #(
14851 *) $as_unset $ac_var ;;
14857 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14858 *${as_nl}ac_space
=\
*)
14859 # `set' does not quote correctly, so add quotes (double-quote
14860 # substitution turns \\\\ into \\, and sed turns \\ into \).
14863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14866 # `set' quotes correctly as required by POSIX, so do not add quotes.
14867 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14876 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14878 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14880 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14881 if test -w "$cache_file"; then
14882 test "x$cache_file" != "x/dev/null" &&
14883 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14884 echo "$as_me: updating cache $cache_file" >&6;}
14885 cat confcache
>$cache_file
14887 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14888 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14895 ac_cpp
='$CPP $CPPFLAGS'
14896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14899 if test -n "$ac_tool_prefix"; then
14900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14901 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14904 if test "${ac_cv_prog_CC+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 if test -n "$CC"; then
14908 ac_cv_prog_CC
="$CC" # Let the user override the test.
14910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14911 for as_dir
in $PATH
14914 test -z "$as_dir" && as_dir
=.
14915 for ac_exec_ext
in '' $ac_executable_extensions; do
14916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14917 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14928 if test -n "$CC"; then
14929 { echo "$as_me:$LINENO: result: $CC" >&5
14930 echo "${ECHO_T}$CC" >&6; }
14932 { echo "$as_me:$LINENO: result: no" >&5
14933 echo "${ECHO_T}no" >&6; }
14938 if test -z "$ac_cv_prog_CC"; then
14940 # Extract the first word of "gcc", so it can be a program name with args.
14941 set dummy gcc
; ac_word
=$2
14942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 if test -n "$ac_ct_CC"; then
14948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14951 for as_dir
in $PATH
14954 test -z "$as_dir" && as_dir
=.
14955 for ac_exec_ext
in '' $ac_executable_extensions; do
14956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14957 ac_cv_prog_ac_ct_CC
="gcc"
14958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14968 if test -n "$ac_ct_CC"; then
14969 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14970 echo "${ECHO_T}$ac_ct_CC" >&6; }
14972 { echo "$as_me:$LINENO: result: no" >&5
14973 echo "${ECHO_T}no" >&6; }
14976 if test "x$ac_ct_CC" = x
; then
14979 case $cross_compiling:$ac_tool_warned in
14981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14982 whose name does not start with the host triplet. If you think this
14983 configuration is useful to you, please write to autoconf@gnu.org." >&5
14984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14985 whose name does not start with the host triplet. If you think this
14986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14987 ac_tool_warned
=yes ;;
14992 CC
="$ac_cv_prog_CC"
14995 if test -z "$CC"; then
14996 if test -n "$ac_tool_prefix"; then
14997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14998 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15001 if test "${ac_cv_prog_CC+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 if test -n "$CC"; then
15005 ac_cv_prog_CC
="$CC" # Let the user override the test.
15007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15008 for as_dir
in $PATH
15011 test -z "$as_dir" && as_dir
=.
15012 for ac_exec_ext
in '' $ac_executable_extensions; do
15013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15014 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15025 if test -n "$CC"; then
15026 { echo "$as_me:$LINENO: result: $CC" >&5
15027 echo "${ECHO_T}$CC" >&6; }
15029 { echo "$as_me:$LINENO: result: no" >&5
15030 echo "${ECHO_T}no" >&6; }
15036 if test -z "$CC"; then
15037 # Extract the first word of "cc", so it can be a program name with args.
15038 set dummy cc
; ac_word
=$2
15039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15041 if test "${ac_cv_prog_CC+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 if test -n "$CC"; then
15045 ac_cv_prog_CC
="$CC" # Let the user override the test.
15047 ac_prog_rejected
=no
15048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15049 for as_dir
in $PATH
15052 test -z "$as_dir" && as_dir
=.
15053 for ac_exec_ext
in '' $ac_executable_extensions; do
15054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15056 ac_prog_rejected
=yes
15060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 if test $ac_prog_rejected = yes; then
15068 # We found a bogon in the path, so make sure we never use it.
15069 set dummy
$ac_cv_prog_CC
15071 if test $# != 0; then
15072 # We chose a different compiler from the bogus one.
15073 # However, it has the same basename, so the bogon will be chosen
15074 # first if we set CC to just the basename; use the full file name.
15076 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15082 if test -n "$CC"; then
15083 { echo "$as_me:$LINENO: result: $CC" >&5
15084 echo "${ECHO_T}$CC" >&6; }
15086 { echo "$as_me:$LINENO: result: no" >&5
15087 echo "${ECHO_T}no" >&6; }
15092 if test -z "$CC"; then
15093 if test -n "$ac_tool_prefix"; then
15094 for ac_prog
in cl.exe
15096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15097 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15100 if test "${ac_cv_prog_CC+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 if test -n "$CC"; then
15104 ac_cv_prog_CC
="$CC" # Let the user override the test.
15106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15107 for as_dir
in $PATH
15110 test -z "$as_dir" && as_dir
=.
15111 for ac_exec_ext
in '' $ac_executable_extensions; do
15112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15113 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15124 if test -n "$CC"; then
15125 { echo "$as_me:$LINENO: result: $CC" >&5
15126 echo "${ECHO_T}$CC" >&6; }
15128 { echo "$as_me:$LINENO: result: no" >&5
15129 echo "${ECHO_T}no" >&6; }
15133 test -n "$CC" && break
15136 if test -z "$CC"; then
15138 for ac_prog
in cl.exe
15140 # Extract the first word of "$ac_prog", so it can be a program name with args.
15141 set dummy
$ac_prog; ac_word
=$2
15142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 if test -n "$ac_ct_CC"; then
15148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15151 for as_dir
in $PATH
15154 test -z "$as_dir" && as_dir
=.
15155 for ac_exec_ext
in '' $ac_executable_extensions; do
15156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15157 ac_cv_prog_ac_ct_CC
="$ac_prog"
15158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15167 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15168 if test -n "$ac_ct_CC"; then
15169 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15170 echo "${ECHO_T}$ac_ct_CC" >&6; }
15172 { echo "$as_me:$LINENO: result: no" >&5
15173 echo "${ECHO_T}no" >&6; }
15177 test -n "$ac_ct_CC" && break
15180 if test "x$ac_ct_CC" = x
; then
15183 case $cross_compiling:$ac_tool_warned in
15185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15186 whose name does not start with the host triplet. If you think this
15187 configuration is useful to you, please write to autoconf@gnu.org." >&5
15188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15189 whose name does not start with the host triplet. If you think this
15190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15191 ac_tool_warned
=yes ;;
15200 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15201 See \`config.log' for more details." >&5
15202 echo "$as_me: error: no acceptable C compiler found in \$PATH
15203 See \`config.log' for more details." >&2;}
15204 { (exit 1); exit 1; }; }
15206 # Provide some information about the compiler.
15207 echo "$as_me:$LINENO: checking for C compiler version" >&5
15208 ac_compiler
=`set X $ac_compile; echo $2`
15209 { (ac_try
="$ac_compiler --version >&5"
15210 case "(($ac_try" in
15211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15212 *) ac_try_echo=$ac_try;;
15214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15215 (eval "$ac_compiler --version >&5") 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }
15219 { (ac_try="$ac_compiler -v >&5"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15222 *) ac_try_echo
=$ac_try;;
15224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15225 (eval "$ac_compiler -v >&5") 2>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }
15229 { (ac_try
="$ac_compiler -V >&5"
15230 case "(($ac_try" in
15231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compiler -V >&5") 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }
15240 cat >conftest.$ac_ext <<_ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15255 ac_clean_files_save=$ac_clean_files
15256 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15257 # Try to create an executable without -o first, disregard a.out.
15258 # It will help us diagnose broken compilers, and finding out an intuition
15260 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15261 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15262 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15264 # List of possible output files, starting from the most likely.
15265 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15266 # only as a last resort. b.out is created by i960 compilers.
15267 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15269 # The IRIX 6 linker writes into existing files which may not be
15270 # executable, retaining their permissions. Remove them first so a
15271 # subsequent execution test works.
15273 for ac_file in $ac_files
15276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15277 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15282 if { (ac_try="$ac_link_default"
15283 case "(($ac_try" in
15284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15285 *) ac_try_echo=$ac_try;;
15287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15288 (eval "$ac_link_default") 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; then
15292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15295 # so that the user can short-circuit this test for compilers unknown to
15297 for ac_file
in $ac_files ''
15299 test -f "$ac_file" || continue
15301 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15304 # We found the default executable, but exeext='' is most
15308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15310 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15312 # We set ac_cv_exeext here because the later test for it is not
15313 # safe: cross compilers may not add the suffix if given an `-o'
15314 # argument, so we may need to know it at that point already.
15315 # Even if this section looks crufty: it has the advantage of
15316 # actually working.
15322 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15328 { echo "$as_me:$LINENO: result: $ac_file" >&5
15329 echo "${ECHO_T}$ac_file" >&6; }
15330 if test -z "$ac_file"; then
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15335 See \`config.log' for more details." >&5
15336 echo "$as_me: error: C compiler cannot create executables
15337 See \`config.log' for more details." >&2;}
15338 { (exit 77); exit 77; }; }
15341 ac_exeext
=$ac_cv_exeext
15343 # Check that the compiler produces executables we can run. If not, either
15344 # the compiler is broken, or we cross compile.
15345 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15346 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15347 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15348 # If not cross compiling, check that we can run a simple program.
15349 if test "$cross_compiling" != yes; then
15350 if { ac_try
='./$ac_file'
15351 { (case "(($ac_try" in
15352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_try") 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15362 if test "$cross_compiling" = maybe; then
15363 cross_compiling=yes
15365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15366 If you meant to cross compile, use \`--host'.
15367 See \`config.log' for more details.
" >&5
15368 echo "$as_me: error
: cannot run C compiled programs.
15369 If you meant to cross compile
, use \
`--host'.
15370 See \`config.log
' for more details." >&2;}
15371 { (exit 1); exit 1; }; }
15375 { echo "$as_me:$LINENO: result: yes" >&5
15376 echo "${ECHO_T}yes" >&6; }
15378 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15379 ac_clean_files=$ac_clean_files_save
15380 # Check that the compiler produces executables we can run. If not, either
15381 # the compiler is broken, or we cross compile.
15382 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15384 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15385 echo "${ECHO_T}$cross_compiling" >&6; }
15387 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15389 if { (ac_try="$ac_link"
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_link") 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; then
15399 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15400 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15401 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15403 for ac_file
in conftest.exe conftest conftest.
*; do
15404 test -f "$ac_file" || continue
15406 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15407 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15413 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15414 See \`config.log' for more details." >&5
15415 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15420 rm -f conftest
$ac_cv_exeext
15421 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15422 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15424 rm -f conftest.
$ac_ext
15425 EXEEXT
=$ac_cv_exeext
15427 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15428 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15429 if test "${ac_cv_objext+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15447 rm -f conftest.o conftest.obj
15448 if { (ac_try
="$ac_compile"
15449 case "(($ac_try" in
15450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15454 (eval "$ac_compile") 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; then
15458 for ac_file in conftest.o conftest.obj conftest.*; do
15459 test -f "$ac_file" || continue;
15461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15462 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15471 See \`config.log
' for more details." >&5
15472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15473 See \`config.log' for more details.
" >&2;}
15474 { (exit 1); exit 1; }; }
15477 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15479 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15480 echo "${ECHO_T}$ac_cv_objext" >&6; }
15481 OBJEXT=$ac_cv_objext
15483 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15484 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15486 echo $ECHO_N "(cached
) $ECHO_C" >&6
15488 cat >conftest.$ac_ext <<_ACEOF
15491 cat confdefs.h >>conftest.$ac_ext
15492 cat >>conftest.$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15506 rm -f conftest.$ac_objext
15507 if { (ac_try="$ac_compile"
15508 case "(($ac_try" in
15509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15510 *) ac_try_echo=$ac_try;;
15512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15513 (eval "$ac_compile") 2>conftest.er1
15515 grep -v '^ *+' conftest.er1 >conftest.err
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15519 (exit $ac_status); } && {
15520 test -z "$ac_c_werror_flag" ||
15521 test ! -s conftest.err
15522 } && test -s conftest.$ac_objext; then
15523 ac_compiler_gnu=yes
15525 echo "$as_me: failed program was
:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15535 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15536 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15537 GCC=`test $ac_compiler_gnu = yes && echo yes`
15538 ac_test_CFLAGS=${CFLAGS+set}
15539 ac_save_CFLAGS=$CFLAGS
15540 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15541 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15542 if test "${ac_cv_prog_cc_g+set}" = set; then
15543 echo $ECHO_N "(cached
) $ECHO_C" >&6
15545 ac_save_c_werror_flag=$ac_c_werror_flag
15546 ac_c_werror_flag=yes
15549 cat >conftest.$ac_ext <<_ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15564 rm -f conftest.$ac_objext
15565 if { (ac_try="$ac_compile"
15566 case "(($ac_try" in
15567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15568 *) ac_try_echo=$ac_try;;
15570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15571 (eval "$ac_compile") 2>conftest.er1
15573 grep -v '^ *+' conftest.er1 >conftest.err
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15577 (exit $ac_status); } && {
15578 test -z "$ac_c_werror_flag" ||
15579 test ! -s conftest.err
15580 } && test -s conftest.$ac_objext; then
15581 ac_cv_prog_cc_g=yes
15583 echo "$as_me: failed program was
:" >&5
15584 sed 's/^/| /' conftest.$ac_ext >&5
15587 cat >conftest.$ac_ext <<_ACEOF
15590 cat confdefs.h >>conftest.$ac_ext
15591 cat >>conftest.$ac_ext <<_ACEOF
15592 /* end confdefs.h. */
15602 rm -f conftest.$ac_objext
15603 if { (ac_try="$ac_compile"
15604 case "(($ac_try" in
15605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15606 *) ac_try_echo=$ac_try;;
15608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15609 (eval "$ac_compile") 2>conftest.er1
15611 grep -v '^ *+' conftest.er1 >conftest.err
15613 cat conftest.err >&5
15614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15615 (exit $ac_status); } && {
15616 test -z "$ac_c_werror_flag" ||
15617 test ! -s conftest.err
15618 } && test -s conftest.$ac_objext; then
15621 echo "$as_me: failed program was
:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15624 ac_c_werror_flag=$ac_save_c_werror_flag
15626 cat >conftest.$ac_ext <<_ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15650 grep -v '^ *+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 ac_cv_prog_cc_g=yes
15660 echo "$as_me: failed program was
:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 ac_c_werror_flag=$ac_save_c_werror_flag
15675 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15677 if test "$ac_test_CFLAGS" = set; then
15678 CFLAGS=$ac_save_CFLAGS
15679 elif test $ac_cv_prog_cc_g = yes; then
15680 if test "$GCC" = yes; then
15686 if test "$GCC" = yes; then
15692 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15693 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15694 if test "${ac_cv_prog_cc_c89+set}" = set; then
15695 echo $ECHO_N "(cached
) $ECHO_C" >&6
15697 ac_cv_prog_cc_c89=no
15699 cat >conftest.$ac_ext <<_ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705 #include <stdarg.h>
15707 #include <sys/types.h>
15708 #include <sys/stat.h>
15709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15710 struct buf { int x; };
15711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15712 static char *e (p, i)
15718 static char *f (char * (*g) (char **, int), char **p, ...)
15723 s = g (p, va_arg (v,int));
15728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15729 function prototypes and stuff, but not '\xHH' hex character constants.
15730 These don't provoke an error unfortunately, instead are silently treated
15731 as 'x'. The following induces an error, until -std is added to get
15732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15733 array size at least. It's necessary to write '\x00'==0 to get something
15734 that's true only with -std. */
15735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15738 inside strings and character constants. */
15740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15742 int test (int i, double x);
15743 struct s1 {int (*f) (int a);};
15744 struct s2 {int (*f) (double a);};
15745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15759 CC="$ac_save_CC $ac_arg"
15760 rm -f conftest.$ac_objext
15761 if { (ac_try="$ac_compile"
15762 case "(($ac_try" in
15763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15764 *) ac_try_echo=$ac_try;;
15766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15767 (eval "$ac_compile") 2>conftest.er1
15769 grep -v '^ *+' conftest.er1 >conftest.err
15771 cat conftest.err >&5
15772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15773 (exit $ac_status); } && {
15774 test -z "$ac_c_werror_flag" ||
15775 test ! -s conftest.err
15776 } && test -s conftest.$ac_objext; then
15777 ac_cv_prog_cc_c89=$ac_arg
15779 echo "$as_me: failed program was
:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15785 rm -f core conftest.err conftest.$ac_objext
15786 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15788 rm -f conftest.$ac_ext
15793 case "x
$ac_cv_prog_cc_c89" in
15795 { echo "$as_me:$LINENO: result
: none needed
" >&5
15796 echo "${ECHO_T}none needed
" >&6; } ;;
15798 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15799 echo "${ECHO_T}unsupported
" >&6; } ;;
15801 CC="$CC $ac_cv_prog_cc_c89"
15802 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15803 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15808 ac_cpp='$CPP $CPPFLAGS'
15809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15821 ac_cpp='$CPP $CPPFLAGS'
15822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15826 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15827 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15828 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15829 echo $ECHO_N "(cached
) $ECHO_C" >&6
15831 cat >conftest.$ac_ext <<_ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15842 #ifndef __INTEL_COMPILER
15850 rm -f conftest.$ac_objext
15851 if { (ac_try="$ac_compile"
15852 case "(($ac_try" in
15853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15854 *) ac_try_echo=$ac_try;;
15856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15857 (eval "$ac_compile") 2>conftest.er1
15859 grep -v '^ *+' conftest.er1 >conftest.err
15861 cat conftest.err >&5
15862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15863 (exit $ac_status); } && {
15864 test -z "$ac_c_werror_flag" ||
15865 test ! -s conftest.err
15866 } && test -s conftest.$ac_objext; then
15867 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15869 echo "$as_me: failed program was
:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15872 bakefile_cv_c_compiler___INTEL_COMPILER=no
15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15880 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15881 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15882 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15888 ac_cpp='$CPP $CPPFLAGS'
15889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15896 if test "$INTELCC" = "yes"; then
15900 ac_cpp='$CPP $CPPFLAGS'
15901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15905 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15906 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15907 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15908 echo $ECHO_N "(cached
) $ECHO_C" >&6
15910 cat >conftest.$ac_ext <<_ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15921 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15929 rm -f conftest.$ac_objext
15930 if { (ac_try="$ac_compile"
15931 case "(($ac_try" in
15932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15933 *) ac_try_echo=$ac_try;;
15935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15936 (eval "$ac_compile") 2>conftest.er1
15938 grep -v '^ *+' conftest.er1 >conftest.err
15940 cat conftest.err >&5
15941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15942 (exit $ac_status); } && {
15943 test -z "$ac_c_werror_flag" ||
15944 test ! -s conftest.err
15945 } && test -s conftest.$ac_objext; then
15946 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15948 echo "$as_me: failed program was
:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15951 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15960 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15961 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977 ac_cpp='$CPP $CPPFLAGS'
15978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15982 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15983 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15984 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15985 echo $ECHO_N "(cached
) $ECHO_C" >&6
15987 cat >conftest.$ac_ext <<_ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15998 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16006 rm -f conftest.$ac_objext
16007 if { (ac_try="$ac_compile"
16008 case "(($ac_try" in
16009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16010 *) ac_try_echo=$ac_try;;
16012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16013 (eval "$ac_compile") 2>conftest.er1
16015 grep -v '^ *+' conftest.er1 >conftest.err
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16019 (exit $ac_status); } && {
16020 test -z "$ac_c_werror_flag" ||
16021 test ! -s conftest.err
16022 } && test -s conftest.$ac_objext; then
16023 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16025 echo "$as_me: failed program was
:" >&5
16026 sed 's/^/| /' conftest.$ac_ext >&5
16028 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16037 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16038 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16053 if test "x
$GCC" != "xyes
"; then
16054 if test "xCC
" = "xC
"; then
16055 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16056 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16057 if test "${bakefile_cv_c_exto+set}" = set; then
16058 echo $ECHO_N "(cached
) $ECHO_C" >&6
16060 cat >conftest.$ac_ext <<_ACEOF
16063 cat confdefs.h >>conftest.$ac_ext
16064 cat >>conftest.$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16075 rm -f conftest.$ac_objext conftest.$ac_ext.o
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>&5
16079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16080 (exit $ac_status); }; then
16081 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16083 conftest.$ac_ext.o)
16084 bakefile_cv_c_exto="-ext o
"
16091 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16092 See \
`config.log' for more details." >&5
16093 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16094 See \`config.log
' for more details." >&2;}
16095 { (exit 1); exit 1; }; }
16099 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16102 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16103 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16104 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16105 if test "c" = "c"; then
16106 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16108 if test "c" = "cxx"; then
16109 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16113 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16114 unset ac_cv_prog_cc_g
16115 ac_test_CFLAGS=${CFLAGS+set}
16116 ac_save_CFLAGS=$CFLAGS
16117 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16118 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16119 if test "${ac_cv_prog_cc_g+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 ac_save_c_werror_flag=$ac_c_werror_flag
16123 ac_c_werror_flag=yes
16126 cat >conftest.$ac_ext <<_ACEOF
16129 cat confdefs.h >>conftest.$ac_ext
16130 cat >>conftest.$ac_ext <<_ACEOF
16131 /* end confdefs.h. */
16141 rm -f conftest.$ac_objext
16142 if { (ac_try="$ac_compile"
16143 case "(($ac_try" in
16144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16145 *) ac_try_echo=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_compile") 2>conftest.er1
16150 grep -v '^
*+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } && {
16155 test -z "$ac_c_werror_flag" ||
16156 test ! -s conftest.err
16157 } && test -s conftest.$ac_objext; then
16158 ac_cv_prog_cc_g=yes
16160 echo "$as_me: failed program was:" >&5
16161 sed 's
/^
/| /' conftest.$ac_ext >&5
16164 cat >conftest.$ac_ext <<_ACEOF
16167 cat confdefs.h >>conftest.$ac_ext
16168 cat >>conftest.$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16179 rm -f conftest.$ac_objext
16180 if { (ac_try="$ac_compile"
16181 case "(($ac_try" in
16182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16183 *) ac_try_echo=$ac_try;;
16185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16186 (eval "$ac_compile") 2>conftest.er1
16188 grep -v '^
*+' conftest.er1 >conftest.err
16190 cat conftest.err >&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } && {
16193 test -z "$ac_c_werror_flag" ||
16194 test ! -s conftest.err
16195 } && test -s conftest.$ac_objext; then
16198 echo "$as_me: failed program was:" >&5
16199 sed 's
/^
/| /' conftest.$ac_ext >&5
16201 ac_c_werror_flag=$ac_save_c_werror_flag
16203 cat >conftest.$ac_ext <<_ACEOF
16206 cat confdefs.h >>conftest.$ac_ext
16207 cat >>conftest.$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16218 rm -f conftest.$ac_objext
16219 if { (ac_try="$ac_compile"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_compile") 2>conftest.er1
16227 grep -v '^
*+' conftest.er1 >conftest.err
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } && {
16232 test -z "$ac_c_werror_flag" ||
16233 test ! -s conftest.err
16234 } && test -s conftest.$ac_objext; then
16235 ac_cv_prog_cc_g=yes
16237 echo "$as_me: failed program was:" >&5
16238 sed 's
/^
/| /' conftest.$ac_ext >&5
16243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 ac_c_werror_flag=$ac_save_c_werror_flag
16252 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16253 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16254 if test "$ac_test_CFLAGS" = set; then
16255 CFLAGS=$ac_save_CFLAGS
16256 elif test $ac_cv_prog_cc_g = yes; then
16257 if test "$GCC" = yes; then
16263 if test "$GCC" = yes; then
16277 ac_cpp='$CPP $CPPFLAGS'
16278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16282 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16283 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16284 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 cat >conftest.$ac_ext <<_ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16306 rm -f conftest.$ac_objext
16307 if { (ac_try="$ac_compile"
16308 case "(($ac_try" in
16309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16310 *) ac_try_echo=$ac_try;;
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16313 (eval "$ac_compile") 2>conftest.er1
16315 grep -v '^
*+' conftest.er1 >conftest.err
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } && {
16320 test -z "$ac_c_werror_flag" ||
16321 test ! -s conftest.err
16322 } && test -s conftest.$ac_objext; then
16323 bakefile_cv_c_compiler___xlC__=yes
16325 echo "$as_me: failed program was:" >&5
16326 sed 's
/^
/| /' conftest.$ac_ext >&5
16328 bakefile_cv_c_compiler___xlC__=no
16332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16337 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16338 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16344 ac_cpp='$CPP $CPPFLAGS'
16345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16346 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16359 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16363 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16364 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 cat >conftest.$ac_ext <<_ACEOF
16370 cat confdefs.h >>conftest.$ac_ext
16371 cat >>conftest.$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16386 rm -f conftest.$ac_objext
16387 if { (ac_try="$ac_compile"
16388 case "(($ac_try" in
16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16390 *) ac_try_echo=$ac_try;;
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_compile") 2>conftest.er1
16395 grep -v '^
*+' conftest.er1 >conftest.err
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } && {
16400 test -z "$ac_c_werror_flag" ||
16401 test ! -s conftest.err
16402 } && test -s conftest.$ac_objext; then
16403 bakefile_cv_c_compiler___MWERKS__=yes
16405 echo "$as_me: failed program was:" >&5
16406 sed 's
/^
/| /' conftest.$ac_ext >&5
16408 bakefile_cv_c_compiler___MWERKS__=no
16412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16416 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16417 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16418 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16424 ac_cpp='$CPP $CPPFLAGS'
16425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16431 if test "$MWCC" != "yes"; then
16435 ac_cpp='$CPP $CPPFLAGS'
16436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16437 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16440 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16441 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16442 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 cat >conftest.$ac_ext <<_ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16464 rm -f conftest.$ac_objext
16465 if { (ac_try="$ac_compile"
16466 case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_compile") 2>conftest.er1
16473 grep -v '^
*+' conftest.er1 >conftest.err
16475 cat conftest.err >&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } && {
16478 test -z "$ac_c_werror_flag" ||
16479 test ! -s conftest.err
16480 } && test -s conftest.$ac_objext; then
16481 bakefile_cv_c_compiler___xlC__=yes
16483 echo "$as_me: failed program was:" >&5
16484 sed 's
/^
/| /' conftest.$ac_ext >&5
16486 bakefile_cv_c_compiler___xlC__=no
16490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16494 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16495 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16496 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16502 ac_cpp='$CPP $CPPFLAGS'
16503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16504 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516 ac_cpp='$CPP $CPPFLAGS'
16517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16518 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16521 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16522 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16523 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16524 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 cat >conftest.$ac_ext <<_ACEOF
16529 cat confdefs.h >>conftest.$ac_ext
16530 cat >>conftest.$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16537 #ifndef _SGI_COMPILER_VERSION
16545 rm -f conftest.$ac_objext
16546 if { (ac_try="$ac_compile"
16547 case "(($ac_try" in
16548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16549 *) ac_try_echo=$ac_try;;
16551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16552 (eval "$ac_compile") 2>conftest.er1
16554 grep -v '^
*+' conftest.er1 >conftest.err
16556 cat conftest.err >&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); } && {
16559 test -z "$ac_c_werror_flag" ||
16560 test ! -s conftest.err
16561 } && test -s conftest.$ac_objext; then
16562 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16564 echo "$as_me: failed program was:" >&5
16565 sed 's
/^
/| /' conftest.$ac_ext >&5
16567 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16576 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16577 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16583 ac_cpp='$CPP $CPPFLAGS'
16584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16593 if test "$INTELCC" != "yes"; then
16597 ac_cpp='$CPP $CPPFLAGS'
16598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16599 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16602 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16603 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16604 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 cat >conftest.$ac_ext <<_ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16626 rm -f conftest.$ac_objext
16627 if { (ac_try="$ac_compile"
16628 case "(($ac_try" in
16629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16630 *) ac_try_echo=$ac_try;;
16632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16633 (eval "$ac_compile") 2>conftest.er1
16635 grep -v '^
*+' conftest.er1 >conftest.err
16637 cat conftest.err >&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } && {
16640 test -z "$ac_c_werror_flag" ||
16641 test ! -s conftest.err
16642 } && test -s conftest.$ac_objext; then
16643 bakefile_cv_c_compiler___SUNPRO_C=yes
16645 echo "$as_me: failed program was:" >&5
16646 sed 's
/^
/| /' conftest.$ac_ext >&5
16648 bakefile_cv_c_compiler___SUNPRO_C=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16656 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16657 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16658 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16664 ac_cpp='$CPP $CPPFLAGS'
16665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16666 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16678 ac_cpp='$CPP $CPPFLAGS'
16679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16680 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16683 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16684 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16685 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 cat >conftest.$ac_ext <<_ACEOF
16691 cat confdefs.h >>conftest.$ac_ext
16692 cat >>conftest.$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16716 grep -v '^
*+' conftest.er1 >conftest.err
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 bakefile_cv_c_compiler___HP_cc=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's
/^
/| /' conftest.$ac_ext >&5
16729 bakefile_cv_c_compiler___HP_cc=no
16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16737 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16738 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16739 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16745 ac_cpp='$CPP $CPPFLAGS'
16746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16747 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16758 ac_cpp='$CPP $CPPFLAGS'
16759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16760 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16763 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16764 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16765 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 cat >conftest.$ac_ext <<_ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16787 rm -f conftest.$ac_objext
16788 if { (ac_try="$ac_compile"
16789 case "(($ac_try" in
16790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16791 *) ac_try_echo=$ac_try;;
16793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16794 (eval "$ac_compile") 2>conftest.er1
16796 grep -v '^
*+' conftest.er1 >conftest.err
16798 cat conftest.err >&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } && {
16801 test -z "$ac_c_werror_flag" ||
16802 test ! -s conftest.err
16803 } && test -s conftest.$ac_objext; then
16804 bakefile_cv_c_compiler___DECC=yes
16806 echo "$as_me: failed program was:" >&5
16807 sed 's
/^
/| /' conftest.$ac_ext >&5
16809 bakefile_cv_c_compiler___DECC=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16817 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16818 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16819 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16827 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16838 ac_cpp='$CPP $CPPFLAGS'
16839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16840 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16843 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16844 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16845 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 cat >conftest.$ac_ext <<_ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16867 rm -f conftest.$ac_objext
16868 if { (ac_try="$ac_compile"
16869 case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_compile") 2>conftest.er1
16876 grep -v '^
*+' conftest.er1 >conftest.err
16878 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest.$ac_objext; then
16884 bakefile_cv_c_compiler___SUNPRO_C=yes
16886 echo "$as_me: failed program was:" >&5
16887 sed 's
/^
/| /' conftest.$ac_ext >&5
16889 bakefile_cv_c_compiler___SUNPRO_C=no
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16898 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16899 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16905 ac_cpp='$CPP $CPPFLAGS'
16906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16907 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16919 ac_cpp='$CPP $CPPFLAGS'
16920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16921 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16923 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16924 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16925 # On Suns, sometimes $CPP names a directory.
16926 if test -n "$CPP" && test -d "$CPP"; then
16929 if test -z "$CPP"; then
16930 if test "${ac_cv_prog_CPP+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 # Double quotes because CPP needs to be expanded
16934 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16936 ac_preproc_ok=false
16937 for ac_c_preproc_warn_flag in '' yes
16939 # Use a header file that comes with gcc, so configuring glibc
16940 # with a fresh cross-compiler works.
16941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16942 # <limits.h> exists even on freestanding compilers.
16943 # On the NeXT, cc -E runs the code through the compiler's parser
,
16944 # not just through cpp. "Syntax error" is here to catch this case.
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16952 # include <limits.h>
16954 # include <assert.h>
16958 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16959 case "(($ac_try" in
16960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16966 grep -v '^ *+' conftest.er1 >conftest.err
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } >/dev/null && {
16971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16972 test ! -s conftest.err
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16979 # Broken: fails on valid input.
16983 rm -f conftest.err conftest.$ac_ext
16985 # OK, works on sane cases. Now check whether nonexistent headers
16986 # can be detected and how.
16987 cat >conftest.$ac_ext <<_ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 #include <ac_nonexistent.h>
16995 if { (ac_try="$ac_cpp conftest.$ac_ext"
16996 case "(($ac_try" in
16997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16998 *) ac_try_echo
=$ac_try;;
17000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17003 grep -v '^ *+' conftest.er1
>conftest.err
17005 cat conftest.err
>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } >/dev
/null
&& {
17008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17009 test ! -s conftest.err
17011 # Broken: success on invalid input.
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.
$ac_ext >&5
17017 # Passes both tests.
17022 rm -f conftest.err conftest.
$ac_ext
17025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17026 rm -f conftest.err conftest.
$ac_ext
17027 if $ac_preproc_ok; then
17032 ac_cv_prog_CPP
=$CPP
17035 CPP
=$ac_cv_prog_CPP
17037 ac_cv_prog_CPP
=$CPP
17039 { echo "$as_me:$LINENO: result: $CPP" >&5
17040 echo "${ECHO_T}$CPP" >&6; }
17041 ac_preproc_ok
=false
17042 for ac_c_preproc_warn_flag
in '' yes
17044 # Use a header file that comes with gcc, so configuring glibc
17045 # with a fresh cross-compiler works.
17046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17047 # <limits.h> exists even on freestanding compilers.
17048 # On the NeXT, cc -E runs the code through the compiler's parser,
17049 # not just through cpp. "Syntax error" is here to catch this case.
17050 cat >conftest.
$ac_ext <<_ACEOF
17053 cat confdefs.h
>>conftest.
$ac_ext
17054 cat >>conftest.
$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17057 # include <limits.h>
17059 # include <assert.h>
17063 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17064 case "(($ac_try" in
17065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17066 *) ac_try_echo=$ac_try;;
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17071 grep -v '^ *+' conftest.er1 >conftest.err
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } >/dev/null && {
17076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17077 test ! -s conftest.err
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 # Broken: fails on valid input.
17088 rm -f conftest.err conftest.$ac_ext
17090 # OK, works on sane cases. Now check whether nonexistent headers
17091 # can be detected and how.
17092 cat >conftest.$ac_ext <<_ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 #include <ac_nonexistent.h>
17100 if { (ac_try="$ac_cpp conftest.$ac_ext"
17101 case "(($ac_try" in
17102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17103 *) ac_try_echo
=$ac_try;;
17105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17108 grep -v '^ *+' conftest.er1
>conftest.err
17110 cat conftest.err
>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } >/dev
/null
&& {
17113 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17114 test ! -s conftest.err
17116 # Broken: success on invalid input.
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.
$ac_ext >&5
17122 # Passes both tests.
17127 rm -f conftest.err conftest.
$ac_ext
17130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17131 rm -f conftest.err conftest.
$ac_ext
17132 if $ac_preproc_ok; then
17135 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17136 See \`config.log' for more details." >&5
17137 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17138 See \`config.log' for more details." >&2;}
17139 { (exit 1); exit 1; }; }
17143 ac_cpp
='$CPP $CPPFLAGS'
17144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17149 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17150 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17151 if test "${ac_cv_path_GREP+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 # Extract the first word of "grep ggrep" to use in msg output
17155 if test -z "$GREP"; then
17156 set dummy
grep ggrep
; ac_prog_name
=$2
17157 if test "${ac_cv_path_GREP+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 ac_path_GREP_found
=false
17161 # Loop through the user's path and test for each of PROGNAME-LIST
17162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17166 test -z "$as_dir" && as_dir
=.
17167 for ac_prog
in grep ggrep
; do
17168 for ac_exec_ext
in '' $ac_executable_extensions; do
17169 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17170 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17171 # Check for GNU ac_path_GREP and select it if it is found.
17172 # Check for GNU $ac_path_GREP
17173 case `"$ac_path_GREP" --version 2>&1` in
17175 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17178 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17181 cat "conftest.in" "conftest.in" >"conftest.tmp"
17182 mv "conftest.tmp" "conftest.in"
17183 cp "conftest.in" "conftest.nl"
17184 echo 'GREP' >> "conftest.nl"
17185 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17187 ac_count
=`expr $ac_count + 1`
17188 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17189 # Best one so far, save it but keep looking for a better one
17190 ac_cv_path_GREP
="$ac_path_GREP"
17191 ac_path_GREP_max
=$ac_count
17193 # 10*(2^10) chars as input seems more than enough
17194 test $ac_count -gt 10 && break
17196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17200 $ac_path_GREP_found && break 3
17210 GREP
="$ac_cv_path_GREP"
17211 if test -z "$GREP"; then
17212 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17213 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17214 { (exit 1); exit 1; }; }
17218 ac_cv_path_GREP
=$GREP
17223 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17224 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17225 GREP
="$ac_cv_path_GREP"
17228 { echo "$as_me:$LINENO: checking for egrep" >&5
17229 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17230 if test "${ac_cv_path_EGREP+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17234 then ac_cv_path_EGREP
="$GREP -E"
17236 # Extract the first word of "egrep" to use in msg output
17237 if test -z "$EGREP"; then
17238 set dummy
egrep; ac_prog_name
=$2
17239 if test "${ac_cv_path_EGREP+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 ac_path_EGREP_found
=false
17243 # Loop through the user's path and test for each of PROGNAME-LIST
17244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17245 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17248 test -z "$as_dir" && as_dir
=.
17249 for ac_prog
in egrep; do
17250 for ac_exec_ext
in '' $ac_executable_extensions; do
17251 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17252 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17253 # Check for GNU ac_path_EGREP and select it if it is found.
17254 # Check for GNU $ac_path_EGREP
17255 case `"$ac_path_EGREP" --version 2>&1` in
17257 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17260 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17263 cat "conftest.in" "conftest.in" >"conftest.tmp"
17264 mv "conftest.tmp" "conftest.in"
17265 cp "conftest.in" "conftest.nl"
17266 echo 'EGREP' >> "conftest.nl"
17267 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17268 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17269 ac_count
=`expr $ac_count + 1`
17270 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17271 # Best one so far, save it but keep looking for a better one
17272 ac_cv_path_EGREP
="$ac_path_EGREP"
17273 ac_path_EGREP_max
=$ac_count
17275 # 10*(2^10) chars as input seems more than enough
17276 test $ac_count -gt 10 && break
17278 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17282 $ac_path_EGREP_found && break 3
17292 EGREP
="$ac_cv_path_EGREP"
17293 if test -z "$EGREP"; then
17294 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17295 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17296 { (exit 1); exit 1; }; }
17300 ac_cv_path_EGREP
=$EGREP
17306 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17307 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17308 EGREP
="$ac_cv_path_EGREP"
17311 if test $ac_cv_c_compiler_gnu = yes; then
17312 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17313 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17314 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 ac_pattern
="Autoconf.*'x'"
17318 cat >conftest.
$ac_ext <<_ACEOF
17321 cat confdefs.h
>>conftest.
$ac_ext
17322 cat >>conftest.
$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17328 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17329 ac_cv_prog_gcc_traditional
=yes
17331 ac_cv_prog_gcc_traditional
=no
17336 if test $ac_cv_prog_gcc_traditional = no
; then
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 #include <termio.h>
17346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17347 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17348 ac_cv_prog_gcc_traditional
=yes
17354 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17355 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17356 if test $ac_cv_prog_gcc_traditional = yes; then
17357 CC
="$CC -traditional"
17362 CXXFLAGS
=${CXXFLAGS:=}
17364 ac_cpp
='$CXXCPP $CPPFLAGS'
17365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17368 if test -z "$CXX"; then
17369 if test -n "$CCC"; then
17372 if test -n "$ac_tool_prefix"; then
17373 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17376 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17379 if test "${ac_cv_prog_CXX+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 if test -n "$CXX"; then
17383 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17386 for as_dir
in $PATH
17389 test -z "$as_dir" && as_dir
=.
17390 for ac_exec_ext
in '' $ac_executable_extensions; do
17391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17392 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17402 CXX
=$ac_cv_prog_CXX
17403 if test -n "$CXX"; then
17404 { echo "$as_me:$LINENO: result: $CXX" >&5
17405 echo "${ECHO_T}$CXX" >&6; }
17407 { echo "$as_me:$LINENO: result: no" >&5
17408 echo "${ECHO_T}no" >&6; }
17412 test -n "$CXX" && break
17415 if test -z "$CXX"; then
17417 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17419 # Extract the first word of "$ac_prog", so it can be a program name with args.
17420 set dummy
$ac_prog; ac_word
=$2
17421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17423 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 if test -n "$ac_ct_CXX"; then
17427 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17430 for as_dir
in $PATH
17433 test -z "$as_dir" && as_dir
=.
17434 for ac_exec_ext
in '' $ac_executable_extensions; do
17435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17436 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17446 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17447 if test -n "$ac_ct_CXX"; then
17448 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17449 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17451 { echo "$as_me:$LINENO: result: no" >&5
17452 echo "${ECHO_T}no" >&6; }
17456 test -n "$ac_ct_CXX" && break
17459 if test "x$ac_ct_CXX" = x
; then
17462 case $cross_compiling:$ac_tool_warned in
17464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17465 whose name does not start with the host triplet. If you think this
17466 configuration is useful to you, please write to autoconf@gnu.org." >&5
17467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17468 whose name does not start with the host triplet. If you think this
17469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17470 ac_tool_warned
=yes ;;
17478 # Provide some information about the compiler.
17479 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17480 ac_compiler
=`set X $ac_compile; echo $2`
17481 { (ac_try
="$ac_compiler --version >&5"
17482 case "(($ac_try" in
17483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17484 *) ac_try_echo=$ac_try;;
17486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17487 (eval "$ac_compiler --version >&5") 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }
17491 { (ac_try="$ac_compiler -v >&5"
17492 case "(($ac_try" in
17493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17494 *) ac_try_echo
=$ac_try;;
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_compiler -v >&5") 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }
17501 { (ac_try
="$ac_compiler -V >&5"
17502 case "(($ac_try" in
17503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compiler -V >&5") 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }
17512 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17513 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17514 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17515 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 cat >conftest.$ac_ext <<_ACEOF
17520 cat confdefs.h >>conftest.$ac_ext
17521 cat >>conftest.$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17535 rm -f conftest.$ac_objext
17536 if { (ac_try="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17539 *) ac_try_echo
=$ac_try;;
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17544 grep -v '^ *+' conftest.er1
>conftest.err
17546 cat conftest.err
>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_cxx_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.
$ac_objext; then
17552 ac_compiler_gnu
=yes
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.
$ac_ext >&5
17560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17561 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17564 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17565 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17566 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17567 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17568 ac_save_CXXFLAGS
=$CXXFLAGS
17569 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17570 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17571 if test "${ac_cv_prog_cxx_g+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17575 ac_cxx_werror_flag
=yes
17576 ac_cv_prog_cxx_g
=no
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17593 rm -f conftest.
$ac_objext
17594 if { (ac_try
="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17602 grep -v '^ *+' conftest.er1 >conftest.err
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_cxx_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 ac_cv_prog_cxx_g=yes
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17616 cat >conftest.$ac_ext <<_ACEOF
17619 cat confdefs.h >>conftest.$ac_ext
17620 cat >>conftest.$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17631 rm -f conftest.$ac_objext
17632 if { (ac_try="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17635 *) ac_try_echo
=$ac_try;;
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17640 grep -v '^ *+' conftest.er1
>conftest.err
17642 cat conftest.err
>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.
$ac_objext; then
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.
$ac_ext >&5
17653 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17655 cat >conftest.
$ac_ext <<_ACEOF
17658 cat confdefs.h
>>conftest.
$ac_ext
17659 cat >>conftest.
$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17670 rm -f conftest.
$ac_objext
17671 if { (ac_try
="$ac_compile"
17672 case "(($ac_try" in
17673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17674 *) ac_try_echo=$ac_try;;
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_compile") 2>conftest.er1
17679 grep -v '^ *+' conftest.er1 >conftest.err
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } && {
17684 test -z "$ac_cxx_werror_flag" ||
17685 test ! -s conftest.err
17686 } && test -s conftest.$ac_objext; then
17687 ac_cv_prog_cxx_g=yes
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17702 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17704 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17705 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17706 if test "$ac_test_CXXFLAGS" = set; then
17707 CXXFLAGS=$ac_save_CXXFLAGS
17708 elif test $ac_cv_prog_cxx_g = yes; then
17709 if test "$GXX" = yes; then
17715 if test "$GXX" = yes; then
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17735 ac_cpp='$CXXCPP $CPPFLAGS'
17736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17740 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17741 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17742 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17743 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 cat >conftest.$ac_ext <<_ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17756 #ifndef __INTEL_COMPILER
17764 rm -f conftest.$ac_objext
17765 if { (ac_try="$ac_compile"
17766 case "(($ac_try" in
17767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17768 *) ac_try_echo
=$ac_try;;
17770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17771 (eval "$ac_compile") 2>conftest.er1
17773 grep -v '^ *+' conftest.er1
>conftest.err
17775 cat conftest.err
>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } && {
17778 test -z "$ac_cxx_werror_flag" ||
17779 test ! -s conftest.err
17780 } && test -s conftest.
$ac_objext; then
17781 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17794 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17795 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17796 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17802 ac_cpp
='$CPP $CPPFLAGS'
17803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17810 if test "$INTELCXX" = "yes"; then
17814 ac_cpp
='$CXXCPP $CPPFLAGS'
17815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17819 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17820 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17821 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17835 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17843 rm -f conftest.
$ac_objext
17844 if { (ac_try
="$ac_compile"
17845 case "(($ac_try" in
17846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17847 *) ac_try_echo=$ac_try;;
17849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17850 (eval "$ac_compile") 2>conftest.er1
17852 grep -v '^ *+' conftest.er1 >conftest.err
17854 cat conftest.err >&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); } && {
17857 test -z "$ac_cxx_werror_flag" ||
17858 test ! -s conftest.err
17859 } && test -s conftest.$ac_objext; then
17860 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.$ac_ext >&5
17865 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17874 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17875 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17896 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17897 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17898 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17899 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 cat >conftest.$ac_ext <<_ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17912 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17920 rm -f conftest.$ac_objext
17921 if { (ac_try="$ac_compile"
17922 case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17924 *) ac_try_echo
=$ac_try;;
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_compile") 2>conftest.er1
17929 grep -v '^ *+' conftest.er1
>conftest.err
17931 cat conftest.err
>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } && {
17934 test -z "$ac_cxx_werror_flag" ||
17935 test ! -s conftest.err
17936 } && test -s conftest.
$ac_objext; then
17937 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.
$ac_ext >&5
17942 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17950 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17951 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17952 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17958 ac_cpp
='$CPP $CPPFLAGS'
17959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17967 if test "x$GCXX" != "xyes"; then
17968 if test "xCXX" = "xC"; then
17969 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17970 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17971 if test "${bakefile_cv_c_exto+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17974 cat >conftest.
$ac_ext <<_ACEOF
17977 cat confdefs.h
>>conftest.
$ac_ext
17978 cat >>conftest.
$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17989 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17991 (eval $ac_compile) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; then
17995 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17997 conftest.
$ac_ext.o
)
17998 bakefile_cv_c_exto
="-ext o"
18005 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18006 See \`config.log' for more details." >&5
18007 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18008 See \`config.log' for more details." >&2;}
18009 { (exit 1); exit 1; }; }
18013 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18016 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18017 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18018 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18019 if test "c" = "c"; then
18020 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18022 if test "c" = "cxx"; then
18023 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18027 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18028 unset ac_cv_prog_cc_g
18029 ac_test_CFLAGS
=${CFLAGS+set}
18030 ac_save_CFLAGS
=$CFLAGS
18031 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18033 if test "${ac_cv_prog_cc_g+set}" = set; then
18034 echo $ECHO_N "(cached) $ECHO_C" >&6
18036 ac_save_c_werror_flag
=$ac_c_werror_flag
18037 ac_c_werror_flag
=yes
18040 cat >conftest.
$ac_ext <<_ACEOF
18043 cat confdefs.h
>>conftest.
$ac_ext
18044 cat >>conftest.
$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18055 rm -f conftest.
$ac_objext
18056 if { (ac_try
="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18072 ac_cv_prog_cc_g=yes
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18078 cat >conftest.$ac_ext <<_ACEOF
18081 cat confdefs.h >>conftest.$ac_ext
18082 cat >>conftest.$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18093 rm -f conftest.$ac_objext
18094 if { (ac_try="$ac_compile"
18095 case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18097 *) ac_try_echo
=$ac_try;;
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_compile") 2>conftest.er1
18102 grep -v '^ *+' conftest.er1
>conftest.err
18104 cat conftest.err
>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && {
18107 test -z "$ac_c_werror_flag" ||
18108 test ! -s conftest.err
18109 } && test -s conftest.
$ac_objext; then
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.
$ac_ext >&5
18115 ac_c_werror_flag
=$ac_save_c_werror_flag
18117 cat >conftest.
$ac_ext <<_ACEOF
18120 cat confdefs.h
>>conftest.
$ac_ext
18121 cat >>conftest.
$ac_ext <<_ACEOF
18122 /* end confdefs.h. */
18132 rm -f conftest.
$ac_objext
18133 if { (ac_try
="$ac_compile"
18134 case "(($ac_try" in
18135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18136 *) ac_try_echo=$ac_try;;
18138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18139 (eval "$ac_compile") 2>conftest.er1
18141 grep -v '^ *+' conftest.er1 >conftest.err
18143 cat conftest.err >&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } && {
18146 test -z "$ac_c_werror_flag" ||
18147 test ! -s conftest.err
18148 } && test -s conftest.$ac_objext; then
18149 ac_cv_prog_cc_g=yes
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.$ac_ext >&5
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18164 ac_c_werror_flag=$ac_save_c_werror_flag
18166 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18167 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18168 if test "$ac_test_CFLAGS" = set; then
18169 CFLAGS=$ac_save_CFLAGS
18170 elif test $ac_cv_prog_cc_g = yes; then
18171 if test "$GCC" = yes; then
18177 if test "$GCC" = yes; then
18191 ac_cpp='$CXXCPP $CPPFLAGS'
18192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18196 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18197 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18198 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18199 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 cat >conftest.$ac_ext <<_ACEOF
18204 cat confdefs.h >>conftest.$ac_ext
18205 cat >>conftest.$ac_ext <<_ACEOF
18206 /* end confdefs.h. */
18220 rm -f conftest.$ac_objext
18221 if { (ac_try="$ac_compile"
18222 case "(($ac_try" in
18223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18224 *) ac_try_echo
=$ac_try;;
18226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18227 (eval "$ac_compile") 2>conftest.er1
18229 grep -v '^ *+' conftest.er1
>conftest.err
18231 cat conftest.err
>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } && {
18234 test -z "$ac_cxx_werror_flag" ||
18235 test ! -s conftest.err
18236 } && test -s conftest.
$ac_objext; then
18237 bakefile_cv_cxx_compiler___xlC__
=yes
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 bakefile_cv_cxx_compiler___xlC__
=no
18246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18250 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18251 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18252 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18258 ac_cpp
='$CPP $CPPFLAGS'
18259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18271 ac_cpp
='$CXXCPP $CPPFLAGS'
18272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18276 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18277 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18278 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 cat >conftest.
$ac_ext <<_ACEOF
18284 cat confdefs.h
>>conftest.
$ac_ext
18285 cat >>conftest.
$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18300 rm -f conftest.
$ac_objext
18301 if { (ac_try
="$ac_compile"
18302 case "(($ac_try" in
18303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18304 *) ac_try_echo=$ac_try;;
18306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18307 (eval "$ac_compile") 2>conftest.er1
18309 grep -v '^ *+' conftest.er1 >conftest.err
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && {
18314 test -z "$ac_cxx_werror_flag" ||
18315 test ! -s conftest.err
18316 } && test -s conftest.$ac_objext; then
18317 bakefile_cv_cxx_compiler___MWERKS__=yes
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18322 bakefile_cv_cxx_compiler___MWERKS__=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18330 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18331 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18332 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18345 if test "$MWCXX" != "yes"; then
18349 ac_cpp='$CXXCPP $CPPFLAGS'
18350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18354 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18355 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18356 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 cat >conftest.$ac_ext <<_ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18378 rm -f conftest.$ac_objext
18379 if { (ac_try="$ac_compile"
18380 case "(($ac_try" in
18381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18382 *) ac_try_echo
=$ac_try;;
18384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18385 (eval "$ac_compile") 2>conftest.er1
18387 grep -v '^ *+' conftest.er1
>conftest.err
18389 cat conftest.err
>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && {
18392 test -z "$ac_cxx_werror_flag" ||
18393 test ! -s conftest.err
18394 } && test -s conftest.
$ac_objext; then
18395 bakefile_cv_cxx_compiler___xlC__
=yes
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.
$ac_ext >&5
18400 bakefile_cv_cxx_compiler___xlC__
=no
18404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18408 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18409 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18410 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18416 ac_cpp
='$CPP $CPPFLAGS'
18417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18430 ac_cpp
='$CXXCPP $CPPFLAGS'
18431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18435 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18436 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18437 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 cat >conftest.
$ac_ext <<_ACEOF
18443 cat confdefs.h
>>conftest.
$ac_ext
18444 cat >>conftest.
$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18451 #ifndef _SGI_COMPILER_VERSION
18459 rm -f conftest.
$ac_objext
18460 if { (ac_try
="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18468 grep -v '^ *+' conftest.er1 >conftest.err
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_cxx_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18490 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18491 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18497 ac_cpp='$CPP $CPPFLAGS'
18498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507 if test "$INTELCXX" != "yes"; then
18511 ac_cpp='$CXXCPP $CPPFLAGS'
18512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18516 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18517 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18518 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18519 echo $ECHO_N "(cached) $ECHO_C" >&6
18521 cat >conftest.$ac_ext <<_ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18532 #ifndef __SUNPRO_CC
18540 rm -f conftest.$ac_objext
18541 if { (ac_try="$ac_compile"
18542 case "(($ac_try" in
18543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18544 *) ac_try_echo
=$ac_try;;
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_compile") 2>conftest.er1
18549 grep -v '^ *+' conftest.er1
>conftest.err
18551 cat conftest.err
>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && {
18554 test -z "$ac_cxx_werror_flag" ||
18555 test ! -s conftest.err
18556 } && test -s conftest.
$ac_objext; then
18557 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18559 echo "$as_me: failed program was:" >&5
18560 sed 's/^/| /' conftest.
$ac_ext >&5
18562 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18570 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18571 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18572 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18578 ac_cpp
='$CPP $CPPFLAGS'
18579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18592 ac_cpp
='$CXXCPP $CPPFLAGS'
18593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18597 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18598 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18599 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 cat >conftest.
$ac_ext <<_ACEOF
18605 cat confdefs.h
>>conftest.
$ac_ext
18606 cat >>conftest.
$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18621 rm -f conftest.
$ac_objext
18622 if { (ac_try
="$ac_compile"
18623 case "(($ac_try" in
18624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18625 *) ac_try_echo=$ac_try;;
18627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18628 (eval "$ac_compile") 2>conftest.er1
18630 grep -v '^ *+' conftest.er1 >conftest.err
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } && {
18635 test -z "$ac_cxx_werror_flag" ||
18636 test ! -s conftest.err
18637 } && test -s conftest.$ac_objext; then
18638 bakefile_cv_cxx_compiler___HP_aCC=yes
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.$ac_ext >&5
18643 bakefile_cv_cxx_compiler___HP_aCC=no
18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18652 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18653 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18659 ac_cpp='$CPP $CPPFLAGS'
18660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672 ac_cpp='$CXXCPP $CPPFLAGS'
18673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18677 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18678 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18679 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 cat >conftest.$ac_ext <<_ACEOF
18685 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18705 *) ac_try_echo
=$ac_try;;
18707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_compile") 2>conftest.er1
18710 grep -v '^ *+' conftest.er1
>conftest.err
18712 cat conftest.err
>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); } && {
18715 test -z "$ac_cxx_werror_flag" ||
18716 test ! -s conftest.err
18717 } && test -s conftest.
$ac_objext; then
18718 bakefile_cv_cxx_compiler___DECCXX
=yes
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 bakefile_cv_cxx_compiler___DECCXX
=no
18727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18731 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18732 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18733 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18739 ac_cpp
='$CPP $CPPFLAGS'
18740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18752 ac_cpp
='$CXXCPP $CPPFLAGS'
18753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18757 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18758 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18759 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18773 #ifndef __SUNPRO_CC
18781 rm -f conftest.
$ac_objext
18782 if { (ac_try
="$ac_compile"
18783 case "(($ac_try" in
18784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18785 *) ac_try_echo=$ac_try;;
18787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18788 (eval "$ac_compile") 2>conftest.er1
18790 grep -v '^ *+' conftest.er1 >conftest.err
18792 cat conftest.err >&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); } && {
18795 test -z "$ac_cxx_werror_flag" ||
18796 test ! -s conftest.err
18797 } && test -s conftest.$ac_objext; then
18798 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18812 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18813 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18819 ac_cpp='$CPP $CPPFLAGS'
18820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18832 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18833 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18834 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18835 { (exit 1); exit 1; }; }
18838 if test "x$SUNCXX" != xyes; then
18839 if test -n "$ac_tool_prefix"; then
18840 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18841 set dummy ${ac_tool_prefix}ar; ac_word=$2
18842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18844 if test "${ac_cv_prog_AR+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 if test -n "$AR"; then
18848 ac_cv_prog_AR="$AR" # Let the user override the test.
18850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18851 for as_dir in $PATH
18854 test -z "$as_dir" && as_dir=.
18855 for ac_exec_ext in '' $ac_executable_extensions; do
18856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18857 ac_cv_prog_AR="${ac_tool_prefix}ar"
18858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18868 if test -n "$AR"; then
18869 { echo "$as_me:$LINENO: result: $AR" >&5
18870 echo "${ECHO_T}$AR" >&6; }
18872 { echo "$as_me:$LINENO: result: no" >&5
18873 echo "${ECHO_T}no" >&6; }
18878 if test -z "$ac_cv_prog_AR"; then
18880 # Extract the first word of "ar", so it can be a program name with args.
18881 set dummy ar; ac_word=$2
18882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18884 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18887 if test -n "$ac_ct_AR"; then
18888 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18891 for as_dir in $PATH
18894 test -z "$as_dir" && as_dir=.
18895 for ac_exec_ext in '' $ac_executable_extensions; do
18896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18897 ac_cv_prog_ac_ct_AR="ar"
18898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18907 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18908 if test -n "$ac_ct_AR"; then
18909 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18910 echo "${ECHO_T}$ac_ct_AR" >&6; }
18912 { echo "$as_me:$LINENO: result: no" >&5
18913 echo "${ECHO_T}no" >&6; }
18916 if test "x$ac_ct_AR" = x; then
18919 case $cross_compiling:$ac_tool_warned in
18921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18922 whose name does not start with the host triplet. If you think this
18923 configuration is useful to you, please write to autoconf@gnu.org." >&5
18924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18925 whose name does not start with the host triplet. If you think this
18926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18927 ac_tool_warned=yes ;;
18932 AR="$ac_cv_prog_AR"
18935 if test "x$AR" = "x" ; then
18936 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18937 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18938 { (exit 1); exit 1; }; }
18943 if test "$wxUSE_MAC" = 1; then
18945 retest_macosx_linking=no
18948 if test "x$wxUSE_MAC_ARCH" != xno; then
18949 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18952 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18953 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18954 # Implicitly turn on the new --with-macosx-sdk using the default
18955 # SDK which provides the behaviour this option has always had.
18956 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18957 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18958 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18959 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18960 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18961 wxUSE_MACOSX_SDK=yes
18964 # Complain to user if he specified an argument to --enable-universal_binary
18965 # and also 1) specified --with-macosx-sdk using the default (yes) or
18966 # 2) specified --with-macosx-sdk using a path or 3) specified
18967 # --without-macosx-sdk (no).
18968 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18969 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18970 See \`config.log
' for more details." >&5
18971 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18972 See \`config.log' for more details.
" >&2;}
18973 { (exit 1); exit 1; }; }
18975 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18976 # special-case the empty string because the below test simply
18977 # converts "no
" to the empty string anyway.
18978 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18979 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18980 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18983 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18984 if test "$wxUSE_OSX_COCOA" = 1; then
18985 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18987 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18988 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18989 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18990 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18992 retest_macosx_linking=yes
18994 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18995 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18999 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19000 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19001 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19002 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19003 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19005 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19007 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19008 # TODO: Search for most recent SDK and use it.
19009 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19013 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19014 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19015 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19016 if ! test -d "$wxUSE_MACOSX_SDK"; then
19017 { { echo "$as_me:$LINENO: error
: not found
19018 See \
`config.log' for more details." >&5
19019 echo "$as_me: error: not found
19020 See \`config.log
' for more details." >&2;}
19021 { (exit 1); exit 1; }; }
19023 { echo "$as_me:$LINENO: result: exists" >&5
19024 echo "${ECHO_T}exists" >&6; }
19026 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19027 retest_macosx_linking=yes
19030 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19031 wxUSE_MACOSX_VERSION_MIN=
19032 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19033 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19034 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19035 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19037 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/'`
19039 # If that failed, try again with the new key
19040 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19042 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/'`
19046 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19047 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19048 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19049 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19051 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19052 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19053 wxUSE_MACOSX_VERSION_MIN=
19056 wxUSE_MACOSX_VERSION_MIN=
19058 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19059 for ac_prog in sw_vers
19061 # Extract the first word of "$ac_prog", so it can be a program name with args.
19062 set dummy $ac_prog; ac_word=$2
19063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19065 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 if test -n "$OSX_SW_VERS"; then
19069 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19072 for as_dir in $PATH
19075 test -z "$as_dir" && as_dir=.
19076 for ac_exec_ext in '' $ac_executable_extensions; do
19077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19078 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19088 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19089 if test -n "$OSX_SW_VERS"; then
19090 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19091 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19093 { echo "$as_me:$LINENO: result: no" >&5
19094 echo "${ECHO_T}no" >&6; }
19098 test -n "$OSX_SW_VERS" && break
19101 if test "$OSX_SW_VERS" != ""; then
19102 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19104 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19105 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19109 case "$OSX_VERSION" in
19111 wxUSE_MACOSX_VERSION_MIN=10.4
19115 if test "$wxUSE_OSX_CARBON" = 1; then
19116 # otherwise configure stops on leopard for universal_binary
19117 wxUSE_MACOSX_VERSION_MIN=10.4
19119 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19120 wxUSE_MACOSX_VERSION_MIN=10.5
19127 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19131 if test "$wxUSE_OSX_CARBON" = 1; then
19135 if test "x$NEEDS_GCC40" == "xyes"; then
19136 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19137 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19138 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19139 if test "x$CC" = "xgcc"; then
19140 CCVERSION=`$CC --version | grep 4.[2-9].`
19141 if test "x$CCVERSION" != "x"; then
19142 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19147 if test "x$CXX" = "xg++"; then
19148 CCVERSION=`$CXX --version | grep 4.[2-9].`
19149 if test "x$CCVERSION" != "x"; then
19155 if test "x$MACOSX_SDK_OPTS" != "x"; then
19156 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19157 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19158 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19161 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19162 if test "$wxUSE_OSX_IPHONE" = 1; then
19163 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19165 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19167 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19168 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19169 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19170 retest_macosx_linking=yes
19173 if test "x$retest_macosx_linking" = "xyes"; then
19175 ac_cpp='$CPP $CPPFLAGS'
19176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19177 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19181 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19182 cat >conftest.$ac_ext <<_ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19197 rm -f conftest.$ac_objext conftest$ac_exeext
19198 if { (ac_try="$ac_link"
19199 case "(($ac_try" in
19200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_link") 2>conftest.er1
19206 grep -v '^
*+' conftest.er1 >conftest.err
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_c_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest$ac_exeext &&
19214 $as_test_x conftest$ac_exeext; then
19215 { echo "$as_me:$LINENO: result: yes" >&5
19216 echo "${ECHO_T}yes" >&6; }
19218 echo "$as_me: failed program was:" >&5
19219 sed 's
/^
/| /' conftest.$ac_ext >&5
19221 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19222 See \`config.log' for more details.
" >&5
19223 echo "$as_me: error
: no. Try a different SDK
19224 See \
`config.log' for more details." >&2;}
19225 { (exit 1); exit 1; }; }; exit 1
19228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19229 conftest$ac_exeext conftest.$ac_ext
19231 ac_cpp='$CPP $CPPFLAGS'
19232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19238 ac_cpp='$CXXCPP $CPPFLAGS'
19239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19243 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19244 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19260 rm -f conftest.$ac_objext conftest$ac_exeext
19261 if { (ac_try="$ac_link"
19262 case "(($ac_try" in
19263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19264 *) ac_try_echo
=$ac_try;;
19266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19267 (eval "$ac_link") 2>conftest.er1
19269 grep -v '^ *+' conftest.er1
>conftest.err
19271 cat conftest.err
>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } && {
19274 test -z "$ac_cxx_werror_flag" ||
19275 test ! -s conftest.err
19276 } && test -s conftest
$ac_exeext &&
19277 $as_test_x conftest
$ac_exeext; then
19278 { echo "$as_me:$LINENO: result: yes" >&5
19279 echo "${ECHO_T}yes" >&6; }
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19285 See \`config.log' for more details." >&5
19286 echo "$as_me: error: no. Try a different SDK
19287 See \`config.log' for more details." >&2;}
19288 { (exit 1); exit 1; }; }; exit 1
19291 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19292 conftest
$ac_exeext conftest.
$ac_ext
19294 ac_cpp
='$CPP $CPPFLAGS'
19295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19305 INSTALL_PROGRAM
="cp -fp"
19306 INSTALL_DATA
="cp -fp"
19313 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19314 CXXFLAGS
="-qunique $CXXFLAGS"
19318 powerpc
-*-darwin* )
19319 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19320 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19321 cat >conftest.
$ac_ext <<_ACEOF
19324 cat confdefs.h
>>conftest.
$ac_ext
19325 cat >>conftest.
$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19331 #ifndef __POWERPC__
19332 choke me for lack of PowerPC
19339 rm -f conftest.
$ac_objext
19340 if { (ac_try
="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 { echo "$as_me:$LINENO: result: yes" >&5
19357 echo "${ECHO_T}yes" >&6; }
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19362 { echo "$as_me:$LINENO: result: no" >&5
19363 echo "${ECHO_T}no" >&6; }
19364 cat >>confdefs.h <<\_ACEOF
19365 #define __POWERPC__ 1
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19377 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19378 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19379 cat >conftest.$ac_ext <<_ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <CoreFoundation/CFBase.h>
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19399 *) ac_try_echo
=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.
$ac_objext; then
19412 { echo "$as_me:$LINENO: result: yes" >&5
19413 echo "${ECHO_T}yes" >&6; }
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.
$ac_ext >&5
19418 { echo "$as_me:$LINENO: result: no" >&5
19419 echo "${ECHO_T}no" >&6; }
19420 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19421 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19422 cat >conftest.
$ac_ext <<_ACEOF
19425 cat confdefs.h
>>conftest.
$ac_ext
19426 cat >>conftest.
$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 #define __CF_USE_FRAMEWORK_INCLUDES__
19429 #include <CoreFoundation/CFBase.h>
19439 rm -f conftest.
$ac_objext
19440 if { (ac_try
="$ac_compile"
19441 case "(($ac_try" in
19442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19443 *) ac_try_echo=$ac_try;;
19445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19446 (eval "$ac_compile") 2>conftest.er1
19448 grep -v '^ *+' conftest.er1 >conftest.err
19450 cat conftest.err >&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && {
19453 test -z "$ac_c_werror_flag" ||
19454 test ! -s conftest.err
19455 } && test -s conftest.$ac_objext; then
19456 { echo "$as_me:$LINENO: result: yes" >&5
19457 echo "${ECHO_T}yes" >&6; }
19458 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19464 See \`config.log
' for more details." >&5
19465 echo "$as_me: error: no. CoreFoundation not available.
19466 See \`config.log' for more details.
" >&2;}
19467 { (exit 1); exit 1; }; }
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19481 doesnt_want_win32=0
19484 if test "$wxUSE_MSW" = 1 ; then
19487 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19488 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19489 if test "${wx_cv_nocygwin+set}" = set; then
19490 echo $ECHO_N "(cached
) $ECHO_C" >&6
19493 cat >conftest.$ac_ext <<_ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19521 grep -v '^ *+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest.$ac_objext; then
19531 echo "$as_me: failed program was
:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19542 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19543 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19545 if test "$wx_cv_nocygwin" = "yes"; then
19548 doesnt_want_win32=1
19551 if test "$wants_win32" = 1 ; then
19552 BAKEFILE_FORCE_PLATFORM=win32
19560 if test "$wxUSE_WINE" = "yes"; then
19562 LDFLAGS_GUI="-mwindows"
19565 if test "$wants_win32" = 1 ; then
19568 cat >>confdefs.h <<\_ACEOF
19569 #define __WIN32__ 1
19572 cat >>confdefs.h <<\_ACEOF
19573 #define __WIN95__ 1
19576 cat >>confdefs.h <<\_ACEOF
19577 #define __WINDOWS__ 1
19580 cat >>confdefs.h <<\_ACEOF
19581 #define __GNUWIN32__ 1
19584 cat >>confdefs.h <<\_ACEOF
19589 if test "$doesnt_want_win32" = 1 ; then
19594 if test "$USE_UNIX" = 1 ; then
19596 cat >>confdefs.h <<\_ACEOF
19603 *-pc-os2_emx | *-pc-os2-emx )
19604 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19605 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19606 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19607 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19608 echo $ECHO_N "(cached
) $ECHO_C" >&6
19610 ac_check_lib_save_LIBS=$LIBS
19611 LIBS="-lcExt $LIBS"
19612 cat >conftest.$ac_ext <<_ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19634 rm -f conftest.$ac_objext conftest$ac_exeext
19635 if { (ac_try="$ac_link"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_link") 2>conftest.er1
19643 grep -v '^ *+' conftest.er1 >conftest.err
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19647 (exit $ac_status); } && {
19648 test -z "$ac_c_werror_flag" ||
19649 test ! -s conftest.err
19650 } && test -s conftest$ac_exeext &&
19651 $as_test_x conftest$ac_exeext; then
19652 ac_cv_lib_cExt_drand48=yes
19654 echo "$as_me: failed program was
:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 ac_cv_lib_cExt_drand48=no
19660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19661 conftest$ac_exeext conftest.$ac_ext
19662 LIBS=$ac_check_lib_save_LIBS
19664 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19665 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19666 if test $ac_cv_lib_cExt_drand48 = yes; then
19667 LIBS="$LIBS -lcExt"
19671 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19673 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19674 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19675 if test "${wx_cv_gccversion+set}" = set; then
19676 echo $ECHO_N "(cached
) $ECHO_C" >&6
19679 if test "$cross_compiling" = yes; then
19680 wx_cv_gccversion="EMX2
"
19683 cat >conftest.$ac_ext <<_ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19694 FILE *f=fopen("conftestval
", "w
");
19699 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19701 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19711 rm -f conftest$ac_exeext
19712 if { (ac_try="$ac_link"
19713 case "(($ac_try" in
19714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19715 *) ac_try_echo=$ac_try;;
19717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19718 (eval "$ac_link") 2>&5
19720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19722 { (case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_try") 2>&5
19729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 wx_cv_gccversion=`cat conftestval`
19733 echo "$as_me: program exited with status
$ac_status" >&5
19734 echo "$as_me: failed program was
:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19737 ( exit $ac_status )
19738 wx_cv_gccversion="EMX2
"
19740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19746 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19747 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19748 if test "$wx_cv_gccversion" = "EMX2
"; then
19749 LIBS="$LIBS -lstdcpp"
19750 LDFLAGS="$LDFLAGS -Zsysv-signals"
19752 if test "$wx_cv_gccversion" = "EMX3
"; then
19753 LIBS="$LIBS -lstdcxx -lgcc"
19754 LDFLAGS="$LDFLAGS -Zsysv-signals"
19756 LIBS="$LIBS -lstdc++"
19759 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19760 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19761 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19768 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19769 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19770 if test "${ac_cv_string_strcasecmp+set}" = set; then
19771 echo $ECHO_N "(cached
) $ECHO_C" >&6
19774 cat >conftest.$ac_ext <<_ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19781 #include <string.h>
19787 strcasecmp("foo
", "bar
");
19793 rm -f conftest.$ac_objext conftest$ac_exeext
19794 if { (ac_try="$ac_link"
19795 case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_link") 2>conftest.er1
19802 grep -v '^ *+' conftest.er1 >conftest.err
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19806 (exit $ac_status); } && {
19807 test -z "$ac_c_werror_flag" ||
19808 test ! -s conftest.err
19809 } && test -s conftest$ac_exeext &&
19810 $as_test_x conftest$ac_exeext; then
19811 ac_cv_string_strcasecmp=yes
19813 echo "$as_me: failed program was
:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19816 ac_cv_string_strcasecmp=no
19820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19821 conftest$ac_exeext conftest.$ac_ext
19824 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19825 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19827 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19828 cat >>confdefs.h <<\_ACEOF
19829 #define HAVE_STRCASECMP_IN_STRING_H 1
19833 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19834 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19835 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19836 echo $ECHO_N "(cached
) $ECHO_C" >&6
19839 cat >conftest.$ac_ext <<_ACEOF
19842 cat confdefs.h >>conftest.$ac_ext
19843 cat >>conftest.$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19846 #include <strings.h>
19852 strcasecmp("foo
", "bar
");
19858 rm -f conftest.$ac_objext conftest$ac_exeext
19859 if { (ac_try="$ac_link"
19860 case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_link") 2>conftest.er1
19867 grep -v '^ *+' conftest.er1 >conftest.err
19869 cat conftest.err >&5
19870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19871 (exit $ac_status); } && {
19872 test -z "$ac_c_werror_flag" ||
19873 test ! -s conftest.err
19874 } && test -s conftest$ac_exeext &&
19875 $as_test_x conftest$ac_exeext; then
19876 ac_cv_strings_strcasecmp=yes
19878 echo "$as_me: failed program was
:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 ac_cv_strings_strcasecmp=no
19885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19886 conftest$ac_exeext conftest.$ac_ext
19889 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19890 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19892 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19893 cat >>confdefs.h <<\_ACEOF
19894 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19898 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19899 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19900 { (exit 1); exit 1; }; }
19908 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19909 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19910 if test "${ac_cv_header_stdc+set}" = set; then
19911 echo $ECHO_N "(cached
) $ECHO_C" >&6
19913 cat >conftest.$ac_ext <<_ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 #include <stdlib.h>
19920 #include <stdarg.h>
19921 #include <string.h>
19932 rm -f conftest.$ac_objext
19933 if { (ac_try="$ac_compile"
19934 case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19938 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_compile") 2>conftest.er1
19941 grep -v '^ *+' conftest.er1 >conftest.err
19943 cat conftest.err >&5
19944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19945 (exit $ac_status); } && {
19946 test -z "$ac_c_werror_flag" ||
19947 test ! -s conftest.err
19948 } && test -s conftest.$ac_objext; then
19949 ac_cv_header_stdc=yes
19951 echo "$as_me: failed program was
:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19954 ac_cv_header_stdc=no
19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19959 if test $ac_cv_header_stdc = yes; then
19960 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19961 cat >conftest.$ac_ext <<_ACEOF
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 #include <string.h>
19970 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19971 $EGREP "memchr
" >/dev/null 2>&1; then
19974 ac_cv_header_stdc=no
19980 if test $ac_cv_header_stdc = yes; then
19981 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19982 cat >conftest.$ac_ext <<_ACEOF
19985 cat confdefs.h >>conftest.$ac_ext
19986 cat >>conftest.$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 #include <stdlib.h>
19991 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19992 $EGREP "free
" >/dev/null 2>&1; then
19995 ac_cv_header_stdc=no
20001 if test $ac_cv_header_stdc = yes; then
20002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20003 if test "$cross_compiling" = yes; then
20006 cat >conftest.$ac_ext <<_ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20013 #include <stdlib.h>
20014 #if ((' ' & 0x0FF) == 0x020)
20015 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20016 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20018 # define ISLOWER(c) \
20019 (('a' <= (c) && (c) <= 'i') \
20020 || ('j' <= (c) && (c) <= 'r') \
20021 || ('s' <= (c) && (c) <= 'z'))
20022 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20030 for (i = 0; i < 256; i++)
20031 if (XOR (islower (i), ISLOWER (i))
20032 || toupper (i) != TOUPPER (i))
20037 rm -f conftest$ac_exeext
20038 if { (ac_try="$ac_link"
20039 case "(($ac_try" in
20040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20041 *) ac_try_echo=$ac_try;;
20043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20044 (eval "$ac_link") 2>&5
20046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20048 { (case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_try") 2>&5
20055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20056 (exit $ac_status); }; }; then
20059 echo "$as_me: program exited with status
$ac_status" >&5
20060 echo "$as_me: failed program was
:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20063 ( exit $ac_status )
20064 ac_cv_header_stdc=no
20066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20072 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20073 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20074 if test $ac_cv_header_stdc = yes; then
20076 cat >>confdefs.h <<\_ACEOF
20077 #define STDC_HEADERS 1
20082 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20092 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20093 inttypes.h stdint.h unistd.h
20095 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20096 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20097 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20098 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20099 echo $ECHO_N "(cached
) $ECHO_C" >&6
20101 cat >conftest.$ac_ext <<_ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20109 #include <$ac_header>
20111 rm -f conftest.$ac_objext
20112 if { (ac_try="$ac_compile"
20113 case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_compile") 2>conftest.er1
20120 grep -v '^ *+' conftest.er1 >conftest.err
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20124 (exit $ac_status); } && {
20125 test -z "$ac_c_werror_flag" ||
20126 test ! -s conftest.err
20127 } && test -s conftest.$ac_objext; then
20128 eval "$as_ac_Header=yes"
20130 echo "$as_me: failed program was
:" >&5
20131 sed 's/^/| /' conftest.$ac_ext >&5
20133 eval "$as_ac_Header=no
"
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 ac_res=`eval echo '${'$as_ac_Header'}'`
20139 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20140 echo "${ECHO_T}$ac_res" >&6; }
20141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20142 cat >>confdefs.h <<_ACEOF
20143 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20153 for ac_header in langinfo.h wchar.h
20155 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20156 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20157 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20158 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20159 echo $ECHO_N "(cached
) $ECHO_C" >&6
20161 cat >conftest.$ac_ext <<_ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20169 #include <$ac_header>
20171 rm -f conftest.$ac_objext
20172 if { (ac_try="$ac_compile"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_compile") 2>conftest.er1
20180 grep -v '^ *+' conftest.er1 >conftest.err
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20184 (exit $ac_status); } && {
20185 test -z "$ac_c_werror_flag" ||
20186 test ! -s conftest.err
20187 } && test -s conftest.$ac_objext; then
20188 eval "$as_ac_Header=yes"
20190 echo "$as_me: failed program was
:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20193 eval "$as_ac_Header=no
"
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 ac_res=`eval echo '${'$as_ac_Header'}'`
20199 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20200 echo "${ECHO_T}$ac_res" >&6; }
20201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20202 cat >>confdefs.h <<_ACEOF
20203 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20211 if test "$ac_cv_header_wchar_h" != "yes"; then
20213 for ac_header in wcstr.h
20215 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20216 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20217 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20218 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20219 echo $ECHO_N "(cached
) $ECHO_C" >&6
20221 cat >conftest.$ac_ext <<_ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20229 #include <$ac_header>
20231 rm -f conftest.$ac_objext
20232 if { (ac_try="$ac_compile"
20233 case "(($ac_try" in
20234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_compile") 2>conftest.er1
20240 grep -v '^ *+' conftest.er1 >conftest.err
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20244 (exit $ac_status); } && {
20245 test -z "$ac_c_werror_flag" ||
20246 test ! -s conftest.err
20247 } && test -s conftest.$ac_objext; then
20248 eval "$as_ac_Header=yes"
20250 echo "$as_me: failed program was
:" >&5
20251 sed 's/^/| /' conftest.$ac_ext >&5
20253 eval "$as_ac_Header=no
"
20256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 ac_res=`eval echo '${'$as_ac_Header'}'`
20259 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20260 echo "${ECHO_T}$ac_res" >&6; }
20261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20262 cat >>confdefs.h <<_ACEOF
20263 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20273 *-pc-os2_emx | *-pc-os2-emx )
20274 if test $ac_cv_header_langinfo_h = "yes" \
20275 -a \( "$wx_cv_gccversion" = "EMX2
" \
20276 -o "$wx_cv_gccversion" = "EMX3
" \
20277 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20278 LIBS="$LIBS -lintl"
20283 if test "$USE_UNIX" = 1 ; then
20285 for ac_header in sys/select.h
20287 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20288 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20289 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20290 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20291 echo $ECHO_N "(cached
) $ECHO_C" >&6
20293 cat >conftest.$ac_ext <<_ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 $ac_includes_default
20301 #include <$ac_header>
20303 rm -f conftest.$ac_objext
20304 if { (ac_try="$ac_compile"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_compile") 2>conftest.er1
20312 grep -v '^ *+' conftest.er1 >conftest.err
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest.$ac_objext; then
20320 eval "$as_ac_Header=yes"
20322 echo "$as_me: failed program was
:" >&5
20323 sed 's/^/| /' conftest.$ac_ext >&5
20325 eval "$as_ac_Header=no
"
20328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20330 ac_res=`eval echo '${'$as_ac_Header'}'`
20331 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20332 echo "${ECHO_T}$ac_res" >&6; }
20333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20334 cat >>confdefs.h <<_ACEOF
20335 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20345 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20346 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20347 if test "${ac_cv_c_const+set}" = set; then
20348 echo $ECHO_N "(cached
) $ECHO_C" >&6
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20360 /* FIXME: Include the comments suggested by Paul. */
20361 #ifndef __cplusplus
20362 /* Ultrix mips cc rejects this. */
20363 typedef int charset[2];
20365 /* SunOS 4.1.1 cc rejects this. */
20366 char const *const *pcpcc;
20368 /* NEC SVR4.0.2 mips cc rejects this. */
20369 struct point {int x, y;};
20370 static struct point const zero = {0,0};
20371 /* AIX XL C 1.02.0.0 rejects this.
20372 It does not let you subtract one const X* pointer from another in
20373 an arm of an if-expression whose if-part is not a constant
20375 const char *g = "string
";
20376 pcpcc = &g + (g ? g-g : 0);
20377 /* HPUX 7.0 cc rejects these. */
20379 ppc = (char**) pcpcc;
20380 pcpcc = (char const *const *) ppc;
20381 { /* SCO 3.2v4 cc rejects this. */
20383 char const *s = 0 ? (char *) 0 : (char const *) 0;
20388 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20389 int x[] = {25, 17};
20390 const int *foo = &x[0];
20393 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20394 typedef const int *iptr;
20398 { /* AIX XL C 1.02.0.0 rejects this saying
20399 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20400 struct s { int j; const int *ap[3]; };
20401 struct s *b; b->j = 5;
20403 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20404 const int foo = 10;
20405 if (!foo) return 0;
20407 return !cs[0] && !zero.x;
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20423 grep -v '^ *+' conftest.er1 >conftest.err
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20433 echo "$as_me: failed program was
:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20442 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20443 if test $ac_cv_c_const = no; then
20445 cat >>confdefs.h <<\_ACEOF
20451 { echo "$as_me:$LINENO: checking
for inline
" >&5
20452 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20453 if test "${ac_cv_c_inline+set}" = set; then
20454 echo $ECHO_N "(cached
) $ECHO_C" >&6
20457 for ac_kw in inline __inline__ __inline; do
20458 cat >conftest.$ac_ext <<_ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 #ifndef __cplusplus
20466 static $ac_kw foo_t static_foo () {return 0; }
20467 $ac_kw foo_t foo () {return 0; }
20471 rm -f conftest.$ac_objext
20472 if { (ac_try="$ac_compile"
20473 case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_compile") 2>conftest.er1
20480 grep -v '^ *+' conftest.er1 >conftest.err
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20484 (exit $ac_status); } && {
20485 test -z "$ac_c_werror_flag" ||
20486 test ! -s conftest.err
20487 } && test -s conftest.$ac_objext; then
20488 ac_cv_c_inline=$ac_kw
20490 echo "$as_me: failed program was
:" >&5
20491 sed 's/^/| /' conftest.$ac_ext >&5
20496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20497 test "$ac_cv_c_inline" != no && break
20501 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20502 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20505 case $ac_cv_c_inline in
20508 case $ac_cv_c_inline in
20510 *) ac_val=$ac_cv_c_inline;;
20512 cat >>confdefs.h <<_ACEOF
20513 #ifndef __cplusplus
20514 #define inline $ac_val
20521 { echo "$as_me:$LINENO: checking
for short
" >&5
20522 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20523 if test "${ac_cv_type_short+set}" = set; then
20524 echo $ECHO_N "(cached
) $ECHO_C" >&6
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef short ac__type_new_;
20537 if ((ac__type_new_ *) 0)
20539 if (sizeof (ac__type_new_))
20545 rm -f conftest.$ac_objext
20546 if { (ac_try="$ac_compile"
20547 case "(($ac_try" in
20548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20549 *) ac_try_echo=$ac_try;;
20551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20552 (eval "$ac_compile") 2>conftest.er1
20554 grep -v '^ *+' conftest.er1 >conftest.err
20556 cat conftest.err >&5
20557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20558 (exit $ac_status); } && {
20559 test -z "$ac_c_werror_flag" ||
20560 test ! -s conftest.err
20561 } && test -s conftest.$ac_objext; then
20562 ac_cv_type_short=yes
20564 echo "$as_me: failed program was
:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20567 ac_cv_type_short=no
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20572 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20573 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20575 # The cast to long int works around a bug in the HP C Compiler
20576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20578 # This bug is HP SR number 8606223364.
20579 { echo "$as_me:$LINENO: checking size of short
" >&5
20580 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20581 if test "${ac_cv_sizeof_short+set}" = set; then
20582 echo $ECHO_N "(cached
) $ECHO_C" >&6
20584 if test "$cross_compiling" = yes; then
20585 # Depending upon the size, compute the lo and hi bounds.
20586 cat >conftest.$ac_ext <<_ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 $ac_includes_default
20593 typedef short ac__type_sizeof_;
20597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20604 rm -f conftest.$ac_objext
20605 if { (ac_try="$ac_compile"
20606 case "(($ac_try" in
20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_compile") 2>conftest.er1
20613 grep -v '^ *+' conftest.er1 >conftest.err
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20617 (exit $ac_status); } && {
20618 test -z "$ac_c_werror_flag" ||
20619 test ! -s conftest.err
20620 } && test -s conftest.$ac_objext; then
20623 cat >conftest.$ac_ext <<_ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 typedef short ac__type_sizeof_;
20634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20641 rm -f conftest.$ac_objext
20642 if { (ac_try="$ac_compile"
20643 case "(($ac_try" in
20644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20645 *) ac_try_echo=$ac_try;;
20647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20648 (eval "$ac_compile") 2>conftest.er1
20650 grep -v '^ *+' conftest.er1 >conftest.err
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20654 (exit $ac_status); } && {
20655 test -z "$ac_c_werror_flag" ||
20656 test ! -s conftest.err
20657 } && test -s conftest.$ac_objext; then
20658 ac_hi=$ac_mid; break
20660 echo "$as_me: failed program was
:" >&5
20661 sed 's/^/| /' conftest.$ac_ext >&5
20663 ac_lo=`expr $ac_mid + 1`
20664 if test $ac_lo -le $ac_mid; then
20668 ac_mid=`expr 2 '*' $ac_mid + 1`
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 echo "$as_me: failed program was
:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20677 cat >conftest.$ac_ext <<_ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 $ac_includes_default
20684 typedef short ac__type_sizeof_;
20688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20695 rm -f conftest.$ac_objext
20696 if { (ac_try="$ac_compile"
20697 case "(($ac_try" in
20698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20699 *) ac_try_echo=$ac_try;;
20701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20702 (eval "$ac_compile") 2>conftest.er1
20704 grep -v '^ *+' conftest.er1 >conftest.err
20706 cat conftest.err >&5
20707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20708 (exit $ac_status); } && {
20709 test -z "$ac_c_werror_flag" ||
20710 test ! -s conftest.err
20711 } && test -s conftest.$ac_objext; then
20714 cat >conftest.$ac_ext <<_ACEOF
20717 cat confdefs.h >>conftest.$ac_ext
20718 cat >>conftest.$ac_ext <<_ACEOF
20719 /* end confdefs.h. */
20720 $ac_includes_default
20721 typedef short ac__type_sizeof_;
20725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20732 rm -f conftest.$ac_objext
20733 if { (ac_try="$ac_compile"
20734 case "(($ac_try" in
20735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20736 *) ac_try_echo=$ac_try;;
20738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20739 (eval "$ac_compile") 2>conftest.er1
20741 grep -v '^ *+' conftest.er1 >conftest.err
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20745 (exit $ac_status); } && {
20746 test -z "$ac_c_werror_flag" ||
20747 test ! -s conftest.err
20748 } && test -s conftest.$ac_objext; then
20749 ac_lo=$ac_mid; break
20751 echo "$as_me: failed program was
:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20754 ac_hi=`expr '(' $ac_mid ')' - 1`
20755 if test $ac_mid -le $ac_hi; then
20759 ac_mid=`expr 2 '*' $ac_mid`
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 echo "$as_me: failed program was
:" >&5
20766 sed 's/^/| /' conftest.$ac_ext >&5
20771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775 # Binary search between lo and hi bounds.
20776 while test "x
$ac_lo" != "x
$ac_hi"; do
20777 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20778 cat >conftest.$ac_ext <<_ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20785 typedef short ac__type_sizeof_;
20789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20796 rm -f conftest.$ac_objext
20797 if { (ac_try="$ac_compile"
20798 case "(($ac_try" in
20799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20800 *) ac_try_echo=$ac_try;;
20802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20803 (eval "$ac_compile") 2>conftest.er1
20805 grep -v '^ *+' conftest.er1 >conftest.err
20807 cat conftest.err >&5
20808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20809 (exit $ac_status); } && {
20810 test -z "$ac_c_werror_flag" ||
20811 test ! -s conftest.err
20812 } && test -s conftest.$ac_objext; then
20815 echo "$as_me: failed program was
:" >&5
20816 sed 's/^/| /' conftest.$ac_ext >&5
20818 ac_lo=`expr '(' $ac_mid ')' + 1`
20821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 ?*) ac_cv_sizeof_short=$ac_lo;;
20825 '') if test "$ac_cv_type_short" = yes; then
20826 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20827 See \
`config.log' for more details." >&5
20828 echo "$as_me: error: cannot compute sizeof (short)
20829 See \`config.log
' for more details." >&2;}
20830 { (exit 77); exit 77; }; }
20832 ac_cv_sizeof_short=0
20836 cat >conftest.$ac_ext <<_ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef short ac__type_sizeof_;
20844 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20845 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 #include <stdlib.h>
20852 FILE *f = fopen ("conftest.val", "w");
20855 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20857 long int i = longval ();
20858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20860 fprintf (f, "%ld\n", i);
20864 unsigned long int i = ulongval ();
20865 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20867 fprintf (f, "%lu\n", i);
20869 return ferror (f) || fclose (f) != 0;
20875 rm -f conftest$ac_exeext
20876 if { (ac_try="$ac_link"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_link") 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20886 { (case "(($ac_try" in
20887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 *) ac_try_echo=$ac_try;;
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_try") 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_sizeof_short=`cat conftest.val`
20897 echo "$as_me: program exited with status $ac_status" >&5
20898 echo "$as_me: failed program was:" >&5
20899 sed 's
/^
/| /' conftest.$ac_ext >&5
20901 ( exit $ac_status )
20902 if test "$ac_cv_type_short" = yes; then
20903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20904 See \`config.log' for more details.
" >&5
20905 echo "$as_me: error
: cannot compute sizeof
(short
)
20906 See \
`config.log' for more details." >&2;}
20907 { (exit 77); exit 77; }; }
20909 ac_cv_sizeof_short=0
20912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20916 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20917 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20921 cat >>confdefs.h <<_ACEOF
20922 #define SIZEOF_SHORT $ac_cv_sizeof_short
20926 { echo "$as_me:$LINENO: checking for void *" >&5
20927 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20928 if test "${ac_cv_type_void_p+set}" = set; then
20929 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 typedef void * ac__type_new_;
20942 if ((ac__type_new_ *) 0)
20944 if (sizeof (ac__type_new_))
20950 rm -f conftest.$ac_objext
20951 if { (ac_try="$ac_compile"
20952 case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20954 *) ac_try_echo
=$ac_try;;
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_compile") 2>conftest.er1
20959 grep -v '^ *+' conftest.er1
>conftest.err
20961 cat conftest.err
>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } && {
20964 test -z "$ac_c_werror_flag" ||
20965 test ! -s conftest.err
20966 } && test -s conftest.
$ac_objext; then
20967 ac_cv_type_void_p
=yes
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.
$ac_ext >&5
20972 ac_cv_type_void_p
=no
20975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20977 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20978 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20980 # The cast to long int works around a bug in the HP C Compiler
20981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20983 # This bug is HP SR number 8606223364.
20984 { echo "$as_me:$LINENO: checking size of void *" >&5
20985 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20986 if test "${ac_cv_sizeof_void_p+set}" = set; then
20987 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 if test "$cross_compiling" = yes; then
20990 # Depending upon the size, compute the lo and hi bounds.
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef void * ac__type_sizeof_;
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21009 rm -f conftest.
$ac_objext
21010 if { (ac_try
="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21018 grep -v '^ *+' conftest.er1 >conftest.err
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 $ac_includes_default
21035 typedef void * ac__type_sizeof_;
21039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21046 rm -f conftest.$ac_objext
21047 if { (ac_try="$ac_compile"
21048 case "(($ac_try" in
21049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21050 *) ac_try_echo
=$ac_try;;
21052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21053 (eval "$ac_compile") 2>conftest.er1
21055 grep -v '^ *+' conftest.er1
>conftest.err
21057 cat conftest.err
>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } && {
21060 test -z "$ac_c_werror_flag" ||
21061 test ! -s conftest.err
21062 } && test -s conftest.
$ac_objext; then
21063 ac_hi
=$ac_mid; break
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21068 ac_lo
=`expr $ac_mid + 1`
21069 if test $ac_lo -le $ac_mid; then
21073 ac_mid
=`expr 2 '*' $ac_mid + 1`
21076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.
$ac_ext >&5
21082 cat >conftest.
$ac_ext <<_ACEOF
21085 cat confdefs.h
>>conftest.
$ac_ext
21086 cat >>conftest.
$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 $ac_includes_default
21089 typedef void * ac__type_sizeof_;
21093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21100 rm -f conftest.
$ac_objext
21101 if { (ac_try
="$ac_compile"
21102 case "(($ac_try" in
21103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_compile") 2>conftest.er1
21109 grep -v '^ *+' conftest.er1 >conftest.err
21111 cat conftest.err >&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } && {
21114 test -z "$ac_c_werror_flag" ||
21115 test ! -s conftest.err
21116 } && test -s conftest.$ac_objext; then
21119 cat >conftest.$ac_ext <<_ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125 $ac_includes_default
21126 typedef void * ac__type_sizeof_;
21130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21137 rm -f conftest.$ac_objext
21138 if { (ac_try="$ac_compile"
21139 case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21141 *) ac_try_echo
=$ac_try;;
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_compile") 2>conftest.er1
21146 grep -v '^ *+' conftest.er1
>conftest.err
21148 cat conftest.err
>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } && {
21151 test -z "$ac_c_werror_flag" ||
21152 test ! -s conftest.err
21153 } && test -s conftest.
$ac_objext; then
21154 ac_lo
=$ac_mid; break
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.
$ac_ext >&5
21159 ac_hi
=`expr '(' $ac_mid ')' - 1`
21160 if test $ac_mid -le $ac_hi; then
21164 ac_mid
=`expr 2 '*' $ac_mid`
21167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.
$ac_ext >&5
21176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21180 # Binary search between lo and hi bounds.
21181 while test "x$ac_lo" != "x$ac_hi"; do
21182 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21183 cat >conftest.
$ac_ext <<_ACEOF
21186 cat confdefs.h
>>conftest.
$ac_ext
21187 cat >>conftest.
$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 $ac_includes_default
21190 typedef void * ac__type_sizeof_;
21194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21201 rm -f conftest.
$ac_objext
21202 if { (ac_try
="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21210 grep -v '^ *+' conftest.er1 >conftest.err
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21223 ac_lo=`expr '(' $ac_mid ')' + 1`
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21230 '') if test "$ac_cv_type_void_p" = yes; then
21231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21232 See \`config.log
' for more details." >&5
21233 echo "$as_me: error: cannot compute sizeof (void *)
21234 See \`config.log' for more details.
" >&2;}
21235 { (exit 77); exit 77; }; }
21237 ac_cv_sizeof_void_p=0
21241 cat >conftest.$ac_ext <<_ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 typedef void * ac__type_sizeof_;
21249 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21250 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21252 #include <stdlib.h>
21257 FILE *f = fopen ("conftest.val
", "w
");
21260 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21262 long int i = longval ();
21263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21265 fprintf (f, "%ld
\n", i);
21269 unsigned long int i = ulongval ();
21270 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21272 fprintf (f, "%lu
\n", i);
21274 return ferror (f) || fclose (f) != 0;
21280 rm -f conftest$ac_exeext
21281 if { (ac_try="$ac_link"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_link") 2>&5
21289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21291 { (case "(($ac_try" in
21292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21293 *) ac_try_echo=$ac_try;;
21295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21296 (eval "$ac_try") 2>&5
21298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_sizeof_void_p=`cat conftest.val`
21302 echo "$as_me: program exited with status
$ac_status" >&5
21303 echo "$as_me: failed program was
:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21306 ( exit $ac_status )
21307 if test "$ac_cv_type_void_p" = yes; then
21308 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21309 See \
`config.log' for more details." >&5
21310 echo "$as_me: error: cannot compute sizeof (void *)
21311 See \`config.log
' for more details." >&2;}
21312 { (exit 77); exit 77; }; }
21314 ac_cv_sizeof_void_p=0
21317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21321 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21322 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21326 cat >>confdefs.h <<_ACEOF
21327 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21331 { echo "$as_me:$LINENO: checking for int" >&5
21332 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21333 if test "${ac_cv_type_int+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 cat >conftest.$ac_ext <<_ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef int ac__type_new_;
21347 if ((ac__type_new_ *) 0)
21349 if (sizeof (ac__type_new_))
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359 *) ac_try_echo=$ac_try;;
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21364 grep -v '^
*+' conftest.er1 >conftest.err
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.$ac_objext; then
21374 echo "$as_me: failed program was:" >&5
21375 sed 's
/^
/| /' conftest.$ac_ext >&5
21380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21383 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21385 # The cast to long int works around a bug in the HP C Compiler
21386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21388 # This bug is HP SR number 8606223364.
21389 { echo "$as_me:$LINENO: checking size of int" >&5
21390 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21391 if test "${ac_cv_sizeof_int+set}" = set; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 if test "$cross_compiling" = yes; then
21395 # Depending upon the size, compute the lo and hi bounds.
21396 cat >conftest.
$ac_ext <<_ACEOF
21399 cat confdefs.h
>>conftest.
$ac_ext
21400 cat >>conftest.
$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 $ac_includes_default
21403 typedef int ac__type_sizeof_;
21407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21414 rm -f conftest.
$ac_objext
21415 if { (ac_try
="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21423 grep -v '^ *+' conftest.er1 >conftest.err
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21433 cat >conftest.$ac_ext <<_ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21439 $ac_includes_default
21440 typedef int ac__type_sizeof_;
21444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21451 rm -f conftest.$ac_objext
21452 if { (ac_try="$ac_compile"
21453 case "(($ac_try" in
21454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21455 *) ac_try_echo
=$ac_try;;
21457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21458 (eval "$ac_compile") 2>conftest.er1
21460 grep -v '^ *+' conftest.er1
>conftest.err
21462 cat conftest.err
>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); } && {
21465 test -z "$ac_c_werror_flag" ||
21466 test ! -s conftest.err
21467 } && test -s conftest.
$ac_objext; then
21468 ac_hi
=$ac_mid; break
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.
$ac_ext >&5
21473 ac_lo
=`expr $ac_mid + 1`
21474 if test $ac_lo -le $ac_mid; then
21478 ac_mid
=`expr 2 '*' $ac_mid + 1`
21481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 cat >conftest.
$ac_ext <<_ACEOF
21490 cat confdefs.h
>>conftest.
$ac_ext
21491 cat >>conftest.
$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 $ac_includes_default
21494 typedef int ac__type_sizeof_;
21498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21505 rm -f conftest.
$ac_objext
21506 if { (ac_try
="$ac_compile"
21507 case "(($ac_try" in
21508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21509 *) ac_try_echo=$ac_try;;
21511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21512 (eval "$ac_compile") 2>conftest.er1
21514 grep -v '^ *+' conftest.er1 >conftest.err
21516 cat conftest.err >&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } && {
21519 test -z "$ac_c_werror_flag" ||
21520 test ! -s conftest.err
21521 } && test -s conftest.$ac_objext; then
21524 cat >conftest.$ac_ext <<_ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21531 typedef int ac__type_sizeof_;
21535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21542 rm -f conftest.$ac_objext
21543 if { (ac_try="$ac_compile"
21544 case "(($ac_try" in
21545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21546 *) ac_try_echo
=$ac_try;;
21548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21549 (eval "$ac_compile") 2>conftest.er1
21551 grep -v '^ *+' conftest.er1
>conftest.err
21553 cat conftest.err
>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } && {
21556 test -z "$ac_c_werror_flag" ||
21557 test ! -s conftest.err
21558 } && test -s conftest.
$ac_objext; then
21559 ac_lo
=$ac_mid; break
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.
$ac_ext >&5
21564 ac_hi
=`expr '(' $ac_mid ')' - 1`
21565 if test $ac_mid -le $ac_hi; then
21569 ac_mid
=`expr 2 '*' $ac_mid`
21572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.
$ac_ext >&5
21581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21585 # Binary search between lo and hi bounds.
21586 while test "x$ac_lo" != "x$ac_hi"; do
21587 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21588 cat >conftest.
$ac_ext <<_ACEOF
21591 cat confdefs.h
>>conftest.
$ac_ext
21592 cat >>conftest.
$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21594 $ac_includes_default
21595 typedef int ac__type_sizeof_;
21599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21606 rm -f conftest.
$ac_objext
21607 if { (ac_try
="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21613 (eval "$ac_compile") 2>conftest.er1
21615 grep -v '^ *+' conftest.er1 >conftest.err
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } && {
21620 test -z "$ac_c_werror_flag" ||
21621 test ! -s conftest.err
21622 } && test -s conftest.$ac_objext; then
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21628 ac_lo=`expr '(' $ac_mid ')' + 1`
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 ?*) ac_cv_sizeof_int=$ac_lo;;
21635 '') if test "$ac_cv_type_int" = yes; then
21636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21637 See \`config.log
' for more details." >&5
21638 echo "$as_me: error: cannot compute sizeof (int)
21639 See \`config.log' for more details.
" >&2;}
21640 { (exit 77); exit 77; }; }
21646 cat >conftest.$ac_ext <<_ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 $ac_includes_default
21653 typedef int ac__type_sizeof_;
21654 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21655 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21657 #include <stdlib.h>
21662 FILE *f = fopen ("conftest.val
", "w
");
21665 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21667 long int i = longval ();
21668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21670 fprintf (f, "%ld
\n", i);
21674 unsigned long int i = ulongval ();
21675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21677 fprintf (f, "%lu
\n", i);
21679 return ferror (f) || fclose (f) != 0;
21685 rm -f conftest$ac_exeext
21686 if { (ac_try="$ac_link"
21687 case "(($ac_try" in
21688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21689 *) ac_try_echo=$ac_try;;
21691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_link") 2>&5
21694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21696 { (case "(($ac_try" in
21697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 *) ac_try_echo=$ac_try;;
21700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21701 (eval "$ac_try") 2>&5
21703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_sizeof_int=`cat conftest.val`
21707 echo "$as_me: program exited with status
$ac_status" >&5
21708 echo "$as_me: failed program was
:" >&5
21709 sed 's/^/| /' conftest.$ac_ext >&5
21711 ( exit $ac_status )
21712 if test "$ac_cv_type_int" = yes; then
21713 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21714 See \
`config.log' for more details." >&5
21715 echo "$as_me: error: cannot compute sizeof (int)
21716 See \`config.log
' for more details." >&2;}
21717 { (exit 77); exit 77; }; }
21722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21726 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21727 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21731 cat >>confdefs.h <<_ACEOF
21732 #define SIZEOF_INT $ac_cv_sizeof_int
21736 { echo "$as_me:$LINENO: checking for long" >&5
21737 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21738 if test "${ac_cv_type_long+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 cat >conftest.$ac_ext <<_ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 typedef long ac__type_new_;
21752 if ((ac__type_new_ *) 0)
21754 if (sizeof (ac__type_new_))
21760 rm -f conftest.$ac_objext
21761 if { (ac_try="$ac_compile"
21762 case "(($ac_try" in
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_compile") 2>conftest.er1
21769 grep -v '^
*+' conftest.er1 >conftest.err
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } && {
21774 test -z "$ac_c_werror_flag" ||
21775 test ! -s conftest.err
21776 } && test -s conftest.$ac_objext; then
21777 ac_cv_type_long=yes
21779 echo "$as_me: failed program was:" >&5
21780 sed 's
/^
/| /' conftest.$ac_ext >&5
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21787 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21788 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21790 # The cast to long int works around a bug in the HP C Compiler
21791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21793 # This bug is HP SR number 8606223364.
21794 { echo "$as_me:$LINENO: checking size of long" >&5
21795 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21796 if test "${ac_cv_sizeof_long+set}" = set; then
21797 echo $ECHO_N "(cached) $ECHO_C" >&6
21799 if test "$cross_compiling" = yes; then
21800 # Depending upon the size, compute the lo and hi bounds.
21801 cat >conftest.
$ac_ext <<_ACEOF
21804 cat confdefs.h
>>conftest.
$ac_ext
21805 cat >>conftest.
$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 $ac_includes_default
21808 typedef long ac__type_sizeof_;
21812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21819 rm -f conftest.
$ac_objext
21820 if { (ac_try
="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21828 grep -v '^ *+' conftest.er1 >conftest.err
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } && {
21833 test -z "$ac_c_werror_flag" ||
21834 test ! -s conftest.err
21835 } && test -s conftest.$ac_objext; then
21838 cat >conftest.$ac_ext <<_ACEOF
21841 cat confdefs.h >>conftest.$ac_ext
21842 cat >>conftest.$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844 $ac_includes_default
21845 typedef long ac__type_sizeof_;
21849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21856 rm -f conftest.$ac_objext
21857 if { (ac_try="$ac_compile"
21858 case "(($ac_try" in
21859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21860 *) ac_try_echo
=$ac_try;;
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_compile") 2>conftest.er1
21865 grep -v '^ *+' conftest.er1
>conftest.err
21867 cat conftest.err
>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } && {
21870 test -z "$ac_c_werror_flag" ||
21871 test ! -s conftest.err
21872 } && test -s conftest.
$ac_objext; then
21873 ac_hi
=$ac_mid; break
21875 echo "$as_me: failed program was:" >&5
21876 sed 's/^/| /' conftest.
$ac_ext >&5
21878 ac_lo
=`expr $ac_mid + 1`
21879 if test $ac_lo -le $ac_mid; then
21883 ac_mid
=`expr 2 '*' $ac_mid + 1`
21886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.
$ac_ext >&5
21892 cat >conftest.
$ac_ext <<_ACEOF
21895 cat confdefs.h
>>conftest.
$ac_ext
21896 cat >>conftest.
$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 $ac_includes_default
21899 typedef long ac__type_sizeof_;
21903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21910 rm -f conftest.
$ac_objext
21911 if { (ac_try
="$ac_compile"
21912 case "(($ac_try" in
21913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21914 *) ac_try_echo=$ac_try;;
21916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21917 (eval "$ac_compile") 2>conftest.er1
21919 grep -v '^ *+' conftest.er1 >conftest.err
21921 cat conftest.err >&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); } && {
21924 test -z "$ac_c_werror_flag" ||
21925 test ! -s conftest.err
21926 } && test -s conftest.$ac_objext; then
21929 cat >conftest.$ac_ext <<_ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21935 $ac_includes_default
21936 typedef long ac__type_sizeof_;
21940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21947 rm -f conftest.$ac_objext
21948 if { (ac_try="$ac_compile"
21949 case "(($ac_try" in
21950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21951 *) ac_try_echo
=$ac_try;;
21953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21954 (eval "$ac_compile") 2>conftest.er1
21956 grep -v '^ *+' conftest.er1
>conftest.err
21958 cat conftest.err
>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } && {
21961 test -z "$ac_c_werror_flag" ||
21962 test ! -s conftest.err
21963 } && test -s conftest.
$ac_objext; then
21964 ac_lo
=$ac_mid; break
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.
$ac_ext >&5
21969 ac_hi
=`expr '(' $ac_mid ')' - 1`
21970 if test $ac_mid -le $ac_hi; then
21974 ac_mid
=`expr 2 '*' $ac_mid`
21977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21980 echo "$as_me: failed program was:" >&5
21981 sed 's/^/| /' conftest.
$ac_ext >&5
21986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21990 # Binary search between lo and hi bounds.
21991 while test "x$ac_lo" != "x$ac_hi"; do
21992 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21993 cat >conftest.
$ac_ext <<_ACEOF
21996 cat confdefs.h
>>conftest.
$ac_ext
21997 cat >>conftest.
$ac_ext <<_ACEOF
21998 /* end confdefs.h. */
21999 $ac_includes_default
22000 typedef long ac__type_sizeof_;
22004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22011 rm -f conftest.
$ac_objext
22012 if { (ac_try
="$ac_compile"
22013 case "(($ac_try" in
22014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22015 *) ac_try_echo=$ac_try;;
22017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22018 (eval "$ac_compile") 2>conftest.er1
22020 grep -v '^ *+' conftest.er1 >conftest.err
22022 cat conftest.err >&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); } && {
22025 test -z "$ac_c_werror_flag" ||
22026 test ! -s conftest.err
22027 } && test -s conftest.$ac_objext; then
22030 echo "$as_me: failed program was:" >&5
22031 sed 's/^/| /' conftest.$ac_ext >&5
22033 ac_lo=`expr '(' $ac_mid ')' + 1`
22036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22039 ?*) ac_cv_sizeof_long=$ac_lo;;
22040 '') if test "$ac_cv_type_long" = yes; then
22041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22042 See \`config.log
' for more details." >&5
22043 echo "$as_me: error: cannot compute sizeof (long)
22044 See \`config.log' for more details.
" >&2;}
22045 { (exit 77); exit 77; }; }
22047 ac_cv_sizeof_long=0
22051 cat >conftest.$ac_ext <<_ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef long ac__type_sizeof_;
22059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22062 #include <stdlib.h>
22067 FILE *f = fopen ("conftest.val
", "w
");
22070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22072 long int i = longval ();
22073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22075 fprintf (f, "%ld
\n", i);
22079 unsigned long int i = ulongval ();
22080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22082 fprintf (f, "%lu
\n", i);
22084 return ferror (f) || fclose (f) != 0;
22090 rm -f conftest$ac_exeext
22091 if { (ac_try="$ac_link"
22092 case "(($ac_try" in
22093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22094 *) ac_try_echo=$ac_try;;
22096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22097 (eval "$ac_link") 2>&5
22099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22101 { (case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_try") 2>&5
22108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22109 (exit $ac_status); }; }; then
22110 ac_cv_sizeof_long=`cat conftest.val`
22112 echo "$as_me: program exited with status
$ac_status" >&5
22113 echo "$as_me: failed program was
:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22116 ( exit $ac_status )
22117 if test "$ac_cv_type_long" = yes; then
22118 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22119 See \
`config.log' for more details." >&5
22120 echo "$as_me: error: cannot compute sizeof (long)
22121 See \`config.log
' for more details." >&2;}
22122 { (exit 77); exit 77; }; }
22124 ac_cv_sizeof_long=0
22127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22132 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22136 cat >>confdefs.h <<_ACEOF
22137 #define SIZEOF_LONG $ac_cv_sizeof_long
22141 { echo "$as_me:$LINENO: checking for size_t" >&5
22142 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22143 if test "${ac_cv_type_size_t+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 cat >conftest.$ac_ext <<_ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 $ac_includes_default
22153 typedef size_t ac__type_new_;
22157 if ((ac__type_new_ *) 0)
22159 if (sizeof (ac__type_new_))
22165 rm -f conftest.$ac_objext
22166 if { (ac_try="$ac_compile"
22167 case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_compile") 2>conftest.er1
22174 grep -v '^
*+' conftest.er1 >conftest.err
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && {
22179 test -z "$ac_c_werror_flag" ||
22180 test ! -s conftest.err
22181 } && test -s conftest.$ac_objext; then
22182 ac_cv_type_size_t=yes
22184 echo "$as_me: failed program was:" >&5
22185 sed 's
/^
/| /' conftest.$ac_ext >&5
22187 ac_cv_type_size_t=no
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22192 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22193 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22195 # The cast to long int works around a bug in the HP C Compiler
22196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22198 # This bug is HP SR number 8606223364.
22199 { echo "$as_me:$LINENO: checking size of size_t" >&5
22200 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22201 if test "${ac_cv_sizeof_size_t+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22204 if test "$cross_compiling" = yes; then
22205 # Depending upon the size, compute the lo and hi bounds.
22206 cat >conftest.
$ac_ext <<_ACEOF
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22213 typedef size_t ac__type_sizeof_;
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22224 rm -f conftest.
$ac_objext
22225 if { (ac_try
="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22233 grep -v '^ *+' conftest.er1 >conftest.err
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22243 cat >conftest.$ac_ext <<_ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22249 $ac_includes_default
22250 typedef size_t ac__type_sizeof_;
22254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22261 rm -f conftest.$ac_objext
22262 if { (ac_try="$ac_compile"
22263 case "(($ac_try" in
22264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22265 *) ac_try_echo
=$ac_try;;
22267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22268 (eval "$ac_compile") 2>conftest.er1
22270 grep -v '^ *+' conftest.er1
>conftest.err
22272 cat conftest.err
>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } && {
22275 test -z "$ac_c_werror_flag" ||
22276 test ! -s conftest.err
22277 } && test -s conftest.
$ac_objext; then
22278 ac_hi
=$ac_mid; break
22280 echo "$as_me: failed program was:" >&5
22281 sed 's/^/| /' conftest.
$ac_ext >&5
22283 ac_lo
=`expr $ac_mid + 1`
22284 if test $ac_lo -le $ac_mid; then
22288 ac_mid
=`expr 2 '*' $ac_mid + 1`
22291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.
$ac_ext >&5
22297 cat >conftest.
$ac_ext <<_ACEOF
22300 cat confdefs.h
>>conftest.
$ac_ext
22301 cat >>conftest.
$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 $ac_includes_default
22304 typedef size_t ac__type_sizeof_;
22308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22315 rm -f conftest.
$ac_objext
22316 if { (ac_try
="$ac_compile"
22317 case "(($ac_try" in
22318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_compile") 2>conftest.er1
22324 grep -v '^ *+' conftest.er1 >conftest.err
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } && {
22329 test -z "$ac_c_werror_flag" ||
22330 test ! -s conftest.err
22331 } && test -s conftest.$ac_objext; then
22334 cat >conftest.$ac_ext <<_ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 $ac_includes_default
22341 typedef size_t ac__type_sizeof_;
22345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22352 rm -f conftest.$ac_objext
22353 if { (ac_try="$ac_compile"
22354 case "(($ac_try" in
22355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22356 *) ac_try_echo
=$ac_try;;
22358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22359 (eval "$ac_compile") 2>conftest.er1
22361 grep -v '^ *+' conftest.er1
>conftest.err
22363 cat conftest.err
>&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } && {
22366 test -z "$ac_c_werror_flag" ||
22367 test ! -s conftest.err
22368 } && test -s conftest.
$ac_objext; then
22369 ac_lo
=$ac_mid; break
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22374 ac_hi
=`expr '(' $ac_mid ')' - 1`
22375 if test $ac_mid -le $ac_hi; then
22379 ac_mid
=`expr 2 '*' $ac_mid`
22382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.
$ac_ext >&5
22391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22395 # Binary search between lo and hi bounds.
22396 while test "x$ac_lo" != "x$ac_hi"; do
22397 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22398 cat >conftest.
$ac_ext <<_ACEOF
22401 cat confdefs.h
>>conftest.
$ac_ext
22402 cat >>conftest.
$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22404 $ac_includes_default
22405 typedef size_t ac__type_sizeof_;
22409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22416 rm -f conftest.
$ac_objext
22417 if { (ac_try
="$ac_compile"
22418 case "(($ac_try" in
22419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22423 (eval "$ac_compile") 2>conftest.er1
22425 grep -v '^ *+' conftest.er1 >conftest.err
22427 cat conftest.err >&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); } && {
22430 test -z "$ac_c_werror_flag" ||
22431 test ! -s conftest.err
22432 } && test -s conftest.$ac_objext; then
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.$ac_ext >&5
22438 ac_lo=`expr '(' $ac_mid ')' + 1`
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22444 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22445 '') if test "$ac_cv_type_size_t" = yes; then
22446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22447 See \`config.log
' for more details." >&5
22448 echo "$as_me: error: cannot compute sizeof (size_t)
22449 See \`config.log' for more details.
" >&2;}
22450 { (exit 77); exit 77; }; }
22452 ac_cv_sizeof_size_t=0
22456 cat >conftest.$ac_ext <<_ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 $ac_includes_default
22463 typedef size_t ac__type_sizeof_;
22464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22467 #include <stdlib.h>
22472 FILE *f = fopen ("conftest.val
", "w
");
22475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22477 long int i = longval ();
22478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22480 fprintf (f, "%ld
\n", i);
22484 unsigned long int i = ulongval ();
22485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22487 fprintf (f, "%lu
\n", i);
22489 return ferror (f) || fclose (f) != 0;
22495 rm -f conftest$ac_exeext
22496 if { (ac_try="$ac_link"
22497 case "(($ac_try" in
22498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22499 *) ac_try_echo=$ac_try;;
22501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_link") 2>&5
22504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22506 { (case "(($ac_try" in
22507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22508 *) ac_try_echo=$ac_try;;
22510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22511 (eval "$ac_try") 2>&5
22513 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22514 (exit $ac_status); }; }; then
22515 ac_cv_sizeof_size_t=`cat conftest.val`
22517 echo "$as_me: program exited with status
$ac_status" >&5
22518 echo "$as_me: failed program was
:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 ( exit $ac_status )
22522 if test "$ac_cv_type_size_t" = yes; then
22523 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22524 See \
`config.log' for more details." >&5
22525 echo "$as_me: error: cannot compute sizeof (size_t)
22526 See \`config.log
' for more details." >&2;}
22527 { (exit 77); exit 77; }; }
22529 ac_cv_sizeof_size_t=0
22532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22537 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22541 cat >>confdefs.h <<_ACEOF
22542 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22549 { echo "$as_me:$LINENO: checking for long long" >&5
22550 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22551 if test "${ac_cv_type_long_long+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22554 cat >conftest.$ac_ext <<_ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 typedef long long ac__type_new_;
22565 if ((ac__type_new_ *) 0)
22567 if (sizeof (ac__type_new_))
22573 rm -f conftest.$ac_objext
22574 if { (ac_try="$ac_compile"
22575 case "(($ac_try" in
22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22577 *) ac_try_echo=$ac_try;;
22579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22580 (eval "$ac_compile") 2>conftest.er1
22582 grep -v '^
*+' conftest.er1 >conftest.err
22584 cat conftest.err >&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } && {
22587 test -z "$ac_c_werror_flag" ||
22588 test ! -s conftest.err
22589 } && test -s conftest.$ac_objext; then
22590 ac_cv_type_long_long=yes
22592 echo "$as_me: failed program was:" >&5
22593 sed 's
/^
/| /' conftest.$ac_ext >&5
22595 ac_cv_type_long_long=no
22598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22600 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22601 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22603 # The cast to long int works around a bug in the HP C Compiler
22604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22606 # This bug is HP SR number 8606223364.
22607 { echo "$as_me:$LINENO: checking size of long long" >&5
22608 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22609 if test "${ac_cv_sizeof_long_long+set}" = set; then
22610 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 if test "$cross_compiling" = yes; then
22613 # Depending upon the size, compute the lo and hi bounds.
22614 cat >conftest.
$ac_ext <<_ACEOF
22617 cat confdefs.h
>>conftest.
$ac_ext
22618 cat >>conftest.
$ac_ext <<_ACEOF
22619 /* end confdefs.h. */
22620 $ac_includes_default
22621 typedef long long ac__type_sizeof_;
22625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22632 rm -f conftest.
$ac_objext
22633 if { (ac_try
="$ac_compile"
22634 case "(($ac_try" in
22635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22636 *) ac_try_echo=$ac_try;;
22638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22639 (eval "$ac_compile") 2>conftest.er1
22641 grep -v '^ *+' conftest.er1 >conftest.err
22643 cat conftest.err >&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } && {
22646 test -z "$ac_c_werror_flag" ||
22647 test ! -s conftest.err
22648 } && test -s conftest.$ac_objext; then
22651 cat >conftest.$ac_ext <<_ACEOF
22654 cat confdefs.h >>conftest.$ac_ext
22655 cat >>conftest.$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22657 $ac_includes_default
22658 typedef long long ac__type_sizeof_;
22662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22669 rm -f conftest.$ac_objext
22670 if { (ac_try="$ac_compile"
22671 case "(($ac_try" in
22672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22673 *) ac_try_echo
=$ac_try;;
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_compile") 2>conftest.er1
22678 grep -v '^ *+' conftest.er1
>conftest.err
22680 cat conftest.err
>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && {
22683 test -z "$ac_c_werror_flag" ||
22684 test ! -s conftest.err
22685 } && test -s conftest.
$ac_objext; then
22686 ac_hi
=$ac_mid; break
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.
$ac_ext >&5
22691 ac_lo
=`expr $ac_mid + 1`
22692 if test $ac_lo -le $ac_mid; then
22696 ac_mid
=`expr 2 '*' $ac_mid + 1`
22699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.
$ac_ext >&5
22705 cat >conftest.
$ac_ext <<_ACEOF
22708 cat confdefs.h
>>conftest.
$ac_ext
22709 cat >>conftest.
$ac_ext <<_ACEOF
22710 /* end confdefs.h. */
22711 $ac_includes_default
22712 typedef long long ac__type_sizeof_;
22716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22723 rm -f conftest.
$ac_objext
22724 if { (ac_try
="$ac_compile"
22725 case "(($ac_try" in
22726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22727 *) ac_try_echo=$ac_try;;
22729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22730 (eval "$ac_compile") 2>conftest.er1
22732 grep -v '^ *+' conftest.er1 >conftest.err
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } && {
22737 test -z "$ac_c_werror_flag" ||
22738 test ! -s conftest.err
22739 } && test -s conftest.$ac_objext; then
22742 cat >conftest.$ac_ext <<_ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 $ac_includes_default
22749 typedef long long ac__type_sizeof_;
22753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22760 rm -f conftest.$ac_objext
22761 if { (ac_try="$ac_compile"
22762 case "(($ac_try" in
22763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22764 *) ac_try_echo
=$ac_try;;
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_compile") 2>conftest.er1
22769 grep -v '^ *+' conftest.er1
>conftest.err
22771 cat conftest.err
>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } && {
22774 test -z "$ac_c_werror_flag" ||
22775 test ! -s conftest.err
22776 } && test -s conftest.
$ac_objext; then
22777 ac_lo
=$ac_mid; break
22779 echo "$as_me: failed program was:" >&5
22780 sed 's/^/| /' conftest.
$ac_ext >&5
22782 ac_hi
=`expr '(' $ac_mid ')' - 1`
22783 if test $ac_mid -le $ac_hi; then
22787 ac_mid
=`expr 2 '*' $ac_mid`
22790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.
$ac_ext >&5
22799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22803 # Binary search between lo and hi bounds.
22804 while test "x$ac_lo" != "x$ac_hi"; do
22805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22806 cat >conftest.
$ac_ext <<_ACEOF
22809 cat confdefs.h
>>conftest.
$ac_ext
22810 cat >>conftest.
$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 $ac_includes_default
22813 typedef long long ac__type_sizeof_;
22817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22824 rm -f conftest.
$ac_objext
22825 if { (ac_try
="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22833 grep -v '^ *+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_c_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest.$ac_objext; then
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22846 ac_lo=`expr '(' $ac_mid ')' + 1`
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22853 '') if test "$ac_cv_type_long_long" = yes; then
22854 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22855 See \`config.log
' for more details." >&5
22856 echo "$as_me: error: cannot compute sizeof (long long)
22857 See \`config.log' for more details.
" >&2;}
22858 { (exit 77); exit 77; }; }
22860 ac_cv_sizeof_long_long=0
22864 cat >conftest.$ac_ext <<_ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 $ac_includes_default
22871 typedef long long ac__type_sizeof_;
22872 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22873 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22875 #include <stdlib.h>
22880 FILE *f = fopen ("conftest.val
", "w
");
22883 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22885 long int i = longval ();
22886 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22888 fprintf (f, "%ld
\n", i);
22892 unsigned long int i = ulongval ();
22893 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22895 fprintf (f, "%lu
\n", i);
22897 return ferror (f) || fclose (f) != 0;
22903 rm -f conftest$ac_exeext
22904 if { (ac_try="$ac_link"
22905 case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_link") 2>&5
22912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22914 { (case "(($ac_try" in
22915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22916 *) ac_try_echo=$ac_try;;
22918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_try") 2>&5
22921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22922 (exit $ac_status); }; }; then
22923 ac_cv_sizeof_long_long=`cat conftest.val`
22925 echo "$as_me: program exited with status
$ac_status" >&5
22926 echo "$as_me: failed program was
:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22929 ( exit $ac_status )
22930 if test "$ac_cv_type_long_long" = yes; then
22931 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22932 See \
`config.log' for more details." >&5
22933 echo "$as_me: error: cannot compute sizeof (long long)
22934 See \`config.log
' for more details." >&2;}
22935 { (exit 77); exit 77; }; }
22937 ac_cv_sizeof_long_long=0
22940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22944 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22945 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22949 cat >>confdefs.h <<_ACEOF
22950 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22956 { echo "$as_me:$LINENO: checking for long long" >&5
22957 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22958 if test "${ac_cv_type_long_long+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22961 cat >conftest.$ac_ext <<_ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 $ac_includes_default
22968 typedef long long ac__type_new_;
22972 if ((ac__type_new_ *) 0)
22974 if (sizeof (ac__type_new_))
22980 rm -f conftest.$ac_objext
22981 if { (ac_try="$ac_compile"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_compile") 2>conftest.er1
22989 grep -v '^
*+' conftest.er1 >conftest.err
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_c_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest.$ac_objext; then
22997 ac_cv_type_long_long=yes
22999 echo "$as_me: failed program was:" >&5
23000 sed 's
/^
/| /' conftest.$ac_ext >&5
23002 ac_cv_type_long_long=no
23005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23008 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23010 # The cast to long int works around a bug in the HP C Compiler
23011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23013 # This bug is HP SR number 8606223364.
23014 { echo "$as_me:$LINENO: checking size of long long" >&5
23015 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23016 if test "${ac_cv_sizeof_long_long+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23019 if test "$cross_compiling" = yes; then
23020 # Depending upon the size, compute the lo and hi bounds.
23021 cat >conftest.
$ac_ext <<_ACEOF
23024 cat confdefs.h
>>conftest.
$ac_ext
23025 cat >>conftest.
$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 $ac_includes_default
23028 typedef long long ac__type_sizeof_;
23032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23039 rm -f conftest.
$ac_objext
23040 if { (ac_try
="$ac_compile"
23041 case "(($ac_try" in
23042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23043 *) ac_try_echo=$ac_try;;
23045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23046 (eval "$ac_compile") 2>conftest.er1
23048 grep -v '^ *+' conftest.er1 >conftest.err
23050 cat conftest.err >&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); } && {
23053 test -z "$ac_c_werror_flag" ||
23054 test ! -s conftest.err
23055 } && test -s conftest.$ac_objext; then
23058 cat >conftest.$ac_ext <<_ACEOF
23061 cat confdefs.h >>conftest.$ac_ext
23062 cat >>conftest.$ac_ext <<_ACEOF
23063 /* end confdefs.h. */
23064 $ac_includes_default
23065 typedef long long ac__type_sizeof_;
23069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23076 rm -f conftest.$ac_objext
23077 if { (ac_try="$ac_compile"
23078 case "(($ac_try" in
23079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23080 *) ac_try_echo
=$ac_try;;
23082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23083 (eval "$ac_compile") 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && {
23090 test -z "$ac_c_werror_flag" ||
23091 test ! -s conftest.err
23092 } && test -s conftest.
$ac_objext; then
23093 ac_hi
=$ac_mid; break
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.
$ac_ext >&5
23098 ac_lo
=`expr $ac_mid + 1`
23099 if test $ac_lo -le $ac_mid; then
23103 ac_mid
=`expr 2 '*' $ac_mid + 1`
23106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.
$ac_ext >&5
23112 cat >conftest.
$ac_ext <<_ACEOF
23115 cat confdefs.h
>>conftest.
$ac_ext
23116 cat >>conftest.
$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 $ac_includes_default
23119 typedef long long ac__type_sizeof_;
23123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23130 rm -f conftest.
$ac_objext
23131 if { (ac_try
="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^ *+' conftest.er1 >conftest.err
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_c_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23149 cat >conftest.$ac_ext <<_ACEOF
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23155 $ac_includes_default
23156 typedef long long ac__type_sizeof_;
23160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23167 rm -f conftest.$ac_objext
23168 if { (ac_try="$ac_compile"
23169 case "(($ac_try" in
23170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23171 *) ac_try_echo
=$ac_try;;
23173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23174 (eval "$ac_compile") 2>conftest.er1
23176 grep -v '^ *+' conftest.er1
>conftest.err
23178 cat conftest.err
>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } && {
23181 test -z "$ac_c_werror_flag" ||
23182 test ! -s conftest.err
23183 } && test -s conftest.
$ac_objext; then
23184 ac_lo
=$ac_mid; break
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.
$ac_ext >&5
23189 ac_hi
=`expr '(' $ac_mid ')' - 1`
23190 if test $ac_mid -le $ac_hi; then
23194 ac_mid
=`expr 2 '*' $ac_mid`
23197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23200 echo "$as_me: failed program was:" >&5
23201 sed 's/^/| /' conftest.
$ac_ext >&5
23206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23210 # Binary search between lo and hi bounds.
23211 while test "x$ac_lo" != "x$ac_hi"; do
23212 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23213 cat >conftest.
$ac_ext <<_ACEOF
23216 cat confdefs.h
>>conftest.
$ac_ext
23217 cat >>conftest.
$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 $ac_includes_default
23220 typedef long long ac__type_sizeof_;
23224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23231 rm -f conftest.
$ac_objext
23232 if { (ac_try
="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23235 *) ac_try_echo=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23240 grep -v '^ *+' conftest.er1 >conftest.err
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_c_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.$ac_objext; then
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23253 ac_lo=`expr '(' $ac_mid ')' + 1`
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23260 '') if test "$ac_cv_type_long_long" = yes; then
23261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23262 See \`config.log
' for more details." >&5
23263 echo "$as_me: error: cannot compute sizeof (long long)
23264 See \`config.log' for more details.
" >&2;}
23265 { (exit 77); exit 77; }; }
23267 ac_cv_sizeof_long_long=0
23271 cat >conftest.$ac_ext <<_ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277 $ac_includes_default
23278 typedef long long ac__type_sizeof_;
23279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23282 #include <stdlib.h>
23287 FILE *f = fopen ("conftest.val
", "w
");
23290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23292 long int i = longval ();
23293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23295 fprintf (f, "%ld
\n", i);
23299 unsigned long int i = ulongval ();
23300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23302 fprintf (f, "%lu
\n", i);
23304 return ferror (f) || fclose (f) != 0;
23310 rm -f conftest$ac_exeext
23311 if { (ac_try="$ac_link"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_link") 2>&5
23319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23321 { (case "(($ac_try" in
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23323 *) ac_try_echo=$ac_try;;
23325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23326 (eval "$ac_try") 2>&5
23328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23329 (exit $ac_status); }; }; then
23330 ac_cv_sizeof_long_long=`cat conftest.val`
23332 echo "$as_me: program exited with status
$ac_status" >&5
23333 echo "$as_me: failed program was
:" >&5
23334 sed 's/^/| /' conftest.$ac_ext >&5
23336 ( exit $ac_status )
23337 if test "$ac_cv_type_long_long" = yes; then
23338 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23339 See \
`config.log' for more details." >&5
23340 echo "$as_me: error: cannot compute sizeof (long long)
23341 See \`config.log
' for more details." >&2;}
23342 { (exit 77); exit 77; }; }
23344 ac_cv_sizeof_long_long=0
23347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23352 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23356 cat >>confdefs.h <<_ACEOF
23357 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23361 if test "$ac_cv_sizeof_long_long" != 0; then
23362 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23366 { echo "$as_me:$LINENO: checking for long long" >&5
23367 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23368 if test "${ac_cv_type_long_long+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 cat >conftest.$ac_ext <<_ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 $ac_includes_default
23378 typedef long long ac__type_new_;
23382 if ((ac__type_new_ *) 0)
23384 if (sizeof (ac__type_new_))
23390 rm -f conftest.$ac_objext
23391 if { (ac_try="$ac_compile"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_compile") 2>conftest.er1
23399 grep -v '^
*+' conftest.er1 >conftest.err
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest.$ac_objext; then
23407 ac_cv_type_long_long=yes
23409 echo "$as_me: failed program was:" >&5
23410 sed 's
/^
/| /' conftest.$ac_ext >&5
23412 ac_cv_type_long_long=no
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23418 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23420 # The cast to long int works around a bug in the HP C Compiler
23421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23423 # This bug is HP SR number 8606223364.
23424 { echo "$as_me:$LINENO: checking size of long long" >&5
23425 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23426 if test "${ac_cv_sizeof_long_long+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23429 if test "$cross_compiling" = yes; then
23430 # Depending upon the size, compute the lo and hi bounds.
23431 cat >conftest.
$ac_ext <<_ACEOF
23434 cat confdefs.h
>>conftest.
$ac_ext
23435 cat >>conftest.
$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 $ac_includes_default
23438 typedef long long ac__type_sizeof_;
23442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23449 rm -f conftest.
$ac_objext
23450 if { (ac_try
="$ac_compile"
23451 case "(($ac_try" in
23452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23453 *) ac_try_echo=$ac_try;;
23455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23456 (eval "$ac_compile") 2>conftest.er1
23458 grep -v '^ *+' conftest.er1 >conftest.err
23460 cat conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } && {
23463 test -z "$ac_c_werror_flag" ||
23464 test ! -s conftest.err
23465 } && test -s conftest.$ac_objext; then
23468 cat >conftest.$ac_ext <<_ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 $ac_includes_default
23475 typedef long long ac__type_sizeof_;
23479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23486 rm -f conftest.$ac_objext
23487 if { (ac_try="$ac_compile"
23488 case "(($ac_try" in
23489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23490 *) ac_try_echo
=$ac_try;;
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_compile") 2>conftest.er1
23495 grep -v '^ *+' conftest.er1
>conftest.err
23497 cat conftest.err
>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest.
$ac_objext; then
23503 ac_hi
=$ac_mid; break
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.
$ac_ext >&5
23508 ac_lo
=`expr $ac_mid + 1`
23509 if test $ac_lo -le $ac_mid; then
23513 ac_mid
=`expr 2 '*' $ac_mid + 1`
23516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23519 echo "$as_me: failed program was:" >&5
23520 sed 's/^/| /' conftest.
$ac_ext >&5
23522 cat >conftest.
$ac_ext <<_ACEOF
23525 cat confdefs.h
>>conftest.
$ac_ext
23526 cat >>conftest.
$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 $ac_includes_default
23529 typedef long long ac__type_sizeof_;
23533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23540 rm -f conftest.
$ac_objext
23541 if { (ac_try
="$ac_compile"
23542 case "(($ac_try" in
23543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_compile") 2>conftest.er1
23549 grep -v '^ *+' conftest.er1 >conftest.err
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } && {
23554 test -z "$ac_c_werror_flag" ||
23555 test ! -s conftest.err
23556 } && test -s conftest.$ac_objext; then
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565 $ac_includes_default
23566 typedef long long ac__type_sizeof_;
23570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23577 rm -f conftest.$ac_objext
23578 if { (ac_try="$ac_compile"
23579 case "(($ac_try" in
23580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23581 *) ac_try_echo
=$ac_try;;
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_compile") 2>conftest.er1
23586 grep -v '^ *+' conftest.er1
>conftest.err
23588 cat conftest.err
>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } && {
23591 test -z "$ac_c_werror_flag" ||
23592 test ! -s conftest.err
23593 } && test -s conftest.
$ac_objext; then
23594 ac_lo
=$ac_mid; break
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 ac_hi
=`expr '(' $ac_mid ')' - 1`
23600 if test $ac_mid -le $ac_hi; then
23604 ac_mid
=`expr 2 '*' $ac_mid`
23607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.
$ac_ext >&5
23616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23620 # Binary search between lo and hi bounds.
23621 while test "x$ac_lo" != "x$ac_hi"; do
23622 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23623 cat >conftest.
$ac_ext <<_ACEOF
23626 cat confdefs.h
>>conftest.
$ac_ext
23627 cat >>conftest.
$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23629 $ac_includes_default
23630 typedef long long ac__type_sizeof_;
23634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23641 rm -f conftest.
$ac_objext
23642 if { (ac_try
="$ac_compile"
23643 case "(($ac_try" in
23644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23645 *) ac_try_echo=$ac_try;;
23647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23648 (eval "$ac_compile") 2>conftest.er1
23650 grep -v '^ *+' conftest.er1 >conftest.err
23652 cat conftest.err >&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); } && {
23655 test -z "$ac_c_werror_flag" ||
23656 test ! -s conftest.err
23657 } && test -s conftest.$ac_objext; then
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5
23663 ac_lo=`expr '(' $ac_mid ')' + 1`
23666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23670 '') if test "$ac_cv_type_long_long" = yes; then
23671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23672 See \`config.log
' for more details." >&5
23673 echo "$as_me: error: cannot compute sizeof (long long)
23674 See \`config.log' for more details.
" >&2;}
23675 { (exit 77); exit 77; }; }
23677 ac_cv_sizeof_long_long=0
23681 cat >conftest.$ac_ext <<_ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23687 $ac_includes_default
23688 typedef long long ac__type_sizeof_;
23689 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23690 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23692 #include <stdlib.h>
23697 FILE *f = fopen ("conftest.val
", "w
");
23700 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23702 long int i = longval ();
23703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23705 fprintf (f, "%ld
\n", i);
23709 unsigned long int i = ulongval ();
23710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23712 fprintf (f, "%lu
\n", i);
23714 return ferror (f) || fclose (f) != 0;
23720 rm -f conftest$ac_exeext
23721 if { (ac_try="$ac_link"
23722 case "(($ac_try" in
23723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23724 *) ac_try_echo=$ac_try;;
23726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23727 (eval "$ac_link") 2>&5
23729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23731 { (case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_try") 2>&5
23738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23739 (exit $ac_status); }; }; then
23740 ac_cv_sizeof_long_long=`cat conftest.val`
23742 echo "$as_me: program exited with status
$ac_status" >&5
23743 echo "$as_me: failed program was
:" >&5
23744 sed 's/^/| /' conftest.$ac_ext >&5
23746 ( exit $ac_status )
23747 if test "$ac_cv_type_long_long" = yes; then
23748 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23749 See \
`config.log' for more details." >&5
23750 echo "$as_me: error: cannot compute sizeof (long long)
23751 See \`config.log
' for more details." >&2;}
23752 { (exit 77); exit 77; }; }
23754 ac_cv_sizeof_long_long=0
23757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23761 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23762 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23766 cat >>confdefs.h <<_ACEOF
23767 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23773 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23774 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23775 if test "${ac_cv_type_wchar_t+set}" = set; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23786 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23787 # error "fake wchar_t"
23789 #ifdef HAVE_WCHAR_H
23791 # include <stddef.h>
23793 # include <wchar.h>
23795 #ifdef HAVE_STDLIB_H
23796 # include <stdlib.h>
23802 typedef wchar_t ac__type_new_
;
23806 if ((ac__type_new_
*) 0)
23808 if (sizeof
(ac__type_new_
))
23814 rm -f conftest.
$ac_objext
23815 if { (ac_try
="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23823 grep -v '^ *+' conftest.er1 >conftest.err
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } && {
23828 test -z "$ac_c_werror_flag" ||
23829 test ! -s conftest.err
23830 } && test -s conftest.$ac_objext; then
23831 ac_cv_type_wchar_t=yes
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23836 ac_cv_type_wchar_t=no
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23841 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23842 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23844 # The cast to long int works around a bug in the HP C Compiler
23845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23846 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23847 # This bug is HP SR number 8606223364.
23848 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23849 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23850 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23851 echo $ECHO_N "(cached) $ECHO_C" >&6
23853 if test "$cross_compiling" = yes; then
23854 # Depending upon the size, compute the lo and hi bounds.
23855 cat >conftest.$ac_ext <<_ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23862 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23863 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23864 # error "fake wchar_t"
23866 #ifdef HAVE_WCHAR_H
23868 # include <stddef.h>
23870 # include <wchar.h>
23872 #ifdef HAVE_STDLIB_H
23873 # include <stdlib.h>
23879 typedef wchar_t ac__type_sizeof_
;
23883 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23890 rm -f conftest.
$ac_objext
23891 if { (ac_try
="$ac_compile"
23892 case "(($ac_try" in
23893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_compile") 2>conftest.er1
23899 grep -v '^ *+' conftest.er1 >conftest.err
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } && {
23904 test -z "$ac_c_werror_flag" ||
23905 test ! -s conftest.err
23906 } && test -s conftest.$ac_objext; then
23909 cat >conftest.$ac_ext <<_ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23916 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23917 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23918 # error "fake wchar_t"
23920 #ifdef HAVE_WCHAR_H
23922 # include <stddef.h>
23924 # include <wchar.h>
23926 #ifdef HAVE_STDLIB_H
23927 # include <stdlib.h>
23933 typedef wchar_t ac__type_sizeof_;
23937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23944 rm -f conftest.$ac_objext
23945 if { (ac_try="$ac_compile"
23946 case "(($ac_try" in
23947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23948 *) ac_try_echo
=$ac_try;;
23950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23951 (eval "$ac_compile") 2>conftest.er1
23953 grep -v '^ *+' conftest.er1
>conftest.err
23955 cat conftest.err
>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); } && {
23958 test -z "$ac_c_werror_flag" ||
23959 test ! -s conftest.err
23960 } && test -s conftest.
$ac_objext; then
23961 ac_hi
=$ac_mid; break
23963 echo "$as_me: failed program was:" >&5
23964 sed 's/^/| /' conftest.
$ac_ext >&5
23966 ac_lo
=`expr $ac_mid + 1`
23967 if test $ac_lo -le $ac_mid; then
23971 ac_mid
=`expr 2 '*' $ac_mid + 1`
23974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.
$ac_ext >&5
23980 cat >conftest.
$ac_ext <<_ACEOF
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23987 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23988 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23989 # error "fake wchar_t"
23991 #ifdef HAVE_WCHAR_H
23993 # include <stddef.h>
23995 # include <wchar.h>
23997 #ifdef HAVE_STDLIB_H
23998 # include <stdlib.h>
24004 typedef wchar_t ac__type_sizeof_;
24008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24015 rm -f conftest.
$ac_objext
24016 if { (ac_try
="$ac_compile"
24017 case "(($ac_try" in
24018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24019 *) ac_try_echo=$ac_try;;
24021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24022 (eval "$ac_compile") 2>conftest.er1
24024 grep -v '^ *+' conftest.er1 >conftest.err
24026 cat conftest.err >&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); } && {
24029 test -z "$ac_c_werror_flag" ||
24030 test ! -s conftest.err
24031 } && test -s conftest.$ac_objext; then
24034 cat >conftest.$ac_ext <<_ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24043 # error "fake wchar_t"
24045 #ifdef HAVE_WCHAR_H
24047 # include <stddef.h>
24049 # include <wchar.h>
24051 #ifdef HAVE_STDLIB_H
24052 # include <stdlib.h>
24058 typedef wchar_t ac__type_sizeof_;
24062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24069 rm -f conftest.$ac_objext
24070 if { (ac_try="$ac_compile"
24071 case "(($ac_try" in
24072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24073 *) ac_try_echo
=$ac_try;;
24075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24076 (eval "$ac_compile") 2>conftest.er1
24078 grep -v '^ *+' conftest.er1
>conftest.err
24080 cat conftest.err
>&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); } && {
24083 test -z "$ac_c_werror_flag" ||
24084 test ! -s conftest.err
24085 } && test -s conftest.
$ac_objext; then
24086 ac_lo
=$ac_mid; break
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.
$ac_ext >&5
24091 ac_hi
=`expr '(' $ac_mid ')' - 1`
24092 if test $ac_mid -le $ac_hi; then
24096 ac_mid
=`expr 2 '*' $ac_mid`
24099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.
$ac_ext >&5
24108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24112 # Binary search between lo and hi bounds.
24113 while test "x$ac_lo" != "x$ac_hi"; do
24114 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24115 cat >conftest.
$ac_ext <<_ACEOF
24118 cat confdefs.h
>>conftest.
$ac_ext
24119 cat >>conftest.
$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24122 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24123 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24124 # error "fake wchar_t"
24126 #ifdef HAVE_WCHAR_H
24128 # include <stddef.h>
24130 # include <wchar.h>
24132 #ifdef HAVE_STDLIB_H
24133 # include <stdlib.h>
24139 typedef wchar_t ac__type_sizeof_;
24143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24150 rm -f conftest.
$ac_objext
24151 if { (ac_try
="$ac_compile"
24152 case "(($ac_try" in
24153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24154 *) ac_try_echo=$ac_try;;
24156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157 (eval "$ac_compile") 2>conftest.er1
24159 grep -v '^ *+' conftest.er1 >conftest.err
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } && {
24164 test -z "$ac_c_werror_flag" ||
24165 test ! -s conftest.err
24166 } && test -s conftest.$ac_objext; then
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24172 ac_lo=`expr '(' $ac_mid ')' + 1`
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24178 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24179 '') if test "$ac_cv_type_wchar_t" = yes; then
24180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24181 See \`config.log
' for more details." >&5
24182 echo "$as_me: error: cannot compute sizeof (wchar_t)
24183 See \`config.log' for more details.
" >&2;}
24184 { (exit 77); exit 77; }; }
24186 ac_cv_sizeof_wchar_t=0
24190 cat >conftest.$ac_ext <<_ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24197 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24198 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24199 # error "fake wchar_t
"
24201 #ifdef HAVE_WCHAR_H
24203 # include <stddef.h>
24205 # include <wchar.h>
24207 #ifdef HAVE_STDLIB_H
24208 # include <stdlib.h>
24214 typedef wchar_t ac__type_sizeof_;
24215 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24216 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 #include <stdlib.h>
24223 FILE *f = fopen ("conftest.val
", "w
");
24226 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24228 long int i = longval ();
24229 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24231 fprintf (f, "%ld
\n", i);
24235 unsigned long int i = ulongval ();
24236 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24238 fprintf (f, "%lu
\n", i);
24240 return ferror (f) || fclose (f) != 0;
24246 rm -f conftest$ac_exeext
24247 if { (ac_try="$ac_link"
24248 case "(($ac_try" in
24249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24250 *) ac_try_echo=$ac_try;;
24252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24253 (eval "$ac_link") 2>&5
24255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24257 { (case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 *) ac_try_echo=$ac_try;;
24261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_try") 2>&5
24264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266 ac_cv_sizeof_wchar_t=`cat conftest.val`
24268 echo "$as_me: program exited with status
$ac_status" >&5
24269 echo "$as_me: failed program was
:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24272 ( exit $ac_status )
24273 if test "$ac_cv_type_wchar_t" = yes; then
24274 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24275 See \
`config.log' for more details." >&5
24276 echo "$as_me: error: cannot compute sizeof (wchar_t)
24277 See \`config.log
' for more details." >&2;}
24278 { (exit 77); exit 77; }; }
24280 ac_cv_sizeof_wchar_t=0
24283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24287 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24288 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24292 cat >>confdefs.h <<_ACEOF
24293 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24297 if test "$ac_cv_sizeof_wchar_t" = 0; then
24298 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24299 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24300 { (exit 1); exit 1; }; }
24302 cat >>confdefs.h <<\_ACEOF
24303 #define wxUSE_WCHAR_T 1
24307 { echo "$as_me:$LINENO: checking for va_copy" >&5
24308 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24309 if test "${wx_cv_func_va_copy+set}" = set; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24314 ac_cpp='$CXXCPP $CPPFLAGS'
24315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24316 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24319 cat >conftest.$ac_ext <<_ACEOF
24321 #include <stdarg.h>
24322 void foo(char *f, ...)
24336 rm -f conftest.$ac_objext conftest$ac_exeext
24337 if { (ac_try="$ac_link"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_link") 2>conftest.er1
24345 grep -v '^
*+' conftest.er1 >conftest.err
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest$ac_exeext &&
24353 $as_test_x conftest$ac_exeext; then
24354 wx_cv_func_va_copy=yes
24356 echo "$as_me: failed program was:" >&5
24357 sed 's
/^
/| /' conftest.$ac_ext >&5
24359 wx_cv_func_va_copy=no
24363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24364 conftest$ac_exeext conftest.$ac_ext
24366 ac_cpp='$CPP $CPPFLAGS'
24367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24368 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24374 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24375 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24377 if test $wx_cv_func_va_copy = "yes"; then
24378 cat >>confdefs.h <<\_ACEOF
24379 #define HAVE_VA_COPY 1
24383 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24384 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24385 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 if test "$cross_compiling" = yes; then
24390 wx_cv_type_va_list_lvalue=yes
24393 cat >conftest.$ac_ext <<_ACEOF
24395 #include <stdarg.h>
24396 int foo(char *f, ...)
24401 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24409 return foo("hi", 17);
24412 rm -f conftest$ac_exeext
24413 if { (ac_try="$ac_link"
24414 case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24419 (eval "$ac_link") 2>&5
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24423 { (case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_try") 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; }; then
24432 wx_cv_type_va_list_lvalue=yes
24434 echo "$as_me: program exited with status $ac_status" >&5
24435 echo "$as_me: failed program was:" >&5
24436 sed 's
/^
/| /' conftest.$ac_ext >&5
24438 ( exit $ac_status )
24439 wx_cv_type_va_list_lvalue=no
24441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24448 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24449 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24451 if test $wx_cv_type_va_list_lvalue != "yes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define VA_LIST_IS_ARRAY 1
24459 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24461 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24462 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24463 if test "${wx_cv_have_variadic_macros+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 ac_cpp='$CXXCPP $CPPFLAGS'
24469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24470 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24473 cat >conftest.$ac_ext <<_ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24481 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24487 test("%s %d %p", "test", 1, 0);
24494 rm -f conftest.$ac_objext
24495 if { (ac_try="$ac_compile"
24496 case "(($ac_try" in
24497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24498 *) ac_try_echo=$ac_try;;
24500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24501 (eval "$ac_compile") 2>conftest.er1
24503 grep -v '^
*+' conftest.er1 >conftest.err
24505 cat conftest.err >&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); } && {
24508 test -z "$ac_cxx_werror_flag" ||
24509 test ! -s conftest.err
24510 } && test -s conftest.$ac_objext; then
24511 wx_cv_have_variadic_macros=yes
24513 echo "$as_me: failed program was:" >&5
24514 sed 's
/^
/| /' conftest.$ac_ext >&5
24516 wx_cv_have_variadic_macros=no
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24522 ac_cpp='$CPP $CPPFLAGS'
24523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24531 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24533 if test $wx_cv_have_variadic_macros = "yes"; then
24534 cat >>confdefs.h <<\_ACEOF
24535 #define HAVE_VARIADIC_MACROS 1
24542 LARGEFILE_CPPFLAGS=
24543 # Check whether --enable-largefile was given.
24544 if test "${enable_largefile+set}" = set; then
24545 enableval=$enable_largefile;
24548 if test "$enable_largefile" != no; then
24551 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24552 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24553 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24554 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 cat >conftest.$ac_ext <<_ACEOF
24560 cat confdefs.h >>conftest.$ac_ext
24561 cat >>conftest.$ac_ext <<_ACEOF
24562 /* end confdefs.h. */
24563 #define _FILE_OFFSET_BITS 64
24564 #include <sys/types.h>
24569 unsigned int field: sizeof(off_t) == 8;
24576 rm -f conftest.$ac_objext
24577 if { (ac_try="$ac_compile"
24578 case "(($ac_try" in
24579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_compile") 2>conftest.er1
24585 grep -v '^
*+' conftest.er1 >conftest.err
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_c_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest.$ac_objext; then
24593 ac_cv_sys_file_offset_bits=64
24595 echo "$as_me: failed program was:" >&5
24596 sed 's
/^
/| /' conftest.$ac_ext >&5
24598 ac_cv_sys_file_offset_bits=no
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24606 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24608 if test "$ac_cv_sys_file_offset_bits" != no; then
24610 cat >>confdefs.h <<_ACEOF
24611 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24616 if test "x$wx_largefile" != "xyes"; then
24618 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24619 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24620 if test "${ac_cv_sys_large_files+set}" = set; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 cat >conftest.$ac_ext <<_ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630 #define _LARGE_FILES 1
24631 #include <sys/types.h>
24636 unsigned int field: sizeof(off_t) == 8;
24643 rm -f conftest.$ac_objext
24644 if { (ac_try="$ac_compile"
24645 case "(($ac_try" in
24646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24647 *) ac_try_echo=$ac_try;;
24649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24650 (eval "$ac_compile") 2>conftest.er1
24652 grep -v '^
*+' conftest.er1 >conftest.err
24654 cat conftest.err >&5
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); } && {
24657 test -z "$ac_c_werror_flag" ||
24658 test ! -s conftest.err
24659 } && test -s conftest.$ac_objext; then
24660 ac_cv_sys_large_files=1
24662 echo "$as_me: failed program was:" >&5
24663 sed 's
/^
/| /' conftest.$ac_ext >&5
24665 ac_cv_sys_large_files=no
24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24672 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24673 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24675 if test "$ac_cv_sys_large_files" != no; then
24677 cat >>confdefs.h <<_ACEOF
24678 #define _LARGE_FILES $ac_cv_sys_large_files
24685 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24686 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24687 if test "x$wx_largefile" = "xyes"; then
24688 cat >>confdefs.h <<\_ACEOF
24689 #define HAVE_LARGEFILE_SUPPORT 1
24693 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24694 echo "${ECHO_T}$wx_largefile" >&6; }
24697 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24698 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24699 elif test "$ac_cv_sys_large_files" = 1; then
24700 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24703 if test -n "$LARGEFILE_CPPFLAGS"; then
24704 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24706 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24707 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24708 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24709 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24710 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24716 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24719 cat >conftest.$ac_ext <<_ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24730 #ifndef __STDC_EXT__
24738 rm -f conftest.$ac_objext
24739 if { (ac_try="$ac_compile"
24740 case "(($ac_try" in
24741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_compile") 2>conftest.er1
24747 grep -v '^
*+' conftest.er1 >conftest.err
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } && {
24752 test -z "$ac_cxx_werror_flag" ||
24753 test ! -s conftest.err
24754 } && test -s conftest.$ac_objext; then
24755 wx_cv_STDC_EXT_required=no
24757 echo "$as_me: failed program was:" >&5
24758 sed 's
/^
/| /' conftest.$ac_ext >&5
24760 wx_cv_STDC_EXT_required=yes
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24774 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24775 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24776 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24777 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24785 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 old_CPPFLAGS="$CPPFLAGS"
24789 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24790 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24791 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24792 if test "${ac_cv_sys_largefile_source+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 cat >conftest.$ac_ext <<_ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24802 #include <sys/types.h> /* for off_t */
24807 int (*fp) (FILE *, off_t, int) = fseeko;
24808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24822 grep -v '^
*+' conftest.er1 >conftest.err
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_cxx_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_sys_largefile_source=no; break
24833 echo "$as_me: failed program was:" >&5
24834 sed 's
/^
/| /' conftest.$ac_ext >&5
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #define _LARGEFILE_SOURCE 1
24848 #include <sys/types.h> /* for off_t */
24853 int (*fp) (FILE *, off_t, int) = fseeko;
24854 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24868 grep -v '^
*+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 ac_cv_sys_largefile_source=1; break
24879 echo "$as_me: failed program was:" >&5
24880 sed 's
/^
/| /' conftest.$ac_ext >&5
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24887 ac_cv_sys_largefile_source=unknown
24891 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24892 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24893 case $ac_cv_sys_largefile_source in #(
24896 cat >>confdefs.h <<_ACEOF
24897 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24903 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24904 # in glibc 2.1.3, but that breaks too many other things.
24905 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24906 if test $ac_cv_sys_largefile_source != unknown; then
24908 cat >>confdefs.h <<\_ACEOF
24909 #define HAVE_FSEEKO 1
24914 CPPFLAGS="$old_CPPFLAGS"
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24918 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921 if test "$ac_cv_sys_largefile_source" != no; then
24922 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24925 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24926 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24927 if test "${ac_cv_c_bigendian+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 ac_cv_c_bigendian=unknown
24931 # See if sys/param.h defines the BYTE_ORDER macro.
24932 cat >conftest.$ac_ext <<_ACEOF
24935 cat confdefs.h >>conftest.$ac_ext
24936 cat >>conftest.$ac_ext <<_ACEOF
24937 /* end confdefs.h. */
24938 #include <sys/types.h>
24939 #include <sys/param.h>
24944 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24945 bogus endian macros
24951 rm -f conftest.$ac_objext
24952 if { (ac_try="$ac_compile"
24953 case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24958 (eval "$ac_compile") 2>conftest.er1
24960 grep -v '^
*+' conftest.er1 >conftest.err
24962 cat conftest.err >&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); } && {
24965 test -z "$ac_c_werror_flag" ||
24966 test ! -s conftest.err
24967 } && test -s conftest.$ac_objext; then
24968 # It does; now see whether it defined to BIG_ENDIAN or not.
24969 cat >conftest.$ac_ext <<_ACEOF
24972 cat confdefs.h >>conftest.$ac_ext
24973 cat >>conftest.$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24975 #include <sys/types.h>
24976 #include <sys/param.h>
24981 #if BYTE_ORDER != BIG_ENDIAN
24988 rm -f conftest.$ac_objext
24989 if { (ac_try="$ac_compile"
24990 case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_compile") 2>conftest.er1
24997 grep -v '^
*+' conftest.er1 >conftest.err
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } && {
25002 test -z "$ac_c_werror_flag" ||
25003 test ! -s conftest.err
25004 } && test -s conftest.$ac_objext; then
25005 ac_cv_c_bigendian=yes
25007 echo "$as_me: failed program was:" >&5
25008 sed 's
/^
/| /' conftest.$ac_ext >&5
25010 ac_cv_c_bigendian=no
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 echo "$as_me: failed program was:" >&5
25016 sed 's
/^
/| /' conftest.$ac_ext >&5
25021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022 if test $ac_cv_c_bigendian = unknown; then
25023 if test "$cross_compiling" = yes; then
25024 ac_cv_c_bigendian=unknown
25026 cat >conftest.$ac_ext <<_ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25033 /* Are we little or big endian? From Harbison&Steele. */
25037 char c[sizeof (long)];
25040 exit (u.c[sizeof (long) - 1] == 1);
25043 rm -f conftest$ac_exeext
25044 if { (ac_try="$ac_link"
25045 case "(($ac_try" in
25046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25047 *) ac_try_echo=$ac_try;;
25049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25050 (eval "$ac_link") 2>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25054 { (case "(($ac_try" in
25055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25056 *) ac_try_echo=$ac_try;;
25058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25059 (eval "$ac_try") 2>&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; }; then
25063 ac_cv_c_bigendian=no
25065 echo "$as_me: program exited with status $ac_status" >&5
25066 echo "$as_me: failed program was:" >&5
25067 sed 's
/^
/| /' conftest.$ac_ext >&5
25069 ( exit $ac_status )
25070 ac_cv_c_bigendian=yes
25072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25078 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25079 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25080 if test $ac_cv_c_bigendian = unknown; then
25081 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25082 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25084 if test $ac_cv_c_bigendian = yes; then
25085 cat >>confdefs.h <<\_ACEOF
25086 #define WORDS_BIGENDIAN 1
25095 ac_cpp='$CXXCPP $CPPFLAGS'
25096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25097 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25102 for ac_header in iostream
25104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 cat >conftest.$ac_ext <<_ACEOF
25113 cat confdefs.h >>conftest.$ac_ext
25114 cat >>conftest.$ac_ext <<_ACEOF
25115 /* end confdefs.h. */
25118 #include <$ac_header>
25120 rm -f conftest.$ac_objext
25121 if { (ac_try="$ac_compile"
25122 case "(($ac_try" in
25123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25124 *) ac_try_echo=$ac_try;;
25126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25127 (eval "$ac_compile") 2>conftest.er1
25129 grep -v '^
*+' conftest.er1 >conftest.err
25131 cat conftest.err >&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } && {
25134 test -z "$ac_cxx_werror_flag" ||
25135 test ! -s conftest.err
25136 } && test -s conftest.$ac_objext; then
25137 eval "$as_ac_Header=yes"
25139 echo "$as_me: failed program was:" >&5
25140 sed 's
/^
/| /' conftest.$ac_ext >&5
25142 eval "$as_ac_Header=no"
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 ac_res=`eval echo '${'$as_ac_Header'}'`
25148 { echo "$as_me:$LINENO: result: $ac_res" >&5
25149 echo "${ECHO_T}$ac_res" >&6; }
25150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25151 cat >>confdefs.h <<_ACEOF
25152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25160 if test "$ac_cv_header_iostream" = "yes" ; then
25163 cat >>confdefs.h <<\_ACEOF
25164 #define wxUSE_IOSTREAMH 1
25170 ac_cpp='$CPP $CPPFLAGS'
25171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25172 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25178 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25179 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25180 if test "${wx_cv_explicit+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25188 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25192 cat >conftest.$ac_ext <<_ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25199 class Foo { public: explicit Foo(int) {} };
25211 rm -f conftest.$ac_objext
25212 if { (ac_try="$ac_compile"
25213 case "(($ac_try" in
25214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25215 *) ac_try_echo=$ac_try;;
25217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25218 (eval "$ac_compile") 2>conftest.er1
25220 grep -v '^
*+' conftest.er1 >conftest.err
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } && {
25225 test -z "$ac_cxx_werror_flag" ||
25226 test ! -s conftest.err
25227 } && test -s conftest.$ac_objext; then
25229 cat >conftest.$ac_ext <<_ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25236 class Foo { public: explicit Foo(int) {} };
25237 static void TakeFoo(const Foo& foo) { }
25250 rm -f conftest.$ac_objext
25251 if { (ac_try="$ac_compile"
25252 case "(($ac_try" in
25253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25254 *) ac_try_echo=$ac_try;;
25256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25257 (eval "$ac_compile") 2>conftest.er1
25259 grep -v '^
*+' conftest.er1 >conftest.err
25261 cat conftest.err >&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } && {
25264 test -z "$ac_cxx_werror_flag" ||
25265 test ! -s conftest.err
25266 } && test -s conftest.$ac_objext; then
25269 echo "$as_me: failed program was:" >&5
25270 sed 's
/^
/| /' conftest.$ac_ext >&5
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 echo "$as_me: failed program was:" >&5
25280 sed 's
/^
/| /' conftest.$ac_ext >&5
25286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289 ac_cpp='$CPP $CPPFLAGS'
25290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25291 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25297 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25299 if test "$wx_cv_explicit" = "yes"; then
25300 cat >>confdefs.h <<\_ACEOF
25301 #define HAVE_EXPLICIT 1
25307 if test "x$SUNCXX" = xyes; then
25308 CXXFLAGS="-features=tmplife $CXXFLAGS"
25311 if test "x$SUNCC" = xyes; then
25312 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25315 if test "x$SGICC" = "xyes"; then
25316 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25317 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25318 if test "${wx_cv_prog_sgicc744+set}" = set; then
25319 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 cat >conftest.$ac_ext <<_ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25333 #if _SGI_COMPILER_VERSION >= 744
25334 chock me: mipsPro is 7.4.4 or later
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25350 grep -v '^
*+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_c_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_prog_sgicc744=no
25360 echo "$as_me: failed program was:" >&5
25361 sed 's
/^
/| /' conftest.$ac_ext >&5
25363 wx_cv_prog_sgicc744=yes
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25371 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25372 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25374 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25375 CFLAGS="-woff 3970 $CFLAGS"
25378 if test "x$SGICXX" = "xyes"; then
25379 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25380 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25381 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25382 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25388 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat >conftest.$ac_ext <<_ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25402 #if _SGI_COMPILER_VERSION >= 744
25403 chock me: mipsPro is 7.4.4 or later
25410 rm -f conftest.$ac_objext
25411 if { (ac_try="$ac_compile"
25412 case "(($ac_try" in
25413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25414 *) ac_try_echo=$ac_try;;
25416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25417 (eval "$ac_compile") 2>conftest.er1
25419 grep -v '^
*+' conftest.er1 >conftest.err
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } && {
25424 test -z "$ac_cxx_werror_flag" ||
25425 test ! -s conftest.err
25426 } && test -s conftest.$ac_objext; then
25427 wx_cv_prog_sgicxx744=no
25429 echo "$as_me: failed program was:" >&5
25430 sed 's
/^
/| /' conftest.$ac_ext >&5
25432 wx_cv_prog_sgicxx744=yes
25436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25438 ac_cpp='$CPP $CPPFLAGS'
25439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25446 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25447 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25449 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25450 CXXFLAGS="-woff 3970 $CXXFLAGS"
25454 if test "x$HPCC" = "xyes"; then
25455 CFLAGS="+W 2011,2450 $CFLAGS"
25457 if test "x$HPCXX" = "xyes"; then
25458 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25461 if test "x$COMPAQCXX" = "xyes"; then
25462 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25466 ac_cpp='$CXXCPP $CPPFLAGS'
25467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25468 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25472 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25473 if test "$wxUSE_UNICODE" = "yes"; then
25474 std_string="std::wstring"
25475 char_type="wchar_t"
25477 std_string="std::string"
25481 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25482 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25483 if test "${wx_cv_class_stdstring+set}" = set; then
25484 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 cat >conftest.$ac_ext <<_ACEOF
25490 cat confdefs.h >>conftest.$ac_ext
25491 cat >>conftest.$ac_ext <<_ACEOF
25492 /* end confdefs.h. */
25502 rm -f conftest.$ac_objext
25503 if { (ac_try="$ac_compile"
25504 case "(($ac_try" in
25505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25506 *) ac_try_echo=$ac_try;;
25508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25509 (eval "$ac_compile") 2>conftest.er1
25511 grep -v '^
*+' conftest.er1 >conftest.err
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } && {
25516 test -z "$ac_cxx_werror_flag" ||
25517 test ! -s conftest.err
25518 } && test -s conftest.$ac_objext; then
25519 wx_cv_class_stdstring=yes
25521 echo "$as_me: failed program was:" >&5
25522 sed 's
/^
/| /' conftest.$ac_ext >&5
25524 wx_cv_class_stdstring=no
25528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25532 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25533 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25535 if test "$wx_cv_class_stdstring" = yes; then
25536 if test "$wxUSE_UNICODE" = "yes"; then
25537 cat >>confdefs.h <<\_ACEOF
25538 #define HAVE_STD_WSTRING 1
25543 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25544 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25545 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 cat >conftest.$ac_ext <<_ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25556 #ifdef HAVE_WCHAR_H
25558 # include <stddef.h>
25560 # include <wchar.h>
25562 #ifdef HAVE_STDLIB_H
25563 # include <stdlib.h>
25571 std::basic_string<$char_type> foo;
25572 const $char_type* dummy = foo.c_str();
25577 rm -f conftest.$ac_objext
25578 if { (ac_try="$ac_compile"
25579 case "(($ac_try" in
25580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25581 *) ac_try_echo=$ac_try;;
25583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25584 (eval "$ac_compile") 2>conftest.er1
25586 grep -v '^
*+' conftest.er1 >conftest.err
25588 cat conftest.err >&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } && {
25591 test -z "$ac_cxx_werror_flag" ||
25592 test ! -s conftest.err
25593 } && test -s conftest.$ac_objext; then
25594 wx_cv_class_stdbasicstring=yes
25596 echo "$as_me: failed program was:" >&5
25597 sed 's
/^
/| /' conftest.$ac_ext >&5
25599 wx_cv_class_stdbasicstring=no
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25608 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25610 if test "$wx_cv_class_stdbasicstring" != yes; then
25611 if test "$wxUSE_STL" = "yes"; then
25612 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25613 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25614 { (exit 1); exit 1; }; }
25615 elif test "$wxUSE_STD_STRING" = "yes"; then
25616 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25617 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25618 { (exit 1); exit 1; }; }
25620 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25621 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25622 wxUSE_STD_STRING=no
25628 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25629 { echo "$as_me:$LINENO: checking for std::istream" >&5
25630 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25631 if test "${ac_cv_type_std__istream+set}" = set; then
25632 echo $ECHO_N "(cached) $ECHO_C" >&6
25634 cat >conftest.$ac_ext <<_ACEOF
25637 cat confdefs.h >>conftest.$ac_ext
25638 cat >>conftest.$ac_ext <<_ACEOF
25639 /* end confdefs.h. */
25640 #include <iostream>
25642 typedef std::istream ac__type_new_;
25646 if ((ac__type_new_ *) 0)
25648 if (sizeof (ac__type_new_))
25654 rm -f conftest.$ac_objext
25655 if { (ac_try="$ac_compile"
25656 case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_compile") 2>conftest.er1
25663 grep -v '^
*+' conftest.er1 >conftest.err
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } && {
25668 test -z "$ac_cxx_werror_flag" ||
25669 test ! -s conftest.err
25670 } && test -s conftest.$ac_objext; then
25671 ac_cv_type_std__istream=yes
25673 echo "$as_me: failed program was:" >&5
25674 sed 's
/^
/| /' conftest.$ac_ext >&5
25676 ac_cv_type_std__istream=no
25679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25681 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25682 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25683 if test $ac_cv_type_std__istream = yes; then
25685 cat >>confdefs.h <<_ACEOF
25686 #define HAVE_STD__ISTREAM 1
25691 wxUSE_STD_IOSTREAM=no
25693 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25694 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25695 if test "${ac_cv_type_std__ostream+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25698 cat >conftest.$ac_ext <<_ACEOF
25701 cat confdefs.h >>conftest.$ac_ext
25702 cat >>conftest.$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25704 #include <iostream>
25706 typedef std::ostream ac__type_new_;
25710 if ((ac__type_new_ *) 0)
25712 if (sizeof (ac__type_new_))
25718 rm -f conftest.$ac_objext
25719 if { (ac_try="$ac_compile"
25720 case "(($ac_try" in
25721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25722 *) ac_try_echo=$ac_try;;
25724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25725 (eval "$ac_compile") 2>conftest.er1
25727 grep -v '^
*+' conftest.er1 >conftest.err
25729 cat conftest.err >&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } && {
25732 test -z "$ac_cxx_werror_flag" ||
25733 test ! -s conftest.err
25734 } && test -s conftest.$ac_objext; then
25735 ac_cv_type_std__ostream=yes
25737 echo "$as_me: failed program was:" >&5
25738 sed 's
/^
/| /' conftest.$ac_ext >&5
25740 ac_cv_type_std__ostream=no
25743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25745 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25746 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25747 if test $ac_cv_type_std__ostream = yes; then
25749 cat >>confdefs.h <<_ACEOF
25750 #define HAVE_STD__OSTREAM 1
25755 wxUSE_STD_IOSTREAM=no
25759 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25760 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25761 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25762 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25763 { (exit 1); exit 1; }; }
25765 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25766 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25771 if test "$wxUSE_STL" = "yes"; then
25772 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25773 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25774 if test "${wx_cv_lib_stl+set}" = set; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 cat >conftest.$ac_ext <<_ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25784 #include <functional>
25785 #include <algorithm>
25791 std::vector<int> moo;
25792 std::list<int> foo;
25793 std::vector<int>::iterator it =
25794 std::find_if(moo.begin(), moo.end(),
25795 std::bind2nd(std::less<int>(), 3));
25800 rm -f conftest.$ac_objext
25801 if { (ac_try="$ac_compile"
25802 case "(($ac_try" in
25803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25804 *) ac_try_echo=$ac_try;;
25806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25807 (eval "$ac_compile") 2>conftest.er1
25809 grep -v '^
*+' conftest.er1 >conftest.err
25811 cat conftest.err >&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } && {
25814 test -z "$ac_cxx_werror_flag" ||
25815 test ! -s conftest.err
25816 } && test -s conftest.$ac_objext; then
25819 echo "$as_me: failed program was:" >&5
25820 sed 's
/^
/| /' conftest.$ac_ext >&5
25826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25829 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25830 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25832 if test "$wx_cv_lib_stl" != yes; then
25833 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25834 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25835 { (exit 1); exit 1; }; }
25838 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25839 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25840 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25841 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 cat >conftest.$ac_ext <<_ACEOF
25846 cat confdefs.h >>conftest.$ac_ext
25847 cat >>conftest.$ac_ext <<_ACEOF
25848 /* end confdefs.h. */
25853 std::string foo, bar;
25855 foo.compare(1, 1, bar);
25856 foo.compare(1, 1, bar, 1, 1);
25858 foo.compare(1, 1, "");
25859 foo.compare(1, 1, "", 2);
25864 rm -f conftest.$ac_objext
25865 if { (ac_try="$ac_compile"
25866 case "(($ac_try" in
25867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25868 *) ac_try_echo=$ac_try;;
25870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25871 (eval "$ac_compile") 2>conftest.er1
25873 grep -v '^
*+' conftest.er1 >conftest.err
25875 cat conftest.err >&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); } && {
25878 test -z "$ac_cxx_werror_flag" ||
25879 test ! -s conftest.err
25880 } && test -s conftest.$ac_objext; then
25881 wx_cv_func_stdstring_compare=yes
25883 echo "$as_me: failed program was:" >&5
25884 sed 's
/^
/| /' conftest.$ac_ext >&5
25886 wx_cv_func_stdstring_compare=no
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25894 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25896 if test "$wx_cv_func_stdstring_compare" = yes; then
25897 cat >>confdefs.h <<\_ACEOF
25898 #define HAVE_STD_STRING_COMPARE 1
25903 if test "$wx_cv_class_gnuhashmapset" = yes; then
25904 cat >>confdefs.h <<\_ACEOF
25905 #define HAVE_EXT_HASH_MAP 1
25908 cat >>confdefs.h <<\_ACEOF
25909 #define HAVE_GNU_CXX_HASH_MAP 1
25914 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25915 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25916 if test "${ac_cv_header_unordered_map+set}" = set; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 cat >conftest.$ac_ext <<_ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25928 #include <unordered_map>
25930 rm -f conftest.$ac_objext
25931 if { (ac_try="$ac_compile"
25932 case "(($ac_try" in
25933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25934 *) ac_try_echo=$ac_try;;
25936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25937 (eval "$ac_compile") 2>conftest.er1
25939 grep -v '^
*+' conftest.er1 >conftest.err
25941 cat conftest.err >&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); } && {
25944 test -z "$ac_cxx_werror_flag" ||
25945 test ! -s conftest.err
25946 } && test -s conftest.$ac_objext; then
25947 ac_cv_header_unordered_map=yes
25949 echo "$as_me: failed program was:" >&5
25950 sed 's
/^
/| /' conftest.$ac_ext >&5
25952 ac_cv_header_unordered_map=no
25955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25957 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25958 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25959 if test $ac_cv_header_unordered_map = yes; then
25960 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25961 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25962 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 cat >conftest.$ac_ext <<_ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971 #include <unordered_map>
25972 #include <unordered_set>
25976 std::unordered_map<double*, char*> test1;
25977 std::unordered_set<char*> test2;
25982 rm -f conftest.$ac_objext
25983 if { (ac_try="$ac_compile"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_compile") 2>conftest.er1
25991 grep -v '^
*+' conftest.er1 >conftest.err
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } && {
25996 test -z "$ac_cxx_werror_flag" ||
25997 test ! -s conftest.err
25998 } && test -s conftest.$ac_objext; then
25999 wx_cv_class_stdunorderedmapset=yes
26001 echo "$as_me: failed program was:" >&5
26002 sed 's
/^
/| /' conftest.$ac_ext >&5
26004 wx_cv_class_stdunorderedmapset=no
26007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26011 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26012 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26017 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26018 cat >>confdefs.h <<\_ACEOF
26019 #define HAVE_STD_UNORDERED_MAP 1
26022 cat >>confdefs.h <<\_ACEOF
26023 #define HAVE_STD_UNORDERED_SET 1
26027 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26028 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26029 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 cat >conftest.$ac_ext <<_ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26041 #include <tr1/unordered_map>
26043 rm -f conftest.$ac_objext
26044 if { (ac_try="$ac_compile"
26045 case "(($ac_try" in
26046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26047 *) ac_try_echo=$ac_try;;
26049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26050 (eval "$ac_compile") 2>conftest.er1
26052 grep -v '^
*+' conftest.er1 >conftest.err
26054 cat conftest.err >&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } && {
26057 test -z "$ac_cxx_werror_flag" ||
26058 test ! -s conftest.err
26059 } && test -s conftest.$ac_objext; then
26060 ac_cv_header_tr1_unordered_map=yes
26062 echo "$as_me: failed program was:" >&5
26063 sed 's
/^
/| /' conftest.$ac_ext >&5
26065 ac_cv_header_tr1_unordered_map=no
26068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26071 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26072 if test $ac_cv_header_tr1_unordered_map = yes; then
26073 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26074 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26075 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 cat >conftest.$ac_ext <<_ACEOF
26081 cat confdefs.h >>conftest.$ac_ext
26082 cat >>conftest.$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26084 #include <tr1/unordered_map>
26085 #include <tr1/unordered_set>
26089 std::tr1::unordered_map<double*, char*> test1;
26090 std::tr1::unordered_set<char*> test2;
26091 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26092 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26098 rm -f conftest.
$ac_objext
26099 if { (ac_try
="$ac_compile"
26100 case "(($ac_try" in
26101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26102 *) ac_try_echo=$ac_try;;
26104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105 (eval "$ac_compile") 2>conftest.er1
26107 grep -v '^ *+' conftest.er1 >conftest.err
26109 cat conftest.err >&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } && {
26112 test -z "$ac_cxx_werror_flag" ||
26113 test ! -s conftest.err
26114 } && test -s conftest.$ac_objext; then
26115 wx_cv_class_tr1unorderedmapset=yes
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.$ac_ext >&5
26120 wx_cv_class_tr1unorderedmapset=no
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26128 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26133 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26134 cat >>confdefs.h <<\_ACEOF
26135 #define HAVE_TR1_UNORDERED_MAP 1
26138 cat >>confdefs.h <<\_ACEOF
26139 #define HAVE_TR1_UNORDERED_SET 1
26143 { echo "$as_me:$LINENO: checking for hash_map" >&5
26144 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26145 if test "${ac_cv_header_hash_map+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.$ac_ext <<_ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26157 #include <hash_map>
26159 rm -f conftest.$ac_objext
26160 if { (ac_try="$ac_compile"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26163 *) ac_try_echo
=$ac_try;;
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_compile") 2>conftest.er1
26168 grep -v '^ *+' conftest.er1
>conftest.err
26170 cat conftest.err
>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_cxx_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest.
$ac_objext; then
26176 ac_cv_header_hash_map
=yes
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.
$ac_ext >&5
26181 ac_cv_header_hash_map
=no
26184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26186 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26187 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26188 if test $ac_cv_header_hash_map = yes; then
26189 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26190 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26191 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 cat >conftest.
$ac_ext <<_ACEOF
26197 cat confdefs.h
>>conftest.
$ac_ext
26198 cat >>conftest.
$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200 #include <hash_map>
26201 #include <hash_set>
26205 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26206 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26211 rm -f conftest.
$ac_objext
26212 if { (ac_try
="$ac_compile"
26213 case "(($ac_try" in
26214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26215 *) ac_try_echo=$ac_try;;
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_compile") 2>conftest.er1
26220 grep -v '^ *+' conftest.er1 >conftest.err
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } && {
26225 test -z "$ac_cxx_werror_flag" ||
26226 test ! -s conftest.err
26227 } && test -s conftest.$ac_objext; then
26228 wx_cv_class_stdhashmapset=yes
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26233 wx_cv_class_stdhashmapset=no
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26240 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26241 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26246 if test "$wx_cv_class_stdhashmapset" = yes; then
26247 cat >>confdefs.h <<\_ACEOF
26248 #define HAVE_HASH_MAP 1
26251 cat >>confdefs.h <<\_ACEOF
26252 #define HAVE_STD_HASH_MAP 1
26257 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26258 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26259 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26260 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 cat >conftest.$ac_ext <<_ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26271 #include <ext/hash_map>
26273 rm -f conftest.$ac_objext
26274 if { (ac_try="$ac_compile"
26275 case "(($ac_try" in
26276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26277 *) ac_try_echo
=$ac_try;;
26279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26280 (eval "$ac_compile") 2>conftest.er1
26282 grep -v '^ *+' conftest.er1
>conftest.err
26284 cat conftest.err
>&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && {
26287 test -z "$ac_cxx_werror_flag" ||
26288 test ! -s conftest.err
26289 } && test -s conftest.
$ac_objext; then
26290 ac_cv_header_ext_hash_map
=yes
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.
$ac_ext >&5
26295 ac_cv_header_ext_hash_map
=no
26298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26300 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26301 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26302 if test $ac_cv_header_ext_hash_map = yes; then
26303 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26304 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26305 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26308 cat >conftest.
$ac_ext <<_ACEOF
26311 cat confdefs.h
>>conftest.
$ac_ext
26312 cat >>conftest.
$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <ext/hash_map>
26315 #include <ext/hash_set>
26319 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26320 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26325 rm -f conftest.
$ac_objext
26326 if { (ac_try
="$ac_compile"
26327 case "(($ac_try" in
26328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26329 *) ac_try_echo=$ac_try;;
26331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26332 (eval "$ac_compile") 2>conftest.er1
26334 grep -v '^ *+' conftest.er1 >conftest.err
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } && {
26339 test -z "$ac_cxx_werror_flag" ||
26340 test ! -s conftest.err
26341 } && test -s conftest.$ac_objext; then
26342 wx_cv_class_gnuhashmapset=yes
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26347 wx_cv_class_gnuhashmapset=no
26350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26355 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26370 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26371 if test -z "$CXXCPP"; then
26372 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 # Double quotes because CXXCPP needs to be expanded
26376 for CXXCPP in "$CXX -E" "/lib/cpp"
26378 ac_preproc_ok=false
26379 for ac_cxx_preproc_warn_flag in '' yes
26381 # Use a header file that comes with gcc, so configuring glibc
26382 # with a fresh cross-compiler works.
26383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26384 # <limits.h> exists even on freestanding compilers.
26385 # On the NeXT, cc -E runs the code through the compiler's parser,
26386 # not just through cpp. "Syntax error" is here to catch this case.
26387 cat >conftest.$ac_ext <<_ACEOF
26390 cat confdefs.h >>conftest.$ac_ext
26391 cat >>conftest.$ac_ext <<_ACEOF
26392 /* end confdefs.h. */
26394 # include <limits.h>
26396 # include <assert.h>
26400 if { (ac_try="$ac_cpp conftest.$ac_ext"
26401 case "(($ac_try" in
26402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26403 *) ac_try_echo
=$ac_try;;
26405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26408 grep -v '^ *+' conftest.er1
>conftest.err
26410 cat conftest.err
>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } >/dev
/null
&& {
26413 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26414 test ! -s conftest.err
26418 echo "$as_me: failed program was:" >&5
26419 sed 's/^/| /' conftest.
$ac_ext >&5
26421 # Broken: fails on valid input.
26425 rm -f conftest.err conftest.
$ac_ext
26427 # OK, works on sane cases. Now check whether nonexistent headers
26428 # can be detected and how.
26429 cat >conftest.
$ac_ext <<_ACEOF
26432 cat confdefs.h
>>conftest.
$ac_ext
26433 cat >>conftest.
$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435 #include <ac_nonexistent.h>
26437 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26438 case "(($ac_try" in
26439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26440 *) ac_try_echo=$ac_try;;
26442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26445 grep -v '^ *+' conftest.er1 >conftest.err
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); } >/dev/null && {
26450 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26451 test ! -s conftest.err
26453 # Broken: success on invalid input.
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.$ac_ext >&5
26459 # Passes both tests.
26464 rm -f conftest.err conftest.$ac_ext
26467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26468 rm -f conftest.err conftest.
$ac_ext
26469 if $ac_preproc_ok; then
26474 ac_cv_prog_CXXCPP
=$CXXCPP
26477 CXXCPP
=$ac_cv_prog_CXXCPP
26479 ac_cv_prog_CXXCPP
=$CXXCPP
26481 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26482 echo "${ECHO_T}$CXXCPP" >&6; }
26483 ac_preproc_ok
=false
26484 for ac_cxx_preproc_warn_flag
in '' yes
26486 # Use a header file that comes with gcc, so configuring glibc
26487 # with a fresh cross-compiler works.
26488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26489 # <limits.h> exists even on freestanding compilers.
26490 # On the NeXT, cc -E runs the code through the compiler's parser,
26491 # not just through cpp. "Syntax error" is here to catch this case.
26492 cat >conftest.
$ac_ext <<_ACEOF
26495 cat confdefs.h
>>conftest.
$ac_ext
26496 cat >>conftest.
$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26499 # include <limits.h>
26501 # include <assert.h>
26505 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26506 case "(($ac_try" in
26507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26513 grep -v '^ *+' conftest.er1 >conftest.err
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } >/dev/null && {
26518 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26519 test ! -s conftest.err
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.$ac_ext >&5
26526 # Broken: fails on valid input.
26530 rm -f conftest.err conftest.$ac_ext
26532 # OK, works on sane cases. Now check whether nonexistent headers
26533 # can be detected and how.
26534 cat >conftest.$ac_ext <<_ACEOF
26537 cat confdefs.h >>conftest.$ac_ext
26538 cat >>conftest.$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540 #include <ac_nonexistent.h>
26542 if { (ac_try="$ac_cpp conftest.$ac_ext"
26543 case "(($ac_try" in
26544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26545 *) ac_try_echo
=$ac_try;;
26547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26550 grep -v '^ *+' conftest.er1
>conftest.err
26552 cat conftest.err
>&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); } >/dev
/null
&& {
26555 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26556 test ! -s conftest.err
26558 # Broken: success on invalid input.
26561 echo "$as_me: failed program was:" >&5
26562 sed 's/^/| /' conftest.
$ac_ext >&5
26564 # Passes both tests.
26569 rm -f conftest.err conftest.
$ac_ext
26572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26573 rm -f conftest.err conftest.
$ac_ext
26574 if $ac_preproc_ok; then
26577 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26578 See \`config.log' for more details." >&5
26579 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26580 See \`config.log' for more details." >&2;}
26581 { (exit 1); exit 1; }; }
26585 ac_cpp
='$CXXCPP $CPPFLAGS'
26586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26593 for ac_header
in type_traits tr
1/type_traits
26595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26596 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26599 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 ac_res
=`eval echo '${'$as_ac_Header'}'`
26603 { echo "$as_me:$LINENO: result: $ac_res" >&5
26604 echo "${ECHO_T}$ac_res" >&6; }
26606 # Is the header compilable?
26607 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26609 cat >conftest.
$ac_ext <<_ACEOF
26612 cat confdefs.h
>>conftest.
$ac_ext
26613 cat >>conftest.
$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615 $ac_includes_default
26616 #include <$ac_header>
26618 rm -f conftest.
$ac_objext
26619 if { (ac_try
="$ac_compile"
26620 case "(($ac_try" in
26621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26622 *) ac_try_echo=$ac_try;;
26624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26625 (eval "$ac_compile") 2>conftest.er1
26627 grep -v '^ *+' conftest.er1 >conftest.err
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } && {
26632 test -z "$ac_cxx_werror_flag" ||
26633 test ! -s conftest.err
26634 } && test -s conftest.$ac_objext; then
26635 ac_header_compiler=yes
26637 echo "$as_me: failed program was:" >&5
26638 sed 's/^/| /' conftest.$ac_ext >&5
26640 ac_header_compiler=no
26643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26645 echo "${ECHO_T}$ac_header_compiler" >&6; }
26647 # Is the header present?
26648 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26650 cat >conftest.$ac_ext <<_ACEOF
26653 cat confdefs.h >>conftest.$ac_ext
26654 cat >>conftest.$ac_ext <<_ACEOF
26655 /* end confdefs.h. */
26656 #include <$ac_header>
26658 if { (ac_try="$ac_cpp conftest.$ac_ext"
26659 case "(($ac_try" in
26660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26661 *) ac_try_echo
=$ac_try;;
26663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26666 grep -v '^ *+' conftest.er1
>conftest.err
26668 cat conftest.err
>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } >/dev
/null
&& {
26671 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26672 test ! -s conftest.err
26674 ac_header_preproc
=yes
26676 echo "$as_me: failed program was:" >&5
26677 sed 's/^/| /' conftest.
$ac_ext >&5
26679 ac_header_preproc
=no
26682 rm -f conftest.err conftest.
$ac_ext
26683 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26684 echo "${ECHO_T}$ac_header_preproc" >&6; }
26686 # So? What about this header?
26687 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26693 ac_header_preproc
=yes
26696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26709 ## ----------------------------------------- ##
26710 ## Report this to wx-dev@lists.wxwidgets.org ##
26711 ## ----------------------------------------- ##
26713 ) | sed "s/^/$as_me: WARNING: /" >&2
26716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26718 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26721 eval "$as_ac_Header=\$ac_header_preproc"
26723 ac_res
=`eval echo '${'$as_ac_Header'}'`
26724 { echo "$as_me:$LINENO: result: $ac_res" >&5
26725 echo "${ECHO_T}$ac_res" >&6; }
26728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26729 cat >>confdefs.h
<<_ACEOF
26730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26740 if test -n "$GCC"; then
26741 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26742 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26743 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 cat >conftest.
$ac_ext <<_ACEOF
26750 cat confdefs.h
>>conftest.
$ac_ext
26751 cat >>conftest.
$ac_ext <<_ACEOF
26752 /* end confdefs.h. */
26758 unsigned int value=0;
26759 /* wxAtomicInc doesn't use return value here */
26760 __sync_fetch_and_add(&value, 2);
26761 __sync_sub_and_fetch(&value, 1);
26762 /* but wxAtomicDec does, so mimic that: */
26763 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26769 rm -f conftest.
$ac_objext conftest
$ac_exeext
26770 if { (ac_try
="$ac_link"
26771 case "(($ac_try" in
26772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_link") 2>conftest.er1
26778 grep -v '^ *+' conftest.er1 >conftest.err
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_cxx_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest$ac_exeext &&
26786 $as_test_x conftest$ac_exeext; then
26787 wx_cv_cc_gcc_atomic_builtins=yes
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26792 wx_cv_cc_gcc_atomic_builtins=no
26795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26796 conftest$ac_exeext conftest.$ac_ext
26800 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26801 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26802 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26803 cat >>confdefs.h <<\_ACEOF
26804 #define HAVE_GCC_ATOMIC_BUILTINS 1
26812 ac_cpp='$CPP $CPPFLAGS'
26813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26820 /usr/local/include \
26821 /usr/local/X11/include \
26822 /usr/local/include/X11 \
26823 /usr/local/X11R7/include \
26824 /usr/local/X11R6/include \
26825 /usr/local/include/X11R7 \
26826 /usr/local/include/X11R6 \
26828 /usr/Motif-2.1/include \
26829 /usr/Motif-1.2/include \
26830 /usr/include/Motif1.2 \
26833 /usr/openwin/include \
26837 /usr/X11R7/include \
26838 /usr/X11R6/include \
26839 /usr/X11R6.4/include \
26841 /usr/include/X11R7 \
26842 /usr/include/X11R6 \
26847 /usr/XFree86/include/X11 \
26850 /usr/local/X1R5/include \
26851 /usr/local/include/X11R5 \
26852 /usr/X11R5/include \
26853 /usr/include/X11R5 \
26855 /usr/local/X11R4/include \
26856 /usr/local/include/X11R4 \
26857 /usr/X11R4/include \
26858 /usr/include/X11R4 \
26860 /usr/openwin/share/include"
26862 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26863 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26867 if test "${wx_cv_std_libpath+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26872 for e in a so sl dylib dll.a; do
26874 if test -f $libc; then
26877 cat >conftest.$ac_ext <<_ACEOF
26878 int main() { return 0; }
26880 rm -f conftest.$ac_objext conftest$ac_exeext
26881 if { (ac_try="$ac_link"
26882 case "(($ac_try" in
26883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26884 *) ac_try_echo
=$ac_try;;
26886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26887 (eval "$ac_link") 2>conftest.er1
26889 grep -v '^ *+' conftest.er1
>conftest.err
26891 cat conftest.err
>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } && {
26894 test -z "$ac_c_werror_flag" ||
26895 test ! -s conftest.err
26896 } && test -s conftest
$ac_exeext &&
26897 $as_test_x conftest
$ac_exeext; then
26898 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.
$ac_ext >&5
26906 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26907 conftest
$ac_exeext conftest.
$ac_ext
26909 if test "x$wx_cv_std_libpath" != "x"; then
26915 if test "x$wx_cv_std_libpath" = "x"; then
26916 wx_cv_std_libpath
="lib"
26925 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26926 wx_cv_std_libpath
="lib/64"
26928 wx_cv_std_libpath
="lib"
26933 if test "$ac_cv_sizeof_void_p" = 8 -a \
26934 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26935 wx_cv_std_libpath
="lib64"
26937 wx_cv_std_libpath
="lib"
26942 wx_cv_std_libpath
="lib";
26946 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26947 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26949 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26951 if test "$build" != "$host" -a "$GCC" = yes; then
26952 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26953 cross_root
=`dirname $cross_root`
26954 cross_root
=`dirname $cross_root`
26956 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26957 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26958 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26960 if test -z "$PKG_CONFIG_PATH"; then
26961 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26962 export PKG_CONFIG_PATH
26965 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26968 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26970 if test -f "$ac_dir/X11/Intrinsic.h"; then
26971 ac_find_includes
=$ac_dir
26976 x_includes
=$ac_find_includes
26978 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26981 for ac_dir
in $SEARCH_LIB
26983 for ac_extension
in a so sl dylib dll.a
; do
26984 if test -f "$ac_dir/libXt.$ac_extension"; then
26985 ac_find_libraries
=$ac_dir
26991 x_libraries
=$ac_find_libraries
26997 cat >confcache
<<\_ACEOF
26998 # This file is a shell script that caches the results of configure
26999 # tests run on this system so they can be shared between configure
27000 # scripts and configure runs, see configure's option --config-cache.
27001 # It is not useful on other systems. If it contains results you don't
27002 # want to keep, you may remove or edit it.
27004 # config.status only pays attention to the cache file if you give it
27005 # the --recheck option to rerun configure.
27007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27009 # following values.
27013 # The following way of writing the cache mishandles newlines in values,
27014 # but we know of no workaround that is simple, portable, and efficient.
27015 # So, we kill variables containing newlines.
27016 # Ultrix sh set writes to stderr and can't be redirected directly,
27017 # and sets the high bit in the cache file unless we assign to the vars.
27019 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27020 eval ac_val
=\$
$ac_var
27024 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27025 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27028 _
| IFS
| as_nl
) ;; #(
27029 *) $as_unset $ac_var ;;
27035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27036 *${as_nl}ac_space
=\
*)
27037 # `set' does not quote correctly, so add quotes (double-quote
27038 # substitution turns \\\\ into \\, and sed turns \\ into \).
27041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27044 # `set' quotes correctly as required by POSIX, so do not add quotes.
27045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27058 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27059 if test -w "$cache_file"; then
27060 test "x$cache_file" != "x/dev/null" &&
27061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27062 echo "$as_me: updating cache $cache_file" >&6;}
27063 cat confcache
>$cache_file
27065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27066 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27071 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27072 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27073 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27074 if test "${wx_cv_lib_glibc21+set}" = set; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 cat >conftest.
$ac_ext <<_ACEOF
27081 cat confdefs.h
>>conftest.
$ac_ext
27082 cat >>conftest.
$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <features.h>
27089 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27097 rm -f conftest.
$ac_objext
27098 if { (ac_try
="$ac_compile"
27099 case "(($ac_try" in
27100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_compile") 2>conftest.er1
27106 grep -v '^ *+' conftest.er1 >conftest.err
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } && {
27111 test -z "$ac_c_werror_flag" ||
27112 test ! -s conftest.err
27113 } && test -s conftest.$ac_objext; then
27115 wx_cv_lib_glibc21=yes
27118 echo "$as_me: failed program was:" >&5
27119 sed 's/^/| /' conftest.$ac_ext >&5
27122 wx_cv_lib_glibc21=no
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27131 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27132 if test "$wx_cv_lib_glibc21" = "yes"; then
27133 cat >>confdefs.h <<\_ACEOF
27134 #define wxHAVE_GLIBC2 1
27140 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27141 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27142 cat >>confdefs.h <<\_ACEOF
27143 #define _GNU_SOURCE 1
27154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27155 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27157 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27160 cat >conftest.$ac_ext <<_ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27168 #define $ac_func innocuous_$ac_func
27170 /* System header to define __stub macros and hopefully few prototypes,
27171 which can conflict with char $ac_func (); below.
27172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27173 <limits.h> exists even on freestanding compilers. */
27176 # include <limits.h>
27178 # include <assert.h>
27183 /* Override any GCC internal prototype to avoid an error.
27184 Use char because int might match the return type of a GCC
27185 builtin and then its argument prototype would still apply. */
27190 /* The GNU C library defines this for functions which it implements
27191 to always fail with ENOSYS. Some functions are actually named
27192 something starting with __ and the normal name is an alias. */
27193 #if defined __stub_$ac_func || defined __stub___$ac_func
27200 return $ac_func ();
27205 rm -f conftest.$ac_objext conftest$ac_exeext
27206 if { (ac_try="$ac_link"
27207 case "(($ac_try" in
27208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27209 *) ac_try_echo
=$ac_try;;
27211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27212 (eval "$ac_link") 2>conftest.er1
27214 grep -v '^ *+' conftest.er1
>conftest.err
27216 cat conftest.err
>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } && {
27219 test -z "$ac_c_werror_flag" ||
27220 test ! -s conftest.err
27221 } && test -s conftest
$ac_exeext &&
27222 $as_test_x conftest
$ac_exeext; then
27223 eval "$as_ac_var=yes"
27225 echo "$as_me: failed program was:" >&5
27226 sed 's/^/| /' conftest.
$ac_ext >&5
27228 eval "$as_ac_var=no"
27231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27232 conftest
$ac_exeext conftest.
$ac_ext
27234 ac_res
=`eval echo '${'$as_ac_var'}'`
27235 { echo "$as_me:$LINENO: result: $ac_res" >&5
27236 echo "${ECHO_T}$ac_res" >&6; }
27237 if test `eval echo '${'$as_ac_var'}'` = yes; then
27238 cat >>confdefs.h
<<_ACEOF
27239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27246 for ac_func
in floor
27248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27251 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27252 echo $ECHO_N "(cached) $ECHO_C" >&6
27254 cat >conftest.
$ac_ext <<_ACEOF
27257 cat confdefs.h
>>conftest.
$ac_ext
27258 cat >>conftest.
$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27262 #define $ac_func innocuous_$ac_func
27264 /* System header to define __stub macros and hopefully few prototypes,
27265 which can conflict with char $ac_func (); below.
27266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27267 <limits.h> exists even on freestanding compilers. */
27270 # include <limits.h>
27272 # include <assert.h>
27277 /* Override any GCC internal prototype to avoid an error.
27278 Use char because int might match the return type of a GCC
27279 builtin and then its argument prototype would still apply. */
27284 /* The GNU C library defines this for functions which it implements
27285 to always fail with ENOSYS. Some functions are actually named
27286 something starting with __ and the normal name is an alias. */
27287 #if defined __stub_$ac_func || defined __stub___$ac_func
27294 return $ac_func ();
27299 rm -f conftest.
$ac_objext conftest
$ac_exeext
27300 if { (ac_try
="$ac_link"
27301 case "(($ac_try" in
27302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_link") 2>conftest.er1
27308 grep -v '^ *+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_c_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest$ac_exeext &&
27316 $as_test_x conftest$ac_exeext; then
27317 eval "$as_ac_var=yes"
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27322 eval "$as_ac_var=no"
27325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27326 conftest$ac_exeext conftest.$ac_ext
27328 ac_res=`eval echo '${'$as_ac_var'}'`
27329 { echo "$as_me:$LINENO: result: $ac_res" >&5
27330 echo "${ECHO_T}$ac_res" >&6; }
27331 if test `eval echo '${'$as_ac_var'}'` = yes; then
27332 cat >>confdefs.h <<_ACEOF
27333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27339 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27340 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27341 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27342 { echo "$as_me:$LINENO: result: yes" >&5
27343 echo "${ECHO_T}yes" >&6; }
27345 { echo "$as_me:$LINENO: result: no" >&5
27346 echo "${ECHO_T}no" >&6; }
27348 # use different functions to avoid configure caching
27354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27358 echo $ECHO_N "(cached) $ECHO_C" >&6
27360 cat >conftest.$ac_ext <<_ACEOF
27363 cat confdefs.h >>conftest.$ac_ext
27364 cat >>conftest.$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27368 #define $ac_func innocuous_$ac_func
27370 /* System header to define __stub macros and hopefully few prototypes,
27371 which can conflict with char $ac_func (); below.
27372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27373 <limits.h> exists even on freestanding compilers. */
27376 # include <limits.h>
27378 # include <assert.h>
27383 /* Override any GCC internal prototype to avoid an error.
27384 Use char because int might match the return type of a GCC
27385 builtin and then its argument prototype would still apply. */
27390 /* The GNU C library defines this for functions which it implements
27391 to always fail with ENOSYS. Some functions are actually named
27392 something starting with __ and the normal name is an alias. */
27393 #if defined __stub_$ac_func || defined __stub___$ac_func
27400 return $ac_func ();
27405 rm -f conftest.$ac_objext conftest$ac_exeext
27406 if { (ac_try="$ac_link"
27407 case "(($ac_try" in
27408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27409 *) ac_try_echo
=$ac_try;;
27411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27412 (eval "$ac_link") 2>conftest.er1
27414 grep -v '^ *+' conftest.er1
>conftest.err
27416 cat conftest.err
>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); } && {
27419 test -z "$ac_c_werror_flag" ||
27420 test ! -s conftest.err
27421 } && test -s conftest
$ac_exeext &&
27422 $as_test_x conftest
$ac_exeext; then
27423 eval "$as_ac_var=yes"
27425 echo "$as_me: failed program was:" >&5
27426 sed 's/^/| /' conftest.
$ac_ext >&5
27428 eval "$as_ac_var=no"
27431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27432 conftest
$ac_exeext conftest.
$ac_ext
27434 ac_res
=`eval echo '${'$as_ac_var'}'`
27435 { echo "$as_me:$LINENO: result: $ac_res" >&5
27436 echo "${ECHO_T}$ac_res" >&6; }
27437 if test `eval echo '${'$as_ac_var'}'` = yes; then
27438 cat >>confdefs.h
<<_ACEOF
27439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27446 for ac_func
in ceil
27448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27451 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27452 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 cat >conftest.
$ac_ext <<_ACEOF
27457 cat confdefs.h
>>conftest.
$ac_ext
27458 cat >>conftest.
$ac_ext <<_ACEOF
27459 /* end confdefs.h. */
27460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27462 #define $ac_func innocuous_$ac_func
27464 /* System header to define __stub macros and hopefully few prototypes,
27465 which can conflict with char $ac_func (); below.
27466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27467 <limits.h> exists even on freestanding compilers. */
27470 # include <limits.h>
27472 # include <assert.h>
27477 /* Override any GCC internal prototype to avoid an error.
27478 Use char because int might match the return type of a GCC
27479 builtin and then its argument prototype would still apply. */
27484 /* The GNU C library defines this for functions which it implements
27485 to always fail with ENOSYS. Some functions are actually named
27486 something starting with __ and the normal name is an alias. */
27487 #if defined __stub_$ac_func || defined __stub___$ac_func
27494 return $ac_func ();
27499 rm -f conftest.
$ac_objext conftest
$ac_exeext
27500 if { (ac_try
="$ac_link"
27501 case "(($ac_try" in
27502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27503 *) ac_try_echo=$ac_try;;
27505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27506 (eval "$ac_link") 2>conftest.er1
27508 grep -v '^ *+' conftest.er1 >conftest.err
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } && {
27513 test -z "$ac_c_werror_flag" ||
27514 test ! -s conftest.err
27515 } && test -s conftest$ac_exeext &&
27516 $as_test_x conftest$ac_exeext; then
27517 eval "$as_ac_var=yes"
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27522 eval "$as_ac_var=no"
27525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27526 conftest$ac_exeext conftest.$ac_ext
27528 ac_res=`eval echo '${'$as_ac_var'}'`
27529 { echo "$as_me:$LINENO: result: $ac_res" >&5
27530 echo "${ECHO_T}$ac_res" >&6; }
27531 if test `eval echo '${'$as_ac_var'}'` = yes; then
27532 cat >>confdefs.h <<_ACEOF
27533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27539 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27540 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27541 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27542 { echo "$as_me:$LINENO: result: yes" >&5
27543 echo "${ECHO_T}yes" >&6; }
27545 { echo "$as_me:$LINENO: result: no" >&5
27546 echo "${ECHO_T}no" >&6; }
27547 # not sure we should warn the user, crash, etc.
27552 ac_cpp='$CXXCPP $CPPFLAGS'
27553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27557 if test "wxUSE_UNICODE" = "yes"; then
27559 for wx_func in wcstoull
27561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27563 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27564 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 cat >conftest.$ac_ext <<_ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27576 $ac_includes_default
27592 rm -f conftest.$ac_objext conftest$ac_exeext
27593 if { (ac_try="$ac_link"
27594 case "(($ac_try" in
27595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27596 *) ac_try_echo
=$ac_try;;
27598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27599 (eval "$ac_link") 2>conftest.er1
27601 grep -v '^ *+' conftest.er1
>conftest.err
27603 cat conftest.err
>&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); } && {
27606 test -z "$ac_cxx_werror_flag" ||
27607 test ! -s conftest.err
27608 } && test -s conftest
$ac_exeext &&
27609 $as_test_x conftest
$ac_exeext; then
27610 eval wx_cv_func_
$wx_func=yes
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.
$ac_ext >&5
27615 eval wx_cv_func_
$wx_func=no
27618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27619 conftest
$ac_exeext conftest.
$ac_ext
27622 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27623 { echo "$as_me:$LINENO: result: $ac_res" >&5
27624 echo "${ECHO_T}$ac_res" >&6; }
27626 if eval test \
$wx_cv_func_$wx_func = yes
27628 cat >>confdefs.h
<<_ACEOF
27629 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27641 for wx_func
in strtoull
27643 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27644 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27645 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 cat >conftest.
$ac_ext <<_ACEOF
27653 cat confdefs.h
>>conftest.
$ac_ext
27654 cat >>conftest.
$ac_ext <<_ACEOF
27655 /* end confdefs.h. */
27658 $ac_includes_default
27674 rm -f conftest.
$ac_objext conftest
$ac_exeext
27675 if { (ac_try
="$ac_link"
27676 case "(($ac_try" in
27677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27678 *) ac_try_echo=$ac_try;;
27680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27681 (eval "$ac_link") 2>conftest.er1
27683 grep -v '^ *+' conftest.er1 >conftest.err
27685 cat conftest.err >&5
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); } && {
27688 test -z "$ac_cxx_werror_flag" ||
27689 test ! -s conftest.err
27690 } && test -s conftest$ac_exeext &&
27691 $as_test_x conftest$ac_exeext; then
27692 eval wx_cv_func_$wx_func=yes
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.$ac_ext >&5
27697 eval wx_cv_func_$wx_func=no
27700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27701 conftest$ac_exeext conftest.$ac_ext
27704 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27705 { echo "$as_me:$LINENO: result: $ac_res" >&5
27706 echo "${ECHO_T}$ac_res" >&6; }
27708 if eval test \$wx_cv_func_$wx_func = yes
27710 cat >>confdefs.h <<_ACEOF
27711 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27723 ac_cpp='$CPP $CPPFLAGS'
27724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27731 if test "$wxUSE_REGEX" != "no"; then
27732 cat >>confdefs.h <<\_ACEOF
27733 #define wxUSE_REGEX 1
27737 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27738 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27739 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27740 wxUSE_REGEX=builtin
27743 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27744 { echo "$as_me:$LINENO: checking for regex.h" >&5
27745 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27746 if test "${ac_cv_header_regex_h+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27749 cat >conftest.$ac_ext <<_ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27759 rm -f conftest.$ac_objext
27760 if { (ac_try="$ac_compile"
27761 case "(($ac_try" in
27762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27763 *) ac_try_echo
=$ac_try;;
27765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_compile") 2>conftest.er1
27768 grep -v '^ *+' conftest.er1
>conftest.err
27770 cat conftest.err
>&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } && {
27773 test -z "$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27775 } && test -s conftest.
$ac_objext; then
27776 ac_cv_header_regex_h
=yes
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.
$ac_ext >&5
27781 ac_cv_header_regex_h
=no
27784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27786 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27787 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27788 if test $ac_cv_header_regex_h = yes; then
27791 for ac_func
in regcomp re_search
27793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 cat >conftest.
$ac_ext <<_ACEOF
27802 cat confdefs.h
>>conftest.
$ac_ext
27803 cat >>conftest.
$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27807 #define $ac_func innocuous_$ac_func
27809 /* System header to define __stub macros and hopefully few prototypes,
27810 which can conflict with char $ac_func (); below.
27811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27812 <limits.h> exists even on freestanding compilers. */
27815 # include <limits.h>
27817 # include <assert.h>
27822 /* Override any GCC internal prototype to avoid an error.
27823 Use char because int might match the return type of a GCC
27824 builtin and then its argument prototype would still apply. */
27829 /* The GNU C library defines this for functions which it implements
27830 to always fail with ENOSYS. Some functions are actually named
27831 something starting with __ and the normal name is an alias. */
27832 #if defined __stub_$ac_func || defined __stub___$ac_func
27839 return $ac_func ();
27844 rm -f conftest.
$ac_objext conftest
$ac_exeext
27845 if { (ac_try
="$ac_link"
27846 case "(($ac_try" in
27847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27848 *) ac_try_echo=$ac_try;;
27850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27851 (eval "$ac_link") 2>conftest.er1
27853 grep -v '^ *+' conftest.er1 >conftest.err
27855 cat conftest.err >&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); } && {
27858 test -z "$ac_c_werror_flag" ||
27859 test ! -s conftest.err
27860 } && test -s conftest$ac_exeext &&
27861 $as_test_x conftest$ac_exeext; then
27862 eval "$as_ac_var=yes"
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.$ac_ext >&5
27867 eval "$as_ac_var=no"
27870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27871 conftest$ac_exeext conftest.$ac_ext
27873 ac_res=`eval echo '${'$as_ac_var'}'`
27874 { echo "$as_me:$LINENO: result: $ac_res" >&5
27875 echo "${ECHO_T}$ac_res" >&6; }
27876 if test `eval echo '${'$as_ac_var'}'` = yes; then
27877 cat >>confdefs.h <<_ACEOF
27878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27888 if test "x$ac_cv_func_regcomp" != "xyes"; then
27889 if test "$wxUSE_REGEX" = "sys" ; then
27890 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27891 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27892 { (exit 1); exit 1; }; }
27894 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27895 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27896 wxUSE_REGEX=builtin
27900 cat >>confdefs.h <<\_ACEOF
27901 #define WX_NO_REGEX_ADVANCED 1
27910 if test "$wxUSE_ZLIB" != "no" ; then
27911 cat >>confdefs.h <<\_ACEOF
27912 #define wxUSE_ZLIB 1
27916 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27917 if test "$USE_DARWIN" = 1; then
27918 system_zlib_h_ok="yes"
27920 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27921 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27922 if test "${ac_cv_header_zlib_h+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27925 if test "$cross_compiling" = yes; then
27926 unset ac_cv_header_zlib_h
27929 cat >conftest.$ac_ext <<_ACEOF
27932 cat confdefs.h >>conftest.$ac_ext
27933 cat >>conftest.$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27941 FILE *f=fopen("conftestval", "w");
27944 ZLIB_VERSION[0] == '1' &&
27945 (ZLIB_VERSION[2] > '1' ||
27946 (ZLIB_VERSION[2] == '1' &&
27947 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27952 rm -f conftest$ac_exeext
27953 if { (ac_try="$ac_link"
27954 case "(($ac_try" in
27955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27956 *) ac_try_echo
=$ac_try;;
27958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27959 (eval "$ac_link") 2>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27963 { (case "(($ac_try" in
27964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_try") 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; }; then
27972 ac_cv_header_zlib_h=`cat conftestval
`
27974 echo "$as_me: program exited with status $ac_status" >&5
27975 echo "$as_me: failed program was:" >&5
27976 sed 's/^/| /' conftest.$ac_ext >&5
27978 ( exit $ac_status )
27979 ac_cv_header_zlib_h=no
27981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27987 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27988 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27989 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27990 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27991 if test "${ac_cv_header_zlib_h+set}" = set; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27994 cat >conftest.$ac_ext <<_ACEOF
27997 cat confdefs.h >>conftest.$ac_ext
27998 cat >>conftest.$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28004 rm -f conftest.$ac_objext
28005 if { (ac_try="$ac_compile"
28006 case "(($ac_try" in
28007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28008 *) ac_try_echo
=$ac_try;;
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_compile") 2>conftest.er1
28013 grep -v '^ *+' conftest.er1
>conftest.err
28015 cat conftest.err
>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest.
$ac_objext; then
28021 ac_cv_header_zlib_h
=yes
28023 echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.
$ac_ext >&5
28026 ac_cv_header_zlib_h
=no
28029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28031 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28032 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28036 system_zlib_h_ok
=$ac_cv_header_zlib_h
28039 if test "$system_zlib_h_ok" = "yes"; then
28040 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28041 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28042 if test "${ac_cv_lib_z_deflate+set}" = set; then
28043 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 ac_check_lib_save_LIBS
=$LIBS
28047 cat >conftest.
$ac_ext <<_ACEOF
28050 cat confdefs.h
>>conftest.
$ac_ext
28051 cat >>conftest.
$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28054 /* Override any GCC internal prototype to avoid an error.
28055 Use char because int might match the return type of a GCC
28056 builtin and then its argument prototype would still apply. */
28069 rm -f conftest.
$ac_objext conftest
$ac_exeext
28070 if { (ac_try
="$ac_link"
28071 case "(($ac_try" in
28072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28073 *) ac_try_echo=$ac_try;;
28075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28076 (eval "$ac_link") 2>conftest.er1
28078 grep -v '^ *+' conftest.er1 >conftest.err
28080 cat conftest.err >&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } && {
28083 test -z "$ac_c_werror_flag" ||
28084 test ! -s conftest.err
28085 } && test -s conftest$ac_exeext &&
28086 $as_test_x conftest$ac_exeext; then
28087 ac_cv_lib_z_deflate=yes
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28092 ac_cv_lib_z_deflate=no
28095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28096 conftest$ac_exeext conftest.$ac_ext
28097 LIBS=$ac_check_lib_save_LIBS
28099 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28100 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28101 if test $ac_cv_lib_z_deflate = yes; then
28107 if test "x$ZLIB_LINK" = "x" ; then
28108 if test "$wxUSE_ZLIB" = "sys" ; then
28109 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28110 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28111 { (exit 1); exit 1; }; }
28113 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28114 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28125 if test "$wxUSE_LIBPNG" != "no" ; then
28126 cat >>confdefs.h <<\_ACEOF
28127 #define wxUSE_LIBPNG 1
28131 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28132 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28133 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28137 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28138 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28139 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28140 wxUSE_LIBPNG=builtin
28143 if test "$wxUSE_MGL" != 1 ; then
28144 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28145 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28146 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28147 if test "${ac_cv_header_png_h+set}" = set; then
28148 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 if test "$cross_compiling" = yes; then
28151 unset ac_cv_header_png_h
28154 cat >conftest.$ac_ext <<_ACEOF
28157 cat confdefs.h >>conftest.$ac_ext
28158 cat >>conftest.$ac_ext <<_ACEOF
28159 /* end confdefs.h. */
28166 FILE *f=fopen("conftestval", "w");
28169 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28174 rm -f conftest$ac_exeext
28175 if { (ac_try="$ac_link"
28176 case "(($ac_try" in
28177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28178 *) ac_try_echo
=$ac_try;;
28180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28181 (eval "$ac_link") 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28185 { (case "(($ac_try" in
28186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_try") 2>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 ac_cv_header_png_h=`cat conftestval
`
28196 echo "$as_me: program exited with status $ac_status" >&5
28197 echo "$as_me: failed program was:" >&5
28198 sed 's/^/| /' conftest.$ac_ext >&5
28200 ( exit $ac_status )
28201 ac_cv_header_png_h=no
28203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28209 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28210 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28211 { echo "$as_me:$LINENO: checking for png.h" >&5
28212 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28213 if test "${ac_cv_header_png_h+set}" = set; then
28214 echo $ECHO_N "(cached) $ECHO_C" >&6
28216 cat >conftest.$ac_ext <<_ACEOF
28219 cat confdefs.h >>conftest.$ac_ext
28220 cat >>conftest.$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28226 rm -f conftest.$ac_objext
28227 if { (ac_try="$ac_compile"
28228 case "(($ac_try" in
28229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28230 *) ac_try_echo
=$ac_try;;
28232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28233 (eval "$ac_compile") 2>conftest.er1
28235 grep -v '^ *+' conftest.er1
>conftest.err
28237 cat conftest.err
>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } && {
28240 test -z "$ac_c_werror_flag" ||
28241 test ! -s conftest.err
28242 } && test -s conftest.
$ac_objext; then
28243 ac_cv_header_png_h
=yes
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.
$ac_ext >&5
28248 ac_cv_header_png_h
=no
28251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28253 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28254 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28258 if test "$ac_cv_header_png_h" = "yes"; then
28259 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28260 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28261 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 ac_check_lib_save_LIBS
=$LIBS
28265 LIBS
="-lpng -lz -lm $LIBS"
28266 cat >conftest.
$ac_ext <<_ACEOF
28269 cat confdefs.h
>>conftest.
$ac_ext
28270 cat >>conftest.
$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28273 /* Override any GCC internal prototype to avoid an error.
28274 Use char because int might match the return type of a GCC
28275 builtin and then its argument prototype would still apply. */
28279 char png_sig_cmp ();
28283 return png_sig_cmp ();
28288 rm -f conftest.
$ac_objext conftest
$ac_exeext
28289 if { (ac_try
="$ac_link"
28290 case "(($ac_try" in
28291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_link") 2>conftest.er1
28297 grep -v '^ *+' conftest.er1 >conftest.err
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } && {
28302 test -z "$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28304 } && test -s conftest$ac_exeext &&
28305 $as_test_x conftest$ac_exeext; then
28306 ac_cv_lib_png_png_sig_cmp=yes
28308 echo "$as_me: failed program was:" >&5
28309 sed 's/^/| /' conftest.$ac_ext >&5
28311 ac_cv_lib_png_png_sig_cmp=no
28314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28315 conftest$ac_exeext conftest.$ac_ext
28316 LIBS=$ac_check_lib_save_LIBS
28318 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28319 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28320 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28321 PNG_LINK=" -lpng -lz"
28326 if test "x$PNG_LINK" = "x" ; then
28327 if test "$wxUSE_LIBPNG" = "sys" ; then
28328 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28329 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28330 { (exit 1); exit 1; }; }
28332 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28333 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28334 wxUSE_LIBPNG=builtin
28345 if test "$wxUSE_LIBJPEG" != "no" ; then
28346 cat >>confdefs.h <<\_ACEOF
28347 #define wxUSE_LIBJPEG 1
28351 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28352 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28353 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28357 if test "$wxUSE_MGL" != 1 ; then
28358 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28359 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28360 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28361 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 cat >conftest.$ac_ext <<_ACEOF
28367 cat confdefs.h >>conftest.$ac_ext
28368 cat >>conftest.$ac_ext <<_ACEOF
28369 /* end confdefs.h. */
28371 #undef HAVE_STDLIB_H
28373 #include <jpeglib.h>
28384 rm -f conftest.$ac_objext
28385 if { (ac_try="$ac_compile"
28386 case "(($ac_try" in
28387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28388 *) ac_try_echo
=$ac_try;;
28390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28391 (eval "$ac_compile") 2>conftest.er1
28393 grep -v '^ *+' conftest.er1
>conftest.err
28395 cat conftest.err
>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } && {
28398 test -z "$ac_c_werror_flag" ||
28399 test ! -s conftest.err
28400 } && test -s conftest.
$ac_objext; then
28401 ac_cv_header_jpeglib_h
=yes
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.
$ac_ext >&5
28406 ac_cv_header_jpeglib_h
=no
28410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28414 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28415 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28417 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28418 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28419 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28420 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28423 ac_check_lib_save_LIBS
=$LIBS
28424 LIBS
="-ljpeg $LIBS"
28425 cat >conftest.
$ac_ext <<_ACEOF
28428 cat confdefs.h
>>conftest.
$ac_ext
28429 cat >>conftest.
$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28432 /* Override any GCC internal prototype to avoid an error.
28433 Use char because int might match the return type of a GCC
28434 builtin and then its argument prototype would still apply. */
28438 char jpeg_read_header ();
28442 return jpeg_read_header ();
28447 rm -f conftest.
$ac_objext conftest
$ac_exeext
28448 if { (ac_try
="$ac_link"
28449 case "(($ac_try" in
28450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_link") 2>conftest.er1
28456 grep -v '^ *+' conftest.er1 >conftest.err
28458 cat conftest.err >&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } && {
28461 test -z "$ac_c_werror_flag" ||
28462 test ! -s conftest.err
28463 } && test -s conftest$ac_exeext &&
28464 $as_test_x conftest$ac_exeext; then
28465 ac_cv_lib_jpeg_jpeg_read_header=yes
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28470 ac_cv_lib_jpeg_jpeg_read_header=no
28473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28474 conftest$ac_exeext conftest.$ac_ext
28475 LIBS=$ac_check_lib_save_LIBS
28477 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28478 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28479 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28480 JPEG_LINK=" -ljpeg"
28485 if test "x$JPEG_LINK" = "x" ; then
28486 if test "$wxUSE_LIBJPEG" = "sys" ; then
28487 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28488 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28489 { (exit 1); exit 1; }; }
28491 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28492 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28493 wxUSE_LIBJPEG=builtin
28498 if test "$wxUSE_MSW" = 1; then
28499 { echo "$as_me:$LINENO: checking for boolean" >&5
28500 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28501 if test "${ac_cv_type_boolean+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 cat >conftest.$ac_ext <<_ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 #include <windows.h>
28512 typedef boolean ac__type_new_;
28516 if ((ac__type_new_ *) 0)
28518 if (sizeof (ac__type_new_))
28524 rm -f conftest.$ac_objext
28525 if { (ac_try="$ac_compile"
28526 case "(($ac_try" in
28527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28528 *) ac_try_echo
=$ac_try;;
28530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28531 (eval "$ac_compile") 2>conftest.er1
28533 grep -v '^ *+' conftest.er1
>conftest.err
28535 cat conftest.err
>&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } && {
28538 test -z "$ac_c_werror_flag" ||
28539 test ! -s conftest.err
28540 } && test -s conftest.
$ac_objext; then
28541 ac_cv_type_boolean
=yes
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.
$ac_ext >&5
28546 ac_cv_type_boolean
=no
28549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28551 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28552 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28553 if test $ac_cv_type_boolean = yes; then
28555 cat >>confdefs.h
<<_ACEOF
28556 #define HAVE_BOOLEAN 1
28560 { echo "$as_me:$LINENO: checking for boolean" >&5
28561 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28562 if test "${ac_cv_type_boolean+set}" = set; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28565 cat >conftest.
$ac_ext <<_ACEOF
28568 cat confdefs.h
>>conftest.
$ac_ext
28569 cat >>conftest.
$ac_ext <<_ACEOF
28570 /* end confdefs.h. */
28572 #undef HAVE_BOOLEAN
28574 #include <jpeglib.h>
28577 typedef boolean ac__type_new_;
28581 if ((ac__type_new_ *) 0)
28583 if (sizeof (ac__type_new_))
28589 rm -f conftest.
$ac_objext
28590 if { (ac_try
="$ac_compile"
28591 case "(($ac_try" in
28592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28593 *) ac_try_echo=$ac_try;;
28595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28596 (eval "$ac_compile") 2>conftest.er1
28598 grep -v '^ *+' conftest.er1 >conftest.err
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } && {
28603 test -z "$ac_c_werror_flag" ||
28604 test ! -s conftest.err
28605 } && test -s conftest.$ac_objext; then
28606 ac_cv_type_boolean=yes
28608 echo "$as_me: failed program was:" >&5
28609 sed 's/^/| /' conftest.$ac_ext >&5
28611 ac_cv_type_boolean=no
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28616 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28617 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28619 # The cast to long int works around a bug in the HP C Compiler
28620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28621 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28622 # This bug is HP SR number 8606223364.
28623 { echo "$as_me:$LINENO: checking size of boolean" >&5
28624 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28625 if test "${ac_cv_sizeof_boolean+set}" = set; then
28626 echo $ECHO_N "(cached) $ECHO_C" >&6
28628 if test "$cross_compiling" = yes; then
28629 # Depending upon the size, compute the lo and hi bounds.
28630 cat >conftest.$ac_ext <<_ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28637 #undef HAVE_BOOLEAN
28639 #include <jpeglib.h>
28642 typedef boolean ac__type_sizeof_;
28646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28653 rm -f conftest.$ac_objext
28654 if { (ac_try="$ac_compile"
28655 case "(($ac_try" in
28656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28657 *) ac_try_echo=$ac_try;;
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_compile") 2>conftest.er1
28662 grep -v '^
*+' conftest.er1 >conftest.err
28664 cat conftest.err >&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && {
28667 test -z "$ac_c_werror_flag" ||
28668 test ! -s conftest.err
28669 } && test -s conftest.$ac_objext; then
28672 cat >conftest.$ac_ext <<_ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28679 #undef HAVE_BOOLEAN
28681 #include <jpeglib.h>
28684 typedef boolean ac__type_sizeof_;
28688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28704 grep -v '^
*+' conftest.er1 >conftest.err
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_hi=$ac_mid; break
28714 echo "$as_me: failed program was:" >&5
28715 sed 's
/^
/| /' conftest.$ac_ext >&5
28717 ac_lo=`expr $ac_mid + 1`
28718 if test $ac_lo -le $ac_mid; then
28722 ac_mid=`expr 2 '*' $ac_mid + 1`
28725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 echo "$as_me: failed program was:" >&5
28729 sed 's
/^
/| /' conftest.$ac_ext >&5
28731 cat >conftest.$ac_ext <<_ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28738 #undef HAVE_BOOLEAN
28740 #include <jpeglib.h>
28743 typedef boolean ac__type_sizeof_;
28747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28754 rm -f conftest.$ac_objext
28755 if { (ac_try="$ac_compile"
28756 case "(($ac_try" in
28757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28758 *) ac_try_echo=$ac_try;;
28760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28761 (eval "$ac_compile") 2>conftest.er1
28763 grep -v '^
*+' conftest.er1 >conftest.err
28765 cat conftest.err >&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); } && {
28768 test -z "$ac_c_werror_flag" ||
28769 test ! -s conftest.err
28770 } && test -s conftest.$ac_objext; then
28773 cat >conftest.$ac_ext <<_ACEOF
28776 cat confdefs.h >>conftest.$ac_ext
28777 cat >>conftest.$ac_ext <<_ACEOF
28778 /* end confdefs.h. */
28780 #undef HAVE_BOOLEAN
28782 #include <jpeglib.h>
28785 typedef boolean ac__type_sizeof_;
28789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28796 rm -f conftest.$ac_objext
28797 if { (ac_try="$ac_compile"
28798 case "(($ac_try" in
28799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28800 *) ac_try_echo=$ac_try;;
28802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28803 (eval "$ac_compile") 2>conftest.er1
28805 grep -v '^
*+' conftest.er1 >conftest.err
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } && {
28810 test -z "$ac_c_werror_flag" ||
28811 test ! -s conftest.err
28812 } && test -s conftest.$ac_objext; then
28813 ac_lo=$ac_mid; break
28815 echo "$as_me: failed program was:" >&5
28816 sed 's
/^
/| /' conftest.$ac_ext >&5
28818 ac_hi=`expr '(' $ac_mid ')' - 1`
28819 if test $ac_mid -le $ac_hi; then
28823 ac_mid=`expr 2 '*' $ac_mid`
28826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28829 echo "$as_me: failed program was:" >&5
28830 sed 's
/^
/| /' conftest.$ac_ext >&5
28835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28839 # Binary search between lo and hi bounds.
28840 while test "x$ac_lo" != "x$ac_hi"; do
28841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28842 cat >conftest.$ac_ext <<_ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28849 #undef HAVE_BOOLEAN
28851 #include <jpeglib.h>
28854 typedef boolean ac__type_sizeof_;
28858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28865 rm -f conftest.$ac_objext
28866 if { (ac_try="$ac_compile"
28867 case "(($ac_try" in
28868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28869 *) ac_try_echo=$ac_try;;
28871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28872 (eval "$ac_compile") 2>conftest.er1
28874 grep -v '^
*+' conftest.er1 >conftest.err
28876 cat conftest.err >&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); } && {
28879 test -z "$ac_c_werror_flag" ||
28880 test ! -s conftest.err
28881 } && test -s conftest.$ac_objext; then
28884 echo "$as_me: failed program was:" >&5
28885 sed 's
/^
/| /' conftest.$ac_ext >&5
28887 ac_lo=`expr '(' $ac_mid ')' + 1`
28890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28894 '') if test "$ac_cv_type_boolean" = yes; then
28895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28896 See \`config.log' for more details.
" >&5
28897 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28898 See \
`config.log' for more details." >&2;}
28899 { (exit 77); exit 77; }; }
28901 ac_cv_sizeof_boolean=0
28905 cat >conftest.$ac_ext <<_ACEOF
28908 cat confdefs.h >>conftest.$ac_ext
28909 cat >>conftest.$ac_ext <<_ACEOF
28910 /* end confdefs.h. */
28912 #undef HAVE_BOOLEAN
28914 #include <jpeglib.h>
28917 typedef boolean ac__type_sizeof_;
28918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28921 #include <stdlib.h>
28926 FILE *f = fopen ("conftest.val", "w");
28929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28931 long int i = longval ();
28932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28934 fprintf (f, "%ld\n", i);
28938 unsigned long int i = ulongval ();
28939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28941 fprintf (f, "%lu\n", i);
28943 return ferror (f) || fclose (f) != 0;
28949 rm -f conftest$ac_exeext
28950 if { (ac_try="$ac_link"
28951 case "(($ac_try" in
28952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28953 *) ac_try_echo
=$ac_try;;
28955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28956 (eval "$ac_link") 2>&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28960 { (case "(($ac_try" in
28961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28962 *) ac_try_echo=$ac_try;;
28964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28965 (eval "$ac_try") 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; }; then
28969 ac_cv_sizeof_boolean=`cat conftest.val
`
28971 echo "$as_me: program exited with status $ac_status" >&5
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 ( exit $ac_status )
28976 if test "$ac_cv_type_boolean" = yes; then
28977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28978 See \`config.log
' for more details." >&5
28979 echo "$as_me: error: cannot compute sizeof (boolean)
28980 See \`config.log' for more details.
" >&2;}
28981 { (exit 77); exit 77; }; }
28983 ac_cv_sizeof_boolean=0
28986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28990 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28991 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28995 cat >>confdefs.h <<_ACEOF
28996 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29000 cat >>confdefs.h <<_ACEOF
29001 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29015 TIFF_PREREQ_LINKS=-lm
29016 if test "$wxUSE_LIBTIFF" != "no
" ; then
29017 cat >>confdefs.h <<\_ACEOF
29018 #define wxUSE_LIBTIFF 1
29022 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29023 if test "$wxUSE_LIBJPEG" = "sys
"; then
29024 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29026 if test "$wxUSE_ZLIB" = "sys
"; then
29027 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29029 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29030 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29031 if test "${ac_cv_header_tiffio_h+set}" = set; then
29032 echo $ECHO_N "(cached
) $ECHO_C" >&6
29034 cat >conftest.$ac_ext <<_ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29043 #include <tiffio.h>
29045 rm -f conftest.$ac_objext
29046 if { (ac_try="$ac_compile"
29047 case "(($ac_try" in
29048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29049 *) ac_try_echo=$ac_try;;
29051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29052 (eval "$ac_compile") 2>conftest.er1
29054 grep -v '^ *+' conftest.er1 >conftest.err
29056 cat conftest.err >&5
29057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29058 (exit $ac_status); } && {
29059 test -z "$ac_c_werror_flag" ||
29060 test ! -s conftest.err
29061 } && test -s conftest.$ac_objext; then
29062 ac_cv_header_tiffio_h=yes
29064 echo "$as_me: failed program was
:" >&5
29065 sed 's/^/| /' conftest.$ac_ext >&5
29067 ac_cv_header_tiffio_h=no
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29072 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29073 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29074 if test $ac_cv_header_tiffio_h = yes; then
29076 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29077 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29078 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29079 echo $ECHO_N "(cached
) $ECHO_C" >&6
29081 ac_check_lib_save_LIBS=$LIBS
29082 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29083 cat >conftest.$ac_ext <<_ACEOF
29086 cat confdefs.h >>conftest.$ac_ext
29087 cat >>conftest.$ac_ext <<_ACEOF
29088 /* end confdefs.h. */
29090 /* Override any GCC internal prototype to avoid an error.
29091 Use char because int might match the return type of a GCC
29092 builtin and then its argument prototype would still apply. */
29100 return TIFFError ();
29105 rm -f conftest.$ac_objext conftest$ac_exeext
29106 if { (ac_try="$ac_link"
29107 case "(($ac_try" in
29108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29109 *) ac_try_echo=$ac_try;;
29111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_link") 2>conftest.er1
29114 grep -v '^ *+' conftest.er1 >conftest.err
29116 cat conftest.err >&5
29117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29118 (exit $ac_status); } && {
29119 test -z "$ac_c_werror_flag" ||
29120 test ! -s conftest.err
29121 } && test -s conftest$ac_exeext &&
29122 $as_test_x conftest$ac_exeext; then
29123 ac_cv_lib_tiff_TIFFError=yes
29125 echo "$as_me: failed program was
:" >&5
29126 sed 's/^/| /' conftest.$ac_ext >&5
29128 ac_cv_lib_tiff_TIFFError=no
29131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29132 conftest$ac_exeext conftest.$ac_ext
29133 LIBS=$ac_check_lib_save_LIBS
29135 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29136 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29137 if test $ac_cv_lib_tiff_TIFFError = yes; then
29138 TIFF_LINK=" -ltiff"
29146 if test "x
$TIFF_LINK" = "x
" ; then
29147 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29148 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29149 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29150 { (exit 1); exit 1; }; }
29152 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29153 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29154 wxUSE_LIBTIFF=builtin
29160 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29161 if test "$wxUSE_LIBJPEG" = "no
"; then
29162 ac_configure_args="$ac_configure_args --disable-jpeg"
29164 subdirs="$subdirs src
/tiff
"
29170 if test "$wxUSE_EXPAT" != "no
"; then
29172 cat >>confdefs.h <<\_ACEOF
29173 #define wxUSE_EXPAT 1
29176 cat >>confdefs.h <<\_ACEOF
29177 #define wxUSE_XML 1
29181 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29182 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29183 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29184 if test "${ac_cv_header_expat_h+set}" = set; then
29185 echo $ECHO_N "(cached
) $ECHO_C" >&6
29187 cat >conftest.$ac_ext <<_ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29197 rm -f conftest.$ac_objext
29198 if { (ac_try="$ac_compile"
29199 case "(($ac_try" in
29200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29201 *) ac_try_echo=$ac_try;;
29203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29204 (eval "$ac_compile") 2>conftest.er1
29206 grep -v '^ *+' conftest.er1 >conftest.err
29208 cat conftest.err >&5
29209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29210 (exit $ac_status); } && {
29211 test -z "$ac_c_werror_flag" ||
29212 test ! -s conftest.err
29213 } && test -s conftest.$ac_objext; then
29214 ac_cv_header_expat_h=yes
29216 echo "$as_me: failed program was
:" >&5
29217 sed 's/^/| /' conftest.$ac_ext >&5
29219 ac_cv_header_expat_h=no
29222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29224 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29225 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29226 if test $ac_cv_header_expat_h = yes; then
29231 if test "x
$found_expat_h" = "x1
"; then
29232 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29233 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29234 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29235 echo $ECHO_N "(cached
) $ECHO_C" >&6
29239 ac_cpp='$CXXCPP $CPPFLAGS'
29240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29244 cat >conftest.$ac_ext <<_ACEOF
29247 cat confdefs.h >>conftest.$ac_ext
29248 cat >>conftest.$ac_ext <<_ACEOF
29249 /* end confdefs.h. */
29259 rm -f conftest.$ac_objext
29260 if { (ac_try="$ac_compile"
29261 case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_compile") 2>conftest.er1
29268 grep -v '^ *+' conftest.er1 >conftest.err
29270 cat conftest.err >&5
29271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29272 (exit $ac_status); } && {
29273 test -z "$ac_cxx_werror_flag" ||
29274 test ! -s conftest.err
29275 } && test -s conftest.$ac_objext; then
29276 wx_cv_expat_is_not_broken=yes
29278 echo "$as_me: failed program was
:" >&5
29279 sed 's/^/| /' conftest.$ac_ext >&5
29281 wx_cv_expat_is_not_broken=no
29285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29287 ac_cpp='$CPP $CPPFLAGS'
29288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29295 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29296 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29297 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29298 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29299 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29300 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29301 echo $ECHO_N "(cached
) $ECHO_C" >&6
29303 ac_check_lib_save_LIBS=$LIBS
29304 LIBS="-lexpat $LIBS"
29305 cat >conftest.$ac_ext <<_ACEOF
29308 cat confdefs.h >>conftest.$ac_ext
29309 cat >>conftest.$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29312 /* Override any GCC internal prototype to avoid an error.
29313 Use char because int might match the return type of a GCC
29314 builtin and then its argument prototype would still apply. */
29318 char XML_ParserCreate ();
29322 return XML_ParserCreate ();
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (ac_try="$ac_link"
29329 case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_link") 2>conftest.er1
29336 grep -v '^ *+' conftest.er1 >conftest.err
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29340 (exit $ac_status); } && {
29341 test -z "$ac_c_werror_flag" ||
29342 test ! -s conftest.err
29343 } && test -s conftest$ac_exeext &&
29344 $as_test_x conftest$ac_exeext; then
29345 ac_cv_lib_expat_XML_ParserCreate=yes
29347 echo "$as_me: failed program was
:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29350 ac_cv_lib_expat_XML_ParserCreate=no
29353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29354 conftest$ac_exeext conftest.$ac_ext
29355 LIBS=$ac_check_lib_save_LIBS
29357 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29358 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29359 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29360 EXPAT_LINK=" -lexpat"
29365 if test "x
$EXPAT_LINK" = "x
" ; then
29366 if test "$wxUSE_EXPAT" = "sys
" ; then
29367 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29368 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29369 { (exit 1); exit 1; }; }
29371 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29372 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29373 wxUSE_EXPAT=builtin
29379 if test "$wxUSE_EXPAT" = "builtin" ; then
29380 subdirs="$subdirs src
/expat
"
29387 if test "$wxUSE_LIBMSPACK" != "no
"; then
29388 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29389 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29390 if test "${ac_cv_header_mspack_h+set}" = set; then
29391 echo $ECHO_N "(cached
) $ECHO_C" >&6
29393 cat >conftest.$ac_ext <<_ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29401 #include <mspack.h>
29403 rm -f conftest.$ac_objext
29404 if { (ac_try="$ac_compile"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_compile") 2>conftest.er1
29412 grep -v '^ *+' conftest.er1 >conftest.err
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29416 (exit $ac_status); } && {
29417 test -z "$ac_c_werror_flag" ||
29418 test ! -s conftest.err
29419 } && test -s conftest.$ac_objext; then
29420 ac_cv_header_mspack_h=yes
29422 echo "$as_me: failed program was
:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29425 ac_cv_header_mspack_h=no
29428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29430 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29431 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29432 if test $ac_cv_header_mspack_h = yes; then
29437 if test "x
$found_mspack_h" = "x1
"; then
29438 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29439 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29440 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29441 echo $ECHO_N "(cached
) $ECHO_C" >&6
29443 ac_check_lib_save_LIBS=$LIBS
29444 LIBS="-lmspack $LIBS"
29445 cat >conftest.$ac_ext <<_ACEOF
29448 cat confdefs.h >>conftest.$ac_ext
29449 cat >>conftest.$ac_ext <<_ACEOF
29450 /* end confdefs.h. */
29452 /* Override any GCC internal prototype to avoid an error.
29453 Use char because int might match the return type of a GCC
29454 builtin and then its argument prototype would still apply. */
29458 char mspack_create_chm_decompressor ();
29462 return mspack_create_chm_decompressor ();
29467 rm -f conftest.$ac_objext conftest$ac_exeext
29468 if { (ac_try="$ac_link"
29469 case "(($ac_try" in
29470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29471 *) ac_try_echo=$ac_try;;
29473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29474 (eval "$ac_link") 2>conftest.er1
29476 grep -v '^ *+' conftest.er1 >conftest.err
29478 cat conftest.err >&5
29479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29480 (exit $ac_status); } && {
29481 test -z "$ac_c_werror_flag" ||
29482 test ! -s conftest.err
29483 } && test -s conftest$ac_exeext &&
29484 $as_test_x conftest$ac_exeext; then
29485 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29487 echo "$as_me: failed program was
:" >&5
29488 sed 's/^/| /' conftest.$ac_ext >&5
29490 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29494 conftest$ac_exeext conftest.$ac_ext
29495 LIBS=$ac_check_lib_save_LIBS
29497 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29498 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29499 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29500 MSPACK_LINK=" -lmspack"
29504 if test "x
$MSPACK_LINK" = "x
" ; then
29509 if test "$wxUSE_LIBMSPACK" != "no
"; then
29510 cat >>confdefs.h <<\_ACEOF
29511 #define wxUSE_LIBMSPACK 1
29525 if test "$USE_WIN32" = 1 ; then
29527 for ac_header in w32api.h
29529 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29530 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29531 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29532 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29533 echo $ECHO_N "(cached
) $ECHO_C" >&6
29535 cat >conftest.$ac_ext <<_ACEOF
29538 cat confdefs.h >>conftest.$ac_ext
29539 cat >>conftest.$ac_ext <<_ACEOF
29540 /* end confdefs.h. */
29543 #include <$ac_header>
29545 rm -f conftest.$ac_objext
29546 if { (ac_try="$ac_compile"
29547 case "(($ac_try" in
29548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29549 *) ac_try_echo=$ac_try;;
29551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29552 (eval "$ac_compile") 2>conftest.er1
29554 grep -v '^ *+' conftest.er1 >conftest.err
29556 cat conftest.err >&5
29557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29558 (exit $ac_status); } && {
29559 test -z "$ac_c_werror_flag" ||
29560 test ! -s conftest.err
29561 } && test -s conftest.$ac_objext; then
29562 eval "$as_ac_Header=yes"
29564 echo "$as_me: failed program was
:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29567 eval "$as_ac_Header=no
"
29570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29572 ac_res=`eval echo '${'$as_ac_Header'}'`
29573 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29574 echo "${ECHO_T}$ac_res" >&6; }
29575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29576 cat >>confdefs.h <<_ACEOF
29577 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29584 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29585 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29586 if test "${ac_cv_header_windows_h+set}" = set; then
29587 echo $ECHO_N "(cached
) $ECHO_C" >&6
29589 cat >conftest.$ac_ext <<_ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29597 #include <windows.h>
29599 rm -f conftest.$ac_objext
29600 if { (ac_try="$ac_compile"
29601 case "(($ac_try" in
29602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29603 *) ac_try_echo=$ac_try;;
29605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29606 (eval "$ac_compile") 2>conftest.er1
29608 grep -v '^ *+' conftest.er1 >conftest.err
29610 cat conftest.err >&5
29611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29612 (exit $ac_status); } && {
29613 test -z "$ac_c_werror_flag" ||
29614 test ! -s conftest.err
29615 } && test -s conftest.$ac_objext; then
29616 ac_cv_header_windows_h=yes
29618 echo "$as_me: failed program was
:" >&5
29619 sed 's/^/| /' conftest.$ac_ext >&5
29621 ac_cv_header_windows_h=no
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29627 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29628 if test $ac_cv_header_windows_h = yes; then
29632 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29633 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29634 { (exit 1); exit 1; }; }
29640 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29642 x86_64-*-mingw32* )
29643 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29646 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29647 LIBS="$LIBS -loleacc"
29652 LIBS="$LIBS -lkernel32 -luser32"
29655 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29656 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29658 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29660 WIN32INSTALL=win32install
29662 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29663 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29664 if test "${ac_cv_header_pbt_h+set}" = set; then
29665 echo $ECHO_N "(cached
) $ECHO_C" >&6
29667 cat >conftest.$ac_ext <<_ACEOF
29670 cat confdefs.h >>conftest.$ac_ext
29671 cat >>conftest.$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29677 rm -f conftest.$ac_objext
29678 if { (ac_try="$ac_compile"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29683 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_compile") 2>conftest.er1
29686 grep -v '^ *+' conftest.er1 >conftest.err
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest.$ac_objext; then
29694 ac_cv_header_pbt_h=yes
29696 echo "$as_me: failed program was
:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29699 ac_cv_header_pbt_h=no
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29704 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29705 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29706 if test $ac_cv_header_pbt_h = yes; then
29709 cat >>confdefs.h <<\_ACEOF
29710 #define NEED_PBT_H 1
29718 if test "$wxUSE_GUI" = "yes"; then
29728 if test "$wxUSE_OLD_COCOA" = 1 ; then
29729 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29730 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29731 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29732 wxUSE_PRINTING_ARCHITECTURE=no
29734 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29735 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29736 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29737 wxUSE_DRAG_AND_DROP=no
29739 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29740 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29741 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29746 if test "$wxUSE_MSW" = 1 ; then
29752 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29756 if test "$wxUSE_GTK" = 1; then
29757 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29758 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29760 gtk_version_cached=1
29761 if test "${wx_cv_lib_gtk+set}" = set; then
29762 echo $ECHO_N "(cached
) $ECHO_C" >&6
29765 gtk_version_cached=0
29766 { echo "$as_me:$LINENO: result
: " >&5
29767 echo "${ECHO_T}" >&6; }
29770 if test "$wxUSE_THREADS" = "yes"; then
29771 GTK_MODULES=gthread
29775 if test "x
$wxGTK_VERSION" != "x1
"
29779 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29784 # Check whether --enable-gtktest was given.
29785 if test "${enable_gtktest+set}" = set; then
29786 enableval=$enable_gtktest;
29792 pkg_config_args=gtk+-2.0
29793 for module in . $GTK_MODULES
29797 pkg_config_args="$pkg_config_args gthread
-2.0
"
29804 # Extract the first word of "pkg
-config", so it can be a program name with args.
29805 set dummy pkg-config; ac_word=$2
29806 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29807 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29809 echo $ECHO_N "(cached
) $ECHO_C" >&6
29811 case $PKG_CONFIG in
29813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29817 for as_dir in $PATH
29820 test -z "$as_dir" && as_dir=.
29821 for ac_exec_ext in '' $ac_executable_extensions; do
29822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29824 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29836 if test -n "$PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29840 { echo "$as_me:$LINENO: result
: no
" >&5
29841 echo "${ECHO_T}no
" >&6; }
29846 if test x$PKG_CONFIG != xno ; then
29847 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29850 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29858 min_gtk_version=2.4.0
29859 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29860 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29862 if test x$PKG_CONFIG != xno ; then
29863 ## don't try to run the test against uninstalled libtool libs
29864 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29865 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29869 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29876 if test x"$no_gtk" = x ; then
29877 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29878 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29879 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29881 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29883 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29885 if test "x
$enable_gtktest" = "xyes
" ; then
29886 ac_save_CFLAGS="$CFLAGS"
29887 ac_save_LIBS="$LIBS"
29888 CFLAGS="$CFLAGS $GTK_CFLAGS"
29889 LIBS="$GTK_LIBS $LIBS"
29891 if test "$cross_compiling" = yes; then
29892 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29894 cat >conftest.$ac_ext <<_ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29901 #include <gtk/gtk.h>
29903 #include <stdlib.h>
29908 int major, minor, micro;
29911 system ("touch conf.gtktest
");
29913 /* HP/UX 9 (%@#!) writes to sscanf strings */
29914 tmp_version = g_strdup("$min_gtk_version");
29915 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29916 printf("%s
, bad version string
\n", "$min_gtk_version");
29920 if ((gtk_major_version != $gtk_config_major_version) ||
29921 (gtk_minor_version != $gtk_config_minor_version) ||
29922 (gtk_micro_version != $gtk_config_micro_version))
29924 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29925 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29926 gtk_major_version, gtk_minor_version, gtk_micro_version);
29927 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29928 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29929 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29930 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29931 printf("*** required on your system.
\n");
29932 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29933 printf("*** to point to the correct configuration files
\n");
29935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29936 (gtk_minor_version != GTK_MINOR_VERSION) ||
29937 (gtk_micro_version != GTK_MICRO_VERSION))
29939 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29941 printf("*** library
(version
%d.
%d.
%d
)\n",
29942 gtk_major_version, gtk_minor_version, gtk_micro_version);
29946 if ((gtk_major_version > major) ||
29947 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29948 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29954 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29955 gtk_major_version, gtk_minor_version, gtk_micro_version);
29956 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29957 major, minor, micro);
29958 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29960 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29961 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29962 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29963 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29964 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29965 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29966 printf("*** so that the correct libraries are found
at run
-time))\n");
29973 rm -f conftest$ac_exeext
29974 if { (ac_try="$ac_link"
29975 case "(($ac_try" in
29976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29979 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_link") 2>&5
29982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29984 { (case "(($ac_try" in
29985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29986 *) ac_try_echo=$ac_try;;
29988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29989 (eval "$ac_try") 2>&5
29991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29992 (exit $ac_status); }; }; then
29995 echo "$as_me: program exited with status
$ac_status" >&5
29996 echo "$as_me: failed program was
:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29999 ( exit $ac_status )
30002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30006 CFLAGS="$ac_save_CFLAGS"
30007 LIBS="$ac_save_LIBS"
30010 if test "x
$no_gtk" = x ; then
30011 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30012 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30015 { echo "$as_me:$LINENO: result
: no
" >&5
30016 echo "${ECHO_T}no
" >&6; }
30017 if test "$PKG_CONFIG" = "no
" ; then
30018 echo "*** A new enough version of pkg
-config was not found.
"
30019 echo "*** See http
://pkgconfig.sourceforge.net
"
30021 if test -f conf.gtktest ; then
30024 echo "*** Could not run GTK
+ test program
, checking why...
"
30025 ac_save_CFLAGS="$CFLAGS"
30026 ac_save_LIBS="$LIBS"
30027 CFLAGS="$CFLAGS $GTK_CFLAGS"
30028 LIBS="$LIBS $GTK_LIBS"
30029 cat >conftest.$ac_ext <<_ACEOF
30032 cat confdefs.h >>conftest.$ac_ext
30033 cat >>conftest.$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30036 #include <gtk/gtk.h>
30042 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30047 rm -f conftest.$ac_objext conftest$ac_exeext
30048 if { (ac_try="$ac_link"
30049 case "(($ac_try" in
30050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30051 *) ac_try_echo=$ac_try;;
30053 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30054 (eval "$ac_link") 2>conftest.er1
30056 grep -v '^ *+' conftest.er1 >conftest.err
30058 cat conftest.err >&5
30059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30060 (exit $ac_status); } && {
30061 test -z "$ac_c_werror_flag" ||
30062 test ! -s conftest.err
30063 } && test -s conftest$ac_exeext &&
30064 $as_test_x conftest$ac_exeext; then
30065 echo "*** The
test program compiled
, but did not run. This usually means
"
30066 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30067 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30068 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30069 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30070 echo "*** is required on your system"
30072 echo "*** If you have an old version installed, it is best to remove it, although"
30073 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30075 echo "$as_me: failed program was:" >&5
30076 sed 's
/^
/| /' conftest.$ac_ext >&5
30078 echo "*** The test program failed to compile or link. See the file config.log for the"
30079 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30083 conftest$ac_exeext conftest.$ac_ext
30084 CFLAGS="$ac_save_CFLAGS"
30085 LIBS="$ac_save_LIBS"
30097 GTK_LIBS="$GTK_LIBS -lX11"
30100 if test -z "$wx_cv_lib_gtk"; then
30101 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30103 # Check whether --with-gtk-prefix was given.
30104 if test "${with_gtk_prefix+set}" = set; then
30105 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30107 gtk_config_prefix=""
30111 # Check whether --with-gtk-exec-prefix was given.
30112 if test "${with_gtk_exec_prefix+set}" = set; then
30113 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30115 gtk_config_exec_prefix=""
30118 # Check whether --enable-gtktest was given.
30119 if test "${enable_gtktest+set}" = set; then
30120 enableval=$enable_gtktest;
30126 for module in . $GTK_MODULES
30130 gtk_config_args="$gtk_config_args gthread"
30135 if test x$gtk_config_exec_prefix != x ; then
30136 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30137 if test x${GTK_CONFIG+set} != xset ; then
30138 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30141 if test x$gtk_config_prefix != x ; then
30142 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30143 if test x${GTK_CONFIG+set} != xset ; then
30144 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30148 # Extract the first word of "gtk-config", so it can be a program name with args.
30149 set dummy gtk-config; ac_word=$2
30150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30152 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30153 echo $ECHO_N "(cached) $ECHO_C" >&6
30155 case $GTK_CONFIG in
30157 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30161 for as_dir in $PATH
30164 test -z "$as_dir" && as_dir=.
30165 for ac_exec_ext in '' $ac_executable_extensions; do
30166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30167 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30175 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30179 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30180 if test -n "$GTK_CONFIG"; then
30181 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30182 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30184 { echo "$as_me:$LINENO: result: no" >&5
30185 echo "${ECHO_T}no" >&6; }
30189 min_gtk_version=1.2.7
30190 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30191 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30193 if test "$GTK_CONFIG" = "no" ; then
30196 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30197 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30198 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30199 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30200 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30201 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30202 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30203 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30204 if test "x$enable_gtktest" = "xyes" ; then
30205 ac_save_CFLAGS="$CFLAGS"
30206 ac_save_LIBS="$LIBS"
30207 CFLAGS="$CFLAGS $GTK_CFLAGS"
30208 LIBS="$GTK_LIBS $LIBS"
30210 if test "$cross_compiling" = yes; then
30211 echo $ac_n "cross compiling; assumed OK... $ac_c"
30213 cat >conftest.$ac_ext <<_ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30220 #include <gtk/gtk.h>
30222 #include <stdlib.h>
30227 int major, minor, micro;
30230 system ("touch conf.gtktest");
30232 /* HP/UX 9 (%@#!) writes to sscanf strings */
30233 tmp_version = g_strdup("$min_gtk_version");
30234 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30235 printf("%s, bad version string\n", "$min_gtk_version");
30239 if ((gtk_major_version != $gtk_config_major_version) ||
30240 (gtk_minor_version != $gtk_config_minor_version) ||
30241 (gtk_micro_version != $gtk_config_micro_version))
30243 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30244 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30245 gtk_major_version, gtk_minor_version, gtk_micro_version);
30246 printf ("*** was found! If gtk-config was correct, then it is best\n");
30247 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30248 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30249 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30250 printf("*** required on your system.\n");
30251 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30252 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30253 printf("*** before re-running configure\n");
30255 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30256 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30257 (gtk_minor_version != GTK_MINOR_VERSION) ||
30258 (gtk_micro_version != GTK_MICRO_VERSION))
30260 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30261 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30262 printf("*** library (version %d.%d.%d)\n",
30263 gtk_major_version, gtk_minor_version, gtk_micro_version);
30265 #endif /* defined (GTK_MAJOR_VERSION) ... */
30268 if ((gtk_major_version > major) ||
30269 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30270 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30276 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30277 gtk_major_version, gtk_minor_version, gtk_micro_version);
30278 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30279 major, minor, micro);
30280 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30282 printf("*** If you have already installed a sufficiently new version, this error\n");
30283 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30284 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30285 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30286 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30287 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30288 printf("*** so that the correct libraries are found at run-time))\n");
30295 rm -f conftest$ac_exeext
30296 if { (ac_try="$ac_link"
30297 case "(($ac_try" in
30298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30299 *) ac_try_echo=$ac_try;;
30301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30302 (eval "$ac_link") 2>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30306 { (case "(($ac_try" in
30307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30308 *) ac_try_echo=$ac_try;;
30310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30311 (eval "$ac_try") 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30317 echo "$as_me: program exited with status $ac_status" >&5
30318 echo "$as_me: failed program was:" >&5
30319 sed 's
/^
/| /' conftest.$ac_ext >&5
30321 ( exit $ac_status )
30324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30328 CFLAGS="$ac_save_CFLAGS"
30329 LIBS="$ac_save_LIBS"
30332 if test "x$no_gtk" = x ; then
30333 { echo "$as_me:$LINENO: result: yes" >&5
30334 echo "${ECHO_T}yes" >&6; }
30335 wx_cv_lib_gtk=1.2.7
30337 { echo "$as_me:$LINENO: result: no" >&5
30338 echo "${ECHO_T}no" >&6; }
30339 if test "$GTK_CONFIG" = "no" ; then
30340 echo "*** The gtk-config script installed by GTK could not be found"
30341 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30342 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30343 echo "*** full path to gtk-config."
30345 if test -f conf.gtktest ; then
30348 echo "*** Could not run GTK test program, checking why..."
30349 CFLAGS="$CFLAGS $GTK_CFLAGS"
30350 LIBS="$LIBS $GTK_LIBS"
30351 cat >conftest.$ac_ext <<_ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30358 #include <gtk/gtk.h>
30364 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30369 rm -f conftest.$ac_objext conftest$ac_exeext
30370 if { (ac_try="$ac_link"
30371 case "(($ac_try" in
30372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30373 *) ac_try_echo=$ac_try;;
30375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30376 (eval "$ac_link") 2>conftest.er1
30378 grep -v '^
*+' conftest.er1 >conftest.err
30380 cat conftest.err >&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } && {
30383 test -z "$ac_c_werror_flag" ||
30384 test ! -s conftest.err
30385 } && test -s conftest$ac_exeext &&
30386 $as_test_x conftest$ac_exeext; then
30387 echo "*** The test program compiled, but did not run. This usually means"
30388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30389 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30390 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30391 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30392 echo "*** is required on your system
"
30394 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30397 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30398 echo "*** came with the system with the
command"
30400 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30402 echo "$as_me: failed program was
:" >&5
30403 sed 's/^/| /' conftest.$ac_ext >&5
30405 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30406 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30407 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30408 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30412 conftest$ac_exeext conftest.$ac_ext
30413 CFLAGS="$ac_save_CFLAGS"
30414 LIBS="$ac_save_LIBS"
30426 if test -z "$wx_cv_lib_gtk"; then
30428 # Check whether --with-gtk-prefix was given.
30429 if test "${with_gtk_prefix+set}" = set; then
30430 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30432 gtk_config_prefix=""
30436 # Check whether --with-gtk-exec-prefix was given.
30437 if test "${with_gtk_exec_prefix+set}" = set; then
30438 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30440 gtk_config_exec_prefix=""
30443 # Check whether --enable-gtktest was given.
30444 if test "${enable_gtktest+set}" = set; then
30445 enableval=$enable_gtktest;
30451 for module in . $GTK_MODULES
30455 gtk_config_args="$gtk_config_args gthread
"
30460 if test x$gtk_config_exec_prefix != x ; then
30461 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30462 if test x${GTK_CONFIG+set} != xset ; then
30463 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30466 if test x$gtk_config_prefix != x ; then
30467 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30468 if test x${GTK_CONFIG+set} != xset ; then
30469 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30473 # Extract the first word of "gtk
-config", so it can be a program name with args.
30474 set dummy gtk-config; ac_word=$2
30475 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30476 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30477 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30478 echo $ECHO_N "(cached
) $ECHO_C" >&6
30480 case $GTK_CONFIG in
30482 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30486 for as_dir in $PATH
30489 test -z "$as_dir" && as_dir=.
30490 for ac_exec_ext in '' $ac_executable_extensions; do
30491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30492 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30493 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30500 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30504 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30505 if test -n "$GTK_CONFIG"; then
30506 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30507 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30509 { echo "$as_me:$LINENO: result
: no
" >&5
30510 echo "${ECHO_T}no
" >&6; }
30514 min_gtk_version=1.2.3
30515 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30516 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30518 if test "$GTK_CONFIG" = "no
" ; then
30521 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30522 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30523 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30525 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30527 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30529 if test "x
$enable_gtktest" = "xyes
" ; then
30530 ac_save_CFLAGS="$CFLAGS"
30531 ac_save_LIBS="$LIBS"
30532 CFLAGS="$CFLAGS $GTK_CFLAGS"
30533 LIBS="$GTK_LIBS $LIBS"
30535 if test "$cross_compiling" = yes; then
30536 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30538 cat >conftest.$ac_ext <<_ACEOF
30541 cat confdefs.h >>conftest.$ac_ext
30542 cat >>conftest.$ac_ext <<_ACEOF
30543 /* end confdefs.h. */
30545 #include <gtk/gtk.h>
30547 #include <stdlib.h>
30552 int major, minor, micro;
30555 system ("touch conf.gtktest
");
30557 /* HP/UX 9 (%@#!) writes to sscanf strings */
30558 tmp_version = g_strdup("$min_gtk_version");
30559 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30560 printf("%s
, bad version string
\n", "$min_gtk_version");
30564 if ((gtk_major_version != $gtk_config_major_version) ||
30565 (gtk_minor_version != $gtk_config_minor_version) ||
30566 (gtk_micro_version != $gtk_config_micro_version))
30568 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30569 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30570 gtk_major_version, gtk_minor_version, gtk_micro_version);
30571 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30572 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30573 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30574 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30575 printf("*** required on your system.
\n");
30576 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30577 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30578 printf("*** before re
-running configure
\n");
30580 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30581 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30582 (gtk_minor_version != GTK_MINOR_VERSION) ||
30583 (gtk_micro_version != GTK_MICRO_VERSION))
30585 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30586 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30587 printf("*** library
(version
%d.
%d.
%d
)\n",
30588 gtk_major_version, gtk_minor_version, gtk_micro_version);
30590 #endif /* defined (GTK_MAJOR_VERSION) ... */
30593 if ((gtk_major_version > major) ||
30594 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30595 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30601 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30602 gtk_major_version, gtk_minor_version, gtk_micro_version);
30603 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30604 major, minor, micro);
30605 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30607 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30608 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30609 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30610 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30611 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30612 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30613 printf("*** so that the correct libraries are found
at run
-time))\n");
30620 rm -f conftest$ac_exeext
30621 if { (ac_try="$ac_link"
30622 case "(($ac_try" in
30623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30624 *) ac_try_echo=$ac_try;;
30626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30627 (eval "$ac_link") 2>&5
30629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30631 { (case "(($ac_try" in
30632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30633 *) ac_try_echo=$ac_try;;
30635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30636 (eval "$ac_try") 2>&5
30638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30639 (exit $ac_status); }; }; then
30642 echo "$as_me: program exited with status
$ac_status" >&5
30643 echo "$as_me: failed program was
:" >&5
30644 sed 's/^/| /' conftest.$ac_ext >&5
30646 ( exit $ac_status )
30649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30653 CFLAGS="$ac_save_CFLAGS"
30654 LIBS="$ac_save_LIBS"
30657 if test "x
$no_gtk" = x ; then
30658 { echo "$as_me:$LINENO: result
: yes" >&5
30659 echo "${ECHO_T}yes" >&6; }
30660 wx_cv_lib_gtk=1.2.3
30662 { echo "$as_me:$LINENO: result
: no
" >&5
30663 echo "${ECHO_T}no
" >&6; }
30664 if test "$GTK_CONFIG" = "no
" ; then
30665 echo "*** The gtk
-config script installed by GTK could not be found
"
30666 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30667 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30668 echo "*** full path to gtk
-config.
"
30670 if test -f conf.gtktest ; then
30673 echo "*** Could not run GTK
test program
, checking why...
"
30674 CFLAGS="$CFLAGS $GTK_CFLAGS"
30675 LIBS="$LIBS $GTK_LIBS"
30676 cat >conftest.$ac_ext <<_ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30683 #include <gtk/gtk.h>
30689 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30694 rm -f conftest.$ac_objext conftest$ac_exeext
30695 if { (ac_try="$ac_link"
30696 case "(($ac_try" in
30697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30698 *) ac_try_echo=$ac_try;;
30700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30701 (eval "$ac_link") 2>conftest.er1
30703 grep -v '^ *+' conftest.er1 >conftest.err
30705 cat conftest.err >&5
30706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30707 (exit $ac_status); } && {
30708 test -z "$ac_c_werror_flag" ||
30709 test ! -s conftest.err
30710 } && test -s conftest$ac_exeext &&
30711 $as_test_x conftest$ac_exeext; then
30712 echo "*** The
test program compiled
, but did not run. This usually means
"
30713 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30714 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30715 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30716 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30717 echo "*** is required on your system"
30719 echo "*** If you have an old version installed, it is best to remove it, although"
30720 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30722 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30723 echo "*** came with the system with the command"
30725 echo "*** rpm --erase --nodeps gtk gtk-devel"
30727 echo "$as_me: failed program was:" >&5
30728 sed 's
/^
/| /' conftest.$ac_ext >&5
30730 echo "*** The test program failed to compile or link. See the file config.log for the"
30731 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30732 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30733 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30737 conftest$ac_exeext conftest.$ac_ext
30738 CFLAGS="$ac_save_CFLAGS"
30739 LIBS="$ac_save_LIBS"
30754 if test -z "$wx_cv_lib_gtk"; then
30757 wx_cv_cflags_gtk=$GTK_CFLAGS
30758 wx_cv_libs_gtk=$GTK_LIBS
30765 if test "$gtk_version_cached" = 1; then
30766 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30767 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30770 case "$wx_cv_lib_gtk" in
30779 *) { { echo "$as_me:$LINENO: error:
30780 The development files for GTK+ were not found. For GTK+ 2, please
30781 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30782 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30783 and that the version is 1.2.3 or above. Also check that the
30784 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30785 --libs' are in the LD_LIBRARY_PATH or equivalent.
30787 echo "$as_me: error:
30788 The development files for GTK+ were not found. For GTK+ 2, please
30789 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30790 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30791 and that the version is 1.2.3 or above. Also check that the
30792 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30793 --libs' are in the LD_LIBRARY_PATH or equivalent.
30795 { (exit 1); exit 1; }; }
30799 if test "$WXGTK2" = 1; then
30800 save_CFLAGS="$CFLAGS"
30802 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30803 LIBS="$LIBS $wx_cv_libs_gtk"
30805 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30806 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30807 cat >conftest.$ac_ext <<_ACEOF
30810 cat confdefs.h >>conftest.$ac_ext
30811 cat >>conftest.$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30814 #include <gtk/gtk.h>
30820 #if !GTK_CHECK_VERSION(2,18,0)
30828 rm -f conftest.$ac_objext
30829 if { (ac_try="$ac_compile"
30830 case "(($ac_try" in
30831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_compile") 2>conftest.er1
30837 grep -v '^
*+' conftest.er1 >conftest.err
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } && {
30842 test -z "$ac_c_werror_flag" ||
30843 test ! -s conftest.err
30844 } && test -s conftest.$ac_objext; then
30846 cat >>confdefs.h <<\_ACEOF
30847 #define __WXGTK218__ 1
30850 cat >>confdefs.h <<\_ACEOF
30851 #define __WXGTK210__ 1
30854 cat >>confdefs.h <<\_ACEOF
30855 #define __WXGTK26__ 1
30858 { echo "$as_me:$LINENO: result: yes" >&5
30859 echo "${ECHO_T}yes" >&6; }
30863 echo "$as_me: failed program was:" >&5
30864 sed 's
/^
/| /' conftest.$ac_ext >&5
30867 { echo "$as_me:$LINENO: result: no" >&5
30868 echo "${ECHO_T}no" >&6; }
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30875 if test "$ac_wxgtk218" = 0; then
30876 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30877 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30878 cat >conftest.$ac_ext <<_ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30885 #include <gtk/gtk.h>
30891 #if !GTK_CHECK_VERSION(2,10,0)
30899 rm -f conftest.$ac_objext
30900 if { (ac_try="$ac_compile"
30901 case "(($ac_try" in
30902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30903 *) ac_try_echo=$ac_try;;
30905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30906 (eval "$ac_compile") 2>conftest.er1
30908 grep -v '^
*+' conftest.er1 >conftest.err
30910 cat conftest.err >&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); } && {
30913 test -z "$ac_c_werror_flag" ||
30914 test ! -s conftest.err
30915 } && test -s conftest.$ac_objext; then
30917 cat >>confdefs.h <<\_ACEOF
30918 #define __WXGTK210__ 1
30921 cat >>confdefs.h <<\_ACEOF
30922 #define __WXGTK26__ 1
30925 { echo "$as_me:$LINENO: result: yes" >&5
30926 echo "${ECHO_T}yes" >&6; }
30930 echo "$as_me: failed program was:" >&5
30931 sed 's
/^
/| /' conftest.$ac_ext >&5
30934 { echo "$as_me:$LINENO: result: no" >&5
30935 echo "${ECHO_T}no" >&6; }
30940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30942 if test "$ac_wxgtk210" = 0; then
30943 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30944 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30945 cat >conftest.$ac_ext <<_ACEOF
30948 cat confdefs.h >>conftest.$ac_ext
30949 cat >>conftest.$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30952 #include <gtk/gtk.h>
30958 #if !GTK_CHECK_VERSION(2,6,0)
30966 rm -f conftest.$ac_objext
30967 if { (ac_try="$ac_compile"
30968 case "(($ac_try" in
30969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30970 *) ac_try_echo=$ac_try;;
30972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30973 (eval "$ac_compile") 2>conftest.er1
30975 grep -v '^
*+' conftest.er1 >conftest.err
30977 cat conftest.err >&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); } && {
30980 test -z "$ac_c_werror_flag" ||
30981 test ! -s conftest.err
30982 } && test -s conftest.$ac_objext; then
30984 cat >>confdefs.h <<\_ACEOF
30985 #define __WXGTK26__ 1
30988 { echo "$as_me:$LINENO: result: yes" >&5
30989 echo "${ECHO_T}yes" >&6; }
30993 echo "$as_me: failed program was:" >&5
30994 sed 's
/^
/| /' conftest.$ac_ext >&5
30997 { echo "$as_me:$LINENO: result: no" >&5
30998 echo "${ECHO_T}no" >&6; }
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 CFLAGS="$save_CFLAGS"
31010 if test "$wxUSE_UNICODE" = "yes"; then
31011 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31012 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31016 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31017 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31018 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31021 ac_check_lib_save_LIBS=$LIBS
31023 cat >conftest.$ac_ext <<_ACEOF
31026 cat confdefs.h >>conftest.$ac_ext
31027 cat >>conftest.$ac_ext <<_ACEOF
31028 /* end confdefs.h. */
31030 /* Override any GCC internal prototype to avoid an error.
31031 Use char because int might match the return type of a GCC
31032 builtin and then its argument prototype would still apply. */
31036 char gdk_im_open ();
31040 return gdk_im_open ();
31045 rm -f conftest.$ac_objext conftest$ac_exeext
31046 if { (ac_try="$ac_link"
31047 case "(($ac_try" in
31048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31049 *) ac_try_echo=$ac_try;;
31051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31052 (eval "$ac_link") 2>conftest.er1
31054 grep -v '^
*+' conftest.er1 >conftest.err
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } && {
31059 test -z "$ac_c_werror_flag" ||
31060 test ! -s conftest.err
31061 } && test -s conftest$ac_exeext &&
31062 $as_test_x conftest$ac_exeext; then
31063 ac_cv_lib_gdk_gdk_im_open=yes
31065 echo "$as_me: failed program was:" >&5
31066 sed 's
/^
/| /' conftest.$ac_ext >&5
31068 ac_cv_lib_gdk_gdk_im_open=no
31071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31072 conftest$ac_exeext conftest.$ac_ext
31073 LIBS=$ac_check_lib_save_LIBS
31075 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31076 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31077 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31078 cat >>confdefs.h <<\_ACEOF
31085 if test "$USE_DARWIN" != 1; then
31087 for ac_func in poll
31089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31093 echo $ECHO_N "(cached) $ECHO_C" >&6
31095 cat >conftest.$ac_ext <<_ACEOF
31098 cat confdefs.h >>conftest.$ac_ext
31099 cat >>conftest.$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31103 #define $ac_func innocuous_$ac_func
31105 /* System header to define __stub macros and hopefully few prototypes,
31106 which can conflict with char $ac_func (); below.
31107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31108 <limits.h> exists even on freestanding compilers. */
31111 # include <limits.h>
31113 # include <assert.h>
31118 /* Override any GCC internal prototype to avoid an error.
31119 Use char because int might match the return type of a GCC
31120 builtin and then its argument prototype would still apply. */
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined __stub_$ac_func || defined __stub___$ac_func
31135 return $ac_func ();
31140 rm -f conftest.$ac_objext conftest$ac_exeext
31141 if { (ac_try="$ac_link"
31142 case "(($ac_try" in
31143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31144 *) ac_try_echo=$ac_try;;
31146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31147 (eval "$ac_link") 2>conftest.er1
31149 grep -v '^
*+' conftest.er1 >conftest.err
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && {
31154 test -z "$ac_c_werror_flag" ||
31155 test ! -s conftest.err
31156 } && test -s conftest$ac_exeext &&
31157 $as_test_x conftest$ac_exeext; then
31158 eval "$as_ac_var=yes"
31160 echo "$as_me: failed program was:" >&5
31161 sed 's
/^
/| /' conftest.$ac_ext >&5
31163 eval "$as_ac_var=no"
31166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31167 conftest$ac_exeext conftest.$ac_ext
31169 ac_res=`eval echo '${'$as_ac_var'}'`
31170 { echo "$as_me:$LINENO: result: $ac_res" >&5
31171 echo "${ECHO_T}$ac_res" >&6; }
31172 if test `eval echo '${'$as_ac_var'}'` = yes; then
31173 cat >>confdefs.h <<_ACEOF
31174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31183 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31184 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31186 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31188 AFMINSTALL=afminstall
31192 if test "$wxUSE_GPE" = "yes"; then
31193 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31194 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31197 for ac_dir in $SEARCH_LIB
31199 for ac_extension in a so sl dylib dll.a; do
31200 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31201 ac_find_libraries=$ac_dir
31207 if test "$ac_find_libraries" != "" ; then
31209 if test "$ac_find_libraries" = "default location"; then
31212 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31214 if test $result = 0; then
31217 ac_path_to_link=" -L$ac_find_libraries"
31221 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31223 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31224 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31226 { echo "$as_me:$LINENO: result: not found" >&5
31227 echo "${ECHO_T}not found" >&6; }
31233 if test "$wxUSE_MGL" = 1; then
31234 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31235 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31236 if test "x$MGL_ROOT" = x ; then
31237 { echo "$as_me:$LINENO: result: not found" >&5
31238 echo "${ECHO_T}not found" >&6; }
31239 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31240 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31241 { (exit 1); exit 1; }; }
31243 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31244 echo "${ECHO_T}$MGL_ROOT" >&6; }
31247 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31248 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31251 if test "x$wxUSE_SHARED" = xyes ; then
31252 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31254 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31258 mgl_os_candidates="dos32/dj2"
31261 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31262 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31263 { (exit 1); exit 1; }; }
31269 for mgl_os_i in $mgl_os_candidates ; do
31270 if test "x$mgl_os" = x ; then
31271 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31272 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31273 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31278 if test "x$mgl_lib_type" = x ; then
31279 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31280 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31281 mgl_lib_type=release
31288 if test "x$mgl_os" = x ; then
31289 { echo "$as_me:$LINENO: result: not found" >&5
31290 echo "${ECHO_T}not found" >&6; }
31291 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31292 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31293 { (exit 1); exit 1; }; }
31295 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31296 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31298 wxUSE_UNIVERSAL="yes"
31300 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31301 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31303 AFMINSTALL=afminstall
31308 if test "$wxUSE_DFB" = 1; then
31311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31312 if test -n "$ac_tool_prefix"; then
31313 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31314 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31320 case $PKG_CONFIG in
31322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31326 for as_dir in $PATH
31329 test -z "$as_dir" && as_dir=.
31330 for ac_exec_ext in '' $ac_executable_extensions; do
31331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31343 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31344 if test -n "$PKG_CONFIG"; then
31345 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31348 { echo "$as_me:$LINENO: result: no" >&5
31349 echo "${ECHO_T}no" >&6; }
31354 if test -z "$ac_cv_path_PKG_CONFIG"; then
31355 ac_pt_PKG_CONFIG=$PKG_CONFIG
31356 # Extract the first word of "pkg-config", so it can be a program name with args.
31357 set dummy pkg-config; ac_word=$2
31358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31360 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 case $ac_pt_PKG_CONFIG in
31365 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31369 for as_dir in $PATH
31372 test -z "$as_dir" && as_dir=.
31373 for ac_exec_ext in '' $ac_executable_extensions; do
31374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31375 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31386 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31387 if test -n "$ac_pt_PKG_CONFIG"; then
31388 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31389 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31391 { echo "$as_me:$LINENO: result: no" >&5
31392 echo "${ECHO_T}no" >&6; }
31395 if test "x$ac_pt_PKG_CONFIG" = x; then
31398 case $cross_compiling:$ac_tool_warned in
31400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31401 whose name does not start with the host triplet. If you think this
31402 configuration is useful to you, please write to autoconf@gnu.org." >&5
31403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31404 whose name does not start with the host triplet. If you think this
31405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31406 ac_tool_warned=yes ;;
31408 PKG_CONFIG=$ac_pt_PKG_CONFIG
31411 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31415 if test -n "$PKG_CONFIG"; then
31416 _pkg_min_version=0.9.0
31417 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31418 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31419 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31420 { echo "$as_me:$LINENO: result: yes" >&5
31421 echo "${ECHO_T}yes" >&6; }
31423 { echo "$as_me:$LINENO: result: no" >&5
31424 echo "${ECHO_T}no" >&6; }
31432 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31433 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31435 if test -n "$PKG_CONFIG"; then
31436 if test -n "$DIRECTFB_CFLAGS"; then
31437 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31439 if test -n "$PKG_CONFIG" && \
31440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31441 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); }; then
31445 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31453 if test -n "$PKG_CONFIG"; then
31454 if test -n "$DIRECTFB_LIBS"; then
31455 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31457 if test -n "$PKG_CONFIG" && \
31458 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31459 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; then
31463 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31474 if test $pkg_failed = yes; then
31476 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31477 _pkg_short_errors_supported=yes
31479 _pkg_short_errors_supported=no
31481 if test $_pkg_short_errors_supported = yes; then
31482 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31484 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31486 # Put the nasty error message in config.log where it belongs
31487 echo "$DIRECTFB_PKG_ERRORS" >&5
31490 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31491 echo "$as_me: error: DirectFB not found." >&2;}
31492 { (exit 1); exit 1; }; }
31495 elif test $pkg_failed = untried; then
31497 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31498 echo "$as_me: error: DirectFB not found." >&2;}
31499 { (exit 1); exit 1; }; }
31503 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31504 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31505 { echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6; }
31508 wxUSE_UNIVERSAL="yes"
31509 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31510 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31517 if test "$wxUSE_MICROWIN" = 1; then
31518 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31519 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31520 if test "x$MICROWINDOWS" = x ; then
31521 { echo "$as_me:$LINENO: result: not found" >&5
31522 echo "${ECHO_T}not found" >&6; }
31523 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31524 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31525 { (exit 1); exit 1; }; }
31527 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31528 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31531 if test -f $MICROWINDOWS/lib/libmwin.a; then
31532 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31533 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31535 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31536 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31537 { (exit 1); exit 1; }; }
31540 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31541 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31543 wxUSE_UNIVERSAL="yes"
31545 AFMINSTALL=afminstall
31547 GUIDIST=MICROWIN_DIST
31549 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31552 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31553 { echo "$as_me:$LINENO: checking for X" >&5
31554 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31557 # Check whether --with-x was given.
31558 if test "${with_x+set}" = set; then
31562 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31563 if test "x$with_x" = xno; then
31564 # The user explicitly disabled X.
31567 case $x_includes,$x_libraries in #(
31568 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31569 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31570 { (exit 1); exit 1; }; };; #(
31571 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 # One or both of the vars are not set, and there is no cached value.
31575 ac_x_includes=no ac_x_libraries=no
31576 rm -f -r conftest.dir
31577 if mkdir conftest.dir; then
31579 cat >Imakefile <<'_ACEOF'
31581 @echo incroot='${INCROOT}'
31583 @echo usrlibdir='${USRLIBDIR}'
31585 @echo libdir='${LIBDIR}'
31587 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31588 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31589 for ac_var in incroot usrlibdir libdir; do
31590 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31592 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31593 for ac_extension in a so sl; do
31594 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31595 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31596 ac_im_usrlibdir=$ac_im_libdir; break
31599 # Screen out bogus values from the imake configuration. They are
31600 # bogus both because they are the default anyway, and because
31601 # using them would break gcc on systems where it needs fixed includes.
31602 case $ac_im_incroot in
31603 /usr/include) ac_x_includes= ;;
31604 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31606 case $ac_im_usrlibdir in
31607 /usr/lib | /lib) ;;
31608 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31612 rm -f -r conftest.dir
31615 # Standard set of common directories for X headers.
31616 # Check X11 before X11Rn because it is often a symlink to the current release.
31628 /usr
/local
/X
11/include
31629 /usr
/local
/X
11R
6/include
31630 /usr
/local
/X
11R
5/include
31631 /usr
/local
/X
11R
4/include
31633 /usr
/local
/include
/X11
31634 /usr
/local
/include
/X11R6
31635 /usr
/local
/include
/X11R5
31636 /usr
/local
/include
/X11R4
31640 /usr
/XFree
86/include
/X11
31644 /usr
/unsupported
/include
31645 /usr
/athena
/include
31646 /usr
/local
/x
11r
5/include
31647 /usr
/lpp
/Xamples
/include
31649 /usr
/openwin
/include
31650 /usr
/openwin
/share
/include
'
31652 if test "$ac_x_includes" = no; then
31653 # Guess where to find include files, by looking for Xlib.h.
31654 # First, try using that file with no special directory specified.
31655 cat >conftest.$ac_ext <<_ACEOF
31658 cat confdefs.h >>conftest.$ac_ext
31659 cat >>conftest.$ac_ext <<_ACEOF
31660 /* end confdefs.h. */
31661 #include <X11/Xlib.h>
31663 if { (ac_try="$ac_cpp conftest.$ac_ext"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31671 grep -v '^
*+' conftest.er1 >conftest.err
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } >/dev/null && {
31676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31679 # We can compile using X headers with no special include directory.
31682 echo "$as_me: failed program was:" >&5
31683 sed 's
/^
/| /' conftest.$ac_ext >&5
31685 for ac_dir in $ac_x_header_dirs; do
31686 if test -r "$ac_dir/X11/Xlib.h"; then
31687 ac_x_includes=$ac_dir
31693 rm -f conftest.err conftest.$ac_ext
31694 fi # $ac_x_includes = no
31696 if test "$ac_x_libraries" = no; then
31697 # Check for the libraries.
31698 # See if we find them without any special options.
31699 # Don't add to
$LIBS permanently.
31702 cat >conftest.
$ac_ext <<_ACEOF
31705 cat confdefs.h
>>conftest.
$ac_ext
31706 cat >>conftest.
$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31708 #include <X11/Xlib.h>
31717 rm -f conftest.
$ac_objext conftest
$ac_exeext
31718 if { (ac_try
="$ac_link"
31719 case "(($ac_try" in
31720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31721 *) ac_try_echo=$ac_try;;
31723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31724 (eval "$ac_link") 2>conftest.er1
31726 grep -v '^ *+' conftest.er1 >conftest.err
31728 cat conftest.err >&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); } && {
31731 test -z "$ac_c_werror_flag" ||
31732 test ! -s conftest.err
31733 } && test -s conftest$ac_exeext &&
31734 $as_test_x conftest$ac_exeext; then
31736 # We can link X programs with no special library path.
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31743 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31745 # Don't even attempt the hair of trying to link an X program!
31746 for ac_extension in a so sl; do
31747 if test -r "$ac_dir/libX11.$ac_extension"; then
31748 ac_x_libraries=$ac_dir
31755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31756 conftest$ac_exeext conftest.$ac_ext
31757 fi # $ac_x_libraries = no
31759 case $ac_x_includes,$ac_x_libraries in #(
31760 no,* | *,no | *\'*)
31761 # Didn't find X, or a directory has "'" in its name.
31762 ac_cv_have_x="have_x=no";; #(
31764 # Record where we found X for the cache.
31765 ac_cv_have_x="have_x=yes\
31766 ac_x_includes='$ac_x_includes'\
31767 ac_x_libraries='$ac_x_libraries'"
31773 eval "$ac_cv_have_x"
31776 if test "$have_x" != yes; then
31777 { echo "$as_me:$LINENO: result: $have_x" >&5
31778 echo "${ECHO_T}$have_x" >&6; }
31781 # If each of the values was on the command line, it overrides each guess.
31782 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31783 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31784 # Update the cache value to reflect the command line values.
31785 ac_cv_have_x="have_x=yes\
31786 ac_x_includes='$x_includes'\
31787 ac_x_libraries='$x_libraries'"
31788 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31789 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31792 if test "$no_x" = yes; then
31793 # Not all programs may use this symbol, but it does not hurt to define it.
31795 cat >>confdefs.h <<\_ACEOF
31796 #define X_DISPLAY_MISSING 1
31799 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31801 if test -n "$x_includes"; then
31802 X_CFLAGS="$X_CFLAGS -I$x_includes"
31805 # It would also be nice to do this for all -L options, not just this one.
31806 if test -n "$x_libraries"; then
31807 X_LIBS="$X_LIBS -L$x_libraries"
31808 # For Solaris; some versions of Sun CC require a space after -R and
31809 # others require no space. Words are not sufficient . . . .
31810 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31811 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31812 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31813 ac_xsave_c_werror_flag=$ac_c_werror_flag
31814 ac_c_werror_flag=yes
31815 cat >conftest.$ac_ext <<_ACEOF
31818 cat confdefs.h >>conftest.$ac_ext
31819 cat >>conftest.$ac_ext <<_ACEOF
31820 /* end confdefs.h. */
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (ac_try="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31834 *) ac_try_echo
=$ac_try;;
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31839 grep -v '^ *+' conftest.er1
>conftest.err
31841 cat conftest.err
>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest
$ac_exeext &&
31847 $as_test_x conftest
$ac_exeext; then
31848 { echo "$as_me:$LINENO: result: no" >&5
31849 echo "${ECHO_T}no" >&6; }
31850 X_LIBS
="$X_LIBS -R$x_libraries"
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.
$ac_ext >&5
31855 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31856 cat >conftest.
$ac_ext <<_ACEOF
31859 cat confdefs.h
>>conftest.
$ac_ext
31860 cat >>conftest.
$ac_ext <<_ACEOF
31861 /* end confdefs.h. */
31871 rm -f conftest.
$ac_objext conftest
$ac_exeext
31872 if { (ac_try
="$ac_link"
31873 case "(($ac_try" in
31874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31875 *) ac_try_echo=$ac_try;;
31877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31878 (eval "$ac_link") 2>conftest.er1
31880 grep -v '^ *+' conftest.er1 >conftest.err
31882 cat conftest.err >&5
31883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31884 (exit $ac_status); } && {
31885 test -z "$ac_c_werror_flag" ||
31886 test ! -s conftest.err
31887 } && test -s conftest$ac_exeext &&
31888 $as_test_x conftest$ac_exeext; then
31889 { echo "$as_me:$LINENO: result: yes" >&5
31890 echo "${ECHO_T}yes" >&6; }
31891 X_LIBS="$X_LIBS -R $x_libraries"
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31896 { echo "$as_me:$LINENO: result: neither works" >&5
31897 echo "${ECHO_T}neither works" >&6; }
31900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31901 conftest$ac_exeext conftest.$ac_ext
31904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31905 conftest$ac_exeext conftest.$ac_ext
31906 ac_c_werror_flag=$ac_xsave_c_werror_flag
31907 LIBS=$ac_xsave_LIBS
31910 # Check for system-dependent libraries X programs must link with.
31911 # Do this before checking for the system-independent R6 libraries
31912 # (-lICE), since we may need -lsocket or whatever for X linking.
31914 if test "$ISC" = yes; then
31915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31917 # Martyn Johnson says this is needed for Ultrix, if the X
31918 # libraries were built with DECnet support. And Karl Berry says
31919 # the Alpha needs dnet_stub (dnet does not exist).
31920 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31921 cat >conftest.$ac_ext <<_ACEOF
31924 cat confdefs.h >>conftest.$ac_ext
31925 cat >>conftest.$ac_ext <<_ACEOF
31926 /* end confdefs.h. */
31928 /* Override any GCC internal prototype to avoid an error.
31929 Use char because int might match the return type of a GCC
31930 builtin and then its argument prototype would still apply. */
31934 char XOpenDisplay ();
31938 return XOpenDisplay ();
31943 rm -f conftest.$ac_objext conftest$ac_exeext
31944 if { (ac_try="$ac_link"
31945 case "(($ac_try" in
31946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31947 *) ac_try_echo
=$ac_try;;
31949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31950 (eval "$ac_link") 2>conftest.er1
31952 grep -v '^ *+' conftest.er1
>conftest.err
31954 cat conftest.err
>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } && {
31957 test -z "$ac_c_werror_flag" ||
31958 test ! -s conftest.err
31959 } && test -s conftest
$ac_exeext &&
31960 $as_test_x conftest
$ac_exeext; then
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.
$ac_ext >&5
31966 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31967 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31968 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 ac_check_lib_save_LIBS
=$LIBS
31972 LIBS
="-ldnet $LIBS"
31973 cat >conftest.
$ac_ext <<_ACEOF
31976 cat confdefs.h
>>conftest.
$ac_ext
31977 cat >>conftest.
$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31980 /* Override any GCC internal prototype to avoid an error.
31981 Use char because int might match the return type of a GCC
31982 builtin and then its argument prototype would still apply. */
31990 return dnet_ntoa ();
31995 rm -f conftest.
$ac_objext conftest
$ac_exeext
31996 if { (ac_try
="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32004 grep -v '^ *+' conftest.er1 >conftest.err
32006 cat conftest.err >&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest$ac_exeext &&
32012 $as_test_x conftest$ac_exeext; then
32013 ac_cv_lib_dnet_dnet_ntoa=yes
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32018 ac_cv_lib_dnet_dnet_ntoa=no
32021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32022 conftest$ac_exeext conftest.$ac_ext
32023 LIBS=$ac_check_lib_save_LIBS
32025 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32026 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32027 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32028 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32031 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32032 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32033 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32034 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32035 echo $ECHO_N "(cached) $ECHO_C" >&6
32037 ac_check_lib_save_LIBS=$LIBS
32038 LIBS="-ldnet_stub $LIBS"
32039 cat >conftest.$ac_ext <<_ACEOF
32042 cat confdefs.h >>conftest.$ac_ext
32043 cat >>conftest.$ac_ext <<_ACEOF
32044 /* end confdefs.h. */
32046 /* Override any GCC internal prototype to avoid an error.
32047 Use char because int might match the return type of a GCC
32048 builtin and then its argument prototype would still apply. */
32056 return dnet_ntoa ();
32061 rm -f conftest.$ac_objext conftest$ac_exeext
32062 if { (ac_try="$ac_link"
32063 case "(($ac_try" in
32064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32065 *) ac_try_echo
=$ac_try;;
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_link") 2>conftest.er1
32070 grep -v '^ *+' conftest.er1
>conftest.err
32072 cat conftest.err
>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest
$ac_exeext &&
32078 $as_test_x conftest
$ac_exeext; then
32079 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.
$ac_ext >&5
32084 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32088 conftest
$ac_exeext conftest.
$ac_ext
32089 LIBS
=$ac_check_lib_save_LIBS
32091 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32092 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32093 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32101 conftest
$ac_exeext conftest.
$ac_ext
32102 LIBS
="$ac_xsave_LIBS"
32104 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32105 # to get the SysV transport functions.
32106 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32108 # The nsl library prevents programs from opening the X display
32109 # on Irix 5.2, according to T.E. Dickey.
32110 # The functions gethostbyname, getservbyname, and inet_addr are
32111 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32112 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32113 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32114 if test "${ac_cv_func_gethostbyname+set}" = set; then
32115 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 cat >conftest.
$ac_ext <<_ACEOF
32120 cat confdefs.h
>>conftest.
$ac_ext
32121 cat >>conftest.
$ac_ext <<_ACEOF
32122 /* end confdefs.h. */
32123 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32125 #define gethostbyname innocuous_gethostbyname
32127 /* System header to define __stub macros and hopefully few prototypes,
32128 which can conflict with char gethostbyname (); below.
32129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32130 <limits.h> exists even on freestanding compilers. */
32133 # include <limits.h>
32135 # include <assert.h>
32138 #undef gethostbyname
32140 /* Override any GCC internal prototype to avoid an error.
32141 Use char because int might match the return type of a GCC
32142 builtin and then its argument prototype would still apply. */
32146 char gethostbyname ();
32147 /* The GNU C library defines this for functions which it implements
32148 to always fail with ENOSYS. Some functions are actually named
32149 something starting with __ and the normal name is an alias. */
32150 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32157 return gethostbyname ();
32162 rm -f conftest.
$ac_objext conftest
$ac_exeext
32163 if { (ac_try
="$ac_link"
32164 case "(($ac_try" in
32165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32166 *) ac_try_echo=$ac_try;;
32168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32169 (eval "$ac_link") 2>conftest.er1
32171 grep -v '^ *+' conftest.er1 >conftest.err
32173 cat conftest.err >&5
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); } && {
32176 test -z "$ac_c_werror_flag" ||
32177 test ! -s conftest.err
32178 } && test -s conftest$ac_exeext &&
32179 $as_test_x conftest$ac_exeext; then
32180 ac_cv_func_gethostbyname=yes
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32185 ac_cv_func_gethostbyname=no
32188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32189 conftest$ac_exeext conftest.$ac_ext
32191 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32192 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32194 if test $ac_cv_func_gethostbyname = no; then
32195 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32196 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32197 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32198 echo $ECHO_N "(cached) $ECHO_C" >&6
32200 ac_check_lib_save_LIBS=$LIBS
32202 cat >conftest.$ac_ext <<_ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32209 /* Override any GCC internal prototype to avoid an error.
32210 Use char because int might match the return type of a GCC
32211 builtin and then its argument prototype would still apply. */
32215 char gethostbyname ();
32219 return gethostbyname ();
32224 rm -f conftest.$ac_objext conftest$ac_exeext
32225 if { (ac_try="$ac_link"
32226 case "(($ac_try" in
32227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32228 *) ac_try_echo
=$ac_try;;
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231 (eval "$ac_link") 2>conftest.er1
32233 grep -v '^ *+' conftest.er1
>conftest.err
32235 cat conftest.err
>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } && {
32238 test -z "$ac_c_werror_flag" ||
32239 test ! -s conftest.err
32240 } && test -s conftest
$ac_exeext &&
32241 $as_test_x conftest
$ac_exeext; then
32242 ac_cv_lib_nsl_gethostbyname
=yes
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.
$ac_ext >&5
32247 ac_cv_lib_nsl_gethostbyname
=no
32250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32251 conftest
$ac_exeext conftest.
$ac_ext
32252 LIBS
=$ac_check_lib_save_LIBS
32254 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32255 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32256 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32260 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32261 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32262 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32263 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 ac_check_lib_save_LIBS
=$LIBS
32268 cat >conftest.
$ac_ext <<_ACEOF
32271 cat confdefs.h
>>conftest.
$ac_ext
32272 cat >>conftest.
$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32275 /* Override any GCC internal prototype to avoid an error.
32276 Use char because int might match the return type of a GCC
32277 builtin and then its argument prototype would still apply. */
32281 char gethostbyname ();
32285 return gethostbyname ();
32290 rm -f conftest.
$ac_objext conftest
$ac_exeext
32291 if { (ac_try
="$ac_link"
32292 case "(($ac_try" in
32293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32294 *) ac_try_echo=$ac_try;;
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_link") 2>conftest.er1
32299 grep -v '^ *+' conftest.er1 >conftest.err
32301 cat conftest.err >&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } && {
32304 test -z "$ac_c_werror_flag" ||
32305 test ! -s conftest.err
32306 } && test -s conftest$ac_exeext &&
32307 $as_test_x conftest$ac_exeext; then
32308 ac_cv_lib_bsd_gethostbyname=yes
32310 echo "$as_me: failed program was:" >&5
32311 sed 's/^/| /' conftest.$ac_ext >&5
32313 ac_cv_lib_bsd_gethostbyname=no
32316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32317 conftest$ac_exeext conftest.$ac_ext
32318 LIBS=$ac_check_lib_save_LIBS
32320 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32321 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32322 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32329 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32330 # socket/setsockopt and other routines are undefined under SCO ODT
32331 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32332 # on later versions), says Simon Leinen: it contains gethostby*
32333 # variants that don't use the name server (or something). -lsocket
32334 # must be given before -lnsl if both are needed. We assume that
32335 # if connect needs -lnsl, so does gethostbyname.
32336 { echo "$as_me:$LINENO: checking for connect" >&5
32337 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32338 if test "${ac_cv_func_connect+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32341 cat >conftest.$ac_ext <<_ACEOF
32344 cat confdefs.h >>conftest.$ac_ext
32345 cat >>conftest.$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32347 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32349 #define connect innocuous_connect
32351 /* System header to define __stub macros and hopefully few prototypes,
32352 which can conflict with char connect (); below.
32353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32354 <limits.h> exists even on freestanding compilers. */
32357 # include <limits.h>
32359 # include <assert.h>
32364 /* Override any GCC internal prototype to avoid an error.
32365 Use char because int might match the return type of a GCC
32366 builtin and then its argument prototype would still apply. */
32371 /* The GNU C library defines this for functions which it implements
32372 to always fail with ENOSYS. Some functions are actually named
32373 something starting with __ and the normal name is an alias. */
32374 #if defined __stub_connect || defined __stub___connect
32386 rm -f conftest.$ac_objext conftest$ac_exeext
32387 if { (ac_try="$ac_link"
32388 case "(($ac_try" in
32389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32390 *) ac_try_echo
=$ac_try;;
32392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32393 (eval "$ac_link") 2>conftest.er1
32395 grep -v '^ *+' conftest.er1
>conftest.err
32397 cat conftest.err
>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } && {
32400 test -z "$ac_c_werror_flag" ||
32401 test ! -s conftest.err
32402 } && test -s conftest
$ac_exeext &&
32403 $as_test_x conftest
$ac_exeext; then
32404 ac_cv_func_connect
=yes
32406 echo "$as_me: failed program was:" >&5
32407 sed 's/^/| /' conftest.
$ac_ext >&5
32409 ac_cv_func_connect
=no
32412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32413 conftest
$ac_exeext conftest.
$ac_ext
32415 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32416 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32418 if test $ac_cv_func_connect = no
; then
32419 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32420 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32421 if test "${ac_cv_lib_socket_connect+set}" = set; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 ac_check_lib_save_LIBS
=$LIBS
32425 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32426 cat >conftest.
$ac_ext <<_ACEOF
32429 cat confdefs.h
>>conftest.
$ac_ext
32430 cat >>conftest.
$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32433 /* Override any GCC internal prototype to avoid an error.
32434 Use char because int might match the return type of a GCC
32435 builtin and then its argument prototype would still apply. */
32448 rm -f conftest.
$ac_objext conftest
$ac_exeext
32449 if { (ac_try
="$ac_link"
32450 case "(($ac_try" in
32451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32452 *) ac_try_echo=$ac_try;;
32454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32455 (eval "$ac_link") 2>conftest.er1
32457 grep -v '^ *+' conftest.er1 >conftest.err
32459 cat conftest.err >&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); } && {
32462 test -z "$ac_c_werror_flag" ||
32463 test ! -s conftest.err
32464 } && test -s conftest$ac_exeext &&
32465 $as_test_x conftest$ac_exeext; then
32466 ac_cv_lib_socket_connect=yes
32468 echo "$as_me: failed program was:" >&5
32469 sed 's/^/| /' conftest.$ac_ext >&5
32471 ac_cv_lib_socket_connect=no
32474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32475 conftest$ac_exeext conftest.$ac_ext
32476 LIBS=$ac_check_lib_save_LIBS
32478 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32479 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32480 if test $ac_cv_lib_socket_connect = yes; then
32481 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32486 # Guillermo Gomez says -lposix is necessary on A/UX.
32487 { echo "$as_me:$LINENO: checking for remove" >&5
32488 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32489 if test "${ac_cv_func_remove+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32492 cat >conftest.$ac_ext <<_ACEOF
32495 cat confdefs.h >>conftest.$ac_ext
32496 cat >>conftest.$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32498 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32500 #define remove innocuous_remove
32502 /* System header to define __stub macros and hopefully few prototypes,
32503 which can conflict with char remove (); below.
32504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32505 <limits.h> exists even on freestanding compilers. */
32508 # include <limits.h>
32510 # include <assert.h>
32515 /* Override any GCC internal prototype to avoid an error.
32516 Use char because int might match the return type of a GCC
32517 builtin and then its argument prototype would still apply. */
32522 /* The GNU C library defines this for functions which it implements
32523 to always fail with ENOSYS. Some functions are actually named
32524 something starting with __ and the normal name is an alias. */
32525 #if defined __stub_remove || defined __stub___remove
32537 rm -f conftest.$ac_objext conftest$ac_exeext
32538 if { (ac_try="$ac_link"
32539 case "(($ac_try" in
32540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32541 *) ac_try_echo
=$ac_try;;
32543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32544 (eval "$ac_link") 2>conftest.er1
32546 grep -v '^ *+' conftest.er1
>conftest.err
32548 cat conftest.err
>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } && {
32551 test -z "$ac_c_werror_flag" ||
32552 test ! -s conftest.err
32553 } && test -s conftest
$ac_exeext &&
32554 $as_test_x conftest
$ac_exeext; then
32555 ac_cv_func_remove
=yes
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.
$ac_ext >&5
32560 ac_cv_func_remove
=no
32563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32564 conftest
$ac_exeext conftest.
$ac_ext
32566 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32567 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32569 if test $ac_cv_func_remove = no
; then
32570 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32571 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32572 if test "${ac_cv_lib_posix_remove+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 ac_check_lib_save_LIBS
=$LIBS
32576 LIBS
="-lposix $LIBS"
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32584 /* Override any GCC internal prototype to avoid an error.
32585 Use char because int might match the return type of a GCC
32586 builtin and then its argument prototype would still apply. */
32599 rm -f conftest.
$ac_objext conftest
$ac_exeext
32600 if { (ac_try
="$ac_link"
32601 case "(($ac_try" in
32602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32603 *) ac_try_echo=$ac_try;;
32605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32606 (eval "$ac_link") 2>conftest.er1
32608 grep -v '^ *+' conftest.er1 >conftest.err
32610 cat conftest.err >&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } && {
32613 test -z "$ac_c_werror_flag" ||
32614 test ! -s conftest.err
32615 } && test -s conftest$ac_exeext &&
32616 $as_test_x conftest$ac_exeext; then
32617 ac_cv_lib_posix_remove=yes
32619 echo "$as_me: failed program was:" >&5
32620 sed 's/^/| /' conftest.$ac_ext >&5
32622 ac_cv_lib_posix_remove=no
32625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32626 conftest$ac_exeext conftest.$ac_ext
32627 LIBS=$ac_check_lib_save_LIBS
32629 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32630 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32631 if test $ac_cv_lib_posix_remove = yes; then
32632 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32637 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32638 { echo "$as_me:$LINENO: checking for shmat" >&5
32639 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32640 if test "${ac_cv_func_shmat+set}" = set; then
32641 echo $ECHO_N "(cached) $ECHO_C" >&6
32643 cat >conftest.$ac_ext <<_ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32651 #define shmat innocuous_shmat
32653 /* System header to define __stub macros and hopefully few prototypes,
32654 which can conflict with char shmat (); below.
32655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32656 <limits.h> exists even on freestanding compilers. */
32659 # include <limits.h>
32661 # include <assert.h>
32666 /* Override any GCC internal prototype to avoid an error.
32667 Use char because int might match the return type of a GCC
32668 builtin and then its argument prototype would still apply. */
32673 /* The GNU C library defines this for functions which it implements
32674 to always fail with ENOSYS. Some functions are actually named
32675 something starting with __ and the normal name is an alias. */
32676 #if defined __stub_shmat || defined __stub___shmat
32688 rm -f conftest.$ac_objext conftest$ac_exeext
32689 if { (ac_try="$ac_link"
32690 case "(($ac_try" in
32691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32692 *) ac_try_echo
=$ac_try;;
32694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32695 (eval "$ac_link") 2>conftest.er1
32697 grep -v '^ *+' conftest.er1
>conftest.err
32699 cat conftest.err
>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); } && {
32702 test -z "$ac_c_werror_flag" ||
32703 test ! -s conftest.err
32704 } && test -s conftest
$ac_exeext &&
32705 $as_test_x conftest
$ac_exeext; then
32706 ac_cv_func_shmat
=yes
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.
$ac_ext >&5
32711 ac_cv_func_shmat
=no
32714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32715 conftest
$ac_exeext conftest.
$ac_ext
32717 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32718 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32720 if test $ac_cv_func_shmat = no
; then
32721 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32722 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32723 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32726 ac_check_lib_save_LIBS
=$LIBS
32728 cat >conftest.
$ac_ext <<_ACEOF
32731 cat confdefs.h
>>conftest.
$ac_ext
32732 cat >>conftest.
$ac_ext <<_ACEOF
32733 /* end confdefs.h. */
32735 /* Override any GCC internal prototype to avoid an error.
32736 Use char because int might match the return type of a GCC
32737 builtin and then its argument prototype would still apply. */
32750 rm -f conftest.
$ac_objext conftest
$ac_exeext
32751 if { (ac_try
="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32754 *) ac_try_echo=$ac_try;;
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32759 grep -v '^ *+' conftest.er1 >conftest.err
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest$ac_exeext &&
32767 $as_test_x conftest$ac_exeext; then
32768 ac_cv_lib_ipc_shmat=yes
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32773 ac_cv_lib_ipc_shmat=no
32776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32777 conftest$ac_exeext conftest.$ac_ext
32778 LIBS=$ac_check_lib_save_LIBS
32780 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32781 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32782 if test $ac_cv_lib_ipc_shmat = yes; then
32783 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32789 # Check for libraries that X11R6 Xt/Xaw programs need.
32790 ac_save_LDFLAGS=$LDFLAGS
32791 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32792 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32793 # check for ICE first), but we must link in the order -lSM -lICE or
32794 # we get undefined symbols. So assume we have SM if we have ICE.
32795 # These have to be linked with before -lX11, unlike the other
32796 # libraries we check for below, so use a different variable.
32797 # John Interrante, Karl Berry
32798 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32799 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32800 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 ac_check_lib_save_LIBS=$LIBS
32804 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32805 cat >conftest.$ac_ext <<_ACEOF
32808 cat confdefs.h >>conftest.$ac_ext
32809 cat >>conftest.$ac_ext <<_ACEOF
32810 /* end confdefs.h. */
32812 /* Override any GCC internal prototype to avoid an error.
32813 Use char because int might match the return type of a GCC
32814 builtin and then its argument prototype would still apply. */
32818 char IceConnectionNumber ();
32822 return IceConnectionNumber ();
32827 rm -f conftest.$ac_objext conftest$ac_exeext
32828 if { (ac_try="$ac_link"
32829 case "(($ac_try" in
32830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32831 *) ac_try_echo
=$ac_try;;
32833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32834 (eval "$ac_link") 2>conftest.er1
32836 grep -v '^ *+' conftest.er1
>conftest.err
32838 cat conftest.err
>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } && {
32841 test -z "$ac_c_werror_flag" ||
32842 test ! -s conftest.err
32843 } && test -s conftest
$ac_exeext &&
32844 $as_test_x conftest
$ac_exeext; then
32845 ac_cv_lib_ICE_IceConnectionNumber
=yes
32847 echo "$as_me: failed program was:" >&5
32848 sed 's/^/| /' conftest.
$ac_ext >&5
32850 ac_cv_lib_ICE_IceConnectionNumber
=no
32853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32854 conftest
$ac_exeext conftest.
$ac_ext
32855 LIBS
=$ac_check_lib_save_LIBS
32857 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32858 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32859 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32860 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32863 LDFLAGS
=$ac_save_LDFLAGS
32868 if test "$no_x" = "yes"; then
32869 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32870 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32871 { (exit 1); exit 1; }; }
32874 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32875 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32876 AFMINSTALL
=afminstall
32877 COMPILED_X_PROGRAM
=0
32881 if test "$wxUSE_X11" = 1; then
32882 if test "$wxUSE_NANOX" = "yes"; then
32883 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32884 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32885 if test "x$MICROWIN" = x
; then
32886 { echo "$as_me:$LINENO: result: not found" >&5
32887 echo "${ECHO_T}not found" >&6; }
32888 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32889 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32890 { (exit 1); exit 1; }; }
32892 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32893 echo "${ECHO_T}$MICROWIN" >&6; }
32894 cat >>confdefs.h
<<\_ACEOF
32895 #define wxUSE_NANOX 1
32901 if test "$wxUSE_UNICODE" = "yes"; then
32904 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32905 if test -n "$ac_tool_prefix"; then
32906 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32907 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32910 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32911 echo $ECHO_N "(cached) $ECHO_C" >&6
32913 case $PKG_CONFIG in
32915 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32919 for as_dir
in $PATH
32922 test -z "$as_dir" && as_dir
=.
32923 for ac_exec_ext
in '' $ac_executable_extensions; do
32924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32925 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32936 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32937 if test -n "$PKG_CONFIG"; then
32938 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32939 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32941 { echo "$as_me:$LINENO: result: no" >&5
32942 echo "${ECHO_T}no" >&6; }
32947 if test -z "$ac_cv_path_PKG_CONFIG"; then
32948 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32949 # Extract the first word of "pkg-config", so it can be a program name with args.
32950 set dummy pkg
-config; ac_word
=$2
32951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32953 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 case $ac_pt_PKG_CONFIG in
32958 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32962 for as_dir
in $PATH
32965 test -z "$as_dir" && as_dir
=.
32966 for ac_exec_ext
in '' $ac_executable_extensions; do
32967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32968 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32979 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32980 if test -n "$ac_pt_PKG_CONFIG"; then
32981 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32982 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32984 { echo "$as_me:$LINENO: result: no" >&5
32985 echo "${ECHO_T}no" >&6; }
32988 if test "x$ac_pt_PKG_CONFIG" = x
; then
32991 case $cross_compiling:$ac_tool_warned in
32993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32994 whose name does not start with the host triplet. If you think this
32995 configuration is useful to you, please write to autoconf@gnu.org." >&5
32996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32997 whose name does not start with the host triplet. If you think this
32998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32999 ac_tool_warned
=yes ;;
33001 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33004 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33008 if test -n "$PKG_CONFIG"; then
33009 _pkg_min_version
=0.9.0
33010 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33011 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33012 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33013 { echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6; }
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33025 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33026 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33028 if test -n "$PKG_CONFIG"; then
33029 if test -n "$PANGOX_CFLAGS"; then
33030 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33032 if test -n "$PKG_CONFIG" && \
33033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33034 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; then
33038 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33046 if test -n "$PKG_CONFIG"; then
33047 if test -n "$PANGOX_LIBS"; then
33048 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33050 if test -n "$PKG_CONFIG" && \
33051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33052 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; then
33056 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33067 if test $pkg_failed = yes; then
33069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33070 _pkg_short_errors_supported
=yes
33072 _pkg_short_errors_supported
=no
33074 if test $_pkg_short_errors_supported = yes; then
33075 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33077 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33079 # Put the nasty error message in config.log where it belongs
33080 echo "$PANGOX_PKG_ERRORS" >&5
33083 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33084 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33085 { (exit 1); exit 1; }; }
33088 elif test $pkg_failed = untried
; then
33090 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33091 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33092 { (exit 1); exit 1; }; }
33096 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33097 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33098 { echo "$as_me:$LINENO: result: yes" >&5
33099 echo "${ECHO_T}yes" >&6; }
33101 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33102 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33103 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33108 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33109 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33111 if test -n "$PKG_CONFIG"; then
33112 if test -n "$PANGOFT2_CFLAGS"; then
33113 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33115 if test -n "$PKG_CONFIG" && \
33116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33117 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; then
33121 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33129 if test -n "$PKG_CONFIG"; then
33130 if test -n "$PANGOFT2_LIBS"; then
33131 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33133 if test -n "$PKG_CONFIG" && \
33134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33135 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; then
33139 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33150 if test $pkg_failed = yes; then
33152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33153 _pkg_short_errors_supported
=yes
33155 _pkg_short_errors_supported
=no
33157 if test $_pkg_short_errors_supported = yes; then
33158 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33160 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33162 # Put the nasty error message in config.log where it belongs
33163 echo "$PANGOFT2_PKG_ERRORS" >&5
33166 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33167 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33168 wxUSE_PRINTING_ARCHITECTURE
="no"
33171 elif test $pkg_failed = untried
; then
33173 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33174 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33175 wxUSE_PRINTING_ARCHITECTURE
="no"
33179 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33180 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33181 { echo "$as_me:$LINENO: result: yes" >&5
33182 echo "${ECHO_T}yes" >&6; }
33184 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33185 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33186 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33191 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33192 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33194 if test -n "$PKG_CONFIG"; then
33195 if test -n "$PANGOXFT_CFLAGS"; then
33196 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33198 if test -n "$PKG_CONFIG" && \
33199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33200 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; then
33204 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33212 if test -n "$PKG_CONFIG"; then
33213 if test -n "$PANGOXFT_LIBS"; then
33214 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33216 if test -n "$PKG_CONFIG" && \
33217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33218 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; then
33222 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33233 if test $pkg_failed = yes; then
33235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33236 _pkg_short_errors_supported
=yes
33238 _pkg_short_errors_supported
=no
33240 if test $_pkg_short_errors_supported = yes; then
33241 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33243 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33245 # Put the nasty error message in config.log where it belongs
33246 echo "$PANGOXFT_PKG_ERRORS" >&5
33249 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33250 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33253 elif test $pkg_failed = untried
; then
33255 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33256 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33260 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33261 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33262 { echo "$as_me:$LINENO: result: yes" >&5
33263 echo "${ECHO_T}yes" >&6; }
33265 cat >>confdefs.h
<<\_ACEOF
33266 #define HAVE_PANGO_XFT 1
33269 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33270 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33271 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33275 LIBS
="$LIBS $PANGOX_LIBS"
33277 for ac_func
in pango_font_family_is_monospace
33279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33282 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 cat >conftest.
$ac_ext <<_ACEOF
33288 cat confdefs.h
>>conftest.
$ac_ext
33289 cat >>conftest.
$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33293 #define $ac_func innocuous_$ac_func
33295 /* System header to define __stub macros and hopefully few prototypes,
33296 which can conflict with char $ac_func (); below.
33297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33298 <limits.h> exists even on freestanding compilers. */
33301 # include <limits.h>
33303 # include <assert.h>
33308 /* Override any GCC internal prototype to avoid an error.
33309 Use char because int might match the return type of a GCC
33310 builtin and then its argument prototype would still apply. */
33315 /* The GNU C library defines this for functions which it implements
33316 to always fail with ENOSYS. Some functions are actually named
33317 something starting with __ and the normal name is an alias. */
33318 #if defined __stub_$ac_func || defined __stub___$ac_func
33325 return $ac_func ();
33330 rm -f conftest.
$ac_objext conftest
$ac_exeext
33331 if { (ac_try
="$ac_link"
33332 case "(($ac_try" in
33333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33334 *) ac_try_echo=$ac_try;;
33336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33337 (eval "$ac_link") 2>conftest.er1
33339 grep -v '^ *+' conftest.er1 >conftest.err
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } && {
33344 test -z "$ac_c_werror_flag" ||
33345 test ! -s conftest.err
33346 } && test -s conftest$ac_exeext &&
33347 $as_test_x conftest$ac_exeext; then
33348 eval "$as_ac_var=yes"
33350 echo "$as_me: failed program was:" >&5
33351 sed 's/^/| /' conftest.$ac_ext >&5
33353 eval "$as_ac_var=no"
33356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33357 conftest$ac_exeext conftest.$ac_ext
33359 ac_res=`eval echo '${'$as_ac_var'}'`
33360 { echo "$as_me:$LINENO: result: $ac_res" >&5
33361 echo "${ECHO_T}$ac_res" >&6; }
33362 if test `eval echo '${'$as_ac_var'}'` = yes; then
33363 cat >>confdefs.h <<_ACEOF
33364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33373 wxUSE_UNIVERSAL="yes"
33375 if test "$wxUSE_NANOX" = "yes"; then
33376 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33377 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"
33378 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33387 if test "$wxUSE_MOTIF" = 1; then
33388 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33389 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33392 for ac_dir in $SEARCH_INCLUDE /usr/include
33394 if test -f "$ac_dir/Xm/Xm.h"; then
33395 ac_find_includes=$ac_dir
33400 if test "$ac_find_includes" != "" ; then
33401 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33402 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33404 if test "x$ac_find_includes" = "x/usr/include"; then
33405 ac_path_to_include=""
33407 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33409 if test $result = 0; then
33410 ac_path_to_include=""
33412 ac_path_to_include=" -I$ac_find_includes"
33416 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33418 save_CFLAGS=$CFLAGS
33419 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33421 cat >conftest.$ac_ext <<_ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33435 version = xmUseVersion;
33441 rm -f conftest.$ac_objext
33442 if { (ac_try="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33445 *) ac_try_echo
=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1
>conftest.err
33452 cat conftest.err
>&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.
$ac_objext; then
33459 { echo "$as_me:$LINENO: result: found in default search path" >&5
33460 echo "${ECHO_T}found in default search path" >&6; }
33461 COMPILED_X_PROGRAM
=1
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.
$ac_ext >&5
33468 { echo "$as_me:$LINENO: result: no" >&5
33469 echo "${ECHO_T}no" >&6; }
33470 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33471 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33472 { (exit 1); exit 1; }; }
33477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33479 CFLAGS
=$save_CFLAGS
33483 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33484 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33487 for ac_dir
in $SEARCH_LIB
33489 for ac_extension
in a so sl dylib dll.a
; do
33490 if test -f "$ac_dir/libXm.$ac_extension"; then
33491 ac_find_libraries
=$ac_dir
33498 if test "x$ac_find_libraries" != "x" ; then
33499 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33500 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33503 if test "$ac_find_libraries" = "default location"; then
33506 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33508 if test $result = 0; then
33511 ac_path_to_link
=" -L$ac_find_libraries"
33515 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33517 save_CFLAGS
=$CFLAGS
33518 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33520 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33522 cat >conftest.
$ac_ext <<_ACEOF
33525 cat confdefs.h
>>conftest.
$ac_ext
33526 cat >>conftest.
$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33536 version = xmUseVersion;
33542 rm -f conftest.
$ac_objext conftest
$ac_exeext
33543 if { (ac_try
="$ac_link"
33544 case "(($ac_try" in
33545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33546 *) ac_try_echo=$ac_try;;
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_link") 2>conftest.er1
33551 grep -v '^ *+' conftest.er1 >conftest.err
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_c_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest$ac_exeext &&
33559 $as_test_x conftest$ac_exeext; then
33561 { echo "$as_me:$LINENO: result: found in default search path" >&5
33562 echo "${ECHO_T}found in default search path" >&6; }
33563 COMPILED_X_PROGRAM=1
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.$ac_ext >&5
33570 { echo "$as_me:$LINENO: result: no" >&5
33571 echo "${ECHO_T}no" >&6; }
33572 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33573 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33574 { (exit 1); exit 1; }; }
33579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33580 conftest$ac_exeext conftest.$ac_ext
33582 CFLAGS=$save_CFLAGS
33586 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33587 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33591 for libp in "" " -lXp"; do
33592 if test "$libs_found" = 0; then
33593 for libsm_ice in "" " -lSM -lICE"; do
33594 if test "$libs_found" = 0; then
33596 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33597 save_CFLAGS=$CFLAGS
33598 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33600 cat >conftest.$ac_ext <<_ACEOF
33603 cat confdefs.h >>conftest.$ac_ext
33604 cat >>conftest.$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33608 #include <Xm/List.h>
33614 XmString string = NULL;
33617 XmListAddItem(w, string, position);
33623 rm -f conftest.$ac_objext conftest$ac_exeext
33624 if { (ac_try="$ac_link"
33625 case "(($ac_try" in
33626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33627 *) ac_try_echo
=$ac_try;;
33629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33630 (eval "$ac_link") 2>conftest.er1
33632 grep -v '^ *+' conftest.er1
>conftest.err
33634 cat conftest.err
>&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } && {
33637 test -z "$ac_c_werror_flag" ||
33638 test ! -s conftest.err
33639 } && test -s conftest
$ac_exeext &&
33640 $as_test_x conftest
$ac_exeext; then
33643 libsm_ice_link
="$libsm_ice"
33644 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33645 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33649 echo "$as_me: failed program was:" >&5
33650 sed 's/^/| /' conftest.
$ac_ext >&5
33656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33657 conftest
$ac_exeext conftest.
$ac_ext
33660 CFLAGS
=$save_CFLAGS
33666 if test "$libs_found" = 0; then
33667 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33668 echo "${ECHO_T}can't find the right libraries" >&6; }
33669 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33670 echo "$as_me: error: can't link a simple motif program" >&2;}
33671 { (exit 1); exit 1; }; }
33674 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33675 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33676 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33677 echo $ECHO_N "(cached) $ECHO_C" >&6
33679 ac_check_lib_save_LIBS
=$LIBS
33681 cat >conftest.
$ac_ext <<_ACEOF
33684 cat confdefs.h
>>conftest.
$ac_ext
33685 cat >>conftest.
$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33688 /* Override any GCC internal prototype to avoid an error.
33689 Use char because int might match the return type of a GCC
33690 builtin and then its argument prototype would still apply. */
33694 char SgCreateList ();
33698 return SgCreateList ();
33703 rm -f conftest.
$ac_objext conftest
$ac_exeext
33704 if { (ac_try
="$ac_link"
33705 case "(($ac_try" in
33706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_link") 2>conftest.er1
33712 grep -v '^ *+' conftest.er1 >conftest.err
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest$ac_exeext &&
33720 $as_test_x conftest$ac_exeext; then
33721 ac_cv_lib_Sgm_SgCreateList=yes
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33726 ac_cv_lib_Sgm_SgCreateList=no
33729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33730 conftest$ac_exeext conftest.$ac_ext
33731 LIBS=$ac_check_lib_save_LIBS
33733 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33734 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33735 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33736 libsgm_link=" -lSgm"
33740 save_CFLAGS=$CFLAGS
33741 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33743 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33744 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33745 if test "${wx_cv_lib_motif2+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 cat >conftest.$ac_ext <<_ACEOF
33751 cat confdefs.h >>conftest.$ac_ext
33752 cat >>conftest.$ac_ext <<_ACEOF
33753 /* end confdefs.h. */
33761 #if XmVersion < 2000
33769 rm -f conftest.$ac_objext
33770 if { (ac_try="$ac_compile"
33771 case "(($ac_try" in
33772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33773 *) ac_try_echo
=$ac_try;;
33775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33776 (eval "$ac_compile") 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } && {
33783 test -z "$ac_c_werror_flag" ||
33784 test ! -s conftest.err
33785 } && test -s conftest.
$ac_objext; then
33786 wx_cv_lib_motif2
="yes"
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.
$ac_ext >&5
33791 wx_cv_lib_motif2
="no"
33794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33796 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33797 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33798 if test "$wx_cv_lib_motif2" = "yes"; then
33799 cat >>confdefs.h
<<\_ACEOF
33800 #define __WXMOTIF20__ 1
33804 cat >>confdefs.h
<<\_ACEOF
33805 #define __WXMOTIF20__ 0
33810 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33811 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33812 if test "${wx_cv_lib_lesstif+set}" = set; then
33813 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 cat >conftest.
$ac_ext <<_ACEOF
33818 cat confdefs.h
>>conftest.
$ac_ext
33819 cat >>conftest.
$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33828 #if !defined(LesstifVersion) || LesstifVersion <= 0
33836 rm -f conftest.
$ac_objext
33837 if { (ac_try
="$ac_compile"
33838 case "(($ac_try" in
33839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33840 *) ac_try_echo=$ac_try;;
33842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33843 (eval "$ac_compile") 2>conftest.er1
33845 grep -v '^ *+' conftest.er1 >conftest.err
33847 cat conftest.err >&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); } && {
33850 test -z "$ac_c_werror_flag" ||
33851 test ! -s conftest.err
33852 } && test -s conftest.$ac_objext; then
33853 wx_cv_lib_lesstif="yes"
33855 echo "$as_me: failed program was:" >&5
33856 sed 's/^/| /' conftest.$ac_ext >&5
33858 wx_cv_lib_lesstif="no"
33861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33864 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33865 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33866 if test "$wx_cv_lib_lesstif" = "yes"; then
33867 cat >>confdefs.h <<\_ACEOF
33868 #define __WXLESSTIF__ 1
33872 cat >>confdefs.h <<\_ACEOF
33873 #define __WXLESSTIF__ 0
33878 CFLAGS=$save_CFLAGS
33880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33885 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33886 if test "$wxUSE_LIBXPM" = "sys"; then
33887 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33888 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33891 for ac_dir in $SEARCH_LIB
33893 for ac_extension in a so sl dylib dll.a; do
33894 if test -f "$ac_dir/libXpm.$ac_extension"; then
33895 ac_find_libraries=$ac_dir
33901 if test "$ac_find_libraries" != "" ; then
33903 if test "$ac_find_libraries" = "default location"; then
33906 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33908 if test $result = 0; then
33911 ac_path_to_link=" -L$ac_find_libraries"
33915 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33916 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33917 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33919 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33920 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33921 if test "${wx_cv_x11_xpm_h+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 save_CFLAGS=$CFLAGS
33926 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33928 cat >conftest.$ac_ext <<_ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33935 #include <X11/xpm.h>
33942 version = XpmLibraryVersion();
33948 rm -f conftest.$ac_objext
33949 if { (ac_try="$ac_compile"
33950 case "(($ac_try" in
33951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33952 *) ac_try_echo
=$ac_try;;
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_compile") 2>conftest.er1
33957 grep -v '^ *+' conftest.er1
>conftest.err
33959 cat conftest.err
>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest.
$ac_objext; then
33965 wx_cv_x11_xpm_h
=yes
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.
$ac_ext >&5
33974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33976 CFLAGS
=$save_CFLAGS
33980 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33981 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33983 if test $wx_cv_x11_xpm_h = "yes"; then
33984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33985 cat >>confdefs.h
<<\_ACEOF
33986 #define wxHAVE_LIB_XPM 1
33990 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33991 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33997 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33998 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33999 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34000 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 ac_check_lib_save_LIBS
=$LIBS
34003 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34004 cat >conftest.
$ac_ext <<_ACEOF
34007 cat confdefs.h
>>conftest.
$ac_ext
34008 cat >>conftest.
$ac_ext <<_ACEOF
34009 /* end confdefs.h. */
34011 /* Override any GCC internal prototype to avoid an error.
34012 Use char because int might match the return type of a GCC
34013 builtin and then its argument prototype would still apply. */
34017 char XShapeQueryExtension ();
34021 return XShapeQueryExtension ();
34026 rm -f conftest.
$ac_objext conftest
$ac_exeext
34027 if { (ac_try
="$ac_link"
34028 case "(($ac_try" in
34029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34030 *) ac_try_echo=$ac_try;;
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_link") 2>conftest.er1
34035 grep -v '^ *+' conftest.er1 >conftest.err
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } && {
34040 test -z "$ac_c_werror_flag" ||
34041 test ! -s conftest.err
34042 } && test -s conftest$ac_exeext &&
34043 $as_test_x conftest$ac_exeext; then
34044 ac_cv_lib_Xext_XShapeQueryExtension=yes
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34049 ac_cv_lib_Xext_XShapeQueryExtension=no
34052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34053 conftest$ac_exeext conftest.$ac_ext
34054 LIBS=$ac_check_lib_save_LIBS
34056 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34057 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34058 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34066 if test "$wxHAVE_XEXT_LIB" = 1; then
34067 save_CFLAGS="$CFLAGS"
34068 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34070 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34071 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34072 cat >conftest.$ac_ext <<_ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34079 #include <X11/Xlib.h>
34080 #include <X11/extensions/shape.h>
34086 int dummy1, dummy2;
34087 XShapeQueryExtension((Display*)NULL,
34088 (int*)NULL, (int*)NULL);
34094 rm -f conftest.$ac_objext
34095 if { (ac_try="$ac_compile"
34096 case "(($ac_try" in
34097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34098 *) ac_try_echo
=$ac_try;;
34100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34101 (eval "$ac_compile") 2>conftest.er1
34103 grep -v '^ *+' conftest.er1
>conftest.err
34105 cat conftest.err
>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } && {
34108 test -z "$ac_c_werror_flag" ||
34109 test ! -s conftest.err
34110 } && test -s conftest.
$ac_objext; then
34112 cat >>confdefs.h
<<\_ACEOF
34113 #define HAVE_XSHAPE 1
34116 { echo "$as_me:$LINENO: result: found" >&5
34117 echo "${ECHO_T}found" >&6; }
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.
$ac_ext >&5
34124 { echo "$as_me:$LINENO: result: not found" >&5
34125 echo "${ECHO_T}not found" >&6; }
34129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34130 CFLAGS
="$save_CFLAGS"
34135 if test "$wxUSE_OSX_CARBON" = 1; then
34136 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34137 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34138 if test "$GCC" = yes; then
34139 { echo "$as_me:$LINENO: result: gcc" >&5
34140 echo "${ECHO_T}gcc" >&6; }
34141 CPPFLAGS_PASCAL
="-fpascal-strings"
34142 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34143 { echo "$as_me:$LINENO: result: xlc" >&5
34144 echo "${ECHO_T}xlc" >&6; }
34145 CPPFLAGS_PASCAL
="-qmacpstr"
34147 { echo "$as_me:$LINENO: result: none" >&5
34148 echo "${ECHO_T}none" >&6; }
34151 if test "x$wxUSE_UNIX" = "xyes"; then
34152 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34154 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34158 GUIDIST
=OSX_CARBON_DIST
34159 WXBASEPORT
="_carbon"
34161 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34164 if test "$wxUSE_OSX_COCOA" = 1; then
34166 GUIDIST
=OSX_COCOA_DIST
34168 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34171 if test "$wxUSE_OSX_IPHONE" = 1; then
34175 if test "$wxUSE_OLD_COCOA" = 1; then
34180 if test "$wxUSE_PM" = 1; then
34183 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34184 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34185 if test "${wx_cv_spbcdata+set}" = set; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34209 rm -f conftest.
$ac_objext
34210 if { (ac_try
="$ac_compile"
34211 case "(($ac_try" in
34212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34213 *) ac_try_echo=$ac_try;;
34215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34216 (eval "$ac_compile") 2>conftest.er1
34218 grep -v '^ *+' conftest.er1 >conftest.err
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } && {
34223 test -z "$ac_c_werror_flag" ||
34224 test ! -s conftest.err
34225 } && test -s conftest.$ac_objext; then
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.$ac_ext >&5
34235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34239 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34240 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34242 if test $wx_cv_spbcdata = "yes"; then
34243 cat >>confdefs.h <<\_ACEOF
34244 #define HAVE_SPBCDATA 1
34250 if test "$TOOLKIT" = "PM" ; then
34253 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34256 if test "$wxUSE_UNIVERSAL" = "yes"; then
34257 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34261 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34262 DISTDIR="wx\$(TOOLKIT)"
34268 if test "$USE_WIN32" = 1 ; then
34272 GUIDIST="BASE_DIST"
34278 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34279 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34280 wxUSE_UNICODE_UTF8=yes
34281 elif test "$USE_OS2" = 1 ; then
34282 wxUSE_UNICODE_UTF8=yes
34284 wxUSE_UNICODE_UTF8=no
34289 if test "$wxUSE_GUI" = "yes"; then
34290 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34292 for ac_header in X11/Xlib.h
34294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34295 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 cat >conftest.$ac_ext <<_ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34308 #include <$ac_header>
34310 rm -f conftest.$ac_objext
34311 if { (ac_try="$ac_compile"
34312 case "(($ac_try" in
34313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34314 *) ac_try_echo
=$ac_try;;
34316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34317 (eval "$ac_compile") 2>conftest.er1
34319 grep -v '^ *+' conftest.er1
>conftest.err
34321 cat conftest.err
>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); } && {
34324 test -z "$ac_c_werror_flag" ||
34325 test ! -s conftest.err
34326 } && test -s conftest.
$ac_objext; then
34327 eval "$as_ac_Header=yes"
34329 echo "$as_me: failed program was:" >&5
34330 sed 's/^/| /' conftest.
$ac_ext >&5
34332 eval "$as_ac_Header=no"
34335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34337 ac_res
=`eval echo '${'$as_ac_Header'}'`
34338 { echo "$as_me:$LINENO: result: $ac_res" >&5
34339 echo "${ECHO_T}$ac_res" >&6; }
34340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34341 cat >>confdefs.h
<<_ACEOF
34342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34350 for ac_header
in X
11/XKBlib.h
34352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34355 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34356 echo $ECHO_N "(cached) $ECHO_C" >&6
34358 cat >conftest.
$ac_ext <<_ACEOF
34361 cat confdefs.h
>>conftest.
$ac_ext
34362 cat >>conftest.
$ac_ext <<_ACEOF
34363 /* end confdefs.h. */
34365 #if HAVE_X11_XLIB_H
34366 #include <X11/Xlib.h>
34370 #include <$ac_header>
34372 rm -f conftest.
$ac_objext
34373 if { (ac_try
="$ac_compile"
34374 case "(($ac_try" in
34375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34376 *) ac_try_echo=$ac_try;;
34378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34379 (eval "$ac_compile") 2>conftest.er1
34381 grep -v '^ *+' conftest.er1 >conftest.err
34383 cat conftest.err >&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); } && {
34386 test -z "$ac_c_werror_flag" ||
34387 test ! -s conftest.err
34388 } && test -s conftest.$ac_objext; then
34389 eval "$as_ac_Header=yes"
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34394 eval "$as_ac_Header=no"
34397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_res=`eval echo '${'$as_ac_Header'}'`
34400 { echo "$as_me:$LINENO: result: $ac_res" >&5
34401 echo "${ECHO_T}$ac_res" >&6; }
34402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34403 cat >>confdefs.h <<_ACEOF
34404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34417 if test "$wxUSE_DISPLAY" = "yes"; then
34418 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34419 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34420 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34423 for ac_dir in $SEARCH_LIB
34425 for ac_extension in a so sl dylib dll.a; do
34426 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34427 ac_find_libraries=$ac_dir
34433 if test "$ac_find_libraries" != "" ; then
34435 if test "$ac_find_libraries" = "default location"; then
34438 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34440 if test $result = 0; then
34443 ac_path_to_link=" -L$ac_find_libraries"
34447 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34448 LDFLAGS="$LDFLAGS $ac_path_to_link"
34451 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34452 { echo "$as_me:$LINENO: result: yes" >&5
34453 echo "${ECHO_T}yes" >&6; }
34455 { echo "$as_me:$LINENO: result: no" >&5
34456 echo "${ECHO_T}no" >&6; }
34457 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34458 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34461 elif test "$wxUSE_MSW" = 1; then
34462 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34463 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34464 if test "${ac_cv_header_ddraw_h+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 cat >conftest.$ac_ext <<_ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 #include <windows.h>
34477 rm -f conftest.$ac_objext
34478 if { (ac_try="$ac_compile"
34479 case "(($ac_try" in
34480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34481 *) ac_try_echo
=$ac_try;;
34483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34484 (eval "$ac_compile") 2>conftest.er1
34486 grep -v '^ *+' conftest.er1
>conftest.err
34488 cat conftest.err
>&5
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); } && {
34491 test -z "$ac_c_werror_flag" ||
34492 test ! -s conftest.err
34493 } && test -s conftest.
$ac_objext; then
34494 ac_cv_header_ddraw_h
=yes
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.
$ac_ext >&5
34499 ac_cv_header_ddraw_h
=no
34502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34504 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34505 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34511 if test "$wxUSE_DISPLAY" = "yes"; then
34512 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34513 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34514 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34517 for ac_dir
in $SEARCH_LIB
34519 for ac_extension
in a so sl dylib dll.a
; do
34520 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34521 ac_find_libraries
=$ac_dir
34527 if test "$ac_find_libraries" != "" ; then
34528 { echo "$as_me:$LINENO: result: yes" >&5
34529 echo "${ECHO_T}yes" >&6; }
34531 for ac_header
in X
11/extensions
/xf86vmode.h
34533 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34536 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34537 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 cat >conftest.
$ac_ext <<_ACEOF
34542 cat confdefs.h
>>conftest.
$ac_ext
34543 cat >>conftest.
$ac_ext <<_ACEOF
34544 /* end confdefs.h. */
34546 #if HAVE_X11_XLIB_H
34547 #include <X11/Xlib.h>
34551 #include <$ac_header>
34553 rm -f conftest.
$ac_objext
34554 if { (ac_try
="$ac_compile"
34555 case "(($ac_try" in
34556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34557 *) ac_try_echo=$ac_try;;
34559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34560 (eval "$ac_compile") 2>conftest.er1
34562 grep -v '^ *+' conftest.er1 >conftest.err
34564 cat conftest.err >&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } && {
34567 test -z "$ac_c_werror_flag" ||
34568 test ! -s conftest.err
34569 } && test -s conftest.$ac_objext; then
34570 eval "$as_ac_Header=yes"
34572 echo "$as_me: failed program was:" >&5
34573 sed 's/^/| /' conftest.$ac_ext >&5
34575 eval "$as_ac_Header=no"
34578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_res=`eval echo '${'$as_ac_Header'}'`
34581 { echo "$as_me:$LINENO: result: $ac_res" >&5
34582 echo "${ECHO_T}$ac_res" >&6; }
34583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34584 cat >>confdefs.h <<_ACEOF
34585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34595 { echo "$as_me:$LINENO: result: no" >&5
34596 echo "${ECHO_T}no" >&6; }
34601 if test "$wxUSE_DETECT_SM" = "yes"; then
34602 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34603 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34604 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34607 for ac_dir in $SEARCH_LIB
34609 for ac_extension in a so sl dylib dll.a; do
34610 if test -f "$ac_dir/libSM.$ac_extension"; then
34611 ac_find_libraries=$ac_dir
34617 if test "$ac_find_libraries" != "" ; then
34619 if test "$ac_find_libraries" = "default location"; then
34622 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34624 if test $result = 0; then
34627 ac_path_to_link=" -L$ac_find_libraries"
34631 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34632 LDFLAGS="$LDFLAGS $ac_path_to_link"
34634 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34635 { echo "$as_me:$LINENO: result: yes" >&5
34636 echo "${ECHO_T}yes" >&6; }
34638 { echo "$as_me:$LINENO: result: no" >&5
34639 echo "${ECHO_T}no" >&6; }
34640 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34641 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34642 wxUSE_DETECT_SM="no"
34645 wxUSE_DETECT_SM="no"
34652 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34655 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34656 OPENGL_LIBS="-framework OpenGL -framework AGL"
34657 elif test "$wxUSE_MSW" = 1; then
34658 OPENGL_LIBS="-lopengl32 -lglu32"
34659 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34661 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34662 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34665 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34667 if test -f "$ac_dir/GL/gl.h"; then
34668 ac_find_includes=$ac_dir
34673 if test "$ac_find_includes" != "" ; then
34674 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34675 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34677 if test "x$ac_find_includes" = "x/usr/include"; then
34678 ac_path_to_include=""
34680 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34682 if test $result = 0; then
34683 ac_path_to_include=""
34685 ac_path_to_include=" -I$ac_find_includes"
34689 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34691 { echo "$as_me:$LINENO: result: not found" >&5
34692 echo "${ECHO_T}not found" >&6; }
34695 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34696 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34697 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 cat >conftest.$ac_ext <<_ACEOF
34703 cat confdefs.h >>conftest.$ac_ext
34704 cat >>conftest.$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34714 *) ac_try_echo
=$ac_try;;
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34719 grep -v '^ *+' conftest.er1
>conftest.err
34721 cat conftest.err
>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.
$ac_objext; then
34727 ac_cv_header_GL_gl_h
=yes
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.
$ac_ext >&5
34732 ac_cv_header_GL_gl_h
=no
34735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34737 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34738 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34739 if test $ac_cv_header_GL_gl_h = yes; then
34741 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34742 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34743 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.
$ac_ext <<_ACEOF
34749 cat confdefs.h
>>conftest.
$ac_ext
34750 cat >>conftest.
$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34754 #include <GL/glu.h>
34756 rm -f conftest.
$ac_objext
34757 if { (ac_try
="$ac_compile"
34758 case "(($ac_try" in
34759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34760 *) ac_try_echo=$ac_try;;
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_compile") 2>conftest.er1
34765 grep -v '^ *+' conftest.er1 >conftest.err
34767 cat conftest.err >&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } && {
34770 test -z "$ac_c_werror_flag" ||
34771 test ! -s conftest.err
34772 } && test -s conftest.$ac_objext; then
34773 ac_cv_header_GL_glu_h=yes
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34778 ac_cv_header_GL_glu_h=no
34781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34784 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34785 if test $ac_cv_header_GL_glu_h = yes; then
34789 { echo "$as_me:$LINENO: checking for -lGL" >&5
34790 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34793 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34795 for ac_extension in a so sl dylib dll.a; do
34796 if test -f "$ac_dir/libGL.$ac_extension"; then
34797 ac_find_libraries=$ac_dir
34803 if test "$ac_find_libraries" != "" ; then
34804 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34805 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34808 if test "$ac_find_libraries" = "default location"; then
34811 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34813 if test $result = 0; then
34816 ac_path_to_link=" -L$ac_find_libraries"
34820 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34821 LDFLAGS_GL="$ac_path_to_link"
34824 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34825 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34828 for ac_dir in $SEARCH_LIB
34830 for ac_extension in a so sl dylib dll.a; do
34831 if test -f "$ac_dir/libGLU.$ac_extension"; then
34832 ac_find_libraries=$ac_dir
34838 if test "$ac_find_libraries" != "" ; then
34840 if test "$ac_find_libraries" = "default location"; then
34843 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34845 if test $result = 0; then
34848 ac_path_to_link=" -L$ac_find_libraries"
34852 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34853 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34854 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34858 OPENGL_LIBS="-lGL -lGLU"
34859 { echo "$as_me:$LINENO: result: yes" >&5
34860 echo "${ECHO_T}yes" >&6; }
34862 { echo "$as_me:$LINENO: result: no" >&5
34863 echo "${ECHO_T}no" >&6; }
34866 { echo "$as_me:$LINENO: result: no" >&5
34867 echo "${ECHO_T}no" >&6; }
34870 if test "$found_gl" != 1; then
34871 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34872 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34875 for ac_dir in $SEARCH_LIB
34877 for ac_extension in a so sl dylib dll.a; do
34878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34879 ac_find_libraries=$ac_dir
34885 if test "$ac_find_libraries" != "" ; then
34887 if test "$ac_find_libraries" = "default location"; then
34890 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34892 if test $result = 0; then
34895 ac_path_to_link=" -L$ac_find_libraries"
34899 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34900 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34901 { echo "$as_me:$LINENO: result: yes" >&5
34902 echo "${ECHO_T}yes" >&6; }
34904 { echo "$as_me:$LINENO: result: no" >&5
34905 echo "${ECHO_T}no" >&6; }
34917 if test "x$OPENGL_LIBS" = "x"; then
34918 if test "$wxUSE_OPENGL" = "yes"; then
34919 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34920 echo "$as_me: error: OpenGL libraries not available" >&2;}
34921 { (exit 1); exit 1; }; }
34923 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34924 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34930 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34931 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34935 if test "$wxUSE_OPENGL" = "auto"; then
34939 if test "$wxUSE_OPENGL" = "yes"; then
34941 cat >>confdefs.h <<\_ACEOF
34942 #define wxUSE_OPENGL 1
34945 cat >>confdefs.h <<\_ACEOF
34946 #define wxUSE_GLCANVAS 1
34949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34954 if test -n "$TOOLKIT" ; then
34955 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34960 if test "$wxUSE_SHARED" = "yes"; then
34964 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34965 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34970 if test "$wxUSE_SHARED" = "yes"; then
34974 *-*-cygwin* | *-*-mingw* )
34975 wx_cv_version_script=no
34979 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34980 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34981 if test "${wx_cv_version_script+set}" = set; then
34982 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 echo "VER_1 { *; };" >conftest.sym
34986 echo "int main() { return 0; }" >conftest.cpp
34989 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34990 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; } ; then
34996 if test -s conftest.stderr ; then
34997 wx_cv_version_script=no
34999 wx_cv_version_script=yes
35002 wx_cv_version_script=no
35005 if test $wx_cv_version_script = yes
35007 echo "struct B { virtual ~B() { } }; \
35008 struct D : public B { }; \
35009 void F() { D d; }" > conftest.cpp
35012 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35013 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; } &&
35020 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35021 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }
35029 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35030 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35032 (eval $ac_try) 2>&5
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); }; }
35037 wx_cv_version_script=yes
35039 wx_cv_version_script=no
35044 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35045 rm -f conftest1.output conftest2.output conftest3.output
35048 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35049 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35051 if test $wx_cv_version_script = yes ; then
35052 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35058 if test "$wxUSE_VISIBILITY" != "no"; then
35061 if test -n "$GCC"; then
35062 CFLAGS_VISIBILITY="-fvisibility=hidden"
35063 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35064 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35065 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35066 if test "${wx_cv_cc_visibility+set}" = set; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 wx_save_CXXFLAGS="$CXXFLAGS"
35071 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35073 ac_cpp='$CXXCPP $CPPFLAGS'
35074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35078 cat >conftest.$ac_ext <<_ACEOF
35081 cat confdefs.h >>conftest.$ac_ext
35082 cat >>conftest.$ac_ext <<_ACEOF
35083 /* end confdefs.h. */
35085 /* we need gcc >= 4.0, older versions with visibility support
35086 didn't have class visibility: */
35087 #if defined(__GNUC__) && __GNUC__ < 4
35088 error this gcc is too old;
35091 /* visibility only makes sense for ELF shared libs: */
35092 #if !defined(__ELF__) && !defined(__APPLE__)
35093 error this platform has no visibility;
35096 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35097 #if defined(__clang__)
35098 clang compiler is still broken w.r.t. visibility;
35101 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35102 extern __attribute__((__visibility__("default"))) int exportedvar;
35103 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35104 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35105 class __attribute__((__visibility__("default"))) Foo {
35117 rm -f conftest.$ac_objext
35118 if { (ac_try="$ac_compile"
35119 case "(($ac_try" in
35120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35121 *) ac_try_echo
=$ac_try;;
35123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35124 (eval "$ac_compile") 2>conftest.er1
35126 grep -v '^ *+' conftest.er1
>conftest.err
35128 cat conftest.err
>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && {
35131 test -z "$ac_cxx_werror_flag" ||
35132 test ! -s conftest.err
35133 } && test -s conftest.
$ac_objext; then
35134 wx_cv_cc_visibility
=yes
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.
$ac_ext >&5
35139 wx_cv_cc_visibility
=no
35142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35144 ac_cpp
='$CPP $CPPFLAGS'
35145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35149 CXXFLAGS
="$wx_save_CXXFLAGS"
35152 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35153 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35154 if test $wx_cv_cc_visibility = yes; then
35155 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35156 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35157 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35158 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 wx_save_CXXFLAGS
="$CXXFLAGS"
35162 wx_save_LDFLAGS
="$LDFLAGS"
35163 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35164 LDFLAGS
="$LDFLAGS -shared -fPIC"
35166 ac_cpp
='$CXXCPP $CPPFLAGS'
35167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35171 cat >conftest.
$ac_ext <<_ACEOF
35174 cat confdefs.h
>>conftest.
$ac_ext
35175 cat >>conftest.
$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35184 std::string s("hello");
35191 rm -f conftest.
$ac_objext conftest
$ac_exeext
35192 if { (ac_try
="$ac_link"
35193 case "(($ac_try" in
35194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35195 *) ac_try_echo=$ac_try;;
35197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35198 (eval "$ac_link") 2>conftest.er1
35200 grep -v '^ *+' conftest.er1 >conftest.err
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && {
35205 test -z "$ac_cxx_werror_flag" ||
35206 test ! -s conftest.err
35207 } && test -s conftest$ac_exeext &&
35208 $as_test_x conftest$ac_exeext; then
35209 wx_cv_cc_broken_libstdcxx_visibility=no
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35214 wx_cv_cc_broken_libstdcxx_visibility=yes
35217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35218 conftest$ac_exeext conftest.$ac_ext
35220 ac_cpp='$CPP $CPPFLAGS'
35221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225 CXXFLAGS="$wx_save_CXXFLAGS"
35226 LDFLAGS="$wx_save_LDFLAGS"
35229 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35230 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35232 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35233 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35234 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35235 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35236 echo $ECHO_N "(cached) $ECHO_C" >&6
35240 ac_cpp='$CXXCPP $CPPFLAGS'
35241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35245 cat >conftest.$ac_ext <<_ACEOF
35248 cat confdefs.h >>conftest.$ac_ext
35249 cat >>conftest.$ac_ext <<_ACEOF
35250 /* end confdefs.h. */
35252 #pragma GCC visibility push(default)
35254 #pragma GCC visibility pop
35260 std::string s("hello");
35267 rm -f conftest.$ac_objext conftest$ac_exeext
35268 if { (ac_try="$ac_link"
35269 case "(($ac_try" in
35270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35271 *) ac_try_echo
=$ac_try;;
35273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35274 (eval "$ac_link") 2>conftest.er1
35276 grep -v '^ *+' conftest.er1
>conftest.err
35278 cat conftest.err
>&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } && {
35281 test -z "$ac_cxx_werror_flag" ||
35282 test ! -s conftest.err
35283 } && test -s conftest
$ac_exeext &&
35284 $as_test_x conftest
$ac_exeext; then
35285 wx_cv_cc_visibility_workaround
=no
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.
$ac_ext >&5
35290 wx_cv_cc_visibility_workaround
=yes
35293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35294 conftest
$ac_exeext conftest.
$ac_ext
35296 ac_cpp
='$CPP $CPPFLAGS'
35297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35304 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35305 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35307 if test $wx_cv_cc_visibility_workaround = no
; then
35308 wx_cv_cc_visibility
=no
35313 if test $wx_cv_cc_visibility = yes; then
35314 cat >>confdefs.h
<<\_ACEOF
35315 #define HAVE_VISIBILITY 1
35318 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35319 cat >>confdefs.h
<<\_ACEOF
35320 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35325 CFLAGS_VISIBILITY
=""
35326 CXXFLAGS_VISIBILITY
=""
35334 if test "x$SUNCXX" = xyes
; then
35335 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35336 WXCONFIG_RPATH
="-R\$libdir"
35339 *-*-linux* | *-*-gnu* )
35340 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35341 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35346 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35348 saveLdflags
="$LDFLAGS"
35349 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35350 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35351 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35352 cat >conftest.
$ac_ext <<_ACEOF
35355 cat confdefs.h
>>conftest.
$ac_ext
35356 cat >>conftest.
$ac_ext <<_ACEOF
35357 /* end confdefs.h. */
35367 rm -f conftest.
$ac_objext conftest
$ac_exeext
35368 if { (ac_try
="$ac_link"
35369 case "(($ac_try" in
35370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35371 *) ac_try_echo=$ac_try;;
35373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35374 (eval "$ac_link") 2>conftest.er1
35376 grep -v '^ *+' conftest.er1 >conftest.err
35378 cat conftest.err >&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } && {
35381 test -z "$ac_c_werror_flag" ||
35382 test ! -s conftest.err
35383 } && test -s conftest$ac_exeext &&
35384 $as_test_x conftest$ac_exeext; then
35386 { echo "$as_me:$LINENO: result: yes" >&5
35387 echo "${ECHO_T}yes" >&6; }
35388 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35389 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35396 { echo "$as_me:$LINENO: result: no" >&5
35397 echo "${ECHO_T}no" >&6; }
35398 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35399 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35400 LDFLAGS="$saveLdflags -Wl,-R,/"
35401 cat >conftest.$ac_ext <<_ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35416 rm -f conftest.$ac_objext conftest$ac_exeext
35417 if { (ac_try="$ac_link"
35418 case "(($ac_try" in
35419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35420 *) ac_try_echo
=$ac_try;;
35422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35423 (eval "$ac_link") 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } && {
35430 test -z "$ac_c_werror_flag" ||
35431 test ! -s conftest.err
35432 } && test -s conftest
$ac_exeext &&
35433 $as_test_x conftest
$ac_exeext; then
35435 { echo "$as_me:$LINENO: result: yes" >&5
35436 echo "${ECHO_T}yes" >&6; }
35437 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35438 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.
$ac_ext >&5
35445 { echo "$as_me:$LINENO: result: no" >&5
35446 echo "${ECHO_T}no" >&6; }
35450 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35451 conftest
$ac_exeext conftest.
$ac_ext
35455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35456 conftest
$ac_exeext conftest.
$ac_ext
35457 LDFLAGS
="$saveLdflags"
35461 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35462 if test "$install_name_tool" -a -x "$install_name_tool"; then
35463 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35464 cat <<EOF >change-install-names
35466 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35467 for i in \${libnames} ; do
35468 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35469 for dep in \${libnames} ; do
35470 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35474 chmod +x change
-install-names
35475 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35478 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35481 *-*-cygwin* | *-*-mingw32* )
35485 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35486 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35492 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35494 if test $wxUSE_RPATH = "no"; then
35495 SAMPLES_RPATH_FLAG
=''
35496 DYLIB_PATH_POSTLINK
=''
35504 config_linkage_component
="-static"
35511 lib_unicode_suffix
=
35513 if test "$wxUSE_UNICODE" = "yes"; then
35514 lib_unicode_suffix
=u
35515 WX_CHARTYPE
="unicode"
35519 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35520 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35523 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35527 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35529 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35531 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35534 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35535 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35537 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35539 if test "${TOOLKIT_DIR}" = "os2"; then
35540 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35542 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35547 if test "$wxUSE_OLD_COCOA" = 1; then
35550 ac_cpp
='$CPP $CPPFLAGS'
35551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35557 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35558 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35559 cat >conftest.
$ac_ext <<_ACEOF
35562 cat confdefs.h
>>conftest.
$ac_ext
35563 cat >>conftest.
$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565 #include <AppKit/NSEvent.h>
35566 #include <CoreFoundation/CoreFoundation.h>
35576 rm -f conftest.
$ac_objext
35577 if { (ac_try
="$ac_compile"
35578 case "(($ac_try" in
35579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35580 *) ac_try_echo=$ac_try;;
35582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35583 (eval "$ac_compile") 2>conftest.er1
35585 grep -v '^ *+' conftest.er1 >conftest.err
35587 cat conftest.err >&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } && {
35590 test -z "$ac_c_werror_flag" ||
35591 test ! -s conftest.err
35592 } && test -s conftest.$ac_objext; then
35593 { echo "$as_me:$LINENO: result: no" >&5
35594 echo "${ECHO_T}no" >&6; }
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.$ac_ext >&5
35599 { echo "$as_me:$LINENO: result: yes" >&5
35600 echo "${ECHO_T}yes" >&6; }
35601 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35602 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35603 cat >conftest.$ac_ext <<_ACEOF
35606 cat confdefs.h >>conftest.$ac_ext
35607 cat >>conftest.$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609 #define __Point__ 1
35610 #include <AppKit/NSEvent.h>
35611 #include <CoreFoundation/CoreFoundation.h>
35621 rm -f conftest.$ac_objext
35622 if { (ac_try="$ac_compile"
35623 case "(($ac_try" in
35624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35625 *) ac_try_echo
=$ac_try;;
35627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35628 (eval "$ac_compile") 2>conftest.er1
35630 grep -v '^ *+' conftest.er1
>conftest.err
35632 cat conftest.err
>&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } && {
35635 test -z "$ac_c_werror_flag" ||
35636 test ! -s conftest.err
35637 } && test -s conftest.
$ac_objext; then
35638 { echo "$as_me:$LINENO: result: yes" >&5
35639 echo "${ECHO_T}yes" >&6; }
35640 cat >>confdefs.h
<<\_ACEOF
35641 #define __Point__ 1
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.
$ac_ext >&5
35649 { { echo "$as_me:$LINENO: error: no
35650 See \`config.log' for more details." >&5
35651 echo "$as_me: error: no
35652 See \`config.log' for more details." >&2;}
35653 { (exit 1); exit 1; }; }
35657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35663 ac_cpp
='$CPP $CPPFLAGS'
35664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35671 { echo "$as_me:$LINENO: checking for mode_t" >&5
35672 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35673 if test "${ac_cv_type_mode_t+set}" = set; then
35674 echo $ECHO_N "(cached) $ECHO_C" >&6
35676 cat >conftest.
$ac_ext <<_ACEOF
35679 cat confdefs.h
>>conftest.
$ac_ext
35680 cat >>conftest.
$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682 $ac_includes_default
35683 typedef mode_t ac__type_new_;
35687 if ((ac__type_new_ *) 0)
35689 if (sizeof (ac__type_new_))
35695 rm -f conftest.
$ac_objext
35696 if { (ac_try
="$ac_compile"
35697 case "(($ac_try" in
35698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_compile") 2>conftest.er1
35704 grep -v '^ *+' conftest.er1 >conftest.err
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_c_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest.$ac_objext; then
35712 ac_cv_type_mode_t=yes
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35717 ac_cv_type_mode_t=no
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35723 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35724 if test $ac_cv_type_mode_t = yes; then
35728 cat >>confdefs.h <<_ACEOF
35734 { echo "$as_me:$LINENO: checking for off_t" >&5
35735 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35736 if test "${ac_cv_type_off_t+set}" = set; then
35737 echo $ECHO_N "(cached) $ECHO_C" >&6
35739 cat >conftest.$ac_ext <<_ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35745 $ac_includes_default
35746 typedef off_t ac__type_new_;
35750 if ((ac__type_new_ *) 0)
35752 if (sizeof (ac__type_new_))
35758 rm -f conftest.$ac_objext
35759 if { (ac_try="$ac_compile"
35760 case "(($ac_try" in
35761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35762 *) ac_try_echo
=$ac_try;;
35764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35765 (eval "$ac_compile") 2>conftest.er1
35767 grep -v '^ *+' conftest.er1
>conftest.err
35769 cat conftest.err
>&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); } && {
35772 test -z "$ac_c_werror_flag" ||
35773 test ! -s conftest.err
35774 } && test -s conftest.
$ac_objext; then
35775 ac_cv_type_off_t
=yes
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.
$ac_ext >&5
35780 ac_cv_type_off_t
=no
35783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35785 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35786 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35787 if test $ac_cv_type_off_t = yes; then
35791 cat >>confdefs.h
<<_ACEOF
35792 #define off_t long int
35797 { echo "$as_me:$LINENO: checking for pid_t" >&5
35798 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35799 if test "${ac_cv_type_pid_t+set}" = set; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35802 cat >conftest.
$ac_ext <<_ACEOF
35805 cat confdefs.h
>>conftest.
$ac_ext
35806 cat >>conftest.
$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 $ac_includes_default
35809 typedef pid_t ac__type_new_;
35813 if ((ac__type_new_ *) 0)
35815 if (sizeof (ac__type_new_))
35821 rm -f conftest.
$ac_objext
35822 if { (ac_try
="$ac_compile"
35823 case "(($ac_try" in
35824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35825 *) ac_try_echo=$ac_try;;
35827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35828 (eval "$ac_compile") 2>conftest.er1
35830 grep -v '^ *+' conftest.er1 >conftest.err
35832 cat conftest.err >&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } && {
35835 test -z "$ac_c_werror_flag" ||
35836 test ! -s conftest.err
35837 } && test -s conftest.$ac_objext; then
35838 ac_cv_type_pid_t=yes
35840 echo "$as_me: failed program was:" >&5
35841 sed 's/^/| /' conftest.$ac_ext >&5
35843 ac_cv_type_pid_t=no
35846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35848 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35849 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35850 if test $ac_cv_type_pid_t = yes; then
35854 cat >>confdefs.h <<_ACEOF
35860 { echo "$as_me:$LINENO: checking for size_t" >&5
35861 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35862 if test "${ac_cv_type_size_t+set}" = set; then
35863 echo $ECHO_N "(cached) $ECHO_C" >&6
35865 cat >conftest.$ac_ext <<_ACEOF
35868 cat confdefs.h >>conftest.$ac_ext
35869 cat >>conftest.$ac_ext <<_ACEOF
35870 /* end confdefs.h. */
35871 $ac_includes_default
35872 typedef size_t ac__type_new_;
35876 if ((ac__type_new_ *) 0)
35878 if (sizeof (ac__type_new_))
35884 rm -f conftest.$ac_objext
35885 if { (ac_try="$ac_compile"
35886 case "(($ac_try" in
35887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35888 *) ac_try_echo
=$ac_try;;
35890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35891 (eval "$ac_compile") 2>conftest.er1
35893 grep -v '^ *+' conftest.er1
>conftest.err
35895 cat conftest.err
>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); } && {
35898 test -z "$ac_c_werror_flag" ||
35899 test ! -s conftest.err
35900 } && test -s conftest.
$ac_objext; then
35901 ac_cv_type_size_t
=yes
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.
$ac_ext >&5
35906 ac_cv_type_size_t
=no
35909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35911 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35912 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35913 if test $ac_cv_type_size_t = yes; then
35917 cat >>confdefs.h
<<_ACEOF
35918 #define size_t unsigned int
35924 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35925 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35926 if test "${ac_cv_type_ssize_t+set}" = set; then
35927 echo $ECHO_N "(cached) $ECHO_C" >&6
35929 cat >conftest.
$ac_ext <<_ACEOF
35932 cat confdefs.h
>>conftest.
$ac_ext
35933 cat >>conftest.
$ac_ext <<_ACEOF
35934 /* end confdefs.h. */
35935 $ac_includes_default
35936 typedef ssize_t ac__type_new_;
35940 if ((ac__type_new_ *) 0)
35942 if (sizeof (ac__type_new_))
35948 rm -f conftest.
$ac_objext
35949 if { (ac_try
="$ac_compile"
35950 case "(($ac_try" in
35951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35952 *) ac_try_echo=$ac_try;;
35954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35955 (eval "$ac_compile") 2>conftest.er1
35957 grep -v '^ *+' conftest.er1 >conftest.err
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } && {
35962 test -z "$ac_c_werror_flag" ||
35963 test ! -s conftest.err
35964 } && test -s conftest.$ac_objext; then
35965 ac_cv_type_ssize_t=yes
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35970 ac_cv_type_ssize_t=no
35973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35975 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35976 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35977 if test $ac_cv_type_ssize_t = yes; then
35979 cat >>confdefs.h <<_ACEOF
35980 #define HAVE_SSIZE_T 1
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35992 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35993 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35994 if test "${wx_cv_size_t_is_uint+set}" = set; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 cat >conftest.$ac_ext <<_ACEOF
36001 cat confdefs.h >>conftest.$ac_ext
36002 cat >>conftest.$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 #include <stddef.h>
36011 struct Foo { void foo(size_t); void foo(unsigned int); };
36019 rm -f conftest.$ac_objext
36020 if { (ac_try="$ac_compile"
36021 case "(($ac_try" in
36022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36023 *) ac_try_echo
=$ac_try;;
36025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36026 (eval "$ac_compile") 2>conftest.er1
36028 grep -v '^ *+' conftest.er1
>conftest.err
36030 cat conftest.err
>&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); } && {
36033 test -z "$ac_cxx_werror_flag" ||
36034 test ! -s conftest.err
36035 } && test -s conftest.
$ac_objext; then
36036 wx_cv_size_t_is_uint
=no
36038 echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.
$ac_ext >&5
36041 wx_cv_size_t_is_uint
=yes
36045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36049 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36050 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36052 if test "$wx_cv_size_t_is_uint" = "yes"; then
36053 cat >>confdefs.h
<<\_ACEOF
36054 #define wxSIZE_T_IS_UINT 1
36058 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36059 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36060 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 cat >conftest.
$ac_ext <<_ACEOF
36066 cat confdefs.h
>>conftest.
$ac_ext
36067 cat >>conftest.
$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069 #include <stddef.h>
36076 struct Foo { void foo(size_t); void foo(unsigned long); };
36084 rm -f conftest.
$ac_objext
36085 if { (ac_try
="$ac_compile"
36086 case "(($ac_try" in
36087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36088 *) ac_try_echo=$ac_try;;
36090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36091 (eval "$ac_compile") 2>conftest.er1
36093 grep -v '^ *+' conftest.er1 >conftest.err
36095 cat conftest.err >&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } && {
36098 test -z "$ac_cxx_werror_flag" ||
36099 test ! -s conftest.err
36100 } && test -s conftest.$ac_objext; then
36101 wx_cv_size_t_is_ulong=no
36103 echo "$as_me: failed program was:" >&5
36104 sed 's/^/| /' conftest.$ac_ext >&5
36106 wx_cv_size_t_is_ulong=yes
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36113 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36114 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36116 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define wxSIZE_T_IS_ULONG 1
36124 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36125 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36126 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 cat >conftest.$ac_ext <<_ACEOF
36132 cat confdefs.h >>conftest.$ac_ext
36133 cat >>conftest.$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36142 struct Foo { void foo(wchar_t);
36143 void foo(unsigned short);
36144 void foo(unsigned int);
36145 void foo(unsigned long); };
36153 rm -f conftest.$ac_objext
36154 if { (ac_try="$ac_compile"
36155 case "(($ac_try" in
36156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36157 *) ac_try_echo
=$ac_try;;
36159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36160 (eval "$ac_compile") 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && {
36167 test -z "$ac_cxx_werror_flag" ||
36168 test ! -s conftest.err
36169 } && test -s conftest.
$ac_objext; then
36170 wx_cv_wchar_t_is_separate_type
=yes
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.
$ac_ext >&5
36175 wx_cv_wchar_t_is_separate_type
=no
36179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36182 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36183 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36185 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36186 cat >>confdefs.h
<<\_ACEOF
36187 #define wxWCHAR_T_IS_REAL_TYPE 1
36191 cat >>confdefs.h
<<\_ACEOF
36192 #define wxWCHAR_T_IS_REAL_TYPE 0
36198 ac_cpp
='$CPP $CPPFLAGS'
36199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36204 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 cat >conftest.
$ac_ext <<_ACEOF
36213 cat confdefs.h
>>conftest.
$ac_ext
36214 cat >>conftest.
$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36229 rm -f conftest.
$ac_objext
36230 if { (ac_try
="$ac_compile"
36231 case "(($ac_try" in
36232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36233 *) ac_try_echo=$ac_try;;
36235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36236 (eval "$ac_compile") 2>conftest.er1
36238 grep -v '^ *+' conftest.er1 >conftest.err
36240 cat conftest.err >&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } && {
36243 test -z "$ac_c_werror_flag" ||
36244 test ! -s conftest.err
36245 } && test -s conftest.$ac_objext; then
36247 wx_cv_struct_pw_gecos=yes
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.$ac_ext >&5
36254 wx_cv_struct_pw_gecos=no
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36263 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36264 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36266 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36267 cat >>confdefs.h <<\_ACEOF
36268 #define HAVE_PW_GECOS 1
36277 for ac_func in wcslen
36279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 cat >conftest.$ac_ext <<_ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36293 #define $ac_func innocuous_$ac_func
36295 /* System header to define __stub macros and hopefully few prototypes,
36296 which can conflict with char $ac_func (); below.
36297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36298 <limits.h> exists even on freestanding compilers. */
36301 # include <limits.h>
36303 # include <assert.h>
36308 /* Override any GCC internal prototype to avoid an error.
36309 Use char because int might match the return type of a GCC
36310 builtin and then its argument prototype would still apply. */
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined __stub_$ac_func || defined __stub___$ac_func
36325 return $ac_func ();
36330 rm -f conftest.$ac_objext conftest$ac_exeext
36331 if { (ac_try="$ac_link"
36332 case "(($ac_try" in
36333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36334 *) ac_try_echo
=$ac_try;;
36336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36337 (eval "$ac_link") 2>conftest.er1
36339 grep -v '^ *+' conftest.er1
>conftest.err
36341 cat conftest.err
>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } && {
36344 test -z "$ac_c_werror_flag" ||
36345 test ! -s conftest.err
36346 } && test -s conftest
$ac_exeext &&
36347 $as_test_x conftest
$ac_exeext; then
36348 eval "$as_ac_var=yes"
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.
$ac_ext >&5
36353 eval "$as_ac_var=no"
36356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36357 conftest
$ac_exeext conftest.
$ac_ext
36359 ac_res
=`eval echo '${'$as_ac_var'}'`
36360 { echo "$as_me:$LINENO: result: $ac_res" >&5
36361 echo "${ECHO_T}$ac_res" >&6; }
36362 if test `eval echo '${'$as_ac_var'}'` = yes; then
36363 cat >>confdefs.h
<<_ACEOF
36364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 if test "$WCSLEN_FOUND" = 0; then
36372 if test "$TOOLKIT" = "MSW"; then
36373 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36374 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36375 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 ac_check_lib_save_LIBS
=$LIBS
36379 LIBS
="-lmsvcrt $LIBS"
36380 cat >conftest.
$ac_ext <<_ACEOF
36383 cat confdefs.h
>>conftest.
$ac_ext
36384 cat >>conftest.
$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36387 /* Override any GCC internal prototype to avoid an error.
36388 Use char because int might match the return type of a GCC
36389 builtin and then its argument prototype would still apply. */
36402 rm -f conftest.
$ac_objext conftest
$ac_exeext
36403 if { (ac_try
="$ac_link"
36404 case "(($ac_try" in
36405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36406 *) ac_try_echo=$ac_try;;
36408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36409 (eval "$ac_link") 2>conftest.er1
36411 grep -v '^ *+' conftest.er1 >conftest.err
36413 cat conftest.err >&5
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); } && {
36416 test -z "$ac_c_werror_flag" ||
36417 test ! -s conftest.err
36418 } && test -s conftest$ac_exeext &&
36419 $as_test_x conftest$ac_exeext; then
36420 ac_cv_lib_msvcrt_wcslen=yes
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36425 ac_cv_lib_msvcrt_wcslen=no
36428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36429 conftest$ac_exeext conftest.$ac_ext
36430 LIBS=$ac_check_lib_save_LIBS
36432 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36433 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36434 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36439 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36440 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36441 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36444 ac_check_lib_save_LIBS=$LIBS
36446 cat >conftest.$ac_ext <<_ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36453 /* Override any GCC internal prototype to avoid an error.
36454 Use char because int might match the return type of a GCC
36455 builtin and then its argument prototype would still apply. */
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (ac_try="$ac_link"
36470 case "(($ac_try" in
36471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36472 *) ac_try_echo
=$ac_try;;
36474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36475 (eval "$ac_link") 2>conftest.er1
36477 grep -v '^ *+' conftest.er1
>conftest.err
36479 cat conftest.err
>&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } && {
36482 test -z "$ac_c_werror_flag" ||
36483 test ! -s conftest.err
36484 } && test -s conftest
$ac_exeext &&
36485 $as_test_x conftest
$ac_exeext; then
36486 ac_cv_lib_w_wcslen
=yes
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.
$ac_ext >&5
36491 ac_cv_lib_w_wcslen
=no
36494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36495 conftest
$ac_exeext conftest.
$ac_ext
36496 LIBS
=$ac_check_lib_save_LIBS
36498 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36499 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36500 if test $ac_cv_lib_w_wcslen = yes; then
36510 if test "$WCSLEN_FOUND" = 1; then
36511 cat >>confdefs.h
<<\_ACEOF
36512 #define HAVE_WCSLEN 1
36523 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36525 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36526 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36528 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36529 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. */
36537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36539 #define $ac_func innocuous_$ac_func
36541 /* System header to define __stub macros and hopefully few prototypes,
36542 which can conflict with char $ac_func (); below.
36543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36544 <limits.h> exists even on freestanding compilers. */
36547 # include <limits.h>
36549 # include <assert.h>
36554 /* Override any GCC internal prototype to avoid an error.
36555 Use char because int might match the return type of a GCC
36556 builtin and then its argument prototype would still apply. */
36561 /* The GNU C library defines this for functions which it implements
36562 to always fail with ENOSYS. Some functions are actually named
36563 something starting with __ and the normal name is an alias. */
36564 #if defined __stub_$ac_func || defined __stub___$ac_func
36571 return $ac_func ();
36576 rm -f conftest.
$ac_objext conftest
$ac_exeext
36577 if { (ac_try
="$ac_link"
36578 case "(($ac_try" in
36579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36580 *) ac_try_echo=$ac_try;;
36582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36583 (eval "$ac_link") 2>conftest.er1
36585 grep -v '^ *+' conftest.er1 >conftest.err
36587 cat conftest.err >&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } && {
36590 test -z "$ac_c_werror_flag" ||
36591 test ! -s conftest.err
36592 } && test -s conftest$ac_exeext &&
36593 $as_test_x conftest$ac_exeext; then
36594 eval "$as_ac_var=yes"
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.$ac_ext >&5
36599 eval "$as_ac_var=no"
36602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36603 conftest$ac_exeext conftest.$ac_ext
36605 ac_res=`eval echo '${'$as_ac_var'}'`
36606 { echo "$as_me:$LINENO: result: $ac_res" >&5
36607 echo "${ECHO_T}$ac_res" >&6; }
36608 if test `eval echo '${'$as_ac_var'}'` = yes; then
36609 cat >>confdefs.h <<_ACEOF
36610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36617 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36618 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36621 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36622 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36623 if test "${ac_cv_type_mbstate_t+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 cat >conftest.$ac_ext <<_ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36634 typedef mbstate_t ac__type_new_;
36638 if ((ac__type_new_ *) 0)
36640 if (sizeof (ac__type_new_))
36646 rm -f conftest.$ac_objext
36647 if { (ac_try="$ac_compile"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36650 *) ac_try_echo
=$ac_try;;
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_compile") 2>conftest.er1
36655 grep -v '^ *+' conftest.er1
>conftest.err
36657 cat conftest.err
>&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_c_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest.
$ac_objext; then
36663 ac_cv_type_mbstate_t
=yes
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.
$ac_ext >&5
36668 ac_cv_type_mbstate_t
=no
36671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36673 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36674 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36675 if test $ac_cv_type_mbstate_t = yes; then
36677 cat >>confdefs.h
<<_ACEOF
36678 #define HAVE_MBSTATE_T 1
36682 for ac_func
in wcsrtombs
36684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36687 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36688 echo $ECHO_N "(cached) $ECHO_C" >&6
36690 cat >conftest.
$ac_ext <<_ACEOF
36693 cat confdefs.h
>>conftest.
$ac_ext
36694 cat >>conftest.
$ac_ext <<_ACEOF
36695 /* end confdefs.h. */
36696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36698 #define $ac_func innocuous_$ac_func
36700 /* System header to define __stub macros and hopefully few prototypes,
36701 which can conflict with char $ac_func (); below.
36702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36703 <limits.h> exists even on freestanding compilers. */
36706 # include <limits.h>
36708 # include <assert.h>
36713 /* Override any GCC internal prototype to avoid an error.
36714 Use char because int might match the return type of a GCC
36715 builtin and then its argument prototype would still apply. */
36720 /* The GNU C library defines this for functions which it implements
36721 to always fail with ENOSYS. Some functions are actually named
36722 something starting with __ and the normal name is an alias. */
36723 #if defined __stub_$ac_func || defined __stub___$ac_func
36730 return $ac_func ();
36735 rm -f conftest.
$ac_objext conftest
$ac_exeext
36736 if { (ac_try
="$ac_link"
36737 case "(($ac_try" in
36738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36739 *) ac_try_echo=$ac_try;;
36741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36742 (eval "$ac_link") 2>conftest.er1
36744 grep -v '^ *+' conftest.er1 >conftest.err
36746 cat conftest.err >&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); } && {
36749 test -z "$ac_c_werror_flag" ||
36750 test ! -s conftest.err
36751 } && test -s conftest$ac_exeext &&
36752 $as_test_x conftest$ac_exeext; then
36753 eval "$as_ac_var=yes"
36755 echo "$as_me: failed program was:" >&5
36756 sed 's/^/| /' conftest.$ac_ext >&5
36758 eval "$as_ac_var=no"
36761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36762 conftest$ac_exeext conftest.$ac_ext
36764 ac_res=`eval echo '${'$as_ac_var'}'`
36765 { echo "$as_me:$LINENO: result: $ac_res" >&5
36766 echo "${ECHO_T}$ac_res" >&6; }
36767 if test `eval echo '${'$as_ac_var'}'` = yes; then
36768 cat >>confdefs.h <<_ACEOF
36769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36781 for ac_func in snprintf vsnprintf vsscanf
36783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36787 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 cat >conftest.$ac_ext <<_ACEOF
36792 cat confdefs.h >>conftest.$ac_ext
36793 cat >>conftest.$ac_ext <<_ACEOF
36794 /* end confdefs.h. */
36795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36797 #define $ac_func innocuous_$ac_func
36799 /* System header to define __stub macros and hopefully few prototypes,
36800 which can conflict with char $ac_func (); below.
36801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36802 <limits.h> exists even on freestanding compilers. */
36805 # include <limits.h>
36807 # include <assert.h>
36812 /* Override any GCC internal prototype to avoid an error.
36813 Use char because int might match the return type of a GCC
36814 builtin and then its argument prototype would still apply. */
36819 /* The GNU C library defines this for functions which it implements
36820 to always fail with ENOSYS. Some functions are actually named
36821 something starting with __ and the normal name is an alias. */
36822 #if defined __stub_$ac_func || defined __stub___$ac_func
36829 return $ac_func ();
36834 rm -f conftest.$ac_objext conftest$ac_exeext
36835 if { (ac_try="$ac_link"
36836 case "(($ac_try" in
36837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36838 *) ac_try_echo
=$ac_try;;
36840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36841 (eval "$ac_link") 2>conftest.er1
36843 grep -v '^ *+' conftest.er1
>conftest.err
36845 cat conftest.err
>&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } && {
36848 test -z "$ac_c_werror_flag" ||
36849 test ! -s conftest.err
36850 } && test -s conftest
$ac_exeext &&
36851 $as_test_x conftest
$ac_exeext; then
36852 eval "$as_ac_var=yes"
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.
$ac_ext >&5
36857 eval "$as_ac_var=no"
36860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36861 conftest
$ac_exeext conftest.
$ac_ext
36863 ac_res
=`eval echo '${'$as_ac_var'}'`
36864 { echo "$as_me:$LINENO: result: $ac_res" >&5
36865 echo "${ECHO_T}$ac_res" >&6; }
36866 if test `eval echo '${'$as_ac_var'}'` = yes; then
36867 cat >>confdefs.h
<<_ACEOF
36868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36876 ac_cpp
='$CXXCPP $CPPFLAGS'
36877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36881 if test "$ac_cv_func_vsnprintf" = "yes"; then
36882 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36883 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36884 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36888 cat >conftest.
$ac_ext <<_ACEOF
36891 cat confdefs.h
>>conftest.
$ac_ext
36892 cat >>conftest.
$ac_ext <<_ACEOF
36893 /* end confdefs.h. */
36896 #include <stdarg.h>
36898 #if __MSL__ >= 0x6000
36900 using namespace std;
36910 vsnprintf(buf, 10u, "%s", ap);
36916 rm -f conftest.
$ac_objext
36917 if { (ac_try
="$ac_compile"
36918 case "(($ac_try" in
36919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_compile") 2>conftest.er1
36925 grep -v '^ *+' conftest.er1 >conftest.err
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } && {
36930 test -z "$ac_cxx_werror_flag" ||
36931 test ! -s conftest.err
36932 } && test -s conftest.$ac_objext; then
36933 wx_cv_func_vsnprintf_decl=yes
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36938 wx_cv_func_vsnprintf_decl=no
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36947 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36949 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define HAVE_VSNPRINTF_DECL 1
36955 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36956 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36957 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 cat >conftest.$ac_ext <<_ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36969 #include <stdarg.h>
36971 #if __MSL__ >= 0x6000
36973 using namespace std;
36983 const char *fmt = "%s";
36984 vsnprintf(buf, 10u, fmt, ap);
36990 rm -f conftest.$ac_objext
36991 if { (ac_try="$ac_compile"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36994 *) ac_try_echo
=$ac_try;;
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_compile") 2>conftest.er1
36999 grep -v '^ *+' conftest.er1
>conftest.err
37001 cat conftest.err
>&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_cxx_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest.
$ac_objext; then
37007 wx_cv_func_broken_vsnprintf_decl
=no
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.
$ac_ext >&5
37012 wx_cv_func_broken_vsnprintf_decl
=yes
37016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37020 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37021 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37023 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37024 cat >>confdefs.h
<<\_ACEOF
37025 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37032 if test "$ac_cv_func_snprintf" = "yes"; then
37033 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37034 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37035 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37039 cat >conftest.
$ac_ext <<_ACEOF
37042 cat confdefs.h
>>conftest.
$ac_ext
37043 cat >>conftest.
$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37047 #include <stdarg.h>
37049 #if __MSL__ >= 0x6000
37051 using namespace std;
37060 snprintf(buf, 10u, "%s", "wx");
37066 rm -f conftest.
$ac_objext
37067 if { (ac_try
="$ac_compile"
37068 case "(($ac_try" in
37069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37070 *) ac_try_echo=$ac_try;;
37072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37073 (eval "$ac_compile") 2>conftest.er1
37075 grep -v '^ *+' conftest.er1 >conftest.err
37077 cat conftest.err >&5
37078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079 (exit $ac_status); } && {
37080 test -z "$ac_cxx_werror_flag" ||
37081 test ! -s conftest.err
37082 } && test -s conftest.$ac_objext; then
37083 wx_cv_func_snprintf_decl=yes
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37088 wx_cv_func_snprintf_decl=no
37092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37097 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37099 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define HAVE_SNPRINTF_DECL 1
37106 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37108 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37109 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37110 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37111 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 if test "$cross_compiling" = yes; then
37116 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37117 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37118 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37119 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37120 wx_cv_func_snprintf_pos_params=no
37124 cat >conftest.$ac_ext <<_ACEOF
37127 cat confdefs.h >>conftest.$ac_ext
37128 cat >>conftest.$ac_ext <<_ACEOF
37129 /* end confdefs.h. */
37136 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37137 if (strcmp ("2 3 1", buffer) == 0)
37143 rm -f conftest$ac_exeext
37144 if { (ac_try="$ac_link"
37145 case "(($ac_try" in
37146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37147 *) ac_try_echo
=$ac_try;;
37149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37150 (eval "$ac_link") 2>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37154 { (case "(($ac_try" in
37155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37156 *) ac_try_echo=$ac_try;;
37158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37159 (eval "$ac_try") 2>&5
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; }; then
37163 wx_cv_func_snprintf_pos_params=no
37165 echo "$as_me: program exited with status $ac_status" >&5
37166 echo "$as_me: failed program was:" >&5
37167 sed 's/^/| /' conftest.$ac_ext >&5
37169 ( exit $ac_status )
37170 wx_cv_func_snprintf_pos_params=yes
37172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37179 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37180 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37182 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37183 cat >>confdefs.h <<\_ACEOF
37184 #define HAVE_UNIX98_PRINTF 1
37191 if test "$ac_cv_func_vsscanf" = "yes"; then
37192 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37193 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37194 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 cat >conftest.$ac_ext <<_ACEOF
37201 cat confdefs.h >>conftest.$ac_ext
37202 cat >>conftest.$ac_ext <<_ACEOF
37203 /* end confdefs.h. */
37206 #include <stdarg.h>
37208 #if __MSL__ >= 0x6000
37210 using namespace std;
37220 vsscanf(buf, "%s", args);
37226 rm -f conftest.$ac_objext
37227 if { (ac_try="$ac_compile"
37228 case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37230 *) ac_try_echo
=$ac_try;;
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_compile") 2>conftest.er1
37235 grep -v '^ *+' conftest.er1
>conftest.err
37237 cat conftest.err
>&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_cxx_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest.
$ac_objext; then
37243 wx_cv_func_vsscanf_decl
=yes
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.
$ac_ext >&5
37248 wx_cv_func_vsscanf_decl
=no
37252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37256 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37257 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37259 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37260 cat >>confdefs.h
<<\_ACEOF
37261 #define HAVE_VSSCANF_DECL 1
37267 ac_cpp
='$CPP $CPPFLAGS'
37268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37273 if test "$wxUSE_UNICODE" = yes; then
37275 wchar_headers
="#include <stdio.h>
37276 #include <wchar.h>"
37280 for ac_header
in widec.h
37282 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37285 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37286 echo $ECHO_N "(cached) $ECHO_C" >&6
37288 cat >conftest.
$ac_ext <<_ACEOF
37291 cat confdefs.h
>>conftest.
$ac_ext
37292 cat >>conftest.
$ac_ext <<_ACEOF
37293 /* end confdefs.h. */
37294 $ac_includes_default
37296 #include <$ac_header>
37298 rm -f conftest.
$ac_objext
37299 if { (ac_try
="$ac_compile"
37300 case "(($ac_try" in
37301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37302 *) ac_try_echo=$ac_try;;
37304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37305 (eval "$ac_compile") 2>conftest.er1
37307 grep -v '^ *+' conftest.er1 >conftest.err
37309 cat conftest.err >&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); } && {
37312 test -z "$ac_c_werror_flag" ||
37313 test ! -s conftest.err
37314 } && test -s conftest.$ac_objext; then
37315 eval "$as_ac_Header=yes"
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37320 eval "$as_ac_Header=no"
37323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37325 ac_res=`eval echo '${'$as_ac_Header'}'`
37326 { echo "$as_me:$LINENO: result: $ac_res" >&5
37327 echo "${ECHO_T}$ac_res" >&6; }
37328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37329 cat >>confdefs.h <<_ACEOF
37330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37337 if test "$ac_cv_header_widec_h" = "yes"; then
37338 wchar_headers="$wchar_headers
37339 #include <widec.h>"
37344 for wx_func in putws fputws wprintf vswprintf vswscanf
37346 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37347 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37348 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37349 echo $ECHO_N "(cached) $ECHO_C" >&6
37352 cat >conftest.$ac_ext <<_ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37361 $ac_includes_default
37377 rm -f conftest.$ac_objext conftest$ac_exeext
37378 if { (ac_try="$ac_link"
37379 case "(($ac_try" in
37380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37381 *) ac_try_echo
=$ac_try;;
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_link") 2>conftest.er1
37386 grep -v '^ *+' conftest.er1
>conftest.err
37388 cat conftest.err
>&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_c_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest
$ac_exeext &&
37394 $as_test_x conftest
$ac_exeext; then
37395 eval wx_cv_func_
$wx_func=yes
37397 echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.
$ac_ext >&5
37400 eval wx_cv_func_
$wx_func=no
37403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37404 conftest
$ac_exeext conftest.
$ac_ext
37407 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37408 { echo "$as_me:$LINENO: result: $ac_res" >&5
37409 echo "${ECHO_T}$ac_res" >&6; }
37411 if eval test \
$wx_cv_func_$wx_func = yes
37413 cat >>confdefs.h
<<_ACEOF
37414 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37425 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37426 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37427 cat >conftest.
$ac_ext <<_ACEOF
37430 cat confdefs.h
>>conftest.
$ac_ext
37431 cat >>conftest.
$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37442 rm -f conftest.
$ac_objext
37443 if { (ac_try
="$ac_compile"
37444 case "(($ac_try" in
37445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37446 *) ac_try_echo=$ac_try;;
37448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37449 (eval "$ac_compile") 2>conftest.er1
37451 grep -v '^ *+' conftest.er1 >conftest.err
37453 cat conftest.err >&5
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); } && {
37456 test -z "$ac_c_werror_flag" ||
37457 test ! -s conftest.err
37458 } && test -s conftest.$ac_objext; then
37459 { echo "$as_me:$LINENO: result: yes" >&5
37460 echo "${ECHO_T}yes" >&6; }
37461 cat >>confdefs.h <<\_ACEOF
37462 #define HAVE__VSNWPRINTF 1
37466 echo "$as_me: failed program was:" >&5
37467 sed 's/^/| /' conftest.$ac_ext >&5
37469 { echo "$as_me:$LINENO: result: no" >&5
37470 echo "${ECHO_T}no" >&6; }
37473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37476 if test "$wxUSE_FILE" = "yes"; then
37478 for wx_func in fsync
37480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37482 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 cat >conftest.$ac_ext <<_ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37495 $ac_includes_default
37511 rm -f conftest.$ac_objext conftest$ac_exeext
37512 if { (ac_try="$ac_link"
37513 case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37515 *) ac_try_echo
=$ac_try;;
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_link") 2>conftest.er1
37520 grep -v '^ *+' conftest.er1
>conftest.err
37522 cat conftest.err
>&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } && {
37525 test -z "$ac_c_werror_flag" ||
37526 test ! -s conftest.err
37527 } && test -s conftest
$ac_exeext &&
37528 $as_test_x conftest
$ac_exeext; then
37529 eval wx_cv_func_
$wx_func=yes
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.
$ac_ext >&5
37534 eval wx_cv_func_
$wx_func=no
37537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37538 conftest
$ac_exeext conftest.
$ac_ext
37541 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37545 if eval test \
$wx_cv_func_$wx_func = yes
37547 cat >>confdefs.h
<<_ACEOF
37548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37561 ac_cpp
='$CXXCPP $CPPFLAGS'
37562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37567 for wx_func
in round
37569 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37570 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37571 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37572 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 cat >conftest.
$ac_ext <<_ACEOF
37579 cat confdefs.h
>>conftest.
$ac_ext
37580 cat >>conftest.
$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37584 $ac_includes_default
37600 rm -f conftest.
$ac_objext conftest
$ac_exeext
37601 if { (ac_try
="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37609 grep -v '^ *+' conftest.er1 >conftest.err
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_cxx_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 eval wx_cv_func_$wx_func=yes
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37623 eval wx_cv_func_$wx_func=no
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37630 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37631 { echo "$as_me:$LINENO: result: $ac_res" >&5
37632 echo "${ECHO_T}$ac_res" >&6; }
37634 if eval test \$wx_cv_func_$wx_func = yes
37636 cat >>confdefs.h <<_ACEOF
37637 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37648 ac_cpp='$CPP $CPPFLAGS'
37649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37654 if test "$TOOLKIT" != "MSW"; then
37656 if test "$wxUSE_LIBICONV" != "no" ; then
37660 # Check whether --with-libiconv-prefix was given.
37661 if test "${with_libiconv_prefix+set}" = set; then
37662 withval=$with_libiconv_prefix;
37663 for dir in `echo "$withval" | tr : ' '`; do
37664 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37665 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37671 { echo "$as_me:$LINENO: checking for iconv" >&5
37672 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37673 if test "${am_cv_func_iconv+set}" = set; then
37674 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 am_cv_func_iconv="no, consider installing GNU libiconv"
37679 cat >conftest.$ac_ext <<_ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37685 #include <stdlib.h>
37690 iconv_t cd = iconv_open("","");
37691 iconv(cd,NULL,NULL,NULL,NULL);
37697 rm -f conftest.$ac_objext conftest$ac_exeext
37698 if { (ac_try="$ac_link"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37701 *) ac_try_echo
=$ac_try;;
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_link") 2>conftest.er1
37706 grep -v '^ *+' conftest.er1
>conftest.err
37708 cat conftest.err
>&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest
$ac_exeext &&
37714 $as_test_x conftest
$ac_exeext; then
37715 am_cv_func_iconv
=yes
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.
$ac_ext >&5
37723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37724 conftest
$ac_exeext conftest.
$ac_ext
37725 if test "$am_cv_func_iconv" != yes; then
37726 am_save_LIBS
="$LIBS"
37727 LIBS
="$LIBS -liconv"
37728 cat >conftest.
$ac_ext <<_ACEOF
37731 cat confdefs.h
>>conftest.
$ac_ext
37732 cat >>conftest.
$ac_ext <<_ACEOF
37733 /* end confdefs.h. */
37734 #include <stdlib.h>
37739 iconv_t cd = iconv_open("","");
37740 iconv(cd,NULL,NULL,NULL,NULL);
37746 rm -f conftest.
$ac_objext conftest
$ac_exeext
37747 if { (ac_try
="$ac_link"
37748 case "(($ac_try" in
37749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37750 *) ac_try_echo=$ac_try;;
37752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37753 (eval "$ac_link") 2>conftest.er1
37755 grep -v '^ *+' conftest.er1 >conftest.err
37757 cat conftest.err >&5
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); } && {
37760 test -z "$ac_c_werror_flag" ||
37761 test ! -s conftest.err
37762 } && test -s conftest$ac_exeext &&
37763 $as_test_x conftest$ac_exeext; then
37764 am_cv_lib_iconv=yes
37765 am_cv_func_iconv=yes
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37774 conftest$ac_exeext conftest.$ac_ext
37775 LIBS="$am_save_LIBS"
37779 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37780 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37781 if test "$am_cv_func_iconv" = yes; then
37783 cat >>confdefs.h <<\_ACEOF
37784 #define HAVE_ICONV 1
37787 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37788 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37789 if test "${wx_cv_func_iconv_const+set}" = set; then
37790 echo $ECHO_N "(cached) $ECHO_C" >&6
37792 cat >conftest.$ac_ext <<_ACEOF
37795 cat confdefs.h >>conftest.$ac_ext
37796 cat >>conftest.$ac_ext <<_ACEOF
37797 /* end confdefs.h. */
37799 #include <stdlib.h>
37805 #if defined(__STDC__) || defined(__cplusplus)
37806 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37819 rm -f conftest.$ac_objext
37820 if { (ac_try="$ac_compile"
37821 case "(($ac_try" in
37822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37823 *) ac_try_echo
=$ac_try;;
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_compile") 2>conftest.er1
37828 grep -v '^ *+' conftest.er1
>conftest.err
37830 cat conftest.err
>&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest.
$ac_objext; then
37836 wx_cv_func_iconv_const
="no"
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.
$ac_ext >&5
37841 wx_cv_func_iconv_const
="yes"
37845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37848 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37849 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37852 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37853 iconv_const
="const"
37857 cat >>confdefs.h
<<_ACEOF
37858 #define ICONV_CONST $iconv_const
37863 if test "$am_cv_lib_iconv" = yes; then
37868 LIBS
="$LIBICONV $LIBS"
37871 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37873 for ac_func
in sigaction
37875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37878 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 cat >conftest.
$ac_ext <<_ACEOF
37884 cat confdefs.h
>>conftest.
$ac_ext
37885 cat >>conftest.
$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37889 #define $ac_func innocuous_$ac_func
37891 /* System header to define __stub macros and hopefully few prototypes,
37892 which can conflict with char $ac_func (); below.
37893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37894 <limits.h> exists even on freestanding compilers. */
37897 # include <limits.h>
37899 # include <assert.h>
37904 /* Override any GCC internal prototype to avoid an error.
37905 Use char because int might match the return type of a GCC
37906 builtin and then its argument prototype would still apply. */
37911 /* The GNU C library defines this for functions which it implements
37912 to always fail with ENOSYS. Some functions are actually named
37913 something starting with __ and the normal name is an alias. */
37914 #if defined __stub_$ac_func || defined __stub___$ac_func
37921 return $ac_func ();
37926 rm -f conftest.
$ac_objext conftest
$ac_exeext
37927 if { (ac_try
="$ac_link"
37928 case "(($ac_try" in
37929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_link") 2>conftest.er1
37935 grep -v '^ *+' conftest.er1 >conftest.err
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest$ac_exeext &&
37943 $as_test_x conftest$ac_exeext; then
37944 eval "$as_ac_var=yes"
37946 echo "$as_me: failed program was:" >&5
37947 sed 's/^/| /' conftest.$ac_ext >&5
37949 eval "$as_ac_var=no"
37952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37953 conftest$ac_exeext conftest.$ac_ext
37955 ac_res=`eval echo '${'$as_ac_var'}'`
37956 { echo "$as_me:$LINENO: result: $ac_res" >&5
37957 echo "${ECHO_T}$ac_res" >&6; }
37958 if test `eval echo '${'$as_ac_var'}'` = yes; then
37959 cat >>confdefs.h <<_ACEOF
37960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37967 if test "$ac_cv_func_sigaction" = "no"; then
37968 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37969 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37970 wxUSE_ON_FATAL_EXCEPTION=no
37973 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37974 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37975 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37976 if test "${wx_cv_type_sa_handler+set}" = set; then
37977 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 ac_cpp='$CXXCPP $CPPFLAGS'
37982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37986 cat >conftest.$ac_ext <<_ACEOF
37989 cat confdefs.h >>conftest.$ac_ext
37990 cat >>conftest.$ac_ext <<_ACEOF
37991 /* end confdefs.h. */
37992 #include <signal.h>
37997 extern void testSigHandler(int);
37999 struct sigaction sa;
38000 sa.sa_handler = testSigHandler;
38006 rm -f conftest.$ac_objext
38007 if { (ac_try="$ac_compile"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38010 *) ac_try_echo
=$ac_try;;
38012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_compile") 2>conftest.er1
38015 grep -v '^ *+' conftest.er1
>conftest.err
38017 cat conftest.err
>&5
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_cxx_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest.
$ac_objext; then
38024 wx_cv_type_sa_handler
=int
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.
$ac_ext >&5
38031 wx_cv_type_sa_handler
=void
38035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38037 ac_cpp
='$CPP $CPPFLAGS'
38038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38044 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38045 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38047 cat >>confdefs.h
<<_ACEOF
38048 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38054 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38055 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38056 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38057 if test "${wx_cv_func_backtrace+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 ac_cpp
='$CXXCPP $CPPFLAGS'
38063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38067 cat >conftest.
$ac_ext <<_ACEOF
38070 cat confdefs.h
>>conftest.
$ac_ext
38071 cat >>conftest.
$ac_ext <<_ACEOF
38072 /* end confdefs.h. */
38073 #include <execinfo.h>
38081 backtrace(trace, 1);
38082 messages = backtrace_symbols(trace, 1);
38088 rm -f conftest.
$ac_objext
38089 if { (ac_try
="$ac_compile"
38090 case "(($ac_try" in
38091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38092 *) ac_try_echo=$ac_try;;
38094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38095 (eval "$ac_compile") 2>conftest.er1
38097 grep -v '^ *+' conftest.er1 >conftest.err
38099 cat conftest.err >&5
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); } && {
38102 test -z "$ac_cxx_werror_flag" ||
38103 test ! -s conftest.err
38104 } && test -s conftest.$ac_objext; then
38105 wx_cv_func_backtrace=yes
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.$ac_ext >&5
38110 wx_cv_func_backtrace=no
38114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38116 ac_cpp='$CPP $CPPFLAGS'
38117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38124 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38125 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38128 if test "$wx_cv_func_backtrace" = "no"; then
38129 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38130 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38131 wxUSE_STACKWALKER=no
38133 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38134 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38135 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38140 ac_cpp='$CXXCPP $CPPFLAGS'
38141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38145 cat >conftest.$ac_ext <<_ACEOF
38148 cat confdefs.h >>conftest.$ac_ext
38149 cat >>conftest.$ac_ext <<_ACEOF
38150 /* end confdefs.h. */
38151 #include <cxxabi.h>
38157 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38163 rm -f conftest.$ac_objext conftest$ac_exeext
38164 if { (ac_try="$ac_link"
38165 case "(($ac_try" in
38166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38167 *) ac_try_echo
=$ac_try;;
38169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38170 (eval "$ac_link") 2>conftest.er1
38172 grep -v '^ *+' conftest.er1
>conftest.err
38174 cat conftest.err
>&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } && {
38177 test -z "$ac_cxx_werror_flag" ||
38178 test ! -s conftest.err
38179 } && test -s conftest
$ac_exeext &&
38180 $as_test_x conftest
$ac_exeext; then
38181 wx_cv_func_cxa_demangle
=yes
38183 echo "$as_me: failed program was:" >&5
38184 sed 's/^/| /' conftest.
$ac_ext >&5
38186 wx_cv_func_cxa_demangle
=no
38190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38191 conftest
$ac_exeext conftest.
$ac_ext
38193 ac_cpp
='$CPP $CPPFLAGS'
38194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38201 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38202 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38204 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38205 cat >>confdefs.h
<<\_ACEOF
38206 #define HAVE_CXA_DEMANGLE 1
38213 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38214 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38215 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38216 wxUSE_STACKWALKER
=no
38222 for ac_func
in mkstemp mktemp
38224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38227 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38228 echo $ECHO_N "(cached) $ECHO_C" >&6
38230 cat >conftest.
$ac_ext <<_ACEOF
38233 cat confdefs.h
>>conftest.
$ac_ext
38234 cat >>conftest.
$ac_ext <<_ACEOF
38235 /* end confdefs.h. */
38236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38238 #define $ac_func innocuous_$ac_func
38240 /* System header to define __stub macros and hopefully few prototypes,
38241 which can conflict with char $ac_func (); below.
38242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38243 <limits.h> exists even on freestanding compilers. */
38246 # include <limits.h>
38248 # include <assert.h>
38253 /* Override any GCC internal prototype to avoid an error.
38254 Use char because int might match the return type of a GCC
38255 builtin and then its argument prototype would still apply. */
38260 /* The GNU C library defines this for functions which it implements
38261 to always fail with ENOSYS. Some functions are actually named
38262 something starting with __ and the normal name is an alias. */
38263 #if defined __stub_$ac_func || defined __stub___$ac_func
38270 return $ac_func ();
38275 rm -f conftest.
$ac_objext conftest
$ac_exeext
38276 if { (ac_try
="$ac_link"
38277 case "(($ac_try" in
38278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38279 *) ac_try_echo=$ac_try;;
38281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38282 (eval "$ac_link") 2>conftest.er1
38284 grep -v '^ *+' conftest.er1 >conftest.err
38286 cat conftest.err >&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } && {
38289 test -z "$ac_c_werror_flag" ||
38290 test ! -s conftest.err
38291 } && test -s conftest$ac_exeext &&
38292 $as_test_x conftest$ac_exeext; then
38293 eval "$as_ac_var=yes"
38295 echo "$as_me: failed program was:" >&5
38296 sed 's/^/| /' conftest.$ac_ext >&5
38298 eval "$as_ac_var=no"
38301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38302 conftest$ac_exeext conftest.$ac_ext
38304 ac_res=`eval echo '${'$as_ac_var'}'`
38305 { echo "$as_me:$LINENO: result: $ac_res" >&5
38306 echo "${ECHO_T}$ac_res" >&6; }
38307 if test `eval echo '${'$as_ac_var'}'` = yes; then
38308 cat >>confdefs.h <<_ACEOF
38309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38316 { echo "$as_me:$LINENO: checking for statfs" >&5
38317 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38318 if test "${wx_cv_func_statfs+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 cat >conftest.$ac_ext <<_ACEOF
38324 cat confdefs.h >>conftest.$ac_ext
38325 cat >>conftest.$ac_ext <<_ACEOF
38326 /* end confdefs.h. */
38328 #if defined(__BSD__)
38329 #include <sys/param.h>
38330 #include <sys/mount.h>
38332 #include <sys/vfs.h>
38350 rm -f conftest.$ac_objext
38351 if { (ac_try="$ac_compile"
38352 case "(($ac_try" in
38353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38354 *) ac_try_echo
=$ac_try;;
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_compile") 2>conftest.er1
38359 grep -v '^ *+' conftest.er1
>conftest.err
38361 cat conftest.err
>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest.
$ac_objext; then
38367 wx_cv_func_statfs
=yes
38369 echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.
$ac_ext >&5
38372 wx_cv_func_statfs
=no
38376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38379 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38380 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38382 if test "$wx_cv_func_statfs" = "yes"; then
38383 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38384 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38385 if test "${wx_cv_func_statfs_decl+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 ac_cpp
='$CXXCPP $CPPFLAGS'
38390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38394 cat >conftest.
$ac_ext <<_ACEOF
38397 cat confdefs.h
>>conftest.
$ac_ext
38398 cat >>conftest.
$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38401 #if defined(__BSD__)
38402 #include <sys/param.h>
38403 #include <sys/mount.h>
38405 #include <sys/vfs.h>
38419 rm -f conftest.
$ac_objext
38420 if { (ac_try
="$ac_compile"
38421 case "(($ac_try" in
38422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_compile") 2>conftest.er1
38428 grep -v '^ *+' conftest.er1 >conftest.err
38430 cat conftest.err >&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } && {
38433 test -z "$ac_cxx_werror_flag" ||
38434 test ! -s conftest.err
38435 } && test -s conftest.$ac_objext; then
38436 wx_cv_func_statfs_decl=yes
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38441 wx_cv_func_statfs_decl=no
38445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38447 ac_cpp='$CPP $CPPFLAGS'
38448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38454 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38455 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38457 if test "$wx_cv_func_statfs_decl" = "yes"; then
38458 cat >>confdefs.h <<\_ACEOF
38459 #define HAVE_STATFS_DECL 1
38464 wx_cv_type_statvfs_t="struct statfs"
38465 cat >>confdefs.h <<\_ACEOF
38466 #define HAVE_STATFS 1
38470 { echo "$as_me:$LINENO: checking for statvfs" >&5
38471 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38472 if test "${wx_cv_func_statvfs+set}" = set; then
38473 echo $ECHO_N "(cached) $ECHO_C" >&6
38475 cat >conftest.$ac_ext <<_ACEOF
38478 cat confdefs.h >>conftest.$ac_ext
38479 cat >>conftest.$ac_ext <<_ACEOF
38480 /* end confdefs.h. */
38482 #include <stddef.h>
38483 #include <sys/statvfs.h>
38489 statvfs("/", NULL);
38495 rm -f conftest.$ac_objext
38496 if { (ac_try="$ac_compile"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38499 *) ac_try_echo
=$ac_try;;
38501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_compile") 2>conftest.er1
38504 grep -v '^ *+' conftest.er1
>conftest.err
38506 cat conftest.err
>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_c_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest.
$ac_objext; then
38512 wx_cv_func_statvfs
=yes
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.
$ac_ext >&5
38517 wx_cv_func_statvfs
=no
38521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38524 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38525 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38527 if test "$wx_cv_func_statvfs" = "yes"; then
38528 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38529 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38530 if test "${wx_cv_type_statvfs_t+set}" = set; then
38531 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 ac_cpp
='$CXXCPP $CPPFLAGS'
38535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38539 cat >conftest.
$ac_ext <<_ACEOF
38542 cat confdefs.h
>>conftest.
$ac_ext
38543 cat >>conftest.
$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38546 #include <sys/statvfs.h>
38563 rm -f conftest.
$ac_objext
38564 if { (ac_try
="$ac_compile"
38565 case "(($ac_try" in
38566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38567 *) ac_try_echo=$ac_try;;
38569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38570 (eval "$ac_compile") 2>conftest.er1
38572 grep -v '^ *+' conftest.er1 >conftest.err
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } && {
38577 test -z "$ac_cxx_werror_flag" ||
38578 test ! -s conftest.err
38579 } && test -s conftest.$ac_objext; then
38580 wx_cv_type_statvfs_t=statvfs_t
38582 echo "$as_me: failed program was:" >&5
38583 sed 's/^/| /' conftest.$ac_ext >&5
38586 cat >conftest.$ac_ext <<_ACEOF
38589 cat confdefs.h >>conftest.$ac_ext
38590 cat >>conftest.$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38593 #include <sys/statvfs.h>
38610 rm -f conftest.$ac_objext
38611 if { (ac_try="$ac_compile"
38612 case "(($ac_try" in
38613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38614 *) ac_try_echo
=$ac_try;;
38616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38617 (eval "$ac_compile") 2>conftest.er1
38619 grep -v '^ *+' conftest.er1
>conftest.err
38621 cat conftest.err
>&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); } && {
38624 test -z "$ac_cxx_werror_flag" ||
38625 test ! -s conftest.err
38626 } && test -s conftest.
$ac_objext; then
38627 wx_cv_type_statvfs_t
="struct statvfs"
38629 echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.
$ac_ext >&5
38632 wx_cv_type_statvfs_t
="unknown"
38636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38643 ac_cpp
='$CPP $CPPFLAGS'
38644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38650 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38651 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38653 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38654 cat >>confdefs.h
<<\_ACEOF
38655 #define HAVE_STATVFS 1
38660 wx_cv_type_statvfs_t
="unknown"
38664 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38665 cat >>confdefs.h
<<_ACEOF
38666 #define WX_STATFS_T $wx_cv_type_statvfs_t
38670 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38671 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38674 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38677 for ac_func
in fcntl flock
38679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38682 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38683 echo $ECHO_N "(cached) $ECHO_C" >&6
38685 cat >conftest.
$ac_ext <<_ACEOF
38688 cat confdefs.h
>>conftest.
$ac_ext
38689 cat >>conftest.
$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38693 #define $ac_func innocuous_$ac_func
38695 /* System header to define __stub macros and hopefully few prototypes,
38696 which can conflict with char $ac_func (); below.
38697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38698 <limits.h> exists even on freestanding compilers. */
38701 # include <limits.h>
38703 # include <assert.h>
38708 /* Override any GCC internal prototype to avoid an error.
38709 Use char because int might match the return type of a GCC
38710 builtin and then its argument prototype would still apply. */
38715 /* The GNU C library defines this for functions which it implements
38716 to always fail with ENOSYS. Some functions are actually named
38717 something starting with __ and the normal name is an alias. */
38718 #if defined __stub_$ac_func || defined __stub___$ac_func
38725 return $ac_func ();
38730 rm -f conftest.
$ac_objext conftest
$ac_exeext
38731 if { (ac_try
="$ac_link"
38732 case "(($ac_try" in
38733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38734 *) ac_try_echo=$ac_try;;
38736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38737 (eval "$ac_link") 2>conftest.er1
38739 grep -v '^ *+' conftest.er1 >conftest.err
38741 cat conftest.err >&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); } && {
38744 test -z "$ac_c_werror_flag" ||
38745 test ! -s conftest.err
38746 } && test -s conftest$ac_exeext &&
38747 $as_test_x conftest$ac_exeext; then
38748 eval "$as_ac_var=yes"
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.$ac_ext >&5
38753 eval "$as_ac_var=no"
38756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38757 conftest$ac_exeext conftest.$ac_ext
38759 ac_res=`eval echo '${'$as_ac_var'}'`
38760 { echo "$as_me:$LINENO: result: $ac_res" >&5
38761 echo "${ECHO_T}$ac_res" >&6; }
38762 if test `eval echo '${'$as_ac_var'}'` = yes; then
38763 cat >>confdefs.h <<_ACEOF
38764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38771 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38772 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38773 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38774 wxUSE_SNGLINST_CHECKER=no
38780 for ac_func in setenv putenv
38782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38786 echo $ECHO_N "(cached) $ECHO_C" >&6
38788 cat >conftest.$ac_ext <<_ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38796 #define $ac_func innocuous_$ac_func
38798 /* System header to define __stub macros and hopefully few prototypes,
38799 which can conflict with char $ac_func (); below.
38800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38801 <limits.h> exists even on freestanding compilers. */
38804 # include <limits.h>
38806 # include <assert.h>
38811 /* Override any GCC internal prototype to avoid an error.
38812 Use char because int might match the return type of a GCC
38813 builtin and then its argument prototype would still apply. */
38818 /* The GNU C library defines this for functions which it implements
38819 to always fail with ENOSYS. Some functions are actually named
38820 something starting with __ and the normal name is an alias. */
38821 #if defined __stub_$ac_func || defined __stub___$ac_func
38828 return $ac_func ();
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 "$as_ac_var=yes"
38853 echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.
$ac_ext >&5
38856 eval "$as_ac_var=no"
38859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38860 conftest
$ac_exeext conftest.
$ac_ext
38862 ac_res
=`eval echo '${'$as_ac_var'}'`
38863 { echo "$as_me:$LINENO: result: $ac_res" >&5
38864 echo "${ECHO_T}$ac_res" >&6; }
38865 if test `eval echo '${'$as_ac_var'}'` = yes; then
38866 cat >>confdefs.h
<<_ACEOF
38867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38873 if test "$ac_cv_func_setenv" = "yes"; then
38875 for ac_func
in unsetenv
38877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38880 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38881 echo $ECHO_N "(cached) $ECHO_C" >&6
38883 cat >conftest.
$ac_ext <<_ACEOF
38886 cat confdefs.h
>>conftest.
$ac_ext
38887 cat >>conftest.
$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38891 #define $ac_func innocuous_$ac_func
38893 /* System header to define __stub macros and hopefully few prototypes,
38894 which can conflict with char $ac_func (); below.
38895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38896 <limits.h> exists even on freestanding compilers. */
38899 # include <limits.h>
38901 # include <assert.h>
38906 /* Override any GCC internal prototype to avoid an error.
38907 Use char because int might match the return type of a GCC
38908 builtin and then its argument prototype would still apply. */
38913 /* The GNU C library defines this for functions which it implements
38914 to always fail with ENOSYS. Some functions are actually named
38915 something starting with __ and the normal name is an alias. */
38916 #if defined __stub_$ac_func || defined __stub___$ac_func
38923 return $ac_func ();
38928 rm -f conftest.
$ac_objext conftest
$ac_exeext
38929 if { (ac_try
="$ac_link"
38930 case "(($ac_try" in
38931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38932 *) ac_try_echo=$ac_try;;
38934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38935 (eval "$ac_link") 2>conftest.er1
38937 grep -v '^ *+' conftest.er1 >conftest.err
38939 cat conftest.err >&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); } && {
38942 test -z "$ac_c_werror_flag" ||
38943 test ! -s conftest.err
38944 } && test -s conftest$ac_exeext &&
38945 $as_test_x conftest$ac_exeext; then
38946 eval "$as_ac_var=yes"
38948 echo "$as_me: failed program was:" >&5
38949 sed 's/^/| /' conftest.$ac_ext >&5
38951 eval "$as_ac_var=no"
38954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38955 conftest$ac_exeext conftest.$ac_ext
38957 ac_res=`eval echo '${'$as_ac_var'}'`
38958 { echo "$as_me:$LINENO: result: $ac_res" >&5
38959 echo "${ECHO_T}$ac_res" >&6; }
38960 if test `eval echo '${'$as_ac_var'}'` = yes; then
38961 cat >>confdefs.h <<_ACEOF
38962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38970 HAVE_SOME_SLEEP_FUNC=0
38971 if test "$USE_BEOS" = 1; then
38972 cat >>confdefs.h <<\_ACEOF
38973 #define HAVE_SLEEP 1
38976 HAVE_SOME_SLEEP_FUNC=1
38979 if test "$USE_DARWIN" = 1; then
38980 cat >>confdefs.h <<\_ACEOF
38981 #define HAVE_USLEEP 1
38984 HAVE_SOME_SLEEP_FUNC=1
38987 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38990 for ac_func in nanosleep
38992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 cat >conftest.$ac_ext <<_ACEOF
39001 cat confdefs.h >>conftest.$ac_ext
39002 cat >>conftest.$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39006 #define $ac_func innocuous_$ac_func
39008 /* System header to define __stub macros and hopefully few prototypes,
39009 which can conflict with char $ac_func (); below.
39010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39011 <limits.h> exists even on freestanding compilers. */
39014 # include <limits.h>
39016 # include <assert.h>
39021 /* Override any GCC internal prototype to avoid an error.
39022 Use char because int might match the return type of a GCC
39023 builtin and then its argument prototype would still apply. */
39028 /* The GNU C library defines this for functions which it implements
39029 to always fail with ENOSYS. Some functions are actually named
39030 something starting with __ and the normal name is an alias. */
39031 #if defined __stub_$ac_func || defined __stub___$ac_func
39038 return $ac_func ();
39043 rm -f conftest.$ac_objext conftest$ac_exeext
39044 if { (ac_try="$ac_link"
39045 case "(($ac_try" in
39046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39047 *) ac_try_echo
=$ac_try;;
39049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39050 (eval "$ac_link") 2>conftest.er1
39052 grep -v '^ *+' conftest.er1
>conftest.err
39054 cat conftest.err
>&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); } && {
39057 test -z "$ac_c_werror_flag" ||
39058 test ! -s conftest.err
39059 } && test -s conftest
$ac_exeext &&
39060 $as_test_x conftest
$ac_exeext; then
39061 eval "$as_ac_var=yes"
39063 echo "$as_me: failed program was:" >&5
39064 sed 's/^/| /' conftest.
$ac_ext >&5
39066 eval "$as_ac_var=no"
39069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39070 conftest
$ac_exeext conftest.
$ac_ext
39072 ac_res
=`eval echo '${'$as_ac_var'}'`
39073 { echo "$as_me:$LINENO: result: $ac_res" >&5
39074 echo "${ECHO_T}$ac_res" >&6; }
39075 if test `eval echo '${'$as_ac_var'}'` = yes; then
39076 cat >>confdefs.h
<<_ACEOF
39077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39079 cat >>confdefs.h
<<\_ACEOF
39080 #define HAVE_NANOSLEEP 1
39085 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39086 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39087 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39088 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 ac_check_lib_save_LIBS
=$LIBS
39091 LIBS
="-lposix4 $LIBS"
39092 cat >conftest.
$ac_ext <<_ACEOF
39095 cat confdefs.h
>>conftest.
$ac_ext
39096 cat >>conftest.
$ac_ext <<_ACEOF
39097 /* end confdefs.h. */
39099 /* Override any GCC internal prototype to avoid an error.
39100 Use char because int might match the return type of a GCC
39101 builtin and then its argument prototype would still apply. */
39109 return nanosleep ();
39114 rm -f conftest.
$ac_objext conftest
$ac_exeext
39115 if { (ac_try
="$ac_link"
39116 case "(($ac_try" in
39117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39118 *) ac_try_echo=$ac_try;;
39120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39121 (eval "$ac_link") 2>conftest.er1
39123 grep -v '^ *+' conftest.er1 >conftest.err
39125 cat conftest.err >&5
39126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127 (exit $ac_status); } && {
39128 test -z "$ac_c_werror_flag" ||
39129 test ! -s conftest.err
39130 } && test -s conftest$ac_exeext &&
39131 $as_test_x conftest$ac_exeext; then
39132 ac_cv_lib_posix4_nanosleep=yes
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39137 ac_cv_lib_posix4_nanosleep=no
39140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39141 conftest$ac_exeext conftest.$ac_ext
39142 LIBS=$ac_check_lib_save_LIBS
39144 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39145 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39146 if test $ac_cv_lib_posix4_nanosleep = yes; then
39148 cat >>confdefs.h <<\_ACEOF
39149 #define HAVE_NANOSLEEP 1
39152 POSIX4_LINK=" -lposix4"
39157 for wx_func in usleep
39159 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39160 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39161 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39162 echo $ECHO_N "(cached) $ECHO_C" >&6
39165 cat >conftest.$ac_ext <<_ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39174 $ac_includes_default
39190 rm -f conftest.$ac_objext conftest$ac_exeext
39191 if { (ac_try="$ac_link"
39192 case "(($ac_try" in
39193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39194 *) ac_try_echo
=$ac_try;;
39196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39197 (eval "$ac_link") 2>conftest.er1
39199 grep -v '^ *+' conftest.er1
>conftest.err
39201 cat conftest.err
>&5
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); } && {
39204 test -z "$ac_c_werror_flag" ||
39205 test ! -s conftest.err
39206 } && test -s conftest
$ac_exeext &&
39207 $as_test_x conftest
$ac_exeext; then
39208 eval wx_cv_func_
$wx_func=yes
39210 echo "$as_me: failed program was:" >&5
39211 sed 's/^/| /' conftest.
$ac_ext >&5
39213 eval wx_cv_func_
$wx_func=no
39216 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39217 conftest
$ac_exeext conftest.
$ac_ext
39220 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39221 { echo "$as_me:$LINENO: result: $ac_res" >&5
39222 echo "${ECHO_T}$ac_res" >&6; }
39224 if eval test \
$wx_cv_func_$wx_func = yes
39226 cat >>confdefs.h
<<_ACEOF
39227 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39233 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39234 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39251 for wx_func
in uname
39253 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39254 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39255 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 cat >conftest.
$ac_ext <<_ACEOF
39263 cat confdefs.h
>>conftest.
$ac_ext
39264 cat >>conftest.
$ac_ext <<_ACEOF
39265 /* end confdefs.h. */
39267 #include <sys/utsname.h>
39268 $ac_includes_default
39284 rm -f conftest.
$ac_objext conftest
$ac_exeext
39285 if { (ac_try
="$ac_link"
39286 case "(($ac_try" in
39287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39288 *) ac_try_echo=$ac_try;;
39290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39291 (eval "$ac_link") 2>conftest.er1
39293 grep -v '^ *+' conftest.er1 >conftest.err
39295 cat conftest.err >&5
39296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39297 (exit $ac_status); } && {
39298 test -z "$ac_c_werror_flag" ||
39299 test ! -s conftest.err
39300 } && test -s conftest$ac_exeext &&
39301 $as_test_x conftest$ac_exeext; then
39302 eval wx_cv_func_$wx_func=yes
39304 echo "$as_me: failed program was:" >&5
39305 sed 's/^/| /' conftest.$ac_ext >&5
39307 eval wx_cv_func_$wx_func=no
39310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39311 conftest$ac_exeext conftest.$ac_ext
39314 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39315 { echo "$as_me:$LINENO: result: $ac_res" >&5
39316 echo "${ECHO_T}$ac_res" >&6; }
39318 if eval test \$wx_cv_func_$wx_func = yes
39320 cat >>confdefs.h <<_ACEOF
39321 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39331 if test "$wx_cv_func_uname" != yes; then
39333 for wx_func in gethostname
39335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39338 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 cat >conftest.$ac_ext <<_ACEOF
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39350 $ac_includes_default
39366 rm -f conftest.$ac_objext conftest$ac_exeext
39367 if { (ac_try="$ac_link"
39368 case "(($ac_try" in
39369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39370 *) ac_try_echo
=$ac_try;;
39372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39373 (eval "$ac_link") 2>conftest.er1
39375 grep -v '^ *+' conftest.er1
>conftest.err
39377 cat conftest.err
>&5
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); } && {
39380 test -z "$ac_c_werror_flag" ||
39381 test ! -s conftest.err
39382 } && test -s conftest
$ac_exeext &&
39383 $as_test_x conftest
$ac_exeext; then
39384 eval wx_cv_func_
$wx_func=yes
39386 echo "$as_me: failed program was:" >&5
39387 sed 's/^/| /' conftest.
$ac_ext >&5
39389 eval wx_cv_func_
$wx_func=no
39392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39393 conftest
$ac_exeext conftest.
$ac_ext
39396 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39397 { echo "$as_me:$LINENO: result: $ac_res" >&5
39398 echo "${ECHO_T}$ac_res" >&6; }
39400 if eval test \
$wx_cv_func_$wx_func = yes
39402 cat >>confdefs.h
<<_ACEOF
39403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39416 for wx_func
in strtok_r
39418 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39419 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39420 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39421 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 cat >conftest.
$ac_ext <<_ACEOF
39428 cat confdefs.h
>>conftest.
$ac_ext
39429 cat >>conftest.
$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39433 $ac_includes_default
39449 rm -f conftest.
$ac_objext conftest
$ac_exeext
39450 if { (ac_try
="$ac_link"
39451 case "(($ac_try" in
39452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39453 *) ac_try_echo=$ac_try;;
39455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39456 (eval "$ac_link") 2>conftest.er1
39458 grep -v '^ *+' conftest.er1 >conftest.err
39460 cat conftest.err >&5
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); } && {
39463 test -z "$ac_c_werror_flag" ||
39464 test ! -s conftest.err
39465 } && test -s conftest$ac_exeext &&
39466 $as_test_x conftest$ac_exeext; then
39467 eval wx_cv_func_$wx_func=yes
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39472 eval wx_cv_func_$wx_func=no
39475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39476 conftest$ac_exeext conftest.$ac_ext
39479 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39480 { echo "$as_me:$LINENO: result: $ac_res" >&5
39481 echo "${ECHO_T}$ac_res" >&6; }
39483 if eval test \$wx_cv_func_$wx_func = yes
39485 cat >>confdefs.h <<_ACEOF
39486 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39499 for ac_func in inet_addr
39501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39507 cat >conftest.$ac_ext <<_ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39515 #define $ac_func innocuous_$ac_func
39517 /* System header to define __stub macros and hopefully few prototypes,
39518 which can conflict with char $ac_func (); below.
39519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39520 <limits.h> exists even on freestanding compilers. */
39523 # include <limits.h>
39525 # include <assert.h>
39530 /* Override any GCC internal prototype to avoid an error.
39531 Use char because int might match the return type of a GCC
39532 builtin and then its argument prototype would still apply. */
39537 /* The GNU C library defines this for functions which it implements
39538 to always fail with ENOSYS. Some functions are actually named
39539 something starting with __ and the normal name is an alias. */
39540 #if defined __stub_$ac_func || defined __stub___$ac_func
39547 return $ac_func ();
39552 rm -f conftest.$ac_objext conftest$ac_exeext
39553 if { (ac_try="$ac_link"
39554 case "(($ac_try" in
39555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39556 *) ac_try_echo
=$ac_try;;
39558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39559 (eval "$ac_link") 2>conftest.er1
39561 grep -v '^ *+' conftest.er1
>conftest.err
39563 cat conftest.err
>&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); } && {
39566 test -z "$ac_c_werror_flag" ||
39567 test ! -s conftest.err
39568 } && test -s conftest
$ac_exeext &&
39569 $as_test_x conftest
$ac_exeext; then
39570 eval "$as_ac_var=yes"
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.
$ac_ext >&5
39575 eval "$as_ac_var=no"
39578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39579 conftest
$ac_exeext conftest.
$ac_ext
39581 ac_res
=`eval echo '${'$as_ac_var'}'`
39582 { echo "$as_me:$LINENO: result: $ac_res" >&5
39583 echo "${ECHO_T}$ac_res" >&6; }
39584 if test `eval echo '${'$as_ac_var'}'` = yes; then
39585 cat >>confdefs.h
<<_ACEOF
39586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39588 cat >>confdefs.h
<<\_ACEOF
39589 #define HAVE_INET_ADDR 1
39594 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39595 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39596 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39597 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 ac_check_lib_save_LIBS
=$LIBS
39601 cat >conftest.
$ac_ext <<_ACEOF
39604 cat confdefs.h
>>conftest.
$ac_ext
39605 cat >>conftest.
$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39608 /* Override any GCC internal prototype to avoid an error.
39609 Use char because int might match the return type of a GCC
39610 builtin and then its argument prototype would still apply. */
39618 return inet_addr ();
39623 rm -f conftest.
$ac_objext conftest
$ac_exeext
39624 if { (ac_try
="$ac_link"
39625 case "(($ac_try" in
39626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39627 *) ac_try_echo=$ac_try;;
39629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39630 (eval "$ac_link") 2>conftest.er1
39632 grep -v '^ *+' conftest.er1 >conftest.err
39634 cat conftest.err >&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); } && {
39637 test -z "$ac_c_werror_flag" ||
39638 test ! -s conftest.err
39639 } && test -s conftest$ac_exeext &&
39640 $as_test_x conftest$ac_exeext; then
39641 ac_cv_lib_nsl_inet_addr=yes
39643 echo "$as_me: failed program was:" >&5
39644 sed 's/^/| /' conftest.$ac_ext >&5
39646 ac_cv_lib_nsl_inet_addr=no
39649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39650 conftest$ac_exeext conftest.$ac_ext
39651 LIBS=$ac_check_lib_save_LIBS
39653 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39654 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39655 if test $ac_cv_lib_nsl_inet_addr = yes; then
39659 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39660 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39661 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 ac_check_lib_save_LIBS=$LIBS
39665 LIBS="-lresolv $LIBS"
39666 cat >conftest.$ac_ext <<_ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39673 /* Override any GCC internal prototype to avoid an error.
39674 Use char because int might match the return type of a GCC
39675 builtin and then its argument prototype would still apply. */
39683 return inet_addr ();
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (ac_try="$ac_link"
39690 case "(($ac_try" in
39691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39692 *) ac_try_echo
=$ac_try;;
39694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39695 (eval "$ac_link") 2>conftest.er1
39697 grep -v '^ *+' conftest.er1
>conftest.err
39699 cat conftest.err
>&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); } && {
39702 test -z "$ac_c_werror_flag" ||
39703 test ! -s conftest.err
39704 } && test -s conftest
$ac_exeext &&
39705 $as_test_x conftest
$ac_exeext; then
39706 ac_cv_lib_resolv_inet_addr
=yes
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.
$ac_ext >&5
39711 ac_cv_lib_resolv_inet_addr
=no
39714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39715 conftest
$ac_exeext conftest.
$ac_ext
39716 LIBS
=$ac_check_lib_save_LIBS
39718 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39719 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39720 if test $ac_cv_lib_resolv_inet_addr = yes; then
39724 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39725 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39726 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39729 ac_check_lib_save_LIBS
=$LIBS
39730 LIBS
="-lsocket $LIBS"
39731 cat >conftest.
$ac_ext <<_ACEOF
39734 cat confdefs.h
>>conftest.
$ac_ext
39735 cat >>conftest.
$ac_ext <<_ACEOF
39736 /* end confdefs.h. */
39738 /* Override any GCC internal prototype to avoid an error.
39739 Use char because int might match the return type of a GCC
39740 builtin and then its argument prototype would still apply. */
39748 return inet_addr ();
39753 rm -f conftest.
$ac_objext conftest
$ac_exeext
39754 if { (ac_try
="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39762 grep -v '^ *+' conftest.er1 >conftest.err
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_lib_socket_inet_addr=yes
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 ac_cv_lib_socket_inet_addr=no
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39781 LIBS=$ac_check_lib_save_LIBS
39783 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39784 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39785 if test $ac_cv_lib_socket_inet_addr = yes; then
39805 for ac_func in inet_aton
39807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39808 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39810 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 cat >conftest.$ac_ext <<_ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39821 #define $ac_func innocuous_$ac_func
39823 /* System header to define __stub macros and hopefully few prototypes,
39824 which can conflict with char $ac_func (); below.
39825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39826 <limits.h> exists even on freestanding compilers. */
39829 # include <limits.h>
39831 # include <assert.h>
39836 /* Override any GCC internal prototype to avoid an error.
39837 Use char because int might match the return type of a GCC
39838 builtin and then its argument prototype would still apply. */
39843 /* The GNU C library defines this for functions which it implements
39844 to always fail with ENOSYS. Some functions are actually named
39845 something starting with __ and the normal name is an alias. */
39846 #if defined __stub_$ac_func || defined __stub___$ac_func
39853 return $ac_func ();
39858 rm -f conftest.$ac_objext conftest$ac_exeext
39859 if { (ac_try="$ac_link"
39860 case "(($ac_try" in
39861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39862 *) ac_try_echo
=$ac_try;;
39864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39865 (eval "$ac_link") 2>conftest.er1
39867 grep -v '^ *+' conftest.er1
>conftest.err
39869 cat conftest.err
>&5
39870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39871 (exit $ac_status); } && {
39872 test -z "$ac_c_werror_flag" ||
39873 test ! -s conftest.err
39874 } && test -s conftest
$ac_exeext &&
39875 $as_test_x conftest
$ac_exeext; then
39876 eval "$as_ac_var=yes"
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.
$ac_ext >&5
39881 eval "$as_ac_var=no"
39884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39885 conftest
$ac_exeext conftest.
$ac_ext
39887 ac_res
=`eval echo '${'$as_ac_var'}'`
39888 { echo "$as_me:$LINENO: result: $ac_res" >&5
39889 echo "${ECHO_T}$ac_res" >&6; }
39890 if test `eval echo '${'$as_ac_var'}'` = yes; then
39891 cat >>confdefs.h
<<_ACEOF
39892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39894 cat >>confdefs.h
<<\_ACEOF
39895 #define HAVE_INET_ATON 1
39900 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39901 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39902 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39903 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39904 echo $ECHO_N "(cached) $ECHO_C" >&6
39906 ac_check_lib_save_LIBS
=$LIBS
39907 LIBS
="-l$INET_LINK $LIBS"
39908 cat >conftest.
$ac_ext <<_ACEOF
39911 cat confdefs.h
>>conftest.
$ac_ext
39912 cat >>conftest.
$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39915 /* Override any GCC internal prototype to avoid an error.
39916 Use char because int might match the return type of a GCC
39917 builtin and then its argument prototype would still apply. */
39925 return inet_aton ();
39930 rm -f conftest.
$ac_objext conftest
$ac_exeext
39931 if { (ac_try
="$ac_link"
39932 case "(($ac_try" in
39933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39934 *) ac_try_echo=$ac_try;;
39936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39937 (eval "$ac_link") 2>conftest.er1
39939 grep -v '^ *+' conftest.er1 >conftest.err
39941 cat conftest.err >&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); } && {
39944 test -z "$ac_c_werror_flag" ||
39945 test ! -s conftest.err
39946 } && test -s conftest$ac_exeext &&
39947 $as_test_x conftest$ac_exeext; then
39948 eval "$as_ac_Lib=yes"
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39953 eval "$as_ac_Lib=no"
39956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39957 conftest$ac_exeext conftest.$ac_ext
39958 LIBS=$ac_check_lib_save_LIBS
39960 ac_res=`eval echo '${'$as_ac_Lib'}'`
39961 { echo "$as_me:$LINENO: result: $ac_res" >&5
39962 echo "${ECHO_T}$ac_res" >&6; }
39963 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39964 cat >>confdefs.h <<\_ACEOF
39965 #define HAVE_INET_ATON 1
39975 if test "x$INET_LINK" != "x"; then
39976 cat >>confdefs.h <<\_ACEOF
39977 #define HAVE_INET_ADDR 1
39980 INET_LINK=" -l$INET_LINK"
39984 for wx_func in fdopen
39986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39989 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 cat >conftest.$ac_ext <<_ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
40001 $ac_includes_default
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (ac_try="$ac_link"
40019 case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40021 *) ac_try_echo
=$ac_try;;
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_link") 2>conftest.er1
40026 grep -v '^ *+' conftest.er1
>conftest.err
40028 cat conftest.err
>&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); } && {
40031 test -z "$ac_c_werror_flag" ||
40032 test ! -s conftest.err
40033 } && test -s conftest
$ac_exeext &&
40034 $as_test_x conftest
$ac_exeext; then
40035 eval wx_cv_func_
$wx_func=yes
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.
$ac_ext >&5
40040 eval wx_cv_func_
$wx_func=no
40043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40044 conftest
$ac_exeext conftest.
$ac_ext
40047 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40048 { echo "$as_me:$LINENO: result: $ac_res" >&5
40049 echo "${ECHO_T}$ac_res" >&6; }
40051 if eval test \
$wx_cv_func_$wx_func = yes
40053 cat >>confdefs.h
<<_ACEOF
40054 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40065 if test "$wxUSE_TARSTREAM" = "yes"; then
40067 for wx_func
in sysconf
40069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40071 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 cat >conftest.
$ac_ext <<_ACEOF
40079 cat confdefs.h
>>conftest.
$ac_ext
40080 cat >>conftest.
$ac_ext <<_ACEOF
40081 /* end confdefs.h. */
40084 $ac_includes_default
40100 rm -f conftest.
$ac_objext conftest
$ac_exeext
40101 if { (ac_try
="$ac_link"
40102 case "(($ac_try" in
40103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40104 *) ac_try_echo=$ac_try;;
40106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40107 (eval "$ac_link") 2>conftest.er1
40109 grep -v '^ *+' conftest.er1 >conftest.err
40111 cat conftest.err >&5
40112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113 (exit $ac_status); } && {
40114 test -z "$ac_c_werror_flag" ||
40115 test ! -s conftest.err
40116 } && test -s conftest$ac_exeext &&
40117 $as_test_x conftest$ac_exeext; then
40118 eval wx_cv_func_$wx_func=yes
40120 echo "$as_me: failed program was:" >&5
40121 sed 's/^/| /' conftest.$ac_ext >&5
40123 eval wx_cv_func_$wx_func=no
40126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40127 conftest$ac_exeext conftest.$ac_ext
40130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40131 { echo "$as_me:$LINENO: result: $ac_res" >&5
40132 echo "${ECHO_T}$ac_res" >&6; }
40134 if eval test \$wx_cv_func_$wx_func = yes
40136 cat >>confdefs.h <<_ACEOF
40137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40149 for wx_func in getpwuid_r
40151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40153 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40154 echo $ECHO_N "(cached) $ECHO_C" >&6
40157 cat >conftest.$ac_ext <<_ACEOF
40161 cat confdefs.h >>conftest.$ac_ext
40162 cat >>conftest.$ac_ext <<_ACEOF
40163 /* end confdefs.h. */
40169 $ac_includes_default
40179 struct passwd pw, *ppw;
40181 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40189 rm -f conftest.$ac_objext conftest$ac_exeext
40190 if { (ac_try="$ac_link"
40191 case "(($ac_try" in
40192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40193 *) ac_try_echo
=$ac_try;;
40195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40196 (eval "$ac_link") 2>conftest.er1
40198 grep -v '^ *+' conftest.er1
>conftest.err
40200 cat conftest.err
>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } && {
40203 test -z "$ac_c_werror_flag" ||
40204 test ! -s conftest.err
40205 } && test -s conftest
$ac_exeext &&
40206 $as_test_x conftest
$ac_exeext; then
40207 eval wx_cv_func_
$wx_func=yes
40209 echo "$as_me: failed program was:" >&5
40210 sed 's/^/| /' conftest.
$ac_ext >&5
40212 eval wx_cv_func_
$wx_func=no
40215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40216 conftest
$ac_exeext conftest.
$ac_ext
40219 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40220 { echo "$as_me:$LINENO: result: $ac_res" >&5
40221 echo "${ECHO_T}$ac_res" >&6; }
40223 if eval test \
$wx_cv_func_$wx_func = yes
40225 cat >>confdefs.h
<<_ACEOF
40226 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40238 for wx_func
in getgrgid_r
40240 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40241 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40242 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 cat >conftest.
$ac_ext <<_ACEOF
40250 cat confdefs.h
>>conftest.
$ac_ext
40251 cat >>conftest.
$ac_ext <<_ACEOF
40252 /* end confdefs.h. */
40258 $ac_includes_default
40268 struct group grp, *pgrp;
40270 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40278 rm -f conftest.
$ac_objext conftest
$ac_exeext
40279 if { (ac_try
="$ac_link"
40280 case "(($ac_try" in
40281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40282 *) ac_try_echo=$ac_try;;
40284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40285 (eval "$ac_link") 2>conftest.er1
40287 grep -v '^ *+' conftest.er1 >conftest.err
40289 cat conftest.err >&5
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); } && {
40292 test -z "$ac_c_werror_flag" ||
40293 test ! -s conftest.err
40294 } && test -s conftest$ac_exeext &&
40295 $as_test_x conftest$ac_exeext; then
40296 eval wx_cv_func_$wx_func=yes
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.$ac_ext >&5
40301 eval wx_cv_func_$wx_func=no
40304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40305 conftest$ac_exeext conftest.$ac_ext
40308 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40309 { echo "$as_me:$LINENO: result: $ac_res" >&5
40310 echo "${ECHO_T}$ac_res" >&6; }
40312 if eval test \$wx_cv_func_$wx_func = yes
40314 cat >>confdefs.h <<_ACEOF
40315 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40331 cat >confcache <<\_ACEOF
40332 # This file is a shell script that caches the results of configure
40333 # tests run on this system so they can be shared between configure
40334 # scripts and configure runs, see configure's option --config-cache.
40335 # It is not useful on other systems. If it contains results you don't
40336 # want to keep, you may remove or edit it.
40338 # config.status only pays attention to the cache file if you give it
40339 # the --recheck option to rerun configure.
40341 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40343 # following values.
40347 # The following way of writing the cache mishandles newlines in values,
40348 # but we know of no workaround that is simple, portable, and efficient.
40349 # So, we kill variables containing newlines.
40350 # Ultrix sh set writes to stderr and can't be redirected directly,
40351 # and sets the high bit in the cache file unless we assign to the vars.
40353 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40354 eval ac_val
=\$
$ac_var
40358 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40359 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40362 _
| IFS
| as_nl
) ;; #(
40363 *) $as_unset $ac_var ;;
40369 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40370 *${as_nl}ac_space
=\
*)
40371 # `set' does not quote correctly, so add quotes (double-quote
40372 # substitution turns \\\\ into \\, and sed turns \\ into \).
40375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40378 # `set' quotes correctly as required by POSIX, so do not add quotes.
40379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40390 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40392 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40393 if test -w "$cache_file"; then
40394 test "x$cache_file" != "x/dev/null" &&
40395 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40396 echo "$as_me: updating cache $cache_file" >&6;}
40397 cat confcache
>$cache_file
40399 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40400 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40406 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40412 if test "$wxUSE_THREADS" = "yes" ; then
40413 if test "$USE_BEOS" = 1; then
40414 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40415 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40420 if test "$wxUSE_THREADS" = "yes" ; then
40423 THREAD_OPTS
="-pthread"
40424 if test "x$SUNCXX" = xyes
; then
40425 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40429 *-*-solaris2* | *-*-sunos4* )
40430 if test "x$GCC" = "xyes"; then
40431 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40435 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40437 *-*-darwin* | *-*-cygwin* )
40441 THREAD_OPTS
="pthreads"
40444 if test "x$GCC" = "xyes"; then
40445 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40453 if test "x$GCC" = "xyes"; then
40463 if test "x$GCC" != "xyes"; then
40464 THREAD_OPTS
="-Ethread"
40471 THREAD_OPTS
="none pthread"
40475 THREAD_OPTS
="$THREAD_OPTS pthread none"
40480 for flag
in $THREAD_OPTS; do
40483 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40484 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40488 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40489 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40490 THREADS_CFLAGS
="$flag"
40494 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40495 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40496 THREADS_LINK
="-l$flag"
40501 save_CFLAGS
="$CFLAGS"
40502 LIBS
="$THREADS_LINK $LIBS"
40503 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40505 cat >conftest.
$ac_ext <<_ACEOF
40508 cat confdefs.h
>>conftest.
$ac_ext
40509 cat >>conftest.
$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511 #include <pthread.h>
40515 pthread_create(0,0,0,0);
40520 rm -f conftest.
$ac_objext conftest
$ac_exeext
40521 if { (ac_try
="$ac_link"
40522 case "(($ac_try" in
40523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_link") 2>conftest.er1
40529 grep -v '^ *+' conftest.er1 >conftest.err
40531 cat conftest.err >&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } && {
40534 test -z "$ac_c_werror_flag" ||
40535 test ! -s conftest.err
40536 } && test -s conftest$ac_exeext &&
40537 $as_test_x conftest$ac_exeext; then
40540 echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.$ac_ext >&5
40546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40547 conftest$ac_exeext conftest.$ac_ext
40550 CFLAGS="$save_CFLAGS"
40552 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40553 echo "${ECHO_T}$THREADS_OK" >&6; }
40554 if test "x$THREADS_OK" = "xyes"; then
40562 if test "x$THREADS_OK" != "xyes"; then
40564 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40565 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40567 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40568 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40569 LIBS="$THREADS_LINK $LIBS"
40571 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40572 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40576 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40577 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40578 flag="-D_THREAD_SAFE"
40581 flag="-D_THREAD_SAFE"
40584 flag="-D_REENTRANT"
40585 if test "x$GCC" != "xyes"; then
40586 flag="$flag -D_RWSTD_MULTI_THREAD"
40589 *solaris* | alpha*-osf*)
40590 flag="-D_REENTRANT"
40593 { echo "$as_me:$LINENO: result: ${flag}" >&5
40594 echo "${ECHO_T}${flag}" >&6; }
40595 if test "x$flag" != xno; then
40596 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40599 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40603 if test "$wxUSE_THREADS" = "yes" ; then
40605 for ac_func in thr_setconcurrency
40607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40608 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40610 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40611 echo $ECHO_N "(cached) $ECHO_C" >&6
40613 cat >conftest.$ac_ext <<_ACEOF
40616 cat confdefs.h >>conftest.$ac_ext
40617 cat >>conftest.$ac_ext <<_ACEOF
40618 /* end confdefs.h. */
40619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40621 #define $ac_func innocuous_$ac_func
40623 /* System header to define __stub macros and hopefully few prototypes,
40624 which can conflict with char $ac_func (); below.
40625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40626 <limits.h> exists even on freestanding compilers. */
40629 # include <limits.h>
40631 # include <assert.h>
40636 /* Override any GCC internal prototype to avoid an error.
40637 Use char because int might match the return type of a GCC
40638 builtin and then its argument prototype would still apply. */
40643 /* The GNU C library defines this for functions which it implements
40644 to always fail with ENOSYS. Some functions are actually named
40645 something starting with __ and the normal name is an alias. */
40646 #if defined __stub_$ac_func || defined __stub___$ac_func
40653 return $ac_func ();
40658 rm -f conftest.$ac_objext conftest$ac_exeext
40659 if { (ac_try="$ac_link"
40660 case "(($ac_try" in
40661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40662 *) ac_try_echo
=$ac_try;;
40664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40665 (eval "$ac_link") 2>conftest.er1
40667 grep -v '^ *+' conftest.er1
>conftest.err
40669 cat conftest.err
>&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); } && {
40672 test -z "$ac_c_werror_flag" ||
40673 test ! -s conftest.err
40674 } && test -s conftest
$ac_exeext &&
40675 $as_test_x conftest
$ac_exeext; then
40676 eval "$as_ac_var=yes"
40678 echo "$as_me: failed program was:" >&5
40679 sed 's/^/| /' conftest.
$ac_ext >&5
40681 eval "$as_ac_var=no"
40684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40685 conftest
$ac_exeext conftest.
$ac_ext
40687 ac_res
=`eval echo '${'$as_ac_var'}'`
40688 { echo "$as_me:$LINENO: result: $ac_res" >&5
40689 echo "${ECHO_T}$ac_res" >&6; }
40690 if test `eval echo '${'$as_ac_var'}'` = yes; then
40691 cat >>confdefs.h
<<_ACEOF
40692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40699 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40700 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40701 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40702 echo $ECHO_N "(cached) $ECHO_C" >&6
40706 ac_cpp
='$CXXCPP $CPPFLAGS'
40707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40711 cat >conftest.
$ac_ext <<_ACEOF
40714 cat confdefs.h
>>conftest.
$ac_ext
40715 cat >>conftest.
$ac_ext <<_ACEOF
40716 /* end confdefs.h. */
40717 #include <pthread.h>
40718 void ThreadCleanupFunc(void *p);
40725 pthread_cleanup_push(ThreadCleanupFunc, p);
40726 pthread_cleanup_pop(0);
40732 rm -f conftest.
$ac_objext
40733 if { (ac_try
="$ac_compile"
40734 case "(($ac_try" in
40735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40736 *) ac_try_echo=$ac_try;;
40738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40739 (eval "$ac_compile") 2>conftest.er1
40741 grep -v '^ *+' conftest.er1 >conftest.err
40743 cat conftest.err >&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } && {
40746 test -z "$ac_cxx_werror_flag" ||
40747 test ! -s conftest.err
40748 } && test -s conftest.$ac_objext; then
40750 wx_cv_func_pthread_cleanup=yes
40753 echo "$as_me: failed program was:" >&5
40754 sed 's/^/| /' conftest.$ac_ext >&5
40757 wx_cv_func_pthread_cleanup=no
40762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40764 ac_cpp='$CPP $CPPFLAGS'
40765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40772 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40773 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40774 cat >>confdefs.h <<\_ACEOF
40775 #define wxHAVE_PTHREAD_CLEANUP 1
40781 for ac_header in sched.h
40783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40787 echo $ECHO_N "(cached) $ECHO_C" >&6
40789 cat >conftest.$ac_ext <<_ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795 $ac_includes_default
40797 #include <$ac_header>
40799 rm -f conftest.$ac_objext
40800 if { (ac_try="$ac_compile"
40801 case "(($ac_try" in
40802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40803 *) ac_try_echo
=$ac_try;;
40805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40806 (eval "$ac_compile") 2>conftest.er1
40808 grep -v '^ *+' conftest.er1
>conftest.err
40810 cat conftest.err
>&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } && {
40813 test -z "$ac_c_werror_flag" ||
40814 test ! -s conftest.err
40815 } && test -s conftest.
$ac_objext; then
40816 eval "$as_ac_Header=yes"
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.
$ac_ext >&5
40821 eval "$as_ac_Header=no"
40824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40826 ac_res
=`eval echo '${'$as_ac_Header'}'`
40827 { echo "$as_me:$LINENO: result: $ac_res" >&5
40828 echo "${ECHO_T}$ac_res" >&6; }
40829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40830 cat >>confdefs.h
<<_ACEOF
40831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40838 if test "$ac_cv_header_sched_h" = "yes"; then
40839 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40840 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40841 if test "${ac_cv_func_sched_yield+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 cat >conftest.
$ac_ext <<_ACEOF
40847 cat confdefs.h
>>conftest.
$ac_ext
40848 cat >>conftest.
$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40850 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40852 #define sched_yield innocuous_sched_yield
40854 /* System header to define __stub macros and hopefully few prototypes,
40855 which can conflict with char sched_yield (); below.
40856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40857 <limits.h> exists even on freestanding compilers. */
40860 # include <limits.h>
40862 # include <assert.h>
40867 /* Override any GCC internal prototype to avoid an error.
40868 Use char because int might match the return type of a GCC
40869 builtin and then its argument prototype would still apply. */
40873 char sched_yield ();
40874 /* The GNU C library defines this for functions which it implements
40875 to always fail with ENOSYS. Some functions are actually named
40876 something starting with __ and the normal name is an alias. */
40877 #if defined __stub_sched_yield || defined __stub___sched_yield
40884 return sched_yield ();
40889 rm -f conftest.
$ac_objext conftest
$ac_exeext
40890 if { (ac_try
="$ac_link"
40891 case "(($ac_try" in
40892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_link") 2>conftest.er1
40898 grep -v '^ *+' conftest.er1 >conftest.err
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_c_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest$ac_exeext &&
40906 $as_test_x conftest$ac_exeext; then
40907 ac_cv_func_sched_yield=yes
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40912 ac_cv_func_sched_yield=no
40915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40916 conftest$ac_exeext conftest.$ac_ext
40918 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40919 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40920 if test $ac_cv_func_sched_yield = yes; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_SCHED_YIELD 1
40927 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40928 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40929 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 ac_check_lib_save_LIBS=$LIBS
40933 LIBS="-lposix4 $LIBS"
40934 cat >conftest.$ac_ext <<_ACEOF
40937 cat confdefs.h >>conftest.$ac_ext
40938 cat >>conftest.$ac_ext <<_ACEOF
40939 /* end confdefs.h. */
40941 /* Override any GCC internal prototype to avoid an error.
40942 Use char because int might match the return type of a GCC
40943 builtin and then its argument prototype would still apply. */
40947 char sched_yield ();
40951 return sched_yield ();
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (ac_try="$ac_link"
40958 case "(($ac_try" in
40959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40960 *) ac_try_echo
=$ac_try;;
40962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40963 (eval "$ac_link") 2>conftest.er1
40965 grep -v '^ *+' conftest.er1
>conftest.err
40967 cat conftest.err
>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } && {
40970 test -z "$ac_c_werror_flag" ||
40971 test ! -s conftest.err
40972 } && test -s conftest
$ac_exeext &&
40973 $as_test_x conftest
$ac_exeext; then
40974 ac_cv_lib_posix4_sched_yield
=yes
40976 echo "$as_me: failed program was:" >&5
40977 sed 's/^/| /' conftest.
$ac_ext >&5
40979 ac_cv_lib_posix4_sched_yield
=no
40982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40983 conftest
$ac_exeext conftest.
$ac_ext
40984 LIBS
=$ac_check_lib_save_LIBS
40986 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40987 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40988 if test $ac_cv_lib_posix4_sched_yield = yes; then
40989 cat >>confdefs.h
<<\_ACEOF
40990 #define HAVE_SCHED_YIELD 1
40992 POSIX4_LINK
=" -lposix4"
40994 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40995 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41006 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41007 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41008 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41011 cat >conftest.
$ac_ext <<_ACEOF
41014 cat confdefs.h
>>conftest.
$ac_ext
41015 cat >>conftest.
$ac_ext <<_ACEOF
41016 /* end confdefs.h. */
41017 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41019 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41021 /* System header to define __stub macros and hopefully few prototypes,
41022 which can conflict with char pthread_attr_getschedpolicy (); below.
41023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41024 <limits.h> exists even on freestanding compilers. */
41027 # include <limits.h>
41029 # include <assert.h>
41032 #undef pthread_attr_getschedpolicy
41034 /* Override any GCC internal prototype to avoid an error.
41035 Use char because int might match the return type of a GCC
41036 builtin and then its argument prototype would still apply. */
41040 char pthread_attr_getschedpolicy ();
41041 /* The GNU C library defines this for functions which it implements
41042 to always fail with ENOSYS. Some functions are actually named
41043 something starting with __ and the normal name is an alias. */
41044 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41051 return pthread_attr_getschedpolicy ();
41056 rm -f conftest.
$ac_objext conftest
$ac_exeext
41057 if { (ac_try
="$ac_link"
41058 case "(($ac_try" in
41059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41060 *) ac_try_echo=$ac_try;;
41062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41063 (eval "$ac_link") 2>conftest.er1
41065 grep -v '^ *+' conftest.er1 >conftest.err
41067 cat conftest.err >&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); } && {
41070 test -z "$ac_c_werror_flag" ||
41071 test ! -s conftest.err
41072 } && test -s conftest$ac_exeext &&
41073 $as_test_x conftest$ac_exeext; then
41074 ac_cv_func_pthread_attr_getschedpolicy=yes
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41079 ac_cv_func_pthread_attr_getschedpolicy=no
41082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41083 conftest$ac_exeext conftest.$ac_ext
41085 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41086 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41087 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41088 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41089 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41090 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41091 echo $ECHO_N "(cached) $ECHO_C" >&6
41093 cat >conftest.$ac_ext <<_ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41101 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41103 /* System header to define __stub macros and hopefully few prototypes,
41104 which can conflict with char pthread_attr_setschedparam (); below.
41105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41106 <limits.h> exists even on freestanding compilers. */
41109 # include <limits.h>
41111 # include <assert.h>
41114 #undef pthread_attr_setschedparam
41116 /* Override any GCC internal prototype to avoid an error.
41117 Use char because int might match the return type of a GCC
41118 builtin and then its argument prototype would still apply. */
41122 char pthread_attr_setschedparam ();
41123 /* The GNU C library defines this for functions which it implements
41124 to always fail with ENOSYS. Some functions are actually named
41125 something starting with __ and the normal name is an alias. */
41126 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41133 return pthread_attr_setschedparam ();
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41142 *) ac_try_echo
=$ac_try;;
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41147 grep -v '^ *+' conftest.er1
>conftest.err
41149 cat conftest.err
>&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest
$ac_exeext &&
41155 $as_test_x conftest
$ac_exeext; then
41156 ac_cv_func_pthread_attr_setschedparam
=yes
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.
$ac_ext >&5
41161 ac_cv_func_pthread_attr_setschedparam
=no
41164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41165 conftest
$ac_exeext conftest.
$ac_ext
41167 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41168 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41169 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41170 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41171 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41172 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41173 echo $ECHO_N "(cached) $ECHO_C" >&6
41175 cat >conftest.
$ac_ext <<_ACEOF
41178 cat confdefs.h
>>conftest.
$ac_ext
41179 cat >>conftest.
$ac_ext <<_ACEOF
41180 /* end confdefs.h. */
41181 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41183 #define sched_get_priority_max innocuous_sched_get_priority_max
41185 /* System header to define __stub macros and hopefully few prototypes,
41186 which can conflict with char sched_get_priority_max (); below.
41187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41188 <limits.h> exists even on freestanding compilers. */
41191 # include <limits.h>
41193 # include <assert.h>
41196 #undef sched_get_priority_max
41198 /* Override any GCC internal prototype to avoid an error.
41199 Use char because int might match the return type of a GCC
41200 builtin and then its argument prototype would still apply. */
41204 char sched_get_priority_max ();
41205 /* The GNU C library defines this for functions which it implements
41206 to always fail with ENOSYS. Some functions are actually named
41207 something starting with __ and the normal name is an alias. */
41208 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41215 return sched_get_priority_max ();
41220 rm -f conftest.
$ac_objext conftest
$ac_exeext
41221 if { (ac_try
="$ac_link"
41222 case "(($ac_try" in
41223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41224 *) ac_try_echo=$ac_try;;
41226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41227 (eval "$ac_link") 2>conftest.er1
41229 grep -v '^ *+' conftest.er1 >conftest.err
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } && {
41234 test -z "$ac_c_werror_flag" ||
41235 test ! -s conftest.err
41236 } && test -s conftest$ac_exeext &&
41237 $as_test_x conftest$ac_exeext; then
41238 ac_cv_func_sched_get_priority_max=yes
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.$ac_ext >&5
41243 ac_cv_func_sched_get_priority_max=no
41246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41247 conftest$ac_exeext conftest.$ac_ext
41249 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41250 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41251 if test $ac_cv_func_sched_get_priority_max = yes; then
41254 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41255 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41256 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41259 ac_check_lib_save_LIBS=$LIBS
41260 LIBS="-lposix4 $LIBS"
41261 cat >conftest.$ac_ext <<_ACEOF
41264 cat confdefs.h >>conftest.$ac_ext
41265 cat >>conftest.$ac_ext <<_ACEOF
41266 /* end confdefs.h. */
41268 /* Override any GCC internal prototype to avoid an error.
41269 Use char because int might match the return type of a GCC
41270 builtin and then its argument prototype would still apply. */
41274 char sched_get_priority_max ();
41278 return sched_get_priority_max ();
41283 rm -f conftest.$ac_objext conftest$ac_exeext
41284 if { (ac_try="$ac_link"
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_link") 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_exeext &&
41300 $as_test_x conftest
$ac_exeext; then
41301 ac_cv_lib_posix4_sched_get_priority_max
=yes
41303 echo "$as_me: failed program was:" >&5
41304 sed 's/^/| /' conftest.
$ac_ext >&5
41306 ac_cv_lib_posix4_sched_get_priority_max
=no
41309 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41310 conftest
$ac_exeext conftest.
$ac_ext
41311 LIBS
=$ac_check_lib_save_LIBS
41313 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41314 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41315 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41318 POSIX4_LINK
=" -lposix4"
41332 if test "$HAVE_PRIOR_FUNCS" = 1; then
41333 cat >>confdefs.h
<<\_ACEOF
41334 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41338 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41339 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41342 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41343 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41344 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41347 cat >conftest.
$ac_ext <<_ACEOF
41350 cat confdefs.h
>>conftest.
$ac_ext
41351 cat >>conftest.
$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41353 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41355 #define pthread_cancel innocuous_pthread_cancel
41357 /* System header to define __stub macros and hopefully few prototypes,
41358 which can conflict with char pthread_cancel (); below.
41359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41360 <limits.h> exists even on freestanding compilers. */
41363 # include <limits.h>
41365 # include <assert.h>
41368 #undef pthread_cancel
41370 /* Override any GCC internal prototype to avoid an error.
41371 Use char because int might match the return type of a GCC
41372 builtin and then its argument prototype would still apply. */
41376 char pthread_cancel ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41387 return pthread_cancel ();
41392 rm -f conftest.
$ac_objext conftest
$ac_exeext
41393 if { (ac_try
="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41401 grep -v '^ *+' conftest.er1 >conftest.err
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest$ac_exeext &&
41409 $as_test_x conftest$ac_exeext; then
41410 ac_cv_func_pthread_cancel=yes
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41415 ac_cv_func_pthread_cancel=no
41418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41419 conftest$ac_exeext conftest.$ac_ext
41421 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41422 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41423 if test $ac_cv_func_pthread_cancel = yes; then
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_PTHREAD_CANCEL 1
41429 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41430 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41434 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41435 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41436 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 cat >conftest.$ac_ext <<_ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char pthread_mutex_timedlock (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41455 # include <limits.h>
41457 # include <assert.h>
41460 #undef pthread_mutex_timedlock
41462 /* Override any GCC internal prototype to avoid an error.
41463 Use char because int might match the return type of a GCC
41464 builtin and then its argument prototype would still apply. */
41468 char pthread_mutex_timedlock ();
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41479 return pthread_mutex_timedlock ();
41484 rm -f conftest.$ac_objext conftest$ac_exeext
41485 if { (ac_try="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41488 *) ac_try_echo
=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1
>conftest.err
41495 cat conftest.err
>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest
$ac_exeext &&
41501 $as_test_x conftest
$ac_exeext; then
41502 ac_cv_func_pthread_mutex_timedlock
=yes
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.
$ac_ext >&5
41507 ac_cv_func_pthread_mutex_timedlock
=no
41510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41511 conftest
$ac_exeext conftest.
$ac_ext
41513 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41514 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41515 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41516 cat >>confdefs.h
<<\_ACEOF
41517 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41521 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41522 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41526 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41527 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41528 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41529 echo $ECHO_N "(cached) $ECHO_C" >&6
41531 cat >conftest.
$ac_ext <<_ACEOF
41534 cat confdefs.h
>>conftest.
$ac_ext
41535 cat >>conftest.
$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41537 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41539 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41541 /* System header to define __stub macros and hopefully few prototypes,
41542 which can conflict with char pthread_attr_setstacksize (); below.
41543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41544 <limits.h> exists even on freestanding compilers. */
41547 # include <limits.h>
41549 # include <assert.h>
41552 #undef pthread_attr_setstacksize
41554 /* Override any GCC internal prototype to avoid an error.
41555 Use char because int might match the return type of a GCC
41556 builtin and then its argument prototype would still apply. */
41560 char pthread_attr_setstacksize ();
41561 /* The GNU C library defines this for functions which it implements
41562 to always fail with ENOSYS. Some functions are actually named
41563 something starting with __ and the normal name is an alias. */
41564 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41571 return pthread_attr_setstacksize ();
41576 rm -f conftest.
$ac_objext conftest
$ac_exeext
41577 if { (ac_try
="$ac_link"
41578 case "(($ac_try" in
41579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41580 *) ac_try_echo=$ac_try;;
41582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41583 (eval "$ac_link") 2>conftest.er1
41585 grep -v '^ *+' conftest.er1 >conftest.err
41587 cat conftest.err >&5
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); } && {
41590 test -z "$ac_c_werror_flag" ||
41591 test ! -s conftest.err
41592 } && test -s conftest$ac_exeext &&
41593 $as_test_x conftest$ac_exeext; then
41594 ac_cv_func_pthread_attr_setstacksize=yes
41596 echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.$ac_ext >&5
41599 ac_cv_func_pthread_attr_setstacksize=no
41602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41603 conftest$ac_exeext conftest.$ac_ext
41605 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41606 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41607 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41608 cat >>confdefs.h <<\_ACEOF
41609 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41616 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41617 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41618 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41619 echo $ECHO_N "(cached) $ECHO_C" >&6
41622 cat >conftest.$ac_ext <<_ACEOF
41625 cat confdefs.h >>conftest.$ac_ext
41626 cat >>conftest.$ac_ext <<_ACEOF
41627 /* end confdefs.h. */
41628 #include <pthread.h>
41633 pthread_mutexattr_t attr;
41634 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41640 rm -f conftest.$ac_objext
41641 if { (ac_try="$ac_compile"
41642 case "(($ac_try" in
41643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41644 *) ac_try_echo
=$ac_try;;
41646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41647 (eval "$ac_compile") 2>conftest.er1
41649 grep -v '^ *+' conftest.er1
>conftest.err
41651 cat conftest.err
>&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } && {
41654 test -z "$ac_c_werror_flag" ||
41655 test ! -s conftest.err
41656 } && test -s conftest.
$ac_objext; then
41657 wx_cv_type_pthread_mutexattr_t
=yes
41659 echo "$as_me: failed program was:" >&5
41660 sed 's/^/| /' conftest.
$ac_ext >&5
41662 wx_cv_type_pthread_mutexattr_t
=no
41666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41669 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41670 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41672 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41673 cat >>confdefs.h
<<\_ACEOF
41674 #define HAVE_PTHREAD_MUTEXATTR_T 1
41678 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41679 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41680 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41684 cat >conftest.
$ac_ext <<_ACEOF
41687 cat confdefs.h
>>conftest.
$ac_ext
41688 cat >>conftest.
$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41690 #include <pthread.h>
41695 pthread_mutexattr_t attr;
41696 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41702 rm -f conftest.
$ac_objext
41703 if { (ac_try
="$ac_compile"
41704 case "(($ac_try" in
41705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_compile") 2>conftest.er1
41711 grep -v '^ *+' conftest.er1 >conftest.err
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest.$ac_objext; then
41719 wx_cv_func_pthread_mutexattr_settype_decl=yes
41721 echo "$as_me: failed program was:" >&5
41722 sed 's/^/| /' conftest.$ac_ext >&5
41724 wx_cv_func_pthread_mutexattr_settype_decl=no
41728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41731 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41732 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41733 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41734 cat >>confdefs.h <<\_ACEOF
41735 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41740 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41741 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41742 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41743 echo $ECHO_N "(cached) $ECHO_C" >&6
41746 cat >conftest.$ac_ext <<_ACEOF
41749 cat confdefs.h >>conftest.$ac_ext
41750 cat >>conftest.$ac_ext <<_ACEOF
41751 /* end confdefs.h. */
41752 #include <pthread.h>
41757 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41763 rm -f conftest.$ac_objext
41764 if { (ac_try="$ac_compile"
41765 case "(($ac_try" in
41766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41767 *) ac_try_echo
=$ac_try;;
41769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41770 (eval "$ac_compile") 2>conftest.er1
41772 grep -v '^ *+' conftest.er1
>conftest.err
41774 cat conftest.err
>&5
41775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776 (exit $ac_status); } && {
41777 test -z "$ac_c_werror_flag" ||
41778 test ! -s conftest.err
41779 } && test -s conftest.
$ac_objext; then
41781 wx_cv_type_pthread_rec_mutex_init
=yes
41784 echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.
$ac_ext >&5
41788 wx_cv_type_pthread_rec_mutex_init
=no
41793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41796 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41797 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41798 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41799 cat >>confdefs.h
<<\_ACEOF
41800 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41804 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41805 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41809 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41810 if test "$USE_NETBSD" = 1; then
41811 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41812 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41813 wxUSE_COMPILER_TLS
=no
41815 wxUSE_COMPILER_TLS
=yes
41819 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41820 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41821 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41822 if test "${wx_cv_cc___thread+set}" = set; then
41823 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 cat >conftest.
$ac_ext <<_ACEOF
41829 cat confdefs.h
>>conftest.
$ac_ext
41830 cat >>conftest.
$ac_ext <<_ACEOF
41831 /* end confdefs.h. */
41832 #include <pthread.h>
41837 static __thread int n = 0;
41838 static __thread int *p = 0;
41844 rm -f conftest.
$ac_objext
41845 if { (ac_try
="$ac_compile"
41846 case "(($ac_try" in
41847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41848 *) ac_try_echo=$ac_try;;
41850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41851 (eval "$ac_compile") 2>conftest.er1
41853 grep -v '^ *+' conftest.er1 >conftest.err
41855 cat conftest.err >&5
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); } && {
41858 test -z "$ac_c_werror_flag" ||
41859 test ! -s conftest.err
41860 } && test -s conftest.$ac_objext; then
41861 wx_cv_cc___thread=yes
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41866 wx_cv_cc___thread=no
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41874 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41875 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41877 if test "$wx_cv_cc___thread" = "yes"; then
41883 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41884 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41886 if test "x$GCC" = "xyes" ; then
41888 if test -z "" ; then
41890 ax_gcc_option_test="int main()
41897 ax_gcc_option_test=""
41902 # Dump the test program to file
41903 cat <<EOF > conftest.c
41904 $ax_gcc_option_test
41907 # Dump back the file to the log, useful for debugging purposes
41908 { ac_try='cat conftest.c 1>&5'
41909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41910 (eval $ac_try) 2>&5
41912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41913 (exit $ac_status); }; }
41915 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41917 (eval $ac_try) 2>&5
41919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920 (exit $ac_status); }; } ; then
41922 { echo "$as_me:$LINENO: result: yes" >&5
41923 echo "${ECHO_T}yes" >&6; }
41925 ax_gcc_version_option=yes
41930 { echo "$as_me:$LINENO: result: no" >&5
41931 echo "${ECHO_T}no" >&6; }
41933 ax_gcc_version_option=no
41941 { echo "$as_me:$LINENO: result: no gcc available" >&5
41942 echo "${ECHO_T}no gcc available" >&6; }
41947 if test "x$GXX" = "xyes"; then
41949 if test "x$ax_gxx_version_option" != "no"; then
41951 { echo "$as_me:$LINENO: checking gxx version" >&5
41952 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41953 if test "${ax_cv_gxx_version+set}" = set; then
41954 echo $ECHO_N "(cached) $ECHO_C" >&6
41957 ax_cv_gxx_version="`$CXX -dumpversion`"
41958 if test "x$ax_cv_gxx_version" = "x"; then
41960 ax_cv_gxx_version=""
41966 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41967 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41968 GXX_VERSION=$ax_cv_gxx_version
41977 if test -n "$ax_cv_gxx_version"; then
41978 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41979 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41980 case "$ax_cv_gxx_version" in
41982 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41983 echo "${ECHO_T}no, it's broken" >&6; }
41984 wx_cv_cc___thread=no
41987 { echo "$as_me:$LINENO: result: yes, it works" >&5
41988 echo "${ECHO_T}yes, it works" >&6; }
41994 if test "$wx_cv_cc___thread" = "yes"; then
41995 cat >>confdefs.h <<\_ACEOF
41996 #define HAVE___THREAD_KEYWORD 1
42004 if test "$wxUSE_THREADS" = "yes" ; then
42006 x86_64-*-mingw32* )
42009 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42010 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42011 if test "${wx_cv_cflags_mthread+set}" = set; then
42012 echo $ECHO_N "(cached) $ECHO_C" >&6
42015 CFLAGS_OLD="$CFLAGS"
42016 CFLAGS="-mthreads $CFLAGS"
42017 cat >conftest.$ac_ext <<_ACEOF
42020 cat confdefs.h >>conftest.$ac_ext
42021 cat >>conftest.$ac_ext <<_ACEOF
42022 /* end confdefs.h. */
42032 rm -f conftest.$ac_objext
42033 if { (ac_try="$ac_compile"
42034 case "(($ac_try" in
42035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42036 *) ac_try_echo
=$ac_try;;
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_compile") 2>conftest.er1
42041 grep -v '^ *+' conftest.er1
>conftest.err
42043 cat conftest.err
>&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest.
$ac_objext; then
42049 wx_cv_cflags_mthread
=yes
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.
$ac_ext >&5
42054 wx_cv_cflags_mthread
=no
42058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42062 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42063 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42065 if test "$wx_cv_cflags_mthread" = "yes"; then
42066 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
42067 LDFLAGS
="$LDFLAGS -mthreads"
42069 CFLAGS
="$CFLAGS_OLD"
42073 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42074 LDFLAGS
="$LDFLAGS -Zmt"
42080 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42081 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42082 if test "${ac_cv_func_localtime_r+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 cat >conftest.
$ac_ext <<_ACEOF
42088 cat confdefs.h
>>conftest.
$ac_ext
42089 cat >>conftest.
$ac_ext <<_ACEOF
42090 /* end confdefs.h. */
42091 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42093 #define localtime_r innocuous_localtime_r
42095 /* System header to define __stub macros and hopefully few prototypes,
42096 which can conflict with char localtime_r (); below.
42097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42098 <limits.h> exists even on freestanding compilers. */
42101 # include <limits.h>
42103 # include <assert.h>
42108 /* Override any GCC internal prototype to avoid an error.
42109 Use char because int might match the return type of a GCC
42110 builtin and then its argument prototype would still apply. */
42114 char localtime_r ();
42115 /* The GNU C library defines this for functions which it implements
42116 to always fail with ENOSYS. Some functions are actually named
42117 something starting with __ and the normal name is an alias. */
42118 #if defined __stub_localtime_r || defined __stub___localtime_r
42125 return localtime_r ();
42130 rm -f conftest.
$ac_objext conftest
$ac_exeext
42131 if { (ac_try
="$ac_link"
42132 case "(($ac_try" in
42133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42134 *) ac_try_echo=$ac_try;;
42136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42137 (eval "$ac_link") 2>conftest.er1
42139 grep -v '^ *+' conftest.er1 >conftest.err
42141 cat conftest.err >&5
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); } && {
42144 test -z "$ac_c_werror_flag" ||
42145 test ! -s conftest.err
42146 } && test -s conftest$ac_exeext &&
42147 $as_test_x conftest$ac_exeext; then
42148 ac_cv_func_localtime_r=yes
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.$ac_ext >&5
42153 ac_cv_func_localtime_r=no
42156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42157 conftest$ac_exeext conftest.$ac_ext
42159 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42160 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42161 if test $ac_cv_func_localtime_r = yes; then
42162 cat >>confdefs.h <<\_ACEOF
42163 #define HAVE_LOCALTIME_R 1
42168 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42169 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42170 if test "${ac_cv_func_gmtime_r+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42173 cat >conftest.$ac_ext <<_ACEOF
42176 cat confdefs.h >>conftest.$ac_ext
42177 cat >>conftest.$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42179 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42181 #define gmtime_r innocuous_gmtime_r
42183 /* System header to define __stub macros and hopefully few prototypes,
42184 which can conflict with char gmtime_r (); below.
42185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42186 <limits.h> exists even on freestanding compilers. */
42189 # include <limits.h>
42191 # include <assert.h>
42196 /* Override any GCC internal prototype to avoid an error.
42197 Use char because int might match the return type of a GCC
42198 builtin and then its argument prototype would still apply. */
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42213 return gmtime_r ();
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (ac_try="$ac_link"
42220 case "(($ac_try" in
42221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42222 *) ac_try_echo
=$ac_try;;
42224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42225 (eval "$ac_link") 2>conftest.er1
42227 grep -v '^ *+' conftest.er1
>conftest.err
42229 cat conftest.err
>&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } && {
42232 test -z "$ac_c_werror_flag" ||
42233 test ! -s conftest.err
42234 } && test -s conftest
$ac_exeext &&
42235 $as_test_x conftest
$ac_exeext; then
42236 ac_cv_func_gmtime_r
=yes
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.
$ac_ext >&5
42241 ac_cv_func_gmtime_r
=no
42244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42245 conftest
$ac_exeext conftest.
$ac_ext
42247 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42248 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42249 if test $ac_cv_func_gmtime_r = yes; then
42250 cat >>confdefs.h
<<\_ACEOF
42251 #define HAVE_GMTIME_R 1
42260 ac_cpp
='$CPP $CPPFLAGS'
42261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42265 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42266 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42268 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42269 echo $ECHO_N "(cached) $ECHO_C" >&6
42273 ################################################################
42275 ac_cv_func_which_gethostbyname_r
=unknown
42278 # ONE ARGUMENT (sanity check)
42281 # This should fail, as there is no variant of gethostbyname_r() that takes
42282 # a single argument. If it actually compiles, then we can assume that
42283 # netdb.h is not declaring the function, and the compiler is thereby
42284 # assuming an implicit prototype. In which case, we're out of luck.
42286 cat >conftest.
$ac_ext <<_ACEOF
42289 cat confdefs.h
>>conftest.
$ac_ext
42290 cat >>conftest.
$ac_ext <<_ACEOF
42291 /* end confdefs.h. */
42297 char *name = "www.gnu.org";
42298 (void)gethostbyname_r(name) /* ; */
42304 rm -f conftest.
$ac_objext
42305 if { (ac_try
="$ac_compile"
42306 case "(($ac_try" in
42307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_compile") 2>conftest.er1
42313 grep -v '^ *+' conftest.er1 >conftest.err
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_c_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest.$ac_objext; then
42321 ac_cv_func_which_gethostbyname_r=no
42323 echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42338 cat >conftest.$ac_ext <<_ACEOF
42341 cat confdefs.h >>conftest.$ac_ext
42342 cat >>conftest.$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42349 char *name = "www.gnu.org";
42350 struct hostent ret, *retp;
42354 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42360 rm -f conftest.$ac_objext
42361 if { (ac_try="$ac_compile"
42362 case "(($ac_try" in
42363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42364 *) ac_try_echo
=$ac_try;;
42366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42367 (eval "$ac_compile") 2>conftest.er1
42369 grep -v '^ *+' conftest.er1
>conftest.err
42371 cat conftest.err
>&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } && {
42374 test -z "$ac_c_werror_flag" ||
42375 test ! -s conftest.err
42376 } && test -s conftest.
$ac_objext; then
42377 ac_cv_func_which_gethostbyname_r
=six
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.
$ac_ext >&5
42385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42394 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42396 cat >conftest.
$ac_ext <<_ACEOF
42399 cat confdefs.h
>>conftest.
$ac_ext
42400 cat >>conftest.
$ac_ext <<_ACEOF
42401 /* end confdefs.h. */
42407 char *name = "www.gnu.org";
42408 struct hostent ret;
42412 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42418 rm -f conftest.
$ac_objext
42419 if { (ac_try
="$ac_compile"
42420 case "(($ac_try" in
42421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42422 *) ac_try_echo=$ac_try;;
42424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42425 (eval "$ac_compile") 2>conftest.er1
42427 grep -v '^ *+' conftest.er1 >conftest.err
42429 cat conftest.err >&5
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); } && {
42432 test -z "$ac_c_werror_flag" ||
42433 test ! -s conftest.err
42434 } && test -s conftest.$ac_objext; then
42435 ac_cv_func_which_gethostbyname_r=five
42437 echo "$as_me: failed program was:" >&5
42438 sed 's/^/| /' conftest.$ac_ext >&5
42443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 # (e.g. AIX, HP-UX, Tru64)
42452 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42454 cat >conftest.$ac_ext <<_ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h. */
42465 char *name = "www.gnu.org";
42466 struct hostent ret;
42467 struct hostent_data data;
42468 (void)gethostbyname_r(name, &ret, &data) /* ; */
42474 rm -f conftest.$ac_objext
42475 if { (ac_try="$ac_compile"
42476 case "(($ac_try" in
42477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42478 *) ac_try_echo
=$ac_try;;
42480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42481 (eval "$ac_compile") 2>conftest.er1
42483 grep -v '^ *+' conftest.er1
>conftest.err
42485 cat conftest.err
>&5
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); } && {
42488 test -z "$ac_c_werror_flag" ||
42489 test ! -s conftest.err
42490 } && test -s conftest.
$ac_objext; then
42491 ac_cv_func_which_gethostbyname_r
=three
42493 echo "$as_me: failed program was:" >&5
42494 sed 's/^/| /' conftest.
$ac_ext >&5
42499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42503 ################################################################
42508 case "$ac_cv_func_which_gethostbyname_r" in
42510 { echo "$as_me:$LINENO: result: three" >&5
42511 echo "${ECHO_T}three" >&6; }
42512 cat >>confdefs.h
<<\_ACEOF
42513 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42519 { echo "$as_me:$LINENO: result: five" >&5
42520 echo "${ECHO_T}five" >&6; }
42521 cat >>confdefs.h
<<\_ACEOF
42522 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42528 { echo "$as_me:$LINENO: result: six" >&5
42529 echo "${ECHO_T}six" >&6; }
42530 cat >>confdefs.h
<<\_ACEOF
42531 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42537 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42538 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42542 { echo "$as_me:$LINENO: result: can't tell" >&5
42543 echo "${ECHO_T}can't tell" >&6; }
42547 { { echo "$as_me:$LINENO: error: internal error" >&5
42548 echo "$as_me: error: internal error" >&2;}
42549 { (exit 1); exit 1; }; }
42554 ac_cpp
='$CPP $CPPFLAGS'
42555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42561 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42562 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42563 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42564 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42565 if test "${ac_cv_func_gethostbyname+set}" = set; then
42566 echo $ECHO_N "(cached) $ECHO_C" >&6
42568 cat >conftest.
$ac_ext <<_ACEOF
42571 cat confdefs.h
>>conftest.
$ac_ext
42572 cat >>conftest.
$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42574 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42576 #define gethostbyname innocuous_gethostbyname
42578 /* System header to define __stub macros and hopefully few prototypes,
42579 which can conflict with char gethostbyname (); below.
42580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42581 <limits.h> exists even on freestanding compilers. */
42584 # include <limits.h>
42586 # include <assert.h>
42589 #undef gethostbyname
42591 /* Override any GCC internal prototype to avoid an error.
42592 Use char because int might match the return type of a GCC
42593 builtin and then its argument prototype would still apply. */
42597 char gethostbyname ();
42598 /* The GNU C library defines this for functions which it implements
42599 to always fail with ENOSYS. Some functions are actually named
42600 something starting with __ and the normal name is an alias. */
42601 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42608 return gethostbyname ();
42613 rm -f conftest.
$ac_objext conftest
$ac_exeext
42614 if { (ac_try
="$ac_link"
42615 case "(($ac_try" in
42616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42617 *) ac_try_echo=$ac_try;;
42619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42620 (eval "$ac_link") 2>conftest.er1
42622 grep -v '^ *+' conftest.er1 >conftest.err
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } && {
42627 test -z "$ac_c_werror_flag" ||
42628 test ! -s conftest.err
42629 } && test -s conftest$ac_exeext &&
42630 $as_test_x conftest$ac_exeext; then
42631 ac_cv_func_gethostbyname=yes
42633 echo "$as_me: failed program was:" >&5
42634 sed 's/^/| /' conftest.$ac_ext >&5
42636 ac_cv_func_gethostbyname=no
42639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42640 conftest$ac_exeext conftest.$ac_ext
42642 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42643 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42644 if test $ac_cv_func_gethostbyname = yes; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define HAVE_GETHOSTBYNAME 1
42653 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42654 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42655 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42656 echo $ECHO_N "(cached) $ECHO_C" >&6
42660 ac_cpp='$CXXCPP $CPPFLAGS'
42661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42666 cat >conftest.$ac_ext <<_ACEOF
42669 cat confdefs.h >>conftest.$ac_ext
42670 cat >>conftest.$ac_ext <<_ACEOF
42671 /* end confdefs.h. */
42679 struct servent *se, *res;
42682 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42688 rm -f conftest.$ac_objext
42689 if { (ac_try="$ac_compile"
42690 case "(($ac_try" in
42691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42692 *) ac_try_echo
=$ac_try;;
42694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42695 (eval "$ac_compile") 2>conftest.er1
42697 grep -v '^ *+' conftest.er1
>conftest.err
42699 cat conftest.err
>&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); } && {
42702 test -z "$ac_cxx_werror_flag" ||
42703 test ! -s conftest.err
42704 } && test -s conftest.
$ac_objext; then
42705 ac_cv_func_which_getservbyname_r
=six
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.
$ac_ext >&5
42711 cat >conftest.
$ac_ext <<_ACEOF
42714 cat confdefs.h
>>conftest.
$ac_ext
42715 cat >>conftest.
$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42724 struct servent *se;
42727 (void) getservbyname_r(name, proto, se, buffer, buflen)
42733 rm -f conftest.
$ac_objext
42734 if { (ac_try
="$ac_compile"
42735 case "(($ac_try" in
42736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_compile") 2>conftest.er1
42742 grep -v '^ *+' conftest.er1 >conftest.err
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_cxx_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest.$ac_objext; then
42750 ac_cv_func_which_getservbyname_r=five
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42756 cat >conftest.$ac_ext <<_ACEOF
42759 cat confdefs.h >>conftest.$ac_ext
42760 cat >>conftest.$ac_ext <<_ACEOF
42761 /* end confdefs.h. */
42769 struct servent *se;
42770 struct servent_data data;
42771 (void) getservbyname_r(name, proto, se, &data);
42777 rm -f conftest.$ac_objext
42778 if { (ac_try="$ac_compile"
42779 case "(($ac_try" in
42780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42781 *) ac_try_echo
=$ac_try;;
42783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42784 (eval "$ac_compile") 2>conftest.er1
42786 grep -v '^ *+' conftest.er1
>conftest.err
42788 cat conftest.err
>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } && {
42791 test -z "$ac_cxx_werror_flag" ||
42792 test ! -s conftest.err
42793 } && test -s conftest.
$ac_objext; then
42794 ac_cv_func_which_getservbyname_r
=four
42796 echo "$as_me: failed program was:" >&5
42797 sed 's/^/| /' conftest.
$ac_ext >&5
42799 ac_cv_func_which_getservbyname_r
=no
42803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42815 ac_cpp
='$CPP $CPPFLAGS'
42816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42823 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42824 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42826 if test $ac_cv_func_which_getservbyname_r = six
; then
42827 cat >>confdefs.h
<<\_ACEOF
42828 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42831 elif test $ac_cv_func_which_getservbyname_r = five
; then
42832 cat >>confdefs.h
<<\_ACEOF
42833 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42836 elif test $ac_cv_func_which_getservbyname_r = four
; then
42837 cat >>confdefs.h
<<\_ACEOF
42838 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42844 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42845 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42847 for ac_func
in getservbyname
42849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42852 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42853 echo $ECHO_N "(cached) $ECHO_C" >&6
42855 cat >conftest.
$ac_ext <<_ACEOF
42858 cat confdefs.h
>>conftest.
$ac_ext
42859 cat >>conftest.
$ac_ext <<_ACEOF
42860 /* end confdefs.h. */
42861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42863 #define $ac_func innocuous_$ac_func
42865 /* System header to define __stub macros and hopefully few prototypes,
42866 which can conflict with char $ac_func (); below.
42867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42868 <limits.h> exists even on freestanding compilers. */
42871 # include <limits.h>
42873 # include <assert.h>
42878 /* Override any GCC internal prototype to avoid an error.
42879 Use char because int might match the return type of a GCC
42880 builtin and then its argument prototype would still apply. */
42885 /* The GNU C library defines this for functions which it implements
42886 to always fail with ENOSYS. Some functions are actually named
42887 something starting with __ and the normal name is an alias. */
42888 #if defined __stub_$ac_func || defined __stub___$ac_func
42895 return $ac_func ();
42900 rm -f conftest.
$ac_objext conftest
$ac_exeext
42901 if { (ac_try
="$ac_link"
42902 case "(($ac_try" in
42903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42904 *) ac_try_echo=$ac_try;;
42906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42907 (eval "$ac_link") 2>conftest.er1
42909 grep -v '^ *+' conftest.er1 >conftest.err
42911 cat conftest.err >&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); } && {
42914 test -z "$ac_c_werror_flag" ||
42915 test ! -s conftest.err
42916 } && test -s conftest$ac_exeext &&
42917 $as_test_x conftest$ac_exeext; then
42918 eval "$as_ac_var=yes"
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42923 eval "$as_ac_var=no"
42926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42927 conftest$ac_exeext conftest.$ac_ext
42929 ac_res=`eval echo '${'$as_ac_var'}'`
42930 { echo "$as_me:$LINENO: result: $ac_res" >&5
42931 echo "${ECHO_T}$ac_res" >&6; }
42932 if test `eval echo '${'$as_ac_var'}'` = yes; then
42933 cat >>confdefs.h <<_ACEOF
42934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_GETSERVBYNAME 1
42945 if test "$wxUSE_THREADS" = "yes"; then
42946 cat >>confdefs.h <<\_ACEOF
42947 #define wxUSE_THREADS 1
42951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42953 if test "$wx_cv_func_strtok_r" = "yes"; then
42954 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42955 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42956 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42958 { echo "$as_me:$LINENO: result: yes" >&5
42959 echo "${ECHO_T}yes" >&6; }
42961 { echo "$as_me:$LINENO: result: no" >&5
42962 echo "${ECHO_T}no" >&6; }
42967 if test "$WXGTK2" = 1 ; then
42968 cat >>confdefs.h <<_ACEOF
42969 #define __WXGTK20__ $WXGTK2
42975 if test "$WXGTK12" = 1 ; then
42976 cat >>confdefs.h <<_ACEOF
42977 #define __WXGTK12__ $WXGTK12
42982 if test "$WXGTK127" = 1 ; then
42983 cat >>confdefs.h <<_ACEOF
42984 #define __WXGTK127__ $WXGTK127
42989 if test "$WXGPE" = 1 ; then
42990 cat >>confdefs.h <<_ACEOF
42991 #define __WXGPE__ $WXGPE
42997 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42998 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42999 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43000 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43004 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43005 wxUSE_DEBUG_INFO=yes
43006 if test "$GCC" = yes; then
43007 DEBUG_CFLAGS="-ggdb"
43011 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43012 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43014 if test "$wxUSE_GTK" = 1 ; then
43015 if test "x$wxGTK_VERSION" = "x1" ; then
43016 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43021 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43022 cat >>confdefs.h <<\_ACEOF
43023 #define wxUSE_MEMORY_TRACING 1
43026 cat >>confdefs.h <<\_ACEOF
43027 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43030 cat >>confdefs.h <<\_ACEOF
43031 #define wxUSE_DEBUG_NEW_ALWAYS 1
43034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43037 if test "$wxUSE_DMALLOC" = "yes" ; then
43038 DMALLOC_LIBS="-ldmallocthcxx"
43042 if test "$wxUSE_PROFILE" = "yes" ; then
43043 PROFILE_FLAGS=" -pg"
43046 if test "$GCC" = "yes" ; then
43047 if test "$wxUSE_NO_RTTI" = "yes" ; then
43048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43050 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43051 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43053 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43059 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43062 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43068 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
43069 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43070 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43072 if test "$wxUSE_OPTIMISE" = "no" ; then
43073 if test "$GCC" = yes ; then
43074 OPTIMISE_CFLAGS="-O0"
43077 if test "$GCC" = yes ; then
43079 *-pc-os2_emx | *-pc-os2-emx )
43080 OPTIMISE_CFLAGS="-O2"
43083 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43087 OPTIMISE_CFLAGS="-O"
43093 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43094 cat >>confdefs.h <<\_ACEOF
43095 #define WXWIN_COMPATIBILITY_2_6 1
43099 WXWIN_COMPATIBILITY_2_8="yes"
43102 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define WXWIN_COMPATIBILITY_2_8 1
43110 if test "$wxUSE_GUI" = "yes"; then
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_GUI 1
43119 if test "$wxUSE_UNIX" = "yes"; then
43120 cat >>confdefs.h <<\_ACEOF
43121 #define wxUSE_UNIX 1
43127 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43131 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43132 if test "$USE_DOS" = 1; then
43136 for ac_func in dlopen
43138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43139 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43141 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43142 echo $ECHO_N "(cached) $ECHO_C" >&6
43144 cat >conftest.$ac_ext <<_ACEOF
43147 cat confdefs.h >>conftest.$ac_ext
43148 cat >>conftest.$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43152 #define $ac_func innocuous_$ac_func
43154 /* System header to define __stub macros and hopefully few prototypes,
43155 which can conflict with char $ac_func (); below.
43156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43157 <limits.h> exists even on freestanding compilers. */
43160 # include <limits.h>
43162 # include <assert.h>
43167 /* Override any GCC internal prototype to avoid an error.
43168 Use char because int might match the return type of a GCC
43169 builtin and then its argument prototype would still apply. */
43174 /* The GNU C library defines this for functions which it implements
43175 to always fail with ENOSYS. Some functions are actually named
43176 something starting with __ and the normal name is an alias. */
43177 #if defined __stub_$ac_func || defined __stub___$ac_func
43184 return $ac_func ();
43189 rm -f conftest.$ac_objext conftest$ac_exeext
43190 if { (ac_try="$ac_link"
43191 case "(($ac_try" in
43192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43193 *) ac_try_echo
=$ac_try;;
43195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43196 (eval "$ac_link") 2>conftest.er1
43198 grep -v '^ *+' conftest.er1
>conftest.err
43200 cat conftest.err
>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } && {
43203 test -z "$ac_c_werror_flag" ||
43204 test ! -s conftest.err
43205 } && test -s conftest
$ac_exeext &&
43206 $as_test_x conftest
$ac_exeext; then
43207 eval "$as_ac_var=yes"
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.
$ac_ext >&5
43212 eval "$as_ac_var=no"
43215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43216 conftest
$ac_exeext conftest.
$ac_ext
43218 ac_res
=`eval echo '${'$as_ac_var'}'`
43219 { echo "$as_me:$LINENO: result: $ac_res" >&5
43220 echo "${ECHO_T}$ac_res" >&6; }
43221 if test `eval echo '${'$as_ac_var'}'` = yes; then
43222 cat >>confdefs.h
<<_ACEOF
43223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43226 cat >>confdefs.h
<<\_ACEOF
43227 #define HAVE_DLOPEN 1
43234 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43235 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43236 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43237 echo $ECHO_N "(cached) $ECHO_C" >&6
43239 ac_check_lib_save_LIBS
=$LIBS
43241 cat >conftest.
$ac_ext <<_ACEOF
43244 cat confdefs.h
>>conftest.
$ac_ext
43245 cat >>conftest.
$ac_ext <<_ACEOF
43246 /* end confdefs.h. */
43248 /* Override any GCC internal prototype to avoid an error.
43249 Use char because int might match the return type of a GCC
43250 builtin and then its argument prototype would still apply. */
43263 rm -f conftest.
$ac_objext conftest
$ac_exeext
43264 if { (ac_try
="$ac_link"
43265 case "(($ac_try" in
43266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_link") 2>conftest.er1
43272 grep -v '^ *+' conftest.er1 >conftest.err
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest$ac_exeext &&
43280 $as_test_x conftest$ac_exeext; then
43281 ac_cv_lib_dl_dlopen=yes
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.$ac_ext >&5
43286 ac_cv_lib_dl_dlopen=no
43289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43290 conftest$ac_exeext conftest.$ac_ext
43291 LIBS=$ac_check_lib_save_LIBS
43293 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43294 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43295 if test $ac_cv_lib_dl_dlopen = yes; then
43297 cat >>confdefs.h <<\_ACEOF
43298 #define HAVE_DLOPEN 1
43302 DL_LINK=" -ldl$DL_LINK"
43307 for ac_func in shl_load
43309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43313 echo $ECHO_N "(cached) $ECHO_C" >&6
43315 cat >conftest.$ac_ext <<_ACEOF
43318 cat confdefs.h >>conftest.$ac_ext
43319 cat >>conftest.$ac_ext <<_ACEOF
43320 /* end confdefs.h. */
43321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43323 #define $ac_func innocuous_$ac_func
43325 /* System header to define __stub macros and hopefully few prototypes,
43326 which can conflict with char $ac_func (); below.
43327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43328 <limits.h> exists even on freestanding compilers. */
43331 # include <limits.h>
43333 # include <assert.h>
43338 /* Override any GCC internal prototype to avoid an error.
43339 Use char because int might match the return type of a GCC
43340 builtin and then its argument prototype would still apply. */
43345 /* The GNU C library defines this for functions which it implements
43346 to always fail with ENOSYS. Some functions are actually named
43347 something starting with __ and the normal name is an alias. */
43348 #if defined __stub_$ac_func || defined __stub___$ac_func
43355 return $ac_func ();
43360 rm -f conftest.$ac_objext conftest$ac_exeext
43361 if { (ac_try="$ac_link"
43362 case "(($ac_try" in
43363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43364 *) ac_try_echo
=$ac_try;;
43366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43367 (eval "$ac_link") 2>conftest.er1
43369 grep -v '^ *+' conftest.er1
>conftest.err
43371 cat conftest.err
>&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } && {
43374 test -z "$ac_c_werror_flag" ||
43375 test ! -s conftest.err
43376 } && test -s conftest
$ac_exeext &&
43377 $as_test_x conftest
$ac_exeext; then
43378 eval "$as_ac_var=yes"
43380 echo "$as_me: failed program was:" >&5
43381 sed 's/^/| /' conftest.
$ac_ext >&5
43383 eval "$as_ac_var=no"
43386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43387 conftest
$ac_exeext conftest.
$ac_ext
43389 ac_res
=`eval echo '${'$as_ac_var'}'`
43390 { echo "$as_me:$LINENO: result: $ac_res" >&5
43391 echo "${ECHO_T}$ac_res" >&6; }
43392 if test `eval echo '${'$as_ac_var'}'` = yes; then
43393 cat >>confdefs.h
<<_ACEOF
43394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43397 cat >>confdefs.h
<<\_ACEOF
43398 #define HAVE_SHL_LOAD 1
43405 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43406 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43407 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43408 echo $ECHO_N "(cached) $ECHO_C" >&6
43410 ac_check_lib_save_LIBS
=$LIBS
43411 LIBS
="-lshl_load $LIBS"
43412 cat >conftest.
$ac_ext <<_ACEOF
43415 cat confdefs.h
>>conftest.
$ac_ext
43416 cat >>conftest.
$ac_ext <<_ACEOF
43417 /* end confdefs.h. */
43419 /* Override any GCC internal prototype to avoid an error.
43420 Use char because int might match the return type of a GCC
43421 builtin and then its argument prototype would still apply. */
43434 rm -f conftest.
$ac_objext conftest
$ac_exeext
43435 if { (ac_try
="$ac_link"
43436 case "(($ac_try" in
43437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43438 *) ac_try_echo=$ac_try;;
43440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43441 (eval "$ac_link") 2>conftest.er1
43443 grep -v '^ *+' conftest.er1 >conftest.err
43445 cat conftest.err >&5
43446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43447 (exit $ac_status); } && {
43448 test -z "$ac_c_werror_flag" ||
43449 test ! -s conftest.err
43450 } && test -s conftest$ac_exeext &&
43451 $as_test_x conftest$ac_exeext; then
43452 ac_cv_lib_shl_load_dld=yes
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.$ac_ext >&5
43457 ac_cv_lib_shl_load_dld=no
43460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43461 conftest$ac_exeext conftest.$ac_ext
43462 LIBS=$ac_check_lib_save_LIBS
43464 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43465 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43466 if test $ac_cv_lib_shl_load_dld = yes; then
43469 DL_LINK=" -ldld$DL_LINK"
43485 if test "$HAVE_DL_FUNCS" = 1; then
43487 for ac_func in dlerror
43489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43493 echo $ECHO_N "(cached) $ECHO_C" >&6
43495 cat >conftest.$ac_ext <<_ACEOF
43498 cat confdefs.h >>conftest.$ac_ext
43499 cat >>conftest.$ac_ext <<_ACEOF
43500 /* end confdefs.h. */
43501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43503 #define $ac_func innocuous_$ac_func
43505 /* System header to define __stub macros and hopefully few prototypes,
43506 which can conflict with char $ac_func (); below.
43507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43508 <limits.h> exists even on freestanding compilers. */
43511 # include <limits.h>
43513 # include <assert.h>
43518 /* Override any GCC internal prototype to avoid an error.
43519 Use char because int might match the return type of a GCC
43520 builtin and then its argument prototype would still apply. */
43525 /* The GNU C library defines this for functions which it implements
43526 to always fail with ENOSYS. Some functions are actually named
43527 something starting with __ and the normal name is an alias. */
43528 #if defined __stub_$ac_func || defined __stub___$ac_func
43535 return $ac_func ();
43540 rm -f conftest.$ac_objext conftest$ac_exeext
43541 if { (ac_try="$ac_link"
43542 case "(($ac_try" in
43543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43544 *) ac_try_echo
=$ac_try;;
43546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43547 (eval "$ac_link") 2>conftest.er1
43549 grep -v '^ *+' conftest.er1
>conftest.err
43551 cat conftest.err
>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); } && {
43554 test -z "$ac_c_werror_flag" ||
43555 test ! -s conftest.err
43556 } && test -s conftest
$ac_exeext &&
43557 $as_test_x conftest
$ac_exeext; then
43558 eval "$as_ac_var=yes"
43560 echo "$as_me: failed program was:" >&5
43561 sed 's/^/| /' conftest.
$ac_ext >&5
43563 eval "$as_ac_var=no"
43566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43567 conftest
$ac_exeext conftest.
$ac_ext
43569 ac_res
=`eval echo '${'$as_ac_var'}'`
43570 { echo "$as_me:$LINENO: result: $ac_res" >&5
43571 echo "${ECHO_T}$ac_res" >&6; }
43572 if test `eval echo '${'$as_ac_var'}'` = yes; then
43573 cat >>confdefs.h
<<_ACEOF
43574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43576 cat >>confdefs.h
<<\_ACEOF
43577 #define HAVE_DLERROR 1
43582 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43583 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43584 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43585 echo $ECHO_N "(cached) $ECHO_C" >&6
43587 ac_check_lib_save_LIBS
=$LIBS
43589 cat >conftest.
$ac_ext <<_ACEOF
43592 cat confdefs.h
>>conftest.
$ac_ext
43593 cat >>conftest.
$ac_ext <<_ACEOF
43594 /* end confdefs.h. */
43596 /* Override any GCC internal prototype to avoid an error.
43597 Use char because int might match the return type of a GCC
43598 builtin and then its argument prototype would still apply. */
43611 rm -f conftest.
$ac_objext conftest
$ac_exeext
43612 if { (ac_try
="$ac_link"
43613 case "(($ac_try" in
43614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43615 *) ac_try_echo=$ac_try;;
43617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43618 (eval "$ac_link") 2>conftest.er1
43620 grep -v '^ *+' conftest.er1 >conftest.err
43622 cat conftest.err >&5
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); } && {
43625 test -z "$ac_c_werror_flag" ||
43626 test ! -s conftest.err
43627 } && test -s conftest$ac_exeext &&
43628 $as_test_x conftest$ac_exeext; then
43629 ac_cv_lib_dl_dlerror=yes
43631 echo "$as_me: failed program was:" >&5
43632 sed 's/^/| /' conftest.$ac_ext >&5
43634 ac_cv_lib_dl_dlerror=no
43637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43638 conftest$ac_exeext conftest.$ac_ext
43639 LIBS=$ac_check_lib_save_LIBS
43641 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43642 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43643 if test $ac_cv_lib_dl_dlerror = yes; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define HAVE_DLERROR 1
43658 if test "$USE_DARWIN" = 1; then
43662 if test "$HAVE_DL_FUNCS" = 0; then
43663 if test "$HAVE_SHL_FUNCS" = 0; then
43664 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43665 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43666 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43667 wxUSE_DYNAMIC_LOADER=no
43668 wxUSE_DYNLIB_CLASS=no
43670 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43671 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43678 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43679 cat >>confdefs.h <<\_ACEOF
43680 #define wxUSE_DYNAMIC_LOADER 1
43684 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_DYNLIB_CLASS 1
43693 if test "$wxUSE_PLUGINS" = "yes" ; then
43694 if test "$wxUSE_SHARED" = "no" ; then
43695 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43696 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43699 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43700 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43701 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43704 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43705 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43706 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43709 if test "$wxUSE_PLUGINS" = "yes" ; then
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_PLUGINS 1
43718 if test "$wxUSE_FSWATCHER" = "yes"; then
43719 if test "$wxUSE_MSW" != "1"; then
43720 if test "$wxUSE_UNIX" = "yes"; then
43722 for ac_header in sys/inotify.h
43724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43728 echo $ECHO_N "(cached) $ECHO_C" >&6
43730 cat >conftest.$ac_ext <<_ACEOF
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43736 $ac_includes_default
43738 #include <$ac_header>
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43749 grep -v '^ *+' conftest.er1
>conftest.err
43751 cat conftest.err
>&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_c_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.
$ac_objext; then
43757 eval "$as_ac_Header=yes"
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.
$ac_ext >&5
43762 eval "$as_ac_Header=no"
43765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43767 ac_res
=`eval echo '${'$as_ac_Header'}'`
43768 { echo "$as_me:$LINENO: result: $ac_res" >&5
43769 echo "${ECHO_T}$ac_res" >&6; }
43770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43771 cat >>confdefs.h
<<_ACEOF
43772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43779 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43780 cat >>confdefs.h
<<\_ACEOF
43781 #define wxHAS_INOTIFY 1
43786 for ac_header
in sys
/event.h
43788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43791 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 cat >conftest.
$ac_ext <<_ACEOF
43797 cat confdefs.h
>>conftest.
$ac_ext
43798 cat >>conftest.
$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 $ac_includes_default
43802 #include <$ac_header>
43804 rm -f conftest.
$ac_objext
43805 if { (ac_try
="$ac_compile"
43806 case "(($ac_try" in
43807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43808 *) ac_try_echo=$ac_try;;
43810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43811 (eval "$ac_compile") 2>conftest.er1
43813 grep -v '^ *+' conftest.er1 >conftest.err
43815 cat conftest.err >&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); } && {
43818 test -z "$ac_c_werror_flag" ||
43819 test ! -s conftest.err
43820 } && test -s conftest.$ac_objext; then
43821 eval "$as_ac_Header=yes"
43823 echo "$as_me: failed program was:" >&5
43824 sed 's/^/| /' conftest.$ac_ext >&5
43826 eval "$as_ac_Header=no"
43829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_res=`eval echo '${'$as_ac_Header'}'`
43832 { echo "$as_me:$LINENO: result: $ac_res" >&5
43833 echo "${ECHO_T}$ac_res" >&6; }
43834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43835 cat >>confdefs.h <<_ACEOF
43836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43843 if test "$ac_cv_header_sys_event_h" = "yes"; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxHAS_KQUEUE 1
43856 if test "$wxUSE_THREADS" != "yes"; then
43857 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43858 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43863 if test "$wxUSE_FSWATCHER" = "yes"; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_FSWATCHER 1
43868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43870 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43871 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43876 if test "$wxUSE_STL" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_STL 1
43883 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_EXTENDED_RTTI 1
43890 if test "$wxUSE_ANY" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_ANY 1
43897 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43898 cat >>confdefs.h <<\_ACEOF
43899 #define wxUSE_APPLE_IEEE 1
43904 if test "$wxUSE_TIMER" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_TIMER 1
43911 if test "$USE_UNIX" = 1 ; then
43912 if test "$wxUSE_MGL" != 1; then
43913 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43914 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43915 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43916 echo $ECHO_N "(cached) $ECHO_C" >&6
43919 cat >conftest.$ac_ext <<_ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43926 #include <sys/ioctl.h>
43927 #include <sys/soundcard.h>
43933 ioctl(0, SNDCTL_DSP_SPEED, 0);
43939 rm -f conftest.$ac_objext conftest$ac_exeext
43940 if { (ac_try="$ac_link"
43941 case "(($ac_try" in
43942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43943 *) ac_try_echo
=$ac_try;;
43945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43946 (eval "$ac_link") 2>conftest.er1
43948 grep -v '^ *+' conftest.er1
>conftest.err
43950 cat conftest.err
>&5
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); } && {
43953 test -z "$ac_c_werror_flag" ||
43954 test ! -s conftest.err
43955 } && test -s conftest
$ac_exeext &&
43956 $as_test_x conftest
$ac_exeext; then
43957 ac_cv_header_sys_soundcard
=yes
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.
$ac_ext >&5
43964 LIBS
="$saveLibs -lossaudio"
43965 cat >conftest.
$ac_ext <<_ACEOF
43968 cat confdefs.h
>>conftest.
$ac_ext
43969 cat >>conftest.
$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43972 #include <sys/ioctl.h>
43973 #include <sys/soundcard.h>
43979 ioctl(0, SNDCTL_DSP_SPEED, 0);
43985 rm -f conftest.
$ac_objext conftest
$ac_exeext
43986 if { (ac_try
="$ac_link"
43987 case "(($ac_try" in
43988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43989 *) ac_try_echo=$ac_try;;
43991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43992 (eval "$ac_link") 2>conftest.er1
43994 grep -v '^ *+' conftest.er1 >conftest.err
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } && {
43999 test -z "$ac_c_werror_flag" ||
44000 test ! -s conftest.err
44001 } && test -s conftest$ac_exeext &&
44002 $as_test_x conftest$ac_exeext; then
44003 ac_cv_header_sys_soundcard=yes
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44010 ac_cv_header_sys_soundcard=no
44015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44016 conftest$ac_exeext conftest.$ac_ext
44021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44022 conftest$ac_exeext conftest.$ac_ext
44025 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44026 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44029 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define HAVE_SYS_SOUNDCARD_H 1
44038 if test "$wxUSE_SOUND" = "yes"; then
44039 if test "$USE_UNIX" = 1 ; then
44040 if test "$wxUSE_LIBSDL" != "no"; then
44042 # Check whether --with-sdl-prefix was given.
44043 if test "${with_sdl_prefix+set}" = set; then
44044 withval=$with_sdl_prefix; sdl_prefix="$withval"
44050 # Check whether --with-sdl-exec-prefix was given.
44051 if test "${with_sdl_exec_prefix+set}" = set; then
44052 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44057 # Check whether --enable-sdltest was given.
44058 if test "${enable_sdltest+set}" = set; then
44059 enableval=$enable_sdltest;
44065 if test x$sdl_exec_prefix != x ; then
44066 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44067 if test x${SDL_CONFIG+set} != xset ; then
44068 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44071 if test x$sdl_prefix != x ; then
44072 sdl_args="$sdl_args --prefix=$sdl_prefix"
44073 if test x${SDL_CONFIG+set} != xset ; then
44074 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44078 if test "x$prefix" != xNONE; then
44079 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44081 # Extract the first word of "sdl-config", so it can be a program name with args.
44082 set dummy sdl-config; ac_word=$2
44083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44085 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44086 echo $ECHO_N "(cached) $ECHO_C" >&6
44088 case $SDL_CONFIG in
44090 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44094 for as_dir in $PATH
44097 test -z "$as_dir" && as_dir=.
44098 for ac_exec_ext in '' $ac_executable_extensions; do
44099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44100 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44108 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44112 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44113 if test -n "$SDL_CONFIG"; then
44114 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44115 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44117 { echo "$as_me:$LINENO: result: no" >&5
44118 echo "${ECHO_T}no" >&6; }
44122 min_sdl_version=1.2.0
44123 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44124 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44126 if test "$SDL_CONFIG" = "no" ; then
44129 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44130 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44132 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44134 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44136 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44138 if test "x$enable_sdltest" = "xyes" ; then
44139 ac_save_CFLAGS="$CFLAGS"
44140 ac_save_CXXFLAGS="$CXXFLAGS"
44141 ac_save_LIBS="$LIBS"
44142 CFLAGS="$CFLAGS $SDL_CFLAGS"
44143 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44144 LIBS="$LIBS $SDL_LIBS"
44146 if test "$cross_compiling" = yes; then
44147 echo $ac_n "cross compiling; assumed OK... $ac_c"
44149 cat >conftest.$ac_ext <<_ACEOF
44152 cat confdefs.h >>conftest.$ac_ext
44153 cat >>conftest.$ac_ext <<_ACEOF
44154 /* end confdefs.h. */
44157 #include <stdlib.h>
44158 #include <string.h>
44162 my_strdup (char *str)
44168 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44169 strcpy (new_str, str);
44177 int main (int argc, char *argv[])
44179 int major, minor, micro;
44182 /* This hangs on some systems (?)
44183 system ("touch conf.sdltest");
44185 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44187 /* HP/UX 9 (%@#!) writes to sscanf strings */
44188 tmp_version = my_strdup("$min_sdl_version");
44189 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44190 printf("%s, bad version string\n", "$min_sdl_version");
44194 if (($sdl_major_version > major) ||
44195 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44196 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44202 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44203 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44204 printf("*** best to upgrade to the required version.\n");
44205 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44206 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44207 printf("*** config.cache before re-running configure\n");
44214 rm -f conftest$ac_exeext
44215 if { (ac_try="$ac_link"
44216 case "(($ac_try" in
44217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44218 *) ac_try_echo
=$ac_try;;
44220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44221 (eval "$ac_link") 2>&5
44223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44225 { (case "(($ac_try" in
44226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44227 *) ac_try_echo=$ac_try;;
44229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44230 (eval "$ac_try") 2>&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; }; then
44236 echo "$as_me: program exited with status $ac_status" >&5
44237 echo "$as_me: failed program was:" >&5
44238 sed 's/^/| /' conftest.$ac_ext >&5
44240 ( exit $ac_status )
44243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44247 CFLAGS="$ac_save_CFLAGS"
44248 CXXFLAGS="$ac_save_CXXFLAGS"
44249 LIBS="$ac_save_LIBS"
44252 if test "x$no_sdl" = x ; then
44253 { echo "$as_me:$LINENO: result: yes" >&5
44254 echo "${ECHO_T}yes" >&6; }
44256 EXTRALIBS_SDL="$SDL_LIBS"
44257 CFLAGS="$SDL_CFLAGS $CFLAGS"
44258 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_LIBSDL 1
44265 { echo "$as_me:$LINENO: result: no" >&5
44266 echo "${ECHO_T}no" >&6; }
44267 if test "$SDL_CONFIG" = "no" ; then
44268 echo "*** The sdl-config script installed by SDL could not be found"
44269 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44270 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44271 echo "*** full path to sdl-config."
44273 if test -f conf.sdltest ; then
44276 echo "*** Could not run SDL test program, checking why..."
44277 CFLAGS="$CFLAGS $SDL_CFLAGS"
44278 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44279 LIBS="$LIBS $SDL_LIBS"
44280 cat >conftest.$ac_ext <<_ACEOF
44283 cat confdefs.h >>conftest.$ac_ext
44284 cat >>conftest.$ac_ext <<_ACEOF
44285 /* end confdefs.h. */
44290 int main(int argc, char *argv[])
44293 #define main K_and_R_C_main
44303 rm -f conftest.$ac_objext conftest$ac_exeext
44304 if { (ac_try="$ac_link"
44305 case "(($ac_try" in
44306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44307 *) ac_try_echo
=$ac_try;;
44309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44310 (eval "$ac_link") 2>conftest.er1
44312 grep -v '^ *+' conftest.er1
>conftest.err
44314 cat conftest.err
>&5
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); } && {
44317 test -z "$ac_c_werror_flag" ||
44318 test ! -s conftest.err
44319 } && test -s conftest
$ac_exeext &&
44320 $as_test_x conftest
$ac_exeext; then
44321 echo "*** The test program compiled, but did not run. This usually means"
44322 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44323 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44324 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44325 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44326 echo "*** is required on your system"
44328 echo "*** If you have an old version installed, it is best to remove it, although"
44329 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.
$ac_ext >&5
44334 echo "*** The test program failed to compile or link. See the file config.log for the"
44335 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44336 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44337 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44341 conftest
$ac_exeext conftest.
$ac_ext
44342 CFLAGS
="$ac_save_CFLAGS"
44343 CXXFLAGS
="$ac_save_CXXFLAGS"
44344 LIBS
="$ac_save_LIBS"
44355 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44360 if test "$wxUSE_MGL" = 1; then
44361 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44362 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44368 if test "$wxUSE_SOUND" = "yes"; then
44369 cat >>confdefs.h
<<\_ACEOF
44370 #define wxUSE_SOUND 1
44373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44376 if test "$WXGTK2" = 1; then
44379 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44380 if test -n "$ac_tool_prefix"; then
44381 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44382 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44385 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44386 echo $ECHO_N "(cached) $ECHO_C" >&6
44388 case $PKG_CONFIG in
44390 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44394 for as_dir
in $PATH
44397 test -z "$as_dir" && as_dir
=.
44398 for ac_exec_ext
in '' $ac_executable_extensions; do
44399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44400 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44411 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44412 if test -n "$PKG_CONFIG"; then
44413 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44414 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44416 { echo "$as_me:$LINENO: result: no" >&5
44417 echo "${ECHO_T}no" >&6; }
44422 if test -z "$ac_cv_path_PKG_CONFIG"; then
44423 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44424 # Extract the first word of "pkg-config", so it can be a program name with args.
44425 set dummy pkg
-config; ac_word
=$2
44426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44428 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44429 echo $ECHO_N "(cached) $ECHO_C" >&6
44431 case $ac_pt_PKG_CONFIG in
44433 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44437 for as_dir
in $PATH
44440 test -z "$as_dir" && as_dir
=.
44441 for ac_exec_ext
in '' $ac_executable_extensions; do
44442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44443 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44454 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44455 if test -n "$ac_pt_PKG_CONFIG"; then
44456 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44457 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44459 { echo "$as_me:$LINENO: result: no" >&5
44460 echo "${ECHO_T}no" >&6; }
44463 if test "x$ac_pt_PKG_CONFIG" = x
; then
44466 case $cross_compiling:$ac_tool_warned in
44468 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44469 whose name does not start with the host triplet. If you think this
44470 configuration is useful to you, please write to autoconf@gnu.org." >&5
44471 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44472 whose name does not start with the host triplet. If you think this
44473 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44474 ac_tool_warned
=yes ;;
44476 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44479 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44483 if test -n "$PKG_CONFIG"; then
44484 _pkg_min_version
=0.9.0
44485 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44486 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44487 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44488 { echo "$as_me:$LINENO: result: yes" >&5
44489 echo "${ECHO_T}yes" >&6; }
44491 { echo "$as_me:$LINENO: result: no" >&5
44492 echo "${ECHO_T}no" >&6; }
44498 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44500 if test "$wxUSE_GTKPRINT" = "yes" ; then
44504 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44505 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44507 if test -n "$PKG_CONFIG"; then
44508 if test -n "$GTKPRINT_CFLAGS"; then
44509 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44511 if test -n "$PKG_CONFIG" && \
44512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44513 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44516 (exit $ac_status); }; then
44517 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44525 if test -n "$PKG_CONFIG"; then
44526 if test -n "$GTKPRINT_LIBS"; then
44527 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44529 if test -n "$PKG_CONFIG" && \
44530 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44531 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); }; then
44535 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44546 if test $pkg_failed = yes; then
44548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44549 _pkg_short_errors_supported
=yes
44551 _pkg_short_errors_supported
=no
44553 if test $_pkg_short_errors_supported = yes; then
44554 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44556 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44558 # Put the nasty error message in config.log where it belongs
44559 echo "$GTKPRINT_PKG_ERRORS" >&5
44562 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44563 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44564 wxUSE_GTKPRINT
="no"
44567 elif test $pkg_failed = untried
; then
44569 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44570 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44571 wxUSE_GTKPRINT
="no"
44575 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44576 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44577 { echo "$as_me:$LINENO: result: yes" >&5
44578 echo "${ECHO_T}yes" >&6; }
44580 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44581 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44582 cat >>confdefs.h
<<\_ACEOF
44583 #define wxUSE_GTKPRINT 1
44590 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44594 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44595 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44597 if test -n "$PKG_CONFIG"; then
44598 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44599 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44601 if test -n "$PKG_CONFIG" && \
44602 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44603 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); }; then
44607 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44615 if test -n "$PKG_CONFIG"; then
44616 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44617 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44619 if test -n "$PKG_CONFIG" && \
44620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44621 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; then
44625 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44636 if test $pkg_failed = yes; then
44638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44639 _pkg_short_errors_supported
=yes
44641 _pkg_short_errors_supported
=no
44643 if test $_pkg_short_errors_supported = yes; then
44644 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44646 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44648 # Put the nasty error message in config.log where it belongs
44649 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44652 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44653 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44654 wxUSE_LIBGNOMEPRINT
="no"
44657 elif test $pkg_failed = untried
; then
44659 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44660 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44661 wxUSE_LIBGNOMEPRINT
="no"
44665 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44666 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44667 { echo "$as_me:$LINENO: result: yes" >&5
44668 echo "${ECHO_T}yes" >&6; }
44670 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44671 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44672 cat >>confdefs.h
<<\_ACEOF
44673 #define wxUSE_LIBGNOMEPRINT 1
44681 if test "$wxUSE_MIMETYPE" = "yes" ; then
44682 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44686 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44687 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44689 if test -n "$PKG_CONFIG"; then
44690 if test -n "$GNOMEVFS_CFLAGS"; then
44691 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44693 if test -n "$PKG_CONFIG" && \
44694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44695 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); }; then
44699 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44707 if test -n "$PKG_CONFIG"; then
44708 if test -n "$GNOMEVFS_LIBS"; then
44709 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44711 if test -n "$PKG_CONFIG" && \
44712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44713 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44716 (exit $ac_status); }; then
44717 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44728 if test $pkg_failed = yes; then
44730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44731 _pkg_short_errors_supported
=yes
44733 _pkg_short_errors_supported
=no
44735 if test $_pkg_short_errors_supported = yes; then
44736 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44738 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44740 # Put the nasty error message in config.log where it belongs
44741 echo "$GNOMEVFS_PKG_ERRORS" >&5
44744 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44745 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44746 wxUSE_LIBGNOMEVFS
="no"
44749 elif test $pkg_failed = untried
; then
44751 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44752 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44753 wxUSE_LIBGNOMEVFS
="no"
44757 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44758 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44759 { echo "$as_me:$LINENO: result: yes" >&5
44760 echo "${ECHO_T}yes" >&6; }
44762 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44763 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_LIBGNOMEVFS 1
44773 if test "$wxUSE_LIBHILDON" = "yes" ; then
44776 { echo "$as_me:$LINENO: checking for HILDON" >&5
44777 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44779 if test -n "$PKG_CONFIG"; then
44780 if test -n "$HILDON_CFLAGS"; then
44781 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44783 if test -n "$PKG_CONFIG" && \
44784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44785 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; then
44789 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44797 if test -n "$PKG_CONFIG"; then
44798 if test -n "$HILDON_LIBS"; then
44799 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44801 if test -n "$PKG_CONFIG" && \
44802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44803 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); }; then
44807 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44818 if test $pkg_failed = yes; then
44820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44821 _pkg_short_errors_supported
=yes
44823 _pkg_short_errors_supported
=no
44825 if test $_pkg_short_errors_supported = yes; then
44826 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44828 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44830 # Put the nasty error message in config.log where it belongs
44831 echo "$HILDON_PKG_ERRORS" >&5
44834 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44835 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44836 wxUSE_LIBHILDON
="no"
44840 elif test $pkg_failed = untried
; then
44842 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44843 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44844 wxUSE_LIBHILDON
="no"
44849 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44850 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44851 { echo "$as_me:$LINENO: result: yes" >&5
44852 echo "${ECHO_T}yes" >&6; }
44854 EXTRALIBS_HILDON
="$HILDON_LIBS"
44855 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44856 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44857 cat >>confdefs.h
<<\_ACEOF
44858 #define wxUSE_LIBHILDON 1
44865 if test "$ac_hildon_lgpl" = 0 ; then
44868 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44869 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44871 if test -n "$PKG_CONFIG"; then
44872 if test -n "$HILDON2_CFLAGS"; then
44873 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44875 if test -n "$PKG_CONFIG" && \
44876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44877 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44880 (exit $ac_status); }; then
44881 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44889 if test -n "$PKG_CONFIG"; then
44890 if test -n "$HILDON2_LIBS"; then
44891 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44893 if test -n "$PKG_CONFIG" && \
44894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44895 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44898 (exit $ac_status); }; then
44899 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44910 if test $pkg_failed = yes; then
44912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44913 _pkg_short_errors_supported
=yes
44915 _pkg_short_errors_supported
=no
44917 if test $_pkg_short_errors_supported = yes; then
44918 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44920 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44922 # Put the nasty error message in config.log where it belongs
44923 echo "$HILDON2_PKG_ERRORS" >&5
44926 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44927 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44928 wxUSE_LIBHILDON2
="no"
44931 elif test $pkg_failed = untried
; then
44933 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44934 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44935 wxUSE_LIBHILDON2
="no"
44939 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44940 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44941 { echo "$as_me:$LINENO: result: yes" >&5
44942 echo "${ECHO_T}yes" >&6; }
44944 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44945 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44946 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_LIBHILDON2 1
44957 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44958 cat >>confdefs.h
<<\_ACEOF
44959 #define wxUSE_CMDLINE_PARSER 1
44964 if test "$wxUSE_STOPWATCH" = "yes"; then
44965 cat >>confdefs.h
<<\_ACEOF
44966 #define wxUSE_STOPWATCH 1
44971 if test "$wxUSE_DATETIME" = "yes"; then
44972 cat >>confdefs.h
<<\_ACEOF
44973 #define wxUSE_DATETIME 1
44978 if test "$wxUSE_FILE" = "yes"; then
44979 cat >>confdefs.h
<<\_ACEOF
44980 #define wxUSE_FILE 1
44985 if test "$wxUSE_FFILE" = "yes"; then
44986 cat >>confdefs.h
<<\_ACEOF
44987 #define wxUSE_FFILE 1
44992 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44993 if test "$wxUSE_STREAMS" != yes; then
44994 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44995 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44996 wxUSE_ARCHIVE_STREAMS
=no
44998 cat >>confdefs.h
<<\_ACEOF
44999 #define wxUSE_ARCHIVE_STREAMS 1
45005 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45006 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45007 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45008 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45009 elif test "$wxUSE_ZLIB" = "no"; then
45010 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45011 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45013 cat >>confdefs.h
<<\_ACEOF
45014 #define wxUSE_ZIPSTREAM 1
45020 if test "$wxUSE_TARSTREAM" = "yes"; then
45021 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45022 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45023 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45025 cat >>confdefs.h
<<\_ACEOF
45026 #define wxUSE_TARSTREAM 1
45032 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_FILE_HISTORY 1
45039 if test "$wxUSE_FILESYSTEM" = "yes"; then
45040 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45041 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45042 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45043 wxUSE_FILESYSTEM
=no
45045 cat >>confdefs.h
<<\_ACEOF
45046 #define wxUSE_FILESYSTEM 1
45052 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45053 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45054 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45055 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45057 cat >>confdefs.h
<<\_ACEOF
45058 #define wxUSE_FS_ARCHIVE 1
45064 if test "$wxUSE_FS_ZIP" = "yes"; then
45065 if test "$wxUSE_FS_ARCHIVE" != yes; then
45066 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45067 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45069 cat >>confdefs.h
<<\_ACEOF
45070 #define wxUSE_FS_ZIP 1
45076 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45077 if test "$USE_UNIX" != 1; then
45078 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45079 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45080 wxUSE_ON_FATAL_EXCEPTION
=no
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_ON_FATAL_EXCEPTION 1
45089 if test "$wxUSE_STACKWALKER" = "yes"; then
45090 cat >>confdefs.h
<<\_ACEOF
45091 #define wxUSE_STACKWALKER 1
45096 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45097 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45098 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45099 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45100 wxUSE_DEBUGREPORT
=no
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_DEBUGREPORT 1
45106 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45112 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45113 cat >>confdefs.h
<<\_ACEOF
45114 #define wxUSE_SNGLINST_CHECKER 1
45119 if test "$wxUSE_BUSYINFO" = "yes"; then
45120 cat >>confdefs.h
<<\_ACEOF
45121 #define wxUSE_BUSYINFO 1
45126 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45127 cat >>confdefs.h
<<\_ACEOF
45128 #define wxUSE_STD_CONTAINERS 1
45133 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45134 cat >>confdefs.h
<<\_ACEOF
45135 #define wxUSE_STD_IOSTREAM 1
45140 if test "$wxUSE_STD_STRING" = "yes"; then
45141 cat >>confdefs.h
<<\_ACEOF
45142 #define wxUSE_STD_STRING 1
45147 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45148 cat >>confdefs.h
<<\_ACEOF
45149 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45154 if test "$wxUSE_STDPATHS" = "yes"; then
45155 cat >>confdefs.h
<<\_ACEOF
45156 #define wxUSE_STDPATHS 1
45161 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45162 cat >>confdefs.h
<<\_ACEOF
45163 #define wxUSE_TEXTBUFFER 1
45168 if test "$wxUSE_TEXTFILE" = "yes"; then
45169 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45170 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45171 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_TEXTFILE 1
45180 if test "$wxUSE_CONFIG" = "yes" ; then
45181 if test "$wxUSE_TEXTFILE" != "yes"; then
45182 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45183 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_CONFIG 1
45189 cat >>confdefs.h
<<\_ACEOF
45190 #define wxUSE_CONFIG_NATIVE 1
45193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45197 if test "$wxUSE_INTL" = "yes" ; then
45198 if test "$wxUSE_FILE" != "yes"; then
45199 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45200 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_INTL 1
45206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45207 GUIDIST
="$GUIDIST INTL_DIST"
45211 if test "$wxUSE_XLOCALE" = "yes" ; then
45212 cat >>confdefs.h
<<\_ACEOF
45213 #define wxUSE_XLOCALE 1
45216 { echo "$as_me:$LINENO: checking for locale_t" >&5
45217 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45218 if test "${ac_cv_type_locale_t+set}" = set; then
45219 echo $ECHO_N "(cached) $ECHO_C" >&6
45221 cat >conftest.
$ac_ext <<_ACEOF
45224 cat confdefs.h
>>conftest.
$ac_ext
45225 cat >>conftest.
$ac_ext <<_ACEOF
45226 /* end confdefs.h. */
45227 #include <xlocale.h>
45228 #include <locale.h>
45230 typedef locale_t ac__type_new_;
45234 if ((ac__type_new_ *) 0)
45236 if (sizeof (ac__type_new_))
45242 rm -f conftest.
$ac_objext
45243 if { (ac_try
="$ac_compile"
45244 case "(($ac_try" in
45245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45246 *) ac_try_echo=$ac_try;;
45248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45249 (eval "$ac_compile") 2>conftest.er1
45251 grep -v '^ *+' conftest.er1 >conftest.err
45253 cat conftest.err >&5
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); } && {
45256 test -z "$ac_c_werror_flag" ||
45257 test ! -s conftest.err
45258 } && test -s conftest.$ac_objext; then
45259 ac_cv_type_locale_t=yes
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45264 ac_cv_type_locale_t=no
45267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45270 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45271 if test $ac_cv_type_locale_t = yes; then
45273 cat >>confdefs.h <<_ACEOF
45274 #define HAVE_LOCALE_T 1
45282 if test "$wxUSE_LOG" = "yes"; then
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_LOG 1
45288 if test "$wxUSE_LOGGUI" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_LOGGUI 1
45295 if test "$wxUSE_LOGWINDOW" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_LOGWINDOW 1
45302 if test "$wxUSE_LOGDIALOG" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_LOG_DIALOG 1
45309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45312 if test "$wxUSE_LONGLONG" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_LONGLONG 1
45319 if test "$wxUSE_GEOMETRY" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_GEOMETRY 1
45326 if test "$wxUSE_BASE64" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_BASE64 1
45333 if test "$wxUSE_STREAMS" = "yes" ; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_STREAMS 1
45340 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_PRINTF_POS_PARAMS 1
45347 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_OBJC_UNIQUIFYING 1
45355 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_CONSOLE_EVENTLOOP 1
45361 if test "$wxUSE_UNIX" = "yes"; then
45362 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_SELECT_DISPATCHER 1
45369 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45371 for ac_header in sys/epoll.h
45373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45377 echo $ECHO_N "(cached) $ECHO_C" >&6
45379 cat >conftest.$ac_ext <<_ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h. */
45385 $ac_includes_default
45387 #include <$ac_header>
45389 rm -f conftest.$ac_objext
45390 if { (ac_try="$ac_compile"
45391 case "(($ac_try" in
45392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45393 *) ac_try_echo
=$ac_try;;
45395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45396 (eval "$ac_compile") 2>conftest.er1
45398 grep -v '^ *+' conftest.er1
>conftest.err
45400 cat conftest.err
>&5
45401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45402 (exit $ac_status); } && {
45403 test -z "$ac_c_werror_flag" ||
45404 test ! -s conftest.err
45405 } && test -s conftest.
$ac_objext; then
45406 eval "$as_ac_Header=yes"
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.
$ac_ext >&5
45411 eval "$as_ac_Header=no"
45414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45416 ac_res
=`eval echo '${'$as_ac_Header'}'`
45417 { echo "$as_me:$LINENO: result: $ac_res" >&5
45418 echo "${ECHO_T}$ac_res" >&6; }
45419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45420 cat >>confdefs.h
<<_ACEOF
45421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45428 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45429 cat >>confdefs.h
<<\_ACEOF
45430 #define wxUSE_EPOLL_DISPATCHER 1
45434 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45435 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45444 for ac_func
in gettimeofday ftime
45446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45449 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45450 echo $ECHO_N "(cached) $ECHO_C" >&6
45452 cat >conftest.
$ac_ext <<_ACEOF
45455 cat confdefs.h
>>conftest.
$ac_ext
45456 cat >>conftest.
$ac_ext <<_ACEOF
45457 /* end confdefs.h. */
45458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45460 #define $ac_func innocuous_$ac_func
45462 /* System header to define __stub macros and hopefully few prototypes,
45463 which can conflict with char $ac_func (); below.
45464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45465 <limits.h> exists even on freestanding compilers. */
45468 # include <limits.h>
45470 # include <assert.h>
45475 /* Override any GCC internal prototype to avoid an error.
45476 Use char because int might match the return type of a GCC
45477 builtin and then its argument prototype would still apply. */
45482 /* The GNU C library defines this for functions which it implements
45483 to always fail with ENOSYS. Some functions are actually named
45484 something starting with __ and the normal name is an alias. */
45485 #if defined __stub_$ac_func || defined __stub___$ac_func
45492 return $ac_func ();
45497 rm -f conftest.
$ac_objext conftest
$ac_exeext
45498 if { (ac_try
="$ac_link"
45499 case "(($ac_try" in
45500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_link") 2>conftest.er1
45506 grep -v '^ *+' conftest.er1 >conftest.err
45508 cat conftest.err >&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_c_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest$ac_exeext &&
45514 $as_test_x conftest$ac_exeext; then
45515 eval "$as_ac_var=yes"
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45520 eval "$as_ac_var=no"
45523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45524 conftest$ac_exeext conftest.$ac_ext
45526 ac_res=`eval echo '${'$as_ac_var'}'`
45527 { echo "$as_me:$LINENO: result: $ac_res" >&5
45528 echo "${ECHO_T}$ac_res" >&6; }
45529 if test `eval echo '${'$as_ac_var'}'` = yes; then
45530 cat >>confdefs.h <<_ACEOF
45531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45538 if test "$ac_cv_func_gettimeofday" = "yes"; then
45539 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45540 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45541 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45542 echo $ECHO_N "(cached) $ECHO_C" >&6
45545 cat >conftest.$ac_ext <<_ACEOF
45548 cat confdefs.h >>conftest.$ac_ext
45549 cat >>conftest.$ac_ext <<_ACEOF
45550 /* end confdefs.h. */
45552 #include <sys/time.h>
45553 #include <unistd.h>
45560 gettimeofday(&tv, NULL);
45566 rm -f conftest.$ac_objext
45567 if { (ac_try="$ac_compile"
45568 case "(($ac_try" in
45569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45570 *) ac_try_echo
=$ac_try;;
45572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45573 (eval "$ac_compile") 2>conftest.er1
45575 grep -v '^ *+' conftest.er1
>conftest.err
45577 cat conftest.err
>&5
45578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579 (exit $ac_status); } && {
45580 test -z "$ac_c_werror_flag" ||
45581 test ! -s conftest.err
45582 } && test -s conftest.
$ac_objext; then
45583 wx_cv_func_gettimeofday_has_2_args
=yes
45585 echo "$as_me: failed program was:" >&5
45586 sed 's/^/| /' conftest.
$ac_ext >&5
45588 cat >conftest.
$ac_ext <<_ACEOF
45591 cat confdefs.h
>>conftest.
$ac_ext
45592 cat >>conftest.
$ac_ext <<_ACEOF
45593 /* end confdefs.h. */
45595 #include <sys/time.h>
45596 #include <unistd.h>
45609 rm -f conftest.
$ac_objext
45610 if { (ac_try
="$ac_compile"
45611 case "(($ac_try" in
45612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45613 *) ac_try_echo=$ac_try;;
45615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45616 (eval "$ac_compile") 2>conftest.er1
45618 grep -v '^ *+' conftest.er1 >conftest.err
45620 cat conftest.err >&5
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); } && {
45623 test -z "$ac_c_werror_flag" ||
45624 test ! -s conftest.err
45625 } && test -s conftest.$ac_objext; then
45626 wx_cv_func_gettimeofday_has_2_args=no
45628 echo "$as_me: failed program was:" >&5
45629 sed 's/^/| /' conftest.$ac_ext >&5
45632 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45633 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45634 wx_cv_func_gettimeofday_has_2_args=unknown
45639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45646 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45647 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45649 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define WX_GETTIMEOFDAY_NO_TZ 1
45657 if test "$wxUSE_DATETIME" = "yes"; then
45658 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45659 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45660 if test "${wx_cv_var_timezone+set}" = set; then
45661 echo $ECHO_N "(cached) $ECHO_C" >&6
45665 ac_cpp='$CXXCPP $CPPFLAGS'
45666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670 cat >conftest.$ac_ext <<_ACEOF
45673 cat confdefs.h >>conftest.$ac_ext
45674 cat >>conftest.$ac_ext <<_ACEOF
45675 /* end confdefs.h. */
45690 rm -f conftest.$ac_objext
45691 if { (ac_try="$ac_compile"
45692 case "(($ac_try" in
45693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45694 *) ac_try_echo
=$ac_try;;
45696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45697 (eval "$ac_compile") 2>conftest.er1
45699 grep -v '^ *+' conftest.er1
>conftest.err
45701 cat conftest.err
>&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); } && {
45704 test -z "$ac_cxx_werror_flag" ||
45705 test ! -s conftest.err
45706 } && test -s conftest.
$ac_objext; then
45708 wx_cv_var_timezone
=timezone
45711 echo "$as_me: failed program was:" >&5
45712 sed 's/^/| /' conftest.
$ac_ext >&5
45715 cat >conftest.
$ac_ext <<_ACEOF
45718 cat confdefs.h
>>conftest.
$ac_ext
45719 cat >>conftest.
$ac_ext <<_ACEOF
45720 /* end confdefs.h. */
45735 rm -f conftest.
$ac_objext
45736 if { (ac_try
="$ac_compile"
45737 case "(($ac_try" in
45738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45739 *) ac_try_echo=$ac_try;;
45741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45742 (eval "$ac_compile") 2>conftest.er1
45744 grep -v '^ *+' conftest.er1 >conftest.err
45746 cat conftest.err >&5
45747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45748 (exit $ac_status); } && {
45749 test -z "$ac_cxx_werror_flag" ||
45750 test ! -s conftest.err
45751 } && test -s conftest.$ac_objext; then
45753 wx_cv_var_timezone=_timezone
45756 echo "$as_me: failed program was:" >&5
45757 sed 's/^/| /' conftest.$ac_ext >&5
45760 cat >conftest.$ac_ext <<_ACEOF
45763 cat confdefs.h >>conftest.$ac_ext
45764 cat >>conftest.$ac_ext <<_ACEOF
45765 /* end confdefs.h. */
45780 rm -f conftest.$ac_objext
45781 if { (ac_try="$ac_compile"
45782 case "(($ac_try" in
45783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45784 *) ac_try_echo
=$ac_try;;
45786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45787 (eval "$ac_compile") 2>conftest.er1
45789 grep -v '^ *+' conftest.er1
>conftest.err
45791 cat conftest.err
>&5
45792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45793 (exit $ac_status); } && {
45794 test -z "$ac_cxx_werror_flag" ||
45795 test ! -s conftest.err
45796 } && test -s conftest.
$ac_objext; then
45798 wx_cv_var_timezone
=__timezone
45801 echo "$as_me: failed program was:" >&5
45802 sed 's/^/| /' conftest.
$ac_ext >&5
45805 if test "$USE_DOS" = 0 ; then
45806 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45807 echo "$as_me: WARNING: no timezone variable" >&2;}
45813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45825 ac_cpp
='$CPP $CPPFLAGS'
45826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45833 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45834 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45836 if test "x$wx_cv_var_timezone" != x
; then
45837 cat >>confdefs.h
<<_ACEOF
45838 #define WX_TIMEZONE $wx_cv_var_timezone
45844 for ac_func
in localtime
45846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45849 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45850 echo $ECHO_N "(cached) $ECHO_C" >&6
45852 cat >conftest.
$ac_ext <<_ACEOF
45855 cat confdefs.h
>>conftest.
$ac_ext
45856 cat >>conftest.
$ac_ext <<_ACEOF
45857 /* end confdefs.h. */
45858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45860 #define $ac_func innocuous_$ac_func
45862 /* System header to define __stub macros and hopefully few prototypes,
45863 which can conflict with char $ac_func (); below.
45864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45865 <limits.h> exists even on freestanding compilers. */
45868 # include <limits.h>
45870 # include <assert.h>
45875 /* Override any GCC internal prototype to avoid an error.
45876 Use char because int might match the return type of a GCC
45877 builtin and then its argument prototype would still apply. */
45882 /* The GNU C library defines this for functions which it implements
45883 to always fail with ENOSYS. Some functions are actually named
45884 something starting with __ and the normal name is an alias. */
45885 #if defined __stub_$ac_func || defined __stub___$ac_func
45892 return $ac_func ();
45897 rm -f conftest.
$ac_objext conftest
$ac_exeext
45898 if { (ac_try
="$ac_link"
45899 case "(($ac_try" in
45900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45901 *) ac_try_echo=$ac_try;;
45903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45904 (eval "$ac_link") 2>conftest.er1
45906 grep -v '^ *+' conftest.er1 >conftest.err
45908 cat conftest.err >&5
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); } && {
45911 test -z "$ac_c_werror_flag" ||
45912 test ! -s conftest.err
45913 } && test -s conftest$ac_exeext &&
45914 $as_test_x conftest$ac_exeext; then
45915 eval "$as_ac_var=yes"
45917 echo "$as_me: failed program was:" >&5
45918 sed 's/^/| /' conftest.$ac_ext >&5
45920 eval "$as_ac_var=no"
45923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45924 conftest$ac_exeext conftest.$ac_ext
45926 ac_res=`eval echo '${'$as_ac_var'}'`
45927 { echo "$as_me:$LINENO: result: $ac_res" >&5
45928 echo "${ECHO_T}$ac_res" >&6; }
45929 if test `eval echo '${'$as_ac_var'}'` = yes; then
45930 cat >>confdefs.h <<_ACEOF
45931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45938 if test "$ac_cv_func_localtime" = "yes"; then
45939 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45940 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45941 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45942 echo $ECHO_N "(cached) $ECHO_C" >&6
45945 cat >conftest.$ac_ext <<_ACEOF
45948 cat confdefs.h >>conftest.$ac_ext
45949 cat >>conftest.$ac_ext <<_ACEOF
45950 /* end confdefs.h. */
45965 rm -f conftest.$ac_objext
45966 if { (ac_try="$ac_compile"
45967 case "(($ac_try" in
45968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45969 *) ac_try_echo
=$ac_try;;
45971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45972 (eval "$ac_compile") 2>conftest.er1
45974 grep -v '^ *+' conftest.er1
>conftest.err
45976 cat conftest.err
>&5
45977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45978 (exit $ac_status); } && {
45979 test -z "$ac_c_werror_flag" ||
45980 test ! -s conftest.err
45981 } && test -s conftest.
$ac_objext; then
45983 wx_cv_struct_tm_has_gmtoff
=yes
45986 echo "$as_me: failed program was:" >&5
45987 sed 's/^/| /' conftest.
$ac_ext >&5
45989 wx_cv_struct_tm_has_gmtoff
=no
45993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45996 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45997 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46000 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46001 cat >>confdefs.h
<<\_ACEOF
46002 #define WX_GMTOFF_IN_TM 1
46007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46011 if test "$wxUSE_SOCKETS" = "yes"; then
46012 if test "$wxUSE_MGL" = 1; then
46013 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46014 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46019 if test "$wxUSE_SOCKETS" = "yes"; then
46020 if test "$TOOLKIT" != "MSW"; then
46021 { echo "$as_me:$LINENO: checking for socket" >&5
46022 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46023 if test "${ac_cv_func_socket+set}" = set; then
46024 echo $ECHO_N "(cached) $ECHO_C" >&6
46026 cat >conftest.
$ac_ext <<_ACEOF
46029 cat confdefs.h
>>conftest.
$ac_ext
46030 cat >>conftest.
$ac_ext <<_ACEOF
46031 /* end confdefs.h. */
46032 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46034 #define socket innocuous_socket
46036 /* System header to define __stub macros and hopefully few prototypes,
46037 which can conflict with char socket (); below.
46038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46039 <limits.h> exists even on freestanding compilers. */
46042 # include <limits.h>
46044 # include <assert.h>
46049 /* Override any GCC internal prototype to avoid an error.
46050 Use char because int might match the return type of a GCC
46051 builtin and then its argument prototype would still apply. */
46056 /* The GNU C library defines this for functions which it implements
46057 to always fail with ENOSYS. Some functions are actually named
46058 something starting with __ and the normal name is an alias. */
46059 #if defined __stub_socket || defined __stub___socket
46071 rm -f conftest.
$ac_objext conftest
$ac_exeext
46072 if { (ac_try
="$ac_link"
46073 case "(($ac_try" in
46074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46075 *) ac_try_echo=$ac_try;;
46077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46078 (eval "$ac_link") 2>conftest.er1
46080 grep -v '^ *+' conftest.er1 >conftest.err
46082 cat conftest.err >&5
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); } && {
46085 test -z "$ac_c_werror_flag" ||
46086 test ! -s conftest.err
46087 } && test -s conftest$ac_exeext &&
46088 $as_test_x conftest$ac_exeext; then
46089 ac_cv_func_socket=yes
46091 echo "$as_me: failed program was:" >&5
46092 sed 's/^/| /' conftest.$ac_ext >&5
46094 ac_cv_func_socket=no
46097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46098 conftest$ac_exeext conftest.$ac_ext
46100 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46101 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46102 if test $ac_cv_func_socket = yes; then
46106 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46107 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46108 if test "${ac_cv_lib_socket_socket+set}" = set; then
46109 echo $ECHO_N "(cached) $ECHO_C" >&6
46111 ac_check_lib_save_LIBS=$LIBS
46112 LIBS="-lsocket $LIBS"
46113 cat >conftest.$ac_ext <<_ACEOF
46116 cat confdefs.h >>conftest.$ac_ext
46117 cat >>conftest.$ac_ext <<_ACEOF
46118 /* end confdefs.h. */
46120 /* Override any GCC internal prototype to avoid an error.
46121 Use char because int might match the return type of a GCC
46122 builtin and then its argument prototype would still apply. */
46135 rm -f conftest.$ac_objext conftest$ac_exeext
46136 if { (ac_try="$ac_link"
46137 case "(($ac_try" in
46138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46139 *) ac_try_echo
=$ac_try;;
46141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46142 (eval "$ac_link") 2>conftest.er1
46144 grep -v '^ *+' conftest.er1
>conftest.err
46146 cat conftest.err
>&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); } && {
46149 test -z "$ac_c_werror_flag" ||
46150 test ! -s conftest.err
46151 } && test -s conftest
$ac_exeext &&
46152 $as_test_x conftest
$ac_exeext; then
46153 ac_cv_lib_socket_socket
=yes
46155 echo "$as_me: failed program was:" >&5
46156 sed 's/^/| /' conftest.
$ac_ext >&5
46158 ac_cv_lib_socket_socket
=no
46161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46162 conftest
$ac_exeext conftest.
$ac_ext
46163 LIBS
=$ac_check_lib_save_LIBS
46165 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46166 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46167 if test $ac_cv_lib_socket_socket = yes; then
46168 if test "$INET_LINK" != " -lsocket"; then
46169 INET_LINK
="$INET_LINK -lsocket"
46173 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46174 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46187 if test "$wxUSE_SOCKETS" = "yes" ; then
46188 if test "$TOOLKIT" != "MSW"; then
46189 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46190 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46191 if test "${wx_cv_type_getsockname3+set}" = set; then
46192 echo $ECHO_N "(cached) $ECHO_C" >&6
46196 ac_cpp
='$CXXCPP $CPPFLAGS'
46197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46201 cat >conftest.
$ac_ext <<_ACEOF
46204 cat confdefs.h
>>conftest.
$ac_ext
46205 cat >>conftest.
$ac_ext <<_ACEOF
46206 /* end confdefs.h. */
46208 #include <sys/types.h>
46209 #include <sys/socket.h>
46216 getsockname(0, 0, &len);
46222 rm -f conftest.
$ac_objext
46223 if { (ac_try
="$ac_compile"
46224 case "(($ac_try" in
46225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46226 *) ac_try_echo=$ac_try;;
46228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46229 (eval "$ac_compile") 2>conftest.er1
46231 grep -v '^ *+' conftest.er1 >conftest.err
46233 cat conftest.err >&5
46234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46235 (exit $ac_status); } && {
46236 test -z "$ac_cxx_werror_flag" ||
46237 test ! -s conftest.err
46238 } && test -s conftest.$ac_objext; then
46239 wx_cv_type_getsockname3=socklen_t
46241 echo "$as_me: failed program was:" >&5
46242 sed 's/^/| /' conftest.$ac_ext >&5
46245 CFLAGS_OLD="$CFLAGS"
46246 if test "$GCC" = yes ; then
46247 CFLAGS="-Werror $CFLAGS"
46250 cat >conftest.$ac_ext <<_ACEOF
46253 cat confdefs.h >>conftest.$ac_ext
46254 cat >>conftest.$ac_ext <<_ACEOF
46255 /* end confdefs.h. */
46257 #include <sys/types.h>
46258 #include <sys/socket.h>
46265 getsockname(0, 0, &len);
46271 rm -f conftest.$ac_objext
46272 if { (ac_try="$ac_compile"
46273 case "(($ac_try" in
46274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46275 *) ac_try_echo
=$ac_try;;
46277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46278 (eval "$ac_compile") 2>conftest.er1
46280 grep -v '^ *+' conftest.er1
>conftest.err
46282 cat conftest.err
>&5
46283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284 (exit $ac_status); } && {
46285 test -z "$ac_cxx_werror_flag" ||
46286 test ! -s conftest.err
46287 } && test -s conftest.
$ac_objext; then
46288 wx_cv_type_getsockname3
=size_t
46290 echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.
$ac_ext >&5
46293 cat >conftest.
$ac_ext <<_ACEOF
46296 cat confdefs.h
>>conftest.
$ac_ext
46297 cat >>conftest.
$ac_ext <<_ACEOF
46298 /* end confdefs.h. */
46300 #include <sys/types.h>
46301 #include <sys/socket.h>
46308 getsockname(0, 0, &len);
46314 rm -f conftest.
$ac_objext
46315 if { (ac_try
="$ac_compile"
46316 case "(($ac_try" in
46317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46318 *) ac_try_echo=$ac_try;;
46320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46321 (eval "$ac_compile") 2>conftest.er1
46323 grep -v '^ *+' conftest.er1 >conftest.err
46325 cat conftest.err >&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } && {
46328 test -z "$ac_cxx_werror_flag" ||
46329 test ! -s conftest.err
46330 } && test -s conftest.$ac_objext; then
46331 wx_cv_type_getsockname3=int
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.$ac_ext >&5
46336 wx_cv_type_getsockname3=unknown
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 CFLAGS="$CFLAGS_OLD"
46351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46353 ac_cpp='$CPP $CPPFLAGS'
46354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46360 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46361 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46363 if test "$wx_cv_type_getsockname3" = "unknown"; then
46365 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46366 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46368 cat >>confdefs.h <<_ACEOF
46369 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46373 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46374 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46375 if test "${wx_cv_type_getsockopt5+set}" = set; then
46376 echo $ECHO_N "(cached) $ECHO_C" >&6
46380 ac_cpp='$CXXCPP $CPPFLAGS'
46381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46385 cat >conftest.$ac_ext <<_ACEOF
46388 cat confdefs.h >>conftest.$ac_ext
46389 cat >>conftest.$ac_ext <<_ACEOF
46390 /* end confdefs.h. */
46392 #include <sys/types.h>
46393 #include <sys/socket.h>
46400 getsockopt(0, 0, 0, 0, &len);
46406 rm -f conftest.$ac_objext
46407 if { (ac_try="$ac_compile"
46408 case "(($ac_try" in
46409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46410 *) ac_try_echo
=$ac_try;;
46412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46413 (eval "$ac_compile") 2>conftest.er1
46415 grep -v '^ *+' conftest.er1
>conftest.err
46417 cat conftest.err
>&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } && {
46420 test -z "$ac_cxx_werror_flag" ||
46421 test ! -s conftest.err
46422 } && test -s conftest.
$ac_objext; then
46423 wx_cv_type_getsockopt5
=socklen_t
46425 echo "$as_me: failed program was:" >&5
46426 sed 's/^/| /' conftest.
$ac_ext >&5
46429 cat >conftest.
$ac_ext <<_ACEOF
46432 cat confdefs.h
>>conftest.
$ac_ext
46433 cat >>conftest.
$ac_ext <<_ACEOF
46434 /* end confdefs.h. */
46436 #include <sys/types.h>
46437 #include <sys/socket.h>
46444 getsockopt(0, 0, 0, 0, &len);
46450 rm -f conftest.
$ac_objext
46451 if { (ac_try
="$ac_compile"
46452 case "(($ac_try" in
46453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46454 *) ac_try_echo=$ac_try;;
46456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46457 (eval "$ac_compile") 2>conftest.er1
46459 grep -v '^ *+' conftest.er1 >conftest.err
46461 cat conftest.err >&5
46462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463 (exit $ac_status); } && {
46464 test -z "$ac_cxx_werror_flag" ||
46465 test ! -s conftest.err
46466 } && test -s conftest.$ac_objext; then
46467 wx_cv_type_getsockopt5=size_t
46469 echo "$as_me: failed program was:" >&5
46470 sed 's/^/| /' conftest.$ac_ext >&5
46472 cat >conftest.$ac_ext <<_ACEOF
46475 cat confdefs.h >>conftest.$ac_ext
46476 cat >>conftest.$ac_ext <<_ACEOF
46477 /* end confdefs.h. */
46479 #include <sys/types.h>
46480 #include <sys/socket.h>
46487 getsockopt(0, 0, 0, 0, &len);
46493 rm -f conftest.$ac_objext
46494 if { (ac_try="$ac_compile"
46495 case "(($ac_try" in
46496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46497 *) ac_try_echo
=$ac_try;;
46499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46500 (eval "$ac_compile") 2>conftest.er1
46502 grep -v '^ *+' conftest.er1
>conftest.err
46504 cat conftest.err
>&5
46505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506 (exit $ac_status); } && {
46507 test -z "$ac_cxx_werror_flag" ||
46508 test ! -s conftest.err
46509 } && test -s conftest.
$ac_objext; then
46510 wx_cv_type_getsockopt5
=int
46512 echo "$as_me: failed program was:" >&5
46513 sed 's/^/| /' conftest.
$ac_ext >&5
46515 wx_cv_type_getsockopt5
=unknown
46519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46530 ac_cpp
='$CPP $CPPFLAGS'
46531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46537 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46538 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46540 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46542 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46543 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46545 cat >>confdefs.h
<<_ACEOF
46546 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46553 if test "$wxUSE_SOCKETS" = "yes" ; then
46554 if test "$wxUSE_IPV6" = "yes"; then
46555 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46556 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46557 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46558 echo $ECHO_N "(cached) $ECHO_C" >&6
46561 cat >conftest.
$ac_ext <<_ACEOF
46564 cat confdefs.h
>>conftest.
$ac_ext
46565 cat >>conftest.
$ac_ext <<_ACEOF
46566 /* end confdefs.h. */
46568 #include <sys/types.h>
46569 #include <sys/socket.h>
46570 #include <netinet/in.h>
46576 struct sockaddr_in6 sa6;
46582 rm -f conftest.
$ac_objext
46583 if { (ac_try
="$ac_compile"
46584 case "(($ac_try" in
46585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46586 *) ac_try_echo=$ac_try;;
46588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46589 (eval "$ac_compile") 2>conftest.er1
46591 grep -v '^ *+' conftest.er1 >conftest.err
46593 cat conftest.err >&5
46594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46595 (exit $ac_status); } && {
46596 test -z "$ac_c_werror_flag" ||
46597 test ! -s conftest.err
46598 } && test -s conftest.$ac_objext; then
46599 wx_cv_type_sockaddr_in6=yes
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46604 wx_cv_type_sockaddr_in6=no
46608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46612 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46613 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46615 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_IPV6 1
46621 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46622 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_SOCKETS 1
46630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46633 if test "$wxUSE_PROTOCOL" = "yes"; then
46634 if test "$wxUSE_SOCKETS" != "yes"; then
46635 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46636 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46641 if test "$wxUSE_PROTOCOL" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_PROTOCOL 1
46647 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_PROTOCOL_HTTP 1
46653 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_PROTOCOL_FTP 1
46659 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46660 cat >>confdefs.h <<\_ACEOF
46661 #define wxUSE_PROTOCOL_FILE 1
46666 if test "$wxUSE_FS_INET" = "yes"; then
46667 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46668 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46673 if test "$wxUSE_URL" = "yes"; then
46674 if test "$wxUSE_PROTOCOL" != "yes"; then
46675 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46676 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46679 if test "$wxUSE_URL" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_URL 1
46687 if test "$wxUSE_VARIANT" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_VARIANT 1
46694 if test "$wxUSE_FS_INET" = "yes"; then
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_FS_INET 1
46702 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46705 if test "$TOOLKIT" = "MSW"; then
46708 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46709 if test "$USE_DARWIN" = 1; then
46710 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46711 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46713 ac_cpp='$CXXCPP $CPPFLAGS'
46714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46718 cat >conftest.$ac_ext <<_ACEOF
46721 cat confdefs.h >>conftest.$ac_ext
46722 cat >>conftest.$ac_ext <<_ACEOF
46723 /* end confdefs.h. */
46724 #include <IOKit/hid/IOHIDLib.h>
46728 IOHIDQueueInterface *qi = NULL;
46729 IOHIDCallbackFunction cb = NULL;
46730 qi->setEventCallout(NULL, cb, NULL, NULL);
46735 rm -f conftest.$ac_objext
46736 if { (ac_try="$ac_compile"
46737 case "(($ac_try" in
46738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46739 *) ac_try_echo
=$ac_try;;
46741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46742 (eval "$ac_compile") 2>conftest.er1
46744 grep -v '^ *+' conftest.er1
>conftest.err
46746 cat conftest.err
>&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); } && {
46749 test -z "$ac_cxx_werror_flag" ||
46750 test ! -s conftest.err
46751 } && test -s conftest.
$ac_objext; then
46755 echo "$as_me: failed program was:" >&5
46756 sed 's/^/| /' conftest.
$ac_ext >&5
46761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46763 ac_cpp
='$CPP $CPPFLAGS'
46764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46768 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46769 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46773 if test "$wxUSE_MGL" != 1; then
46775 for ac_header
in linux
/joystick.h
46777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46780 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46781 echo $ECHO_N "(cached) $ECHO_C" >&6
46783 cat >conftest.
$ac_ext <<_ACEOF
46786 cat confdefs.h
>>conftest.
$ac_ext
46787 cat >>conftest.
$ac_ext <<_ACEOF
46788 /* end confdefs.h. */
46789 $ac_includes_default
46791 #include <$ac_header>
46793 rm -f conftest.
$ac_objext
46794 if { (ac_try
="$ac_compile"
46795 case "(($ac_try" in
46796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46797 *) ac_try_echo=$ac_try;;
46799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46800 (eval "$ac_compile") 2>conftest.er1
46802 grep -v '^ *+' conftest.er1 >conftest.err
46804 cat conftest.err >&5
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); } && {
46807 test -z "$ac_c_werror_flag" ||
46808 test ! -s conftest.err
46809 } && test -s conftest.$ac_objext; then
46810 eval "$as_ac_Header=yes"
46812 echo "$as_me: failed program was:" >&5
46813 sed 's/^/| /' conftest.$ac_ext >&5
46815 eval "$as_ac_Header=no"
46818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46820 ac_res=`eval echo '${'$as_ac_Header'}'`
46821 { echo "$as_me:$LINENO: result: $ac_res" >&5
46822 echo "${ECHO_T}$ac_res" >&6; }
46823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46824 cat >>confdefs.h <<_ACEOF
46825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46835 if test "$wxUSE_JOYSTICK" = "yes"; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_JOYSTICK 1
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46842 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46843 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46849 if test "$wxUSE_FONTENUM" = "yes" ; then
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_FONTENUM 1
46856 if test "$wxUSE_FONTMAP" = "yes" ; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_FONTMAP 1
46863 if test "$wxUSE_UNICODE" = "yes" ; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_UNICODE 1
46869 if test "$USE_WIN32" != 1; then
46870 wxUSE_UNICODE_MSLU=no
46873 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46874 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46875 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46876 if test "${ac_cv_lib_unicows_main+set}" = set; then
46877 echo $ECHO_N "(cached) $ECHO_C" >&6
46879 ac_check_lib_save_LIBS=$LIBS
46880 LIBS="-lunicows $LIBS"
46881 cat >conftest.$ac_ext <<_ACEOF
46884 cat confdefs.h >>conftest.$ac_ext
46885 cat >>conftest.$ac_ext <<_ACEOF
46886 /* end confdefs.h. */
46897 rm -f conftest.$ac_objext conftest$ac_exeext
46898 if { (ac_try="$ac_link"
46899 case "(($ac_try" in
46900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46901 *) ac_try_echo
=$ac_try;;
46903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46904 (eval "$ac_link") 2>conftest.er1
46906 grep -v '^ *+' conftest.er1
>conftest.err
46908 cat conftest.err
>&5
46909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46910 (exit $ac_status); } && {
46911 test -z "$ac_c_werror_flag" ||
46912 test ! -s conftest.err
46913 } && test -s conftest
$ac_exeext &&
46914 $as_test_x conftest
$ac_exeext; then
46915 ac_cv_lib_unicows_main
=yes
46917 echo "$as_me: failed program was:" >&5
46918 sed 's/^/| /' conftest.
$ac_ext >&5
46920 ac_cv_lib_unicows_main
=no
46923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46924 conftest
$ac_exeext conftest.
$ac_ext
46925 LIBS
=$ac_check_lib_save_LIBS
46927 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46928 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46929 if test $ac_cv_lib_unicows_main = yes; then
46931 cat >>confdefs.h
<<\_ACEOF
46932 #define wxUSE_UNICODE_MSLU 1
46938 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46939 Applications will only run on Windows NT/2000/XP!" >&5
46940 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46941 Applications will only run on Windows NT/2000/XP!" >&2;}
46942 wxUSE_UNICODE_MSLU
=no
46949 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46950 cat >>confdefs.h
<<\_ACEOF
46951 #define wxUSE_UNICODE_UTF8 1
46955 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46956 cat >>confdefs.h
<<\_ACEOF
46957 #define wxUSE_UTF8_LOCALE_ONLY 1
46964 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46965 cat >>confdefs.h
<<\_ACEOF
46966 #define wxUSE_CONSTRAINTS 1
46969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46972 if test "$wxUSE_MDI" = "yes"; then
46973 cat >>confdefs.h
<<\_ACEOF
46974 #define wxUSE_MDI 1
46978 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46979 cat >>confdefs.h
<<\_ACEOF
46980 #define wxUSE_MDI_ARCHITECTURE 1
46983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46987 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46988 cat >>confdefs.h
<<\_ACEOF
46989 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46995 if test "$wxUSE_HELP" = "yes"; then
46996 cat >>confdefs.h
<<\_ACEOF
46997 #define wxUSE_HELP 1
47000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47002 if test "$wxUSE_MSW" = 1; then
47003 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47004 cat >>confdefs.h
<<\_ACEOF
47005 #define wxUSE_MS_HTML_HELP 1
47011 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47012 if test "$wxUSE_HTML" = "yes"; then
47013 cat >>confdefs.h
<<\_ACEOF
47014 #define wxUSE_WXHTML_HELP 1
47018 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47019 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47020 wxUSE_WXHTML_HELP
=no
47025 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47026 cat >>confdefs.h
<<\_ACEOF
47027 #define wxUSE_PRINTING_ARCHITECTURE 1
47030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47033 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47034 cat >>confdefs.h
<<\_ACEOF
47035 #define wxUSE_POSTSCRIPT 1
47040 cat >>confdefs.h
<<\_ACEOF
47041 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47045 if test "$wxUSE_SVG" = "yes"; then
47046 cat >>confdefs.h
<<\_ACEOF
47047 #define wxUSE_SVG 1
47053 if test "$wxUSE_METAFILE" = "yes"; then
47054 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47055 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47056 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47062 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47063 -o "$wxUSE_CLIPBOARD" = "yes" \
47064 -o "$wxUSE_OLE" = "yes" \
47065 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47066 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47067 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47068 if test "${ac_cv_header_ole2_h+set}" = set; then
47069 echo $ECHO_N "(cached) $ECHO_C" >&6
47071 cat >conftest.
$ac_ext <<_ACEOF
47074 cat confdefs.h
>>conftest.
$ac_ext
47075 cat >>conftest.
$ac_ext <<_ACEOF
47076 /* end confdefs.h. */
47081 rm -f conftest.
$ac_objext
47082 if { (ac_try
="$ac_compile"
47083 case "(($ac_try" in
47084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47085 *) ac_try_echo=$ac_try;;
47087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47088 (eval "$ac_compile") 2>conftest.er1
47090 grep -v '^ *+' conftest.er1 >conftest.err
47092 cat conftest.err >&5
47093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47094 (exit $ac_status); } && {
47095 test -z "$ac_c_werror_flag" ||
47096 test ! -s conftest.err
47097 } && test -s conftest.$ac_objext; then
47098 ac_cv_header_ole2_h=yes
47100 echo "$as_me: failed program was:" >&5
47101 sed 's/^/| /' conftest.$ac_ext >&5
47103 ac_cv_header_ole2_h=no
47106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47108 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47109 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47113 if test "$ac_cv_header_ole2_h" = "yes" ; then
47114 if test "$GCC" = yes ; then
47115 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47116 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47117 cat >conftest.$ac_ext <<_ACEOF
47120 cat confdefs.h >>conftest.$ac_ext
47121 cat >>conftest.$ac_ext <<_ACEOF
47122 /* end confdefs.h. */
47123 #include <windows.h>
47133 rm -f conftest.$ac_objext
47134 if { (ac_try="$ac_compile"
47135 case "(($ac_try" in
47136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47137 *) ac_try_echo
=$ac_try;;
47139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47140 (eval "$ac_compile") 2>conftest.er1
47142 grep -v '^ *+' conftest.er1
>conftest.err
47144 cat conftest.err
>&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } && {
47147 test -z "$ac_c_werror_flag" ||
47148 test ! -s conftest.err
47149 } && test -s conftest.
$ac_objext; then
47150 { echo "$as_me:$LINENO: result: no" >&5
47151 echo "${ECHO_T}no" >&6; }
47153 echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.
$ac_ext >&5
47156 { echo "$as_me:$LINENO: result: yes" >&5
47157 echo "${ECHO_T}yes" >&6; }
47158 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47162 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47163 if test "$wxUSE_OLE" = "yes" ; then
47164 cat >>confdefs.h
<<\_ACEOF
47165 #define wxUSE_OLE 1
47168 cat >>confdefs.h
<<\_ACEOF
47169 #define wxUSE_OLE_AUTOMATION 1
47172 cat >>confdefs.h
<<\_ACEOF
47173 #define wxUSE_ACTIVEX 1
47176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47180 if test "$wxUSE_DATAOBJ" = "yes" ; then
47181 cat >>confdefs.h
<<\_ACEOF
47182 #define wxUSE_DATAOBJ 1
47187 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47188 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47191 wxUSE_DRAG_AND_DROP
=no
47196 if test "$wxUSE_METAFILE" = "yes"; then
47197 cat >>confdefs.h
<<\_ACEOF
47198 #define wxUSE_METAFILE 1
47202 cat >>confdefs.h
<<\_ACEOF
47203 #define wxUSE_ENH_METAFILE 1
47209 if test "$wxUSE_IPC" = "yes"; then
47210 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47211 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47212 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47216 if test "$wxUSE_IPC" = "yes"; then
47217 cat >>confdefs.h
<<\_ACEOF
47218 #define wxUSE_IPC 1
47221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47225 if test "$wxUSE_DATAOBJ" = "yes"; then
47226 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47227 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47228 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47231 cat >>confdefs.h
<<\_ACEOF
47232 #define wxUSE_DATAOBJ 1
47237 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47238 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47240 wxUSE_DRAG_AND_DROP
=no
47243 if test "$wxUSE_CLIPBOARD" = "yes"; then
47244 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47245 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47246 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47250 if test "$wxUSE_CLIPBOARD" = "yes"; then
47251 cat >>confdefs.h
<<\_ACEOF
47252 #define wxUSE_CLIPBOARD 1
47258 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47259 if test "$wxUSE_GTK" = 1; then
47260 if test "$WXGTK12" != 1; then
47261 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47262 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47263 wxUSE_DRAG_AND_DROP
=no
47267 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47268 "$wxUSE_DFB" = 1; then
47269 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47270 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47271 wxUSE_DRAG_AND_DROP
=no
47274 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47275 cat >>confdefs.h
<<\_ACEOF
47276 #define wxUSE_DRAG_AND_DROP 1
47283 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47287 if test "$wxUSE_CLIPBOARD" = "yes"; then
47288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47291 if test "$wxUSE_SPLINES" = "yes" ; then
47292 cat >>confdefs.h
<<\_ACEOF
47293 #define wxUSE_SPLINES 1
47298 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47299 cat >>confdefs.h
<<\_ACEOF
47300 #define wxUSE_MOUSEWHEEL 1
47305 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47306 cat >>confdefs.h
<<\_ACEOF
47307 #define wxUSE_UIACTIONSIMULATOR 1
47310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47313 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47314 cat >>confdefs.h
<<\_ACEOF
47315 #define wxUSE_DC_TRANSFORM_MATRIX 1
47322 if test "$wxUSE_CONTROLS" = "yes"; then
47326 if test "$wxUSE_MARKUP" = "yes"; then
47327 cat >>confdefs.h
<<\_ACEOF
47328 #define wxUSE_MARKUP 1
47333 if test "$wxUSE_ACCEL" = "yes"; then
47334 cat >>confdefs.h
<<\_ACEOF
47335 #define wxUSE_ACCEL 1
47341 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47342 cat >>confdefs.h
<<\_ACEOF
47343 #define wxUSE_ANIMATIONCTRL 1
47347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47350 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47351 cat >>confdefs.h
<<\_ACEOF
47352 #define wxUSE_BANNERWINDOW 1
47357 if test "$wxUSE_BUTTON" = "yes"; then
47358 cat >>confdefs.h
<<\_ACEOF
47359 #define wxUSE_BUTTON 1
47365 if test "$wxUSE_BMPBUTTON" = "yes"; then
47366 cat >>confdefs.h
<<\_ACEOF
47367 #define wxUSE_BMPBUTTON 1
47373 if test "$wxUSE_CALCTRL" = "yes"; then
47374 cat >>confdefs.h
<<\_ACEOF
47375 #define wxUSE_CALENDARCTRL 1
47379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47382 if test "$wxUSE_CARET" = "yes"; then
47383 cat >>confdefs.h
<<\_ACEOF
47384 #define wxUSE_CARET 1
47388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47391 if test "$wxUSE_COLLPANE" = "yes"; then
47392 cat >>confdefs.h
<<\_ACEOF
47393 #define wxUSE_COLLPANE 1
47397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47400 if test "$wxUSE_COMBOBOX" = "yes"; then
47401 cat >>confdefs.h
<<\_ACEOF
47402 #define wxUSE_COMBOBOX 1
47408 if test "$wxUSE_COMBOCTRL" = "yes"; then
47409 cat >>confdefs.h
<<\_ACEOF
47410 #define wxUSE_COMBOCTRL 1
47416 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47417 cat >>confdefs.h
<<\_ACEOF
47418 #define wxUSE_COMMANDLINKBUTTON 1
47424 if test "$wxUSE_CHOICE" = "yes"; then
47425 cat >>confdefs.h
<<\_ACEOF
47426 #define wxUSE_CHOICE 1
47432 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47433 cat >>confdefs.h
<<\_ACEOF
47434 #define wxUSE_CHOICEBOOK 1
47440 if test "$wxUSE_CHECKBOX" = "yes"; then
47441 cat >>confdefs.h
<<\_ACEOF
47442 #define wxUSE_CHECKBOX 1
47448 if test "$wxUSE_CHECKLST" = "yes"; then
47449 cat >>confdefs.h
<<\_ACEOF
47450 #define wxUSE_CHECKLISTBOX 1
47456 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_COLOURPICKERCTRL 1
47464 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47465 cat >>confdefs.h
<<\_ACEOF
47466 #define wxUSE_DATEPICKCTRL 1
47472 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47473 cat >>confdefs.h
<<\_ACEOF
47474 #define wxUSE_DIRPICKERCTRL 1
47480 if test "$wxUSE_FILECTRL" = "yes"; then
47481 cat >>confdefs.h
<<\_ACEOF
47482 #define wxUSE_FILECTRL 1
47488 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47489 cat >>confdefs.h
<<\_ACEOF
47490 #define wxUSE_FILEPICKERCTRL 1
47496 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47497 cat >>confdefs.h
<<\_ACEOF
47498 #define wxUSE_FONTPICKERCTRL 1
47504 if test "$wxUSE_DISPLAY" = "yes"; then
47505 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47506 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47507 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47510 cat >>confdefs.h
<<\_ACEOF
47511 #define wxUSE_DISPLAY 1
47514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47518 if test "$wxUSE_DETECT_SM" = "yes"; then
47519 cat >>confdefs.h
<<\_ACEOF
47520 #define wxUSE_DETECT_SM 1
47525 if test "$wxUSE_GAUGE" = "yes"; then
47526 cat >>confdefs.h
<<\_ACEOF
47527 #define wxUSE_GAUGE 1
47533 if test "$wxUSE_GRID" = "yes"; then
47534 cat >>confdefs.h
<<\_ACEOF
47535 #define wxUSE_GRID 1
47539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47542 if test "$wxUSE_HEADERCTRL" = "yes"; then
47543 cat >>confdefs.h
<<\_ACEOF
47544 #define wxUSE_HEADERCTRL 1
47550 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47551 cat >>confdefs.h
<<\_ACEOF
47552 #define wxUSE_HYPERLINKCTRL 1
47558 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47559 cat >>confdefs.h
<<\_ACEOF
47560 #define wxUSE_BITMAPCOMBOBOX 1
47566 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47567 cat >>confdefs.h
<<\_ACEOF
47568 #define wxUSE_DATAVIEWCTRL 1
47572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47575 if test "$wxUSE_IMAGLIST" = "yes"; then
47576 cat >>confdefs.h
<<\_ACEOF
47577 #define wxUSE_IMAGLIST 1
47582 if test "$wxUSE_INFOBAR" = "yes"; then
47583 cat >>confdefs.h
<<\_ACEOF
47584 #define wxUSE_INFOBAR 1
47589 if test "$wxUSE_LISTBOOK" = "yes"; then
47590 cat >>confdefs.h
<<\_ACEOF
47591 #define wxUSE_LISTBOOK 1
47597 if test "$wxUSE_LISTBOX" = "yes"; then
47598 cat >>confdefs.h
<<\_ACEOF
47599 #define wxUSE_LISTBOX 1
47605 if test "$wxUSE_LISTCTRL" = "yes"; then
47606 if test "$wxUSE_IMAGLIST" = "yes"; then
47607 cat >>confdefs.h
<<\_ACEOF
47608 #define wxUSE_LISTCTRL 1
47612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47614 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47615 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47619 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47620 cat >>confdefs.h
<<\_ACEOF
47621 #define wxUSE_EDITABLELISTBOX 1
47627 if test "$wxUSE_NOTEBOOK" = "yes"; then
47628 cat >>confdefs.h
<<\_ACEOF
47629 #define wxUSE_NOTEBOOK 1
47633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47636 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47637 cat >>confdefs.h
<<\_ACEOF
47638 #define wxUSE_NOTIFICATION_MESSAGE 1
47643 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47644 cat >>confdefs.h
<<\_ACEOF
47645 #define wxUSE_ODCOMBOBOX 1
47649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47652 if test "$wxUSE_RADIOBOX" = "yes"; then
47653 cat >>confdefs.h
<<\_ACEOF
47654 #define wxUSE_RADIOBOX 1
47660 if test "$wxUSE_RADIOBTN" = "yes"; then
47661 cat >>confdefs.h
<<\_ACEOF
47662 #define wxUSE_RADIOBTN 1
47668 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47669 cat >>confdefs.h
<<\_ACEOF
47670 #define wxUSE_REARRANGECTRL 1
47675 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47676 cat >>confdefs.h
<<\_ACEOF
47677 #define wxUSE_RICHMSGDLG 1
47682 if test "$wxUSE_SASH" = "yes"; then
47683 cat >>confdefs.h
<<\_ACEOF
47684 #define wxUSE_SASH 1
47687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47690 if test "$wxUSE_SCROLLBAR" = "yes"; then
47691 cat >>confdefs.h
<<\_ACEOF
47692 #define wxUSE_SCROLLBAR 1
47696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47699 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47700 cat >>confdefs.h
<<\_ACEOF
47701 #define wxUSE_SEARCHCTRL 1
47707 if test "$wxUSE_SLIDER" = "yes"; then
47708 cat >>confdefs.h
<<\_ACEOF
47709 #define wxUSE_SLIDER 1
47715 if test "$wxUSE_SPINBTN" = "yes"; then
47716 cat >>confdefs.h
<<\_ACEOF
47717 #define wxUSE_SPINBTN 1
47723 if test "$wxUSE_SPINCTRL" = "yes"; then
47724 cat >>confdefs.h
<<\_ACEOF
47725 #define wxUSE_SPINCTRL 1
47731 if test "$wxUSE_SPLITTER" = "yes"; then
47732 cat >>confdefs.h
<<\_ACEOF
47733 #define wxUSE_SPLITTER 1
47736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47739 if test "$wxUSE_STATBMP" = "yes"; then
47740 cat >>confdefs.h
<<\_ACEOF
47741 #define wxUSE_STATBMP 1
47747 if test "$wxUSE_STATBOX" = "yes"; then
47748 cat >>confdefs.h
<<\_ACEOF
47749 #define wxUSE_STATBOX 1
47755 if test "$wxUSE_STATTEXT" = "yes"; then
47756 cat >>confdefs.h
<<\_ACEOF
47757 #define wxUSE_STATTEXT 1
47763 if test "$wxUSE_STATLINE" = "yes"; then
47764 cat >>confdefs.h
<<\_ACEOF
47765 #define wxUSE_STATLINE 1
47771 if test "$wxUSE_STATUSBAR" = "yes"; then
47772 cat >>confdefs.h
<<\_ACEOF
47773 #define wxUSE_NATIVE_STATUSBAR 1
47776 cat >>confdefs.h
<<\_ACEOF
47777 #define wxUSE_STATUSBAR 1
47782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47785 if test "$wxUSE_TEXTCTRL" = "yes"; then
47786 cat >>confdefs.h
<<\_ACEOF
47787 #define wxUSE_TEXTCTRL 1
47791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47793 cat >>confdefs.h
<<\_ACEOF
47794 #define wxUSE_RICHEDIT 1
47797 cat >>confdefs.h
<<\_ACEOF
47798 #define wxUSE_RICHEDIT2 1
47803 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47804 if test "$wxUSE_OLD_COCOA" = 1 ; then
47805 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47806 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47810 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47811 cat >>confdefs.h
<<\_ACEOF
47812 #define wxUSE_TOGGLEBTN 1
47819 if test "$wxUSE_TOOLBAR" = "yes"; then
47820 cat >>confdefs.h
<<\_ACEOF
47821 #define wxUSE_TOOLBAR 1
47826 if test "$wxUSE_UNIVERSAL" = "yes"; then
47827 wxUSE_TOOLBAR_NATIVE
="no"
47829 wxUSE_TOOLBAR_NATIVE
="yes"
47830 cat >>confdefs.h
<<\_ACEOF
47831 #define wxUSE_TOOLBAR_NATIVE 1
47836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47839 if test "$wxUSE_TOOLTIPS" = "yes"; then
47840 if test "$wxUSE_MOTIF" = 1; then
47841 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47842 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47844 if test "$wxUSE_UNIVERSAL" = "yes"; then
47845 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47846 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47848 cat >>confdefs.h
<<\_ACEOF
47849 #define wxUSE_TOOLTIPS 1
47856 if test "$wxUSE_TREEBOOK" = "yes"; then
47857 cat >>confdefs.h
<<\_ACEOF
47858 #define wxUSE_TREEBOOK 1
47864 if test "$wxUSE_TOOLBOOK" = "yes"; then
47865 cat >>confdefs.h
<<\_ACEOF
47866 #define wxUSE_TOOLBOOK 1
47872 if test "$wxUSE_TREECTRL" = "yes"; then
47873 if test "$wxUSE_IMAGLIST" = "yes"; then
47874 cat >>confdefs.h
<<\_ACEOF
47875 #define wxUSE_TREECTRL 1
47879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47881 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47882 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47886 if test "$wxUSE_TREECTRL" = "yes"; then
47887 cat >>confdefs.h
<<\_ACEOF
47888 #define wxUSE_TREELISTCTRL 1
47894 if test "$wxUSE_POPUPWIN" = "yes"; then
47895 if test "$wxUSE_OLD_COCOA" = 1 ; then
47896 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47897 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47899 if test "$wxUSE_PM" = 1; then
47900 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47901 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47903 cat >>confdefs.h
<<\_ACEOF
47904 #define wxUSE_POPUPWIN 1
47907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47914 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47915 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47916 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47917 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47919 cat >>confdefs.h
<<\_ACEOF
47920 #define wxUSE_DIALUP_MANAGER 1
47923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47927 if test "$wxUSE_TIPWINDOW" = "yes"; then
47928 if test "$wxUSE_PM" = 1; then
47929 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47930 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47932 cat >>confdefs.h
<<\_ACEOF
47933 #define wxUSE_TIPWINDOW 1
47939 if test "$USES_CONTROLS" = 1; then
47940 cat >>confdefs.h
<<\_ACEOF
47941 #define wxUSE_CONTROLS 1
47947 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47948 cat >>confdefs.h
<<\_ACEOF
47949 #define wxUSE_ACCESSIBILITY 1
47952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47955 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47956 cat >>confdefs.h
<<\_ACEOF
47957 #define wxUSE_ARTPROVIDER_STD 1
47962 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47963 if test "$wxUSE_GTK" != 1; then
47964 if test "$wxUSE_LIBPNG" != no
-a \
47965 "$wxUSE_IMAGE" = yes -a \
47966 "$wxUSE_STREAMS" = yes; then
47967 wxUSE_ARTPROVIDER_TANGO
="yes"
47972 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47973 cat >>confdefs.h
<<\_ACEOF
47974 #define wxUSE_ARTPROVIDER_TANGO 1
47979 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47980 cat >>confdefs.h
<<\_ACEOF
47981 #define wxUSE_DRAGIMAGE 1
47984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47987 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47988 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47989 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47990 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47992 cat >>confdefs.h
<<\_ACEOF
47993 #define wxUSE_EXCEPTIONS 1
47996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48001 if test "$wxUSE_HTML" = "yes"; then
48002 cat >>confdefs.h
<<\_ACEOF
48003 #define wxUSE_HTML 1
48007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48009 if test "$wxUSE_WEBKIT" = "yes"; then
48010 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48011 old_CPPFLAGS
="$CPPFLAGS"
48012 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48013 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48014 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48015 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 cat >conftest.
$ac_ext <<_ACEOF
48021 cat confdefs.h
>>conftest.
$ac_ext
48022 cat >>conftest.
$ac_ext <<_ACEOF
48023 /* end confdefs.h. */
48025 #include <Carbon/Carbon.h>
48026 #include <WebKit/WebKit.h>
48029 #include <WebKit/HIWebView.h>
48031 rm -f conftest.
$ac_objext
48032 if { (ac_try
="$ac_compile"
48033 case "(($ac_try" in
48034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48035 *) ac_try_echo=$ac_try;;
48037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48038 (eval "$ac_compile") 2>conftest.er1
48040 grep -v '^ *+' conftest.er1 >conftest.err
48042 cat conftest.err >&5
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); } && {
48045 test -z "$ac_c_werror_flag" ||
48046 test ! -s conftest.err
48047 } && test -s conftest.$ac_objext; then
48048 ac_cv_header_WebKit_HIWebView_h=yes
48050 echo "$as_me: failed program was:" >&5
48051 sed 's/^/| /' conftest.$ac_ext >&5
48053 ac_cv_header_WebKit_HIWebView_h=no
48056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48058 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48059 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48060 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48062 cat >>confdefs.h <<\_ACEOF
48063 #define wxUSE_WEBKIT 1
48066 WEBKIT_LINK="-framework WebKit"
48070 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48071 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48077 CPPFLAGS="$old_CPPFLAGS"
48078 elif test "$wxUSE_OLD_COCOA" = 1; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_WEBKIT 1
48086 if test "$wxUSE_WEBKIT" = "yes"; then
48087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48092 if test "$wxUSE_XRC" = "yes"; then
48093 if test "$wxUSE_XML" != "yes"; then
48094 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48095 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_XRC 1
48103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48108 if test "$wxUSE_AUI" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_AUI 1
48114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48118 if test "$wxUSE_PROPGRID" = "yes"; then
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_PROPGRID 1
48124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48128 if test "$wxUSE_RIBBON" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_RIBBON 1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48138 if test "$wxUSE_STC" = "yes"; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_STC 1
48144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48146 # Extract the first word of "python", so it can be a program name with args.
48147 set dummy python; ac_word=$2
48148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48150 if test "${ac_cv_path_PYTHON+set}" = set; then
48151 echo $ECHO_N "(cached) $ECHO_C" >&6
48155 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48159 for as_dir in $PATH
48162 test -z "$as_dir" && as_dir=.
48163 for ac_exec_ext in '' $ac_executable_extensions; do
48164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48165 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48176 PYTHON=$ac_cv_path_PYTHON
48177 if test -n "$PYTHON"; then
48178 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48179 echo "${ECHO_T}$PYTHON" >&6; }
48181 { echo "$as_me:$LINENO: result: no" >&5
48182 echo "${ECHO_T}no" >&6; }
48186 if test "x$PYTHON" = "x"; then
48192 if test "$wxUSE_MENUS" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_MENUS 1
48197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48200 if test "$wxUSE_METAFILE" = "yes"; then
48201 cat >>confdefs.h <<\_ACEOF
48202 #define wxUSE_METAFILE 1
48207 if test "$wxUSE_MIMETYPE" = "yes"; then
48208 cat >>confdefs.h <<\_ACEOF
48209 #define wxUSE_MIMETYPE 1
48214 if test "$wxUSE_MINIFRAME" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_MINIFRAME 1
48221 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_SYSTEM_OPTIONS 1
48228 if test "$wxUSE_TASKBARICON" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_TASKBARICON 1
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48237 if test "$wxUSE_VALIDATORS" = "yes"; then
48238 cat >>confdefs.h <<\_ACEOF
48239 #define wxUSE_VALIDATORS 1
48242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48245 if test "$wxUSE_PALETTE" = "yes" ; then
48246 if test "$wxUSE_DFB" = 1; then
48247 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48248 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_PALETTE 1
48258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48259 LIBS=" -lunicows $LIBS"
48263 if test "$wxUSE_RICHTEXT" = "yes"; then
48264 cat >>confdefs.h <<\_ACEOF
48265 #define wxUSE_RICHTEXT 1
48269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48273 if test "$wxUSE_IMAGE" = "yes" ; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_IMAGE 1
48279 if test "$wxUSE_GIF" = "yes" ; then
48280 cat >>confdefs.h <<\_ACEOF
48281 #define wxUSE_GIF 1
48286 if test "$wxUSE_PCX" = "yes" ; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_PCX 1
48293 if test "$wxUSE_TGA" = "yes" ; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_TGA 1
48300 if test "$wxUSE_IFF" = "yes" ; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_IFF 1
48307 if test "$wxUSE_PNM" = "yes" ; then
48308 cat >>confdefs.h <<\_ACEOF
48309 #define wxUSE_PNM 1
48314 if test "$wxUSE_XPM" = "yes" ; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_XPM 1
48321 if test "$wxUSE_ICO_CUR" = "yes" ; then
48322 cat >>confdefs.h <<\_ACEOF
48323 #define wxUSE_ICO_CUR 1
48330 if test "$wxUSE_ABOUTDLG" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_ABOUTDLG 1
48337 if test "$wxUSE_CHOICEDLG" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_CHOICEDLG 1
48344 if test "$wxUSE_COLOURDLG" = "yes"; then
48345 cat >>confdefs.h <<\_ACEOF
48346 #define wxUSE_COLOURDLG 1
48351 if test "$wxUSE_FILEDLG" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_FILEDLG 1
48358 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48359 cat >>confdefs.h <<\_ACEOF
48360 #define wxUSE_FINDREPLDLG 1
48365 if test "$wxUSE_FONTDLG" = "yes"; then
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_FONTDLG 1
48372 if test "$wxUSE_DIRDLG" = "yes"; then
48373 if test "$wxUSE_TREECTRL" != "yes"; then
48374 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48375 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_DIRDLG 1
48384 if test "$wxUSE_MSGDLG" = "yes"; then
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_MSGDLG 1
48391 if test "$wxUSE_NUMBERDLG" = "yes"; then
48392 cat >>confdefs.h <<\_ACEOF
48393 #define wxUSE_NUMBERDLG 1
48398 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48399 cat >>confdefs.h <<\_ACEOF
48400 #define wxUSE_PROGRESSDLG 1
48405 if test "$wxUSE_SPLASH" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_SPLASH 1
48410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48413 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_STARTUP_TIPS 1
48420 if test "$wxUSE_TEXTDLG" = "yes"; then
48421 cat >>confdefs.h <<\_ACEOF
48422 #define wxUSE_TEXTDLG 1
48427 if test "$wxUSE_WIZARDDLG" = "yes"; then
48428 cat >>confdefs.h <<\_ACEOF
48429 #define wxUSE_WIZARDDLG 1
48432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48436 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48437 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48438 cat >>confdefs.h <<\_ACEOF
48439 #define wxUSE_OWNER_DRAWN 1
48446 if test "$wxUSE_MSW" = 1 ; then
48448 if test "$wxUSE_DC_CACHEING" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_DC_CACHEING 1
48455 if test "$wxUSE_DIB" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_WXDIB 1
48462 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48469 if test "$wxUSE_UXTHEME" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_UXTHEME 1
48478 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_AUTOID_MANAGEMENT 1
48485 if test "$USE_WIN32" = 1 ; then
48486 if test "$wxUSE_INICONF" = "yes"; then
48487 cat >>confdefs.h <<\_ACEOF
48488 #define wxUSE_INICONF 1
48493 if test "$wxUSE_REGKEY" = "yes"; then
48494 cat >>confdefs.h <<\_ACEOF
48495 #define wxUSE_REGKEY 1
48502 if test "$wxUSE_MAC" = 1; then
48503 wxUSE_GRAPHICS_CONTEXT="yes"
48506 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48508 if test "$wxUSE_MSW" = 1; then
48509 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48510 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48511 if test "${wx_cv_lib_gdiplus+set}" = set; then
48512 echo $ECHO_N "(cached) $ECHO_C" >&6
48516 ac_cpp='$CXXCPP $CPPFLAGS'
48517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48521 cat >conftest.$ac_ext <<_ACEOF
48524 cat confdefs.h >>conftest.$ac_ext
48525 cat >>conftest.$ac_ext <<_ACEOF
48526 /* end confdefs.h. */
48527 #include <windows.h>
48528 #include <gdiplus.h>
48533 using namespace Gdiplus;
48539 rm -f conftest.$ac_objext
48540 if { (ac_try="$ac_compile"
48541 case "(($ac_try" in
48542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48543 *) ac_try_echo
=$ac_try;;
48545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48546 (eval "$ac_compile") 2>conftest.er1
48548 grep -v '^ *+' conftest.er1
>conftest.err
48550 cat conftest.err
>&5
48551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48552 (exit $ac_status); } && {
48553 test -z "$ac_cxx_werror_flag" ||
48554 test ! -s conftest.err
48555 } && test -s conftest.
$ac_objext; then
48556 wx_cv_lib_gdiplus
=yes
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.
$ac_ext >&5
48561 wx_cv_lib_gdiplus
=no
48565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48567 ac_cpp
='$CPP $CPPFLAGS'
48568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48575 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48576 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48577 if test "$wx_cv_lib_gdiplus" = "yes"; then
48580 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48583 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48584 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48586 if test -n "$PKG_CONFIG"; then
48587 if test -n "$CAIRO_CFLAGS"; then
48588 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48590 if test -n "$PKG_CONFIG" && \
48591 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48592 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595 (exit $ac_status); }; then
48596 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48604 if test -n "$PKG_CONFIG"; then
48605 if test -n "$CAIRO_LIBS"; then
48606 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48608 if test -n "$PKG_CONFIG" && \
48609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48610 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48613 (exit $ac_status); }; then
48614 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48625 if test $pkg_failed = yes; then
48627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48628 _pkg_short_errors_supported
=yes
48630 _pkg_short_errors_supported
=no
48632 if test $_pkg_short_errors_supported = yes; then
48633 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48635 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48637 # Put the nasty error message in config.log where it belongs
48638 echo "$CAIRO_PKG_ERRORS" >&5
48640 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48641 echo "$as_me: WARNING: Cairo library not found" >&2;}
48643 elif test $pkg_failed = untried
; then
48644 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48645 echo "$as_me: WARNING: Cairo library not found" >&2;}
48648 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48649 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48650 { echo "$as_me:$LINENO: result: yes" >&5
48651 echo "${ECHO_T}yes" >&6; }
48654 if test "$wx_has_graphics" = 1; then
48656 LIBS
="$LIBS $CAIRO_LIBS"
48658 for ac_func
in cairo_push_group
48660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48663 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48664 echo $ECHO_N "(cached) $ECHO_C" >&6
48666 cat >conftest.
$ac_ext <<_ACEOF
48669 cat confdefs.h
>>conftest.
$ac_ext
48670 cat >>conftest.
$ac_ext <<_ACEOF
48671 /* end confdefs.h. */
48672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48674 #define $ac_func innocuous_$ac_func
48676 /* System header to define __stub macros and hopefully few prototypes,
48677 which can conflict with char $ac_func (); below.
48678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48679 <limits.h> exists even on freestanding compilers. */
48682 # include <limits.h>
48684 # include <assert.h>
48689 /* Override any GCC internal prototype to avoid an error.
48690 Use char because int might match the return type of a GCC
48691 builtin and then its argument prototype would still apply. */
48696 /* The GNU C library defines this for functions which it implements
48697 to always fail with ENOSYS. Some functions are actually named
48698 something starting with __ and the normal name is an alias. */
48699 #if defined __stub_$ac_func || defined __stub___$ac_func
48706 return $ac_func ();
48711 rm -f conftest.
$ac_objext conftest
$ac_exeext
48712 if { (ac_try
="$ac_link"
48713 case "(($ac_try" in
48714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48715 *) ac_try_echo=$ac_try;;
48717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48718 (eval "$ac_link") 2>conftest.er1
48720 grep -v '^ *+' conftest.er1 >conftest.err
48722 cat conftest.err >&5
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); } && {
48725 test -z "$ac_c_werror_flag" ||
48726 test ! -s conftest.err
48727 } && test -s conftest$ac_exeext &&
48728 $as_test_x conftest$ac_exeext; then
48729 eval "$as_ac_var=yes"
48731 echo "$as_me: failed program was:" >&5
48732 sed 's/^/| /' conftest.$ac_ext >&5
48734 eval "$as_ac_var=no"
48737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48738 conftest$ac_exeext conftest.$ac_ext
48740 ac_res=`eval echo '${'$as_ac_var'}'`
48741 { echo "$as_me:$LINENO: result: $ac_res" >&5
48742 echo "${ECHO_T}$ac_res" >&6; }
48743 if test `eval echo '${'$as_ac_var'}'` = yes; then
48744 cat >>confdefs.h <<_ACEOF
48745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48752 if test "$ac_cv_func_cairo_push_group" = "no"; then
48754 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48755 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48757 cat >>confdefs.h <<\_ACEOF
48758 #define wxUSE_CAIRO 1
48762 if test "$wxUSE_GTK" != 1; then
48763 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48764 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48772 if test "$wx_has_graphics" = 1; then
48773 cat >>confdefs.h <<\_ACEOF
48774 #define wxUSE_GRAPHICS_CONTEXT 1
48778 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48779 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48786 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48789 if test "$wxUSE_GTK" = 1; then
48790 wxUSE_GSTREAMER="no"
48792 GST_VERSION_MAJOR=0
48793 GST_VERSION_MINOR=10
48794 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48796 if test "$wxUSE_GSTREAMER8" = "no"; then
48799 { echo "$as_me:$LINENO: checking for GST" >&5
48800 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48802 if test -n "$PKG_CONFIG"; then
48803 if test -n "$GST_CFLAGS"; then
48804 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48806 if test -n "$PKG_CONFIG" && \
48807 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48808 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48811 (exit $ac_status); }; then
48812 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48820 if test -n "$PKG_CONFIG"; then
48821 if test -n "$GST_LIBS"; then
48822 pkg_cv_GST_LIBS="$GST_LIBS"
48824 if test -n "$PKG_CONFIG" && \
48825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48826 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); }; then
48830 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48841 if test $pkg_failed = yes; then
48843 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48844 _pkg_short_errors_supported=yes
48846 _pkg_short_errors_supported=no
48848 if test $_pkg_short_errors_supported = yes; then
48849 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48851 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48853 # Put the nasty error message in config.log where it belongs
48854 echo "$GST_PKG_ERRORS" >&5
48857 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48858 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48859 GST_VERSION_MINOR=8
48862 elif test $pkg_failed = untried; then
48864 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48865 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48866 GST_VERSION_MINOR=8
48870 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48871 GST_LIBS=$pkg_cv_GST_LIBS
48872 { echo "$as_me:$LINENO: result: yes" >&5
48873 echo "${ECHO_T}yes" >&6; }
48875 wxUSE_GSTREAMER="yes"
48876 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48880 GST_VERSION_MINOR=8
48883 if test $GST_VERSION_MINOR = "8"; then
48884 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48887 { echo "$as_me:$LINENO: checking for GST" >&5
48888 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48890 if test -n "$PKG_CONFIG"; then
48891 if test -n "$GST_CFLAGS"; then
48892 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48894 if test -n "$PKG_CONFIG" && \
48895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48896 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899 (exit $ac_status); }; then
48900 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48908 if test -n "$PKG_CONFIG"; then
48909 if test -n "$GST_LIBS"; then
48910 pkg_cv_GST_LIBS="$GST_LIBS"
48912 if test -n "$PKG_CONFIG" && \
48913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48914 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; then
48918 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48929 if test $pkg_failed = yes; then
48931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48932 _pkg_short_errors_supported=yes
48934 _pkg_short_errors_supported=no
48936 if test $_pkg_short_errors_supported = yes; then
48937 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48939 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48941 # Put the nasty error message in config.log where it belongs
48942 echo "$GST_PKG_ERRORS" >&5
48945 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48946 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48948 elif test $pkg_failed = untried; then
48950 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48951 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48954 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48955 GST_LIBS=$pkg_cv_GST_LIBS
48956 { echo "$as_me:$LINENO: result: yes" >&5
48957 echo "${ECHO_T}yes" >&6; }
48958 wxUSE_GSTREAMER="yes"
48963 if test "$wxUSE_GSTREAMER" = "yes"; then
48964 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48965 EXTRALIBS_MEDIA="$GST_LIBS"
48967 cat >>confdefs.h <<\_ACEOF
48968 #define wxUSE_GSTREAMER 1
48976 if test $USE_MEDIA = 1; then
48977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48978 cat >>confdefs.h <<\_ACEOF
48979 #define wxUSE_MEDIACTRL 1
48983 if test "$wxUSE_MEDIACTRL" = "yes"; then
48984 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48985 echo "$as_me: error: GStreamer not available" >&2;}
48986 { (exit 1); exit 1; }; }
48988 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48989 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48995 if test "$cross_compiling" != "no"; then
48998 OSINFO=`uname
-s -r -m`
48999 OSINFO="\"$OSINFO\""
49002 cat >>confdefs.h <<_ACEOF
49003 #define WXWIN_OS_DESCRIPTION $OSINFO
49008 if test "x$prefix" != "xNONE"; then
49011 wxPREFIX=$ac_default_prefix
49014 cat >>confdefs.h <<_ACEOF
49015 #define wxINSTALL_PREFIX "$wxPREFIX"
49021 STD_BASE_LIBS="base"
49023 BUILT_WX_LIBS="base"
49024 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49026 if test "$wxUSE_SOCKETS" = "yes" ; then
49027 STD_BASE_LIBS="net $STD_BASE_LIBS"
49028 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49030 if test "$wxUSE_XML" = "yes" ; then
49031 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49032 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49035 if test "$wxUSE_GUI" = "yes"; then
49036 STD_GUI_LIBS="adv core"
49037 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49039 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49040 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49041 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49043 if test "$wxUSE_HTML" = "yes" ; then
49044 STD_GUI_LIBS="html $STD_GUI_LIBS"
49045 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49047 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49048 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49050 if test "$wxUSE_OPENGL" = "yes" ; then
49051 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49053 if test "$wxUSE_AUI" = "yes" ; then
49054 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49056 if test "$wxUSE_PROPGRID" = "yes" ; then
49057 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49059 if test "$wxUSE_RIBBON" = "yes" ; then
49060 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49062 if test "$wxUSE_RICHTEXT" = "yes" ; then
49063 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49065 if test "$wxUSE_STC" = "yes" ; then
49066 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49068 if test "$wxUSE_XRC" = "yes" ; then
49069 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49070 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49081 if test "$wxUSE_MAC" = 1 ; then
49082 if test "$USE_DARWIN" = 1; then
49083 if test "$wxUSE_OSX_IPHONE" = 1; then
49084 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49086 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49090 if test "$wxUSE_OLD_COCOA" = 1 ; then
49091 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49092 if test "$wxUSE_MEDIACTRL" = "yes"; then
49093 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49096 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49097 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49100 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49101 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49103 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49105 if test "$wxUSE_GUI" = "yes"; then
49108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49109 erase event exec font image minimal render \
49110 shaped svg taborder vscroll widgets wrapsizer"
49112 if test "$wxUSE_MONOLITHIC" != "yes"; then
49113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49115 if test "$TOOLKIT" = "MSW"; then
49116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49117 if test "$wxUSE_UNIVERSAL" != "yes"; then
49118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49121 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49125 SAMPLES_SUBDIRS="console"
49126 if test "$wxUSE_SOCKETS" = "yes" ; then
49127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49129 if test "$wxUSE_IPC" = "yes" ; then
49130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49135 if test "x$INTELCC" = "xyes" ; then
49136 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49137 elif test "$GCC" = yes ; then
49138 CWARNINGS="-Wall -Wundef"
49141 if test "x$INTELCXX" = "xyes" ; then
49142 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49143 elif test "$GXX" = yes ; then
49144 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49145 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49146 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49147 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49148 echo $ECHO_N "(cached) $ECHO_C" >&6
49150 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49153 ac_cpp='$CXXCPP $CPPFLAGS'
49154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49158 ac_save_CXXFLAGS="$CXXFLAGS"
49159 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49160 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49161 cat >conftest.$ac_ext <<_ACEOF
49164 cat confdefs.h >>conftest.$ac_ext
49165 cat >>conftest.$ac_ext <<_ACEOF
49166 /* end confdefs.h. */
49176 rm -f conftest.$ac_objext
49177 if { (ac_try="$ac_compile"
49178 case "(($ac_try" in
49179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49180 *) ac_try_echo
=$ac_try;;
49182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49183 (eval "$ac_compile") 2>conftest.er1
49185 grep -v '^ *+' conftest.er1
>conftest.err
49187 cat conftest.err
>&5
49188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49189 (exit $ac_status); } && {
49190 test -z "$ac_cxx_werror_flag" ||
49191 test ! -s conftest.err
49192 } && test -s conftest.
$ac_objext; then
49193 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49195 echo "$as_me: failed program was:" >&5
49196 sed 's/^/| /' conftest.
$ac_ext >&5
49201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49203 CXXFLAGS
="$ac_save_CXXFLAGS"
49205 ac_cpp
='$CPP $CPPFLAGS'
49206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49212 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49213 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49214 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49218 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
49219 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49220 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49223 (exit $ac_status); }
49224 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49225 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228 (exit $ac_status); }
49229 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49235 if test "$wxUSE_MAC" = 1 ; then
49236 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
49241 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49242 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49245 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49246 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49247 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49250 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49251 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49252 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49253 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49254 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49256 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49259 if test "x$MWCC" = "xyes"; then
49261 CC
="$CC -cwd source -I-"
49262 CXX
="$CXX -cwd source -I-"
49267 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49268 EXTRALIBS_XML
="$EXPAT_LINK"
49269 EXTRALIBS_HTML
="$MSPACK_LINK"
49270 EXTRALIBS_MEDIA
="$GST_LIBS"
49271 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49272 if test "$wxUSE_GUI" = "yes"; then
49273 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49275 if test "$wxUSE_OPENGL" = "yes"; then
49276 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49279 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49281 WXCONFIG_LIBS
="$LIBS"
49283 if test "$wxUSE_REGEX" = "builtin" ; then
49284 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49286 if test "$wxUSE_EXPAT" = "builtin" ; then
49287 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49289 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49290 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49292 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49293 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49295 if test "$wxUSE_LIBPNG" = "builtin" ; then
49296 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49298 if test "$wxUSE_ZLIB" = "builtin" ; then
49299 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49302 for i
in $wxconfig_3rdparty ; do
49303 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49307 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49310 case "$wxUNIV_THEMES" in
49312 cat >>confdefs.h
<<\_ACEOF
49313 #define wxUSE_ALL_THEMES 1
49319 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49320 cat >>confdefs.h
<<_ACEOF
49321 #define wxUSE_THEME_$t 1
49337 if test $wxUSE_MONOLITHIC = "yes" ; then
49343 if test $wxUSE_PLUGINS = "yes" ; then
49349 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49355 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49387 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49400 TOOLKIT_DESC
="GTK+"
49401 if test "$WXGTK2" = 1; then
49402 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49403 if test "$wxUSE_GTKPRINT" = "yes" ; then
49404 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49406 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49407 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49409 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49410 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49412 if test "$wxUSE_LIBHILDON" = "yes"; then
49413 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49415 if test "$wxUSE_LIBHILDON2" = "yes"; then
49416 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49419 if test "$TOOLKIT_EXTRA" != ""; then
49420 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49426 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49430 TOOLKIT_DESC
="base only"
49434 if test "$wxUSE_WINE" = "yes"; then
49435 BAKEFILE_FORCE_PLATFORM
=win32
49438 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49440 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49441 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49442 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49446 echo '#include <stdio.h>
49447 const wchar_t test_var[] = L"awidetest";' > conftest.h
49449 echo '#include "conftest.h"
49452 printf("%ls", test_var);
49456 wx_cv_gcc_pch_bug
="pch not supported"
49458 if $CXX conftest.h
>/dev
/null
2>&1
49462 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49464 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49465 grep awidetest
>/dev
/null
49467 wx_cv_gcc_pch_bug
=no
49469 wx_cv_gcc_pch_bug
=yes
49474 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49477 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49478 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49480 if test "$wx_cv_gcc_pch_bug" = yes; then
49491 if test "x$BAKEFILE_HOST" = "x"; then
49492 if test "x${host}" = "x" ; then
49493 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49494 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49495 { (exit 1); exit 1; }; }
49498 BAKEFILE_HOST
="${host}"
49501 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49503 if test -n "$ac_tool_prefix"; then
49504 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49505 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49508 if test "${ac_cv_prog_RANLIB+set}" = set; then
49509 echo $ECHO_N "(cached) $ECHO_C" >&6
49511 if test -n "$RANLIB"; then
49512 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49515 for as_dir
in $PATH
49518 test -z "$as_dir" && as_dir
=.
49519 for ac_exec_ext
in '' $ac_executable_extensions; do
49520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49521 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49531 RANLIB
=$ac_cv_prog_RANLIB
49532 if test -n "$RANLIB"; then
49533 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49534 echo "${ECHO_T}$RANLIB" >&6; }
49536 { echo "$as_me:$LINENO: result: no" >&5
49537 echo "${ECHO_T}no" >&6; }
49542 if test -z "$ac_cv_prog_RANLIB"; then
49543 ac_ct_RANLIB
=$RANLIB
49544 # Extract the first word of "ranlib", so it can be a program name with args.
49545 set dummy ranlib
; ac_word
=$2
49546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49548 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49549 echo $ECHO_N "(cached) $ECHO_C" >&6
49551 if test -n "$ac_ct_RANLIB"; then
49552 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49555 for as_dir
in $PATH
49558 test -z "$as_dir" && as_dir
=.
49559 for ac_exec_ext
in '' $ac_executable_extensions; do
49560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49561 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49571 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49572 if test -n "$ac_ct_RANLIB"; then
49573 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49574 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49576 { echo "$as_me:$LINENO: result: no" >&5
49577 echo "${ECHO_T}no" >&6; }
49580 if test "x$ac_ct_RANLIB" = x
; then
49583 case $cross_compiling:$ac_tool_warned in
49585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49586 whose name does not start with the host triplet. If you think this
49587 configuration is useful to you, please write to autoconf@gnu.org." >&5
49588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49589 whose name does not start with the host triplet. If you think this
49590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49591 ac_tool_warned
=yes ;;
49593 RANLIB
=$ac_ct_RANLIB
49596 RANLIB
="$ac_cv_prog_RANLIB"
49599 # Find a good install program. We prefer a C program (faster),
49600 # so one script is as good as another. But avoid the broken or
49601 # incompatible versions:
49602 # SysV /etc/install, /usr/sbin/install
49603 # SunOS /usr/etc/install
49604 # IRIX /sbin/install
49606 # AmigaOS /C/install, which installs bootblocks on floppy discs
49607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49610 # OS/2's system install, which has a completely different semantic
49611 # ./install, which can be erroneously created by make from ./install.sh.
49612 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49613 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49614 if test -z "$INSTALL"; then
49615 if test "${ac_cv_path_install+set}" = set; then
49616 echo $ECHO_N "(cached) $ECHO_C" >&6
49618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49619 for as_dir
in $PATH
49622 test -z "$as_dir" && as_dir
=.
49623 # Account for people who put trailing slashes in PATH elements.
49625 .
/ | .
// | /cC
/* | \
49626 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49627 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49630 # OSF1 and SCO ODT 3.0 have their own names for install.
49631 # Don't use installbsd from OSF since it installs stuff as root
49633 for ac_prog
in ginstall scoinst
install; do
49634 for ac_exec_ext
in '' $ac_executable_extensions; do
49635 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49636 if test $ac_prog = install &&
49637 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49638 # AIX install. It has an incompatible calling convention.
49640 elif test $ac_prog = install &&
49641 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49642 # program-specific install script used by HP pwplus--don't use.
49645 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49658 if test "${ac_cv_path_install+set}" = set; then
49659 INSTALL
=$ac_cv_path_install
49661 # As a last resort, use the slow shell script. Don't cache a
49662 # value for INSTALL within a source directory, because that will
49663 # break other packages using the cache if that directory is
49664 # removed, or if the value is a relative name.
49665 INSTALL
=$ac_install_sh
49668 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49669 echo "${ECHO_T}$INSTALL" >&6; }
49671 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49672 # It thinks the first close brace ends the variable substitution.
49673 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49675 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49677 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49682 if test "$LN_S" = "ln -s"; then
49683 { echo "$as_me:$LINENO: result: yes" >&5
49684 echo "${ECHO_T}yes" >&6; }
49686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49687 echo "${ECHO_T}no, using $LN_S" >&6; }
49691 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49692 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49693 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49694 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49695 echo $ECHO_N "(cached) $ECHO_C" >&6
49697 cat >conftest.
make <<\_ACEOF
49700 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49702 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49703 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49704 *@@@
%%%=?
*=@@@
%%%*)
49705 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49707 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49709 rm -f conftest.
make
49711 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49712 { echo "$as_me:$LINENO: result: yes" >&5
49713 echo "${ECHO_T}yes" >&6; }
49716 { echo "$as_me:$LINENO: result: no" >&5
49717 echo "${ECHO_T}no" >&6; }
49718 SET_MAKE
="MAKE=${MAKE-make}"
49723 if test "x$SUNCXX" = "xyes"; then
49725 AROPTIONS
="-xar -o"
49727 elif test "x$SGICC" = "xyes"; then
49732 if test -n "$ac_tool_prefix"; then
49733 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49734 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49737 if test "${ac_cv_prog_AR+set}" = set; then
49738 echo $ECHO_N "(cached) $ECHO_C" >&6
49740 if test -n "$AR"; then
49741 ac_cv_prog_AR
="$AR" # Let the user override the test.
49743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49744 for as_dir
in $PATH
49747 test -z "$as_dir" && as_dir
=.
49748 for ac_exec_ext
in '' $ac_executable_extensions; do
49749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49750 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49761 if test -n "$AR"; then
49762 { echo "$as_me:$LINENO: result: $AR" >&5
49763 echo "${ECHO_T}$AR" >&6; }
49765 { echo "$as_me:$LINENO: result: no" >&5
49766 echo "${ECHO_T}no" >&6; }
49771 if test -z "$ac_cv_prog_AR"; then
49773 # Extract the first word of "ar", so it can be a program name with args.
49774 set dummy
ar; ac_word
=$2
49775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49777 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49778 echo $ECHO_N "(cached) $ECHO_C" >&6
49780 if test -n "$ac_ct_AR"; then
49781 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49784 for as_dir
in $PATH
49787 test -z "$as_dir" && as_dir
=.
49788 for ac_exec_ext
in '' $ac_executable_extensions; do
49789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49790 ac_cv_prog_ac_ct_AR
="ar"
49791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49800 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49801 if test -n "$ac_ct_AR"; then
49802 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49803 echo "${ECHO_T}$ac_ct_AR" >&6; }
49805 { echo "$as_me:$LINENO: result: no" >&5
49806 echo "${ECHO_T}no" >&6; }
49809 if test "x$ac_ct_AR" = x
; then
49812 case $cross_compiling:$ac_tool_warned in
49814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49815 whose name does not start with the host triplet. If you think this
49816 configuration is useful to you, please write to autoconf@gnu.org." >&5
49817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49818 whose name does not start with the host triplet. If you think this
49819 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49820 ac_tool_warned
=yes ;;
49825 AR
="$ac_cv_prog_AR"
49832 if test -n "$ac_tool_prefix"; then
49833 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49834 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49837 if test "${ac_cv_prog_STRIP+set}" = set; then
49838 echo $ECHO_N "(cached) $ECHO_C" >&6
49840 if test -n "$STRIP"; then
49841 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49844 for as_dir
in $PATH
49847 test -z "$as_dir" && as_dir
=.
49848 for ac_exec_ext
in '' $ac_executable_extensions; do
49849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49850 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49860 STRIP
=$ac_cv_prog_STRIP
49861 if test -n "$STRIP"; then
49862 { echo "$as_me:$LINENO: result: $STRIP" >&5
49863 echo "${ECHO_T}$STRIP" >&6; }
49865 { echo "$as_me:$LINENO: result: no" >&5
49866 echo "${ECHO_T}no" >&6; }
49871 if test -z "$ac_cv_prog_STRIP"; then
49873 # Extract the first word of "strip", so it can be a program name with args.
49874 set dummy strip
; ac_word
=$2
49875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49877 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49878 echo $ECHO_N "(cached) $ECHO_C" >&6
49880 if test -n "$ac_ct_STRIP"; then
49881 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49884 for as_dir
in $PATH
49887 test -z "$as_dir" && as_dir
=.
49888 for ac_exec_ext
in '' $ac_executable_extensions; do
49889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49890 ac_cv_prog_ac_ct_STRIP
="strip"
49891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49900 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49901 if test -n "$ac_ct_STRIP"; then
49902 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49903 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49905 { echo "$as_me:$LINENO: result: no" >&5
49906 echo "${ECHO_T}no" >&6; }
49909 if test "x$ac_ct_STRIP" = x
; then
49912 case $cross_compiling:$ac_tool_warned in
49914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49915 whose name does not start with the host triplet. If you think this
49916 configuration is useful to you, please write to autoconf@gnu.org." >&5
49917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49918 whose name does not start with the host triplet. If you think this
49919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49920 ac_tool_warned
=yes ;;
49925 STRIP
="$ac_cv_prog_STRIP"
49928 if test -n "$ac_tool_prefix"; then
49929 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49930 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49933 if test "${ac_cv_prog_NM+set}" = set; then
49934 echo $ECHO_N "(cached) $ECHO_C" >&6
49936 if test -n "$NM"; then
49937 ac_cv_prog_NM
="$NM" # Let the user override the test.
49939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49940 for as_dir
in $PATH
49943 test -z "$as_dir" && as_dir
=.
49944 for ac_exec_ext
in '' $ac_executable_extensions; do
49945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49946 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49957 if test -n "$NM"; then
49958 { echo "$as_me:$LINENO: result: $NM" >&5
49959 echo "${ECHO_T}$NM" >&6; }
49961 { echo "$as_me:$LINENO: result: no" >&5
49962 echo "${ECHO_T}no" >&6; }
49967 if test -z "$ac_cv_prog_NM"; then
49969 # Extract the first word of "nm", so it can be a program name with args.
49970 set dummy nm
; ac_word
=$2
49971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49973 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49974 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 if test -n "$ac_ct_NM"; then
49977 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49980 for as_dir
in $PATH
49983 test -z "$as_dir" && as_dir
=.
49984 for ac_exec_ext
in '' $ac_executable_extensions; do
49985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49986 ac_cv_prog_ac_ct_NM
="nm"
49987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49996 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49997 if test -n "$ac_ct_NM"; then
49998 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49999 echo "${ECHO_T}$ac_ct_NM" >&6; }
50001 { echo "$as_me:$LINENO: result: no" >&5
50002 echo "${ECHO_T}no" >&6; }
50005 if test "x$ac_ct_NM" = x
; then
50008 case $cross_compiling:$ac_tool_warned in
50010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50011 whose name does not start with the host triplet. If you think this
50012 configuration is useful to you, please write to autoconf@gnu.org." >&5
50013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50014 whose name does not start with the host triplet. If you think this
50015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50016 ac_tool_warned
=yes ;;
50021 NM
="$ac_cv_prog_NM"
50025 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50026 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50027 INSTALL_TEST_DIR
=acbftest$$
50028 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
50029 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
50030 rmdir $INSTALL_TEST_DIR
50031 INSTALL_DIR
='$(INSTALL) -d'
50032 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50033 echo "${ECHO_T}$INSTALL -d" >&6; }
50035 INSTALL_DIR
="mkdir -p"
50036 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50037 echo "${ECHO_T}mkdir -p" >&6; }
50042 case ${BAKEFILE_HOST} in
50043 *-*-cygwin* | *-*-mingw32* )
50044 LDFLAGS_GUI
="-mwindows"
50050 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50051 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50052 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50053 echo $ECHO_N "(cached) $ECHO_C" >&6
50056 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50057 egrep -s GNU
> /dev
/null
); then
50058 bakefile_cv_prog_makeisgnu
="yes"
50060 bakefile_cv_prog_makeisgnu
="no"
50064 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50065 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50067 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50084 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50085 case "${BAKEFILE_HOST}" in
50092 *-pc-os2_emx | *-pc-os2-emx )
50102 powerpc
-apple-macos* )
50111 case "$BAKEFILE_FORCE_PLATFORM" in
50132 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50133 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50134 { (exit 1); exit 1; }; }
50149 # Check whether --enable-omf was given.
50150 if test "${enable_omf+set}" = set; then
50151 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50155 case "${BAKEFILE_HOST}" in
50157 if test "x$GCC" = "xyes"; then
50158 CFLAGS
="$CFLAGS -fno-common"
50159 CXXFLAGS
="$CXXFLAGS -fno-common"
50161 if test "x$XLCC" = "xyes"; then
50162 CFLAGS
="$CFLAGS -qnocommon"
50163 CXXFLAGS
="$CXXFLAGS -qnocommon"
50167 *-pc-os2_emx | *-pc-os2-emx )
50168 if test "x$bk_os2_use_omf" = "xyes" ; then
50171 LDFLAGS
="-Zomf $LDFLAGS"
50172 CFLAGS
="-Zomf $CFLAGS"
50173 CXXFLAGS
="-Zomf $CXXFLAGS"
50181 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50187 SO_SUFFIX_MODULE
="so"
50192 DLLPREFIX_MODULE
=""
50196 case "${BAKEFILE_HOST}" in
50201 SO_SUFFIX_MODULE
="sl"
50205 SO_SUFFIX_MODULE
="a"
50209 SO_SUFFIX_MODULE
="dll"
50210 DLLIMP_SUFFIX
="dll.a"
50217 SO_SUFFIX_MODULE
="dll"
50218 DLLIMP_SUFFIX
="dll.a"
50228 *-pc-os2_emx | *-pc-os2-emx )
50230 SO_SUFFIX_MODULE
="dll"
50231 DLLIMP_SUFFIX
=$OS2_LIBEXT
50235 LIBEXT
=".$OS2_LIBEXT"
50240 SO_SUFFIX_MODULE
="bundle"
50244 if test "x$DLLIMP_SUFFIX" = "x" ; then
50245 DLLIMP_SUFFIX
="$SO_SUFFIX"
50260 if test "x$GCC" = "xyes"; then
50264 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50265 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50268 case "${BAKEFILE_HOST}" in
50270 if test "x$GCC" != "xyes"; then
50271 LDFLAGS
="$LDFLAGS -L/usr/lib"
50273 SHARED_LD_CC
="${CC} -b -o"
50274 SHARED_LD_CXX
="${CXX} -b -o"
50280 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50282 elif test "x$SUNCXX" = "xyes"; then
50283 SHARED_LD_CC
="${CC} -G -o"
50284 SHARED_LD_CXX
="${CXX} -G -o"
50290 if test "x$SUNCXX" = xyes
; then
50291 SHARED_LD_CC
="${CC} -G -o"
50292 SHARED_LD_CXX
="${CXX} -G -o"
50300 cat <<EOF >shared-ld-sh
50302 #-----------------------------------------------------------------------------
50303 #-- Name: distrib/mac/shared-ld-sh
50304 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50305 #-- Author: Gilles Depeyrot
50306 #-- Copyright: (c) 2002 Gilles Depeyrot
50307 #-- Licence: any use permitted
50308 #-----------------------------------------------------------------------------
50313 linking_flag="-dynamiclib"
50314 ldargs="-r -keep_private_externs -nostdlib"
50316 if test "x${D}CXX" = "x"; then
50320 while test ${D}# -gt 0; do
50327 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50328 # collect these options and values
50329 args="${D}{args} ${D}1 ${D}2"
50334 # collect these options and values
50335 ldargs="${D}{ldargs} ${D}1 ${D}2"
50340 # collect these load args
50341 ldargs="${D}{ldargs} ${D}1"
50344 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50345 # collect these options
50346 args="${D}{args} ${D}1"
50349 -dynamiclib|-bundle)
50350 linking_flag="${D}1"
50354 echo "shared-ld: unhandled option '${D}1'"
50358 *.o | *.a | *.dylib)
50359 # collect object files
50360 objects="${D}{objects} ${D}1"
50364 echo "shared-ld: unhandled argument '${D}1'"
50375 # Link one module containing all the others
50377 if test ${D}{verbose} = 1; then
50378 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50380 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50384 # Link the shared library from the single module created, but only if the
50385 # previous command didn't fail:
50387 if test ${D}{status} = 0; then
50388 if test ${D}{verbose} = 1; then
50389 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50391 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50396 # Remove intermediate module
50398 rm -f master.${D}${D}.o
50403 chmod +x shared
-ld-sh
50405 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50406 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50409 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50410 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50411 if test "${bakefile_cv_gcc31+set}" = set; then
50412 echo $ECHO_N "(cached) $ECHO_C" >&6
50415 cat >conftest.
$ac_ext <<_ACEOF
50418 cat confdefs.h
>>conftest.
$ac_ext
50419 cat >>conftest.
$ac_ext <<_ACEOF
50420 /* end confdefs.h. */
50426 #if (__GNUC__ < 3) || \
50427 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50435 rm -f conftest.
$ac_objext
50436 if { (ac_try
="$ac_compile"
50437 case "(($ac_try" in
50438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50439 *) ac_try_echo=$ac_try;;
50441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50442 (eval "$ac_compile") 2>conftest.er1
50444 grep -v '^ *+' conftest.er1 >conftest.err
50446 cat conftest.err >&5
50447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448 (exit $ac_status); } && {
50449 test -z "$ac_c_werror_flag" ||
50450 test ! -s conftest.err
50451 } && test -s conftest.$ac_objext; then
50453 bakefile_cv_gcc31=yes
50456 echo "$as_me: failed program was:" >&5
50457 sed 's/^/| /' conftest.$ac_ext >&5
50460 bakefile_cv_gcc31=no
50465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50468 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50469 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50470 if test "$bakefile_cv_gcc31" = "no"; then
50471 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50472 SHARED_LD_CXX="$SHARED_LD_CC"
50474 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50475 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50478 if test "x$GCC" == "xyes"; then
50479 PIC_FLAG="-dynamic -fPIC"
50481 if test "x$XLCC" = "xyes"; then
50482 PIC_FLAG="-dynamic -DPIC"
50487 if test "x$GCC" = "xyes"; then
50490 case "${BAKEFILE_HOST}" in
50492 LD_EXPFULL="-Wl,-bexpfull"
50496 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50497 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50499 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50500 set dummy makeC++SharedLib; ac_word=$2
50501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50503 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50504 echo $ECHO_N "(cached) $ECHO_C" >&6
50506 if test -n "$AIX_CXX_LD"; then
50507 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50510 for as_dir in $PATH
50513 test -z "$as_dir" && as_dir=.
50514 for ac_exec_ext in '' $ac_executable_extensions; do
50515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50516 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50524 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50527 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50528 if test -n "$AIX_CXX_LD"; then
50529 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50530 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50532 { echo "$as_me:$LINENO: result: no" >&5
50533 echo "${ECHO_T}no" >&6; }
50537 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50538 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50543 SHARED_LD_CC="${LD} -nostart -o"
50544 SHARED_LD_CXX="${LD} -nostart -o"
50548 if test "x$GCC" != "xyes"; then
50553 *-*-cygwin* | *-*-mingw32* )
50555 SHARED_LD_CC="\$(CC) -shared -o"
50556 SHARED_LD_CXX="\$(CXX) -shared -o"
50560 *-pc-os2_emx | *-pc-os2-emx )
50561 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50562 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50566 cat <<EOF >dllar.sh
50569 # dllar - a tool to build both a .dll and an .a file
50570 # from a set of object (.o) files for EMX/OS2.
50572 # Written by Andrew Zabolotny, bit@freya.etu.ru
50573 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50575 # This script will accept a set of files on the command line.
50576 # All the public symbols from the .o files will be exported into
50577 # a .DEF file, then linker will be run (through gcc) against them to
50578 # build a shared library consisting of all given .o files. All libraries
50579 # (.a) will be first decompressed into component .o files then act as
50580 # described above. You can optionally give a description (-d "description")
50581 # which will be put into .DLL. To see the list of accepted options (as well
50582 # as command-line format) simply run this program without options. The .DLL
50583 # is built to be imported by name (there is no guarantee that new versions
50584 # of the library you build will have same ordinals for same symbols).
50586 # dllar is free software; you can redistribute it and/or modify
50587 # it under the terms of the GNU General Public License as published by
50588 # the Free Software Foundation; either version 2, or (at your option)
50589 # any later version.
50591 # dllar is distributed in the hope that it will be useful,
50592 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50593 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50594 # GNU General Public License for more details.
50596 # You should have received a copy of the GNU General Public License
50597 # along with dllar; see the file COPYING. If not, write to the Free
50598 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50601 # To successfuly run this program you will need:
50602 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50603 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50605 # (used to build the .dll)
50607 # (used to create .def file from .o files)
50609 # (used to create .a file from .def file)
50610 # - GNU text utilites (cat, sort, uniq)
50611 # used to process emxexp output
50612 # - GNU file utilities (mv, rm)
50614 # - lxlite (optional, see flag below)
50615 # (used for general .dll cleanup)
50622 # basnam, variant of basename, which does _not_ remove the path, _iff_
50623 # second argument (suffix to remove) is given
50627 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50630 echo ${D}1 | sed 's/'${D}2'${D}//'
50633 echo "error in basnam ${D}*"
50639 # Cleanup temporary files and output
50642 for i in ${D}inputFiles ; do
50645 rm -rf \`basnam
${D}i
!\
`
50652 # Kill result in case of failure as there is just to many stupid make/nmake
50653 # things out there which doesn't do this.
50654 if [ ${D}# -eq 0 ]; then
50655 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50659 # Print usage and exit script with rc=1.
50661 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50662 echo ' [-name-mangler-script script.sh]'
50663 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50664 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50665 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50666 echo ' [*.o] [*.a]'
50667 echo '*> "output_file" should have no extension.'
50668 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50669 echo ' The import library name is derived from this and is set to "name".a,'
50670 echo ' unless overridden by -import'
50671 echo '*> "importlib_name" should have no extension.'
50672 echo ' If it has the .o, or .a extension, it is automatically removed.'
50673 echo ' This name is used as the import library name and may be longer and'
50674 echo ' more descriptive than the DLL name which has to follow the old '
50675 echo ' 8.3 convention of FAT.'
50676 echo '*> "script.sh may be given to override the output_file name by a'
50677 echo ' different name. It is mainly useful if the regular make process'
50678 echo ' of some package does not take into account OS/2 restriction of'
50679 echo ' DLL name lengths. It takes the importlib name as input and is'
50680 echo ' supposed to procude a shorter name as output. The script should'
50681 echo ' expect to get importlib_name without extension and should produce'
50682 echo ' a (max.) 8 letter name without extension.'
50683 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50684 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50685 echo ' These flags will be put at the start of GCC command line.'
50686 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50687 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50688 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50689 echo ' If the last character of a symbol is "*", all symbols beginning'
50690 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50691 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50692 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50693 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50694 echo ' C runtime DLLs.'
50695 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50696 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50697 echo ' unchanged to GCC at the end of command line.'
50698 echo '*> If you create a DLL from a library and you do not specify -o,'
50699 echo ' the basename for DLL and import library will be set to library name,'
50700 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50701 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50702 echo ' library will be renamed into gcc_s.a.'
50705 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50706 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50711 # Execute a command.
50712 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50713 # @Uses Whatever CleanUp() uses.
50719 if [ ${D}rcCmd -ne 0 ]; then
50720 echo "command failed, exit code="${D}rcCmd
50735 CFLAGS="-s -Zcrtdll"
50737 EXPORT_BY_ORDINALS=0
50742 case ${D}curDirS in
50746 curDirS=${D}{curDirS}"/"
50749 # Parse commandline
50752 while [ ${D}1 ]; do
50755 EXPORT_BY_ORDINALS=1;
50765 -name-mangler-script)
50786 exclude_symbols=${D}{exclude_symbols}${D}1" "
50790 library_flags=${D}{library_flags}${D}1" "
50809 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50812 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50813 if [ ${D}omfLinking -eq 1 ]; then
50814 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50816 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50821 if [ ${D}libsToLink -ne 0 ]; then
50822 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50824 for file in ${D}1 ; do
50825 if [ -f ${D}file ]; then
50826 inputFiles="${D}{inputFiles} ${D}file"
50830 if [ ${D}found -eq 0 ]; then
50831 echo "ERROR: No file(s) found: "${D}1
50838 done # iterate cmdline words
50841 if [ -z "${D}inputFiles" ]; then
50842 echo "dllar: no input files"
50846 # Now extract all .o files from .a files
50848 for file in ${D}inputFiles ; do
50859 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50864 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50866 if [ ${D}? -ne 0 ]; then
50867 echo "Failed to create subdirectory ./${D}dirname"
50871 # Append '!' to indicate archive
50872 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50873 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50876 for subfile in ${D}dirname/*.o* ; do
50877 if [ -f ${D}subfile ]; then
50879 if [ -s ${D}subfile ]; then
50880 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50881 newInputFiles="${D}newInputFiles ${D}subfile"
50885 if [ ${D}found -eq 0 ]; then
50886 echo "WARNING: there are no files in archive \\'${D}file\\'"
50890 newInputFiles="${D}{newInputFiles} ${D}file"
50894 inputFiles="${D}newInputFiles"
50896 # Output filename(s).
50898 if [ -z ${D}outFile ]; then
50900 set outFile ${D}inputFiles; outFile=${D}2
50903 # If it is an archive, remove the '!' and the '_%' suffixes
50904 case ${D}outFile in
50906 outFile=\`basnam
${D}outFile _
%!\
`
50911 case ${D}outFile in
50913 outFile=\`basnam
${D}outFile .dll\
`
50916 outFile=\`basnam
${D}outFile .DLL\
`
50919 outFile=\`basnam
${D}outFile .o\
`
50922 outFile=\`basnam
${D}outFile .obj\
`
50925 outFile=\`basnam
${D}outFile .a\
`
50928 outFile=\`basnam
${D}outFile .lib\
`
50933 case ${D}outimpFile in
50935 outimpFile=\`basnam
${D}outimpFile .a\
`
50938 outimpFile=\`basnam
${D}outimpFile .lib\
`
50943 if [ -z ${D}outimpFile ]; then
50944 outimpFile=${D}outFile
50946 defFile="${D}{outFile}.def"
50947 arcFile="${D}{outimpFile}.a"
50948 arcFile2="${D}{outimpFile}.lib"
50950 #create ${D}dllFile as something matching 8.3 restrictions,
50951 if [ -z ${D}renameScript ] ; then
50952 dllFile="${D}outFile"
50954 dllFile=\`${D}renameScript
${D}outimpFile\
`
50957 if [ ${D}do_backup -ne 0 ] ; then
50958 if [ -f ${D}arcFile ] ; then
50959 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50961 if [ -f ${D}arcFile2 ] ; then
50962 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50966 # Extract public symbols from all the object files.
50967 tmpdefFile=${D}{defFile}_%
50968 rm -f ${D}tmpdefFile
50969 for file in ${D}inputFiles ; do
50974 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50979 # Create the def file.
50981 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50982 dllFile="${D}{dllFile}.dll"
50983 if [ ! -z ${D}description ]; then
50984 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50986 echo "EXPORTS" >> ${D}defFile
50988 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50989 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50991 # Checks if the export is ok or not.
50992 for word in ${D}exclude_symbols; do
50993 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50994 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50998 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50999 sed "=" < ${D}tmpdefFile | \\
51003 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51005 ' > ${D}{tmpdefFile}%
51006 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51008 rm -f ${D}{tmpdefFile}%
51010 cat ${D}tmpdefFile >> ${D}defFile
51011 rm -f ${D}tmpdefFile
51013 # Do linking, create implib, and apply lxlite.
51015 for file in ${D}inputFiles ; do
51020 gccCmdl="${D}gccCmdl ${D}file"
51024 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51025 touch "${D}{outFile}.dll"
51027 doCommand "emximp -o ${D}arcFile ${D}defFile"
51028 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51030 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51033 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51035 doCommand "emxomf -s -l ${D}arcFile"
51045 powerpc-apple-macos* | \
51046 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51056 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51057 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51058 { (exit 1); exit 1; }; }
51061 if test "x$PIC_FLAG" != "x" ; then
51062 PIC_FLAG="$PIC_FLAG -DPIC"
51065 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51066 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51068 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51069 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51084 USE_SOTWOSYMLINKS=0
51088 case "${BAKEFILE_HOST}" in
51089 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51090 *-*-k*bsd*-gnu | *-*-mirbsd* )
51091 if test "x$SUNCXX" = "xyes"; then
51094 SONAME_FLAG="-Wl,-soname,"
51098 USE_SOTWOSYMLINKS=1
51110 USE_SOTWOSYMLINKS=1
51128 # Check whether --enable-dependency-tracking was given.
51129 if test "${enable_dependency_tracking+set}" = set; then
51130 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51134 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51135 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51138 if test "x$bk_use_trackdeps" = "xno" ; then
51140 { echo "$as_me:$LINENO: result: disabled" >&5
51141 echo "${ECHO_T}disabled" >&6; }
51145 if test "x$GCC" = "xyes"; then
51147 case "${BAKEFILE_HOST}" in
51149 DEPSFLAG="-no-cpp-precomp -MMD"
51155 { echo "$as_me:$LINENO: result: gcc" >&5
51156 echo "${ECHO_T}gcc" >&6; }
51157 elif test "x$MWCC" = "xyes"; then
51160 { echo "$as_me:$LINENO: result: mwcc" >&5
51161 echo "${ECHO_T}mwcc" >&6; }
51162 elif test "x$SUNCC" = "xyes"; then
51165 { echo "$as_me:$LINENO: result: Sun cc" >&5
51166 echo "${ECHO_T}Sun cc" >&6; }
51167 elif test "x$SGICC" = "xyes"; then
51170 { echo "$as_me:$LINENO: result: SGI cc" >&5
51171 echo "${ECHO_T}SGI cc" >&6; }
51172 elif test "x$HPCC" = "xyes"; then
51175 { echo "$as_me:$LINENO: result: HP cc" >&5
51176 echo "${ECHO_T}HP cc" >&6; }
51177 elif test "x$COMPAQCC" = "xyes"; then
51180 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51181 echo "${ECHO_T}Compaq cc" >&6; }
51184 { echo "$as_me:$LINENO: result: none" >&5
51185 echo "${ECHO_T}none" >&6; }
51188 if test $DEPS_TRACKING = 1 ; then
51194 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51195 # script. It is used to track C/C++ files dependencies in portable way.
51197 # Permission is given to use this file in any way.
51199 DEPSMODE=${DEPSMODE}
51200 DEPSFLAG="${DEPSFLAG}"
51203 if test ${D}DEPSMODE = gcc ; then
51204 ${D}* ${D}{DEPSFLAG}
51207 # determine location of created files:
51208 while test ${D}# -gt 0; do
51222 objfilebase=\`basename ${D}objfile\
`
51223 builddir=\`dirname ${D}objfile\
`
51224 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51225 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51226 depsdir=${D}builddir/${D}DEPSDIRBASE
51227 mkdir -p ${D}depsdir
51229 # if the compiler failed, we're done:
51230 if test ${D}{status} != 0 ; then
51235 # move created file to the location we want it in:
51236 if test -f ${D}depfile ; then
51237 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51240 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51241 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
51242 if test ! -f ${D}depfile ; then
51243 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51244 depfile="${D}objfile.d"
51246 if test -f ${D}depfile ; then
51247 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51253 elif test ${D}DEPSMODE = mwcc ; then
51254 ${D}* || exit ${D}?
51255 # Run mwcc again with -MM and redirect into the dep file we want
51256 # NOTE: We can't use shift here because we need ${D}* to be valid
51258 for arg in ${D}* ; do
51259 if test "${D}prevarg" = "-o"; then
51273 objfilebase=\`basename ${D}objfile\
`
51274 builddir=\`dirname ${D}objfile\
`
51275 depsdir=${D}builddir/${D}DEPSDIRBASE
51276 mkdir -p ${D}depsdir
51278 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51281 elif test ${D}DEPSMODE = unixcc; then
51282 ${D}* || exit ${D}?
51283 # Run compiler again with deps flag and redirect into the dep file.
51284 # It doesn't work if the '-o FILE' option is used, but without it the
51285 # dependency file will contain the wrong name for the object. So it is
51286 # removed from the command line, and the dep file is fixed with sed.
51288 while test ${D}# -gt 0; do
51295 eval arg${D}#=\\${D}1
51296 cmd="${D}cmd \\${D}arg${D}#"
51302 objfilebase=\`basename ${D}objfile\
`
51303 builddir=\`dirname ${D}objfile\
`
51304 depsdir=${D}builddir/${D}DEPSDIRBASE
51305 mkdir -p ${D}depsdir
51307 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51317 BK_DEPS="`pwd`/bk-deps"
51325 case ${BAKEFILE_HOST} in
51326 *-*-cygwin* | *-*-mingw32* )
51327 if test -n "$ac_tool_prefix"; then
51328 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51329 set dummy ${ac_tool_prefix}windres; ac_word=$2
51330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51332 if test "${ac_cv_prog_WINDRES+set}" = set; then
51333 echo $ECHO_N "(cached) $ECHO_C" >&6
51335 if test -n "$WINDRES"; then
51336 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51339 for as_dir in $PATH
51342 test -z "$as_dir" && as_dir=.
51343 for ac_exec_ext in '' $ac_executable_extensions; do
51344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51345 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51355 WINDRES=$ac_cv_prog_WINDRES
51356 if test -n "$WINDRES"; then
51357 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51358 echo "${ECHO_T}$WINDRES" >&6; }
51360 { echo "$as_me:$LINENO: result: no" >&5
51361 echo "${ECHO_T}no" >&6; }
51366 if test -z "$ac_cv_prog_WINDRES"; then
51367 ac_ct_WINDRES=$WINDRES
51368 # Extract the first word of "windres", so it can be a program name with args.
51369 set dummy windres; ac_word=$2
51370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51372 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51373 echo $ECHO_N "(cached) $ECHO_C" >&6
51375 if test -n "$ac_ct_WINDRES"; then
51376 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51379 for as_dir in $PATH
51382 test -z "$as_dir" && as_dir=.
51383 for ac_exec_ext in '' $ac_executable_extensions; do
51384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51385 ac_cv_prog_ac_ct_WINDRES="windres"
51386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51395 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51396 if test -n "$ac_ct_WINDRES"; then
51397 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51398 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51400 { echo "$as_me:$LINENO: result: no" >&5
51401 echo "${ECHO_T}no" >&6; }
51404 if test "x$ac_ct_WINDRES" = x; then
51407 case $cross_compiling:$ac_tool_warned in
51409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51410 whose name does not start with the host triplet. If you think this
51411 configuration is useful to you, please write to autoconf@gnu.org." >&5
51412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51413 whose name does not start with the host triplet. If you think this
51414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51415 ac_tool_warned=yes ;;
51417 WINDRES=$ac_ct_WINDRES
51420 WINDRES="$ac_cv_prog_WINDRES"
51425 *-*-darwin* | powerpc-apple-macos* )
51426 # Extract the first word of "Rez", so it can be a program name with args.
51427 set dummy Rez; ac_word=$2
51428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51430 if test "${ac_cv_prog_REZ+set}" = set; then
51431 echo $ECHO_N "(cached) $ECHO_C" >&6
51433 if test -n "$REZ"; then
51434 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51437 for as_dir in $PATH
51440 test -z "$as_dir" && as_dir=.
51441 for ac_exec_ext in '' $ac_executable_extensions; do
51442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51443 ac_cv_prog_REZ="Rez"
51444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51451 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51454 REZ=$ac_cv_prog_REZ
51455 if test -n "$REZ"; then
51456 { echo "$as_me:$LINENO: result: $REZ" >&5
51457 echo "${ECHO_T}$REZ" >&6; }
51459 { echo "$as_me:$LINENO: result: no" >&5
51460 echo "${ECHO_T}no" >&6; }
51464 # Extract the first word of "SetFile", so it can be a program name with args.
51465 set dummy SetFile; ac_word=$2
51466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51468 if test "${ac_cv_prog_SETFILE+set}" = set; then
51469 echo $ECHO_N "(cached) $ECHO_C" >&6
51471 if test -n "$SETFILE"; then
51472 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51475 for as_dir in $PATH
51478 test -z "$as_dir" && as_dir=.
51479 for ac_exec_ext in '' $ac_executable_extensions; do
51480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51481 ac_cv_prog_SETFILE="SetFile"
51482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51489 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51492 SETFILE=$ac_cv_prog_SETFILE
51493 if test -n "$SETFILE"; then
51494 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51495 echo "${ECHO_T}$SETFILE" >&6; }
51497 { echo "$as_me:$LINENO: result: no" >&5
51498 echo "${ECHO_T}no" >&6; }
51513 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51516 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51520 # Check whether --enable-precomp-headers was given.
51521 if test "${enable_precomp_headers+set}" = set; then
51522 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51531 case ${BAKEFILE_HOST} in
51537 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51538 if test "x$GCC" = "xyes"; then
51539 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51540 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51541 cat >conftest.$ac_ext <<_ACEOF
51544 cat confdefs.h >>conftest.$ac_ext
51545 cat >>conftest.$ac_ext <<_ACEOF
51546 /* end confdefs.h. */
51552 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51553 There is no PCH support
51556 There is no PCH support
51558 #if (__GNUC__ == 3) && \
51559 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51560 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51561 ( defined(__INTEL_COMPILER) )
51562 There is no PCH support
51569 rm -f conftest.$ac_objext
51570 if { (ac_try="$ac_compile"
51571 case "(($ac_try" in
51572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51573 *) ac_try_echo
=$ac_try;;
51575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51576 (eval "$ac_compile") 2>conftest.er1
51578 grep -v '^ *+' conftest.er1
>conftest.err
51580 cat conftest.err
>&5
51581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582 (exit $ac_status); } && {
51583 test -z "$ac_c_werror_flag" ||
51584 test ! -s conftest.err
51585 } && test -s conftest.
$ac_objext; then
51587 { echo "$as_me:$LINENO: result: yes" >&5
51588 echo "${ECHO_T}yes" >&6; }
51592 echo "$as_me: failed program was:" >&5
51593 sed 's/^/| /' conftest.
$ac_ext >&5
51596 if test "$INTELCXX8" = "yes"; then
51597 { echo "$as_me:$LINENO: result: yes" >&5
51598 echo "${ECHO_T}yes" >&6; }
51600 if test "$INTELCXX10" = "yes"; then
51601 ICC_PCH_CREATE_SWITCH
="-pch-create"
51602 ICC_PCH_USE_SWITCH
="-pch-use"
51604 ICC_PCH_CREATE_SWITCH
="-create-pch"
51605 ICC_PCH_USE_SWITCH
="-use-pch"
51608 { echo "$as_me:$LINENO: result: no" >&5
51609 echo "${ECHO_T}no" >&6; }
51614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51615 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51619 cat <<EOF >bk-make-pch
51622 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51623 # script. It is used to generated precompiled headers.
51625 # Permission is given to use this file in any way.
51632 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51637 while test ${D}{#} -gt 0; do
51641 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51642 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51643 headerfile="${D}{incdir}/${D}{header}"
51646 -use-pch|-use_pch|-pch-use )
51651 if test ${D}add_to_cmdline = 1 ; then
51652 compiler="${D}{compiler} ${D}{1}"
51657 if test "x${D}{headerfile}" = "x" ; then
51658 echo "error: can't find header ${D}{header} in include paths" >&2
51660 if test -f ${D}{outfile} ; then
51661 rm -f ${D}{outfile}
51663 mkdir -p \`dirname ${D}{outfile}\`
51665 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51666 mkdir -p ${D}{builddir}/.deps
51667 if test "x${GCC_PCH}" = "x1" ; then
51668 # can do this because gcc is >= 3.4:
51669 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51670 elif test "x${ICC_PCH}" = "x1" ; then
51671 filename=pch_gen-${D}${D}
51672 file=${D}{filename}.c
51673 dfile=${D}{filename}.d
51674 cat > ${D}file <<EOT
51675 #include "${D}header"
51677 # using -MF icc complains about differing command lines in creation/use
51678 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51679 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51680 rm -f ${D}file ${D}dfile ${D}{filename}.o
51686 chmod +x bk
-make-pch
51687 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51698 COND_BUILD_DEBUG
="#"
51699 if test "x$BUILD" = "xdebug" ; then
51700 COND_BUILD_DEBUG
=""
51703 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51704 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51705 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51708 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51709 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51710 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51713 COND_BUILD_DEBUG_UNICODE_0
="#"
51714 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51715 COND_BUILD_DEBUG_UNICODE_0
=""
51718 COND_BUILD_DEBUG_UNICODE_1
="#"
51719 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51720 COND_BUILD_DEBUG_UNICODE_1
=""
51723 COND_BUILD_RELEASE
="#"
51724 if test "x$BUILD" = "xrelease" ; then
51725 COND_BUILD_RELEASE
=""
51728 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51729 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51730 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51733 COND_BUILD_RELEASE_UNICODE_0
="#"
51734 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51735 COND_BUILD_RELEASE_UNICODE_0
=""
51738 COND_BUILD_RELEASE_UNICODE_1
="#"
51739 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51740 COND_BUILD_RELEASE_UNICODE_1
=""
51743 COND_BUILD_debug
="#"
51744 if test "x$BUILD" = "xdebug" ; then
51745 COND_BUILD_debug
=""
51748 COND_BUILD_debug_DEBUG_FLAG_default
="#"
51749 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51750 COND_BUILD_debug_DEBUG_FLAG_default
=""
51753 COND_BUILD_debug_DEBUG_INFO_default
="#"
51754 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51755 COND_BUILD_debug_DEBUG_INFO_default
=""
51758 COND_BUILD_debug_UNICODE_0
="#"
51759 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51760 COND_BUILD_debug_UNICODE_0
=""
51763 COND_BUILD_debug_UNICODE_1
="#"
51764 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51765 COND_BUILD_debug_UNICODE_1
=""
51768 COND_BUILD_release
="#"
51769 if test "x$BUILD" = "xrelease" ; then
51770 COND_BUILD_release
=""
51773 COND_BUILD_release_DEBUG_INFO_default
="#"
51774 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51775 COND_BUILD_release_DEBUG_INFO_default
=""
51778 COND_BUILD_release_UNICODE_0
="#"
51779 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51780 COND_BUILD_release_UNICODE_0
=""
51783 COND_BUILD_release_UNICODE_1
="#"
51784 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51785 COND_BUILD_release_UNICODE_1
=""
51788 COND_DEBUG_FLAG_0
="#"
51789 if test "x$DEBUG_FLAG" = "x0" ; then
51790 COND_DEBUG_FLAG_0
=""
51793 COND_DEBUG_FLAG_1
="#"
51794 if test "x$DEBUG_FLAG" = "x1" ; then
51795 COND_DEBUG_FLAG_1
=""
51798 COND_DEBUG_INFO_0
="#"
51799 if test "x$DEBUG_INFO" = "x0" ; then
51800 COND_DEBUG_INFO_0
=""
51803 COND_DEBUG_INFO_1
="#"
51804 if test "x$DEBUG_INFO" = "x1" ; then
51805 COND_DEBUG_INFO_1
=""
51808 COND_DEPS_TRACKING_0
="#"
51809 if test "x$DEPS_TRACKING" = "x0" ; then
51810 COND_DEPS_TRACKING_0
=""
51813 COND_DEPS_TRACKING_1
="#"
51814 if test "x$DEPS_TRACKING" = "x1" ; then
51815 COND_DEPS_TRACKING_1
=""
51819 if test "x$GCC_PCH" = "x1" ; then
51824 if test "x$ICC_PCH" = "x1" ; then
51828 COND_MONOLITHIC_0
="#"
51829 if test "x$MONOLITHIC" = "x0" ; then
51830 COND_MONOLITHIC_0
=""
51833 COND_MONOLITHIC_0_SHARED_0
="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51835 COND_MONOLITHIC_0_SHARED_0
=""
51838 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51858 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51863 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
51868 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
51873 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51875 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51878 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51880 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51883 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51885 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51888 COND_MONOLITHIC_0_SHARED_1
="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51890 COND_MONOLITHIC_0_SHARED_1
=""
51893 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51895 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51910 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51913 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51915 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51918 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51920 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
51923 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51925 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
51928 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51930 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51933 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51935 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51938 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51940 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51943 COND_MONOLITHIC_0_USE_AUI_1
="#"
51944 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51945 COND_MONOLITHIC_0_USE_AUI_1
=""
51948 COND_MONOLITHIC_0_USE_GUI_1
="#"
51949 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51950 COND_MONOLITHIC_0_USE_GUI_1
=""
51953 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51954 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51955 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51958 COND_MONOLITHIC_0_USE_HTML_1
="#"
51959 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51960 COND_MONOLITHIC_0_USE_HTML_1
=""
51963 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51964 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51965 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51968 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
51969 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51970 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
51973 COND_MONOLITHIC_0_USE_QA_1
="#"
51974 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51975 COND_MONOLITHIC_0_USE_QA_1
=""
51978 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
51979 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51980 COND_MONOLITHIC_0_USE_RIBBON_1
=""
51983 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51984 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51985 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51988 COND_MONOLITHIC_0_USE_STC_1
="#"
51989 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51990 COND_MONOLITHIC_0_USE_STC_1
=""
51993 COND_MONOLITHIC_0_USE_XRC_1
="#"
51994 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51995 COND_MONOLITHIC_0_USE_XRC_1
=""
51998 COND_MONOLITHIC_1
="#"
51999 if test "x$MONOLITHIC" = "x1" ; then
52000 COND_MONOLITHIC_1
=""
52003 COND_MONOLITHIC_1_SHARED_0
="#"
52004 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52005 COND_MONOLITHIC_1_SHARED_0
=""
52008 COND_MONOLITHIC_1_SHARED_1
="#"
52009 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52010 COND_MONOLITHIC_1_SHARED_1
=""
52013 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
52014 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52015 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
52018 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
52019 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52020 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
52023 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
52024 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52025 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
52028 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
52029 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52030 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
52033 COND_PLATFORM_MACOSX_1
="#"
52034 if test "x$PLATFORM_MACOSX" = "x1" ; then
52035 COND_PLATFORM_MACOSX_1
=""
52038 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
52039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52040 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
52043 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
52044 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52045 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
52048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52049 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52050 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52053 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
52054 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52055 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
52058 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52059 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52063 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
52064 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52065 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
52068 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52069 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52070 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52073 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52074 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52075 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52078 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
52079 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52080 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
52083 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
52084 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52085 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
52088 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
52089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52090 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52093 COND_PLATFORM_MACOS_1
="#"
52094 if test "x$PLATFORM_MACOS" = "x1" ; then
52095 COND_PLATFORM_MACOS_1
=""
52098 COND_PLATFORM_MAC_0
="#"
52099 if test "x$PLATFORM_MAC" = "x0" ; then
52100 COND_PLATFORM_MAC_0
=""
52103 COND_PLATFORM_MAC_1
="#"
52104 if test "x$PLATFORM_MAC" = "x1" ; then
52105 COND_PLATFORM_MAC_1
=""
52108 COND_PLATFORM_MSDOS_0
="#"
52109 if test "x$PLATFORM_MSDOS" = "x0" ; then
52110 COND_PLATFORM_MSDOS_0
=""
52113 COND_PLATFORM_MSDOS_1
="#"
52114 if test "x$PLATFORM_MSDOS" = "x1" ; then
52115 COND_PLATFORM_MSDOS_1
=""
52118 COND_PLATFORM_OS2_1
="#"
52119 if test "x$PLATFORM_OS2" = "x1" ; then
52120 COND_PLATFORM_OS2_1
=""
52123 COND_PLATFORM_UNIX_0
="#"
52124 if test "x$PLATFORM_UNIX" = "x0" ; then
52125 COND_PLATFORM_UNIX_0
=""
52128 COND_PLATFORM_UNIX_1
="#"
52129 if test "x$PLATFORM_UNIX" = "x1" ; then
52130 COND_PLATFORM_UNIX_1
=""
52133 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52134 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52135 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52138 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52139 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52140 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52143 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52144 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52145 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52148 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52149 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52150 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52153 COND_PLATFORM_WIN32_0
="#"
52154 if test "x$PLATFORM_WIN32" = "x0" ; then
52155 COND_PLATFORM_WIN32_0
=""
52158 COND_PLATFORM_WIN32_1
="#"
52159 if test "x$PLATFORM_WIN32" = "x1" ; then
52160 COND_PLATFORM_WIN32_1
=""
52163 COND_PLATFORM_WIN32_1_SHARED_0
="#"
52164 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52165 COND_PLATFORM_WIN32_1_SHARED_0
=""
52169 if test "x$SHARED" = "x0" ; then
52173 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52174 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52175 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52178 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52179 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52180 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52183 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52184 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52185 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52188 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52189 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52190 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52193 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52194 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52195 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52198 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52199 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52200 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52203 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52204 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52205 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52208 COND_SHARED_0_USE_STC_1
="#"
52209 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52210 COND_SHARED_0_USE_STC_1
=""
52213 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
52214 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52215 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
52218 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
52219 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52220 COND_SHARED_0_wxUSE_REGEX_builtin
=""
52223 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
52224 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52225 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
52229 if test "x$SHARED" = "x1" ; then
52233 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52234 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52235 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52239 if test "x$TOOLKIT" = "x" ; then
52243 COND_TOOLKIT_COCOA
="#"
52244 if test "x$TOOLKIT" = "xCOCOA" ; then
52245 COND_TOOLKIT_COCOA
=""
52248 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52249 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52250 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52253 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52254 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52255 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52258 COND_TOOLKIT_DFB
="#"
52259 if test "x$TOOLKIT" = "xDFB" ; then
52260 COND_TOOLKIT_DFB
=""
52263 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52264 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52265 COND_TOOLKIT_DFB_USE_GUI_1
=""
52268 COND_TOOLKIT_GTK
="#"
52269 if test "x$TOOLKIT" = "xGTK" ; then
52270 COND_TOOLKIT_GTK
=""
52273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52274 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52275 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52279 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52284 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52289 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52293 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52294 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52295 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52298 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52299 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52300 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52303 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52304 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52305 COND_TOOLKIT_GTK_USE_GUI_1
=""
52308 COND_TOOLKIT_MAC
="#"
52309 if test "x$TOOLKIT" = "xMAC" ; then
52310 COND_TOOLKIT_MAC
=""
52313 COND_TOOLKIT_MGL
="#"
52314 if test "x$TOOLKIT" = "xMGL" ; then
52315 COND_TOOLKIT_MGL
=""
52318 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52319 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52320 COND_TOOLKIT_MGL_USE_GUI_1
=""
52323 COND_TOOLKIT_MOTIF
="#"
52324 if test "x$TOOLKIT" = "xMOTIF" ; then
52325 COND_TOOLKIT_MOTIF
=""
52328 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52329 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52330 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52333 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52334 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52335 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52338 COND_TOOLKIT_MSW
="#"
52339 if test "x$TOOLKIT" = "xMSW" ; then
52340 COND_TOOLKIT_MSW
=""
52343 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52344 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52345 COND_TOOLKIT_MSW_USE_GUI_1
=""
52348 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52349 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52350 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52353 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52354 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52355 COND_TOOLKIT_MSW_WXUNIV_0
=""
52358 COND_TOOLKIT_OSX_CARBON
="#"
52359 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52360 COND_TOOLKIT_OSX_CARBON
=""
52363 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52364 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52365 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52368 COND_TOOLKIT_OSX_COCOA
="#"
52369 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52370 COND_TOOLKIT_OSX_COCOA
=""
52373 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52374 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52375 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52378 COND_TOOLKIT_OSX_IPHONE
="#"
52379 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52380 COND_TOOLKIT_OSX_IPHONE
=""
52383 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52384 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52385 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52388 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52389 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52390 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52393 COND_TOOLKIT_PM
="#"
52394 if test "x$TOOLKIT" = "xPM" ; then
52398 COND_TOOLKIT_PM_USE_GUI_1
="#"
52399 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52400 COND_TOOLKIT_PM_USE_GUI_1
=""
52403 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52404 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52405 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52408 COND_TOOLKIT_WINCE
="#"
52409 if test "x$TOOLKIT" = "xWINCE" ; then
52410 COND_TOOLKIT_WINCE
=""
52413 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52414 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52415 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52418 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52419 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52420 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52423 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52424 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52425 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52428 COND_TOOLKIT_X11
="#"
52429 if test "x$TOOLKIT" = "xX11" ; then
52430 COND_TOOLKIT_X11
=""
52433 COND_TOOLKIT_X11_USE_GUI_1
="#"
52434 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52435 COND_TOOLKIT_X11_USE_GUI_1
=""
52439 if test "x$UNICODE" = "x1" ; then
52443 COND_USE_CAIRO_1
="#"
52444 if test "x$USE_CAIRO" = "x1" ; then
52445 COND_USE_CAIRO_1
=""
52448 COND_USE_EXCEPTIONS_0
="#"
52449 if test "x$USE_EXCEPTIONS" = "x0" ; then
52450 COND_USE_EXCEPTIONS_0
=""
52453 COND_USE_EXCEPTIONS_1
="#"
52454 if test "x$USE_EXCEPTIONS" = "x1" ; then
52455 COND_USE_EXCEPTIONS_1
=""
52459 if test "x$USE_GUI" = "x0" ; then
52464 if test "x$USE_GUI" = "x1" ; then
52468 COND_USE_GUI_1_USE_OPENGL_1
="#"
52469 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52470 COND_USE_GUI_1_USE_OPENGL_1
=""
52473 COND_USE_GUI_1_WXUNIV_0
="#"
52474 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52475 COND_USE_GUI_1_WXUNIV_0
=""
52478 COND_USE_GUI_1_WXUNIV_1
="#"
52479 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52480 COND_USE_GUI_1_WXUNIV_1
=""
52483 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52484 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52485 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52488 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52489 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52490 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52493 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52494 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52495 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52498 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52499 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52500 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52503 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52504 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52505 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52508 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52510 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52513 COND_USE_OPENGL_1
="#"
52514 if test "x$USE_OPENGL" = "x1" ; then
52515 COND_USE_OPENGL_1
=""
52519 if test "x$USE_PCH" = "x1" ; then
52523 COND_USE_PLUGINS_0
="#"
52524 if test "x$USE_PLUGINS" = "x0" ; then
52525 COND_USE_PLUGINS_0
=""
52528 COND_USE_RTTI_0
="#"
52529 if test "x$USE_RTTI" = "x0" ; then
52533 COND_USE_RTTI_1
="#"
52534 if test "x$USE_RTTI" = "x1" ; then
52538 COND_USE_SOTWOSYMLINKS_1
="#"
52539 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52540 COND_USE_SOTWOSYMLINKS_1
=""
52543 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52544 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52545 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52548 COND_USE_SOVERLINUX_1
="#"
52549 if test "x$USE_SOVERLINUX" = "x1" ; then
52550 COND_USE_SOVERLINUX_1
=""
52553 COND_USE_SOVERSION_0
="#"
52554 if test "x$USE_SOVERSION" = "x0" ; then
52555 COND_USE_SOVERSION_0
=""
52558 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
52559 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52560 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
52563 COND_USE_SOVERSOLARIS_1
="#"
52564 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52565 COND_USE_SOVERSOLARIS_1
=""
52569 if test "x$USE_STC" = "x1" ; then
52573 COND_USE_THREADS_0
="#"
52574 if test "x$USE_THREADS" = "x0" ; then
52575 COND_USE_THREADS_0
=""
52578 COND_USE_THREADS_1
="#"
52579 if test "x$USE_THREADS" = "x1" ; then
52580 COND_USE_THREADS_1
=""
52584 if test "x$USE_XRC" = "x1" ; then
52588 COND_WINDOWS_IMPLIB_1
="#"
52589 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52590 COND_WINDOWS_IMPLIB_1
=""
52593 COND_WITH_PLUGIN_SDL_1
="#"
52594 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52595 COND_WITH_PLUGIN_SDL_1
=""
52599 if test "x$WXUNIV" = "x0" ; then
52604 if test "x$WXUNIV" = "x1" ; then
52608 COND_WXUSE_EXPAT_BUILTIN
="#"
52609 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52610 COND_WXUSE_EXPAT_BUILTIN
=""
52613 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52614 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52615 COND_WXUSE_LIBJPEG_BUILTIN
=""
52618 COND_WXUSE_LIBPNG_BUILTIN
="#"
52619 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52620 COND_WXUSE_LIBPNG_BUILTIN
=""
52623 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52624 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52625 COND_WXUSE_LIBTIFF_BUILTIN
=""
52628 COND_WXUSE_REGEX_BUILTIN
="#"
52629 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52630 COND_WXUSE_REGEX_BUILTIN
=""
52633 COND_WXUSE_ZLIB_BUILTIN
="#"
52634 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52635 COND_WXUSE_ZLIB_BUILTIN
=""
52638 COND_wxUSE_EXPAT_builtin
="#"
52639 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52640 COND_wxUSE_EXPAT_builtin
=""
52643 COND_wxUSE_LIBJPEG_builtin
="#"
52644 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52645 COND_wxUSE_LIBJPEG_builtin
=""
52648 COND_wxUSE_LIBPNG_builtin
="#"
52649 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52650 COND_wxUSE_LIBPNG_builtin
=""
52653 COND_wxUSE_LIBTIFF_builtin
="#"
52654 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52655 COND_wxUSE_LIBTIFF_builtin
=""
52658 COND_wxUSE_REGEX_builtin
="#"
52659 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52660 COND_wxUSE_REGEX_builtin
=""
52663 COND_wxUSE_ZLIB_builtin
="#"
52664 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52665 COND_wxUSE_ZLIB_builtin
=""
52670 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52671 { { 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
52672 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;}
52673 { (exit 1); exit 1; }; }
52676 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52677 { { 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
52678 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;}
52679 { (exit 1); exit 1; }; }
52686 ?
:* ) # Drive letter, considered as absolute.
52689 INSTALL
=`pwd`/${INSTALL} ;;
52692 if test "$wxUSE_GUI" = "yes"; then
52694 if test "$wxUSE_MSW" = 1 ; then
52695 if test "x$WINDRES" = "x"; then
52696 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52697 echo "$as_me: error: Required windres program not found" >&2;}
52698 { (exit 1); exit 1; }; }
52704 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52705 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52706 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52708 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52710 # Extract the first word of "DeRez", so it can be a program name with args.
52711 set dummy DeRez
; ac_word
=$2
52712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52714 if test "${ac_cv_prog_DEREZ+set}" = set; then
52715 echo $ECHO_N "(cached) $ECHO_C" >&6
52717 if test -n "$DEREZ"; then
52718 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52721 for as_dir
in $PATH
52724 test -z "$as_dir" && as_dir
=.
52725 for ac_exec_ext
in '' $ac_executable_extensions; do
52726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52727 ac_cv_prog_DEREZ
="DeRez"
52728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52735 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52738 DEREZ
=$ac_cv_prog_DEREZ
52739 if test -n "$DEREZ"; then
52740 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52741 echo "${ECHO_T}$DEREZ" >&6; }
52743 { echo "$as_me:$LINENO: result: no" >&5
52744 echo "${ECHO_T}no" >&6; }
52749 MACSETFILE
="\$(SETFILE)"
52751 if test "$wxUSE_OSX_CARBON" = 1; then
52752 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52754 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52756 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52757 RESCOMP
="cat /dev/null \| $REZ"
52758 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52764 if test "$wxUSE_PM" = 1; then
52766 WXCONFIG_RESFLAGS
="-ep"
52768 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52770 POSTLINK_COMMAND
="@true"
52777 if test $GCC_PCH = 1
52779 if test "$wx_cv_gcc_pch_bug" = yes; then
52780 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52781 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52782 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52783 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52784 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52785 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52788 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52789 # the headers that benefit from precompilation are mostly C++ headers.
52790 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
52791 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52792 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52796 if test "$wxUSE_MAC" = 1 ; then
52797 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52798 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52804 if test "$wxUSE_SHARED" = "yes"; then
52806 *-pc-os2_emx | *-pc-os2-emx )
52807 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52808 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52809 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52810 cp -p ${srcdir}/src
/os
2/dllar.sh .
52814 if test "$wxUSE_OMF" = "yes"; then
52816 *-pc-os2_emx | *-pc-os2-emx )
52817 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52818 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52819 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52824 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52829 if test "$GCC" = yes; then
52830 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52831 LIBS
=`echo $LIBS | sed 's/-mt//'`
52832 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52837 if test "x$SUNCXX" = xyes
; then
52838 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52839 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52840 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52845 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52846 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52847 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
52848 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52850 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52911 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52912 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52913 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52914 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52915 echo $ECHO_N "(cached) $ECHO_C" >&6
52917 cat >conftest.
make <<\_ACEOF
52920 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52923 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52924 *@@@
%%%=?
*=@@@
%%%*)
52925 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52927 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52929 rm -f conftest.
make
52931 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52932 { echo "$as_me:$LINENO: result: yes" >&5
52933 echo "${ECHO_T}yes" >&6; }
52936 { echo "$as_me:$LINENO: result: no" >&5
52937 echo "${ECHO_T}no" >&6; }
52938 SET_MAKE
="MAKE=${MAKE-make}"
52943 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52946 if test "$USE_WIN32" = 1; then
52947 ac_config_commands
="$ac_config_commands rcdefs.h"
52951 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52954 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52957 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
52960 if test "$wx_cv_version_script" = "yes"; then
52961 ac_config_files
="$ac_config_files version-script"
52964 ac_config_files
="$ac_config_files Makefile"
52967 ac_config_commands
="$ac_config_commands wx-config"
52971 if test "$wxWITH_SUBDIRS" != "no"; then
52972 if test "$wxUSE_GUI" = "yes"; then
52973 SUBDIRS
="samples demos utils"
52975 SUBDIRS
="samples utils"
52980 # Check whether --with-cppunit-prefix was given.
52981 if test "${with_cppunit_prefix+set}" = set; then
52982 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52984 cppunit_config_prefix
=""
52988 # Check whether --with-cppunit-exec-prefix was given.
52989 if test "${with_cppunit_exec_prefix+set}" = set; then
52990 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52992 cppunit_config_exec_prefix
=""
52996 if test x
$cppunit_config_exec_prefix != x
; then
52997 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52998 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52999 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
53002 if test x
$cppunit_config_prefix != x
; then
53003 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
53004 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53005 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
53009 # Extract the first word of "cppunit-config", so it can be a program name with args.
53010 set dummy cppunit
-config; ac_word
=$2
53011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53013 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53014 echo $ECHO_N "(cached) $ECHO_C" >&6
53016 case $CPPUNIT_CONFIG in
53018 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53022 for as_dir
in $PATH
53025 test -z "$as_dir" && as_dir
=.
53026 for ac_exec_ext
in '' $ac_executable_extensions; do
53027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53028 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
53029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53036 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
53040 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
53041 if test -n "$CPPUNIT_CONFIG"; then
53042 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53043 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53045 { echo "$as_me:$LINENO: result: no" >&5
53046 echo "${ECHO_T}no" >&6; }
53050 cppunit_version_min
=1.8.0
53052 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53053 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53055 if test "$CPPUNIT_CONFIG" = "no" ; then
53056 { echo "$as_me:$LINENO: result: no" >&5
53057 echo "${ECHO_T}no" >&6; }
53060 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
53061 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
53062 cppunit_version
=`$CPPUNIT_CONFIG --version`
53064 cppunit_major_version
=`echo $cppunit_version | \
53065 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53066 cppunit_minor_version
=`echo $cppunit_version | \
53067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53068 cppunit_micro_version
=`echo $cppunit_version | \
53069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53071 cppunit_major_min
=`echo $cppunit_version_min | \
53072 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53073 cppunit_minor_min
=`echo $cppunit_version_min | \
53074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53075 cppunit_micro_min
=`echo $cppunit_version_min | \
53076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53078 cppunit_version_proper
=`expr \
53079 $cppunit_major_version \> $cppunit_major_min \| \
53080 $cppunit_major_version \= $cppunit_major_min \& \
53081 $cppunit_minor_version \> $cppunit_minor_min \| \
53082 $cppunit_major_version \= $cppunit_major_min \& \
53083 $cppunit_minor_version \= $cppunit_minor_min \& \
53084 $cppunit_micro_version \>= $cppunit_micro_min `
53086 if test "$cppunit_version_proper" = "1" ; then
53087 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53088 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53090 { echo "$as_me:$LINENO: result: no" >&5
53091 echo "${ECHO_T}no" >&6; }
53096 if test "x$no_cppunit" = x
; then
53097 SUBDIRS
="$SUBDIRS tests"
53108 for subdir
in $SUBDIRS; do
53109 if test -d ${srcdir}/${subdir} ; then
53110 if test "$wxUSE_GUI" = "yes"; then
53111 if test ${subdir} = "samples"; then
53112 makefiles
="samples/Makefile.in $makefiles"
53113 for sample
in $SAMPLES_SUBDIRS; do
53114 if test -d $srcdir/samples
/$sample; then
53115 makefiles
="samples/$sample/Makefile.in $makefiles"
53119 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
53120 eval "disabled=\$$disabled_var"
53121 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53122 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53125 if test ${subdir} = "samples"; then
53126 makefiles
="samples/Makefile.in $makefiles"
53127 for sample
in `echo $SAMPLES_SUBDIRS`; do
53128 if test -d $srcdir/samples
/$sample; then
53129 makefiles
="samples/$sample/Makefile.in $makefiles"
53132 elif test ${subdir} = "utils"; then
53134 for util
in ifacecheck
; do
53135 if test -d $srcdir/utils
/$util ; then
53136 makefiles
="utils/$util/src/Makefile.in \
53141 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53145 for mkin
in $makefiles ; do
53146 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53147 ac_config_files
="$ac_config_files $mk"
53153 cat >confcache
<<\_ACEOF
53154 # This file is a shell script that caches the results of configure
53155 # tests run on this system so they can be shared between configure
53156 # scripts and configure runs, see configure's option --config-cache.
53157 # It is not useful on other systems. If it contains results you don't
53158 # want to keep, you may remove or edit it.
53160 # config.status only pays attention to the cache file if you give it
53161 # the --recheck option to rerun configure.
53163 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53164 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53165 # following values.
53169 # The following way of writing the cache mishandles newlines in values,
53170 # but we know of no workaround that is simple, portable, and efficient.
53171 # So, we kill variables containing newlines.
53172 # Ultrix sh set writes to stderr and can't be redirected directly,
53173 # and sets the high bit in the cache file unless we assign to the vars.
53175 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53176 eval ac_val
=\$
$ac_var
53180 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53181 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53184 _
| IFS
| as_nl
) ;; #(
53185 *) $as_unset $ac_var ;;
53191 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53192 *${as_nl}ac_space
=\
*)
53193 # `set' does not quote correctly, so add quotes (double-quote
53194 # substitution turns \\\\ into \\, and sed turns \\ into \).
53197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53200 # `set' quotes correctly as required by POSIX, so do not add quotes.
53201 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53210 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53212 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53214 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53215 if test -w "$cache_file"; then
53216 test "x$cache_file" != "x/dev/null" &&
53217 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53218 echo "$as_me: updating cache $cache_file" >&6;}
53219 cat confcache
>$cache_file
53221 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53222 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53227 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53228 # Let make expand exec_prefix.
53229 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53231 DEFS
=-DHAVE_CONFIG_H
53235 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53236 # 1. Remove the extension, and $U if already installed.
53237 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53238 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53239 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53240 # will be set to the directory where LIBOBJS objects are built.
53241 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53242 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53244 LIBOBJS
=$ac_libobjs
53246 LTLIBOBJS
=$ac_ltlibobjs
53250 : ${CONFIG_STATUS=./config.status}
53251 ac_clean_files_save
=$ac_clean_files
53252 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53253 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53254 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53255 cat >$CONFIG_STATUS <<_ACEOF
53257 # Generated by $as_me.
53258 # Run this file to recreate the current configuration.
53259 # Compiler output produced by configure, useful for debugging
53260 # configure, is in config.log if it exists.
53263 ac_cs_recheck=false
53265 SHELL=\${CONFIG_SHELL-$SHELL}
53268 cat >>$CONFIG_STATUS <<\_ACEOF
53269 ## --------------------- ##
53270 ## M4sh Initialization. ##
53271 ## --------------------- ##
53273 # Be more Bourne compatible
53274 DUALCASE
=1; export DUALCASE
# for MKS sh
53275 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53278 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53279 # is contrary to our usage. Disable this feature.
53280 alias -g '${1+"$@"}'='"$@"'
53281 setopt NO_GLOB_SUBST
53283 case `(set -o) 2>/dev/null` in
53284 *posix
*) set -o posix
;;
53293 # Avoid depending upon Character Ranges.
53294 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53295 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53296 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53297 as_cr_digits
='0123456789'
53298 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53300 # The user is always right.
53301 if test "${PATH_SEPARATOR+set}" != set; then
53302 echo "#! /bin/sh" >conf$$.sh
53303 echo "exit 0" >>conf$$.sh
53305 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53313 # Support unset when possible.
53314 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53322 # We need space, tab and new line, in precisely that order. Quoting is
53323 # there to prevent editors from complaining about space-tab.
53324 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53325 # splitting by setting IFS to empty value.)
53330 # Find who we are. Look in the path if we contain no directory separator.
53332 *[\\/]* ) as_myself
=$0 ;;
53333 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53334 for as_dir
in $PATH
53337 test -z "$as_dir" && as_dir
=.
53338 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53344 # We did not find ourselves, most probably we were run as `sh COMMAND'
53345 # in which case we are not to be found in the path.
53346 if test "x$as_myself" = x
; then
53349 if test ! -f "$as_myself"; then
53350 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53351 { (exit 1); exit 1; }
53354 # Work around bugs in pre-3.0 UWIN ksh.
53355 for as_var
in ENV MAIL MAILPATH
53356 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53364 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53365 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53366 LC_TELEPHONE LC_TIME
53368 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53369 eval $as_var=C
; export $as_var
53371 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53375 # Required to use basename.
53376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53384 as_basename
=basename
53390 # Name of the executable.
53391 as_me
=`$as_basename -- "$0" ||
53392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53393 X"$0" : 'X\(//\)$' \| \
53394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53396 sed '/^.*\/\([^/][^/]*\)\/*$/{
53415 as_lineno_1
=$LINENO
53416 as_lineno_2
=$LINENO
53417 test "x$as_lineno_1" != "x$as_lineno_2" &&
53418 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53421 # uniformly replaced by the line number. The first 'sed' inserts a
53422 # line-number line after each line using $LINENO; the second 'sed'
53423 # does the real work. The second script uses 'N' to pair each
53424 # line-number line with the line containing $LINENO, and appends
53425 # trailing '-' during substitution so that $LINENO is not a special
53426 # case at line end.
53427 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53428 # scripts with optimization help from Paolo Bonzini. Blame Lee
53429 # E. McMahon (1931-1989) for sed's syntax. :-)
53441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53444 ' >$as_me.lineno
&&
53445 chmod +x
"$as_me.lineno" ||
53446 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53447 { (exit 1); exit 1; }; }
53449 # Don't try to exec as it changes $[0], causing all sort of problems
53450 # (the dirname of $[0] is not the place where we might find the
53451 # original and so on. Autoconf is especially sensitive to this).
53452 .
"./$as_me.lineno"
53453 # Exit status is that of the last command.
53458 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53464 ECHO_C
= ECHO_N
= ECHO_T
=
53465 case `echo -n x` in
53467 case `echo 'x\c'` in
53468 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53475 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53476 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53482 rm -f conf$$ conf$$.exe conf$$.
file
53483 if test -d conf$$.dir
; then
53484 rm -f conf$$.dir
/conf$$.
file
53490 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53492 # ... but there are two gotchas:
53493 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53494 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53495 # In both cases, we have to default to `cp -p'.
53496 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53498 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53503 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53504 rmdir conf$$.dir
2>/dev
/null
53506 if mkdir -p .
2>/dev
/null
; then
53509 test -d .
/-p && rmdir .
/-p
53513 if test -x / >/dev
/null
2>&1; then
53514 as_test_x
='test -x'
53516 if ls -dL / >/dev
/null
2>&1; then
53523 if test -d "$1"; then
53529 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53530 ???[sx]*):;;*)false;;esac;fi
53534 as_executable_p
=$as_test_x
53536 # Sed expression to map a string onto a valid CPP name.
53537 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53539 # Sed expression to map a string onto a valid variable name.
53540 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53545 # Save the log message, to keep $[0] and so on meaningful, and to
53546 # report actual input values of CONFIG_FILES etc. instead of their
53547 # values after options handling.
53549 This file was extended by wxWidgets $as_me 2.9.3, which was
53550 generated by GNU Autoconf 2.61. Invocation command line was
53552 CONFIG_FILES = $CONFIG_FILES
53553 CONFIG_HEADERS = $CONFIG_HEADERS
53554 CONFIG_LINKS = $CONFIG_LINKS
53555 CONFIG_COMMANDS = $CONFIG_COMMANDS
53558 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53563 cat >>$CONFIG_STATUS <<_ACEOF
53564 # Files that config.status was made for.
53565 config_files="$ac_config_files"
53566 config_headers="$ac_config_headers"
53567 config_commands="$ac_config_commands"
53571 cat >>$CONFIG_STATUS <<\_ACEOF
53573 \`$as_me' instantiates files from templates according to the
53574 current configuration.
53576 Usage: $0 [OPTIONS] [FILE]...
53578 -h, --help print this help, then exit
53579 -V, --version print version number and configuration settings, then exit
53580 -q, --quiet do not print progress messages
53581 -d, --debug don't remove temporary files
53582 --recheck update $as_me by reconfiguring in the same conditions
53583 --file=FILE[:TEMPLATE]
53584 instantiate the configuration file FILE
53585 --header=FILE[:TEMPLATE]
53586 instantiate the configuration header FILE
53588 Configuration files:
53591 Configuration headers:
53594 Configuration commands:
53597 Report bugs to <bug-autoconf@gnu.org>."
53600 cat >>$CONFIG_STATUS <<_ACEOF
53602 wxWidgets config.status 2.9.3
53603 configured by $0, generated by GNU Autoconf 2.61,
53604 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53606 Copyright (C) 2006 Free Software Foundation, Inc.
53607 This config.status script is free software; the Free Software Foundation
53608 gives unlimited permission to copy, distribute and modify it."
53615 cat >>$CONFIG_STATUS <<\_ACEOF
53616 # If no file are specified by the user, then we need to provide default
53617 # value. By we need to know if files were specified by the user.
53623 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53624 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53635 # Handling of the options.
53636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53638 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53639 echo "$ac_cs_version"; exit ;;
53640 --debug | --debu | --deb | --de | --d | -d )
53642 --file | --fil | --fi | --f )
53644 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53645 ac_need_defaults
=false
;;
53646 --header | --heade | --head | --hea )
53648 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53649 ac_need_defaults
=false
;;
53651 # Conflict between --help and --header
53652 { echo "$as_me: error: ambiguous option: $1
53653 Try \`$0 --help' for more information." >&2
53654 { (exit 1); exit 1; }; };;
53655 --help | --hel | -h )
53656 echo "$ac_cs_usage"; exit ;;
53657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53658 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53661 # This is an error.
53662 -*) { echo "$as_me: error: unrecognized option: $1
53663 Try \`$0 --help' for more information." >&2
53664 { (exit 1); exit 1; }; } ;;
53666 *) ac_config_targets
="$ac_config_targets $1"
53667 ac_need_defaults
=false
;;
53673 ac_configure_extra_args
=
53675 if $ac_cs_silent; then
53677 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53681 cat >>$CONFIG_STATUS <<_ACEOF
53682 if \$ac_cs_recheck; then
53683 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53684 CONFIG_SHELL=$SHELL
53685 export CONFIG_SHELL
53686 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53690 cat >>$CONFIG_STATUS <<\_ACEOF
53694 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53695 ## Running $as_me. ##
53701 cat >>$CONFIG_STATUS <<_ACEOF
53707 infile="$srcdir/include/wx/msw/genrcdefs.h"
53708 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53711 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53712 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53713 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53719 cat >>$CONFIG_STATUS <<\_ACEOF
53721 # Handling of arguments.
53722 for ac_config_target
in $ac_config_targets
53724 case $ac_config_target in
53725 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53726 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53727 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53728 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53729 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53730 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53731 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53732 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53733 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53735 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53736 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53737 { (exit 1); exit 1; }; };;
53742 # If the user did not use the arguments to specify the items to instantiate,
53743 # then the envvar interface is used. Set only those that are not.
53744 # We use the long form for the default assignment because of an extremely
53745 # bizarre bug on SunOS 4.1.3.
53746 if $ac_need_defaults; then
53747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53748 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53749 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53752 # Have a temporary directory for convenience. Make it in the build tree
53753 # simply because there is no reason against having it here, and in addition,
53754 # creating and moving files from /tmp can sometimes cause problems.
53755 # Hook for its removal unless debugging.
53756 # Note that there is a small window in which the directory will not be cleaned:
53757 # after its creation but before its name has been assigned to `$tmp'.
53761 trap 'exit_status=$?
53762 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53764 trap '{ (exit 1); exit 1; }' 1 2 13 15
53766 # Create a (secure) tmp directory for tmp files.
53769 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53770 test -n "$tmp" && test -d "$tmp"
53773 tmp
=.
/conf$$
-$RANDOM
53774 (umask 077 && mkdir "$tmp")
53777 echo "$me: cannot create a temporary directory in ." >&2
53778 { (exit 1); exit 1; }
53782 # Set up the sed scripts for CONFIG_FILES section.
53785 # No need to generate the scripts if there are no CONFIG_FILES.
53786 # This happens for instance when ./config.status config.h
53787 if test -n "$CONFIG_FILES"; then
53794 for ac_last_try
in false false false false false
:; do
53795 cat >conf$
$subs.
sed <<_ACEOF
53796 SHELL!$SHELL$ac_delim
53797 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53798 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53799 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53800 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53801 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53802 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53803 exec_prefix!$exec_prefix$ac_delim
53804 prefix!$prefix$ac_delim
53805 program_transform_name!$program_transform_name$ac_delim
53806 bindir!$bindir$ac_delim
53807 sbindir!$sbindir$ac_delim
53808 libexecdir!$libexecdir$ac_delim
53809 datarootdir!$datarootdir$ac_delim
53810 datadir!$datadir$ac_delim
53811 sysconfdir!$sysconfdir$ac_delim
53812 sharedstatedir!$sharedstatedir$ac_delim
53813 localstatedir!$localstatedir$ac_delim
53814 includedir!$includedir$ac_delim
53815 oldincludedir!$oldincludedir$ac_delim
53816 docdir!$docdir$ac_delim
53817 infodir!$infodir$ac_delim
53818 htmldir!$htmldir$ac_delim
53819 dvidir!$dvidir$ac_delim
53820 pdfdir!$pdfdir$ac_delim
53821 psdir!$psdir$ac_delim
53822 libdir!$libdir$ac_delim
53823 localedir!$localedir$ac_delim
53824 mandir!$mandir$ac_delim
53825 DEFS!$DEFS$ac_delim
53826 ECHO_C!$ECHO_C$ac_delim
53827 ECHO_N!$ECHO_N$ac_delim
53828 ECHO_T!$ECHO_T$ac_delim
53829 LIBS!$LIBS$ac_delim
53830 build_alias!$build_alias$ac_delim
53831 host_alias!$host_alias$ac_delim
53832 target_alias!$target_alias$ac_delim
53833 build!$build$ac_delim
53834 build_cpu!$build_cpu$ac_delim
53835 build_vendor!$build_vendor$ac_delim
53836 build_os!$build_os$ac_delim
53837 host!$host$ac_delim
53838 host_cpu!$host_cpu$ac_delim
53839 host_vendor!$host_vendor$ac_delim
53840 host_os!$host_os$ac_delim
53841 wx_top_builddir!$wx_top_builddir$ac_delim
53843 CFLAGS!$CFLAGS$ac_delim
53844 LDFLAGS!$LDFLAGS$ac_delim
53845 CPPFLAGS!$CPPFLAGS$ac_delim
53846 ac_ct_CC!$ac_ct_CC$ac_delim
53847 EXEEXT!$EXEEXT$ac_delim
53848 OBJEXT!$OBJEXT$ac_delim
53850 GREP!$GREP$ac_delim
53851 EGREP!$EGREP$ac_delim
53853 CXXFLAGS!$CXXFLAGS$ac_delim
53854 ac_ct_CXX!$ac_ct_CXX$ac_delim
53856 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53857 CXXCPP!$CXXCPP$ac_delim
53858 subdirs!$subdirs$ac_delim
53859 PKG_CONFIG!$PKG_CONFIG$ac_delim
53860 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53861 GTK_LIBS!$GTK_LIBS$ac_delim
53862 GTK_CONFIG!$GTK_CONFIG$ac_delim
53863 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53864 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53865 XMKMF!$XMKMF$ac_delim
53866 X_CFLAGS!$X_CFLAGS$ac_delim
53867 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53868 X_LIBS!$X_LIBS$ac_delim
53869 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53870 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53871 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53872 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53873 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53874 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53875 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53876 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53877 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53878 LIBICONV!$LIBICONV$ac_delim
53879 GXX_VERSION!$GXX_VERSION$ac_delim
53880 SDL_CONFIG!$SDL_CONFIG$ac_delim
53881 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53882 SDL_LIBS!$SDL_LIBS$ac_delim
53883 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53884 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53885 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53886 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53887 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53888 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53889 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53890 HILDON_LIBS!$HILDON_LIBS$ac_delim
53891 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53892 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53895 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53897 elif $ac_last_try; then
53898 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53899 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53900 { (exit 1); exit 1; }; }
53902 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53906 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53907 if test -n "$ac_eof"; then
53908 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53909 ac_eof
=`expr $ac_eof + 1`
53912 cat >>$CONFIG_STATUS <<_ACEOF
53913 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53917 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53918 s/^/s,@/; s/!/@,|#_!!_#|/
53921 s/'"$ac_delim"'$/,g/; t
53923 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53924 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53925 rm -f conf$
$subs.
sed
53926 cat >>$CONFIG_STATUS <<_ACEOF
53932 for ac_last_try
in false false false false false
:; do
53933 cat >conf$
$subs.
sed <<_ACEOF
53934 PYTHON!$PYTHON$ac_delim
53935 COND_PYTHON!$COND_PYTHON$ac_delim
53936 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53937 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53938 GST_CFLAGS!$GST_CFLAGS$ac_delim
53939 GST_LIBS!$GST_LIBS$ac_delim
53940 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53941 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53942 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53943 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53944 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53945 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53946 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53947 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53948 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53949 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53950 VENDOR!$VENDOR$ac_delim
53951 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53952 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53953 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53954 WXUNIV!$WXUNIV$ac_delim
53955 MONOLITHIC!$MONOLITHIC$ac_delim
53956 USE_PLUGINS!$USE_PLUGINS$ac_delim
53957 CXXWARNINGS!$CXXWARNINGS$ac_delim
53958 EXTRALIBS!$EXTRALIBS$ac_delim
53959 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53960 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53961 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53962 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53963 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53964 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53965 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53966 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53967 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53968 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53969 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53970 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53971 UNICODE!$UNICODE$ac_delim
53972 DEBUG_INFO!$DEBUG_INFO$ac_delim
53973 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53974 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53975 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53976 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53977 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53978 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53979 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53980 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53981 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53982 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53983 RANLIB!$RANLIB$ac_delim
53984 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53985 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53986 INSTALL_DATA!$INSTALL_DATA$ac_delim
53987 LN_S!$LN_S$ac_delim
53988 SET_MAKE!$SET_MAKE$ac_delim
53989 MAKE_SET!$MAKE_SET$ac_delim
53990 AROPTIONS!$AROPTIONS$ac_delim
53991 STRIP!$STRIP$ac_delim
53993 INSTALL_DIR!$INSTALL_DIR$ac_delim
53994 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53995 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53996 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53997 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53998 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53999 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54000 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54001 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54002 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54003 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54004 SO_SUFFIX!$SO_SUFFIX$ac_delim
54005 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54006 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54007 LIBPREFIX!$LIBPREFIX$ac_delim
54008 LIBEXT!$LIBEXT$ac_delim
54009 DLLPREFIX!$DLLPREFIX$ac_delim
54010 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54011 dlldir!$dlldir$ac_delim
54012 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54013 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54014 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54015 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54016 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54017 PIC_FLAG!$PIC_FLAG$ac_delim
54018 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54019 USE_SOVERSION!$USE_SOVERSION$ac_delim
54020 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54021 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54022 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54023 USE_MACVERSION!$USE_MACVERSION$ac_delim
54024 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54025 SONAME_FLAG!$SONAME_FLAG$ac_delim
54026 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54027 BK_DEPS!$BK_DEPS$ac_delim
54028 WINDRES!$WINDRES$ac_delim
54030 SETFILE!$SETFILE$ac_delim
54033 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54035 elif $ac_last_try; then
54036 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54037 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54038 { (exit 1); exit 1; }; }
54040 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54044 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54045 if test -n "$ac_eof"; then
54046 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54047 ac_eof
=`expr $ac_eof + 1`
54050 cat >>$CONFIG_STATUS <<_ACEOF
54051 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54055 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54056 s/^/s,@/; s/!/@,|#_!!_#|/
54059 s/'"$ac_delim"'$/,g/; t
54061 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54062 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54063 rm -f conf$
$subs.
sed
54064 cat >>$CONFIG_STATUS <<_ACEOF
54070 for ac_last_try
in false false false false false
:; do
54071 cat >conf$
$subs.
sed <<_ACEOF
54072 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54073 GCC_PCH!$GCC_PCH$ac_delim
54074 ICC_PCH!$ICC_PCH$ac_delim
54075 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54076 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54077 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54078 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54079 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54080 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54081 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54082 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54083 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54084 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54085 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54086 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54087 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54088 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54089 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54090 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54091 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54092 COND_BUILD_release!$COND_BUILD_release$ac_delim
54093 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54094 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54095 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54096 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54097 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54098 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54099 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54100 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54101 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54102 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54103 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54104 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54105 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54106 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54111 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54112 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54113 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54114 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54115 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54116 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54117 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54122 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54123 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54124 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54125 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54126 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54127 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54128 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54129 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54130 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54131 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54132 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54133 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54134 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54135 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54136 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54137 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54138 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54139 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54140 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54141 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54142 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54143 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54144 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54145 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54146 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54147 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54148 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54149 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
54150 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54151 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
54152 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54153 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
54154 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54155 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54156 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54157 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54158 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54159 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54160 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54161 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54162 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54163 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54164 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54165 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54166 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54167 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54168 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54171 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54173 elif $ac_last_try; then
54174 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54175 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54176 { (exit 1); exit 1; }; }
54178 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54182 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54183 if test -n "$ac_eof"; then
54184 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54185 ac_eof
=`expr $ac_eof + 1`
54188 cat >>$CONFIG_STATUS <<_ACEOF
54189 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54193 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54194 s/^/s,@/; s/!/@,|#_!!_#|/
54197 s/'"$ac_delim"'$/,g/; t
54199 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54200 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54201 rm -f conf$
$subs.
sed
54202 cat >>$CONFIG_STATUS <<_ACEOF
54208 for ac_last_try
in false false false false false
:; do
54209 cat >conf$
$subs.
sed <<_ACEOF
54210 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54211 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54212 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54213 COND_SHARED_0!$COND_SHARED_0$ac_delim
54214 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54215 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54216 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54217 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54218 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54219 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54220 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54221 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54222 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54223 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54224 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54225 COND_SHARED_1!$COND_SHARED_1$ac_delim
54226 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54227 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54228 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54229 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54230 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54231 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54232 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54233 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54235 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54236 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54240 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54241 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54242 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54243 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54244 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54245 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54246 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54247 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54248 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54249 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54250 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54251 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54252 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54253 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54254 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54255 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54256 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54257 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54258 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54259 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54260 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54261 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54262 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54263 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54264 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54265 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54266 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54267 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54268 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54269 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54270 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54271 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54272 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54273 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54274 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54275 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54276 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54277 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54278 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54279 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54280 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54281 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54282 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54283 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54284 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54285 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54286 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54287 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54288 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54289 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54290 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54291 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54292 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54293 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54294 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54295 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54296 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54297 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54298 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54299 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54300 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54301 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54302 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54303 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54304 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54305 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54306 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54309 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54311 elif $ac_last_try; then
54312 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54313 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54314 { (exit 1); exit 1; }; }
54316 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54320 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54321 if test -n "$ac_eof"; then
54322 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54323 ac_eof
=`expr $ac_eof + 1`
54326 cat >>$CONFIG_STATUS <<_ACEOF
54327 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54331 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54332 s/^/s,@/; s/!/@,|#_!!_#|/
54335 s/'"$ac_delim"'$/,g/; t
54337 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54338 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54339 rm -f conf$
$subs.
sed
54340 cat >>$CONFIG_STATUS <<_ACEOF
54346 for ac_last_try
in false false false false false
:; do
54347 cat >conf$
$subs.
sed <<_ACEOF
54348 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54349 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54350 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54351 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54352 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54353 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54354 DEREZ!$DEREZ$ac_delim
54355 SHARED!$SHARED$ac_delim
54356 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54357 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54358 USE_GUI!$USE_GUI$ac_delim
54359 AFMINSTALL!$AFMINSTALL$ac_delim
54360 WIN32INSTALL!$WIN32INSTALL$ac_delim
54361 TOOLKIT!$TOOLKIT$ac_delim
54362 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54363 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54364 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54365 cross_compiling!$cross_compiling$ac_delim
54366 WIDGET_SET!$WIDGET_SET$ac_delim
54367 WX_RELEASE!$WX_RELEASE$ac_delim
54368 WX_VERSION!$WX_VERSION$ac_delim
54369 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54370 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54371 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54372 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54373 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54374 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54375 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54376 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54377 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54378 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54379 GUIDIST!$GUIDIST$ac_delim
54380 DISTDIR!$DISTDIR$ac_delim
54381 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54382 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54383 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54384 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54385 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54386 RESCOMP!$RESCOMP$ac_delim
54387 RESFLAGS!$RESFLAGS$ac_delim
54388 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54389 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54390 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54391 LIBWXMACRES!$LIBWXMACRES$ac_delim
54392 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54393 MACSETFILE!$MACSETFILE$ac_delim
54395 DLLTOOL!$DLLTOOL$ac_delim
54396 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54397 LIBOBJS!$LIBOBJS$ac_delim
54398 LTLIBOBJS!$LTLIBOBJS$ac_delim
54401 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54403 elif $ac_last_try; then
54404 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54405 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54406 { (exit 1); exit 1; }; }
54408 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54412 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54413 if test -n "$ac_eof"; then
54414 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54415 ac_eof
=`expr $ac_eof + 1`
54418 cat >>$CONFIG_STATUS <<_ACEOF
54419 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54420 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54423 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54424 s/^/s,@/; s/!/@,|#_!!_#|/
54427 s/'"$ac_delim"'$/,g/; t
54429 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54430 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54431 rm -f conf$
$subs.
sed
54432 cat >>$CONFIG_STATUS <<_ACEOF
54439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54441 # trailing colons and then remove the whole line if VPATH becomes empty
54442 # (actually we leave an empty line to preserve line numbers).
54443 if test "x$srcdir" = x.
; then
54444 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54445 s/:*\$(srcdir):*/:/
54446 s/:*\${srcdir}:*/:/
54448 s/^\([^=]*=[ ]*\):*/\1/
54454 cat >>$CONFIG_STATUS <<\_ACEOF
54455 fi # test -n "$CONFIG_FILES"
54458 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54461 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54463 case $ac_mode$ac_tag in
54465 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54466 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54467 { (exit 1); exit 1; }; };;
54468 :[FH
]-) ac_tag
=-:-;;
54469 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54486 -) ac_f
="$tmp/stdin";;
54487 *) # Look for the file first in the build tree, then in the source tree
54488 # (if the path is not absolute). The absolute path cannot be DOS-style,
54489 # because $ac_f cannot contain `:'.
54493 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54495 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54496 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54497 { (exit 1); exit 1; }; };;
54499 ac_file_inputs
="$ac_file_inputs $ac_f"
54502 # Let's still pretend it is `configure' which instantiates (i.e., don't
54503 # use $as_me), people would be surprised to read:
54504 # /* config.h. Generated by config.status. */
54505 configure_input
="Generated from "`IFS=:
54506 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54507 if test x
"$ac_file" != x
-; then
54508 configure_input
="$ac_file. $configure_input"
54509 { echo "$as_me:$LINENO: creating $ac_file" >&5
54510 echo "$as_me: creating $ac_file" >&6;}
54514 *:-:* | *:-) cat >"$tmp/stdin";;
54519 ac_dir
=`$as_dirname -- "$ac_file" ||
54520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54521 X"$ac_file" : 'X\(//\)[^/]' \| \
54522 X"$ac_file" : 'X\(//\)$' \| \
54523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54529 /^X\(\/\/\)[^/].*/{
54544 -*) as_dir
=.
/$as_dir;;
54546 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54550 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54551 *) as_qdir
=$as_dir;;
54553 as_dirs
="'$as_qdir' $as_dirs"
54554 as_dir
=`$as_dirname -- "$as_dir" ||
54555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54556 X"$as_dir" : 'X\(//\)[^/]' \| \
54557 X"$as_dir" : 'X\(//\)$' \| \
54558 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54564 /^X\(\/\/\)[^/].*/{
54577 test -d "$as_dir" && break
54579 test -z "$as_dirs" || eval "mkdir $as_dirs"
54580 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54581 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54582 { (exit 1); exit 1; }; }; }
54586 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54588 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54589 # A ".." for each directory in $ac_dir_suffix.
54590 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54591 case $ac_top_builddir_sub in
54592 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54593 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54596 ac_abs_top_builddir
=$ac_pwd
54597 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54598 # for backward compatibility:
54599 ac_top_builddir
=$ac_top_build_prefix
54602 .
) # We are building in place.
54604 ac_top_srcdir
=$ac_top_builddir_sub
54605 ac_abs_top_srcdir
=$ac_pwd ;;
54606 [\\/]* | ?
:[\\/]* ) # Absolute name.
54607 ac_srcdir
=$srcdir$ac_dir_suffix;
54608 ac_top_srcdir
=$srcdir
54609 ac_abs_top_srcdir
=$srcdir ;;
54610 *) # Relative name.
54611 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54612 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54613 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54615 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54625 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54626 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54630 cat >>$CONFIG_STATUS <<\_ACEOF
54631 # If the template does not know about datarootdir, expand it.
54632 # FIXME: This hack should be removed a few years after 2.60.
54633 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54635 case `sed -n '/datarootdir/ {
54644 ' $ac_file_inputs` in
54645 *datarootdir
*) ac_datarootdir_seen
=yes;;
54646 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54647 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54648 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54650 cat >>$CONFIG_STATUS <<_ACEOF
54651 ac_datarootdir_hack='
54652 s&@datadir@&$datadir&g
54653 s&@docdir@&$docdir&g
54654 s&@infodir@&$infodir&g
54655 s&@localedir@&$localedir&g
54656 s&@mandir@&$mandir&g
54657 s&\\\${datarootdir}&$datarootdir&g' ;;
54661 # Neutralize VPATH when `$srcdir' = `.'.
54662 # Shell code in configure.ac might set extrasub.
54663 # FIXME: do we really want to maintain this feature?
54664 cat >>$CONFIG_STATUS <<_ACEOF
54668 cat >>$CONFIG_STATUS <<\_ACEOF
54670 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54671 s
&@configure_input@
&$configure_input&;t t
54672 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54673 s
&@srcdir@
&$ac_srcdir&;t t
54674 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54675 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54676 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54677 s
&@builddir@
&$ac_builddir&;t t
54678 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54679 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54680 s
&@INSTALL@
&$ac_INSTALL&;t t
54681 $ac_datarootdir_hack
54682 " $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
54684 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54685 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54686 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54687 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54688 which seems to be undefined. Please make sure it is defined." >&5
54689 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54690 which seems to be undefined. Please make sure it is defined." >&2;}
54694 -) cat "$tmp/out"; rm -f "$tmp/out";;
54695 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54704 # Transform confdefs.h into a sed script `conftest.defines', that
54705 # substitutes the proper values into config.h.in to produce config.h.
54706 rm -f conftest.defines conftest.
tail
54707 # First, append a space to every undef/define line, to ease matching.
54708 echo 's/$/ /' >conftest.defines
54709 # Then, protect against being on the right side of a sed subst, or in
54710 # an unquoted here document, in config.status. If some macros were
54711 # called several times there might be several #defines for the same
54712 # symbol, which is useless. But do not sort them, since the last
54713 # AC_DEFINE must be honored.
54714 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54715 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54716 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54717 # PARAMS is the parameter list in the macro definition--in most cases, it's
54718 # just an empty string.
54719 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54720 ac_dB
='\\)[ (].*,\\1define\\2'
54728 s/^[ ]*#[ ]*define[ ][ ]*//
54733 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54734 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54735 ' >>conftest.defines
54737 # Remove the space that was appended to ease matching.
54738 # Then replace #undef with comments. This is necessary, for
54739 # example, in the case of _POSIX_SOURCE, which is predefined and required
54740 # on some systems where configure will not decide to define it.
54741 # (The regexp can be short, since the line contains either #define or #undef.)
54743 s,^[ #]*u.*,/* & */,' >>conftest.defines
54745 # Break up conftest.defines:
54746 ac_max_sed_lines
=50
54748 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54749 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54750 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54752 ac_in
='$ac_file_inputs'
54753 ac_out
='"$tmp/out1"'
54754 ac_nxt
='"$tmp/out2"'
54758 # Write a here document:
54759 cat >>$CONFIG_STATUS <<_ACEOF
54760 # First, check the format of the line:
54761 cat >"\$tmp/defines.sed" <<\\CEOF
54762 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54763 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54767 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54769 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54770 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54771 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54772 grep . conftest.
tail >/dev
/null
|| break
54773 rm -f conftest.defines
54774 mv conftest.
tail conftest.defines
54776 rm -f conftest.defines conftest.
tail
54778 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54779 cat >>$CONFIG_STATUS <<\_ACEOF
54780 if test x
"$ac_file" != x
-; then
54781 echo "/* $configure_input */" >"$tmp/config.h"
54782 cat "$ac_result" >>"$tmp/config.h"
54783 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54784 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54785 echo "$as_me: $ac_file is unchanged" >&6;}
54788 mv "$tmp/config.h" $ac_file
54791 echo "/* $configure_input */"
54797 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54798 echo "$as_me: executing $ac_file commands" >&6;}
54803 case $ac_file$ac_mode in
54805 mkdir -p $outdir &&
54806 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54808 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54809 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54810 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54811 "wx-config":C
) rm -f wx
-config
54812 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54819 { (exit 0); exit 0; }
54821 chmod +x
$CONFIG_STATUS
54822 ac_clean_files
=$ac_clean_files_save
54825 # configure is writing to config.log, and then calls config.status.
54826 # config.status does its own redirection, appending to config.log.
54827 # Unfortunately, on DOS this fails, as config.log is still kept open
54828 # by configure, so config.status won't be able to write to it; its
54829 # output is simply discarded. So we exec the FD to /dev/null,
54830 # effectively closing config.log, so it can be properly (re)opened and
54831 # appended to by config.status. When coming back to configure, we
54832 # need to make the FD available again.
54833 if test "$no_create" != yes; then
54835 ac_config_status_args
=
54836 test "$silent" = yes &&
54837 ac_config_status_args
="$ac_config_status_args --quiet"
54839 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54841 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54842 # would make configure fail if this is the last instruction.
54843 $ac_cs_success || { (exit 1); exit 1; }
54847 # CONFIG_SUBDIRS section.
54849 if test "$no_recursion" != yes; then
54851 # Remove --cache-file and --srcdir arguments so they do not pile up.
54852 ac_sub_configure_args
=
54854 eval "set x $ac_configure_args"
54858 if test -n "$ac_prev"; then
54863 -cache-file | --cache-file | --cache-fil | --cache-fi \
54864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54865 ac_prev
=cache_file
;;
54866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54870 --config-cache | -C)
54872 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54874 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54882 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54884 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54888 # Always prepend --prefix to ensure using the same prefix
54889 # in subdir configurations.
54890 ac_arg
="--prefix=$prefix"
54892 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54894 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54897 if test "$silent" = yes; then
54898 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54902 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54904 # Do not complain, so a configure script can configure whichever
54905 # parts of a large source tree are present.
54906 test -d "$srcdir/$ac_dir" || continue
54908 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54909 echo "$as_me:$LINENO: $ac_msg" >&5
54913 -*) as_dir
=.
/$as_dir;;
54915 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54919 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54920 *) as_qdir
=$as_dir;;
54922 as_dirs
="'$as_qdir' $as_dirs"
54923 as_dir
=`$as_dirname -- "$as_dir" ||
54924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54925 X"$as_dir" : 'X\(//\)[^/]' \| \
54926 X"$as_dir" : 'X\(//\)$' \| \
54927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54933 /^X\(\/\/\)[^/].*/{
54946 test -d "$as_dir" && break
54948 test -z "$as_dirs" || eval "mkdir $as_dirs"
54949 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54950 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54951 { (exit 1); exit 1; }; }; }
54955 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54957 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54958 # A ".." for each directory in $ac_dir_suffix.
54959 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54960 case $ac_top_builddir_sub in
54961 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54962 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54965 ac_abs_top_builddir
=$ac_pwd
54966 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54967 # for backward compatibility:
54968 ac_top_builddir
=$ac_top_build_prefix
54971 .
) # We are building in place.
54973 ac_top_srcdir
=$ac_top_builddir_sub
54974 ac_abs_top_srcdir
=$ac_pwd ;;
54975 [\\/]* | ?
:[\\/]* ) # Absolute name.
54976 ac_srcdir
=$srcdir$ac_dir_suffix;
54977 ac_top_srcdir
=$srcdir
54978 ac_abs_top_srcdir
=$srcdir ;;
54979 *) # Relative name.
54980 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54981 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54982 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54984 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54989 # Check for guested configure; otherwise get Cygnus style configure.
54990 if test -f "$ac_srcdir/configure.gnu"; then
54991 ac_sub_configure
=$ac_srcdir/configure.gnu
54992 elif test -f "$ac_srcdir/configure"; then
54993 ac_sub_configure
=$ac_srcdir/configure
54994 elif test -f "$ac_srcdir/configure.in"; then
54995 # This should be Cygnus configure.
54996 ac_sub_configure
=$ac_aux_dir/configure
54998 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54999 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55003 # The recursion is here.
55004 if test -n "$ac_sub_configure"; then
55005 # Make the cache file name correct relative to the subdirectory.
55006 case $cache_file in
55007 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55008 *) # Relative name.
55009 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55012 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55013 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55014 # The eval makes quoting arguments work.
55015 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55016 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55017 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55018 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55019 { (exit 1); exit 1; }; }
55028 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55030 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55031 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55032 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55033 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55034 if test "$wxUSE_UNICODE" = "yes"; then
55035 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55036 echo " (using UTF-8)"
55038 echo " (using wchar_t)"
55044 echo " What level of wxWidgets compatibility should be enabled?"
55045 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55046 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55048 echo " Which libraries should wxWidgets use?"
55049 echo " STL ${wxUSE_STL}"
55050 echo " jpeg ${wxUSE_LIBJPEG-none}"
55051 echo " png ${wxUSE_LIBPNG-none}"
55052 echo " regex ${wxUSE_REGEX}"
55053 echo " tiff ${wxUSE_LIBTIFF-none}"
55054 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55055 echo " xpm ${wxUSE_LIBXPM-none}"
55057 echo " zlib ${wxUSE_ZLIB}"
55058 echo " expat ${wxUSE_EXPAT}"
55059 echo " libmspack ${wxUSE_LIBMSPACK}"
55060 echo " sdl ${wxUSE_LIBSDL}"