2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
706 LIBGNOMEPRINTUI_CFLAGS
814 ICC_PCH_CREATE_SWITCH
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
894 COND_PLATFORM_MACOS_1
897 COND_PLATFORM_MSDOS_0
898 COND_PLATFORM_MSDOS_1
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
906 COND_PLATFORM_WIN32_0
907 COND_PLATFORM_WIN32_1
908 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
911 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
913 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
917 COND_SHARED_0_USE_STC_1
918 COND_SHARED_0_wxUSE_EXPAT_builtin
919 COND_SHARED_0_wxUSE_REGEX_builtin
920 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
925 COND_TOOLKIT_COCOA_USE_GUI_1
926 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_GTK_USE_GUI_1
939 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF_USE_GUI_1
942 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_USE_GUI_1
945 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_MSW_WXUNIV_0
947 COND_TOOLKIT_OSX_CARBON
948 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
949 COND_TOOLKIT_OSX_COCOA
950 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
951 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM_USE_GUI_1
954 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_USE_GUI_1
957 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11_USE_GUI_1
963 COND_USE_EXCEPTIONS_0
964 COND_USE_EXCEPTIONS_1
967 COND_USE_GUI_1_USE_OPENGL_1
968 COND_USE_GUI_1_WXUNIV_0
969 COND_USE_GUI_1_WXUNIV_1
970 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
973 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
974 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
975 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
981 COND_USE_SOTWOSYMLINKS_1
982 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
983 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
986 COND_USE_SOVERSOLARIS_1
991 COND_WINDOWS_IMPLIB_1
992 COND_WITH_PLUGIN_SDL_1
995 COND_WXUSE_EXPAT_BUILTIN
996 COND_WXUSE_LIBJPEG_BUILTIN
997 COND_WXUSE_LIBPNG_BUILTIN
998 COND_WXUSE_LIBTIFF_BUILTIN
999 COND_WXUSE_REGEX_BUILTIN
1000 COND_WXUSE_ZLIB_BUILTIN
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
1009 WX_LIBRARY_BASENAME_NOGUI
1010 WX_LIBRARY_BASENAME_GUI
1030 WXCONFIG_LDFLAGS_GUI
1042 WX_RESOURCES_MACOSX_ASCII
1043 WX_RESOURCES_MACOSX_DATA
1053 ac_precious_vars
='build_alias
1077 LIBGNOMEPRINTUI_CFLAGS
1078 LIBGNOMEPRINTUI_LIBS
1089 ac_subdirs_all
='src/tiff
1092 # Initialize some variables set by options.
1094 ac_init_version
=false
1095 # The variables have the same names as the options, with
1096 # dashes changed to underlines.
1097 cache_file
=/dev
/null
1104 program_transform_name
=s
,x
,x
,
1112 # Installation directory options.
1113 # These are left unexpanded so users can "make install exec_prefix=/foo"
1114 # and all the variables that are supposed to be based on exec_prefix
1115 # by default will actually change.
1116 # Use braces instead of parens because sh, perl, etc. also accept them.
1117 # (The list follows the same order as the GNU Coding Standards.)
1118 bindir
='${exec_prefix}/bin'
1119 sbindir
='${exec_prefix}/sbin'
1120 libexecdir
='${exec_prefix}/libexec'
1121 datarootdir
='${prefix}/share'
1122 datadir
='${datarootdir}'
1123 sysconfdir
='${prefix}/etc'
1124 sharedstatedir
='${prefix}/com'
1125 localstatedir
='${prefix}/var'
1126 includedir
='${prefix}/include'
1127 oldincludedir
='/usr/include'
1128 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1129 infodir
='${datarootdir}/info'
1134 libdir
='${exec_prefix}/lib'
1135 localedir
='${datarootdir}/locale'
1136 mandir
='${datarootdir}/man'
1142 # If the previous option needs an argument, assign it.
1143 if test -n "$ac_prev"; then
1144 eval $ac_prev=\
$ac_option
1150 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1154 # Accept the important Cygnus configure options, so we can diagnose typos.
1156 case $ac_dashdash$ac_option in
1160 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1163 bindir
=$ac_optarg ;;
1165 -build | --build | --buil | --bui | --bu)
1166 ac_prev
=build_alias
;;
1167 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1168 build_alias
=$ac_optarg ;;
1170 -cache-file | --cache-file | --cache-fil | --cache-fi \
1171 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1172 ac_prev
=cache_file
;;
1173 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1174 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1175 cache_file
=$ac_optarg ;;
1177 --config-cache | -C)
1178 cache_file
=config.cache
;;
1180 -datadir | --datadir | --datadi | --datad)
1182 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1183 datadir
=$ac_optarg ;;
1185 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1186 | --dataroo | --dataro | --datar)
1187 ac_prev
=datarootdir
;;
1188 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1189 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1190 datarootdir
=$ac_optarg ;;
1192 -disable-* | --disable-*)
1193 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1196 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1197 { (exit 1); exit 1; }; }
1198 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1199 eval enable_
$ac_feature=no
;;
1201 -docdir | --docdir | --docdi | --doc | --do)
1203 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1204 docdir
=$ac_optarg ;;
1206 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1209 dvidir
=$ac_optarg ;;
1211 -enable-* | --enable-*)
1212 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1216 { (exit 1); exit 1; }; }
1217 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1218 eval enable_
$ac_feature=\
$ac_optarg ;;
1220 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1221 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1222 | --exec | --exe | --ex)
1223 ac_prev
=exec_prefix
;;
1224 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1225 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1226 | --exec=* | --exe=* | --ex=*)
1227 exec_prefix
=$ac_optarg ;;
1229 -gas | --gas | --ga | --g)
1230 # Obsolete; use --with-gas.
1233 -help | --help | --hel | --he | -h)
1234 ac_init_help
=long
;;
1235 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1236 ac_init_help
=recursive
;;
1237 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1238 ac_init_help
=short
;;
1240 -host | --host | --hos | --ho)
1241 ac_prev
=host_alias
;;
1242 -host=* | --host=* | --hos=* | --ho=*)
1243 host_alias
=$ac_optarg ;;
1245 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 htmldir
=$ac_optarg ;;
1251 -includedir | --includedir | --includedi | --included | --include \
1252 | --includ | --inclu | --incl | --inc)
1253 ac_prev
=includedir
;;
1254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1255 | --includ=* | --inclu=* | --incl=* | --inc=*)
1256 includedir
=$ac_optarg ;;
1258 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1261 infodir
=$ac_optarg ;;
1263 -libdir | --libdir | --libdi | --libd)
1265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1266 libdir
=$ac_optarg ;;
1268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1269 | --libexe | --libex | --libe)
1270 ac_prev
=libexecdir
;;
1271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1272 | --libexe=* | --libex=* | --libe=*)
1273 libexecdir
=$ac_optarg ;;
1275 -localedir | --localedir | --localedi | --localed | --locale)
1276 ac_prev
=localedir
;;
1277 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1278 localedir
=$ac_optarg ;;
1280 -localstatedir | --localstatedir | --localstatedi | --localstated \
1281 | --localstate | --localstat | --localsta | --localst | --locals)
1282 ac_prev
=localstatedir
;;
1283 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1284 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1285 localstatedir
=$ac_optarg ;;
1287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1290 mandir
=$ac_optarg ;;
1292 -nfp | --nfp | --nf)
1293 # Obsolete; use --without-fp.
1296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1297 | --no-cr | --no-c | -n)
1300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1306 | --oldin | --oldi | --old | --ol | --o)
1307 ac_prev
=oldincludedir
;;
1308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1311 oldincludedir
=$ac_optarg ;;
1313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1316 prefix
=$ac_optarg ;;
1318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1319 | --program-pre | --program-pr | --program-p)
1320 ac_prev
=program_prefix
;;
1321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1323 program_prefix
=$ac_optarg ;;
1325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1326 | --program-suf | --program-su | --program-s)
1327 ac_prev
=program_suffix
;;
1328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1330 program_suffix
=$ac_optarg ;;
1332 -program-transform-name | --program-transform-name \
1333 | --program-transform-nam | --program-transform-na \
1334 | --program-transform-n | --program-transform- \
1335 | --program-transform | --program-transfor \
1336 | --program-transfo | --program-transf \
1337 | --program-trans | --program-tran \
1338 | --progr-tra | --program-tr | --program-t)
1339 ac_prev
=program_transform_name
;;
1340 -program-transform-name=* | --program-transform-name=* \
1341 | --program-transform-nam=* | --program-transform-na=* \
1342 | --program-transform-n=* | --program-transform-=* \
1343 | --program-transform=* | --program-transfor=* \
1344 | --program-transfo=* | --program-transf=* \
1345 | --program-trans=* | --program-tran=* \
1346 | --progr-tra=* | --program-tr=* | --program-t=*)
1347 program_transform_name
=$ac_optarg ;;
1349 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1352 pdfdir
=$ac_optarg ;;
1354 -psdir | --psdir | --psdi | --psd | --ps)
1356 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1360 | -silent | --silent | --silen | --sile | --sil)
1363 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 sbindir
=$ac_optarg ;;
1369 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1370 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1371 | --sharedst | --shareds | --shared | --share | --shar \
1373 ac_prev
=sharedstatedir
;;
1374 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1375 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1376 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 sharedstatedir
=$ac_optarg ;;
1380 -site | --site | --sit)
1382 -site=* | --site=* | --sit=*)
1385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1388 srcdir
=$ac_optarg ;;
1390 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1391 | --syscon | --sysco | --sysc | --sys | --sy)
1392 ac_prev
=sysconfdir
;;
1393 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1394 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1395 sysconfdir
=$ac_optarg ;;
1397 -target | --target | --targe | --targ | --tar | --ta | --t)
1398 ac_prev
=target_alias
;;
1399 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1400 target_alias
=$ac_optarg ;;
1402 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1405 -version | --version | --versio | --versi | --vers | -V)
1406 ac_init_version
=: ;;
1409 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_
$ac_package=\
$ac_optarg ;;
1417 -without-* | --without-*)
1418 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1419 # Reject names that are not valid shell variable names.
1420 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1421 { echo "$as_me: error: invalid package name: $ac_package" >&2
1422 { (exit 1); exit 1; }; }
1423 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1424 eval with_
$ac_package=no
;;
1427 # Obsolete; use --with-x.
1430 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1431 | --x-incl | --x-inc | --x-in | --x-i)
1432 ac_prev
=x_includes
;;
1433 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1434 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1435 x_includes
=$ac_optarg ;;
1437 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1438 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1439 ac_prev
=x_libraries
;;
1440 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1441 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1442 x_libraries
=$ac_optarg ;;
1444 -*) { echo "$as_me: error: unrecognized option: $ac_option
1445 Try \`$0 --help' for more information." >&2
1446 { (exit 1); exit 1; }; }
1450 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1451 # Reject names that are not valid shell variable names.
1452 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1453 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1454 { (exit 1); exit 1; }; }
1455 eval $ac_envvar=\
$ac_optarg
1456 export $ac_envvar ;;
1459 # FIXME: should be removed in autoconf 3.0.
1460 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1462 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1469 if test -n "$ac_prev"; then
1470 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1471 { echo "$as_me: error: missing argument to $ac_option" >&2
1472 { (exit 1); exit 1; }; }
1475 # Be sure to have absolute directory names.
1476 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1477 datadir sysconfdir sharedstatedir localstatedir includedir \
1478 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1479 libdir localedir mandir
1481 eval ac_val
=\$
$ac_var
1483 [\\/$
]* | ?
:[\\/]* ) continue;;
1484 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1486 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1487 { (exit 1); exit 1; }; }
1490 # There might be people who depend on the old broken behavior: `$host'
1491 # used to hold the argument of --host etc.
1492 # FIXME: To remove some day.
1495 target
=$target_alias
1497 # FIXME: To remove some day.
1498 if test "x$host_alias" != x
; then
1499 if test "x$build_alias" = x
; then
1500 cross_compiling
=maybe
1501 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1502 If a cross compiler is detected then cross compile mode will be used." >&2
1503 elif test "x$build_alias" != "x$host_alias"; then
1509 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1511 test "$silent" = yes && exec 6>/dev
/null
1514 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1515 ac_ls_di
=`ls -di .` &&
1516 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1517 { echo "$as_me: error: Working directory cannot be determined" >&2
1518 { (exit 1); exit 1; }; }
1519 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1520 { echo "$as_me: error: pwd does not report name of working directory" >&2
1521 { (exit 1); exit 1; }; }
1524 # Find the source files, if location was not specified.
1525 if test -z "$srcdir"; then
1526 ac_srcdir_defaulted
=yes
1527 # Try the directory containing this script, then the parent directory.
1528 ac_confdir
=`$as_dirname -- "$0" ||
1529 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1530 X"$0" : 'X\(//\)[^/]' \| \
1531 X"$0" : 'X\(//\)$' \| \
1532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1552 if test ! -r "$srcdir/$ac_unique_file"; then
1556 ac_srcdir_defaulted
=no
1558 if test ! -r "$srcdir/$ac_unique_file"; then
1559 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1560 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1561 { (exit 1); exit 1; }; }
1563 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1566 { (exit 1); exit 1; }; }
1568 # When building in place, set srcdir=.
1569 if test "$ac_abs_confdir" = "$ac_pwd"; then
1572 # Remove unnecessary trailing slashes from srcdir.
1573 # Double slashes in file names in object file debugging info
1574 # mess up M-x gdb in Emacs.
1576 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 for ac_var
in $ac_precious_vars; do
1579 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1580 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1581 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1582 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1586 # Report the --help message.
1588 if test "$ac_init_help" = "long"; then
1589 # Omit some internal or obsolete options to make the list less imposing.
1590 # This message is too long to be a string in the A/UX 3.1 sh.
1592 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594 Usage: $0 [OPTION]... [VAR=VALUE]...
1596 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1597 VAR=VALUE. See below for descriptions of some of the useful variables.
1599 Defaults for the options are specified in brackets.
1602 -h, --help display this help and exit
1603 --help=short display options specific to this package
1604 --help=recursive display the short help of all the included packages
1605 -V, --version display version information and exit
1606 -q, --quiet, --silent do not print \`checking...' messages
1607 --cache-file=FILE cache test results in FILE [disabled]
1608 -C, --config-cache alias for \`--cache-file=config.cache'
1609 -n, --no-create do not create output files
1610 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612 Installation directories:
1613 --prefix=PREFIX install architecture-independent files in PREFIX
1614 [$ac_default_prefix]
1615 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1618 By default, \`make install' will install all the files in
1619 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1620 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1621 for instance \`--prefix=\$HOME'.
1623 For better control, use the options below.
1625 Fine tuning of the installation directories:
1626 --bindir=DIR user executables [EPREFIX/bin]
1627 --sbindir=DIR system admin executables [EPREFIX/sbin]
1628 --libexecdir=DIR program executables [EPREFIX/libexec]
1629 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1630 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1631 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1632 --libdir=DIR object code libraries [EPREFIX/lib]
1633 --includedir=DIR C header files [PREFIX/include]
1634 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1635 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1636 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1637 --infodir=DIR info documentation [DATAROOTDIR/info]
1638 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1639 --mandir=DIR man documentation [DATAROOTDIR/man]
1640 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1641 --htmldir=DIR html documentation [DOCDIR]
1642 --dvidir=DIR dvi documentation [DOCDIR]
1643 --pdfdir=DIR pdf documentation [DOCDIR]
1644 --psdir=DIR ps documentation [DOCDIR]
1650 --x-includes=DIR X include files are
in DIR
1651 --x-libraries=DIR X library files are
in DIR
1654 --build=BUILD configure
for building on BUILD
[guessed
]
1655 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1659 if test -n "$ac_init_help"; then
1660 case $ac_init_help in
1661 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1666 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1667 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1668 --disable-gui don
't build GUI parts of the library
1669 --enable-monolithic build wxWidgets as single library
1670 --enable-plugins build parts of wxWidgets as loadable components
1671 --enable-official_build official build of wxWidgets (win32 DLL only)
1672 --enable-vendor=VENDOR vendor name (win32 DLL only)
1673 --disable-all-features disable all optional features to build minimal library
1674 --enable-universal use wxWidgets GUI controls instead of native ones
1675 --enable-nanox use NanoX
1676 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1677 --enable-gpe use GNOME PDA Environment features if possible
1678 --enable-debug build library for debugging
1679 --disable-debug_flag disable all debugging support
1680 --enable-debug_info generate debug information
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1683 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1684 --disable-shared create static library instead of shared
1685 --enable-stl use STL for containers
1686 --enable-std_iostreams use standard C++ stream classes
1687 --enable-std_string use standard C++ string classes
1688 --disable-unicode compile without Unicode support
1689 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1690 --enable-utf8 use UTF-8 representation for strings (Unix only)
1691 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1692 --enable-extended_rtti use extended RTTI (XTI)
1693 --enable-omf use OMF object format
1694 --disable-optimise compile without optimisations
1695 --enable-profile create code with profiling information
1696 --enable-no_rtti create code without RTTI information
1697 --enable-no_exceptions create code without C++ exceptions handling
1698 --enable-permissive compile code disregarding strict ANSI
1699 --enable-no_deps create code without dependency information
1700 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1701 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1702 --enable-compat26 enable wxWidgets
2.6 compatibility
1703 --disable-compat28 disable wxWidgets
2.8 compatibility
1704 --disable-rpath disable use of rpath
for uninstalled builds
1705 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1706 --disable-visibility disable use of ELF symbols visibility even
if supported
1707 --disable-tls disable use of compiler TLS support
1708 --enable-intl use internationalization system
1709 --enable-xlocale use x
-locale support
(requires wxLocale
)
1710 --enable-config use wxConfig
(and derived
) classes
1711 --enable-protocols use wxProtocol and derived classes
1712 --enable-ftp use wxFTP
(requires wxProtocol
1713 --enable-http use wxHTTP
(requires wxProtocol
1714 --enable-fileproto use wxFileProto class
(requires wxProtocol
1715 --enable-sockets use socket
/network classes
1716 --enable-ipv6 enable IPv6 support
in wxSocket
1717 --enable-ole use OLE classes
(Win32 only
)
1718 --enable-dataobj use data object classes
1719 --enable-ipc use interprocess communication
(wxSocket etc.
)
1720 --enable-baseevtloop use event loop
in console programs too
1721 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1722 --enable-selectloop use wxSelectDispatcher class
1723 --enable-any use wxAny class
1724 --enable-apple_ieee use the Apple IEEE codec
1725 --enable-arcstream use wxArchive streams
1726 --enable-base64 use base64 encoding
/decoding functions
1727 --enable-backtrace use wxStackWalker class
for getting backtraces
1728 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1729 --enable-cmdline use wxCmdLineParser class
1730 --enable-datetime use wxDateTime class
1731 --enable-debugreport use wxDebugReport class
1732 --enable-dialupman use dialup network classes
1733 --enable-dynlib use wxLibrary class
for DLL loading
1734 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1735 --enable-exceptions build exception
-safe library
1736 --enable-ffile use wxFFile class
1737 --enable-file use wxFile class
1738 --enable-filesystem use virtual
file systems classes
1739 --enable-fontenum use wxFontEnumerator class
1740 --enable-fontmap use font encodings conversion classes
1741 --enable-fs_archive use virtual archive filesystems
1742 --enable-fs_inet use virtual HTTP
/FTP filesystems
1743 --enable-fs_zip now replaced by fs_archive
1744 --enable-fswatcher use wxFileSystemWatcher class
1745 --enable-geometry use geometry class
1746 --enable-log use logging system
1747 --enable-longlong use wxLongLong class
1748 --enable-mimetype use wxMimeTypesManager
1749 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1750 --enable-snglinst use wxSingleInstanceChecker class
1751 --enable-sound use wxSound class
1752 --enable-stdpaths use wxStandardPaths class
1753 --enable-stopwatch use wxStopWatch class
1754 --enable-streams use wxStream etc classes
1755 --enable-sysoptions use wxSystemOptions
1756 --enable-tarstream use wxTar streams
1757 --enable-textbuf use wxTextBuffer class
1758 --enable-textfile use wxTextFile class
1759 --enable-timer use wxTimer class
1760 --enable-variant use wxVariant class
1761 --enable-zipstream use wxZip streams
1762 --enable-url use wxURL class
1763 --enable-protocol use wxProtocol class
1764 --enable-protocol-http HTTP support
in wxProtocol
1765 --enable-protocol-ftp FTP support
in wxProtocol
1766 --enable-protocol-file FILE support
in wxProtocol
1767 --enable-threads use threads
1768 --enable-iniconf use wxIniConfig
(Win32 only
)
1769 --enable-regkey use wxRegKey class
(Win32 only
)
1770 --enable-docview use document view architecture
1771 --enable-help use
help subsystem
1772 --enable-mshtmlhelp use MS HTML Help
(win32
)
1773 --enable-html use wxHTML sub
-library
1774 --enable-htmlhelp use wxHTML
-based help
1775 --enable-xrc use XRC resources sub
-library
1776 --enable-aui use AUI docking library
1777 --enable-propgrid use wxPropertyGrid library
1778 --enable-ribbon use wxRibbon library
1779 --enable-stc use wxStyledTextCtrl library
1780 --enable-constraints use layout
-constraints system
1781 --enable-loggui use standard GUI logger
1782 --enable-logwin use wxLogWindow
1783 --enable-logdialog use wxLogDialog
1784 --enable-mdi use multiple document interface architecture
1785 --enable-mdidoc use docview architecture with MDI
1786 --enable-mediactrl use wxMediaCtrl class
1787 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1788 --enable-webkit use wxWebKitCtrl
(Mac
)
1789 --enable-richtext use wxRichTextCtrl
1790 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1791 --enable-printarch use printing architecture
1792 --enable-svg use wxSVGFileDC device context
1793 --enable-graphics_ctx use graphics context
2D drawing API
1794 --enable-clipboard use wxClipboard class
1795 --enable-dnd use Drag
'n'Drop classes
1796 --enable-metafile use win32 metafiles
1797 --disable-controls disable compilation of all standard controls
1798 --enable-accel use accelerators
1799 --enable-animatectrl use wxAnimationCtrl class
1800 --enable-bmpbutton use wxBitmapButton class
1801 --enable-bmpcombobox use wxBitmapComboBox class
1802 --enable-button use wxButton class
1803 --enable-calendar use wxCalendarCtrl class
1804 --enable-caret use wxCaret class
1805 --enable-checkbox use wxCheckBox class
1806 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1807 --enable-choice use wxChoice class
1808 --enable-choicebook use wxChoicebook class
1809 --enable-collpane use wxCollapsiblePane class
1810 --enable-colourpicker use wxColourPickerCtrl class
1811 --enable-combobox use wxComboBox class
1812 --enable-comboctrl use wxComboCtrl class
1813 --enable-dataviewctrl use wxDataViewCtrl class
1814 --enable-datepick use wxDatePickerCtrl class
1815 --enable-detect_sm use code to detect X11 session manager
1816 --enable-dirpicker use wxDirPickerCtrl class
1817 --enable-display use wxDisplay class
1818 --enable-editablebox use wxEditableListBox class
1819 --enable-filectrl use wxFileCtrl class
1820 --enable-filepicker use wxFilePickerCtrl class
1821 --enable-fontpicker use wxFontPickerCtrl class
1822 --enable-gauge use wxGauge class
1823 --enable-grid use wxGrid class
1824 --enable-headerctrl use wxHeaderCtrl class
1825 --enable-hyperlink use wxHyperlinkCtrl class
1826 --enable-imaglist use wxImageList class
1827 --enable-infobar use wxInfoBar class
1828 --enable-listbook use wxListbook class
1829 --enable-listbox use wxListBox class
1830 --enable-listctrl use wxListCtrl class
1831 --enable-notebook use wxNotebook class
1832 --enable-notifmsg use wxNotificationMessage class
1833 --enable-odcombobox use wxOwnerDrawnComboBox class
1834 --enable-popupwin use wxPopUpWindow class
1835 --enable-radiobox use wxRadioBox class
1836 --enable-radiobtn use wxRadioButton class
1837 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1838 --enable-sash use wxSashWindow class
1839 --enable-scrollbar use wxScrollBar class and scrollable windows
1840 --enable-searchctrl use wxSearchCtrl class
1841 --enable-slider use wxSlider class
1842 --enable-spinbtn use wxSpinButton class
1843 --enable-spinctrl use wxSpinCtrl class
1844 --enable-splitter use wxSplitterWindow class
1845 --enable-statbmp use wxStaticBitmap class
1846 --enable-statbox use wxStaticBox class
1847 --enable-statline use wxStaticLine class
1848 --enable-stattext use wxStaticText class
1849 --enable-statusbar use wxStatusBar class
1850 --enable-taskbaricon use wxTaskBarIcon class
1851 --enable-tbarnative use native wxToolBar class
1852 --enable-textctrl use wxTextCtrl class
1853 --enable-tipwindow use wxTipWindow class
1854 --enable-togglebtn use wxToggleButton class
1855 --enable-toolbar use wxToolBar class
1856 --enable-toolbook use wxToolbook class
1857 --enable-treebook use wxTreebook class
1858 --enable-treectrl use wxTreeCtrl class
1859 --enable-commondlg use all common dialogs
1860 --enable-aboutdlg use wxAboutBox
1861 --enable-choicedlg use wxChoiceDialog
1862 --enable-coldlg use wxColourDialog
1863 --enable-filedlg use wxFileDialog
1864 --enable-finddlg use wxFindReplaceDialog
1865 --enable-fontdlg use wxFontDialog
1866 --enable-dirdlg use wxDirDialog
1867 --enable-msgdlg use wxMessageDialog
1868 --enable-numberdlg use wxNumberEntryDialog
1869 --enable-splash use wxSplashScreen
1870 --enable-textdlg use wxTextDialog
1871 --enable-tipdlg use startup tips
1872 --enable-progressdlg use wxProgressDialog
1873 --enable-wizarddlg use wxWizard
1874 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1875 --enable-miniframe use wxMiniFrame class
1876 --enable-tooltips use wxToolTip class
1877 --enable-splines use spline drawing code
1878 --enable-mousewheel use mousewheel
1879 --enable-validators use wxValidator and derived classes
1880 --enable-busyinfo use wxBusyInfo
1881 --enable-joystick use wxJoystick
1882 --enable-metafiles use wxMetaFile
(Win32 only
)
1883 --enable-dragimage use wxDragImage
1884 --enable-accessibility enable accessibility support
1885 --enable-palette use wxPalette class
1886 --enable-image use wxImage class
1887 --enable-gif use gif images
(GIF
file format
)
1888 --enable-pcx use pcx images
(PCX
file format
)
1889 --enable-tga use tga images
(TGA
file format
)
1890 --enable-iff use iff images
(IFF
file format
)
1891 --enable-pnm use pnm images
(PNM
file format
)
1892 --enable-xpm use xpm images
(XPM
file format
)
1893 --enable-ico_cur use Windows ICO and CUR formats
1894 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1895 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1896 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1897 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1898 --enable-wxdib use wxDIB class
(Win32 only
)
1899 --enable-autoidman use automatic ids management
1900 --disable-largefile omit support
for large files
1901 --disable-gtktest do not try to compile and run a
test GTK
+ program
1902 --disable-gtktest Do not try to compile and run a
test GTK program
1903 --disable-sdltest Do not try to compile and run a
test SDL program
1904 --enable-omf use OMF object format
(OS
/2)
1905 --disable-dependency-tracking
1906 don
't use dependency tracking even if the compiler
1908 --disable-precomp-headers
1909 don't use precompiled headers even
if compiler can
1912 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1913 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1914 --without-subdirs don
't generate makefiles for samples/demos/...
1915 --with-flavour=NAME specify a name to identify this build
1916 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1917 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1918 --with-motif use Motif/Lesstif
1919 --with-osx_carbon use Mac OS X (Carbon)
1920 --with-osx_cocoa use Mac OS X (Cocoa)
1921 --with-mac use Mac OS X (Default)
1922 --with-cocoa use Cocoa
1923 --with-wine use Wine
1924 --with-msw use MS-Windows
1925 --with-pm use OS/2 Presentation Manager
1926 --with-mgl use SciTech MGL
1927 --with-directfb use DirectFB
1928 --with-microwin use MicroWindows
1930 --with-libpng use libpng (PNG image format)
1931 --with-libjpeg use libjpeg (JPEG file format)
1932 --with-libtiff use libtiff (TIFF file format)
1933 --with-libxpm use libxpm (XPM file format)
1934 --with-libiconv use libiconv (character conversion)
1935 --with-libmspack use libmspack (CHM help files loading)
1936 --without-gtkprint don't use GTK printing support
1937 --without-gnomeprint don
't use GNOME printing libraries
1938 --with-gnomevfs use GNOME VFS for associating MIME types
1939 --with-hildon use Hildon framework for Nokia 770/800/810
1940 --with-opengl use OpenGL (or Mesa)
1941 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1942 --with-sdl use SDL for audio on Unix
1943 --with-regex enable support for wxRegEx class
1944 --with-zlib use zlib for LZW compression
1945 --with-expat enable XML support using expat parser
1946 --with-macosx-sdk=PATH use an OS X SDK at PATH
1947 --with-macosx-version-min=VER build binaries which require at least this OS X version
1948 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1949 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1950 --with-x use the X Window System
1951 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1952 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1953 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1954 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1955 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1957 Some influential environment variables:
1958 CC C compiler command
1959 CFLAGS C compiler flags
1960 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1961 nonstandard directory <lib dir>
1962 LIBS libraries to pass to the linker, e.g. -l<library>
1963 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1964 you have headers in a nonstandard directory <include dir>
1966 CXX C++ compiler command
1967 CXXFLAGS C++ compiler flags
1968 PKG_CONFIG path to pkg-config utility
1970 C compiler flags for DIRECTFB, overriding pkg-config
1972 linker flags for DIRECTFB, overriding pkg-config
1973 XMKMF Path to xmkmf, Makefile generator for X Window System
1975 C compiler flags for PANGOX, overriding pkg-config
1976 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1978 C compiler flags for PANGOFT2, overriding pkg-config
1980 linker flags for PANGOFT2, overriding pkg-config
1982 C compiler flags for PANGOXFT, overriding pkg-config
1984 linker flags for PANGOXFT, overriding pkg-config
1986 C compiler flags for GTKPRINT, overriding pkg-config
1988 linker flags for GTKPRINT, overriding pkg-config
1989 LIBGNOMEPRINTUI_CFLAGS
1990 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1991 LIBGNOMEPRINTUI_LIBS
1992 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1994 C compiler flags for GNOMEVFS, overriding pkg-config
1996 linker flags for GNOMEVFS, overriding pkg-config
1998 C compiler flags for HILDON, overriding pkg-config
1999 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2001 C compiler flags for HILDON2, overriding pkg-config
2003 linker flags for HILDON2, overriding pkg-config
2005 C compiler flags for CAIRO, overriding pkg-config
2006 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2007 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2008 GST_LIBS linker flags for GST, overriding pkg-config
2010 Use these variables to override the choices made by `configure' or to
help
2011 it to
find libraries and programs with nonstandard names
/locations.
2013 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2018 if test "$ac_init_help" = "recursive"; then
2019 # If there are subdirs, report their specific --help.
2020 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2021 test -d "$ac_dir" || continue
2025 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2027 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2028 # A ".." for each directory in $ac_dir_suffix.
2029 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2030 case $ac_top_builddir_sub in
2031 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2032 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2035 ac_abs_top_builddir
=$ac_pwd
2036 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2037 # for backward compatibility:
2038 ac_top_builddir
=$ac_top_build_prefix
2041 .
) # We are building in place.
2043 ac_top_srcdir
=$ac_top_builddir_sub
2044 ac_abs_top_srcdir
=$ac_pwd ;;
2045 [\\/]* | ?
:[\\/]* ) # Absolute name.
2046 ac_srcdir
=$srcdir$ac_dir_suffix;
2047 ac_top_srcdir
=$srcdir
2048 ac_abs_top_srcdir
=$srcdir ;;
2050 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2051 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2052 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2054 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2056 cd "$ac_dir" || { ac_status
=$?
; continue; }
2057 # Check for guested configure.
2058 if test -f "$ac_srcdir/configure.gnu"; then
2060 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2061 elif test -f "$ac_srcdir/configure"; then
2063 $SHELL "$ac_srcdir/configure" --help=recursive
2065 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2067 cd "$ac_pwd" || { ac_status
=$?
; break; }
2071 test -n "$ac_init_help" && exit $ac_status
2072 if $ac_init_version; then
2074 wxWidgets configure
2.9.1
2075 generated by GNU Autoconf
2.61
2077 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2078 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2079 This configure
script is free software
; the Free Software Foundation
2080 gives unlimited permission to copy
, distribute and modify it.
2084 cat >config.log
<<_ACEOF
2085 This file contains any messages produced by compilers while
2086 running configure, to aid debugging if configure makes a mistake.
2088 It was created by wxWidgets $as_me 2.9.1, which was
2089 generated by GNU Autoconf 2.61. Invocation command line was
2101 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2102 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2103 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2104 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2105 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2107 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2108 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2110 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2111 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2112 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2113 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2114 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2115 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2116 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 echo "PATH: $as_dir"
2141 # Keep a trace of the command line.
2142 # Strip out --no-create and --no-recursion so they do not pile up.
2143 # Strip out --silent because we don't want to record it for future runs.
2144 # Also quote any args containing shell meta-characters.
2145 # Make two passes to allow for proper duplicate-argument suppression.
2149 ac_must_keep_next
=false
2155 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2157 | -silent | --silent | --silen | --sile | --sil)
2160 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2163 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2165 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2166 if test $ac_must_keep_next = true
; then
2167 ac_must_keep_next
=false
# Got value, back to normal.
2170 *=* | --config-cache | -C | -disable-* | --disable-* \
2171 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2172 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2173 | -with-* | --with-* | -without-* | --without-* | --x)
2174 case "$ac_configure_args0 " in
2175 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2178 -* ) ac_must_keep_next
=true
;;
2181 ac_configure_args
="$ac_configure_args '$ac_arg'"
2186 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2187 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2189 # When interrupted or exit'd, cleanup temporary files, and complete
2190 # config.log. We remove comments because anyway the quotes in there
2191 # would cause problems or look ugly.
2192 # WARNING: Use '\'' to represent an apostrophe within the trap.
2193 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2194 trap 'exit_status=$?
2195 # Save into config.log some information that might help in debugging.
2200 ## ---------------- ##
2201 ## Cache variables. ##
2202 ## ---------------- ##
2205 # The following way of writing the cache mishandles newlines in values,
2207 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2208 eval ac_val=\$$ac_var
2212 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2213 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2216 _ | IFS | as_nl) ;; #(
2217 *) $as_unset $ac_var ;;
2222 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2223 *${as_nl}ac_space=\ *)
2225 "s/'\''/'\''\\\\'\'''\''/g;
2226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2237 ## ----------------- ##
2238 ## Output variables. ##
2239 ## ----------------- ##
2242 for ac_var in $ac_subst_vars
2244 eval ac_val=\$$ac_var
2246 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248 echo "$ac_var='\''$ac_val'\''"
2252 if test -n "$ac_subst_files"; then
2254 ## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##
2259 for ac_var
in $ac_subst_files
2261 eval ac_val
=\$
$ac_var
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 echo "$ac_var='\''$ac_val'\''"
2270 if test -s confdefs.h; then
2280 test "$ac_signal" != 0 &&
2281 echo "$as_me: caught signal $ac_signal"
2282 echo "$as_me: exit $exit_status"
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2288 for ac_signal
in 1 2 13 15; do
2289 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2293 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2294 rm -f -r conftest
* confdefs.h
2296 # Predefined preprocessor variables.
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_NAME "$PACKAGE_NAME"
2303 cat >>confdefs.h
<<_ACEOF
2304 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308 cat >>confdefs.h
<<_ACEOF
2309 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_STRING "$PACKAGE_STRING"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2323 # Let the site file select an alternate cache file if it wants to.
2324 # Prefer explicitly selected file to automatically selected ones.
2325 if test -n "$CONFIG_SITE"; then
2326 set x
"$CONFIG_SITE"
2327 elif test "x$prefix" != xNONE
; then
2328 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2330 set x
"$ac_default_prefix/share/config.site" \
2331 "$ac_default_prefix/etc/config.site"
2336 if test -r "$ac_site_file"; then
2337 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2338 echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5
2344 if test -r "$cache_file"; then
2345 # Some versions of bash will fail to source /dev/null (special
2346 # files actually), so we avoid doing that.
2347 if test -f "$cache_file"; then
2348 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2349 echo "$as_me: loading cache $cache_file" >&6;}
2351 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2352 *) .
"./$cache_file";;
2356 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2357 echo "$as_me: creating cache $cache_file" >&6;}
2361 # Check that the precious variables saved in the cache have kept the same
2363 ac_cache_corrupted
=false
2364 for ac_var
in $ac_precious_vars; do
2365 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2366 eval ac_new_set
=\
$ac_env_${ac_var}_set
2367 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2368 eval ac_new_val
=\
$ac_env_${ac_var}_value
2369 case $ac_old_set,$ac_new_set in
2371 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2372 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2373 ac_cache_corrupted
=: ;;
2375 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2376 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2377 ac_cache_corrupted
=: ;;
2380 if test "x$ac_old_val" != "x$ac_new_val"; then
2381 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2382 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2384 echo "$as_me: former value: $ac_old_val" >&2;}
2385 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2386 echo "$as_me: current value: $ac_new_val" >&2;}
2387 ac_cache_corrupted
=:
2390 # Pass precious variables to config.status.
2391 if test "$ac_new_set" = set; then
2393 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 *) ac_arg
=$ac_var=$ac_new_val ;;
2396 case " $ac_configure_args " in
2397 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2398 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2402 if $ac_cache_corrupted; then
2403 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2404 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2406 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2407 { (exit 1); exit 1; }; }
2435 ac_cpp
='$CPP $CPPFLAGS'
2436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2445 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2446 if test -f "$ac_dir/install-sh"; then
2448 ac_install_sh
="$ac_aux_dir/install-sh -c"
2450 elif test -f "$ac_dir/install.sh"; then
2452 ac_install_sh
="$ac_aux_dir/install.sh -c"
2454 elif test -f "$ac_dir/shtool"; then
2456 ac_install_sh
="$ac_aux_dir/shtool install -c"
2460 if test -z "$ac_aux_dir"; then
2461 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2462 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2463 { (exit 1); exit 1; }; }
2466 # These three variables are undocumented and unsupported,
2467 # and are intended to be withdrawn in a future Autoconf release.
2468 # They can cause serious problems if a builder's source tree is in a directory
2469 # whose full name contains unusual characters.
2470 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2471 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2472 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2475 # Make sure we can run config.sub.
2476 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2477 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2478 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2479 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: checking build system type" >&5
2482 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_build+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 ac_build_alias
=$build_alias
2487 test "x$ac_build_alias" = x
&&
2488 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2489 test "x$ac_build_alias" = x
&&
2490 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2491 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2492 { (exit 1); exit 1; }; }
2493 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2494 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2495 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2496 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2500 echo "${ECHO_T}$ac_cv_build" >&6; }
2501 case $ac_cv_build in
2503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2504 echo "$as_me: error: invalid value of canonical build" >&2;}
2505 { (exit 1); exit 1; }; };;
2508 ac_save_IFS
=$IFS; IFS
='-'
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2518 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2521 { echo "$as_me:$LINENO: checking host system type" >&5
2522 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2523 if test "${ac_cv_host+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test "x$host_alias" = x
; then
2527 ac_cv_host
=$ac_cv_build
2529 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2530 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2531 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2532 { (exit 1); exit 1; }; }
2536 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2537 echo "${ECHO_T}$ac_cv_host" >&6; }
2540 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2541 echo "$as_me: error: invalid value of canonical host" >&2;}
2542 { (exit 1); exit 1; }; };;
2545 ac_save_IFS
=$IFS; IFS
='-'
2551 # Remember, the first character of IFS is used to create $*,
2552 # except with old shells:
2555 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2559 if test "$cross_compiling" != "no"; then
2560 HOST_PREFIX
="${host_alias}-"
2561 HOST_SUFFIX
="-$host_alias"
2568 wx_major_version_number
=2
2569 wx_minor_version_number
=9
2571 wx_subrelease_number
=0
2573 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2574 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2575 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2577 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2580 wx_top_builddir
="`pwd`"
2593 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2599 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2605 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2607 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2609 DEFAULT_wxUSE_COCOA
=0
2611 DEFAULT_wxUSE_OSX_CARBON
=0
2612 DEFAULT_wxUSE_OSX_COCOA
=0
2614 DEFAULT_wxUSE_MICROWIN
=0
2615 DEFAULT_wxUSE_MOTIF
=0
2621 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2622 DEFAULT_DEFAULT_wxUSE_GTK
=0
2623 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2624 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2625 DEFAULT_DEFAULT_wxUSE_MGL
=0
2626 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2627 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2628 DEFAULT_DEFAULT_wxUSE_MSW
=0
2629 DEFAULT_DEFAULT_wxUSE_PM
=0
2630 DEFAULT_DEFAULT_wxUSE_X11
=0
2631 DEFAULT_DEFAULT_wxUSE_DFB
=0
2635 DYLIB_RPATH_INSTALL
=
2636 DYLIB_RPATH_POSTLINK
=
2638 DEFAULT_STD_FLAG
=yes
2643 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2644 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2645 cat >>confdefs.h
<<\_ACEOF
2650 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2654 cat >>confdefs.h
<<\_ACEOF
2659 if test "x$TMP" = "xalpha"; then
2661 cat >>confdefs.h
<<\_ACEOF
2666 DEFAULT_DEFAULT_wxUSE_GTK
=1
2668 *-*-gnu* | *-*-k*bsd
*-gnu )
2671 if test "x$TMP" = "xalpha"; then
2673 cat >>confdefs.h
<<\_ACEOF
2678 DEFAULT_DEFAULT_wxUSE_GTK
=1
2680 *-*-irix5* | *-*-irix6* )
2683 cat >>confdefs.h
<<\_ACEOF
2687 cat >>confdefs.h
<<\_ACEOF
2691 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2702 #define __SOLARIS__ 1
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2710 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2716 cat >>confdefs.h
<<\_ACEOF
2720 cat >>confdefs.h
<<\_ACEOF
2724 cat >>confdefs.h
<<\_ACEOF
2728 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2733 cat >>confdefs.h
<<\_ACEOF
2734 #define __FREEBSD__ 1
2737 cat >>confdefs.h
<<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_GTK
=1
2743 *-*-openbsd*|*-*-mirbsd*)
2746 cat >>confdefs.h
<<\_ACEOF
2747 #define __OPENBSD__ 1
2750 cat >>confdefs.h
<<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 cat >>confdefs.h
<<\_ACEOF
2760 #define __NETBSD__ 1
2763 cat >>confdefs.h
<<\_ACEOF
2767 DEFAULT_DEFAULT_wxUSE_GTK
=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2770 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2775 cat >>confdefs.h
<<\_ACEOF
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2789 cat >>confdefs.h
<<\_ACEOF
2793 cat >>confdefs.h
<<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2802 cat >>confdefs.h
<<\_ACEOF
2806 cat >>confdefs.h
<<\_ACEOF
2810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2816 cat >>confdefs.h
<<\_ACEOF
2820 cat >>confdefs.h
<<\_ACEOF
2824 cat >>confdefs.h
<<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2835 cat >>confdefs.h
<<\_ACEOF
2836 #define __UNIXWARE__ 1
2841 *-*-cygwin* | *-*-mingw32* )
2843 DEFAULT_DEFAULT_wxUSE_MSW
=1
2849 cat >>confdefs.h
<<\_ACEOF
2854 DEFAULT_DEFAULT_wxUSE_MGL
=1
2857 *-pc-os2_emx | *-pc-os2-emx )
2858 cat >>confdefs.h
<<\_ACEOF
2863 cat >>confdefs.h
<<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_PM
=1
2870 LDFLAGS
="$LDFLAGS -Zcrtdll"
2871 ac_executable_extensions
=".exe"
2872 export ac_executable_extensions
2876 for ac_dir
in $PATH; do
2878 if test -z "$ac_TEMP_PATH"; then
2879 ac_TEMP_PATH
="$ac_dir"
2881 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2884 export PATH
="$ac_TEMP_PATH"
2892 cat >>confdefs.h
<<\_ACEOF
2896 cat >>confdefs.h
<<\_ACEOF
2897 #define __DARWIN__ 1
2900 cat >>confdefs.h
<<\_ACEOF
2901 #define TARGET_CARBON 1
2904 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2909 cat >>confdefs.h
<<\_ACEOF
2916 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2917 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2918 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2919 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2921 DEFAULT_DEFAULT_wxUSE_X11
=1
2922 DEFAULT_wxUSE_SHARED
=no
2927 DEFAULT_wxUSE_ALL_FEATURES
=yes
2929 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2932 DEFAULT_wxUSE_DMALLOC
=no
2933 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2934 DEFAULT_wxUSE_LIBHILDON
=no
2935 DEFAULT_wxUSE_LIBHILDON2
=no
2936 DEFAULT_wxUSE_LIBMSPACK
=no
2937 DEFAULT_wxUSE_LIBSDL
=no
2939 DEFAULT_wxUSE_ACCESSIBILITY
=no
2940 DEFAULT_wxUSE_IPV6
=no
2941 DEFAULT_wxUSE_GSTREAMER8
=no
2943 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2944 DEFAULT_wxUSE_OPENGL
=auto
2945 DEFAULT_wxUSE_MEDIACTRL
=auto
2946 DEFAULT_wxUSE_COMPILER_TLS
=auto
2948 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2950 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2952 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2954 DEFAULT_wxUSE_GTK2
=yes
2956 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2962 enablestring
=disable
2964 if test -z "$defaultval"; then
2965 if test x
"$enablestring" = xdisable
; then
2972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2973 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2974 # Check whether --enable-gui was given.
2975 if test "${enable_gui+set}" = set; then
2976 enableval
=$enable_gui;
2977 if test "$enableval" = yes; then
2978 wx_cv_use_gui
='wxUSE_GUI=yes'
2980 wx_cv_use_gui
='wxUSE_GUI=no'
2985 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2990 eval "$wx_cv_use_gui"
2992 if test x"$enablestring" = xdisable; then
2993 if test $wxUSE_GUI = no; then
3002 { echo "$as_me:$LINENO: result: $result" >&5
3003 echo "${ECHO_T}$result" >&6; }
3008 if test -z "$defaultval"; then
3009 if test x"$enablestring" = xdisable; then
3016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3017 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3018 # Check whether --enable-monolithic was given.
3019 if test "${enable_monolithic+set}" = set; then
3020 enableval=$enable_monolithic;
3021 if test "$enableval" = yes; then
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3029 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3034 eval "$wx_cv_use_monolithic"
3036 if test x"$enablestring" = xdisable; then
3037 if test $wxUSE_MONOLITHIC = no; then
3043 result=$wxUSE_MONOLITHIC
3046 { echo "$as_me:$LINENO: result
: $result" >&5
3047 echo "${ECHO_T}$result" >&6; }
3052 if test -z "$defaultval"; then
3053 if test x"$enablestring" = xdisable; then
3060 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3061 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3062 # Check whether --enable-plugins was given.
3063 if test "${enable_plugins+set}" = set; then
3064 enableval=$enable_plugins;
3065 if test "$enableval" = yes; then
3066 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3068 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3073 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3078 eval "$wx_cv_use_plugins"
3080 if test x
"$enablestring" = xdisable
; then
3081 if test $wxUSE_PLUGINS = no
; then
3087 result
=$wxUSE_PLUGINS
3090 { echo "$as_me:$LINENO: result: $result" >&5
3091 echo "${ECHO_T}$result" >&6; }
3095 defaultval
=$wxUSE_ALL_FEATURES
3096 if test -z "$defaultval"; then
3097 if test x
"$withstring" = xwithout
; then
3103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3104 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3106 # Check whether --with-subdirs was given.
3107 if test "${with_subdirs+set}" = set; then
3108 withval
=$with_subdirs;
3109 if test "$withval" = yes; then
3110 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3112 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3117 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3122 eval "$wx_cv_use_subdirs"
3124 if test x"$withstring" = xwithout; then
3125 if test $wxWITH_SUBDIRS = yes; then
3131 result=$wxWITH_SUBDIRS
3134 { echo "$as_me:$LINENO: result: $result" >&5
3135 echo "${ECHO_T}$result" >&6; }
3138 # Check whether --with-flavour was given.
3139 if test "${with_flavour+set}" = set; then
3140 withval=$with_flavour; WX_FLAVOUR="$withval"
3146 if test -z "$defaultval"; then
3147 if test x"$enablestring" = xdisable; then
3154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3155 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3156 # Check whether --enable-official_build was given.
3157 if test "${enable_official_build+set}" = set; then
3158 enableval=$enable_official_build;
3159 if test "$enableval" = yes; then
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3167 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3172 eval "$wx_cv_use_official_build"
3174 if test x"$enablestring" = xdisable; then
3175 if test $wxUSE_OFFICIAL_BUILD = no; then
3181 result=$wxUSE_OFFICIAL_BUILD
3184 { echo "$as_me:$LINENO: result
: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3187 # Check whether --enable-vendor was given.
3188 if test "${enable_vendor+set}" = set; then
3189 enableval=$enable_vendor; VENDOR="$enableval"
3192 if test "x
$VENDOR" = "x
"; then
3197 enablestring=disable
3199 if test -z "$defaultval"; then
3200 if test x"$enablestring" = xdisable; then
3207 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3208 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3209 # Check whether --enable-all-features was given.
3210 if test "${enable_all_features+set}" = set; then
3211 enableval=$enable_all_features;
3212 if test "$enableval" = yes; then
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3220 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3225 eval "$wx_cv_use_all_features"
3227 if test x
"$enablestring" = xdisable
; then
3228 if test $wxUSE_ALL_FEATURES = no
; then
3234 result
=$wxUSE_ALL_FEATURES
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3241 if test "$wxUSE_ALL_FEATURES" = "no"; then
3242 DEFAULT_wxUSE_MEDIACTRL
=no
3246 if test "$wxUSE_GUI" = "yes"; then
3251 if test -z "$defaultval"; then
3252 if test x
"$enablestring" = xdisable
; then
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3261 # Check whether --enable-universal was given.
3262 if test "${enable_universal+set}" = set; then
3263 enableval
=$enable_universal;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3267 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3272 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3277 eval "$wx_cv_use_universal"
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_UNIVERSAL = no; then
3286 result=$wxUSE_UNIVERSAL
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3292 if test "$wxUSE_UNIVERSAL" = "yes"; then
3294 # Check whether --with-themes was given.
3295 if test "${with_themes+set}" = set; then
3296 withval=$with_themes; wxUNIV_THEMES="$withval"
3302 # Check whether --with-gtk was given.
3303 if test "${with_gtk+set}" = set; then
3304 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-motif was given.
3309 if test "${with_motif+set}" = set; then
3310 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-osx_carbon was given.
3315 if test "${with_osx_carbon+set}" = set; then
3316 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3320 # Check whether --with-osx_cocoa was given.
3321 if test "${with_osx_cocoa+set}" = set; then
3322 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-mac was given.
3327 if test "${with_mac+set}" = set; then
3328 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-cocoa was given.
3333 if test "${with_cocoa+set}" = set; then
3334 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-wine was given.
3339 if test "${with_wine+set}" = set; then
3340 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3344 # Check whether --with-msw was given.
3345 if test "${with_msw+set}" = set; then
3346 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-pm was given.
3351 if test "${with_pm+set}" = set; then
3352 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-mgl was given.
3357 if test "${with_mgl+set}" = set; then
3358 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-directfb was given.
3363 if test "${with_directfb+set}" = set; then
3364 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-microwin was given.
3369 if test "${with_microwin+set}" = set; then
3370 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-x11 was given.
3375 if test "${with_x11+set}" = set; then
3376 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3382 if test -z "$defaultval"; then
3383 if test x"$enablestring" = xdisable; then
3390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3392 # Check whether --enable-nanox was given.
3393 if test "${enable_nanox+set}" = set; then
3394 enableval=$enable_nanox;
3395 if test "$enableval" = yes; then
3396 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3398 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3403 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3408 eval "$wx_cv_use_nanox"
3410 if test x"$enablestring" = xdisable; then
3411 if test $wxUSE_NANOX = no; then
3420 { echo "$as_me:$LINENO: result
: $result" >&5
3421 echo "${ECHO_T}$result" >&6; }
3424 # Check whether --enable-gtk2 was given.
3425 if test "${enable_gtk2+set}" = set; then
3426 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3432 if test -z "$defaultval"; then
3433 if test x"$enablestring" = xdisable; then
3440 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3441 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3442 # Check whether --enable-gpe was given.
3443 if test "${enable_gpe+set}" = set; then
3444 enableval=$enable_gpe;
3445 if test "$enableval" = yes; then
3446 wx_cv_use_gpe='wxUSE_GPE=yes'
3448 wx_cv_use_gpe='wxUSE_GPE=no'
3453 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3458 eval "$wx_cv_use_gpe"
3460 if test x
"$enablestring" = xdisable
; then
3461 if test $wxUSE_GPE = no
; then
3470 { echo "$as_me:$LINENO: result: $result" >&5
3471 echo "${ECHO_T}$result" >&6; }
3475 { echo "$as_me:$LINENO: checking for toolkit" >&5
3476 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3480 # In Wine, we need to default to MSW, not GTK or MOTIF
3481 if test "$wxUSE_WINE" = "yes"; then
3482 DEFAULT_DEFAULT_wxUSE_GTK
=0
3483 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3484 DEFAULT_DEFAULT_wxUSE_MSW
=1
3491 if test "$wxUSE_GUI" = "yes"; then
3493 if test "$USE_BEOS" = 1; then
3494 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3495 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3496 { (exit 1); exit 1; }; }
3499 if test "$TOOLKIT_GIVEN" = 1; then
3500 for toolkit
in $ALL_TOOLKITS; do
3502 eval "value=\$${var}"
3503 if test "x$value" = "xno"; then
3505 elif test "x$value" != "x"; then
3509 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3510 eval "wx${toolkit}_VERSION=$value"
3514 for toolkit
in $ALL_TOOLKITS; do
3515 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3516 eval "wxUSE_$toolkit=\$${var}"
3520 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3521 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3522 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3525 *-pc-os2_emx | *-pc-os2-emx )
3526 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3529 case "$NUM_TOOLKITS" in
3533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3535 { (exit 1); exit 1; }; }
3538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3539 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3540 { (exit 1); exit 1; }; }
3543 # to be removed when --disable-gtk2 isn't needed
3544 if test "x$wxUSE_GTK2" = "xyes"; then
3546 elif test "x$wxUSE_GTK2" = "xno"; then
3550 for toolkit
in $ALL_TOOLKITS; do
3552 eval "value=\$${var}"
3553 if test "$value" = 1; then
3554 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3555 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3556 echo "${ECHO_T}$toolkit_echo" >&6; }
3560 if test "x$host_alias" != "x"; then
3561 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3562 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3564 { echo "$as_me:$LINENO: result: base only" >&5
3565 echo "${ECHO_T}base only" >&6; }
3570 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3576 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3577 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3579 # Check whether --with-libpng was given.
3580 if test "${with_libpng+set}" = set; then
3581 withval
=$with_libpng;
3582 if test "$withval" = yes; then
3583 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3584 elif test "$withval" = no
; then
3585 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3586 elif test "$withval" = sys
; then
3587 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3588 elif test "$withval" = builtin; then
3589 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3598 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3603 eval "$wx_cv_use_libpng"
3605 if test "$wxUSE_LIBPNG" = yes; then
3606 { echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6; }
3608 elif test "$wxUSE_LIBPNG" = no; then
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3611 elif test "$wxUSE_LIBPNG" = sys; then
3612 { echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6; }
3614 elif test "$wxUSE_LIBPNG" = builtin; then
3615 { echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6; }
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3624 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3625 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3627 # Check whether --with-libjpeg was given.
3628 if test "${with_libjpeg+set}" = set; then
3629 withval=$with_libjpeg;
3630 if test "$withval" = yes; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3632 elif test "$withval" = no; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3634 elif test "$withval" = sys; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3636 elif test "$withval" = builtin; then
3637 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3651 eval "$wx_cv_use_libjpeg"
3653 if test "$wxUSE_LIBJPEG" = yes; then
3654 { echo "$as_me:$LINENO: result
: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = no; then
3657 { echo "$as_me:$LINENO: result
: no
" >&5
3658 echo "${ECHO_T}no
" >&6; }
3659 elif test "$wxUSE_LIBJPEG" = sys; then
3660 { echo "$as_me:$LINENO: result
: system version
" >&5
3661 echo "${ECHO_T}system version
" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = builtin; then
3663 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3664 echo "${ECHO_T}builtin version
" >&6; }
3666 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3667 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3672 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3673 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3675 # Check whether --with-libtiff was given.
3676 if test "${with_libtiff+set}" = set; then
3677 withval=$with_libtiff;
3678 if test "$withval" = yes; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3680 elif test "$withval" = no; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3682 elif test "$withval" = sys; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3684 elif test "$withval" = builtin; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3687 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3688 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3694 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3699 eval "$wx_cv_use_libtiff"
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no
; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys
; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval
=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no
; then
3729 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys
; then
3731 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3747 eval "$wx_cv_use_libxpm"
3749 if test "$wxUSE_LIBXPM" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBXPM" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBXPM" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBXPM" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3769 defaultval=$wxUSE_ALL_FEATURES
3770 if test -z "$defaultval"; then
3771 if test x"$withstring" = xwithout; then
3777 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3778 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3780 # Check whether --with-libiconv was given.
3781 if test "${with_libiconv+set}" = set; then
3782 withval=$with_libiconv;
3783 if test "$withval" = yes; then
3784 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3786 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3791 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3796 eval "$wx_cv_use_libiconv"
3798 if test x"$withstring" = xwithout; then
3799 if test $wxUSE_LIBICONV = yes; then
3805 result=$wxUSE_LIBICONV
3808 { echo "$as_me:$LINENO: result
: $result" >&5
3809 echo "${ECHO_T}$result" >&6; }
3813 defaultval=$wxUSE_ALL_FEATURES
3814 if test -z "$defaultval"; then
3815 if test x"$withstring" = xwithout; then
3821 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3822 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3824 # Check whether --with-libmspack was given.
3825 if test "${with_libmspack+set}" = set; then
3826 withval=$with_libmspack;
3827 if test "$withval" = yes; then
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3840 eval "$wx_cv_use_libmspack"
3842 if test x
"$withstring" = xwithout
; then
3843 if test $wxUSE_LIBMSPACK = yes; then
3849 result
=$wxUSE_LIBMSPACK
3852 { echo "$as_me:$LINENO: result: $result" >&5
3853 echo "${ECHO_T}$result" >&6; }
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}-gtkprint" >&5
3866 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3868 # Check whether --with-gtkprint was given.
3869 if test "${with_gtkprint+set}" = set; then
3870 withval
=$with_gtkprint;
3871 if test "$withval" = yes; then
3872 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3874 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3879 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3884 eval "$wx_cv_use_gtkprint"
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_GTKPRINT = yes; then
3893 result=$wxUSE_GTKPRINT
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}-gnomeprint" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3912 # Check whether --with-gnomeprint was given.
3913 if test "${with_gnomeprint+set}" = set; then
3914 withval=$with_gnomeprint;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3918 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3923 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3928 eval "$wx_cv_use_gnomeprint"
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBGNOMEPRINT = yes; then
3937 result=$wxUSE_LIBGNOMEPRINT
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}-gnomevfs" >&5
3954 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3956 # Check whether --with-gnomevfs was given.
3957 if test "${with_gnomevfs+set}" = set; then
3958 withval=$with_gnomevfs;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3962 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3967 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3972 eval "$wx_cv_use_gnomevfs"
3974 if test x
"$withstring" = xwithout
; then
3975 if test $wxUSE_LIBGNOMEVFS = yes; then
3981 result
=$wxUSE_LIBGNOMEVFS
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}-hildon" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4000 # Check whether --with-hildon was given.
4001 if test "${with_hildon+set}" = set; then
4002 withval
=$with_hildon;
4003 if test "$withval" = yes; then
4004 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4006 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4011 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4016 eval "$wx_cv_use_hildon"
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_LIBHILDON = yes; then
4025 result=$wxUSE_LIBHILDON
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}-opengl" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4044 # Check whether --with-opengl was given.
4045 if test "${with_opengl+set}" = set; then
4046 withval=$with_opengl;
4047 if test "$withval" = yes; then
4048 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4050 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4055 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4060 eval "$wx_cv_use_opengl"
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_OPENGL = yes; then
4069 result=$wxUSE_OPENGL
4072 { echo "$as_me:$LINENO: result
: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4080 defaultval=$wxUSE_ALL_FEATURES
4081 if test -z "$defaultval"; then
4082 if test x"$withstring" = xwithout; then
4088 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4089 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4091 # Check whether --with-dmalloc was given.
4092 if test "${with_dmalloc+set}" = set; then
4093 withval=$with_dmalloc;
4094 if test "$withval" = yes; then
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4102 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4107 eval "$wx_cv_use_dmalloc"
4109 if test x
"$withstring" = xwithout
; then
4110 if test $wxUSE_DMALLOC = yes; then
4116 result
=$wxUSE_DMALLOC
4119 { echo "$as_me:$LINENO: result: $result" >&5
4120 echo "${ECHO_T}$result" >&6; }
4124 defaultval
=$wxUSE_ALL_FEATURES
4125 if test -z "$defaultval"; then
4126 if test x
"$withstring" = xwithout
; then
4132 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4133 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4135 # Check whether --with-sdl was given.
4136 if test "${with_sdl+set}" = set; then
4138 if test "$withval" = yes; then
4139 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4141 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4146 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4151 eval "$wx_cv_use_sdl"
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_LIBSDL = yes; then
4160 result=$wxUSE_LIBSDL
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4167 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4168 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4170 # Check whether --with-regex was given.
4171 if test "${with_regex+set}" = set; then
4172 withval=$with_regex;
4173 if test "$withval" = yes; then
4174 wx_cv_use_regex='wxUSE_REGEX
=yes'
4175 elif test "$withval" = no; then
4176 wx_cv_use_regex='wxUSE_REGEX
=no
'
4177 elif test "$withval" = sys; then
4178 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4179 elif test "$withval" = builtin; then
4180 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4189 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4194 eval "$wx_cv_use_regex"
4196 if test "$wxUSE_REGEX" = yes; then
4197 { echo "$as_me:$LINENO: result
: yes" >&5
4198 echo "${ECHO_T}yes" >&6; }
4199 elif test "$wxUSE_REGEX" = no; then
4200 { echo "$as_me:$LINENO: result
: no
" >&5
4201 echo "${ECHO_T}no
" >&6; }
4202 elif test "$wxUSE_REGEX" = sys; then
4203 { echo "$as_me:$LINENO: result
: system version
" >&5
4204 echo "${ECHO_T}system version
" >&6; }
4205 elif test "$wxUSE_REGEX" = builtin; then
4206 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4207 echo "${ECHO_T}builtin version
" >&6; }
4209 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4210 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4211 { (exit 1); exit 1; }; }
4215 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4216 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4218 # Check whether --with-zlib was given.
4219 if test "${with_zlib+set}" = set; then
4221 if test "$withval" = yes; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4223 elif test "$withval" = no; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=no'
4225 elif test "$withval" = sys; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4227 elif test "$withval" = builtin; then
4228 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4230 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4231 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4237 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4242 eval "$wx_cv_use_zlib"
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no
; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys
; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4263 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4264 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4266 # Check whether --with-expat was given.
4267 if test "${with_expat+set}" = set; then
4268 withval
=$with_expat;
4269 if test "$withval" = yes; then
4270 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4271 elif test "$withval" = no
; then
4272 wx_cv_use_expat
='wxUSE_EXPAT=no'
4273 elif test "$withval" = sys
; then
4274 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4285 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4290 eval "$wx_cv_use_expat"
4292 if test "$wxUSE_EXPAT" = yes; then
4293 { echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_EXPAT" = no; then
4296 { echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6; }
4298 elif test "$wxUSE_EXPAT" = sys; then
4299 { echo "$as_me:$LINENO: result: system version" >&5
4300 echo "${ECHO_T}system version" >&6; }
4301 elif test "$wxUSE_EXPAT" = builtin; then
4302 { echo "$as_me:$LINENO: result: builtin version" >&5
4303 echo "${ECHO_T}builtin version" >&6; }
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4311 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4312 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4314 # Check whether --with-macosx-sdk was given.
4315 if test "${with_macosx_sdk+set}" = set; then
4316 withval=$with_macosx_sdk;
4317 wxUSE_MACOSX_SDK=$withval
4318 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4322 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4323 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4325 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4326 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4328 # Check whether --with-macosx-version-min was given.
4329 if test "${with_macosx_version_min+set}" = set; then
4330 withval=$with_macosx_version_min;
4331 wxUSE_MACOSX_VERSION_MIN=$withval
4332 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4336 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4337 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4340 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4341 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4342 # Check whether --enable-debug was given.
4343 if test "${enable_debug+set}" = set; then
4344 enableval=$enable_debug;
4345 if test "$enableval" = yes; then
4347 elif test "$enableval" = no; then
4349 elif test "$enableval" = max; then
4351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4353 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4354 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4355 { (exit 1); exit 1; }; }
4364 case "$wxUSE_DEBUG" in
4366 DEFAULT_wxUSE_DEBUG_FLAG=yes
4367 DEFAULT_wxUSE_DEBUG_INFO=yes
4369 DEFAULT_wxUSE_OPTIMISE=no
4373 DEFAULT_wxUSE_DEBUG_FLAG=no
4374 DEFAULT_wxUSE_DEBUG_INFO=no
4378 DEFAULT_wxUSE_DEBUG_FLAG=yes
4379 DEFAULT_wxUSE_DEBUG_INFO=no
4384 enablestring=disable
4386 if test -z "$defaultval"; then
4387 if test x"$enablestring" = xdisable; then
4394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4396 # Check whether --enable-debug_flag was given.
4397 if test "${enable_debug_flag+set}" = set; then
4398 enableval=$enable_debug_flag;
4399 if test "$enableval" = yes; then
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4402 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4407 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4412 eval "$wx_cv_use_debug_flag"
4414 if test x"$enablestring" = xdisable; then
4415 if test $wxUSE_DEBUG_FLAG = no; then
4421 result=$wxUSE_DEBUG_FLAG
4424 { echo "$as_me:$LINENO: result
: $result" >&5
4425 echo "${ECHO_T}$result" >&6; }
4430 if test -z "$defaultval"; then
4431 if test x"$enablestring" = xdisable; then
4438 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4439 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4440 # Check whether --enable-debug_info was given.
4441 if test "${enable_debug_info+set}" = set; then
4442 enableval=$enable_debug_info;
4443 if test "$enableval" = yes; then
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4446 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4451 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4456 eval "$wx_cv_use_debug_info"
4458 if test x
"$enablestring" = xdisable
; then
4459 if test $wxUSE_DEBUG_INFO = no
; then
4465 result
=$wxUSE_DEBUG_INFO
4468 { echo "$as_me:$LINENO: result: $result" >&5
4469 echo "${ECHO_T}$result" >&6; }
4476 if test -z "$defaultval"; then
4477 if test x
"$enablestring" = xdisable
; then
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_gdb was given.
4487 if test "${enable_debug_gdb+set}" = set; then
4488 enableval
=$enable_debug_gdb;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4492 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4497 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4502 eval "$wx_cv_use_debug_gdb"
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_GDB = no; then
4511 result=$wxUSE_DEBUG_GDB
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_cntxt was given.
4531 if test "${enable_debug_cntxt+set}" = set; then
4532 enableval=$enable_debug_cntxt;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4536 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4541 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4546 eval "$wx_cv_use_debug_cntxt"
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_CONTEXT = no; then
4555 result=$wxUSE_DEBUG_CONTEXT
4558 { echo "$as_me:$LINENO: result
: $result" >&5
4559 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}-mem_tracing" >&5
4573 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4574 # Check whether --enable-mem_tracing was given.
4575 if test "${enable_mem_tracing+set}" = set; then
4576 enableval=$enable_mem_tracing;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4580 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4585 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4590 eval "$wx_cv_use_mem_tracing"
4592 if test x
"$enablestring" = xdisable
; then
4593 if test $wxUSE_MEM_TRACING = no
; then
4599 result
=$wxUSE_MEM_TRACING
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4608 enablestring
=disable
4610 if test -z "$defaultval"; then
4611 if test x
"$enablestring" = xdisable
; then
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4620 # Check whether --enable-shared was given.
4621 if test "${enable_shared+set}" = set; then
4622 enableval
=$enable_shared;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_shared
='wxUSE_SHARED=yes'
4626 wx_cv_use_shared
='wxUSE_SHARED=no'
4631 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4636 eval "$wx_cv_use_shared"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_SHARED = no; then
4645 result=$wxUSE_SHARED
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4664 # Check whether --enable-stl was given.
4665 if test "${enable_stl+set}" = set; then
4666 enableval=$enable_stl;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_stl='wxUSE_STL
=yes'
4670 wx_cv_use_stl='wxUSE_STL
=no
'
4675 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4680 eval "$wx_cv_use_stl"
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_STL = no; then
4692 { echo "$as_me:$LINENO: result
: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4706 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4707 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4708 # Check whether --enable-std_iostreams was given.
4709 if test "${enable_std_iostreams+set}" = set; then
4710 enableval=$enable_std_iostreams;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4714 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4719 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4724 eval "$wx_cv_use_std_iostreams"
4726 if test x
"$enablestring" = xdisable
; then
4727 if test $wxUSE_STD_IOSTREAM = no
; then
4733 result
=$wxUSE_STD_IOSTREAM
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}-std_string" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4752 # Check whether --enable-std_string was given.
4753 if test "${enable_std_string+set}" = set; then
4754 enableval
=$enable_std_string;
4755 if test "$enableval" = yes; then
4756 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4758 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4763 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4768 eval "$wx_cv_use_std_string"
4770 if test x"$enablestring" = xdisable; then
4771 if test $wxUSE_STD_STRING = no; then
4777 result=$wxUSE_STD_STRING
4780 { echo "$as_me:$LINENO: result: $result" >&5
4781 echo "${ECHO_T}$result" >&6; }
4784 enablestring=disable
4786 if test -z "$defaultval"; then
4787 if test x"$enablestring" = xdisable; then
4794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4796 # Check whether --enable-unicode was given.
4797 if test "${enable_unicode+set}" = set; then
4798 enableval=$enable_unicode;
4799 if test "$enableval" = yes; then
4800 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4802 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4807 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4812 eval "$wx_cv_use_unicode"
4814 if test x"$enablestring" = xdisable; then
4815 if test $wxUSE_UNICODE = no; then
4821 result=$wxUSE_UNICODE
4824 { echo "$as_me:$LINENO: result
: $result" >&5
4825 echo "${ECHO_T}$result" >&6; }
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4839 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4840 # Check whether --enable-mslu was given.
4841 if test "${enable_mslu+set}" = set; then
4842 enableval=$enable_mslu;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4846 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4851 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4856 eval "$wx_cv_use_mslu"
4858 if test x
"$enablestring" = xdisable
; then
4859 if test $wxUSE_UNICODE_MSLU = no
; then
4865 result
=$wxUSE_UNICODE_MSLU
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4875 # Check whether --enable-utf8 was given.
4876 if test "${enable_utf8+set}" = set; then
4877 enableval
=$enable_utf8;
4878 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4882 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4887 eval "$wx_cv_use_utf8"
4889 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4890 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4895 if test -z "$defaultval"; then
4896 if test x
"$enablestring" = xdisable
; then
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4905 # Check whether --enable-utf8only was given.
4906 if test "${enable_utf8only+set}" = set; then
4907 enableval
=$enable_utf8only;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4911 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4916 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4921 eval "$wx_cv_use_utf8only"
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4930 result=$wxUSE_UNICODE_UTF8_LOCALE
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4939 if test -z "$defaultval"; then
4940 if test x"$enablestring" = xdisable; then
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4949 # Check whether --enable-extended_rtti was given.
4950 if test "${enable_extended_rtti+set}" = set; then
4951 enableval=$enable_extended_rtti;
4952 if test "$enableval" = yes; then
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4955 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4960 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4965 eval "$wx_cv_use_extended_rtti"
4967 if test x"$enablestring" = xdisable; then
4968 if test $wxUSE_EXTENDED_RTTI = no; then
4974 result=$wxUSE_EXTENDED_RTTI
4977 { echo "$as_me:$LINENO: result
: $result" >&5
4978 echo "${ECHO_T}$result" >&6; }
4980 if test "$USE_OS2" = 1; then
4981 DEFAULT_wxUSE_OMF=no
4985 if test -z "$defaultval"; then
4986 if test x"$enablestring" = xdisable; then
4993 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4994 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4995 # Check whether --enable-omf was given.
4996 if test "${enable_omf+set}" = set; then
4997 enableval=$enable_omf;
4998 if test "$enableval" = yes; then
4999 wx_cv_use_omf='wxUSE_OMF=yes'
5001 wx_cv_use_omf='wxUSE_OMF=no'
5006 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5011 eval "$wx_cv_use_omf"
5013 if test x
"$enablestring" = xdisable
; then
5014 if test $wxUSE_OMF = no
; then
5023 { echo "$as_me:$LINENO: result: $result" >&5
5024 echo "${ECHO_T}$result" >&6; }
5029 enablestring
=disable
5031 if test -z "$defaultval"; then
5032 if test x
"$enablestring" = xdisable
; then
5039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5041 # Check whether --enable-optimise was given.
5042 if test "${enable_optimise+set}" = set; then
5043 enableval
=$enable_optimise;
5044 if test "$enableval" = yes; then
5045 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5047 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5052 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5057 eval "$wx_cv_use_optimise"
5059 if test x"$enablestring" = xdisable; then
5060 if test $wxUSE_OPTIMISE = no; then
5066 result=$wxUSE_OPTIMISE
5069 { echo "$as_me:$LINENO: result: $result" >&5
5070 echo "${ECHO_T}$result" >&6; }
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5086 # Check whether --enable-profile was given.
5087 if test "${enable_profile+set}" = set; then
5088 enableval=$enable_profile;
5089 if test "$enableval" = yes; then
5090 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5092 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5097 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5102 eval "$wx_cv_use_profile"
5104 if test x"$enablestring" = xdisable; then
5105 if test $wxUSE_PROFILE = no; then
5111 result=$wxUSE_PROFILE
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}-no_rtti" >&5
5129 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5130 # Check whether --enable-no_rtti was given.
5131 if test "${enable_no_rtti+set}" = set; then
5132 enableval=$enable_no_rtti;
5133 if test "$enableval" = yes; then
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5136 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5141 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5146 eval "$wx_cv_use_no_rtti"
5148 if test x
"$enablestring" = xdisable
; then
5149 if test $wxUSE_NO_RTTI = no
; then
5155 result
=$wxUSE_NO_RTTI
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5164 if test -z "$defaultval"; then
5165 if test x
"$enablestring" = xdisable
; then
5172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5173 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5174 # Check whether --enable-no_exceptions was given.
5175 if test "${enable_no_exceptions+set}" = set; then
5176 enableval
=$enable_no_exceptions;
5177 if test "$enableval" = yes; then
5178 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5180 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5185 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5190 eval "$wx_cv_use_no_exceptions"
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_NO_EXCEPTIONS = no; then
5199 result=$wxUSE_NO_EXCEPTIONS
5202 { echo "$as_me:$LINENO: result: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5208 if test -z "$defaultval"; then
5209 if test x"$enablestring" = xdisable; then
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5218 # Check whether --enable-permissive was given.
5219 if test "${enable_permissive+set}" = set; then
5220 enableval=$enable_permissive;
5221 if test "$enableval" = yes; then
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5224 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5229 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5234 eval "$wx_cv_use_permissive"
5236 if test x"$enablestring" = xdisable; then
5237 if test $wxUSE_PERMISSIVE = no; then
5243 result=$wxUSE_PERMISSIVE
5246 { echo "$as_me:$LINENO: result
: $result" >&5
5247 echo "${ECHO_T}$result" >&6; }
5252 if test -z "$defaultval"; then
5253 if test x"$enablestring" = xdisable; then
5260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5261 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5262 # Check whether --enable-no_deps was given.
5263 if test "${enable_no_deps+set}" = set; then
5264 enableval=$enable_no_deps;
5265 if test "$enableval" = yes; then
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5268 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5273 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5278 eval "$wx_cv_use_no_deps"
5280 if test x
"$enablestring" = xdisable
; then
5281 if test $wxUSE_NO_DEPS = no
; then
5287 result
=$wxUSE_NO_DEPS
5290 { echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6; }
5294 enablestring
=disable
5296 if test -z "$defaultval"; then
5297 if test x
"$enablestring" = xdisable
; then
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5306 # Check whether --enable-vararg_macros was given.
5307 if test "${enable_vararg_macros+set}" = set; then
5308 enableval
=$enable_vararg_macros;
5309 if test "$enableval" = yes; then
5310 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5312 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5317 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5322 eval "$wx_cv_use_vararg_macros"
5324 if test x"$enablestring" = xdisable; then
5325 if test $wxUSE_VARARG_MACROS = no; then
5331 result=$wxUSE_VARARG_MACROS
5334 { echo "$as_me:$LINENO: result: $result" >&5
5335 echo "${ECHO_T}$result" >&6; }
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5341 # Check whether --enable-universal_binary was given.
5342 if test "${enable_universal_binary+set}" = set; then
5343 enableval=$enable_universal_binary;
5344 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5348 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5353 eval "$wx_cv_use_universal_binary"
5355 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5356 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5362 if test -z "$defaultval"; then
5363 if test x"$enablestring" = xdisable; then
5370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5372 # Check whether --enable-compat26 was given.
5373 if test "${enable_compat26+set}" = set; then
5374 enableval=$enable_compat26;
5375 if test "$enableval" = yes; then
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5378 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5383 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5388 eval "$wx_cv_use_compat26"
5390 if test x"$enablestring" = xdisable; then
5391 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5397 result=$WXWIN_COMPATIBILITY_2_6
5400 { echo "$as_me:$LINENO: result
: $result" >&5
5401 echo "${ECHO_T}$result" >&6; }
5404 enablestring=disable
5406 if test -z "$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5415 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5416 # Check whether --enable-compat28 was given.
5417 if test "${enable_compat28+set}" = set; then
5418 enableval=$enable_compat28;
5419 if test "$enableval" = yes; then
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5422 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5427 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5432 eval "$wx_cv_use_compat28"
5434 if test x
"$enablestring" = xdisable
; then
5435 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5441 result
=$WXWIN_COMPATIBILITY_2_8
5444 { echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6; }
5449 enablestring
=disable
5451 if test -z "$defaultval"; then
5452 if test x
"$enablestring" = xdisable
; then
5459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5461 # Check whether --enable-rpath was given.
5462 if test "${enable_rpath+set}" = set; then
5463 enableval
=$enable_rpath;
5464 if test "$enableval" = yes; then
5465 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5467 wx_cv_use_rpath
='wxUSE_RPATH=no'
5472 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5477 eval "$wx_cv_use_rpath"
5479 if test x"$enablestring" = xdisable; then
5480 if test $wxUSE_RPATH = no; then
5489 { echo "$as_me:$LINENO: result: $result" >&5
5490 echo "${ECHO_T}$result" >&6; }
5496 if test -z "$defaultval"; then
5497 if test x"$enablestring" = xdisable; then
5504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5505 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5506 # Check whether --enable-objc_uniquifying was given.
5507 if test "${enable_objc_uniquifying+set}" = set; then
5508 enableval=$enable_objc_uniquifying;
5509 if test "$enableval" = yes; then
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5512 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5517 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5522 eval "$wx_cv_use_objc_uniquifying"
5524 if test x"$enablestring" = xdisable; then
5525 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5531 result=$wxUSE_OBJC_UNIQUIFYING
5534 { echo "$as_me:$LINENO: result
: $result" >&5
5535 echo "${ECHO_T}$result" >&6; }
5539 enablestring=disable
5541 if test -z "$defaultval"; then
5542 if test x"$enablestring" = xdisable; then
5549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5550 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5551 # Check whether --enable-visibility was given.
5552 if test "${enable_visibility+set}" = set; then
5553 enableval=$enable_visibility;
5554 if test "$enableval" = yes; then
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5557 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5562 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5567 eval "$wx_cv_use_visibility"
5569 if test x
"$enablestring" = xdisable
; then
5570 if test $wxUSE_VISIBILITY = no
; then
5576 result
=$wxUSE_VISIBILITY
5579 { echo "$as_me:$LINENO: result: $result" >&5
5580 echo "${ECHO_T}$result" >&6; }
5583 enablestring
=disable
5585 if test -z "$defaultval"; then
5586 if test x
"$enablestring" = xdisable
; then
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5595 # Check whether --enable-tls was given.
5596 if test "${enable_tls+set}" = set; then
5597 enableval
=$enable_tls;
5598 if test "$enableval" = yes; then
5599 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5601 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5606 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5611 eval "$wx_cv_use_tls"
5613 if test x"$enablestring" = xdisable; then
5614 if test $wxUSE_COMPILER_TLS = no; then
5620 result=$wxUSE_COMPILER_TLS
5623 { echo "$as_me:$LINENO: result: $result" >&5
5624 echo "${ECHO_T}$result" >&6; }
5630 defaultval=$wxUSE_ALL_FEATURES
5631 if test -z "$defaultval"; then
5632 if test x"$enablestring" = xdisable; then
5639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5641 # Check whether --enable-intl was given.
5642 if test "${enable_intl+set}" = set; then
5643 enableval=$enable_intl;
5644 if test "$enableval" = yes; then
5645 wx_cv_use_intl='wxUSE_INTL
=yes'
5647 wx_cv_use_intl='wxUSE_INTL
=no
'
5652 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5657 eval "$wx_cv_use_intl"
5659 if test x"$enablestring" = xdisable; then
5660 if test $wxUSE_INTL = no; then
5669 { echo "$as_me:$LINENO: result
: $result" >&5
5670 echo "${ECHO_T}$result" >&6; }
5674 defaultval=$wxUSE_ALL_FEATURES
5675 if test -z "$defaultval"; then
5676 if test x"$enablestring" = xdisable; then
5683 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5684 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5685 # Check whether --enable-xlocale was given.
5686 if test "${enable_xlocale+set}" = set; then
5687 enableval=$enable_xlocale;
5688 if test "$enableval" = yes; then
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5696 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5701 eval "$wx_cv_use_xlocale"
5703 if test x
"$enablestring" = xdisable
; then
5704 if test $wxUSE_XLOCALE = no
; then
5710 result
=$wxUSE_XLOCALE
5713 { echo "$as_me:$LINENO: result: $result" >&5
5714 echo "${ECHO_T}$result" >&6; }
5718 defaultval
=$wxUSE_ALL_FEATURES
5719 if test -z "$defaultval"; then
5720 if test x
"$enablestring" = xdisable
; then
5727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5729 # Check whether --enable-config was given.
5730 if test "${enable_config+set}" = set; then
5731 enableval
=$enable_config;
5732 if test "$enableval" = yes; then
5733 wx_cv_use_config
='wxUSE_CONFIG=yes'
5735 wx_cv_use_config
='wxUSE_CONFIG=no'
5740 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5745 eval "$wx_cv_use_config"
5747 if test x"$enablestring" = xdisable; then
5748 if test $wxUSE_CONFIG = no; then
5754 result=$wxUSE_CONFIG
5757 { echo "$as_me:$LINENO: result: $result" >&5
5758 echo "${ECHO_T}$result" >&6; }
5763 defaultval=$wxUSE_ALL_FEATURES
5764 if test -z "$defaultval"; then
5765 if test x"$enablestring" = xdisable; then
5772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5773 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5774 # Check whether --enable-protocols was given.
5775 if test "${enable_protocols+set}" = set; then
5776 enableval=$enable_protocols;
5777 if test "$enableval" = yes; then
5778 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5780 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5785 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5790 eval "$wx_cv_use_protocols"
5792 if test x"$enablestring" = xdisable; then
5793 if test $wxUSE_PROTOCOL = no; then
5799 result=$wxUSE_PROTOCOL
5802 { echo "$as_me:$LINENO: result
: $result" >&5
5803 echo "${ECHO_T}$result" >&6; }
5807 defaultval=$wxUSE_ALL_FEATURES
5808 if test -z "$defaultval"; then
5809 if test x"$enablestring" = xdisable; then
5816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5817 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5818 # Check whether --enable-ftp was given.
5819 if test "${enable_ftp+set}" = set; then
5820 enableval=$enable_ftp;
5821 if test "$enableval" = yes; then
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5829 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5834 eval "$wx_cv_use_ftp"
5836 if test x
"$enablestring" = xdisable
; then
5837 if test $wxUSE_PROTOCOL_FTP = no
; then
5843 result
=$wxUSE_PROTOCOL_FTP
5846 { echo "$as_me:$LINENO: result: $result" >&5
5847 echo "${ECHO_T}$result" >&6; }
5851 defaultval
=$wxUSE_ALL_FEATURES
5852 if test -z "$defaultval"; then
5853 if test x
"$enablestring" = xdisable
; then
5860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5861 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5862 # Check whether --enable-http was given.
5863 if test "${enable_http+set}" = set; then
5864 enableval
=$enable_http;
5865 if test "$enableval" = yes; then
5866 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5868 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5873 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5878 eval "$wx_cv_use_http"
5880 if test x"$enablestring" = xdisable; then
5881 if test $wxUSE_PROTOCOL_HTTP = no; then
5887 result=$wxUSE_PROTOCOL_HTTP
5890 { echo "$as_me:$LINENO: result: $result" >&5
5891 echo "${ECHO_T}$result" >&6; }
5895 defaultval=$wxUSE_ALL_FEATURES
5896 if test -z "$defaultval"; then
5897 if test x"$enablestring" = xdisable; then
5904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5905 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5906 # Check whether --enable-fileproto was given.
5907 if test "${enable_fileproto+set}" = set; then
5908 enableval=$enable_fileproto;
5909 if test "$enableval" = yes; then
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5917 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5922 eval "$wx_cv_use_fileproto"
5924 if test x"$enablestring" = xdisable; then
5925 if test $wxUSE_PROTOCOL_FILE = no; then
5931 result=$wxUSE_PROTOCOL_FILE
5934 { echo "$as_me:$LINENO: result
: $result" >&5
5935 echo "${ECHO_T}$result" >&6; }
5939 defaultval=$wxUSE_ALL_FEATURES
5940 if test -z "$defaultval"; then
5941 if test x"$enablestring" = xdisable; then
5948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5949 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5950 # Check whether --enable-sockets was given.
5951 if test "${enable_sockets+set}" = set; then
5952 enableval=$enable_sockets;
5953 if test "$enableval" = yes; then
5954 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5956 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5961 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5966 eval "$wx_cv_use_sockets"
5968 if test x
"$enablestring" = xdisable
; then
5969 if test $wxUSE_SOCKETS = no
; then
5975 result
=$wxUSE_SOCKETS
5978 { echo "$as_me:$LINENO: result: $result" >&5
5979 echo "${ECHO_T}$result" >&6; }
5983 defaultval
=$wxUSE_ALL_FEATURES
5984 if test -z "$defaultval"; then
5985 if test x
"$enablestring" = xdisable
; then
5992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5993 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5994 # Check whether --enable-ipv6 was given.
5995 if test "${enable_ipv6+set}" = set; then
5996 enableval
=$enable_ipv6;
5997 if test "$enableval" = yes; then
5998 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6000 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6005 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6010 eval "$wx_cv_use_ipv6"
6012 if test x"$enablestring" = xdisable; then
6013 if test $wxUSE_IPV6 = no; then
6022 { echo "$as_me:$LINENO: result: $result" >&5
6023 echo "${ECHO_T}$result" >&6; }
6027 defaultval=$wxUSE_ALL_FEATURES
6028 if test -z "$defaultval"; then
6029 if test x"$enablestring" = xdisable; then
6036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6037 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6038 # Check whether --enable-ole was given.
6039 if test "${enable_ole+set}" = set; then
6040 enableval=$enable_ole;
6041 if test "$enableval" = yes; then
6042 wx_cv_use_ole='wxUSE_OLE
=yes'
6044 wx_cv_use_ole='wxUSE_OLE
=no
'
6049 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6054 eval "$wx_cv_use_ole"
6056 if test x"$enablestring" = xdisable; then
6057 if test $wxUSE_OLE = no; then
6066 { echo "$as_me:$LINENO: result
: $result" >&5
6067 echo "${ECHO_T}$result" >&6; }
6071 defaultval=$wxUSE_ALL_FEATURES
6072 if test -z "$defaultval"; then
6073 if test x"$enablestring" = xdisable; then
6080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6081 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6082 # Check whether --enable-dataobj was given.
6083 if test "${enable_dataobj+set}" = set; then
6084 enableval=$enable_dataobj;
6085 if test "$enableval" = yes; then
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6093 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6098 eval "$wx_cv_use_dataobj"
6100 if test x
"$enablestring" = xdisable
; then
6101 if test $wxUSE_DATAOBJ = no
; then
6107 result
=$wxUSE_DATAOBJ
6110 { echo "$as_me:$LINENO: result: $result" >&5
6111 echo "${ECHO_T}$result" >&6; }
6116 defaultval
=$wxUSE_ALL_FEATURES
6117 if test -z "$defaultval"; then
6118 if test x
"$enablestring" = xdisable
; then
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6127 # Check whether --enable-ipc was given.
6128 if test "${enable_ipc+set}" = set; then
6129 enableval
=$enable_ipc;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_ipc
='wxUSE_IPC=yes'
6133 wx_cv_use_ipc
='wxUSE_IPC=no'
6138 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6143 eval "$wx_cv_use_ipc"
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_IPC = no; then
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6161 defaultval=$wxUSE_ALL_FEATURES
6162 if test -z "$defaultval"; then
6163 if test x"$enablestring" = xdisable; then
6170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6172 # Check whether --enable-baseevtloop was given.
6173 if test "${enable_baseevtloop+set}" = set; then
6174 enableval=$enable_baseevtloop;
6175 if test "$enableval" = yes; then
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6183 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6188 eval "$wx_cv_use_baseevtloop"
6190 if test x"$enablestring" = xdisable; then
6191 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6197 result=$wxUSE_CONSOLE_EVENTLOOP
6200 { echo "$as_me:$LINENO: result
: $result" >&5
6201 echo "${ECHO_T}$result" >&6; }
6205 defaultval=$wxUSE_ALL_FEATURES
6206 if test -z "$defaultval"; then
6207 if test x"$enablestring" = xdisable; then
6214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6215 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6216 # Check whether --enable-epollloop was given.
6217 if test "${enable_epollloop+set}" = set; then
6218 enableval=$enable_epollloop;
6219 if test "$enableval" = yes; then
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6227 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6232 eval "$wx_cv_use_epollloop"
6234 if test x
"$enablestring" = xdisable
; then
6235 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6241 result
=$wxUSE_EPOLL_DISPATCHER
6244 { echo "$as_me:$LINENO: result: $result" >&5
6245 echo "${ECHO_T}$result" >&6; }
6249 defaultval
=$wxUSE_ALL_FEATURES
6250 if test -z "$defaultval"; then
6251 if test x
"$enablestring" = xdisable
; then
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6260 # Check whether --enable-selectloop was given.
6261 if test "${enable_selectloop+set}" = set; then
6262 enableval
=$enable_selectloop;
6263 if test "$enableval" = yes; then
6264 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6266 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6271 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6276 eval "$wx_cv_use_selectloop"
6278 if test x"$enablestring" = xdisable; then
6279 if test $wxUSE_SELECT_DISPATCHER = no; then
6285 result=$wxUSE_SELECT_DISPATCHER
6288 { echo "$as_me:$LINENO: result: $result" >&5
6289 echo "${ECHO_T}$result" >&6; }
6294 defaultval=$wxUSE_ALL_FEATURES
6295 if test -z "$defaultval"; then
6296 if test x"$enablestring" = xdisable; then
6303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6305 # Check whether --enable-any was given.
6306 if test "${enable_any+set}" = set; then
6307 enableval=$enable_any;
6308 if test "$enableval" = yes; then
6309 wx_cv_use_any='wxUSE_ANY
=yes'
6311 wx_cv_use_any='wxUSE_ANY
=no
'
6316 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6321 eval "$wx_cv_use_any"
6323 if test x"$enablestring" = xdisable; then
6324 if test $wxUSE_ANY = no; then
6333 { echo "$as_me:$LINENO: result
: $result" >&5
6334 echo "${ECHO_T}$result" >&6; }
6338 defaultval=$wxUSE_ALL_FEATURES
6339 if test -z "$defaultval"; then
6340 if test x"$enablestring" = xdisable; then
6347 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6348 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6349 # Check whether --enable-apple_ieee was given.
6350 if test "${enable_apple_ieee+set}" = set; then
6351 enableval=$enable_apple_ieee;
6352 if test "$enableval" = yes; then
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6355 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6360 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6365 eval "$wx_cv_use_apple_ieee"
6367 if test x
"$enablestring" = xdisable
; then
6368 if test $wxUSE_APPLE_IEEE = no
; then
6374 result
=$wxUSE_APPLE_IEEE
6377 { echo "$as_me:$LINENO: result: $result" >&5
6378 echo "${ECHO_T}$result" >&6; }
6382 defaultval
=$wxUSE_ALL_FEATURES
6383 if test -z "$defaultval"; then
6384 if test x
"$enablestring" = xdisable
; then
6391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6393 # Check whether --enable-arcstream was given.
6394 if test "${enable_arcstream+set}" = set; then
6395 enableval
=$enable_arcstream;
6396 if test "$enableval" = yes; then
6397 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6399 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6404 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6409 eval "$wx_cv_use_arcstream"
6411 if test x"$enablestring" = xdisable; then
6412 if test $wxUSE_ARCHIVE_STREAMS = no; then
6418 result=$wxUSE_ARCHIVE_STREAMS
6421 { echo "$as_me:$LINENO: result: $result" >&5
6422 echo "${ECHO_T}$result" >&6; }
6426 defaultval=$wxUSE_ALL_FEATURES
6427 if test -z "$defaultval"; then
6428 if test x"$enablestring" = xdisable; then
6435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6437 # Check whether --enable-base64 was given.
6438 if test "${enable_base64+set}" = set; then
6439 enableval=$enable_base64;
6440 if test "$enableval" = yes; then
6441 wx_cv_use_base64='wxUSE_BASE64
=yes'
6443 wx_cv_use_base64='wxUSE_BASE64
=no
'
6448 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6453 eval "$wx_cv_use_base64"
6455 if test x"$enablestring" = xdisable; then
6456 if test $wxUSE_BASE64 = no; then
6462 result=$wxUSE_BASE64
6465 { echo "$as_me:$LINENO: result
: $result" >&5
6466 echo "${ECHO_T}$result" >&6; }
6470 defaultval=$wxUSE_ALL_FEATURES
6471 if test -z "$defaultval"; then
6472 if test x"$enablestring" = xdisable; then
6479 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6480 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6481 # Check whether --enable-backtrace was given.
6482 if test "${enable_backtrace+set}" = set; then
6483 enableval=$enable_backtrace;
6484 if test "$enableval" = yes; then
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6487 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6492 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6497 eval "$wx_cv_use_backtrace"
6499 if test x
"$enablestring" = xdisable
; then
6500 if test $wxUSE_STACKWALKER = no
; then
6506 result
=$wxUSE_STACKWALKER
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6514 defaultval
=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x
"$enablestring" = xdisable
; then
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6525 # Check whether --enable-catch_segvs was given.
6526 if test "${enable_catch_segvs+set}" = set; then
6527 enableval
=$enable_catch_segvs;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6531 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6536 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6541 eval "$wx_cv_use_catch_segvs"
6543 if test x"$enablestring" = xdisable; then
6544 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6550 result=$wxUSE_ON_FATAL_EXCEPTION
6553 { echo "$as_me:$LINENO: result: $result" >&5
6554 echo "${ECHO_T}$result" >&6; }
6558 defaultval=$wxUSE_ALL_FEATURES
6559 if test -z "$defaultval"; then
6560 if test x"$enablestring" = xdisable; then
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6569 # Check whether --enable-cmdline was given.
6570 if test "${enable_cmdline+set}" = set; then
6571 enableval=$enable_cmdline;
6572 if test "$enableval" = yes; then
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6575 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6580 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6585 eval "$wx_cv_use_cmdline"
6587 if test x"$enablestring" = xdisable; then
6588 if test $wxUSE_CMDLINE_PARSER = no; then
6594 result=$wxUSE_CMDLINE_PARSER
6597 { echo "$as_me:$LINENO: result
: $result" >&5
6598 echo "${ECHO_T}$result" >&6; }
6602 defaultval=$wxUSE_ALL_FEATURES
6603 if test -z "$defaultval"; then
6604 if test x"$enablestring" = xdisable; then
6611 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6612 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6613 # Check whether --enable-datetime was given.
6614 if test "${enable_datetime+set}" = set; then
6615 enableval=$enable_datetime;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6619 wx_cv_use_datetime='wxUSE_DATETIME=no'
6624 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6629 eval "$wx_cv_use_datetime"
6631 if test x
"$enablestring" = xdisable
; then
6632 if test $wxUSE_DATETIME = no
; then
6638 result
=$wxUSE_DATETIME
6641 { echo "$as_me:$LINENO: result: $result" >&5
6642 echo "${ECHO_T}$result" >&6; }
6646 defaultval
=$wxUSE_ALL_FEATURES
6647 if test -z "$defaultval"; then
6648 if test x
"$enablestring" = xdisable
; then
6655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6657 # Check whether --enable-debugreport was given.
6658 if test "${enable_debugreport+set}" = set; then
6659 enableval
=$enable_debugreport;
6660 if test "$enableval" = yes; then
6661 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6663 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6668 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6673 eval "$wx_cv_use_debugreport"
6675 if test x"$enablestring" = xdisable; then
6676 if test $wxUSE_DEBUGREPORT = no; then
6682 result=$wxUSE_DEBUGREPORT
6685 { echo "$as_me:$LINENO: result: $result" >&5
6686 echo "${ECHO_T}$result" >&6; }
6690 defaultval=$wxUSE_ALL_FEATURES
6691 if test -z "$defaultval"; then
6692 if test x"$enablestring" = xdisable; then
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6701 # Check whether --enable-dialupman was given.
6702 if test "${enable_dialupman+set}" = set; then
6703 enableval=$enable_dialupman;
6704 if test "$enableval" = yes; then
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6707 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6712 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6717 eval "$wx_cv_use_dialupman"
6719 if test x"$enablestring" = xdisable; then
6720 if test $wxUSE_DIALUP_MANAGER = no; then
6726 result=$wxUSE_DIALUP_MANAGER
6729 { echo "$as_me:$LINENO: result
: $result" >&5
6730 echo "${ECHO_T}$result" >&6; }
6734 defaultval=$wxUSE_ALL_FEATURES
6735 if test -z "$defaultval"; then
6736 if test x"$enablestring" = xdisable; then
6743 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6744 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6745 # Check whether --enable-dynlib was given.
6746 if test "${enable_dynlib+set}" = set; then
6747 enableval=$enable_dynlib;
6748 if test "$enableval" = yes; then
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6751 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6756 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6761 eval "$wx_cv_use_dynlib"
6763 if test x
"$enablestring" = xdisable
; then
6764 if test $wxUSE_DYNLIB_CLASS = no
; then
6770 result
=$wxUSE_DYNLIB_CLASS
6773 { echo "$as_me:$LINENO: result: $result" >&5
6774 echo "${ECHO_T}$result" >&6; }
6778 defaultval
=$wxUSE_ALL_FEATURES
6779 if test -z "$defaultval"; then
6780 if test x
"$enablestring" = xdisable
; then
6787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6789 # Check whether --enable-dynamicloader was given.
6790 if test "${enable_dynamicloader+set}" = set; then
6791 enableval
=$enable_dynamicloader;
6792 if test "$enableval" = yes; then
6793 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6795 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6800 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6805 eval "$wx_cv_use_dynamicloader"
6807 if test x"$enablestring" = xdisable; then
6808 if test $wxUSE_DYNAMIC_LOADER = no; then
6814 result=$wxUSE_DYNAMIC_LOADER
6817 { echo "$as_me:$LINENO: result: $result" >&5
6818 echo "${ECHO_T}$result" >&6; }
6822 defaultval=$wxUSE_ALL_FEATURES
6823 if test -z "$defaultval"; then
6824 if test x"$enablestring" = xdisable; then
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6833 # Check whether --enable-exceptions was given.
6834 if test "${enable_exceptions+set}" = set; then
6835 enableval=$enable_exceptions;
6836 if test "$enableval" = yes; then
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6839 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6844 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6849 eval "$wx_cv_use_exceptions"
6851 if test x"$enablestring" = xdisable; then
6852 if test $wxUSE_EXCEPTIONS = no; then
6858 result=$wxUSE_EXCEPTIONS
6861 { echo "$as_me:$LINENO: result
: $result" >&5
6862 echo "${ECHO_T}$result" >&6; }
6866 defaultval=$wxUSE_ALL_FEATURES
6867 if test -z "$defaultval"; then
6868 if test x"$enablestring" = xdisable; then
6875 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6876 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6877 # Check whether --enable-ffile was given.
6878 if test "${enable_ffile+set}" = set; then
6879 enableval=$enable_ffile;
6880 if test "$enableval" = yes; then
6881 wx_cv_use_ffile='wxUSE_FFILE=yes'
6883 wx_cv_use_ffile='wxUSE_FFILE=no'
6888 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6893 eval "$wx_cv_use_ffile"
6895 if test x
"$enablestring" = xdisable
; then
6896 if test $wxUSE_FFILE = no
; then
6905 { echo "$as_me:$LINENO: result: $result" >&5
6906 echo "${ECHO_T}$result" >&6; }
6910 defaultval
=$wxUSE_ALL_FEATURES
6911 if test -z "$defaultval"; then
6912 if test x
"$enablestring" = xdisable
; then
6919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6921 # Check whether --enable-file was given.
6922 if test "${enable_file+set}" = set; then
6923 enableval
=$enable_file;
6924 if test "$enableval" = yes; then
6925 wx_cv_use_file
='wxUSE_FILE=yes'
6927 wx_cv_use_file
='wxUSE_FILE=no'
6932 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6937 eval "$wx_cv_use_file"
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_FILE = no; then
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6965 # Check whether --enable-filesystem was given.
6966 if test "${enable_filesystem+set}" = set; then
6967 enableval=$enable_filesystem;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6971 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6976 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6981 eval "$wx_cv_use_filesystem"
6983 if test x"$enablestring" = xdisable; then
6984 if test $wxUSE_FILESYSTEM = no; then
6990 result=$wxUSE_FILESYSTEM
6993 { echo "$as_me:$LINENO: result
: $result" >&5
6994 echo "${ECHO_T}$result" >&6; }
6998 defaultval=$wxUSE_ALL_FEATURES
6999 if test -z "$defaultval"; then
7000 if test x"$enablestring" = xdisable; then
7007 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7008 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7009 # Check whether --enable-fontenum was given.
7010 if test "${enable_fontenum+set}" = set; then
7011 enableval=$enable_fontenum;
7012 if test "$enableval" = yes; then
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7015 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7020 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7025 eval "$wx_cv_use_fontenum"
7027 if test x
"$enablestring" = xdisable
; then
7028 if test $wxUSE_FONTENUM = no
; then
7034 result
=$wxUSE_FONTENUM
7037 { echo "$as_me:$LINENO: result: $result" >&5
7038 echo "${ECHO_T}$result" >&6; }
7042 defaultval
=$wxUSE_ALL_FEATURES
7043 if test -z "$defaultval"; then
7044 if test x
"$enablestring" = xdisable
; then
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7053 # Check whether --enable-fontmap was given.
7054 if test "${enable_fontmap+set}" = set; then
7055 enableval
=$enable_fontmap;
7056 if test "$enableval" = yes; then
7057 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7059 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7064 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7069 eval "$wx_cv_use_fontmap"
7071 if test x"$enablestring" = xdisable; then
7072 if test $wxUSE_FONTMAP = no; then
7078 result=$wxUSE_FONTMAP
7081 { echo "$as_me:$LINENO: result: $result" >&5
7082 echo "${ECHO_T}$result" >&6; }
7086 defaultval=$wxUSE_ALL_FEATURES
7087 if test -z "$defaultval"; then
7088 if test x"$enablestring" = xdisable; then
7095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7097 # Check whether --enable-fs_archive was given.
7098 if test "${enable_fs_archive+set}" = set; then
7099 enableval=$enable_fs_archive;
7100 if test "$enableval" = yes; then
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7103 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7108 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7113 eval "$wx_cv_use_fs_archive"
7115 if test x"$enablestring" = xdisable; then
7116 if test $wxUSE_FS_ARCHIVE = no; then
7122 result=$wxUSE_FS_ARCHIVE
7125 { echo "$as_me:$LINENO: result
: $result" >&5
7126 echo "${ECHO_T}$result" >&6; }
7130 defaultval=$wxUSE_ALL_FEATURES
7131 if test -z "$defaultval"; then
7132 if test x"$enablestring" = xdisable; then
7139 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7140 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7141 # Check whether --enable-fs_inet was given.
7142 if test "${enable_fs_inet+set}" = set; then
7143 enableval=$enable_fs_inet;
7144 if test "$enableval" = yes; then
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7147 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7152 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7157 eval "$wx_cv_use_fs_inet"
7159 if test x
"$enablestring" = xdisable
; then
7160 if test $wxUSE_FS_INET = no
; then
7166 result
=$wxUSE_FS_INET
7169 { echo "$as_me:$LINENO: result: $result" >&5
7170 echo "${ECHO_T}$result" >&6; }
7174 defaultval
=$wxUSE_ALL_FEATURES
7175 if test -z "$defaultval"; then
7176 if test x
"$enablestring" = xdisable
; then
7183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7184 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7185 # Check whether --enable-fs_zip was given.
7186 if test "${enable_fs_zip+set}" = set; then
7187 enableval
=$enable_fs_zip;
7188 if test "$enableval" = yes; then
7189 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7191 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7196 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7201 eval "$wx_cv_use_fs_zip"
7203 if test x"$enablestring" = xdisable; then
7204 if test $wxUSE_FS_ZIP = no; then
7210 result=$wxUSE_FS_ZIP
7213 { echo "$as_me:$LINENO: result: $result" >&5
7214 echo "${ECHO_T}$result" >&6; }
7218 defaultval=$wxUSE_ALL_FEATURES
7219 if test -z "$defaultval"; then
7220 if test x"$enablestring" = xdisable; then
7227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7228 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7229 # Check whether --enable-fswatcher was given.
7230 if test "${enable_fswatcher+set}" = set; then
7231 enableval=$enable_fswatcher;
7232 if test "$enableval" = yes; then
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7235 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7240 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7245 eval "$wx_cv_use_fswatcher"
7247 if test x"$enablestring" = xdisable; then
7248 if test $wxUSE_FSWATCHER = no; then
7254 result=$wxUSE_FSWATCHER
7257 { echo "$as_me:$LINENO: result
: $result" >&5
7258 echo "${ECHO_T}$result" >&6; }
7262 defaultval=$wxUSE_ALL_FEATURES
7263 if test -z "$defaultval"; then
7264 if test x"$enablestring" = xdisable; then
7271 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7272 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7273 # Check whether --enable-geometry was given.
7274 if test "${enable_geometry+set}" = set; then
7275 enableval=$enable_geometry;
7276 if test "$enableval" = yes; then
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7279 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7284 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7289 eval "$wx_cv_use_geometry"
7291 if test x
"$enablestring" = xdisable
; then
7292 if test $wxUSE_GEOMETRY = no
; then
7298 result
=$wxUSE_GEOMETRY
7301 { echo "$as_me:$LINENO: result: $result" >&5
7302 echo "${ECHO_T}$result" >&6; }
7306 defaultval
=$wxUSE_ALL_FEATURES
7307 if test -z "$defaultval"; then
7308 if test x
"$enablestring" = xdisable
; then
7315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7317 # Check whether --enable-log was given.
7318 if test "${enable_log+set}" = set; then
7319 enableval
=$enable_log;
7320 if test "$enableval" = yes; then
7321 wx_cv_use_log
='wxUSE_LOG=yes'
7323 wx_cv_use_log
='wxUSE_LOG=no'
7328 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7333 eval "$wx_cv_use_log"
7335 if test x"$enablestring" = xdisable; then
7336 if test $wxUSE_LOG = no; then
7345 { echo "$as_me:$LINENO: result: $result" >&5
7346 echo "${ECHO_T}$result" >&6; }
7350 defaultval=$wxUSE_ALL_FEATURES
7351 if test -z "$defaultval"; then
7352 if test x"$enablestring" = xdisable; then
7359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7361 # Check whether --enable-longlong was given.
7362 if test "${enable_longlong+set}" = set; then
7363 enableval=$enable_longlong;
7364 if test "$enableval" = yes; then
7365 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7367 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7372 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7377 eval "$wx_cv_use_longlong"
7379 if test x"$enablestring" = xdisable; then
7380 if test $wxUSE_LONGLONG = no; then
7386 result=$wxUSE_LONGLONG
7389 { echo "$as_me:$LINENO: result
: $result" >&5
7390 echo "${ECHO_T}$result" >&6; }
7394 defaultval=$wxUSE_ALL_FEATURES
7395 if test -z "$defaultval"; then
7396 if test x"$enablestring" = xdisable; then
7403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7404 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7405 # Check whether --enable-mimetype was given.
7406 if test "${enable_mimetype+set}" = set; then
7407 enableval=$enable_mimetype;
7408 if test "$enableval" = yes; then
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7411 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7416 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7421 eval "$wx_cv_use_mimetype"
7423 if test x
"$enablestring" = xdisable
; then
7424 if test $wxUSE_MIMETYPE = no
; then
7430 result
=$wxUSE_MIMETYPE
7433 { echo "$as_me:$LINENO: result: $result" >&5
7434 echo "${ECHO_T}$result" >&6; }
7438 defaultval
=$wxUSE_ALL_FEATURES
7439 if test -z "$defaultval"; then
7440 if test x
"$enablestring" = xdisable
; then
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7449 # Check whether --enable-printfposparam was given.
7450 if test "${enable_printfposparam+set}" = set; then
7451 enableval
=$enable_printfposparam;
7452 if test "$enableval" = yes; then
7453 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7455 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7460 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7465 eval "$wx_cv_use_printfposparam"
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7474 result=$wxUSE_PRINTF_POS_PARAMS
7477 { echo "$as_me:$LINENO: result: $result" >&5
7478 echo "${ECHO_T}$result" >&6; }
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7493 # Check whether --enable-snglinst was given.
7494 if test "${enable_snglinst+set}" = set; then
7495 enableval=$enable_snglinst;
7496 if test "$enableval" = yes; then
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7499 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7504 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7509 eval "$wx_cv_use_snglinst"
7511 if test x"$enablestring" = xdisable; then
7512 if test $wxUSE_SNGLINST_CHECKER = no; then
7518 result=$wxUSE_SNGLINST_CHECKER
7521 { echo "$as_me:$LINENO: result
: $result" >&5
7522 echo "${ECHO_T}$result" >&6; }
7526 defaultval=$wxUSE_ALL_FEATURES
7527 if test -z "$defaultval"; then
7528 if test x"$enablestring" = xdisable; then
7535 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7536 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7537 # Check whether --enable-sound was given.
7538 if test "${enable_sound+set}" = set; then
7539 enableval=$enable_sound;
7540 if test "$enableval" = yes; then
7541 wx_cv_use_sound='wxUSE_SOUND=yes'
7543 wx_cv_use_sound='wxUSE_SOUND=no'
7548 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7553 eval "$wx_cv_use_sound"
7555 if test x
"$enablestring" = xdisable
; then
7556 if test $wxUSE_SOUND = no
; then
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7570 defaultval
=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x
"$enablestring" = xdisable
; then
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7581 # Check whether --enable-stdpaths was given.
7582 if test "${enable_stdpaths+set}" = set; then
7583 enableval
=$enable_stdpaths;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7587 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7592 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7597 eval "$wx_cv_use_stdpaths"
7599 if test x"$enablestring" = xdisable; then
7600 if test $wxUSE_STDPATHS = no; then
7606 result=$wxUSE_STDPATHS
7609 { echo "$as_me:$LINENO: result: $result" >&5
7610 echo "${ECHO_T}$result" >&6; }
7614 defaultval=$wxUSE_ALL_FEATURES
7615 if test -z "$defaultval"; then
7616 if test x"$enablestring" = xdisable; then
7623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7625 # Check whether --enable-stopwatch was given.
7626 if test "${enable_stopwatch+set}" = set; then
7627 enableval=$enable_stopwatch;
7628 if test "$enableval" = yes; then
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7631 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7636 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7641 eval "$wx_cv_use_stopwatch"
7643 if test x"$enablestring" = xdisable; then
7644 if test $wxUSE_STOPWATCH = no; then
7650 result=$wxUSE_STOPWATCH
7653 { echo "$as_me:$LINENO: result
: $result" >&5
7654 echo "${ECHO_T}$result" >&6; }
7658 defaultval=$wxUSE_ALL_FEATURES
7659 if test -z "$defaultval"; then
7660 if test x"$enablestring" = xdisable; then
7667 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7668 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7669 # Check whether --enable-streams was given.
7670 if test "${enable_streams+set}" = set; then
7671 enableval=$enable_streams;
7672 if test "$enableval" = yes; then
7673 wx_cv_use_streams='wxUSE_STREAMS=yes'
7675 wx_cv_use_streams='wxUSE_STREAMS=no'
7680 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7685 eval "$wx_cv_use_streams"
7687 if test x
"$enablestring" = xdisable
; then
7688 if test $wxUSE_STREAMS = no
; then
7694 result
=$wxUSE_STREAMS
7697 { echo "$as_me:$LINENO: result: $result" >&5
7698 echo "${ECHO_T}$result" >&6; }
7702 defaultval
=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x
"$enablestring" = xdisable
; then
7711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7713 # Check whether --enable-sysoptions was given.
7714 if test "${enable_sysoptions+set}" = set; then
7715 enableval
=$enable_sysoptions;
7716 if test "$enableval" = yes; then
7717 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7719 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7724 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7729 eval "$wx_cv_use_sysoptions"
7731 if test x"$enablestring" = xdisable; then
7732 if test $wxUSE_SYSTEM_OPTIONS = no; then
7738 result=$wxUSE_SYSTEM_OPTIONS
7741 { echo "$as_me:$LINENO: result: $result" >&5
7742 echo "${ECHO_T}$result" >&6; }
7746 defaultval=$wxUSE_ALL_FEATURES
7747 if test -z "$defaultval"; then
7748 if test x"$enablestring" = xdisable; then
7755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7757 # Check whether --enable-tarstream was given.
7758 if test "${enable_tarstream+set}" = set; then
7759 enableval=$enable_tarstream;
7760 if test "$enableval" = yes; then
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7763 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7768 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7773 eval "$wx_cv_use_tarstream"
7775 if test x"$enablestring" = xdisable; then
7776 if test $wxUSE_TARSTREAM = no; then
7782 result=$wxUSE_TARSTREAM
7785 { echo "$as_me:$LINENO: result
: $result" >&5
7786 echo "${ECHO_T}$result" >&6; }
7790 defaultval=$wxUSE_ALL_FEATURES
7791 if test -z "$defaultval"; then
7792 if test x"$enablestring" = xdisable; then
7799 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7800 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7801 # Check whether --enable-textbuf was given.
7802 if test "${enable_textbuf+set}" = set; then
7803 enableval=$enable_textbuf;
7804 if test "$enableval" = yes; then
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7807 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7812 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7817 eval "$wx_cv_use_textbuf"
7819 if test x
"$enablestring" = xdisable
; then
7820 if test $wxUSE_TEXTBUFFER = no
; then
7826 result
=$wxUSE_TEXTBUFFER
7829 { echo "$as_me:$LINENO: result: $result" >&5
7830 echo "${ECHO_T}$result" >&6; }
7834 defaultval
=$wxUSE_ALL_FEATURES
7835 if test -z "$defaultval"; then
7836 if test x
"$enablestring" = xdisable
; then
7843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7845 # Check whether --enable-textfile was given.
7846 if test "${enable_textfile+set}" = set; then
7847 enableval
=$enable_textfile;
7848 if test "$enableval" = yes; then
7849 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7851 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7856 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7861 eval "$wx_cv_use_textfile"
7863 if test x"$enablestring" = xdisable; then
7864 if test $wxUSE_TEXTFILE = no; then
7870 result=$wxUSE_TEXTFILE
7873 { echo "$as_me:$LINENO: result: $result" >&5
7874 echo "${ECHO_T}$result" >&6; }
7878 defaultval=$wxUSE_ALL_FEATURES
7879 if test -z "$defaultval"; then
7880 if test x"$enablestring" = xdisable; then
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7889 # Check whether --enable-timer was given.
7890 if test "${enable_timer+set}" = set; then
7891 enableval=$enable_timer;
7892 if test "$enableval" = yes; then
7893 wx_cv_use_timer='wxUSE_TIMER
=yes'
7895 wx_cv_use_timer='wxUSE_TIMER
=no
'
7900 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7905 eval "$wx_cv_use_timer"
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_TIMER = no; then
7917 { echo "$as_me:$LINENO: result
: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7931 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7932 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7933 # Check whether --enable-variant was given.
7934 if test "${enable_variant+set}" = set; then
7935 enableval=$enable_variant;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_variant='wxUSE_VARIANT=yes'
7939 wx_cv_use_variant='wxUSE_VARIANT=no'
7944 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7949 eval "$wx_cv_use_variant"
7951 if test x
"$enablestring" = xdisable
; then
7952 if test $wxUSE_VARIANT = no
; then
7958 result
=$wxUSE_VARIANT
7961 { echo "$as_me:$LINENO: result: $result" >&5
7962 echo "${ECHO_T}$result" >&6; }
7966 defaultval
=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x
"$enablestring" = xdisable
; then
7975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7977 # Check whether --enable-zipstream was given.
7978 if test "${enable_zipstream+set}" = set; then
7979 enableval
=$enable_zipstream;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7983 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7988 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7993 eval "$wx_cv_use_zipstream"
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_ZIPSTREAM = no; then
8002 result=$wxUSE_ZIPSTREAM
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8011 defaultval=$wxUSE_ALL_FEATURES
8012 if test -z "$defaultval"; then
8013 if test x"$enablestring" = xdisable; then
8020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8021 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8022 # Check whether --enable-url was given.
8023 if test "${enable_url+set}" = set; then
8024 enableval=$enable_url;
8025 if test "$enableval" = yes; then
8026 wx_cv_use_url='wxUSE_URL
=yes'
8028 wx_cv_use_url='wxUSE_URL
=no
'
8033 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8038 eval "$wx_cv_use_url"
8040 if test x"$enablestring" = xdisable; then
8041 if test $wxUSE_URL = no; then
8050 { echo "$as_me:$LINENO: result
: $result" >&5
8051 echo "${ECHO_T}$result" >&6; }
8055 defaultval=$wxUSE_ALL_FEATURES
8056 if test -z "$defaultval"; then
8057 if test x"$enablestring" = xdisable; then
8064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8065 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8066 # Check whether --enable-protocol was given.
8067 if test "${enable_protocol+set}" = set; then
8068 enableval=$enable_protocol;
8069 if test "$enableval" = yes; then
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8072 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8077 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8082 eval "$wx_cv_use_protocol"
8084 if test x
"$enablestring" = xdisable
; then
8085 if test $wxUSE_PROTOCOL = no
; then
8091 result
=$wxUSE_PROTOCOL
8094 { echo "$as_me:$LINENO: result: $result" >&5
8095 echo "${ECHO_T}$result" >&6; }
8099 defaultval
=$wxUSE_ALL_FEATURES
8100 if test -z "$defaultval"; then
8101 if test x
"$enablestring" = xdisable
; then
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8110 # Check whether --enable-protocol_http was given.
8111 if test "${enable_protocol_http+set}" = set; then
8112 enableval
=$enable_protocol_http;
8113 if test "$enableval" = yes; then
8114 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8116 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8121 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8126 eval "$wx_cv_use_protocol_http"
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_PROTOCOL_HTTP = no; then
8135 result=$wxUSE_PROTOCOL_HTTP
8138 { echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6; }
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8154 # Check whether --enable-protocol_ftp was given.
8155 if test "${enable_protocol_ftp+set}" = set; then
8156 enableval=$enable_protocol_ftp;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8160 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8165 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8170 eval "$wx_cv_use_protocol_ftp"
8172 if test x"$enablestring" = xdisable; then
8173 if test $wxUSE_PROTOCOL_FTP = no; then
8179 result=$wxUSE_PROTOCOL_FTP
8182 { echo "$as_me:$LINENO: result
: $result" >&5
8183 echo "${ECHO_T}$result" >&6; }
8187 defaultval=$wxUSE_ALL_FEATURES
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8196 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8197 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8198 # Check whether --enable-protocol_file was given.
8199 if test "${enable_protocol_file+set}" = set; then
8200 enableval=$enable_protocol_file;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8204 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8209 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8214 eval "$wx_cv_use_protocol_file"
8216 if test x
"$enablestring" = xdisable
; then
8217 if test $wxUSE_PROTOCOL_FILE = no
; then
8223 result
=$wxUSE_PROTOCOL_FILE
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8232 defaultval
=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x
"$enablestring" = xdisable
; then
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8243 # Check whether --enable-threads was given.
8244 if test "${enable_threads+set}" = set; then
8245 enableval
=$enable_threads;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_threads
='wxUSE_THREADS=yes'
8249 wx_cv_use_threads
='wxUSE_THREADS=no'
8254 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8259 eval "$wx_cv_use_threads"
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_THREADS = no; then
8268 result=$wxUSE_THREADS
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8278 if test -z "$defaultval"; then
8279 if test x"$enablestring" = xdisable; then
8286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8288 # Check whether --enable-iniconf was given.
8289 if test "${enable_iniconf+set}" = set; then
8290 enableval=$enable_iniconf;
8291 if test "$enableval" = yes; then
8292 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8294 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8299 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8304 eval "$wx_cv_use_iniconf"
8306 if test x"$enablestring" = xdisable; then
8307 if test $wxUSE_INICONF = no; then
8313 result=$wxUSE_INICONF
8316 { echo "$as_me:$LINENO: result
: $result" >&5
8317 echo "${ECHO_T}$result" >&6; }
8321 defaultval=$wxUSE_ALL_FEATURES
8322 if test -z "$defaultval"; then
8323 if test x"$enablestring" = xdisable; then
8330 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8331 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8332 # Check whether --enable-regkey was given.
8333 if test "${enable_regkey+set}" = set; then
8334 enableval=$enable_regkey;
8335 if test "$enableval" = yes; then
8336 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8338 wx_cv_use_regkey='wxUSE_REGKEY=no'
8343 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8348 eval "$wx_cv_use_regkey"
8350 if test x
"$enablestring" = xdisable
; then
8351 if test $wxUSE_REGKEY = no
; then
8357 result
=$wxUSE_REGKEY
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8364 if test "$wxUSE_GUI" = "yes"; then
8369 defaultval
=$wxUSE_ALL_FEATURES
8370 if test -z "$defaultval"; then
8371 if test x
"$enablestring" = xdisable
; then
8378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8379 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8380 # Check whether --enable-docview was given.
8381 if test "${enable_docview+set}" = set; then
8382 enableval
=$enable_docview;
8383 if test "$enableval" = yes; then
8384 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8386 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8391 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8396 eval "$wx_cv_use_docview"
8398 if test x"$enablestring" = xdisable; then
8399 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8405 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8408 { echo "$as_me:$LINENO: result: $result" >&5
8409 echo "${ECHO_T}$result" >&6; }
8413 defaultval=$wxUSE_ALL_FEATURES
8414 if test -z "$defaultval"; then
8415 if test x"$enablestring" = xdisable; then
8422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8424 # Check whether --enable-help was given.
8425 if test "${enable_help+set}" = set; then
8426 enableval=$enable_help;
8427 if test "$enableval" = yes; then
8428 wx_cv_use_help='wxUSE_HELP
=yes'
8430 wx_cv_use_help='wxUSE_HELP
=no
'
8435 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8440 eval "$wx_cv_use_help"
8442 if test x"$enablestring" = xdisable; then
8443 if test $wxUSE_HELP = no; then
8452 { echo "$as_me:$LINENO: result
: $result" >&5
8453 echo "${ECHO_T}$result" >&6; }
8457 defaultval=$wxUSE_ALL_FEATURES
8458 if test -z "$defaultval"; then
8459 if test x"$enablestring" = xdisable; then
8466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8467 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8468 # Check whether --enable-mshtmlhelp was given.
8469 if test "${enable_mshtmlhelp+set}" = set; then
8470 enableval=$enable_mshtmlhelp;
8471 if test "$enableval" = yes; then
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8474 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8479 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8484 eval "$wx_cv_use_mshtmlhelp"
8486 if test x
"$enablestring" = xdisable
; then
8487 if test $wxUSE_MS_HTML_HELP = no
; then
8493 result
=$wxUSE_MS_HTML_HELP
8496 { echo "$as_me:$LINENO: result: $result" >&5
8497 echo "${ECHO_T}$result" >&6; }
8501 defaultval
=$wxUSE_ALL_FEATURES
8502 if test -z "$defaultval"; then
8503 if test x
"$enablestring" = xdisable
; then
8510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8512 # Check whether --enable-html was given.
8513 if test "${enable_html+set}" = set; then
8514 enableval
=$enable_html;
8515 if test "$enableval" = yes; then
8516 wx_cv_use_html
='wxUSE_HTML=yes'
8518 wx_cv_use_html
='wxUSE_HTML=no'
8523 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8528 eval "$wx_cv_use_html"
8530 if test x"$enablestring" = xdisable; then
8531 if test $wxUSE_HTML = no; then
8540 { echo "$as_me:$LINENO: result: $result" >&5
8541 echo "${ECHO_T}$result" >&6; }
8545 defaultval=$wxUSE_ALL_FEATURES
8546 if test -z "$defaultval"; then
8547 if test x"$enablestring" = xdisable; then
8554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8556 # Check whether --enable-htmlhelp was given.
8557 if test "${enable_htmlhelp+set}" = set; then
8558 enableval=$enable_htmlhelp;
8559 if test "$enableval" = yes; then
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8562 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8567 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8572 eval "$wx_cv_use_htmlhelp"
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_WXHTML_HELP = no; then
8581 result=$wxUSE_WXHTML_HELP
8584 { echo "$as_me:$LINENO: result
: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8598 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8599 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8600 # Check whether --enable-xrc was given.
8601 if test "${enable_xrc+set}" = set; then
8602 enableval=$enable_xrc;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_xrc='wxUSE_XRC=yes'
8606 wx_cv_use_xrc='wxUSE_XRC=no'
8611 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8616 eval "$wx_cv_use_xrc"
8618 if test x
"$enablestring" = xdisable
; then
8619 if test $wxUSE_XRC = no
; then
8628 { echo "$as_me:$LINENO: result: $result" >&5
8629 echo "${ECHO_T}$result" >&6; }
8633 defaultval
=$wxUSE_ALL_FEATURES
8634 if test -z "$defaultval"; then
8635 if test x
"$enablestring" = xdisable
; then
8642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8644 # Check whether --enable-aui was given.
8645 if test "${enable_aui+set}" = set; then
8646 enableval
=$enable_aui;
8647 if test "$enableval" = yes; then
8648 wx_cv_use_aui
='wxUSE_AUI=yes'
8650 wx_cv_use_aui
='wxUSE_AUI=no'
8655 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8660 eval "$wx_cv_use_aui"
8662 if test x"$enablestring" = xdisable; then
8663 if test $wxUSE_AUI = no; then
8672 { echo "$as_me:$LINENO: result: $result" >&5
8673 echo "${ECHO_T}$result" >&6; }
8677 defaultval=$wxUSE_ALL_FEATURES
8678 if test -z "$defaultval"; then
8679 if test x"$enablestring" = xdisable; then
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8688 # Check whether --enable-propgrid was given.
8689 if test "${enable_propgrid+set}" = set; then
8690 enableval=$enable_propgrid;
8691 if test "$enableval" = yes; then
8692 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8694 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8699 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8704 eval "$wx_cv_use_propgrid"
8706 if test x"$enablestring" = xdisable; then
8707 if test $wxUSE_PROPGRID = no; then
8713 result=$wxUSE_PROPGRID
8716 { echo "$as_me:$LINENO: result
: $result" >&5
8717 echo "${ECHO_T}$result" >&6; }
8721 defaultval=$wxUSE_ALL_FEATURES
8722 if test -z "$defaultval"; then
8723 if test x"$enablestring" = xdisable; then
8730 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8731 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8732 # Check whether --enable-ribbon was given.
8733 if test "${enable_ribbon+set}" = set; then
8734 enableval=$enable_ribbon;
8735 if test "$enableval" = yes; then
8736 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8738 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8743 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8748 eval "$wx_cv_use_ribbon"
8750 if test x
"$enablestring" = xdisable
; then
8751 if test $wxUSE_RIBBON = no
; then
8757 result
=$wxUSE_RIBBON
8760 { echo "$as_me:$LINENO: result: $result" >&5
8761 echo "${ECHO_T}$result" >&6; }
8765 defaultval
=$wxUSE_ALL_FEATURES
8766 if test -z "$defaultval"; then
8767 if test x
"$enablestring" = xdisable
; then
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8776 # Check whether --enable-stc was given.
8777 if test "${enable_stc+set}" = set; then
8778 enableval
=$enable_stc;
8779 if test "$enableval" = yes; then
8780 wx_cv_use_stc
='wxUSE_STC=yes'
8782 wx_cv_use_stc
='wxUSE_STC=no'
8787 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8792 eval "$wx_cv_use_stc"
8794 if test x"$enablestring" = xdisable; then
8795 if test $wxUSE_STC = no; then
8804 { echo "$as_me:$LINENO: result: $result" >&5
8805 echo "${ECHO_T}$result" >&6; }
8809 defaultval=$wxUSE_ALL_FEATURES
8810 if test -z "$defaultval"; then
8811 if test x"$enablestring" = xdisable; then
8818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8820 # Check whether --enable-constraints was given.
8821 if test "${enable_constraints+set}" = set; then
8822 enableval=$enable_constraints;
8823 if test "$enableval" = yes; then
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8826 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8831 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8836 eval "$wx_cv_use_constraints"
8838 if test x"$enablestring" = xdisable; then
8839 if test $wxUSE_CONSTRAINTS = no; then
8845 result=$wxUSE_CONSTRAINTS
8848 { echo "$as_me:$LINENO: result
: $result" >&5
8849 echo "${ECHO_T}$result" >&6; }
8853 defaultval=$wxUSE_ALL_FEATURES
8854 if test -z "$defaultval"; then
8855 if test x"$enablestring" = xdisable; then
8862 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8863 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8864 # Check whether --enable-loggui was given.
8865 if test "${enable_loggui+set}" = set; then
8866 enableval=$enable_loggui;
8867 if test "$enableval" = yes; then
8868 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8870 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8875 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8880 eval "$wx_cv_use_loggui"
8882 if test x
"$enablestring" = xdisable
; then
8883 if test $wxUSE_LOGGUI = no
; then
8889 result
=$wxUSE_LOGGUI
8892 { echo "$as_me:$LINENO: result: $result" >&5
8893 echo "${ECHO_T}$result" >&6; }
8897 defaultval
=$wxUSE_ALL_FEATURES
8898 if test -z "$defaultval"; then
8899 if test x
"$enablestring" = xdisable
; then
8906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8907 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8908 # Check whether --enable-logwin was given.
8909 if test "${enable_logwin+set}" = set; then
8910 enableval
=$enable_logwin;
8911 if test "$enableval" = yes; then
8912 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8914 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8919 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8924 eval "$wx_cv_use_logwin"
8926 if test x"$enablestring" = xdisable; then
8927 if test $wxUSE_LOGWINDOW = no; then
8933 result=$wxUSE_LOGWINDOW
8936 { echo "$as_me:$LINENO: result: $result" >&5
8937 echo "${ECHO_T}$result" >&6; }
8941 defaultval=$wxUSE_ALL_FEATURES
8942 if test -z "$defaultval"; then
8943 if test x"$enablestring" = xdisable; then
8950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8951 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8952 # Check whether --enable-logdialog was given.
8953 if test "${enable_logdialog+set}" = set; then
8954 enableval=$enable_logdialog;
8955 if test "$enableval" = yes; then
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8958 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8963 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8968 eval "$wx_cv_use_logdialog"
8970 if test x"$enablestring" = xdisable; then
8971 if test $wxUSE_LOGDIALOG = no; then
8977 result=$wxUSE_LOGDIALOG
8980 { echo "$as_me:$LINENO: result
: $result" >&5
8981 echo "${ECHO_T}$result" >&6; }
8985 defaultval=$wxUSE_ALL_FEATURES
8986 if test -z "$defaultval"; then
8987 if test x"$enablestring" = xdisable; then
8994 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8995 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8996 # Check whether --enable-mdi was given.
8997 if test "${enable_mdi+set}" = set; then
8998 enableval=$enable_mdi;
8999 if test "$enableval" = yes; then
9000 wx_cv_use_mdi='wxUSE_MDI=yes'
9002 wx_cv_use_mdi='wxUSE_MDI=no'
9007 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9012 eval "$wx_cv_use_mdi"
9014 if test x
"$enablestring" = xdisable
; then
9015 if test $wxUSE_MDI = no
; then
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9029 defaultval
=$wxUSE_ALL_FEATURES
9030 if test -z "$defaultval"; then
9031 if test x
"$enablestring" = xdisable
; then
9038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9040 # Check whether --enable-mdidoc was given.
9041 if test "${enable_mdidoc+set}" = set; then
9042 enableval
=$enable_mdidoc;
9043 if test "$enableval" = yes; then
9044 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9046 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9051 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9056 eval "$wx_cv_use_mdidoc"
9058 if test x"$enablestring" = xdisable; then
9059 if test $wxUSE_MDI_ARCHITECTURE = no; then
9065 result=$wxUSE_MDI_ARCHITECTURE
9068 { echo "$as_me:$LINENO: result: $result" >&5
9069 echo "${ECHO_T}$result" >&6; }
9073 defaultval=$wxUSE_ALL_FEATURES
9074 if test -z "$defaultval"; then
9075 if test x"$enablestring" = xdisable; then
9082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9084 # Check whether --enable-mediactrl was given.
9085 if test "${enable_mediactrl+set}" = set; then
9086 enableval=$enable_mediactrl;
9087 if test "$enableval" = yes; then
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9090 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9095 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9100 eval "$wx_cv_use_mediactrl"
9102 if test x"$enablestring" = xdisable; then
9103 if test $wxUSE_MEDIACTRL = no; then
9109 result=$wxUSE_MEDIACTRL
9112 { echo "$as_me:$LINENO: result
: $result" >&5
9113 echo "${ECHO_T}$result" >&6; }
9117 defaultval=$wxUSE_ALL_FEATURES
9118 if test -z "$defaultval"; then
9119 if test x"$enablestring" = xdisable; then
9126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9127 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9128 # Check whether --enable-gstreamer8 was given.
9129 if test "${enable_gstreamer8+set}" = set; then
9130 enableval=$enable_gstreamer8;
9131 if test "$enableval" = yes; then
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9134 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9139 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9144 eval "$wx_cv_use_gstreamer8"
9146 if test x
"$enablestring" = xdisable
; then
9147 if test $wxUSE_GSTREAMER8 = no
; then
9153 result
=$wxUSE_GSTREAMER8
9156 { echo "$as_me:$LINENO: result: $result" >&5
9157 echo "${ECHO_T}$result" >&6; }
9161 defaultval
=$wxUSE_ALL_FEATURES
9162 if test -z "$defaultval"; then
9163 if test x
"$enablestring" = xdisable
; then
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9172 # Check whether --enable-webkit was given.
9173 if test "${enable_webkit+set}" = set; then
9174 enableval
=$enable_webkit;
9175 if test "$enableval" = yes; then
9176 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9178 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9183 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9188 eval "$wx_cv_use_webkit"
9190 if test x"$enablestring" = xdisable; then
9191 if test $wxUSE_WEBKIT = no; then
9197 result=$wxUSE_WEBKIT
9200 { echo "$as_me:$LINENO: result: $result" >&5
9201 echo "${ECHO_T}$result" >&6; }
9205 defaultval=$wxUSE_ALL_FEATURES
9206 if test -z "$defaultval"; then
9207 if test x"$enablestring" = xdisable; then
9214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9215 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9216 # Check whether --enable-richtext was given.
9217 if test "${enable_richtext+set}" = set; then
9218 enableval=$enable_richtext;
9219 if test "$enableval" = yes; then
9220 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9222 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9227 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9232 eval "$wx_cv_use_richtext"
9234 if test x"$enablestring" = xdisable; then
9235 if test $wxUSE_RICHTEXT = no; then
9241 result=$wxUSE_RICHTEXT
9244 { echo "$as_me:$LINENO: result
: $result" >&5
9245 echo "${ECHO_T}$result" >&6; }
9249 defaultval=$wxUSE_ALL_FEATURES
9250 if test -z "$defaultval"; then
9251 if test x"$enablestring" = xdisable; then
9258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9259 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9260 # Check whether --enable-postscript was given.
9261 if test "${enable_postscript+set}" = set; then
9262 enableval=$enable_postscript;
9263 if test "$enableval" = yes; then
9264 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9266 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9271 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9276 eval "$wx_cv_use_postscript"
9278 if test x
"$enablestring" = xdisable
; then
9279 if test $wxUSE_POSTSCRIPT = no
; then
9285 result
=$wxUSE_POSTSCRIPT
9288 { echo "$as_me:$LINENO: result: $result" >&5
9289 echo "${ECHO_T}$result" >&6; }
9293 defaultval
=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x
"$enablestring" = xdisable
; then
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9304 # Check whether --enable-printarch was given.
9305 if test "${enable_printarch+set}" = set; then
9306 enableval
=$enable_printarch;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9310 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9315 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9320 eval "$wx_cv_use_printarch"
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9329 result=$wxUSE_PRINTING_ARCHITECTURE
9332 { echo "$as_me:$LINENO: result: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9348 # Check whether --enable-svg was given.
9349 if test "${enable_svg+set}" = set; then
9350 enableval=$enable_svg;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_svg='wxUSE_SVG
=yes'
9354 wx_cv_use_svg='wxUSE_SVG
=no
'
9359 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9364 eval "$wx_cv_use_svg"
9366 if test x"$enablestring" = xdisable; then
9367 if test $wxUSE_SVG = no; then
9376 { echo "$as_me:$LINENO: result
: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9380 if test "$wxUSE_MAC" != 1; then
9383 defaultval=$wxUSE_ALL_FEATURES
9384 if test -z "$defaultval"; then
9385 if test x"$enablestring" = xdisable; then
9392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9393 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9394 # Check whether --enable-graphics_ctx was given.
9395 if test "${enable_graphics_ctx+set}" = set; then
9396 enableval=$enable_graphics_ctx;
9397 if test "$enableval" = yes; then
9398 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9400 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9405 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9410 eval "$wx_cv_use_graphics_ctx"
9412 if test x
"$enablestring" = xdisable
; then
9413 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9419 result
=$wxUSE_GRAPHICS_CONTEXT
9422 { echo "$as_me:$LINENO: result: $result" >&5
9423 echo "${ECHO_T}$result" >&6; }
9430 defaultval
=$wxUSE_ALL_FEATURES
9431 if test -z "$defaultval"; then
9432 if test x
"$enablestring" = xdisable
; then
9439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9440 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9441 # Check whether --enable-clipboard was given.
9442 if test "${enable_clipboard+set}" = set; then
9443 enableval
=$enable_clipboard;
9444 if test "$enableval" = yes; then
9445 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9447 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9452 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9457 eval "$wx_cv_use_clipboard"
9459 if test x"$enablestring" = xdisable; then
9460 if test $wxUSE_CLIPBOARD = no; then
9466 result=$wxUSE_CLIPBOARD
9469 { echo "$as_me:$LINENO: result: $result" >&5
9470 echo "${ECHO_T}$result" >&6; }
9474 defaultval=$wxUSE_ALL_FEATURES
9475 if test -z "$defaultval"; then
9476 if test x"$enablestring" = xdisable; then
9483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9484 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9485 # Check whether --enable-dnd was given.
9486 if test "${enable_dnd+set}" = set; then
9487 enableval=$enable_dnd;
9488 if test "$enableval" = yes; then
9489 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9491 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9496 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9501 eval "$wx_cv_use_dnd"
9503 if test x"$enablestring" = xdisable; then
9504 if test $wxUSE_DRAG_AND_DROP = no; then
9510 result=$wxUSE_DRAG_AND_DROP
9513 { echo "$as_me:$LINENO: result
: $result" >&5
9514 echo "${ECHO_T}$result" >&6; }
9518 defaultval=$wxUSE_ALL_FEATURES
9519 if test -z "$defaultval"; then
9520 if test x"$enablestring" = xdisable; then
9527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9528 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9529 # Check whether --enable-metafile was given.
9530 if test "${enable_metafile+set}" = set; then
9531 enableval=$enable_metafile;
9532 if test "$enableval" = yes; then
9533 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9535 wx_cv_use_metafile='wxUSE_METAFILE=no'
9540 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9545 eval "$wx_cv_use_metafile"
9547 if test x
"$enablestring" = xdisable
; then
9548 if test $wxUSE_METAFILE = no
; then
9554 result
=$wxUSE_METAFILE
9557 { echo "$as_me:$LINENO: result: $result" >&5
9558 echo "${ECHO_T}$result" >&6; }
9562 DEFAULT_wxUSE_CONTROLS
=none
9564 enablestring
=disable
9566 if test -z "$defaultval"; then
9567 if test x
"$enablestring" = xdisable
; then
9574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9576 # Check whether --enable-controls was given.
9577 if test "${enable_controls+set}" = set; then
9578 enableval
=$enable_controls;
9579 if test "$enableval" = yes; then
9580 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9582 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9587 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9592 eval "$wx_cv_use_controls"
9594 if test x"$enablestring" = xdisable; then
9595 if test $wxUSE_CONTROLS = no; then
9601 result=$wxUSE_CONTROLS
9604 { echo "$as_me:$LINENO: result: $result" >&5
9605 echo "${ECHO_T}$result" >&6; }
9608 if test "$wxUSE_CONTROLS" = "no"; then
9609 DEFAULT_wxUSE_ACCEL=no
9610 DEFAULT_wxUSE_ANIMATIONCTRL=no
9611 DEFAULT_wxUSE_BMPBUTTON=no
9612 DEFAULT_wxUSE_BUTTON=no
9613 DEFAULT_wxUSE_CALCTRL=no
9614 DEFAULT_wxUSE_CARET=no
9615 DEFAULT_wxUSE_CHECKBOX=no
9616 DEFAULT_wxUSE_CHECKLISTBOX=no
9617 DEFAULT_wxUSE_CHOICE=no
9618 DEFAULT_wxUSE_CHOICEBOOK=no
9619 DEFAULT_wxUSE_COLLPANE=no
9620 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9621 DEFAULT_wxUSE_COMBOBOX=no
9622 DEFAULT_wxUSE_COMBOBOX=no
9623 DEFAULT_wxUSE_DATAVIEWCTRL=no
9624 DEFAULT_wxUSE_DATEPICKCTRL=no
9625 DEFAULT_wxUSE_DETECT_SM=no
9626 DEFAULT_wxUSE_DIRPICKERCTRL=no
9627 DEFAULT_wxUSE_DISPLAY=no
9628 DEFAULT_wxUSE_FILECTRL=no
9629 DEFAULT_wxUSE_FILEPICKERCTRL=no
9630 DEFAULT_wxUSE_FONTPICKERCTRL=no
9631 DEFAULT_wxUSE_GAUGE=no
9632 DEFAULT_wxUSE_GRID=no
9633 DEFAULT_wxUSE_HEADERCTRL=no
9634 DEFAULT_wxUSE_HYPERLINKCTRL=no
9635 DEFAULT_wxUSE_IMAGLIST=no
9636 DEFAULT_wxUSE_LISTBOOK=no
9637 DEFAULT_wxUSE_LISTBOX=no
9638 DEFAULT_wxUSE_LISTCTRL=no
9639 DEFAULT_wxUSE_NOTEBOOK=no
9640 DEFAULT_wxUSE_POPUPWIN=no
9641 DEFAULT_wxUSE_RADIOBOX=no
9642 DEFAULT_wxUSE_RADIOBTN=no
9643 DEFAULT_wxUSE_REARRANGECTRL=no
9644 DEFAULT_wxUSE_SASH=no
9645 DEFAULT_wxUSE_SCROLLBAR=no
9646 DEFAULT_wxUSE_SEARCHCTRL=no
9647 DEFAULT_wxUSE_SLIDER=no
9648 DEFAULT_wxUSE_SPINBTN=no
9649 DEFAULT_wxUSE_SPINCTRL=no
9650 DEFAULT_wxUSE_SPLITTER=no
9651 DEFAULT_wxUSE_STATBMP=no
9652 DEFAULT_wxUSE_STATBOX=no
9653 DEFAULT_wxUSE_STATLINE=no
9654 DEFAULT_wxUSE_STATUSBAR=no
9655 DEFAULT_wxUSE_TIPWINDOW=no
9656 DEFAULT_wxUSE_TOGGLEBTN=no
9657 DEFAULT_wxUSE_TOOLBAR=no
9658 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9659 DEFAULT_wxUSE_TOOLBOOK=no
9660 DEFAULT_wxUSE_TOOLTIPS=no
9661 DEFAULT_wxUSE_TREEBOOK=no
9662 DEFAULT_wxUSE_TREECTRL=no
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9678 # Check whether --enable-accel was given.
9679 if test "${enable_accel+set}" = set; then
9680 enableval=$enable_accel;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9684 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9689 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9694 eval "$wx_cv_use_accel"
9696 if test x"$enablestring" = xdisable; then
9697 if test $wxUSE_ACCEL = no; then
9706 { echo "$as_me:$LINENO: result
: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9711 defaultval=$wxUSE_ALL_FEATURES
9712 if test -z "$defaultval"; then
9713 if test x"$enablestring" = xdisable; then
9720 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9721 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9722 # Check whether --enable-animatectrl was given.
9723 if test "${enable_animatectrl+set}" = set; then
9724 enableval=$enable_animatectrl;
9725 if test "$enableval" = yes; then
9726 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9728 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9733 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9738 eval "$wx_cv_use_animatectrl"
9740 if test x
"$enablestring" = xdisable
; then
9741 if test $wxUSE_ANIMATIONCTRL = no
; then
9747 result
=$wxUSE_ANIMATIONCTRL
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9755 defaultval
=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x
"$enablestring" = xdisable
; then
9764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9766 # Check whether --enable-bmpbutton was given.
9767 if test "${enable_bmpbutton+set}" = set; then
9768 enableval
=$enable_bmpbutton;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9772 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9777 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9782 eval "$wx_cv_use_bmpbutton"
9784 if test x"$enablestring" = xdisable; then
9785 if test $wxUSE_BMPBUTTON = no; then
9791 result=$wxUSE_BMPBUTTON
9794 { echo "$as_me:$LINENO: result: $result" >&5
9795 echo "${ECHO_T}$result" >&6; }
9799 defaultval=$wxUSE_ALL_FEATURES
9800 if test -z "$defaultval"; then
9801 if test x"$enablestring" = xdisable; then
9808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9810 # Check whether --enable-bmpcombobox was given.
9811 if test "${enable_bmpcombobox+set}" = set; then
9812 enableval=$enable_bmpcombobox;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9816 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9821 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9826 eval "$wx_cv_use_bmpcombobox"
9828 if test x"$enablestring" = xdisable; then
9829 if test $wxUSE_BITMAPCOMBOBOX = no; then
9835 result=$wxUSE_BITMAPCOMBOBOX
9838 { echo "$as_me:$LINENO: result
: $result" >&5
9839 echo "${ECHO_T}$result" >&6; }
9843 defaultval=$wxUSE_ALL_FEATURES
9844 if test -z "$defaultval"; then
9845 if test x"$enablestring" = xdisable; then
9852 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9853 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9854 # Check whether --enable-button was given.
9855 if test "${enable_button+set}" = set; then
9856 enableval=$enable_button;
9857 if test "$enableval" = yes; then
9858 wx_cv_use_button='wxUSE_BUTTON=yes'
9860 wx_cv_use_button='wxUSE_BUTTON=no'
9865 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9870 eval "$wx_cv_use_button"
9872 if test x
"$enablestring" = xdisable
; then
9873 if test $wxUSE_BUTTON = no
; then
9879 result
=$wxUSE_BUTTON
9882 { echo "$as_me:$LINENO: result: $result" >&5
9883 echo "${ECHO_T}$result" >&6; }
9887 defaultval
=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x
"$enablestring" = xdisable
; then
9896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9898 # Check whether --enable-calendar was given.
9899 if test "${enable_calendar+set}" = set; then
9900 enableval
=$enable_calendar;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9904 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9909 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9914 eval "$wx_cv_use_calendar"
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_CALCTRL = no; then
9923 result=$wxUSE_CALCTRL
9926 { echo "$as_me:$LINENO: result: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9942 # Check whether --enable-caret was given.
9943 if test "${enable_caret+set}" = set; then
9944 enableval=$enable_caret;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_caret='wxUSE_CARET
=yes'
9948 wx_cv_use_caret='wxUSE_CARET
=no
'
9953 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9958 eval "$wx_cv_use_caret"
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_CARET = no; then
9970 { echo "$as_me:$LINENO: result
: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9975 defaultval=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x"$enablestring" = xdisable; then
9984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9985 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9986 # Check whether --enable-checkbox was given.
9987 if test "${enable_checkbox+set}" = set; then
9988 enableval=$enable_checkbox;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9992 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9997 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10002 eval "$wx_cv_use_checkbox"
10004 if test x
"$enablestring" = xdisable
; then
10005 if test $wxUSE_CHECKBOX = no
; then
10011 result
=$wxUSE_CHECKBOX
10014 { echo "$as_me:$LINENO: result: $result" >&5
10015 echo "${ECHO_T}$result" >&6; }
10019 defaultval
=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x
"$enablestring" = xdisable
; then
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10030 # Check whether --enable-checklst was given.
10031 if test "${enable_checklst+set}" = set; then
10032 enableval
=$enable_checklst;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10036 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10041 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10046 eval "$wx_cv_use_checklst"
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_CHECKLST = no; then
10055 result=$wxUSE_CHECKLST
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10074 # Check whether --enable-choice was given.
10075 if test "${enable_choice+set}" = set; then
10076 enableval=$enable_choice;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10080 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10085 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10090 eval "$wx_cv_use_choice"
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_CHOICE = no; then
10099 result=$wxUSE_CHOICE
10102 { echo "$as_me:$LINENO: result
: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10117 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10118 # Check whether --enable-choicebook was given.
10119 if test "${enable_choicebook+set}" = set; then
10120 enableval=$enable_choicebook;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10129 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10134 eval "$wx_cv_use_choicebook"
10136 if test x
"$enablestring" = xdisable
; then
10137 if test $wxUSE_CHOICEBOOK = no
; then
10143 result
=$wxUSE_CHOICEBOOK
10146 { echo "$as_me:$LINENO: result: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10151 defaultval
=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x
"$enablestring" = xdisable
; then
10160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10162 # Check whether --enable-collpane was given.
10163 if test "${enable_collpane+set}" = set; then
10164 enableval
=$enable_collpane;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10168 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10173 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10178 eval "$wx_cv_use_collpane"
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_COLLPANE = no; then
10187 result=$wxUSE_COLLPANE
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10206 # Check whether --enable-colourpicker was given.
10207 if test "${enable_colourpicker+set}" = set; then
10208 enableval=$enable_colourpicker;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10212 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10217 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10222 eval "$wx_cv_use_colourpicker"
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_COLOURPICKERCTRL = no; then
10231 result=$wxUSE_COLOURPICKERCTRL
10234 { echo "$as_me:$LINENO: result
: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10249 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10250 # Check whether --enable-combobox was given.
10251 if test "${enable_combobox+set}" = set; then
10252 enableval=$enable_combobox;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10256 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10261 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10266 eval "$wx_cv_use_combobox"
10268 if test x
"$enablestring" = xdisable
; then
10269 if test $wxUSE_COMBOBOX = no
; then
10275 result
=$wxUSE_COMBOBOX
10278 { echo "$as_me:$LINENO: result: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10283 defaultval
=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x
"$enablestring" = xdisable
; then
10292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10294 # Check whether --enable-comboctrl was given.
10295 if test "${enable_comboctrl+set}" = set; then
10296 enableval
=$enable_comboctrl;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10300 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10305 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10310 eval "$wx_cv_use_comboctrl"
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_COMBOCTRL = no; then
10319 result=$wxUSE_COMBOCTRL
10322 { echo "$as_me:$LINENO: result: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10338 # Check whether --enable-dataviewctrl was given.
10339 if test "${enable_dataviewctrl+set}" = set; then
10340 enableval=$enable_dataviewctrl;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10349 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10354 eval "$wx_cv_use_dataviewctrl"
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_DATAVIEWCTRL = no; then
10363 result=$wxUSE_DATAVIEWCTRL
10366 { echo "$as_me:$LINENO: result
: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10380 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10381 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10382 # Check whether --enable-datepick was given.
10383 if test "${enable_datepick+set}" = set; then
10384 enableval=$enable_datepick;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10388 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10393 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10398 eval "$wx_cv_use_datepick"
10400 if test x
"$enablestring" = xdisable
; then
10401 if test $wxUSE_DATEPICKCTRL = no
; then
10407 result
=$wxUSE_DATEPICKCTRL
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10415 defaultval
=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x
"$enablestring" = xdisable
; then
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10426 # Check whether --enable-detect_sm was given.
10427 if test "${enable_detect_sm+set}" = set; then
10428 enableval
=$enable_detect_sm;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10432 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10437 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10442 eval "$wx_cv_use_detect_sm"
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_DETECT_SM = no; then
10451 result=$wxUSE_DETECT_SM
10454 { echo "$as_me:$LINENO: result: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10470 # Check whether --enable-dirpicker was given.
10471 if test "${enable_dirpicker+set}" = set; then
10472 enableval=$enable_dirpicker;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10476 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10481 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10486 eval "$wx_cv_use_dirpicker"
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_DIRPICKERCTRL = no; then
10495 result=$wxUSE_DIRPICKERCTRL
10498 { echo "$as_me:$LINENO: result
: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10513 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10514 # Check whether --enable-display was given.
10515 if test "${enable_display+set}" = set; then
10516 enableval=$enable_display;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_display='wxUSE_DISPLAY=yes'
10520 wx_cv_use_display='wxUSE_DISPLAY=no'
10525 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10530 eval "$wx_cv_use_display"
10532 if test x
"$enablestring" = xdisable
; then
10533 if test $wxUSE_DISPLAY = no
; then
10539 result
=$wxUSE_DISPLAY
10542 { echo "$as_me:$LINENO: result: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10547 defaultval
=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x
"$enablestring" = xdisable
; then
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10558 # Check whether --enable-editablebox was given.
10559 if test "${enable_editablebox+set}" = set; then
10560 enableval
=$enable_editablebox;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10564 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10569 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10574 eval "$wx_cv_use_editablebox"
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_EDITABLELISTBOX = no; then
10583 result=$wxUSE_EDITABLELISTBOX
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10602 # Check whether --enable-filectrl was given.
10603 if test "${enable_filectrl+set}" = set; then
10604 enableval=$enable_filectrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10608 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10613 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10618 eval "$wx_cv_use_filectrl"
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_FILECTRL = no; then
10627 result=$wxUSE_FILECTRL
10630 { echo "$as_me:$LINENO: result
: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10644 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10645 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10646 # Check whether --enable-filepicker was given.
10647 if test "${enable_filepicker+set}" = set; then
10648 enableval=$enable_filepicker;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10657 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10662 eval "$wx_cv_use_filepicker"
10664 if test x
"$enablestring" = xdisable
; then
10665 if test $wxUSE_FILEPICKERCTRL = no
; then
10671 result
=$wxUSE_FILEPICKERCTRL
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10679 defaultval
=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x
"$enablestring" = xdisable
; then
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10690 # Check whether --enable-fontpicker was given.
10691 if test "${enable_fontpicker+set}" = set; then
10692 enableval
=$enable_fontpicker;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10696 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10701 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10706 eval "$wx_cv_use_fontpicker"
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_FONTPICKERCTRL = no; then
10715 result=$wxUSE_FONTPICKERCTRL
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10734 # Check whether --enable-gauge was given.
10735 if test "${enable_gauge+set}" = set; then
10736 enableval=$enable_gauge;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10740 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10745 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10750 eval "$wx_cv_use_gauge"
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_GAUGE = no; then
10759 result=$wxUSE_GAUGE
10762 { echo "$as_me:$LINENO: result
: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10776 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10777 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10778 # Check whether --enable-grid was given.
10779 if test "${enable_grid+set}" = set; then
10780 enableval=$enable_grid;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_grid='wxUSE_GRID=yes'
10784 wx_cv_use_grid='wxUSE_GRID=no'
10789 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10794 eval "$wx_cv_use_grid"
10796 if test x
"$enablestring" = xdisable
; then
10797 if test $wxUSE_GRID = no
; then
10806 { echo "$as_me:$LINENO: result: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10811 defaultval
=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x
"$enablestring" = xdisable
; then
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10822 # Check whether --enable-headerctrl was given.
10823 if test "${enable_headerctrl+set}" = set; then
10824 enableval
=$enable_headerctrl;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10828 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10833 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10838 eval "$wx_cv_use_headerctrl"
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_HEADERCTRL = no; then
10847 result=$wxUSE_HEADERCTRL
10850 { echo "$as_me:$LINENO: result: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10866 # Check whether --enable-hyperlink was given.
10867 if test "${enable_hyperlink+set}" = set; then
10868 enableval=$enable_hyperlink;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10872 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10877 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10882 eval "$wx_cv_use_hyperlink"
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_HYPERLINKCTRL = no; then
10891 result=$wxUSE_HYPERLINKCTRL
10894 { echo "$as_me:$LINENO: result
: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10908 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10909 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10910 # Check whether --enable-imaglist was given.
10911 if test "${enable_imaglist+set}" = set; then
10912 enableval=$enable_imaglist;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10916 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10921 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10926 eval "$wx_cv_use_imaglist"
10928 if test x
"$enablestring" = xdisable
; then
10929 if test $wxUSE_IMAGLIST = no
; then
10935 result
=$wxUSE_IMAGLIST
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10943 defaultval
=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x
"$enablestring" = xdisable
; then
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10954 # Check whether --enable-infobar was given.
10955 if test "${enable_infobar+set}" = set; then
10956 enableval
=$enable_infobar;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
10960 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
10965 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10970 eval "$wx_cv_use_infobar"
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_INFOBAR = no; then
10979 result=$wxUSE_INFOBAR
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10998 # Check whether --enable-listbook was given.
10999 if test "${enable_listbook+set}" = set; then
11000 enableval=$enable_listbook;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
11004 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11009 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11014 eval "$wx_cv_use_listbook"
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_LISTBOOK = no; then
11023 result=$wxUSE_LISTBOOK
11026 { echo "$as_me:$LINENO: result
: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11040 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
11041 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11042 # Check whether --enable-listbox was given.
11043 if test "${enable_listbox+set}" = set; then
11044 enableval=$enable_listbox;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11048 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11053 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11058 eval "$wx_cv_use_listbox"
11060 if test x
"$enablestring" = xdisable
; then
11061 if test $wxUSE_LISTBOX = no
; then
11067 result
=$wxUSE_LISTBOX
11070 { echo "$as_me:$LINENO: result: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11075 defaultval
=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x
"$enablestring" = xdisable
; then
11084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11086 # Check whether --enable-listctrl was given.
11087 if test "${enable_listctrl+set}" = set; then
11088 enableval
=$enable_listctrl;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11092 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11097 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11102 eval "$wx_cv_use_listctrl"
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_LISTCTRL = no; then
11111 result=$wxUSE_LISTCTRL
11114 { echo "$as_me:$LINENO: result: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11129 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11130 # Check whether --enable-notebook was given.
11131 if test "${enable_notebook+set}" = set; then
11132 enableval=$enable_notebook;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11136 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11141 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11146 eval "$wx_cv_use_notebook"
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_NOTEBOOK = no; then
11155 result=$wxUSE_NOTEBOOK
11158 { echo "$as_me:$LINENO: result
: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
11173 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11174 # Check whether --enable-notifmsg was given.
11175 if test "${enable_notifmsg+set}" = set; then
11176 enableval=$enable_notifmsg;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11180 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11185 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11190 eval "$wx_cv_use_notifmsg"
11192 if test x
"$enablestring" = xdisable
; then
11193 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11199 result
=$wxUSE_NOTIFICATION_MESSAGE
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11207 defaultval
=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x
"$enablestring" = xdisable
; then
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11218 # Check whether --enable-odcombobox was given.
11219 if test "${enable_odcombobox+set}" = set; then
11220 enableval
=$enable_odcombobox;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11224 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11229 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11234 eval "$wx_cv_use_odcombobox"
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_ODCOMBOBOX = no; then
11243 result=$wxUSE_ODCOMBOBOX
11246 { echo "$as_me:$LINENO: result: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11262 # Check whether --enable-popupwin was given.
11263 if test "${enable_popupwin+set}" = set; then
11264 enableval=$enable_popupwin;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11268 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11273 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11278 eval "$wx_cv_use_popupwin"
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_POPUPWIN = no; then
11287 result=$wxUSE_POPUPWIN
11290 { echo "$as_me:$LINENO: result
: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11304 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11305 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11306 # Check whether --enable-radiobox was given.
11307 if test "${enable_radiobox+set}" = set; then
11308 enableval=$enable_radiobox;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11312 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11317 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11322 eval "$wx_cv_use_radiobox"
11324 if test x
"$enablestring" = xdisable
; then
11325 if test $wxUSE_RADIOBOX = no
; then
11331 result
=$wxUSE_RADIOBOX
11334 { echo "$as_me:$LINENO: result: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11339 defaultval
=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x
"$enablestring" = xdisable
; then
11348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11349 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11350 # Check whether --enable-radiobtn was given.
11351 if test "${enable_radiobtn+set}" = set; then
11352 enableval
=$enable_radiobtn;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11356 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11361 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11366 eval "$wx_cv_use_radiobtn"
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_RADIOBTN = no; then
11375 result=$wxUSE_RADIOBTN
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11394 # Check whether --enable-rearrangectrl was given.
11395 if test "${enable_rearrangectrl+set}" = set; then
11396 enableval=$enable_rearrangectrl;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11400 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11405 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11410 eval "$wx_cv_use_rearrangectrl"
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_REARRANGECTRL = no; then
11419 result=$wxUSE_REARRANGECTRL
11422 { echo "$as_me:$LINENO: result
: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11437 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11438 # Check whether --enable-sash was given.
11439 if test "${enable_sash+set}" = set; then
11440 enableval=$enable_sash;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_sash='wxUSE_SASH=yes'
11444 wx_cv_use_sash='wxUSE_SASH=no'
11449 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11454 eval "$wx_cv_use_sash"
11456 if test x
"$enablestring" = xdisable
; then
11457 if test $wxUSE_SASH = no
; then
11466 { echo "$as_me:$LINENO: result: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11471 defaultval
=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x
"$enablestring" = xdisable
; then
11480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11482 # Check whether --enable-scrollbar was given.
11483 if test "${enable_scrollbar+set}" = set; then
11484 enableval
=$enable_scrollbar;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11488 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11493 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11498 eval "$wx_cv_use_scrollbar"
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_SCROLLBAR = no; then
11507 result=$wxUSE_SCROLLBAR
11510 { echo "$as_me:$LINENO: result: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11526 # Check whether --enable-searchctrl was given.
11527 if test "${enable_searchctrl+set}" = set; then
11528 enableval=$enable_searchctrl;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11532 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11537 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11542 eval "$wx_cv_use_searchctrl"
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_SEARCHCTRL = no; then
11551 result=$wxUSE_SEARCHCTRL
11554 { echo "$as_me:$LINENO: result
: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11569 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11570 # Check whether --enable-slider was given.
11571 if test "${enable_slider+set}" = set; then
11572 enableval=$enable_slider;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_slider='wxUSE_SLIDER=yes'
11576 wx_cv_use_slider='wxUSE_SLIDER=no'
11581 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11586 eval "$wx_cv_use_slider"
11588 if test x
"$enablestring" = xdisable
; then
11589 if test $wxUSE_SLIDER = no
; then
11595 result
=$wxUSE_SLIDER
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11603 defaultval
=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x
"$enablestring" = xdisable
; then
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11614 # Check whether --enable-spinbtn was given.
11615 if test "${enable_spinbtn+set}" = set; then
11616 enableval
=$enable_spinbtn;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11620 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11625 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11630 eval "$wx_cv_use_spinbtn"
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_SPINBTN = no; then
11639 result=$wxUSE_SPINBTN
11642 { echo "$as_me:$LINENO: result: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11658 # Check whether --enable-spinctrl was given.
11659 if test "${enable_spinctrl+set}" = set; then
11660 enableval=$enable_spinctrl;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11664 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11669 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11674 eval "$wx_cv_use_spinctrl"
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_SPINCTRL = no; then
11683 result=$wxUSE_SPINCTRL
11686 { echo "$as_me:$LINENO: result
: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11701 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11702 # Check whether --enable-splitter was given.
11703 if test "${enable_splitter+set}" = set; then
11704 enableval=$enable_splitter;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11708 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11713 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11718 eval "$wx_cv_use_splitter"
11720 if test x
"$enablestring" = xdisable
; then
11721 if test $wxUSE_SPLITTER = no
; then
11727 result
=$wxUSE_SPLITTER
11730 { echo "$as_me:$LINENO: result: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11735 defaultval
=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x
"$enablestring" = xdisable
; then
11744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11745 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11746 # Check whether --enable-statbmp was given.
11747 if test "${enable_statbmp+set}" = set; then
11748 enableval
=$enable_statbmp;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11752 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11757 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11762 eval "$wx_cv_use_statbmp"
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_STATBMP = no; then
11771 result=$wxUSE_STATBMP
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11790 # Check whether --enable-statbox was given.
11791 if test "${enable_statbox+set}" = set; then
11792 enableval=$enable_statbox;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11796 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11801 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11806 eval "$wx_cv_use_statbox"
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_STATBOX = no; then
11815 result=$wxUSE_STATBOX
11818 { echo "$as_me:$LINENO: result
: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11832 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11833 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11834 # Check whether --enable-statline was given.
11835 if test "${enable_statline+set}" = set; then
11836 enableval=$enable_statline;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_statline='wxUSE_STATLINE=yes'
11840 wx_cv_use_statline='wxUSE_STATLINE=no'
11845 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11850 eval "$wx_cv_use_statline"
11852 if test x
"$enablestring" = xdisable
; then
11853 if test $wxUSE_STATLINE = no
; then
11859 result
=$wxUSE_STATLINE
11862 { echo "$as_me:$LINENO: result: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11867 defaultval
=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x
"$enablestring" = xdisable
; then
11876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11877 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11878 # Check whether --enable-stattext was given.
11879 if test "${enable_stattext+set}" = set; then
11880 enableval
=$enable_stattext;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11884 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11889 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11894 eval "$wx_cv_use_stattext"
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_STATTEXT = no; then
11903 result=$wxUSE_STATTEXT
11906 { echo "$as_me:$LINENO: result: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11922 # Check whether --enable-statusbar was given.
11923 if test "${enable_statusbar+set}" = set; then
11924 enableval=$enable_statusbar;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11928 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11933 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11938 eval "$wx_cv_use_statusbar"
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_STATUSBAR = no; then
11947 result=$wxUSE_STATUSBAR
11950 { echo "$as_me:$LINENO: result
: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11965 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11966 # Check whether --enable-taskbaricon was given.
11967 if test "${enable_taskbaricon+set}" = set; then
11968 enableval=$enable_taskbaricon;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11972 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11977 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11982 eval "$wx_cv_use_taskbaricon"
11984 if test x
"$enablestring" = xdisable
; then
11985 if test $wxUSE_TASKBARICON = no
; then
11991 result
=$wxUSE_TASKBARICON
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11999 defaultval
=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x
"$enablestring" = xdisable
; then
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12010 # Check whether --enable-tbarnative was given.
12011 if test "${enable_tbarnative+set}" = set; then
12012 enableval
=$enable_tbarnative;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12016 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12021 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12026 eval "$wx_cv_use_tbarnative"
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_TOOLBAR_NATIVE = no; then
12035 result=$wxUSE_TOOLBAR_NATIVE
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12054 # Check whether --enable-textctrl was given.
12055 if test "${enable_textctrl+set}" = set; then
12056 enableval=$enable_textctrl;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12060 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12065 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12070 eval "$wx_cv_use_textctrl"
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_TEXTCTRL = no; then
12079 result=$wxUSE_TEXTCTRL
12082 { echo "$as_me:$LINENO: result
: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12097 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12098 # Check whether --enable-tipwindow was given.
12099 if test "${enable_tipwindow+set}" = set; then
12100 enableval=$enable_tipwindow;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12109 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12114 eval "$wx_cv_use_tipwindow"
12116 if test x
"$enablestring" = xdisable
; then
12117 if test $wxUSE_TIPWINDOW = no
; then
12123 result
=$wxUSE_TIPWINDOW
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12131 defaultval
=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x
"$enablestring" = xdisable
; then
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12142 # Check whether --enable-togglebtn was given.
12143 if test "${enable_togglebtn+set}" = set; then
12144 enableval
=$enable_togglebtn;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12148 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12153 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12158 eval "$wx_cv_use_togglebtn"
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_TOGGLEBTN = no; then
12167 result=$wxUSE_TOGGLEBTN
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12186 # Check whether --enable-toolbar was given.
12187 if test "${enable_toolbar+set}" = set; then
12188 enableval=$enable_toolbar;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12192 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12197 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12202 eval "$wx_cv_use_toolbar"
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_TOOLBAR = no; then
12211 result=$wxUSE_TOOLBAR
12214 { echo "$as_me:$LINENO: result
: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12229 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12230 # Check whether --enable-toolbook was given.
12231 if test "${enable_toolbook+set}" = set; then
12232 enableval=$enable_toolbook;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12236 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12241 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12246 eval "$wx_cv_use_toolbook"
12248 if test x
"$enablestring" = xdisable
; then
12249 if test $wxUSE_TOOLBOOK = no
; then
12255 result
=$wxUSE_TOOLBOOK
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval
=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x
"$enablestring" = xdisable
; then
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12274 # Check whether --enable-treebook was given.
12275 if test "${enable_treebook+set}" = set; then
12276 enableval
=$enable_treebook;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12280 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12285 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12290 eval "$wx_cv_use_treebook"
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_TREEBOOK = no; then
12299 result=$wxUSE_TREEBOOK
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12318 # Check whether --enable-treectrl was given.
12319 if test "${enable_treectrl+set}" = set; then
12320 enableval=$enable_treectrl;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12324 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12329 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12334 eval "$wx_cv_use_treectrl"
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_TREECTRL = no; then
12343 result=$wxUSE_TREECTRL
12346 { echo "$as_me:$LINENO: result
: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12353 defaultval=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x"$enablestring" = xdisable; then
12362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12363 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12364 # Check whether --enable-commondlg was given.
12365 if test "${enable_commondlg+set}" = set; then
12366 enableval=$enable_commondlg;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12370 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12375 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12380 eval "$wx_cv_use_commondlg"
12382 if test x
"$enablestring" = xdisable
; then
12383 if test $wxUSE_COMMONDLGS = no
; then
12389 result
=$wxUSE_COMMONDLGS
12392 { echo "$as_me:$LINENO: result: $result" >&5
12393 echo "${ECHO_T}$result" >&6; }
12397 defaultval
=$wxUSE_ALL_FEATURES
12398 if test -z "$defaultval"; then
12399 if test x
"$enablestring" = xdisable
; then
12406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12407 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12408 # Check whether --enable-aboutdlg was given.
12409 if test "${enable_aboutdlg+set}" = set; then
12410 enableval
=$enable_aboutdlg;
12411 if test "$enableval" = yes; then
12412 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12414 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12419 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12424 eval "$wx_cv_use_aboutdlg"
12426 if test x"$enablestring" = xdisable; then
12427 if test $wxUSE_ABOUTDLG = no; then
12433 result=$wxUSE_ABOUTDLG
12436 { echo "$as_me:$LINENO: result: $result" >&5
12437 echo "${ECHO_T}$result" >&6; }
12441 defaultval=$wxUSE_ALL_FEATURES
12442 if test -z "$defaultval"; then
12443 if test x"$enablestring" = xdisable; then
12450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12451 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12452 # Check whether --enable-choicedlg was given.
12453 if test "${enable_choicedlg+set}" = set; then
12454 enableval=$enable_choicedlg;
12455 if test "$enableval" = yes; then
12456 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12458 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12463 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12468 eval "$wx_cv_use_choicedlg"
12470 if test x"$enablestring" = xdisable; then
12471 if test $wxUSE_CHOICEDLG = no; then
12477 result=$wxUSE_CHOICEDLG
12480 { echo "$as_me:$LINENO: result
: $result" >&5
12481 echo "${ECHO_T}$result" >&6; }
12485 defaultval=$wxUSE_ALL_FEATURES
12486 if test -z "$defaultval"; then
12487 if test x"$enablestring" = xdisable; then
12494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12495 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12496 # Check whether --enable-coldlg was given.
12497 if test "${enable_coldlg+set}" = set; then
12498 enableval=$enable_coldlg;
12499 if test "$enableval" = yes; then
12500 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12502 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12507 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12512 eval "$wx_cv_use_coldlg"
12514 if test x
"$enablestring" = xdisable
; then
12515 if test $wxUSE_COLOURDLG = no
; then
12521 result
=$wxUSE_COLOURDLG
12524 { echo "$as_me:$LINENO: result: $result" >&5
12525 echo "${ECHO_T}$result" >&6; }
12529 defaultval
=$wxUSE_ALL_FEATURES
12530 if test -z "$defaultval"; then
12531 if test x
"$enablestring" = xdisable
; then
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12540 # Check whether --enable-filedlg was given.
12541 if test "${enable_filedlg+set}" = set; then
12542 enableval
=$enable_filedlg;
12543 if test "$enableval" = yes; then
12544 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12546 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12551 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12556 eval "$wx_cv_use_filedlg"
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_FILEDLG = no; then
12565 result=$wxUSE_FILEDLG
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12584 # Check whether --enable-finddlg was given.
12585 if test "${enable_finddlg+set}" = set; then
12586 enableval=$enable_finddlg;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12590 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12595 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12600 eval "$wx_cv_use_finddlg"
12602 if test x"$enablestring" = xdisable; then
12603 if test $wxUSE_FINDREPLDLG = no; then
12609 result=$wxUSE_FINDREPLDLG
12612 { echo "$as_me:$LINENO: result
: $result" >&5
12613 echo "${ECHO_T}$result" >&6; }
12617 defaultval=$wxUSE_ALL_FEATURES
12618 if test -z "$defaultval"; then
12619 if test x"$enablestring" = xdisable; then
12626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12627 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12628 # Check whether --enable-fontdlg was given.
12629 if test "${enable_fontdlg+set}" = set; then
12630 enableval=$enable_fontdlg;
12631 if test "$enableval" = yes; then
12632 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12634 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12639 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12644 eval "$wx_cv_use_fontdlg"
12646 if test x
"$enablestring" = xdisable
; then
12647 if test $wxUSE_FONTDLG = no
; then
12653 result
=$wxUSE_FONTDLG
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12661 defaultval
=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x
"$enablestring" = xdisable
; then
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12672 # Check whether --enable-dirdlg was given.
12673 if test "${enable_dirdlg+set}" = set; then
12674 enableval
=$enable_dirdlg;
12675 if test "$enableval" = yes; then
12676 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12678 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12683 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12688 eval "$wx_cv_use_dirdlg"
12690 if test x"$enablestring" = xdisable; then
12691 if test $wxUSE_DIRDLG = no; then
12697 result=$wxUSE_DIRDLG
12700 { echo "$as_me:$LINENO: result: $result" >&5
12701 echo "${ECHO_T}$result" >&6; }
12705 defaultval=$wxUSE_ALL_FEATURES
12706 if test -z "$defaultval"; then
12707 if test x"$enablestring" = xdisable; then
12714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12715 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12716 # Check whether --enable-msgdlg was given.
12717 if test "${enable_msgdlg+set}" = set; then
12718 enableval=$enable_msgdlg;
12719 if test "$enableval" = yes; then
12720 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12722 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12727 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12732 eval "$wx_cv_use_msgdlg"
12734 if test x"$enablestring" = xdisable; then
12735 if test $wxUSE_MSGDLG = no; then
12741 result=$wxUSE_MSGDLG
12744 { echo "$as_me:$LINENO: result
: $result" >&5
12745 echo "${ECHO_T}$result" >&6; }
12749 defaultval=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x"$enablestring" = xdisable; then
12758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12759 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12760 # Check whether --enable-numberdlg was given.
12761 if test "${enable_numberdlg+set}" = set; then
12762 enableval=$enable_numberdlg;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12766 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12771 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12776 eval "$wx_cv_use_numberdlg"
12778 if test x
"$enablestring" = xdisable
; then
12779 if test $wxUSE_NUMBERDLG = no
; then
12785 result
=$wxUSE_NUMBERDLG
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12793 defaultval
=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x
"$enablestring" = xdisable
; then
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12804 # Check whether --enable-splash was given.
12805 if test "${enable_splash+set}" = set; then
12806 enableval
=$enable_splash;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12810 wx_cv_use_splash
='wxUSE_SPLASH=no'
12815 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12820 eval "$wx_cv_use_splash"
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_SPLASH = no; then
12829 result=$wxUSE_SPLASH
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12848 # Check whether --enable-textdlg was given.
12849 if test "${enable_textdlg+set}" = set; then
12850 enableval=$enable_textdlg;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12854 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12859 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12864 eval "$wx_cv_use_textdlg"
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_TEXTDLG = no; then
12873 result=$wxUSE_TEXTDLG
12876 { echo "$as_me:$LINENO: result
: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12890 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12891 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12892 # Check whether --enable-tipdlg was given.
12893 if test "${enable_tipdlg+set}" = set; then
12894 enableval=$enable_tipdlg;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12898 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12903 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12908 eval "$wx_cv_use_tipdlg"
12910 if test x
"$enablestring" = xdisable
; then
12911 if test $wxUSE_STARTUP_TIPS = no
; then
12917 result
=$wxUSE_STARTUP_TIPS
12920 { echo "$as_me:$LINENO: result: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12925 defaultval
=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x
"$enablestring" = xdisable
; then
12934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12935 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12936 # Check whether --enable-progressdlg was given.
12937 if test "${enable_progressdlg+set}" = set; then
12938 enableval
=$enable_progressdlg;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12942 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12947 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12952 eval "$wx_cv_use_progressdlg"
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_PROGRESSDLG = no; then
12961 result=$wxUSE_PROGRESSDLG
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12980 # Check whether --enable-wizarddlg was given.
12981 if test "${enable_wizarddlg+set}" = set; then
12982 enableval=$enable_wizarddlg;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12986 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12991 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12996 eval "$wx_cv_use_wizarddlg"
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_WIZARDDLG = no; then
13005 result=$wxUSE_WIZARDDLG
13008 { echo "$as_me:$LINENO: result
: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13015 defaultval=$wxUSE_ALL_FEATURES
13016 if test -z "$defaultval"; then
13017 if test x"$enablestring" = xdisable; then
13024 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13025 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13026 # Check whether --enable-menus was given.
13027 if test "${enable_menus+set}" = set; then
13028 enableval=$enable_menus;
13029 if test "$enableval" = yes; then
13030 wx_cv_use_menus='wxUSE_MENUS=yes'
13032 wx_cv_use_menus='wxUSE_MENUS=no'
13037 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13042 eval "$wx_cv_use_menus"
13044 if test x
"$enablestring" = xdisable
; then
13045 if test $wxUSE_MENUS = no
; then
13051 result
=$wxUSE_MENUS
13054 { echo "$as_me:$LINENO: result: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13059 defaultval
=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x
"$enablestring" = xdisable
; then
13068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13069 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13070 # Check whether --enable-miniframe was given.
13071 if test "${enable_miniframe+set}" = set; then
13072 enableval
=$enable_miniframe;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13076 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13081 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13086 eval "$wx_cv_use_miniframe"
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_MINIFRAME = no; then
13095 result=$wxUSE_MINIFRAME
13098 { echo "$as_me:$LINENO: result: $result" >&5
13099 echo "${ECHO_T}$result" >&6; }
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13113 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13114 # Check whether --enable-tooltips was given.
13115 if test "${enable_tooltips+set}" = set; then
13116 enableval=$enable_tooltips;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13120 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13125 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13130 eval "$wx_cv_use_tooltips"
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_TOOLTIPS = no; then
13139 result=$wxUSE_TOOLTIPS
13142 { echo "$as_me:$LINENO: result
: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13156 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13157 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13158 # Check whether --enable-splines was given.
13159 if test "${enable_splines+set}" = set; then
13160 enableval=$enable_splines;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_splines='wxUSE_SPLINES=yes'
13164 wx_cv_use_splines='wxUSE_SPLINES=no'
13169 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13174 eval "$wx_cv_use_splines"
13176 if test x
"$enablestring" = xdisable
; then
13177 if test $wxUSE_SPLINES = no
; then
13183 result
=$wxUSE_SPLINES
13186 { echo "$as_me:$LINENO: result: $result" >&5
13187 echo "${ECHO_T}$result" >&6; }
13191 defaultval
=$wxUSE_ALL_FEATURES
13192 if test -z "$defaultval"; then
13193 if test x
"$enablestring" = xdisable
; then
13200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13201 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13202 # Check whether --enable-mousewheel was given.
13203 if test "${enable_mousewheel+set}" = set; then
13204 enableval
=$enable_mousewheel;
13205 if test "$enableval" = yes; then
13206 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13208 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13213 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13218 eval "$wx_cv_use_mousewheel"
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_MOUSEWHEEL = no; then
13227 result=$wxUSE_MOUSEWHEEL
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13246 # Check whether --enable-validators was given.
13247 if test "${enable_validators+set}" = set; then
13248 enableval=$enable_validators;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13252 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13257 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13262 eval "$wx_cv_use_validators"
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_VALIDATORS = no; then
13271 result=$wxUSE_VALIDATORS
13274 { echo "$as_me:$LINENO: result
: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13289 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13290 # Check whether --enable-busyinfo was given.
13291 if test "${enable_busyinfo+set}" = set; then
13292 enableval=$enable_busyinfo;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13296 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13301 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13306 eval "$wx_cv_use_busyinfo"
13308 if test x
"$enablestring" = xdisable
; then
13309 if test $wxUSE_BUSYINFO = no
; then
13315 result
=$wxUSE_BUSYINFO
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13323 defaultval
=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x
"$enablestring" = xdisable
; then
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13334 # Check whether --enable-joystick was given.
13335 if test "${enable_joystick+set}" = set; then
13336 enableval
=$enable_joystick;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13340 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13345 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13350 eval "$wx_cv_use_joystick"
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_JOYSTICK = no; then
13359 result=$wxUSE_JOYSTICK
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13378 # Check whether --enable-metafile was given.
13379 if test "${enable_metafile+set}" = set; then
13380 enableval=$enable_metafile;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13384 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13389 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13394 eval "$wx_cv_use_metafile"
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_METAFILE = no; then
13403 result=$wxUSE_METAFILE
13406 { echo "$as_me:$LINENO: result
: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13421 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13422 # Check whether --enable-dragimage was given.
13423 if test "${enable_dragimage+set}" = set; then
13424 enableval=$enable_dragimage;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13428 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13433 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13438 eval "$wx_cv_use_dragimage"
13440 if test x
"$enablestring" = xdisable
; then
13441 if test $wxUSE_DRAGIMAGE = no
; then
13447 result
=$wxUSE_DRAGIMAGE
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13455 defaultval
=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x
"$enablestring" = xdisable
; then
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13466 # Check whether --enable-accessibility was given.
13467 if test "${enable_accessibility+set}" = set; then
13468 enableval
=$enable_accessibility;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13472 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13477 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13482 eval "$wx_cv_use_accessibility"
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_ACCESSIBILITY = no; then
13491 result=$wxUSE_ACCESSIBILITY
13494 { echo "$as_me:$LINENO: result: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13501 defaultval=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x"$enablestring" = xdisable; then
13510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13512 # Check whether --enable-palette was given.
13513 if test "${enable_palette+set}" = set; then
13514 enableval=$enable_palette;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13518 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13523 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13528 eval "$wx_cv_use_palette"
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_PALETTE = no; then
13537 result=$wxUSE_PALETTE
13540 { echo "$as_me:$LINENO: result
: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13555 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13556 # Check whether --enable-image was given.
13557 if test "${enable_image+set}" = set; then
13558 enableval=$enable_image;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_image='wxUSE_IMAGE=yes'
13562 wx_cv_use_image='wxUSE_IMAGE=no'
13567 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13572 eval "$wx_cv_use_image"
13574 if test x
"$enablestring" = xdisable
; then
13575 if test $wxUSE_IMAGE = no
; then
13581 result
=$wxUSE_IMAGE
13584 { echo "$as_me:$LINENO: result: $result" >&5
13585 echo "${ECHO_T}$result" >&6; }
13589 defaultval
=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x
"$enablestring" = xdisable
; then
13598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13599 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13600 # Check whether --enable-gif was given.
13601 if test "${enable_gif+set}" = set; then
13602 enableval
=$enable_gif;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_gif
='wxUSE_GIF=yes'
13606 wx_cv_use_gif
='wxUSE_GIF=no'
13611 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13616 eval "$wx_cv_use_gif"
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_GIF = no; then
13628 { echo "$as_me:$LINENO: result: $result" >&5
13629 echo "${ECHO_T}$result" >&6; }
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13643 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13644 # Check whether --enable-pcx was given.
13645 if test "${enable_pcx+set}" = set; then
13646 enableval=$enable_pcx;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_pcx='wxUSE_PCX
=yes'
13650 wx_cv_use_pcx='wxUSE_PCX
=no
'
13655 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13660 eval "$wx_cv_use_pcx"
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_PCX = no; then
13672 { echo "$as_me:$LINENO: result
: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13686 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13687 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13688 # Check whether --enable-tga was given.
13689 if test "${enable_tga+set}" = set; then
13690 enableval=$enable_tga;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_tga='wxUSE_TGA=yes'
13694 wx_cv_use_tga='wxUSE_TGA=no'
13699 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13704 eval "$wx_cv_use_tga"
13706 if test x
"$enablestring" = xdisable
; then
13707 if test $wxUSE_TGA = no
; then
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13721 defaultval
=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x
"$enablestring" = xdisable
; then
13730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13731 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13732 # Check whether --enable-iff was given.
13733 if test "${enable_iff+set}" = set; then
13734 enableval
=$enable_iff;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_iff
='wxUSE_IFF=yes'
13738 wx_cv_use_iff
='wxUSE_IFF=no'
13743 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13748 eval "$wx_cv_use_iff"
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_IFF = no; then
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13776 # Check whether --enable-pnm was given.
13777 if test "${enable_pnm+set}" = set; then
13778 enableval=$enable_pnm;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_pnm='wxUSE_PNM
=yes'
13782 wx_cv_use_pnm='wxUSE_PNM
=no
'
13787 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13792 eval "$wx_cv_use_pnm"
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_PNM = no; then
13804 { echo "$as_me:$LINENO: result
: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13819 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13820 # Check whether --enable-xpm was given.
13821 if test "${enable_xpm+set}" = set; then
13822 enableval=$enable_xpm;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_xpm='wxUSE_XPM=yes'
13826 wx_cv_use_xpm='wxUSE_XPM=no'
13831 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13836 eval "$wx_cv_use_xpm"
13838 if test x
"$enablestring" = xdisable
; then
13839 if test $wxUSE_XPM = no
; then
13848 { echo "$as_me:$LINENO: result: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13853 defaultval
=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x
"$enablestring" = xdisable
; then
13862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13863 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13864 # Check whether --enable-ico_cur was given.
13865 if test "${enable_ico_cur+set}" = set; then
13866 enableval
=$enable_ico_cur;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13870 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13875 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13880 eval "$wx_cv_use_ico_cur"
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_ICO_CUR = no; then
13889 result=$wxUSE_ICO_CUR
13892 { echo "$as_me:$LINENO: result: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13910 # Check whether --enable-dccache was given.
13911 if test "${enable_dccache+set}" = set; then
13912 enableval=$enable_dccache;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13916 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13921 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13926 eval "$wx_cv_use_dccache"
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_DC_CACHEING = no; then
13935 result=$wxUSE_DC_CACHEING
13938 { echo "$as_me:$LINENO: result
: $result" >&5
13939 echo "${ECHO_T}$result" >&6; }
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13952 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13953 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13954 # Check whether --enable-ps-in-msw was given.
13955 if test "${enable_ps_in_msw+set}" = set; then
13956 enableval=$enable_ps_in_msw;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13960 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13965 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13970 eval "$wx_cv_use_ps_in_msw"
13972 if test x
"$enablestring" = xdisable
; then
13973 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13979 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13987 defaultval
=$wxUSE_ALL_FEATURES
13988 if test -z "$defaultval"; then
13989 if test x
"$enablestring" = xdisable
; then
13996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13997 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13998 # Check whether --enable-ownerdrawn was given.
13999 if test "${enable_ownerdrawn+set}" = set; then
14000 enableval
=$enable_ownerdrawn;
14001 if test "$enableval" = yes; then
14002 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14004 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14009 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14014 eval "$wx_cv_use_ownerdrawn"
14016 if test x"$enablestring" = xdisable; then
14017 if test $wxUSE_OWNER_DRAWN = no; then
14023 result=$wxUSE_OWNER_DRAWN
14026 { echo "$as_me:$LINENO: result: $result" >&5
14027 echo "${ECHO_T}$result" >&6; }
14031 defaultval=$wxUSE_ALL_FEATURES
14032 if test -z "$defaultval"; then
14033 if test x"$enablestring" = xdisable; then
14040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14041 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14042 # Check whether --enable-uxtheme was given.
14043 if test "${enable_uxtheme+set}" = set; then
14044 enableval=$enable_uxtheme;
14045 if test "$enableval" = yes; then
14046 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14048 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14053 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14058 eval "$wx_cv_use_uxtheme"
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_UXTHEME = no; then
14067 result=$wxUSE_UXTHEME
14070 { echo "$as_me:$LINENO: result
: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14085 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14086 # Check whether --enable-wxdib was given.
14087 if test "${enable_wxdib+set}" = set; then
14088 enableval=$enable_wxdib;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_wxdib='wxUSE_DIB=yes'
14092 wx_cv_use_wxdib='wxUSE_DIB=no'
14097 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14102 eval "$wx_cv_use_wxdib"
14104 if test x
"$enablestring" = xdisable
; then
14105 if test $wxUSE_DIB = no
; then
14114 { echo "$as_me:$LINENO: result: $result" >&5
14115 echo "${ECHO_T}$result" >&6; }
14118 if test "$wxUSE_MSW" != 1; then
14119 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14124 defaultval
=$wxUSE_ALL_FEATURES
14125 if test -z "$defaultval"; then
14126 if test x
"$enablestring" = xdisable
; then
14133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14134 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14135 # Check whether --enable-autoidman was given.
14136 if test "${enable_autoidman+set}" = set; then
14137 enableval
=$enable_autoidman;
14138 if test "$enableval" = yes; then
14139 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14141 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14146 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14151 eval "$wx_cv_use_autoidman"
14153 if test x"$enablestring" = xdisable; then
14154 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14160 result=$wxUSE_AUTOID_MANAGEMENT
14163 { echo "$as_me:$LINENO: result: $result" >&5
14164 echo "${ECHO_T}$result" >&6; }
14170 cat >confcache <<\_ACEOF
14171 # This file is a shell script that caches the results of configure
14172 # tests run on this system so they can be shared between configure
14173 # scripts and configure runs, see configure's option
--config-cache.
14174 # It is not useful on other systems. If it contains results you don't
14175 # want to keep, you may remove or edit it.
14177 # config.status only pays attention to the cache file if you give it
14178 # the --recheck option to rerun configure.
14180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14182 # following values.
14186 # The following way of writing the cache mishandles newlines in values,
14187 # but we know of no workaround that is simple, portable, and efficient.
14188 # So, we kill variables containing newlines.
14189 # Ultrix sh set writes to stderr and can't be redirected directly,
14190 # and sets the high bit in the cache file unless we assign to the vars.
14192 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14193 eval ac_val
=\$
$ac_var
14197 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14198 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14201 _
| IFS
| as_nl
) ;; #(
14202 *) $as_unset $ac_var ;;
14208 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14209 *${as_nl}ac_space
=\
*)
14210 # `set' does not quote correctly, so add quotes (double-quote
14211 # substitution turns \\\\ into \\, and sed turns \\ into \).
14214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14217 # `set' quotes correctly as required by POSIX, so do not add quotes.
14218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14227 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14231 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14232 if test -w "$cache_file"; then
14233 test "x$cache_file" != "x/dev/null" &&
14234 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14235 echo "$as_me: updating cache $cache_file" >&6;}
14236 cat confcache
>$cache_file
14238 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14239 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14249 ac_cpp
='$CPP $CPPFLAGS'
14250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14253 if test -n "$ac_tool_prefix"; then
14254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14255 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14258 if test "${ac_cv_prog_CC+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test -n "$CC"; then
14262 ac_cv_prog_CC
="$CC" # Let the user override the test.
14264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14265 for as_dir
in $PATH
14268 test -z "$as_dir" && as_dir
=.
14269 for ac_exec_ext
in '' $ac_executable_extensions; do
14270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14271 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14282 if test -n "$CC"; then
14283 { echo "$as_me:$LINENO: result: $CC" >&5
14284 echo "${ECHO_T}$CC" >&6; }
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14292 if test -z "$ac_cv_prog_CC"; then
14294 # Extract the first word of "gcc", so it can be a program name with args.
14295 set dummy gcc
; ac_word
=$2
14296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 if test -n "$ac_ct_CC"; then
14302 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14305 for as_dir
in $PATH
14308 test -z "$as_dir" && as_dir
=.
14309 for ac_exec_ext
in '' $ac_executable_extensions; do
14310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14311 ac_cv_prog_ac_ct_CC
="gcc"
14312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14321 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14322 if test -n "$ac_ct_CC"; then
14323 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14324 echo "${ECHO_T}$ac_ct_CC" >&6; }
14326 { echo "$as_me:$LINENO: result: no" >&5
14327 echo "${ECHO_T}no" >&6; }
14330 if test "x$ac_ct_CC" = x
; then
14333 case $cross_compiling:$ac_tool_warned in
14335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14336 whose name does not start with the host triplet. If you think this
14337 configuration is useful to you, please write to autoconf@gnu.org." >&5
14338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14339 whose name does not start with the host triplet. If you think this
14340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14341 ac_tool_warned
=yes ;;
14346 CC
="$ac_cv_prog_CC"
14349 if test -z "$CC"; then
14350 if test -n "$ac_tool_prefix"; then
14351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14352 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14355 if test "${ac_cv_prog_CC+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 if test -n "$CC"; then
14359 ac_cv_prog_CC
="$CC" # Let the user override the test.
14361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14362 for as_dir
in $PATH
14365 test -z "$as_dir" && as_dir
=.
14366 for ac_exec_ext
in '' $ac_executable_extensions; do
14367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14368 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14379 if test -n "$CC"; then
14380 { echo "$as_me:$LINENO: result: $CC" >&5
14381 echo "${ECHO_T}$CC" >&6; }
14383 { echo "$as_me:$LINENO: result: no" >&5
14384 echo "${ECHO_T}no" >&6; }
14390 if test -z "$CC"; then
14391 # Extract the first word of "cc", so it can be a program name with args.
14392 set dummy cc
; ac_word
=$2
14393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14395 if test "${ac_cv_prog_CC+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 if test -n "$CC"; then
14399 ac_cv_prog_CC
="$CC" # Let the user override the test.
14401 ac_prog_rejected
=no
14402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14403 for as_dir
in $PATH
14406 test -z "$as_dir" && as_dir
=.
14407 for ac_exec_ext
in '' $ac_executable_extensions; do
14408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14410 ac_prog_rejected
=yes
14414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 if test $ac_prog_rejected = yes; then
14422 # We found a bogon in the path, so make sure we never use it.
14423 set dummy
$ac_cv_prog_CC
14425 if test $# != 0; then
14426 # We chose a different compiler from the bogus one.
14427 # However, it has the same basename, so the bogon will be chosen
14428 # first if we set CC to just the basename; use the full file name.
14430 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14436 if test -n "$CC"; then
14437 { echo "$as_me:$LINENO: result: $CC" >&5
14438 echo "${ECHO_T}$CC" >&6; }
14440 { echo "$as_me:$LINENO: result: no" >&5
14441 echo "${ECHO_T}no" >&6; }
14446 if test -z "$CC"; then
14447 if test -n "$ac_tool_prefix"; then
14448 for ac_prog
in cl.exe
14450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14451 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14454 if test "${ac_cv_prog_CC+set}" = set; then
14455 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 if test -n "$CC"; then
14458 ac_cv_prog_CC
="$CC" # Let the user override the test.
14460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14461 for as_dir
in $PATH
14464 test -z "$as_dir" && as_dir
=.
14465 for ac_exec_ext
in '' $ac_executable_extensions; do
14466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14467 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14478 if test -n "$CC"; then
14479 { echo "$as_me:$LINENO: result: $CC" >&5
14480 echo "${ECHO_T}$CC" >&6; }
14482 { echo "$as_me:$LINENO: result: no" >&5
14483 echo "${ECHO_T}no" >&6; }
14487 test -n "$CC" && break
14490 if test -z "$CC"; then
14492 for ac_prog
in cl.exe
14494 # Extract the first word of "$ac_prog", so it can be a program name with args.
14495 set dummy
$ac_prog; ac_word
=$2
14496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 if test -n "$ac_ct_CC"; then
14502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14505 for as_dir
in $PATH
14508 test -z "$as_dir" && as_dir
=.
14509 for ac_exec_ext
in '' $ac_executable_extensions; do
14510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14511 ac_cv_prog_ac_ct_CC
="$ac_prog"
14512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14521 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14522 if test -n "$ac_ct_CC"; then
14523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14524 echo "${ECHO_T}$ac_ct_CC" >&6; }
14526 { echo "$as_me:$LINENO: result: no" >&5
14527 echo "${ECHO_T}no" >&6; }
14531 test -n "$ac_ct_CC" && break
14534 if test "x$ac_ct_CC" = x
; then
14537 case $cross_compiling:$ac_tool_warned in
14539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14540 whose name does not start with the host triplet. If you think this
14541 configuration is useful to you, please write to autoconf@gnu.org." >&5
14542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14543 whose name does not start with the host triplet. If you think this
14544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14545 ac_tool_warned
=yes ;;
14554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14555 See \`config.log' for more details." >&5
14556 echo "$as_me: error: no acceptable C compiler found in \$PATH
14557 See \`config.log' for more details." >&2;}
14558 { (exit 1); exit 1; }; }
14560 # Provide some information about the compiler.
14561 echo "$as_me:$LINENO: checking for C compiler version" >&5
14562 ac_compiler
=`set X $ac_compile; echo $2`
14563 { (ac_try
="$ac_compiler --version >&5"
14564 case "(($ac_try" in
14565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_compiler --version >&5") 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }
14573 { (ac_try="$ac_compiler -v >&5"
14574 case "(($ac_try" in
14575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14576 *) ac_try_echo
=$ac_try;;
14578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14579 (eval "$ac_compiler -v >&5") 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }
14583 { (ac_try
="$ac_compiler -V >&5"
14584 case "(($ac_try" in
14585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14586 *) ac_try_echo=$ac_try;;
14588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14589 (eval "$ac_compiler -V >&5") 2>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }
14594 cat >conftest.$ac_ext <<_ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14609 ac_clean_files_save=$ac_clean_files
14610 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14611 # Try to create an executable without -o first, disregard a.out.
14612 # It will help us diagnose broken compilers, and finding out an intuition
14614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14618 # List of possible output files, starting from the most likely.
14619 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14620 # only as a last resort. b.out is created by i960 compilers.
14621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14623 # The IRIX 6 linker writes into existing files which may not be
14624 # executable, retaining their permissions. Remove them first so a
14625 # subsequent execution test works.
14627 for ac_file in $ac_files
14630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14636 if { (ac_try="$ac_link_default"
14637 case "(($ac_try" in
14638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639 *) ac_try_echo=$ac_try;;
14641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14642 (eval "$ac_link_default") 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; then
14646 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14648 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14649 # so that the user can short-circuit this test for compilers unknown to
14651 for ac_file
in $ac_files ''
14653 test -f "$ac_file" || continue
14655 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14658 # We found the default executable, but exeext='' is most
14662 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14664 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14666 # We set ac_cv_exeext here because the later test for it is not
14667 # safe: cross compilers may not add the suffix if given an `-o'
14668 # argument, so we may need to know it at that point already.
14669 # Even if this section looks crufty: it has the advantage of
14670 # actually working.
14676 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14682 { echo "$as_me:$LINENO: result: $ac_file" >&5
14683 echo "${ECHO_T}$ac_file" >&6; }
14684 if test -z "$ac_file"; then
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.
$ac_ext >&5
14688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14689 See \`config.log' for more details." >&5
14690 echo "$as_me: error: C compiler cannot create executables
14691 See \`config.log' for more details." >&2;}
14692 { (exit 77); exit 77; }; }
14695 ac_exeext
=$ac_cv_exeext
14697 # Check that the compiler produces executables we can run. If not, either
14698 # the compiler is broken, or we cross compile.
14699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14702 # If not cross compiling, check that we can run a simple program.
14703 if test "$cross_compiling" != yes; then
14704 if { ac_try
='./$ac_file'
14705 { (case "(($ac_try" in
14706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_try") 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14716 if test "$cross_compiling" = maybe; then
14717 cross_compiling=yes
14719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14720 If you meant to cross compile, use \`--host'.
14721 See \`config.log' for more details.
" >&5
14722 echo "$as_me: error
: cannot run C compiled programs.
14723 If you meant to cross compile
, use \
`--host'.
14724 See \`config.log
' for more details." >&2;}
14725 { (exit 1); exit 1; }; }
14729 { echo "$as_me:$LINENO: result: yes" >&5
14730 echo "${ECHO_T}yes" >&6; }
14732 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14733 ac_clean_files=$ac_clean_files_save
14734 # Check that the compiler produces executables we can run. If not, either
14735 # the compiler is broken, or we cross compile.
14736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14739 echo "${ECHO_T}$cross_compiling" >&6; }
14741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14743 if { (ac_try="$ac_link"
14744 case "(($ac_try" in
14745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14746 *) ac_try_echo=$ac_try;;
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_link") 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; then
14753 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14754 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14755 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14757 for ac_file
in conftest.exe conftest conftest.
*; do
14758 test -f "$ac_file" || continue
14760 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14761 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14768 See \`config.log' for more details." >&5
14769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14770 See \`config.log' for more details." >&2;}
14771 { (exit 1); exit 1; }; }
14774 rm -f conftest
$ac_cv_exeext
14775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14776 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14778 rm -f conftest.
$ac_ext
14779 EXEEXT
=$ac_cv_exeext
14781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14783 if test "${ac_cv_objext+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14801 rm -f conftest.o conftest.obj
14802 if { (ac_try
="$ac_compile"
14803 case "(($ac_try" in
14804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_compile") 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; then
14812 for ac_file in conftest.o conftest.obj conftest.*; do
14813 test -f "$ac_file" || continue;
14815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14816 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14825 See \`config.log
' for more details." >&5
14826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14827 See \`config.log' for more details.
" >&2;}
14828 { (exit 1); exit 1; }; }
14831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14833 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14834 echo "${ECHO_T}$ac_cv_objext" >&6; }
14835 OBJEXT=$ac_cv_objext
14837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14838 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14840 echo $ECHO_N "(cached
) $ECHO_C" >&6
14842 cat >conftest.$ac_ext <<_ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14860 rm -f conftest.$ac_objext
14861 if { (ac_try="$ac_compile"
14862 case "(($ac_try" in
14863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14864 *) ac_try_echo=$ac_try;;
14866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14867 (eval "$ac_compile") 2>conftest.er1
14869 grep -v '^ *+' conftest.er1 >conftest.err
14871 cat conftest.err >&5
14872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14873 (exit $ac_status); } && {
14874 test -z "$ac_c_werror_flag" ||
14875 test ! -s conftest.err
14876 } && test -s conftest.$ac_objext; then
14877 ac_compiler_gnu=yes
14879 echo "$as_me: failed program was
:" >&5
14880 sed 's/^/| /' conftest.$ac_ext >&5
14885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14889 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14891 GCC=`test $ac_compiler_gnu = yes && echo yes`
14892 ac_test_CFLAGS=${CFLAGS+set}
14893 ac_save_CFLAGS=$CFLAGS
14894 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14895 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14896 if test "${ac_cv_prog_cc_g+set}" = set; then
14897 echo $ECHO_N "(cached
) $ECHO_C" >&6
14899 ac_save_c_werror_flag=$ac_c_werror_flag
14900 ac_c_werror_flag=yes
14903 cat >conftest.$ac_ext <<_ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14918 rm -f conftest.$ac_objext
14919 if { (ac_try="$ac_compile"
14920 case "(($ac_try" in
14921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922 *) ac_try_echo=$ac_try;;
14924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_compile") 2>conftest.er1
14927 grep -v '^ *+' conftest.er1 >conftest.err
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14931 (exit $ac_status); } && {
14932 test -z "$ac_c_werror_flag" ||
14933 test ! -s conftest.err
14934 } && test -s conftest.$ac_objext; then
14935 ac_cv_prog_cc_g=yes
14937 echo "$as_me: failed program was
:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14941 cat >conftest.$ac_ext <<_ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14956 rm -f conftest.$ac_objext
14957 if { (ac_try="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>conftest.er1
14965 grep -v '^ *+' conftest.er1 >conftest.err
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest.$ac_objext; then
14975 echo "$as_me: failed program was
:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14978 ac_c_werror_flag=$ac_save_c_werror_flag
14980 cat >conftest.$ac_ext <<_ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14995 rm -f conftest.$ac_objext
14996 if { (ac_try="$ac_compile"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compile") 2>conftest.er1
15004 grep -v '^ *+' conftest.er1 >conftest.err
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15008 (exit $ac_status); } && {
15009 test -z "$ac_c_werror_flag" ||
15010 test ! -s conftest.err
15011 } && test -s conftest.$ac_objext; then
15012 ac_cv_prog_cc_g=yes
15014 echo "$as_me: failed program was
:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027 ac_c_werror_flag=$ac_save_c_werror_flag
15029 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15031 if test "$ac_test_CFLAGS" = set; then
15032 CFLAGS=$ac_save_CFLAGS
15033 elif test $ac_cv_prog_cc_g = yes; then
15034 if test "$GCC" = yes; then
15040 if test "$GCC" = yes; then
15046 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15047 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15048 if test "${ac_cv_prog_cc_c89+set}" = set; then
15049 echo $ECHO_N "(cached
) $ECHO_C" >&6
15051 ac_cv_prog_cc_c89=no
15053 cat >conftest.$ac_ext <<_ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 #include <stdarg.h>
15061 #include <sys/types.h>
15062 #include <sys/stat.h>
15063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15064 struct buf { int x; };
15065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15066 static char *e (p, i)
15072 static char *f (char * (*g) (char **, int), char **p, ...)
15077 s = g (p, va_arg (v,int));
15082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15083 function prototypes and stuff, but not '\xHH' hex character constants.
15084 These don't provoke an error unfortunately, instead are silently treated
15085 as 'x'. The following induces an error, until -std is added to get
15086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15087 array size at least. It's necessary to write '\x00'==0 to get something
15088 that's true only with -std. */
15089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15092 inside strings and character constants. */
15094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15096 int test (int i, double x);
15097 struct s1 {int (*f) (int a);};
15098 struct s2 {int (*f) (double a);};
15099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15113 CC="$ac_save_CC $ac_arg"
15114 rm -f conftest.$ac_objext
15115 if { (ac_try="$ac_compile"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118 *) ac_try_echo=$ac_try;;
15120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_compile") 2>conftest.er1
15123 grep -v '^ *+' conftest.er1 >conftest.err
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15127 (exit $ac_status); } && {
15128 test -z "$ac_c_werror_flag" ||
15129 test ! -s conftest.err
15130 } && test -s conftest.$ac_objext; then
15131 ac_cv_prog_cc_c89=$ac_arg
15133 echo "$as_me: failed program was
:" >&5
15134 sed 's/^/| /' conftest.$ac_ext >&5
15139 rm -f core conftest.err conftest.$ac_objext
15140 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15142 rm -f conftest.$ac_ext
15147 case "x
$ac_cv_prog_cc_c89" in
15149 { echo "$as_me:$LINENO: result
: none needed
" >&5
15150 echo "${ECHO_T}none needed
" >&6; } ;;
15152 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15153 echo "${ECHO_T}unsupported
" >&6; } ;;
15155 CC="$CC $ac_cv_prog_cc_c89"
15156 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15162 ac_cpp='$CPP $CPPFLAGS'
15163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15171 ac_cpp='$CPP $CPPFLAGS'
15172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15176 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15177 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15178 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15179 echo $ECHO_N "(cached
) $ECHO_C" >&6
15181 cat >conftest.$ac_ext <<_ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15192 #ifndef __INTEL_COMPILER
15200 rm -f conftest.$ac_objext
15201 if { (ac_try="$ac_compile"
15202 case "(($ac_try" in
15203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15204 *) ac_try_echo=$ac_try;;
15206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15207 (eval "$ac_compile") 2>conftest.er1
15209 grep -v '^ *+' conftest.er1 >conftest.err
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15213 (exit $ac_status); } && {
15214 test -z "$ac_c_werror_flag" ||
15215 test ! -s conftest.err
15216 } && test -s conftest.$ac_objext; then
15217 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15219 echo "$as_me: failed program was
:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15222 bakefile_cv_c_compiler___INTEL_COMPILER=no
15226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15230 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15231 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15232 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15238 ac_cpp='$CPP $CPPFLAGS'
15239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15246 if test "$INTELCC" = "yes"; then
15250 ac_cpp='$CPP $CPPFLAGS'
15251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15255 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15256 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15257 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15258 echo $ECHO_N "(cached
) $ECHO_C" >&6
15260 cat >conftest.$ac_ext <<_ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15271 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15279 rm -f conftest.$ac_objext
15280 if { (ac_try="$ac_compile"
15281 case "(($ac_try" in
15282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15283 *) ac_try_echo=$ac_try;;
15285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15286 (eval "$ac_compile") 2>conftest.er1
15288 grep -v '^ *+' conftest.er1 >conftest.err
15290 cat conftest.err >&5
15291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15292 (exit $ac_status); } && {
15293 test -z "$ac_c_werror_flag" ||
15294 test ! -s conftest.err
15295 } && test -s conftest.$ac_objext; then
15296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15298 echo "$as_me: failed program was
:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15301 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15309 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15310 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15311 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15317 ac_cpp='$CPP $CPPFLAGS'
15318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15327 ac_cpp='$CPP $CPPFLAGS'
15328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15332 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15333 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15334 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15335 echo $ECHO_N "(cached
) $ECHO_C" >&6
15337 cat >conftest.$ac_ext <<_ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15348 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15356 rm -f conftest.$ac_objext
15357 if { (ac_try="$ac_compile"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_compile") 2>conftest.er1
15365 grep -v '^ *+' conftest.er1 >conftest.err
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest.$ac_objext; then
15373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15375 echo "$as_me: failed program was
:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15386 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15387 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15388 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15403 if test "x
$GCC" != "xyes
"; then
15404 if test "xCC
" = "xC
"; then
15405 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15406 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15407 if test "${bakefile_cv_c_exto+set}" = set; then
15408 echo $ECHO_N "(cached
) $ECHO_C" >&6
15410 cat >conftest.$ac_ext <<_ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15425 rm -f conftest.$ac_objext conftest.$ac_ext.o
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>&5
15429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15430 (exit $ac_status); }; then
15431 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15433 conftest.$ac_ext.o)
15434 bakefile_cv_c_exto="-ext o
"
15441 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15442 See \
`config.log' for more details." >&5
15443 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15444 See \`config.log
' for more details." >&2;}
15445 { (exit 1); exit 1; }; }
15449 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15452 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15453 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15455 if test "c" = "c"; then
15456 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15458 if test "c" = "cxx"; then
15459 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15463 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15464 unset ac_cv_prog_cc_g
15465 ac_test_CFLAGS=${CFLAGS+set}
15466 ac_save_CFLAGS=$CFLAGS
15467 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15468 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15469 if test "${ac_cv_prog_cc_g+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15472 ac_save_c_werror_flag=$ac_c_werror_flag
15473 ac_c_werror_flag=yes
15476 cat >conftest.$ac_ext <<_ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15491 rm -f conftest.$ac_objext
15492 if { (ac_try="$ac_compile"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_compile") 2>conftest.er1
15500 grep -v '^
*+' conftest.er1 >conftest.err
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } && {
15505 test -z "$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15507 } && test -s conftest.$ac_objext; then
15508 ac_cv_prog_cc_g=yes
15510 echo "$as_me: failed program was:" >&5
15511 sed 's
/^
/| /' conftest.$ac_ext >&5
15514 cat >conftest.$ac_ext <<_ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15529 rm -f conftest.$ac_objext
15530 if { (ac_try="$ac_compile"
15531 case "(($ac_try" in
15532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15533 *) ac_try_echo=$ac_try;;
15535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15536 (eval "$ac_compile") 2>conftest.er1
15538 grep -v '^
*+' conftest.er1 >conftest.err
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } && {
15543 test -z "$ac_c_werror_flag" ||
15544 test ! -s conftest.err
15545 } && test -s conftest.$ac_objext; then
15548 echo "$as_me: failed program was:" >&5
15549 sed 's
/^
/| /' conftest.$ac_ext >&5
15551 ac_c_werror_flag=$ac_save_c_werror_flag
15553 cat >conftest.$ac_ext <<_ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15577 grep -v '^
*+' conftest.er1 >conftest.err
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest.$ac_objext; then
15585 ac_cv_prog_cc_g=yes
15587 echo "$as_me: failed program was:" >&5
15588 sed 's
/^
/| /' conftest.$ac_ext >&5
15593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15600 ac_c_werror_flag=$ac_save_c_werror_flag
15602 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15603 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15604 if test "$ac_test_CFLAGS" = set; then
15605 CFLAGS=$ac_save_CFLAGS
15606 elif test $ac_cv_prog_cc_g = yes; then
15607 if test "$GCC" = yes; then
15613 if test "$GCC" = yes; then
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15629 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15633 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15634 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 cat >conftest.$ac_ext <<_ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15656 rm -f conftest.$ac_objext
15657 if { (ac_try="$ac_compile"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_compile") 2>conftest.er1
15665 grep -v '^
*+' conftest.er1 >conftest.err
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } && {
15670 test -z "$ac_c_werror_flag" ||
15671 test ! -s conftest.err
15672 } && test -s conftest.$ac_objext; then
15673 bakefile_cv_c_compiler___xlC__=yes
15675 echo "$as_me: failed program was:" >&5
15676 sed 's
/^
/| /' conftest.$ac_ext >&5
15678 bakefile_cv_c_compiler___xlC__=no
15682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15686 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15687 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15688 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15696 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15709 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15713 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15714 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 cat >conftest.$ac_ext <<_ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15736 rm -f conftest.$ac_objext
15737 if { (ac_try="$ac_compile"
15738 case "(($ac_try" in
15739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15740 *) ac_try_echo=$ac_try;;
15742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15743 (eval "$ac_compile") 2>conftest.er1
15745 grep -v '^
*+' conftest.er1 >conftest.err
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } && {
15750 test -z "$ac_c_werror_flag" ||
15751 test ! -s conftest.err
15752 } && test -s conftest.$ac_objext; then
15753 bakefile_cv_c_compiler___MWERKS__=yes
15755 echo "$as_me: failed program was:" >&5
15756 sed 's
/^
/| /' conftest.$ac_ext >&5
15758 bakefile_cv_c_compiler___MWERKS__=no
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15767 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15768 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15774 ac_cpp='$CPP $CPPFLAGS'
15775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15776 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15781 if test "$MWCC" != "yes"; then
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15787 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15791 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15792 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 cat >conftest.$ac_ext <<_ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15814 rm -f conftest.$ac_objext
15815 if { (ac_try="$ac_compile"
15816 case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_compile") 2>conftest.er1
15823 grep -v '^
*+' conftest.er1 >conftest.err
15825 cat conftest.err >&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && {
15828 test -z "$ac_c_werror_flag" ||
15829 test ! -s conftest.err
15830 } && test -s conftest.$ac_objext; then
15831 bakefile_cv_c_compiler___xlC__=yes
15833 echo "$as_me: failed program was:" >&5
15834 sed 's
/^
/| /' conftest.$ac_ext >&5
15836 bakefile_cv_c_compiler___xlC__=no
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15844 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15845 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15846 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15854 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15868 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15872 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15873 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.$ac_ext <<_ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15887 #ifndef _SGI_COMPILER_VERSION
15895 rm -f conftest.$ac_objext
15896 if { (ac_try="$ac_compile"
15897 case "(($ac_try" in
15898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15899 *) ac_try_echo=$ac_try;;
15901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15902 (eval "$ac_compile") 2>conftest.er1
15904 grep -v '^
*+' conftest.er1 >conftest.err
15906 cat conftest.err >&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } && {
15909 test -z "$ac_c_werror_flag" ||
15910 test ! -s conftest.err
15911 } && test -s conftest.$ac_objext; then
15912 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15914 echo "$as_me: failed program was:" >&5
15915 sed 's
/^
/| /' conftest.$ac_ext >&5
15917 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15926 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15927 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15935 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15943 if test "$INTELCC" != "yes"; then
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15949 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15953 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15954 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 cat >conftest.$ac_ext <<_ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15976 rm -f conftest.$ac_objext
15977 if { (ac_try="$ac_compile"
15978 case "(($ac_try" in
15979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15980 *) ac_try_echo=$ac_try;;
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983 (eval "$ac_compile") 2>conftest.er1
15985 grep -v '^
*+' conftest.er1 >conftest.err
15987 cat conftest.err >&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && {
15990 test -z "$ac_c_werror_flag" ||
15991 test ! -s conftest.err
15992 } && test -s conftest.$ac_objext; then
15993 bakefile_cv_c_compiler___SUNPRO_C=yes
15995 echo "$as_me: failed program was:" >&5
15996 sed 's
/^
/| /' conftest.$ac_ext >&5
15998 bakefile_cv_c_compiler___SUNPRO_C=no
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16006 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16007 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16008 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16016 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16030 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16033 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16034 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16035 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 cat >conftest.$ac_ext <<_ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16057 rm -f conftest.$ac_objext
16058 if { (ac_try="$ac_compile"
16059 case "(($ac_try" in
16060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16061 *) ac_try_echo=$ac_try;;
16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16064 (eval "$ac_compile") 2>conftest.er1
16066 grep -v '^
*+' conftest.er1 >conftest.err
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && {
16071 test -z "$ac_c_werror_flag" ||
16072 test ! -s conftest.err
16073 } && test -s conftest.$ac_objext; then
16074 bakefile_cv_c_compiler___HP_cc=yes
16076 echo "$as_me: failed program was:" >&5
16077 sed 's
/^
/| /' conftest.$ac_ext >&5
16079 bakefile_cv_c_compiler___HP_cc=no
16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16087 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16088 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16089 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16095 ac_cpp='$CPP $CPPFLAGS'
16096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16097 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16108 ac_cpp='$CPP $CPPFLAGS'
16109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16110 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16113 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16114 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16115 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 cat >conftest.$ac_ext <<_ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16137 rm -f conftest.$ac_objext
16138 if { (ac_try="$ac_compile"
16139 case "(($ac_try" in
16140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16141 *) ac_try_echo=$ac_try;;
16143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16144 (eval "$ac_compile") 2>conftest.er1
16146 grep -v '^
*+' conftest.er1 >conftest.err
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && {
16151 test -z "$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16153 } && test -s conftest.$ac_objext; then
16154 bakefile_cv_c_compiler___DECC=yes
16156 echo "$as_me: failed program was:" >&5
16157 sed 's
/^
/| /' conftest.$ac_ext >&5
16159 bakefile_cv_c_compiler___DECC=no
16163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16167 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16168 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16169 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16175 ac_cpp='$CPP $CPPFLAGS'
16176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16177 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188 ac_cpp='$CPP $CPPFLAGS'
16189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16193 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16194 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16195 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 cat >conftest.$ac_ext <<_ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16226 grep -v '^
*+' conftest.er1 >conftest.err
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 bakefile_cv_c_compiler___SUNPRO_C=yes
16236 echo "$as_me: failed program was:" >&5
16237 sed 's
/^
/| /' conftest.$ac_ext >&5
16239 bakefile_cv_c_compiler___SUNPRO_C=no
16243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16248 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16249 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16255 ac_cpp='$CPP $CPPFLAGS'
16256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16257 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16274 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16275 # On Suns, sometimes $CPP names a directory.
16276 if test -n "$CPP" && test -d "$CPP"; then
16279 if test -z "$CPP"; then
16280 if test "${ac_cv_prog_CPP+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 # Double quotes because CPP needs to be expanded
16284 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16286 ac_preproc_ok=false
16287 for ac_c_preproc_warn_flag in '' yes
16289 # Use a header file that comes with gcc, so configuring glibc
16290 # with a fresh cross-compiler works.
16291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 # <limits.h> exists even on freestanding compilers.
16293 # On the NeXT, cc -E runs the code through the compiler's parser
,
16294 # not just through cpp. "Syntax error" is here to catch this case.
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 # include <limits.h>
16304 # include <assert.h>
16308 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16309 case "(($ac_try" in
16310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16316 grep -v '^ *+' conftest.er1 >conftest.err
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } >/dev/null && {
16321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 # Broken: fails on valid input.
16333 rm -f conftest.err conftest.$ac_ext
16335 # OK, works on sane cases. Now check whether nonexistent headers
16336 # can be detected and how.
16337 cat >conftest.$ac_ext <<_ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343 #include <ac_nonexistent.h>
16345 if { (ac_try="$ac_cpp conftest.$ac_ext"
16346 case "(($ac_try" in
16347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16348 *) ac_try_echo
=$ac_try;;
16350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16353 grep -v '^ *+' conftest.er1
>conftest.err
16355 cat conftest.err
>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } >/dev
/null
&& {
16358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16359 test ! -s conftest.err
16361 # Broken: success on invalid input.
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.
$ac_ext >&5
16367 # Passes both tests.
16372 rm -f conftest.err conftest.
$ac_ext
16375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16376 rm -f conftest.err conftest.
$ac_ext
16377 if $ac_preproc_ok; then
16382 ac_cv_prog_CPP
=$CPP
16385 CPP
=$ac_cv_prog_CPP
16387 ac_cv_prog_CPP
=$CPP
16389 { echo "$as_me:$LINENO: result: $CPP" >&5
16390 echo "${ECHO_T}$CPP" >&6; }
16391 ac_preproc_ok
=false
16392 for ac_c_preproc_warn_flag
in '' yes
16394 # Use a header file that comes with gcc, so configuring glibc
16395 # with a fresh cross-compiler works.
16396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16397 # <limits.h> exists even on freestanding compilers.
16398 # On the NeXT, cc -E runs the code through the compiler's parser,
16399 # not just through cpp. "Syntax error" is here to catch this case.
16400 cat >conftest.
$ac_ext <<_ACEOF
16403 cat confdefs.h
>>conftest.
$ac_ext
16404 cat >>conftest.
$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16407 # include <limits.h>
16409 # include <assert.h>
16413 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16414 case "(($ac_try" in
16415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16421 grep -v '^ *+' conftest.er1 >conftest.err
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } >/dev/null && {
16426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16427 test ! -s conftest.err
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.$ac_ext >&5
16434 # Broken: fails on valid input.
16438 rm -f conftest.err conftest.$ac_ext
16440 # OK, works on sane cases. Now check whether nonexistent headers
16441 # can be detected and how.
16442 cat >conftest.$ac_ext <<_ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <ac_nonexistent.h>
16450 if { (ac_try="$ac_cpp conftest.$ac_ext"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16453 *) ac_try_echo
=$ac_try;;
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } >/dev
/null
&& {
16463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16466 # Broken: success on invalid input.
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.
$ac_ext >&5
16472 # Passes both tests.
16477 rm -f conftest.err conftest.
$ac_ext
16480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16481 rm -f conftest.err conftest.
$ac_ext
16482 if $ac_preproc_ok; then
16485 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16486 See \`config.log' for more details." >&5
16487 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16488 See \`config.log' for more details." >&2;}
16489 { (exit 1); exit 1; }; }
16493 ac_cpp
='$CPP $CPPFLAGS'
16494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16499 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16500 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16501 if test "${ac_cv_path_GREP+set}" = set; then
16502 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 # Extract the first word of "grep ggrep" to use in msg output
16505 if test -z "$GREP"; then
16506 set dummy
grep ggrep
; ac_prog_name
=$2
16507 if test "${ac_cv_path_GREP+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 ac_path_GREP_found
=false
16511 # Loop through the user's path and test for each of PROGNAME-LIST
16512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16513 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16516 test -z "$as_dir" && as_dir
=.
16517 for ac_prog
in grep ggrep
; do
16518 for ac_exec_ext
in '' $ac_executable_extensions; do
16519 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16520 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16521 # Check for GNU ac_path_GREP and select it if it is found.
16522 # Check for GNU $ac_path_GREP
16523 case `"$ac_path_GREP" --version 2>&1` in
16525 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16528 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16531 cat "conftest.in" "conftest.in" >"conftest.tmp"
16532 mv "conftest.tmp" "conftest.in"
16533 cp "conftest.in" "conftest.nl"
16534 echo 'GREP' >> "conftest.nl"
16535 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16536 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16537 ac_count
=`expr $ac_count + 1`
16538 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16539 # Best one so far, save it but keep looking for a better one
16540 ac_cv_path_GREP
="$ac_path_GREP"
16541 ac_path_GREP_max
=$ac_count
16543 # 10*(2^10) chars as input seems more than enough
16544 test $ac_count -gt 10 && break
16546 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16550 $ac_path_GREP_found && break 3
16560 GREP
="$ac_cv_path_GREP"
16561 if test -z "$GREP"; then
16562 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16563 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16564 { (exit 1); exit 1; }; }
16568 ac_cv_path_GREP
=$GREP
16573 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16574 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16575 GREP
="$ac_cv_path_GREP"
16578 { echo "$as_me:$LINENO: checking for egrep" >&5
16579 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16580 if test "${ac_cv_path_EGREP+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16584 then ac_cv_path_EGREP
="$GREP -E"
16586 # Extract the first word of "egrep" to use in msg output
16587 if test -z "$EGREP"; then
16588 set dummy
egrep; ac_prog_name
=$2
16589 if test "${ac_cv_path_EGREP+set}" = set; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 ac_path_EGREP_found
=false
16593 # Loop through the user's path and test for each of PROGNAME-LIST
16594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16595 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16598 test -z "$as_dir" && as_dir
=.
16599 for ac_prog
in egrep; do
16600 for ac_exec_ext
in '' $ac_executable_extensions; do
16601 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16602 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16603 # Check for GNU ac_path_EGREP and select it if it is found.
16604 # Check for GNU $ac_path_EGREP
16605 case `"$ac_path_EGREP" --version 2>&1` in
16607 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16610 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16613 cat "conftest.in" "conftest.in" >"conftest.tmp"
16614 mv "conftest.tmp" "conftest.in"
16615 cp "conftest.in" "conftest.nl"
16616 echo 'EGREP' >> "conftest.nl"
16617 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16618 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16619 ac_count
=`expr $ac_count + 1`
16620 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16621 # Best one so far, save it but keep looking for a better one
16622 ac_cv_path_EGREP
="$ac_path_EGREP"
16623 ac_path_EGREP_max
=$ac_count
16625 # 10*(2^10) chars as input seems more than enough
16626 test $ac_count -gt 10 && break
16628 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16632 $ac_path_EGREP_found && break 3
16642 EGREP
="$ac_cv_path_EGREP"
16643 if test -z "$EGREP"; then
16644 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16645 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16646 { (exit 1); exit 1; }; }
16650 ac_cv_path_EGREP
=$EGREP
16656 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16657 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16658 EGREP
="$ac_cv_path_EGREP"
16661 if test $ac_cv_c_compiler_gnu = yes; then
16662 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16663 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16664 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 ac_pattern
="Autoconf.*'x'"
16668 cat >conftest.
$ac_ext <<_ACEOF
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16678 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16679 ac_cv_prog_gcc_traditional
=yes
16681 ac_cv_prog_gcc_traditional
=no
16686 if test $ac_cv_prog_gcc_traditional = no
; then
16687 cat >conftest.
$ac_ext <<_ACEOF
16690 cat confdefs.h
>>conftest.
$ac_ext
16691 cat >>conftest.
$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693 #include <termio.h>
16696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16697 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16698 ac_cv_prog_gcc_traditional
=yes
16704 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16705 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16706 if test $ac_cv_prog_gcc_traditional = yes; then
16707 CC
="$CC -traditional"
16712 CXXFLAGS
=${CXXFLAGS:=}
16717 ac_cpp
='$CXXCPP $CPPFLAGS'
16718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16721 if test -z "$CXX"; then
16722 if test -n "$CCC"; then
16725 if test -n "$ac_tool_prefix"; then
16726 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16729 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16732 if test "${ac_cv_prog_CXX+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 if test -n "$CXX"; then
16736 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16739 for as_dir
in $PATH
16742 test -z "$as_dir" && as_dir
=.
16743 for ac_exec_ext
in '' $ac_executable_extensions; do
16744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16745 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16755 CXX
=$ac_cv_prog_CXX
16756 if test -n "$CXX"; then
16757 { echo "$as_me:$LINENO: result: $CXX" >&5
16758 echo "${ECHO_T}$CXX" >&6; }
16760 { echo "$as_me:$LINENO: result: no" >&5
16761 echo "${ECHO_T}no" >&6; }
16765 test -n "$CXX" && break
16768 if test -z "$CXX"; then
16770 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16772 # Extract the first word of "$ac_prog", so it can be a program name with args.
16773 set dummy
$ac_prog; ac_word
=$2
16774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16776 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 if test -n "$ac_ct_CXX"; then
16780 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16783 for as_dir
in $PATH
16786 test -z "$as_dir" && as_dir
=.
16787 for ac_exec_ext
in '' $ac_executable_extensions; do
16788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16789 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16800 if test -n "$ac_ct_CXX"; then
16801 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16802 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16804 { echo "$as_me:$LINENO: result: no" >&5
16805 echo "${ECHO_T}no" >&6; }
16809 test -n "$ac_ct_CXX" && break
16812 if test "x$ac_ct_CXX" = x
; then
16815 case $cross_compiling:$ac_tool_warned in
16817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16818 whose name does not start with the host triplet. If you think this
16819 configuration is useful to you, please write to autoconf@gnu.org." >&5
16820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16821 whose name does not start with the host triplet. If you think this
16822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16823 ac_tool_warned
=yes ;;
16831 # Provide some information about the compiler.
16832 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16833 ac_compiler
=`set X $ac_compile; echo $2`
16834 { (ac_try
="$ac_compiler --version >&5"
16835 case "(($ac_try" in
16836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compiler --version >&5") 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }
16844 { (ac_try="$ac_compiler -v >&5"
16845 case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16847 *) ac_try_echo
=$ac_try;;
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compiler -v >&5") 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }
16854 { (ac_try
="$ac_compiler -V >&5"
16855 case "(($ac_try" in
16856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_compiler -V >&5") 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }
16865 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16867 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 cat >conftest.$ac_ext <<_ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16888 rm -f conftest.$ac_objext
16889 if { (ac_try="$ac_compile"
16890 case "(($ac_try" in
16891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16892 *) ac_try_echo
=$ac_try;;
16894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16895 (eval "$ac_compile") 2>conftest.er1
16897 grep -v '^ *+' conftest.er1
>conftest.err
16899 cat conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } && {
16902 test -z "$ac_cxx_werror_flag" ||
16903 test ! -s conftest.err
16904 } && test -s conftest.
$ac_objext; then
16905 ac_compiler_gnu
=yes
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16914 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16918 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16919 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16920 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16921 ac_save_CXXFLAGS
=$CXXFLAGS
16922 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16923 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16924 if test "${ac_cv_prog_cxx_g+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16928 ac_cxx_werror_flag
=yes
16929 ac_cv_prog_cxx_g
=no
16931 cat >conftest.
$ac_ext <<_ACEOF
16934 cat confdefs.h
>>conftest.
$ac_ext
16935 cat >>conftest.
$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16946 rm -f conftest.
$ac_objext
16947 if { (ac_try
="$ac_compile"
16948 case "(($ac_try" in
16949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16950 *) ac_try_echo=$ac_try;;
16952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953 (eval "$ac_compile") 2>conftest.er1
16955 grep -v '^ *+' conftest.er1 >conftest.err
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } && {
16960 test -z "$ac_cxx_werror_flag" ||
16961 test ! -s conftest.err
16962 } && test -s conftest.$ac_objext; then
16963 ac_cv_prog_cxx_g=yes
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16969 cat >conftest.$ac_ext <<_ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16984 rm -f conftest.$ac_objext
16985 if { (ac_try="$ac_compile"
16986 case "(($ac_try" in
16987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16988 *) ac_try_echo
=$ac_try;;
16990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16991 (eval "$ac_compile") 2>conftest.er1
16993 grep -v '^ *+' conftest.er1
>conftest.err
16995 cat conftest.err
>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } && {
16998 test -z "$ac_cxx_werror_flag" ||
16999 test ! -s conftest.err
17000 } && test -s conftest.
$ac_objext; then
17003 echo "$as_me: failed program was:" >&5
17004 sed 's/^/| /' conftest.
$ac_ext >&5
17006 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17008 cat >conftest.
$ac_ext <<_ACEOF
17011 cat confdefs.h
>>conftest.
$ac_ext
17012 cat >>conftest.
$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17023 rm -f conftest.
$ac_objext
17024 if { (ac_try
="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17032 grep -v '^ *+' conftest.er1 >conftest.err
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_cxx_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17040 ac_cv_prog_cxx_g=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17057 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17058 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17059 if test "$ac_test_CXXFLAGS" = set; then
17060 CXXFLAGS=$ac_save_CXXFLAGS
17061 elif test $ac_cv_prog_cxx_g = yes; then
17062 if test "$GXX" = yes; then
17068 if test "$GXX" = yes; then
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17084 ac_cpp='$CXXCPP $CPPFLAGS'
17085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17089 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17090 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17091 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17105 #ifndef __INTEL_COMPILER
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17117 *) ac_try_echo
=$ac_try;;
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_cxx_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.
$ac_objext; then
17130 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.
$ac_ext >&5
17135 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17143 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17144 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17145 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17151 ac_cpp
='$CPP $CPPFLAGS'
17152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17159 if test "$INTELCXX" = "yes"; then
17163 ac_cpp
='$CXXCPP $CPPFLAGS'
17164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17168 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17169 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17170 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17171 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 cat >conftest.
$ac_ext <<_ACEOF
17176 cat confdefs.h
>>conftest.
$ac_ext
17177 cat >>conftest.
$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17184 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17192 rm -f conftest.
$ac_objext
17193 if { (ac_try
="$ac_compile"
17194 case "(($ac_try" in
17195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17196 *) ac_try_echo=$ac_try;;
17198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17199 (eval "$ac_compile") 2>conftest.er1
17201 grep -v '^ *+' conftest.er1 >conftest.err
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } && {
17206 test -z "$ac_cxx_werror_flag" ||
17207 test ! -s conftest.err
17208 } && test -s conftest.$ac_objext; then
17209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17223 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17224 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17240 ac_cpp='$CXXCPP $CPPFLAGS'
17241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17245 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17246 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17247 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 cat >conftest.$ac_ext <<_ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17261 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17269 rm -f conftest.$ac_objext
17270 if { (ac_try="$ac_compile"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17273 *) ac_try_echo
=$ac_try;;
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_compile") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1
>conftest.err
17280 cat conftest.err
>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_cxx_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest.
$ac_objext; then
17286 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17291 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17299 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17300 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17301 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17307 ac_cpp
='$CPP $CPPFLAGS'
17308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17316 if test "x$GCXX" != "xyes"; then
17317 if test "xCXX" = "xC"; then
17318 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17319 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17320 if test "${bakefile_cv_c_exto+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17338 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; then
17344 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17346 conftest.
$ac_ext.o
)
17347 bakefile_cv_c_exto
="-ext o"
17354 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17355 See \`config.log' for more details." >&5
17356 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17357 See \`config.log' for more details." >&2;}
17358 { (exit 1); exit 1; }; }
17362 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17365 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17366 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17367 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17368 if test "c" = "c"; then
17369 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17371 if test "c" = "cxx"; then
17372 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17376 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17377 unset ac_cv_prog_cc_g
17378 ac_test_CFLAGS
=${CFLAGS+set}
17379 ac_save_CFLAGS
=$CFLAGS
17380 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17381 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17382 if test "${ac_cv_prog_cc_g+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 ac_save_c_werror_flag
=$ac_c_werror_flag
17386 ac_c_werror_flag
=yes
17389 cat >conftest.
$ac_ext <<_ACEOF
17392 cat confdefs.h
>>conftest.
$ac_ext
17393 cat >>conftest.
$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17404 rm -f conftest.
$ac_objext
17405 if { (ac_try
="$ac_compile"
17406 case "(($ac_try" in
17407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_compile") 2>conftest.er1
17413 grep -v '^ *+' conftest.er1 >conftest.err
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest.$ac_objext; then
17421 ac_cv_prog_cc_g=yes
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17427 cat >conftest.$ac_ext <<_ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
17444 case "(($ac_try" in
17445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17446 *) ac_try_echo
=$ac_try;;
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_compile") 2>conftest.er1
17451 grep -v '^ *+' conftest.er1
>conftest.err
17453 cat conftest.err
>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest.
$ac_objext; then
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.
$ac_ext >&5
17464 ac_c_werror_flag
=$ac_save_c_werror_flag
17466 cat >conftest.
$ac_ext <<_ACEOF
17469 cat confdefs.h
>>conftest.
$ac_ext
17470 cat >>conftest.
$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17481 rm -f conftest.
$ac_objext
17482 if { (ac_try
="$ac_compile"
17483 case "(($ac_try" in
17484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17485 *) ac_try_echo=$ac_try;;
17487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17488 (eval "$ac_compile") 2>conftest.er1
17490 grep -v '^ *+' conftest.er1 >conftest.err
17492 cat conftest.err >&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } && {
17495 test -z "$ac_c_werror_flag" ||
17496 test ! -s conftest.err
17497 } && test -s conftest.$ac_objext; then
17498 ac_cv_prog_cc_g=yes
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513 ac_c_werror_flag=$ac_save_c_werror_flag
17515 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17516 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17517 if test "$ac_test_CFLAGS" = set; then
17518 CFLAGS=$ac_save_CFLAGS
17519 elif test $ac_cv_prog_cc_g = yes; then
17520 if test "$GCC" = yes; then
17526 if test "$GCC" = yes; then
17540 ac_cpp='$CXXCPP $CPPFLAGS'
17541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17545 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17546 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17547 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17550 cat >conftest.$ac_ext <<_ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17569 rm -f conftest.$ac_objext
17570 if { (ac_try="$ac_compile"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17573 *) ac_try_echo
=$ac_try;;
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_compile") 2>conftest.er1
17578 grep -v '^ *+' conftest.er1
>conftest.err
17580 cat conftest.err
>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_cxx_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest.
$ac_objext; then
17586 bakefile_cv_cxx_compiler___xlC__
=yes
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.
$ac_ext >&5
17591 bakefile_cv_cxx_compiler___xlC__
=no
17595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17599 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17600 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17601 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17607 ac_cpp
='$CPP $CPPFLAGS'
17608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17620 ac_cpp
='$CXXCPP $CPPFLAGS'
17621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17625 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17626 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17627 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 cat >conftest.
$ac_ext <<_ACEOF
17633 cat confdefs.h
>>conftest.
$ac_ext
17634 cat >>conftest.
$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17649 rm -f conftest.
$ac_objext
17650 if { (ac_try
="$ac_compile"
17651 case "(($ac_try" in
17652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17653 *) ac_try_echo=$ac_try;;
17655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17656 (eval "$ac_compile") 2>conftest.er1
17658 grep -v '^ *+' conftest.er1 >conftest.err
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } && {
17663 test -z "$ac_cxx_werror_flag" ||
17664 test ! -s conftest.err
17665 } && test -s conftest.$ac_objext; then
17666 bakefile_cv_cxx_compiler___MWERKS__=yes
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 bakefile_cv_cxx_compiler___MWERKS__=no
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17680 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17681 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17687 ac_cpp='$CPP $CPPFLAGS'
17688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17694 if test "$MWCXX" != "yes"; then
17698 ac_cpp='$CXXCPP $CPPFLAGS'
17699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17703 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17704 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17705 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 cat >conftest.$ac_ext <<_ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17727 rm -f conftest.$ac_objext
17728 if { (ac_try="$ac_compile"
17729 case "(($ac_try" in
17730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17731 *) ac_try_echo
=$ac_try;;
17733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17734 (eval "$ac_compile") 2>conftest.er1
17736 grep -v '^ *+' conftest.er1
>conftest.err
17738 cat conftest.err
>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); } && {
17741 test -z "$ac_cxx_werror_flag" ||
17742 test ! -s conftest.err
17743 } && test -s conftest.
$ac_objext; then
17744 bakefile_cv_cxx_compiler___xlC__
=yes
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17749 bakefile_cv_cxx_compiler___xlC__
=no
17753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17757 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17758 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17759 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17765 ac_cpp
='$CPP $CPPFLAGS'
17766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17779 ac_cpp
='$CXXCPP $CPPFLAGS'
17780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17784 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17785 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17786 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17800 #ifndef _SGI_COMPILER_VERSION
17808 rm -f conftest.
$ac_objext
17809 if { (ac_try
="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17839 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17840 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17846 ac_cpp='$CPP $CPPFLAGS'
17847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17856 if test "$INTELCXX" != "yes"; then
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17865 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17866 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 cat >conftest.$ac_ext <<_ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17881 #ifndef __SUNPRO_CC
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17893 *) ac_try_echo
=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17898 grep -v '^ *+' conftest.er1
>conftest.err
17900 cat conftest.err
>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_cxx_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.
$ac_objext; then
17906 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17911 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17921 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17927 ac_cpp
='$CPP $CPPFLAGS'
17928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17941 ac_cpp
='$CXXCPP $CPPFLAGS'
17942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17946 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17947 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17948 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17970 rm -f conftest.
$ac_objext
17971 if { (ac_try
="$ac_compile"
17972 case "(($ac_try" in
17973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17974 *) ac_try_echo=$ac_try;;
17976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17977 (eval "$ac_compile") 2>conftest.er1
17979 grep -v '^ *+' conftest.er1 >conftest.err
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } && {
17984 test -z "$ac_cxx_werror_flag" ||
17985 test ! -s conftest.err
17986 } && test -s conftest.$ac_objext; then
17987 bakefile_cv_cxx_compiler___HP_aCC=yes
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17992 bakefile_cv_cxx_compiler___HP_aCC=no
17996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18001 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18002 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18008 ac_cpp='$CPP $CPPFLAGS'
18009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18021 ac_cpp='$CXXCPP $CPPFLAGS'
18022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18026 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18027 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18028 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 cat >conftest.$ac_ext <<_ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18050 rm -f conftest.$ac_objext
18051 if { (ac_try="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18054 *) ac_try_echo
=$ac_try;;
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_cxx_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.
$ac_objext; then
18067 bakefile_cv_cxx_compiler___DECCXX
=yes
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.
$ac_ext >&5
18072 bakefile_cv_cxx_compiler___DECCXX
=no
18076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18080 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18081 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18082 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18088 ac_cpp
='$CPP $CPPFLAGS'
18089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18101 ac_cpp
='$CXXCPP $CPPFLAGS'
18102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18106 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18107 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18108 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.
$ac_ext <<_ACEOF
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18122 #ifndef __SUNPRO_CC
18130 rm -f conftest.
$ac_objext
18131 if { (ac_try
="$ac_compile"
18132 case "(($ac_try" in
18133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18134 *) ac_try_echo=$ac_try;;
18136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18137 (eval "$ac_compile") 2>conftest.er1
18139 grep -v '^ *+' conftest.er1 >conftest.err
18141 cat conftest.err >&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); } && {
18144 test -z "$ac_cxx_werror_flag" ||
18145 test ! -s conftest.err
18146 } && test -s conftest.$ac_objext; then
18147 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18152 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18161 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18162 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18181 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18182 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18183 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18184 { (exit 1); exit 1; }; }
18187 if test "x$SUNCXX" != xyes; then
18188 if test -n "$ac_tool_prefix"; then
18189 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18190 set dummy ${ac_tool_prefix}ar; ac_word=$2
18191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18193 if test "${ac_cv_prog_AR+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 if test -n "$AR"; then
18197 ac_cv_prog_AR="$AR" # Let the user override the test.
18199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18200 for as_dir in $PATH
18203 test -z "$as_dir" && as_dir=.
18204 for ac_exec_ext in '' $ac_executable_extensions; do
18205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18206 ac_cv_prog_AR="${ac_tool_prefix}ar"
18207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18217 if test -n "$AR"; then
18218 { echo "$as_me:$LINENO: result: $AR" >&5
18219 echo "${ECHO_T}$AR" >&6; }
18221 { echo "$as_me:$LINENO: result: no" >&5
18222 echo "${ECHO_T}no" >&6; }
18227 if test -z "$ac_cv_prog_AR"; then
18229 # Extract the first word of "ar", so it can be a program name with args.
18230 set dummy ar; ac_word=$2
18231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18233 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 if test -n "$ac_ct_AR"; then
18237 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18240 for as_dir in $PATH
18243 test -z "$as_dir" && as_dir=.
18244 for ac_exec_ext in '' $ac_executable_extensions; do
18245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18246 ac_cv_prog_ac_ct_AR="ar"
18247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18256 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18257 if test -n "$ac_ct_AR"; then
18258 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18259 echo "${ECHO_T}$ac_ct_AR" >&6; }
18261 { echo "$as_me:$LINENO: result: no" >&5
18262 echo "${ECHO_T}no" >&6; }
18265 if test "x$ac_ct_AR" = x; then
18268 case $cross_compiling:$ac_tool_warned in
18270 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18271 whose name does not start with the host triplet. If you think this
18272 configuration is useful to you, please write to autoconf@gnu.org." >&5
18273 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18274 whose name does not start with the host triplet. If you think this
18275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18276 ac_tool_warned=yes ;;
18281 AR="$ac_cv_prog_AR"
18284 if test "x$AR" = "x" ; then
18285 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18286 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18287 { (exit 1); exit 1; }; }
18292 if test "$wxUSE_MAC" = 1; then
18294 retest_macosx_linking=no
18296 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18297 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18298 # Implicitly turn on the new --with-macosx-sdk using the default
18299 # SDK which provides the behavior this option has always had.
18300 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18301 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18302 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18303 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18304 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18305 wxUSE_MACOSX_SDK=yes
18308 # Complain to user if he specified an argument to --enable-universal_binary
18309 # and also 1) specified --with-macosx-sdk using the default (yes) or
18310 # 2) specified --with-macosx-sdk using a path or 3) specified
18311 # --without-macosx-sdk (no).
18312 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18313 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18314 See \`config.log
' for more details." >&5
18315 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18316 See \`config.log' for more details.
" >&2;}
18317 { (exit 1); exit 1; }; }
18319 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18320 # special-case the empty string because the below test simply
18321 # converts "no
" to the empty string anyway.
18322 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18323 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18324 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18327 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18328 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18329 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18330 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18331 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18332 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18333 retest_macosx_linking=yes
18335 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18336 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18340 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18342 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18343 # TODO: Search for most recent SDK and use it.
18344 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18348 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18349 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18350 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18351 if ! test -d "$wxUSE_MACOSX_SDK"; then
18352 { { echo "$as_me:$LINENO: error
: not found
18353 See \
`config.log' for more details." >&5
18354 echo "$as_me: error: not found
18355 See \`config.log
' for more details." >&2;}
18356 { (exit 1); exit 1; }; }
18358 { echo "$as_me:$LINENO: result: exists" >&5
18359 echo "${ECHO_T}exists" >&6; }
18361 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18362 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18363 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18364 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18365 retest_macosx_linking=yes
18368 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18369 wxUSE_MACOSX_VERSION_MIN=
18370 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18371 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18372 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18373 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18375 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/'`
18377 # If that failed, try again with the new key
18378 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18380 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/'`
18384 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18385 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18386 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18387 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18389 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18390 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18391 wxUSE_MACOSX_VERSION_MIN=
18394 wxUSE_MACOSX_VERSION_MIN=
18396 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18397 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18398 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18399 # otherwise configure stops on leopard for universal_binary
18400 wxUSE_MACOSX_VERSION_MIN=10.4
18402 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18403 wxUSE_MACOSX_VERSION_MIN=10.5
18408 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18412 if test "$wxUSE_OSX_CARBON" = 1; then
18416 if test "x$NEEDS_GCC40" == "xyes"; then
18417 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18418 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18419 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18420 if test "x$CC" = "xgcc"; then
18421 CCVERSION=`$CC --version | grep 4.[2-9].`
18422 if test "x$CCVERSION" != "x"; then
18423 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18424 CC="/usr/bin/gcc-4.0"
18428 if test "x$CXX" = "xg++"; then
18429 CCVERSION=`$CXX --version | grep 4.[2-9].`
18430 if test "x$CCVERSION" != "x"; then
18431 CXX="/usr/bin/g++-4.0"
18436 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18437 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18438 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18439 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18440 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18441 retest_macosx_linking=yes
18444 if test "x$retest_macosx_linking" = "xyes"; then
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18448 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18451 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18452 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18453 cat >conftest.$ac_ext <<_ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18468 rm -f conftest.$ac_objext conftest$ac_exeext
18469 if { (ac_try="$ac_link"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_link") 2>conftest.er1
18477 grep -v '^
*+' conftest.er1 >conftest.err
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_c_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest$ac_exeext &&
18485 $as_test_x conftest$ac_exeext; then
18486 { echo "$as_me:$LINENO: result: yes" >&5
18487 echo "${ECHO_T}yes" >&6; }
18489 echo "$as_me: failed program was:" >&5
18490 sed 's
/^
/| /' conftest.$ac_ext >&5
18492 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18493 See \`config.log' for more details.
" >&5
18494 echo "$as_me: error
: no. Try a different SDK
18495 See \
`config.log' for more details." >&2;}
18496 { (exit 1); exit 1; }; }; exit 1
18499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18500 conftest$ac_exeext conftest.$ac_ext
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18509 ac_cpp='$CXXCPP $CPPFLAGS'
18510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18514 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18515 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18531 rm -f conftest.$ac_objext conftest$ac_exeext
18532 if { (ac_try="$ac_link"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18535 *) ac_try_echo
=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_link") 2>conftest.er1
18540 grep -v '^ *+' conftest.er1
>conftest.err
18542 cat conftest.err
>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_cxx_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest
$ac_exeext &&
18548 $as_test_x conftest
$ac_exeext; then
18549 { echo "$as_me:$LINENO: result: yes" >&5
18550 echo "${ECHO_T}yes" >&6; }
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.
$ac_ext >&5
18555 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18556 See \`config.log' for more details." >&5
18557 echo "$as_me: error: no. Try a different SDK
18558 See \`config.log' for more details." >&2;}
18559 { (exit 1); exit 1; }; }; exit 1
18562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18563 conftest
$ac_exeext conftest.
$ac_ext
18565 ac_cpp
='$CPP $CPPFLAGS'
18566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18576 INSTALL_PROGRAM
="cp -fp"
18577 INSTALL_DATA
="cp -fp"
18584 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18585 CXXFLAGS
="-qunique $CXXFLAGS"
18589 powerpc
-*-darwin* )
18590 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18591 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18602 #ifndef __POWERPC__
18603 choke me for lack of PowerPC
18610 rm -f conftest.
$ac_objext
18611 if { (ac_try
="$ac_compile"
18612 case "(($ac_try" in
18613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18619 grep -v '^ *+' conftest.er1 >conftest.err
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_c_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 { echo "$as_me:$LINENO: result: yes" >&5
18628 echo "${ECHO_T}yes" >&6; }
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 { echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6; }
18635 cat >>confdefs.h <<\_ACEOF
18636 #define __POWERPC__ 1
18642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18648 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18649 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18650 cat >conftest.$ac_ext <<_ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #include <CoreFoundation/CFBase.h>
18666 rm -f conftest.$ac_objext
18667 if { (ac_try="$ac_compile"
18668 case "(($ac_try" in
18669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18670 *) ac_try_echo
=$ac_try;;
18672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18673 (eval "$ac_compile") 2>conftest.er1
18675 grep -v '^ *+' conftest.er1
>conftest.err
18677 cat conftest.err
>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err
18682 } && test -s conftest.
$ac_objext; then
18683 { echo "$as_me:$LINENO: result: yes" >&5
18684 echo "${ECHO_T}yes" >&6; }
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.
$ac_ext >&5
18689 { echo "$as_me:$LINENO: result: no" >&5
18690 echo "${ECHO_T}no" >&6; }
18691 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18692 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #define __CF_USE_FRAMEWORK_INCLUDES__
18700 #include <CoreFoundation/CFBase.h>
18710 rm -f conftest.
$ac_objext
18711 if { (ac_try
="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18719 grep -v '^ *+' conftest.er1 >conftest.err
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 { echo "$as_me:$LINENO: result: yes" >&5
18728 echo "${ECHO_T}yes" >&6; }
18729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18735 See \`config.log
' for more details." >&5
18736 echo "$as_me: error: no. CoreFoundation not available.
18737 See \`config.log' for more details.
" >&2;}
18738 { (exit 1); exit 1; }; }
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 doesnt_want_win32=0
18755 if test "$wxUSE_MSW" = 1 ; then
18758 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18759 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18760 if test "${wx_cv_nocygwin+set}" = set; then
18761 echo $ECHO_N "(cached
) $ECHO_C" >&6
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18792 grep -v '^ *+' conftest.er1 >conftest.err
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_c_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18802 echo "$as_me: failed program was
:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18814 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18816 if test "$wx_cv_nocygwin" = "yes"; then
18819 doesnt_want_win32=1
18822 if test "$wants_win32" = 1 ; then
18823 BAKEFILE_FORCE_PLATFORM=win32
18831 if test "$wxUSE_WINE" = "yes"; then
18833 LDFLAGS_GUI="-mwindows"
18836 if test "$wants_win32" = 1 ; then
18839 cat >>confdefs.h <<\_ACEOF
18840 #define __WIN32__ 1
18843 cat >>confdefs.h <<\_ACEOF
18844 #define __WIN95__ 1
18847 cat >>confdefs.h <<\_ACEOF
18848 #define __WINDOWS__ 1
18851 cat >>confdefs.h <<\_ACEOF
18852 #define __GNUWIN32__ 1
18855 cat >>confdefs.h <<\_ACEOF
18860 if test "$doesnt_want_win32" = 1 ; then
18865 if test "$USE_UNIX" = 1 ; then
18867 cat >>confdefs.h <<\_ACEOF
18874 *-pc-os2_emx | *-pc-os2-emx )
18875 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18876 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18877 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18878 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18879 echo $ECHO_N "(cached
) $ECHO_C" >&6
18881 ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lcExt $LIBS"
18883 cat >conftest.$ac_ext <<_ACEOF
18886 cat confdefs.h >>conftest.$ac_ext
18887 cat >>conftest.$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18905 rm -f conftest.$ac_objext conftest$ac_exeext
18906 if { (ac_try="$ac_link"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_link") 2>conftest.er1
18914 grep -v '^ *+' conftest.er1 >conftest.err
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest$ac_exeext &&
18922 $as_test_x conftest$ac_exeext; then
18923 ac_cv_lib_cExt_drand48=yes
18925 echo "$as_me: failed program was
:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18928 ac_cv_lib_cExt_drand48=no
18931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18932 conftest$ac_exeext conftest.$ac_ext
18933 LIBS=$ac_check_lib_save_LIBS
18935 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18936 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18937 if test $ac_cv_lib_cExt_drand48 = yes; then
18938 LIBS="$LIBS -lcExt"
18942 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18944 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18945 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18946 if test "${wx_cv_gccversion+set}" = set; then
18947 echo $ECHO_N "(cached
) $ECHO_C" >&6
18950 if test "$cross_compiling" = yes; then
18951 wx_cv_gccversion="EMX2
"
18954 cat >conftest.$ac_ext <<_ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18965 FILE *f=fopen("conftestval
", "w
");
18970 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18972 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18982 rm -f conftest$ac_exeext
18983 if { (ac_try="$ac_link"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_link") 2>&5
18991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18993 { (case "(($ac_try" in
18994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18995 *) ac_try_echo=$ac_try;;
18997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18998 (eval "$ac_try") 2>&5
19000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 wx_cv_gccversion=`cat conftestval`
19004 echo "$as_me: program exited with status
$ac_status" >&5
19005 echo "$as_me: failed program was
:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19008 ( exit $ac_status )
19009 wx_cv_gccversion="EMX2
"
19011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19017 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19018 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19019 if test "$wx_cv_gccversion" = "EMX2
"; then
19020 LIBS="$LIBS -lstdcpp"
19021 LDFLAGS="$LDFLAGS -Zsysv-signals"
19023 if test "$wx_cv_gccversion" = "EMX3
"; then
19024 LIBS="$LIBS -lstdcxx -lgcc"
19025 LDFLAGS="$LDFLAGS -Zsysv-signals"
19027 LIBS="$LIBS -lstdc++"
19030 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19031 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19032 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19039 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19040 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19041 if test "${ac_cv_string_strcasecmp+set}" = set; then
19042 echo $ECHO_N "(cached
) $ECHO_C" >&6
19045 cat >conftest.$ac_ext <<_ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19052 #include <string.h>
19058 strcasecmp("foo
", "bar
");
19064 rm -f conftest.$ac_objext conftest$ac_exeext
19065 if { (ac_try="$ac_link"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_link") 2>conftest.er1
19073 grep -v '^ *+' conftest.er1 >conftest.err
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest$ac_exeext &&
19081 $as_test_x conftest$ac_exeext; then
19082 ac_cv_string_strcasecmp=yes
19084 echo "$as_me: failed program was
:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19087 ac_cv_string_strcasecmp=no
19091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19092 conftest$ac_exeext conftest.$ac_ext
19095 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19096 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19098 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19099 cat >>confdefs.h <<\_ACEOF
19100 #define HAVE_STRCASECMP_IN_STRING_H 1
19104 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19105 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19106 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19107 echo $ECHO_N "(cached
) $ECHO_C" >&6
19110 cat >conftest.$ac_ext <<_ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19117 #include <strings.h>
19123 strcasecmp("foo
", "bar
");
19129 rm -f conftest.$ac_objext conftest$ac_exeext
19130 if { (ac_try="$ac_link"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_link") 2>conftest.er1
19138 grep -v '^ *+' conftest.er1 >conftest.err
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest$ac_exeext &&
19146 $as_test_x conftest$ac_exeext; then
19147 ac_cv_strings_strcasecmp=yes
19149 echo "$as_me: failed program was
:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19152 ac_cv_strings_strcasecmp=no
19156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19157 conftest$ac_exeext conftest.$ac_ext
19160 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19161 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19163 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19164 cat >>confdefs.h <<\_ACEOF
19165 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19169 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19170 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19171 { (exit 1); exit 1; }; }
19179 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19180 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19181 if test "${ac_cv_header_stdc+set}" = set; then
19182 echo $ECHO_N "(cached
) $ECHO_C" >&6
19184 cat >conftest.$ac_ext <<_ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 #include <stdlib.h>
19191 #include <stdarg.h>
19192 #include <string.h>
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19212 grep -v '^ *+' conftest.er1 >conftest.err
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 ac_cv_header_stdc=yes
19222 echo "$as_me: failed program was
:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 ac_cv_header_stdc=no
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19230 if test $ac_cv_header_stdc = yes; then
19231 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19232 cat >conftest.$ac_ext <<_ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <string.h>
19241 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19242 $EGREP "memchr
" >/dev/null 2>&1; then
19245 ac_cv_header_stdc=no
19251 if test $ac_cv_header_stdc = yes; then
19252 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19253 cat >conftest.$ac_ext <<_ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <stdlib.h>
19262 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19263 $EGREP "free
" >/dev/null 2>&1; then
19266 ac_cv_header_stdc=no
19272 if test $ac_cv_header_stdc = yes; then
19273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19274 if test "$cross_compiling" = yes; then
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19284 #include <stdlib.h>
19285 #if ((' ' & 0x0FF) == 0x020)
19286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19289 # define ISLOWER(c) \
19290 (('a' <= (c) && (c) <= 'i') \
19291 || ('j' <= (c) && (c) <= 'r') \
19292 || ('s' <= (c) && (c) <= 'z'))
19293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19301 for (i = 0; i < 256; i++)
19302 if (XOR (islower (i), ISLOWER (i))
19303 || toupper (i) != TOUPPER (i))
19308 rm -f conftest$ac_exeext
19309 if { (ac_try="$ac_link"
19310 case "(($ac_try" in
19311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19312 *) ac_try_echo=$ac_try;;
19314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19315 (eval "$ac_link") 2>&5
19317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19319 { (case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_try") 2>&5
19326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19327 (exit $ac_status); }; }; then
19330 echo "$as_me: program exited with status
$ac_status" >&5
19331 echo "$as_me: failed program was
:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19334 ( exit $ac_status )
19335 ac_cv_header_stdc=no
19337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19343 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19344 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19345 if test $ac_cv_header_stdc = yes; then
19347 cat >>confdefs.h <<\_ACEOF
19348 #define STDC_HEADERS 1
19353 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19363 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19364 inttypes.h stdint.h unistd.h
19366 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19367 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19368 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19369 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19370 echo $ECHO_N "(cached
) $ECHO_C" >&6
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19380 #include <$ac_header>
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 eval "$as_ac_Header=yes"
19401 echo "$as_me: failed program was
:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 eval "$as_ac_Header=no
"
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409 ac_res=`eval echo '${'$as_ac_Header'}'`
19410 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19411 echo "${ECHO_T}$ac_res" >&6; }
19412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19413 cat >>confdefs.h <<_ACEOF
19414 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19424 for ac_header in langinfo.h wchar.h
19426 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19427 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19428 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19429 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19430 echo $ECHO_N "(cached
) $ECHO_C" >&6
19432 cat >conftest.$ac_ext <<_ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19440 #include <$ac_header>
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19451 grep -v '^ *+' conftest.er1 >conftest.err
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
19459 eval "$as_ac_Header=yes"
19461 echo "$as_me: failed program was
:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 eval "$as_ac_Header=no
"
19467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 ac_res=`eval echo '${'$as_ac_Header'}'`
19470 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19471 echo "${ECHO_T}$ac_res" >&6; }
19472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473 cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19482 if test "$ac_cv_header_wchar_h" != "yes"; then
19484 for ac_header in wcstr.h
19486 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19487 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19488 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19489 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19490 echo $ECHO_N "(cached
) $ECHO_C" >&6
19492 cat >conftest.$ac_ext <<_ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 $ac_includes_default
19500 #include <$ac_header>
19502 rm -f conftest.$ac_objext
19503 if { (ac_try="$ac_compile"
19504 case "(($ac_try" in
19505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19506 *) ac_try_echo=$ac_try;;
19508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19511 grep -v '^ *+' conftest.er1 >conftest.err
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
19519 eval "$as_ac_Header=yes"
19521 echo "$as_me: failed program was
:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19524 eval "$as_ac_Header=no
"
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19529 ac_res=`eval echo '${'$as_ac_Header'}'`
19530 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19531 echo "${ECHO_T}$ac_res" >&6; }
19532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19533 cat >>confdefs.h <<_ACEOF
19534 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19544 *-pc-os2_emx | *-pc-os2-emx )
19545 if test $ac_cv_header_langinfo_h = "yes" \
19546 -a \( "$wx_cv_gccversion" = "EMX2
" \
19547 -o "$wx_cv_gccversion" = "EMX3
" \
19548 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19549 LIBS="$LIBS -lintl"
19554 if test "$USE_UNIX" = 1 ; then
19556 for ac_header in sys/select.h
19558 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19559 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19560 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19561 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19562 echo $ECHO_N "(cached
) $ECHO_C" >&6
19564 cat >conftest.$ac_ext <<_ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 $ac_includes_default
19572 #include <$ac_header>
19574 rm -f conftest.$ac_objext
19575 if { (ac_try="$ac_compile"
19576 case "(($ac_try" in
19577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578 *) ac_try_echo=$ac_try;;
19580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19581 (eval "$ac_compile") 2>conftest.er1
19583 grep -v '^ *+' conftest.er1 >conftest.err
19585 cat conftest.err >&5
19586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19587 (exit $ac_status); } && {
19588 test -z "$ac_c_werror_flag" ||
19589 test ! -s conftest.err
19590 } && test -s conftest.$ac_objext; then
19591 eval "$as_ac_Header=yes"
19593 echo "$as_me: failed program was
:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19596 eval "$as_ac_Header=no
"
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19601 ac_res=`eval echo '${'$as_ac_Header'}'`
19602 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19603 echo "${ECHO_T}$ac_res" >&6; }
19604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19616 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19617 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19618 if test "${ac_cv_c_const+set}" = set; then
19619 echo $ECHO_N "(cached
) $ECHO_C" >&6
19621 cat >conftest.$ac_ext <<_ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19631 /* FIXME: Include the comments suggested by Paul. */
19632 #ifndef __cplusplus
19633 /* Ultrix mips cc rejects this. */
19634 typedef int charset[2];
19636 /* SunOS 4.1.1 cc rejects this. */
19637 char const *const *pcpcc;
19639 /* NEC SVR4.0.2 mips cc rejects this. */
19640 struct point {int x, y;};
19641 static struct point const zero = {0,0};
19642 /* AIX XL C 1.02.0.0 rejects this.
19643 It does not let you subtract one const X* pointer from another in
19644 an arm of an if-expression whose if-part is not a constant
19646 const char *g = "string
";
19647 pcpcc = &g + (g ? g-g : 0);
19648 /* HPUX 7.0 cc rejects these. */
19650 ppc = (char**) pcpcc;
19651 pcpcc = (char const *const *) ppc;
19652 { /* SCO 3.2v4 cc rejects this. */
19654 char const *s = 0 ? (char *) 0 : (char const *) 0;
19659 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19660 int x[] = {25, 17};
19661 const int *foo = &x[0];
19664 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19665 typedef const int *iptr;
19669 { /* AIX XL C 1.02.0.0 rejects this saying
19670 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19671 struct s { int j; const int *ap[3]; };
19672 struct s *b; b->j = 5;
19674 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19675 const int foo = 10;
19676 if (!foo) return 0;
19678 return !cs[0] && !zero.x;
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19694 grep -v '^ *+' conftest.er1 >conftest.err
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19704 echo "$as_me: failed program was
:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19713 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19714 if test $ac_cv_c_const = no; then
19716 cat >>confdefs.h <<\_ACEOF
19722 { echo "$as_me:$LINENO: checking
for inline
" >&5
19723 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19724 if test "${ac_cv_c_inline+set}" = set; then
19725 echo $ECHO_N "(cached
) $ECHO_C" >&6
19728 for ac_kw in inline __inline__ __inline; do
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 #ifndef __cplusplus
19737 static $ac_kw foo_t static_foo () {return 0; }
19738 $ac_kw foo_t foo () {return 0; }
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19751 grep -v '^ *+' conftest.er1 >conftest.err
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.$ac_objext; then
19759 ac_cv_c_inline=$ac_kw
19761 echo "$as_me: failed program was
:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 test "$ac_cv_c_inline" != no && break
19772 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19773 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19776 case $ac_cv_c_inline in
19779 case $ac_cv_c_inline in
19781 *) ac_val=$ac_cv_c_inline;;
19783 cat >>confdefs.h <<_ACEOF
19784 #ifndef __cplusplus
19785 #define inline $ac_val
19792 { echo "$as_me:$LINENO: checking
for short
" >&5
19793 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19794 if test "${ac_cv_type_short+set}" = set; then
19795 echo $ECHO_N "(cached
) $ECHO_C" >&6
19797 cat >conftest.$ac_ext <<_ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 typedef short ac__type_new_;
19808 if ((ac__type_new_ *) 0)
19810 if (sizeof (ac__type_new_))
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1 >conftest.err
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_c_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 ac_cv_type_short=yes
19835 echo "$as_me: failed program was
:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19838 ac_cv_type_short=no
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19843 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19844 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19846 # The cast to long int works around a bug in the HP C Compiler
19847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19849 # This bug is HP SR number 8606223364.
19850 { echo "$as_me:$LINENO: checking size of short
" >&5
19851 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19852 if test "${ac_cv_sizeof_short+set}" = set; then
19853 echo $ECHO_N "(cached
) $ECHO_C" >&6
19855 if test "$cross_compiling" = yes; then
19856 # Depending upon the size, compute the lo and hi bounds.
19857 cat >conftest.$ac_ext <<_ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 typedef short ac__type_sizeof_;
19868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19894 cat >conftest.$ac_ext <<_ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19901 typedef short ac__type_sizeof_;
19905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19912 rm -f conftest.$ac_objext
19913 if { (ac_try="$ac_compile"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_compile") 2>conftest.er1
19921 grep -v '^ *+' conftest.er1 >conftest.err
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19925 (exit $ac_status); } && {
19926 test -z "$ac_c_werror_flag" ||
19927 test ! -s conftest.err
19928 } && test -s conftest.$ac_objext; then
19929 ac_hi=$ac_mid; break
19931 echo "$as_me: failed program was
:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_lo=`expr $ac_mid + 1`
19935 if test $ac_lo -le $ac_mid; then
19939 ac_mid=`expr 2 '*' $ac_mid + 1`
19942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19945 echo "$as_me: failed program was
:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef short ac__type_sizeof_;
19959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19975 grep -v '^ *+' conftest.er1 >conftest.err
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19979 (exit $ac_status); } && {
19980 test -z "$ac_c_werror_flag" ||
19981 test ! -s conftest.err
19982 } && test -s conftest.$ac_objext; then
19985 cat >conftest.$ac_ext <<_ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19992 typedef short ac__type_sizeof_;
19996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20003 rm -f conftest.$ac_objext
20004 if { (ac_try="$ac_compile"
20005 case "(($ac_try" in
20006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20007 *) ac_try_echo=$ac_try;;
20009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20010 (eval "$ac_compile") 2>conftest.er1
20012 grep -v '^ *+' conftest.er1 >conftest.err
20014 cat conftest.err >&5
20015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20016 (exit $ac_status); } && {
20017 test -z "$ac_c_werror_flag" ||
20018 test ! -s conftest.err
20019 } && test -s conftest.$ac_objext; then
20020 ac_lo=$ac_mid; break
20022 echo "$as_me: failed program was
:" >&5
20023 sed 's/^/| /' conftest.$ac_ext >&5
20025 ac_hi=`expr '(' $ac_mid ')' - 1`
20026 if test $ac_mid -le $ac_hi; then
20030 ac_mid=`expr 2 '*' $ac_mid`
20033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 echo "$as_me: failed program was
:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 # Binary search between lo and hi bounds.
20047 while test "x
$ac_lo" != "x
$ac_hi"; do
20048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20049 cat >conftest.$ac_ext <<_ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 typedef short ac__type_sizeof_;
20060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20076 grep -v '^ *+' conftest.er1 >conftest.err
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20086 echo "$as_me: failed program was
:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20089 ac_lo=`expr '(' $ac_mid ')' + 1`
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095 ?*) ac_cv_sizeof_short=$ac_lo;;
20096 '') if test "$ac_cv_type_short" = yes; then
20097 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20098 See \
`config.log' for more details." >&5
20099 echo "$as_me: error: cannot compute sizeof (short)
20100 See \`config.log
' for more details." >&2;}
20101 { (exit 77); exit 77; }; }
20103 ac_cv_sizeof_short=0
20107 cat >conftest.$ac_ext <<_ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 typedef short ac__type_sizeof_;
20115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20118 #include <stdlib.h>
20123 FILE *f = fopen ("conftest.val", "w");
20126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20128 long int i = longval ();
20129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20131 fprintf (f, "%ld\n", i);
20135 unsigned long int i = ulongval ();
20136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20138 fprintf (f, "%lu\n", i);
20140 return ferror (f) || fclose (f) != 0;
20146 rm -f conftest$ac_exeext
20147 if { (ac_try="$ac_link"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_link") 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20157 { (case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_try") 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20166 ac_cv_sizeof_short=`cat conftest.val`
20168 echo "$as_me: program exited with status $ac_status" >&5
20169 echo "$as_me: failed program was:" >&5
20170 sed 's
/^
/| /' conftest.$ac_ext >&5
20172 ( exit $ac_status )
20173 if test "$ac_cv_type_short" = yes; then
20174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20175 See \`config.log' for more details.
" >&5
20176 echo "$as_me: error
: cannot compute sizeof
(short
)
20177 See \
`config.log' for more details." >&2;}
20178 { (exit 77); exit 77; }; }
20180 ac_cv_sizeof_short=0
20183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20188 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20192 cat >>confdefs.h <<_ACEOF
20193 #define SIZEOF_SHORT $ac_cv_sizeof_short
20197 { echo "$as_me:$LINENO: checking for void *" >&5
20198 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20199 if test "${ac_cv_type_void_p+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 typedef void * ac__type_new_;
20213 if ((ac__type_new_ *) 0)
20215 if (sizeof (ac__type_new_))
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20225 *) ac_try_echo
=$ac_try;;
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20230 grep -v '^ *+' conftest.er1
>conftest.err
20232 cat conftest.err
>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.
$ac_objext; then
20238 ac_cv_type_void_p
=yes
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.
$ac_ext >&5
20243 ac_cv_type_void_p
=no
20246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20249 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20251 # The cast to long int works around a bug in the HP C Compiler
20252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20254 # This bug is HP SR number 8606223364.
20255 { echo "$as_me:$LINENO: checking size of void *" >&5
20256 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20257 if test "${ac_cv_sizeof_void_p+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 if test "$cross_compiling" = yes; then
20261 # Depending upon the size, compute the lo and hi bounds.
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 typedef void * ac__type_sizeof_;
20273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20280 rm -f conftest.
$ac_objext
20281 if { (ac_try
="$ac_compile"
20282 case "(($ac_try" in
20283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_compile") 2>conftest.er1
20289 grep -v '^ *+' conftest.er1 >conftest.err
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && {
20294 test -z "$ac_c_werror_flag" ||
20295 test ! -s conftest.err
20296 } && test -s conftest.$ac_objext; then
20299 cat >conftest.$ac_ext <<_ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 typedef void * ac__type_sizeof_;
20310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20321 *) ac_try_echo
=$ac_try;;
20323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20326 grep -v '^ *+' conftest.er1
>conftest.err
20328 cat conftest.err
>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.
$ac_objext; then
20334 ac_hi
=$ac_mid; break
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.
$ac_ext >&5
20339 ac_lo
=`expr $ac_mid + 1`
20340 if test $ac_lo -le $ac_mid; then
20344 ac_mid
=`expr 2 '*' $ac_mid + 1`
20347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20353 cat >conftest.
$ac_ext <<_ACEOF
20356 cat confdefs.h
>>conftest.
$ac_ext
20357 cat >>conftest.
$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20359 $ac_includes_default
20360 typedef void * ac__type_sizeof_;
20364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20371 rm -f conftest.
$ac_objext
20372 if { (ac_try
="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20380 grep -v '^ *+' conftest.er1 >conftest.err
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20390 cat >conftest.$ac_ext <<_ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397 typedef void * ac__type_sizeof_;
20401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20412 *) ac_try_echo
=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_compile") 2>conftest.er1
20417 grep -v '^ *+' conftest.er1
>conftest.err
20419 cat conftest.err
>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && {
20422 test -z "$ac_c_werror_flag" ||
20423 test ! -s conftest.err
20424 } && test -s conftest.
$ac_objext; then
20425 ac_lo
=$ac_mid; break
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_hi
=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20435 ac_mid
=`expr 2 '*' $ac_mid`
20438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.
$ac_ext >&5
20447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20451 # Binary search between lo and hi bounds.
20452 while test "x$ac_lo" != "x$ac_hi"; do
20453 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20454 cat >conftest.
$ac_ext <<_ACEOF
20457 cat confdefs.h
>>conftest.
$ac_ext
20458 cat >>conftest.
$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 $ac_includes_default
20461 typedef void * ac__type_sizeof_;
20465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20472 rm -f conftest.
$ac_objext
20473 if { (ac_try
="$ac_compile"
20474 case "(($ac_try" in
20475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_compile") 2>conftest.er1
20481 grep -v '^ *+' conftest.er1 >conftest.err
20483 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } && {
20486 test -z "$ac_c_werror_flag" ||
20487 test ! -s conftest.err
20488 } && test -s conftest.$ac_objext; then
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 ac_lo=`expr '(' $ac_mid ')' + 1`
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20500 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20501 '') if test "$ac_cv_type_void_p" = yes; then
20502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20503 See \`config.log
' for more details." >&5
20504 echo "$as_me: error: cannot compute sizeof (void *)
20505 See \`config.log' for more details.
" >&2;}
20506 { (exit 77); exit 77; }; }
20508 ac_cv_sizeof_void_p=0
20512 cat >conftest.$ac_ext <<_ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 typedef void * ac__type_sizeof_;
20520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20523 #include <stdlib.h>
20528 FILE *f = fopen ("conftest.val
", "w
");
20531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20533 long int i = longval ();
20534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20536 fprintf (f, "%ld
\n", i);
20540 unsigned long int i = ulongval ();
20541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20543 fprintf (f, "%lu
\n", i);
20545 return ferror (f) || fclose (f) != 0;
20551 rm -f conftest$ac_exeext
20552 if { (ac_try="$ac_link"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_link") 2>&5
20560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20562 { (case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_try") 2>&5
20569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20570 (exit $ac_status); }; }; then
20571 ac_cv_sizeof_void_p=`cat conftest.val`
20573 echo "$as_me: program exited with status
$ac_status" >&5
20574 echo "$as_me: failed program was
:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20577 ( exit $ac_status )
20578 if test "$ac_cv_type_void_p" = yes; then
20579 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20580 See \
`config.log' for more details." >&5
20581 echo "$as_me: error: cannot compute sizeof (void *)
20582 See \`config.log
' for more details." >&2;}
20583 { (exit 77); exit 77; }; }
20585 ac_cv_sizeof_void_p=0
20588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20593 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20597 cat >>confdefs.h <<_ACEOF
20598 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20602 { echo "$as_me:$LINENO: checking for int" >&5
20603 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20604 if test "${ac_cv_type_int+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 cat >conftest.$ac_ext <<_ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef int ac__type_new_;
20618 if ((ac__type_new_ *) 0)
20620 if (sizeof (ac__type_new_))
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20635 grep -v '^
*+' conftest.er1 >conftest.err
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20645 echo "$as_me: failed program was:" >&5
20646 sed 's
/^
/| /' conftest.$ac_ext >&5
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20653 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20654 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20656 # The cast to long int works around a bug in the HP C Compiler
20657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20659 # This bug is HP SR number 8606223364.
20660 { echo "$as_me:$LINENO: checking size of int" >&5
20661 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20662 if test "${ac_cv_sizeof_int+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20665 if test "$cross_compiling" = yes; then
20666 # Depending upon the size, compute the lo and hi bounds.
20667 cat >conftest.
$ac_ext <<_ACEOF
20670 cat confdefs.h
>>conftest.
$ac_ext
20671 cat >>conftest.
$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef int ac__type_sizeof_;
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20685 rm -f conftest.
$ac_objext
20686 if { (ac_try
="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20704 cat >conftest.$ac_ext <<_ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 $ac_includes_default
20711 typedef int ac__type_sizeof_;
20715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20722 rm -f conftest.$ac_objext
20723 if { (ac_try="$ac_compile"
20724 case "(($ac_try" in
20725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20726 *) ac_try_echo
=$ac_try;;
20728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20729 (eval "$ac_compile") 2>conftest.er1
20731 grep -v '^ *+' conftest.er1
>conftest.err
20733 cat conftest.err
>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } && {
20736 test -z "$ac_c_werror_flag" ||
20737 test ! -s conftest.err
20738 } && test -s conftest.
$ac_objext; then
20739 ac_hi
=$ac_mid; break
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.
$ac_ext >&5
20744 ac_lo
=`expr $ac_mid + 1`
20745 if test $ac_lo -le $ac_mid; then
20749 ac_mid
=`expr 2 '*' $ac_mid + 1`
20752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.
$ac_ext >&5
20758 cat >conftest.
$ac_ext <<_ACEOF
20761 cat confdefs.h
>>conftest.
$ac_ext
20762 cat >>conftest.
$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef int ac__type_sizeof_;
20769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20776 rm -f conftest.
$ac_objext
20777 if { (ac_try
="$ac_compile"
20778 case "(($ac_try" in
20779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20785 grep -v '^ *+' conftest.er1 >conftest.err
20787 cat conftest.err >&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.$ac_objext; then
20795 cat >conftest.$ac_ext <<_ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20802 typedef int ac__type_sizeof_;
20806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20813 rm -f conftest.$ac_objext
20814 if { (ac_try="$ac_compile"
20815 case "(($ac_try" in
20816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20817 *) ac_try_echo
=$ac_try;;
20819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20820 (eval "$ac_compile") 2>conftest.er1
20822 grep -v '^ *+' conftest.er1
>conftest.err
20824 cat conftest.err
>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } && {
20827 test -z "$ac_c_werror_flag" ||
20828 test ! -s conftest.err
20829 } && test -s conftest.
$ac_objext; then
20830 ac_lo
=$ac_mid; break
20832 echo "$as_me: failed program was:" >&5
20833 sed 's/^/| /' conftest.
$ac_ext >&5
20835 ac_hi
=`expr '(' $ac_mid ')' - 1`
20836 if test $ac_mid -le $ac_hi; then
20840 ac_mid
=`expr 2 '*' $ac_mid`
20843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.
$ac_ext >&5
20852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20856 # Binary search between lo and hi bounds.
20857 while test "x$ac_lo" != "x$ac_hi"; do
20858 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20859 cat >conftest.
$ac_ext <<_ACEOF
20862 cat confdefs.h
>>conftest.
$ac_ext
20863 cat >>conftest.
$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 typedef int ac__type_sizeof_;
20870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20877 rm -f conftest.
$ac_objext
20878 if { (ac_try
="$ac_compile"
20879 case "(($ac_try" in
20880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_compile") 2>conftest.er1
20886 grep -v '^ *+' conftest.er1 >conftest.err
20888 cat conftest.err >&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } && {
20891 test -z "$ac_c_werror_flag" ||
20892 test ! -s conftest.err
20893 } && test -s conftest.$ac_objext; then
20896 echo "$as_me: failed program was:" >&5
20897 sed 's/^/| /' conftest.$ac_ext >&5
20899 ac_lo=`expr '(' $ac_mid ')' + 1`
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20905 ?*) ac_cv_sizeof_int=$ac_lo;;
20906 '') if test "$ac_cv_type_int" = yes; then
20907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20908 See \`config.log
' for more details." >&5
20909 echo "$as_me: error: cannot compute sizeof (int)
20910 See \`config.log' for more details.
" >&2;}
20911 { (exit 77); exit 77; }; }
20917 cat >conftest.$ac_ext <<_ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20924 typedef int ac__type_sizeof_;
20925 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20926 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20928 #include <stdlib.h>
20933 FILE *f = fopen ("conftest.val
", "w
");
20936 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20938 long int i = longval ();
20939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20941 fprintf (f, "%ld
\n", i);
20945 unsigned long int i = ulongval ();
20946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20948 fprintf (f, "%lu
\n", i);
20950 return ferror (f) || fclose (f) != 0;
20956 rm -f conftest$ac_exeext
20957 if { (ac_try="$ac_link"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_link") 2>&5
20965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20967 { (case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_try") 2>&5
20974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_sizeof_int=`cat conftest.val`
20978 echo "$as_me: program exited with status
$ac_status" >&5
20979 echo "$as_me: failed program was
:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 ( exit $ac_status )
20983 if test "$ac_cv_type_int" = yes; then
20984 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20985 See \
`config.log' for more details." >&5
20986 echo "$as_me: error: cannot compute sizeof (int)
20987 See \`config.log
' for more details." >&2;}
20988 { (exit 77); exit 77; }; }
20993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20997 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20998 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21002 cat >>confdefs.h <<_ACEOF
21003 #define SIZEOF_INT $ac_cv_sizeof_int
21007 { echo "$as_me:$LINENO: checking for long" >&5
21008 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21009 if test "${ac_cv_type_long+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long ac__type_new_;
21023 if ((ac__type_new_ *) 0)
21025 if (sizeof (ac__type_new_))
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21040 grep -v '^
*+' conftest.er1 >conftest.err
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_cv_type_long=yes
21050 echo "$as_me: failed program was:" >&5
21051 sed 's
/^
/| /' conftest.$ac_ext >&5
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21059 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21061 # The cast to long int works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 { echo "$as_me:$LINENO: checking size of long" >&5
21066 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21067 if test "${ac_cv_sizeof_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 if test "$cross_compiling" = yes; then
21071 # Depending upon the size, compute the lo and hi bounds.
21072 cat >conftest.
$ac_ext <<_ACEOF
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef long ac__type_sizeof_;
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21090 rm -f conftest.
$ac_objext
21091 if { (ac_try
="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21099 grep -v '^ *+' conftest.er1 >conftest.err
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21109 cat >conftest.$ac_ext <<_ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef long ac__type_sizeof_;
21120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21127 rm -f conftest.$ac_objext
21128 if { (ac_try="$ac_compile"
21129 case "(($ac_try" in
21130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21131 *) ac_try_echo
=$ac_try;;
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_compile") 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest.
$ac_objext; then
21144 ac_hi
=$ac_mid; break
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.
$ac_ext >&5
21149 ac_lo
=`expr $ac_mid + 1`
21150 if test $ac_lo -le $ac_mid; then
21154 ac_mid
=`expr 2 '*' $ac_mid + 1`
21157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.
$ac_ext >&5
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef long ac__type_sizeof_;
21174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21181 rm -f conftest.
$ac_objext
21182 if { (ac_try
="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21190 grep -v '^ *+' conftest.er1 >conftest.err
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.$ac_objext; then
21200 cat >conftest.$ac_ext <<_ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 $ac_includes_default
21207 typedef long ac__type_sizeof_;
21211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21218 rm -f conftest.$ac_objext
21219 if { (ac_try="$ac_compile"
21220 case "(($ac_try" in
21221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21222 *) ac_try_echo
=$ac_try;;
21224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225 (eval "$ac_compile") 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } && {
21232 test -z "$ac_c_werror_flag" ||
21233 test ! -s conftest.err
21234 } && test -s conftest.
$ac_objext; then
21235 ac_lo
=$ac_mid; break
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.
$ac_ext >&5
21240 ac_hi
=`expr '(' $ac_mid ')' - 1`
21241 if test $ac_mid -le $ac_hi; then
21245 ac_mid
=`expr 2 '*' $ac_mid`
21248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21261 # Binary search between lo and hi bounds.
21262 while test "x$ac_lo" != "x$ac_hi"; do
21263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21264 cat >conftest.
$ac_ext <<_ACEOF
21267 cat confdefs.h
>>conftest.
$ac_ext
21268 cat >>conftest.
$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long ac__type_sizeof_;
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21282 rm -f conftest.
$ac_objext
21283 if { (ac_try
="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21291 grep -v '^ *+' conftest.er1 >conftest.err
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21304 ac_lo=`expr '(' $ac_mid ')' + 1`
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21310 ?*) ac_cv_sizeof_long=$ac_lo;;
21311 '') if test "$ac_cv_type_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21313 See \`config.log
' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long)
21315 See \`config.log' for more details.
" >&2;}
21316 { (exit 77); exit 77; }; }
21318 ac_cv_sizeof_long=0
21322 cat >conftest.$ac_ext <<_ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long ac__type_sizeof_;
21330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21333 #include <stdlib.h>
21338 FILE *f = fopen ("conftest.val
", "w
");
21341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21343 long int i = longval ();
21344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21346 fprintf (f, "%ld
\n", i);
21350 unsigned long int i = ulongval ();
21351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21353 fprintf (f, "%lu
\n", i);
21355 return ferror (f) || fclose (f) != 0;
21361 rm -f conftest$ac_exeext
21362 if { (ac_try="$ac_link"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_link") 2>&5
21370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sizeof_long=`cat conftest.val`
21383 echo "$as_me: program exited with status
$ac_status" >&5
21384 echo "$as_me: failed program was
:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21387 ( exit $ac_status )
21388 if test "$ac_cv_type_long" = yes; then
21389 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21390 See \
`config.log' for more details." >&5
21391 echo "$as_me: error: cannot compute sizeof (long)
21392 See \`config.log
' for more details." >&2;}
21393 { (exit 77); exit 77; }; }
21395 ac_cv_sizeof_long=0
21398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21403 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21407 cat >>confdefs.h <<_ACEOF
21408 #define SIZEOF_LONG $ac_cv_sizeof_long
21412 { echo "$as_me:$LINENO: checking for size_t" >&5
21413 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21414 if test "${ac_cv_type_size_t+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 cat >conftest.$ac_ext <<_ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef size_t ac__type_new_;
21428 if ((ac__type_new_ *) 0)
21430 if (sizeof (ac__type_new_))
21436 rm -f conftest.$ac_objext
21437 if { (ac_try="$ac_compile"
21438 case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21445 grep -v '^
*+' conftest.er1 >conftest.err
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.$ac_objext; then
21453 ac_cv_type_size_t=yes
21455 echo "$as_me: failed program was:" >&5
21456 sed 's
/^
/| /' conftest.$ac_ext >&5
21458 ac_cv_type_size_t=no
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21464 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21466 # The cast to long int works around a bug in the HP C Compiler
21467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21469 # This bug is HP SR number 8606223364.
21470 { echo "$as_me:$LINENO: checking size of size_t" >&5
21471 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21472 if test "${ac_cv_sizeof_size_t+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 if test "$cross_compiling" = yes; then
21476 # Depending upon the size, compute the lo and hi bounds.
21477 cat >conftest.
$ac_ext <<_ACEOF
21480 cat confdefs.h
>>conftest.
$ac_ext
21481 cat >>conftest.
$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 $ac_includes_default
21484 typedef size_t ac__type_sizeof_;
21488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21495 rm -f conftest.
$ac_objext
21496 if { (ac_try
="$ac_compile"
21497 case "(($ac_try" in
21498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_compile") 2>conftest.er1
21504 grep -v '^ *+' conftest.er1 >conftest.err
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest.$ac_objext; then
21514 cat >conftest.$ac_ext <<_ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef size_t ac__type_sizeof_;
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21532 rm -f conftest.$ac_objext
21533 if { (ac_try="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21536 *) ac_try_echo
=$ac_try;;
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21541 grep -v '^ *+' conftest.er1
>conftest.err
21543 cat conftest.err
>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.
$ac_objext; then
21549 ac_hi
=$ac_mid; break
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21554 ac_lo
=`expr $ac_mid + 1`
21555 if test $ac_lo -le $ac_mid; then
21559 ac_mid
=`expr 2 '*' $ac_mid + 1`
21562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 cat >conftest.
$ac_ext <<_ACEOF
21571 cat confdefs.h
>>conftest.
$ac_ext
21572 cat >>conftest.
$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 typedef size_t ac__type_sizeof_;
21579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21586 rm -f conftest.
$ac_objext
21587 if { (ac_try
="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21595 grep -v '^ *+' conftest.er1 >conftest.err
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21605 cat >conftest.$ac_ext <<_ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef size_t ac__type_sizeof_;
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21627 *) ac_try_echo
=$ac_try;;
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21632 grep -v '^ *+' conftest.er1
>conftest.err
21634 cat conftest.err
>&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.
$ac_objext; then
21640 ac_lo
=$ac_mid; break
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.
$ac_ext >&5
21645 ac_hi
=`expr '(' $ac_mid ')' - 1`
21646 if test $ac_mid -le $ac_hi; then
21650 ac_mid
=`expr 2 '*' $ac_mid`
21653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21666 # Binary search between lo and hi bounds.
21667 while test "x$ac_lo" != "x$ac_hi"; do
21668 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21669 cat >conftest.
$ac_ext <<_ACEOF
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 $ac_includes_default
21676 typedef size_t ac__type_sizeof_;
21680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21687 rm -f conftest.
$ac_objext
21688 if { (ac_try
="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21696 grep -v '^ *+' conftest.er1 >conftest.err
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 ac_lo=`expr '(' $ac_mid ')' + 1`
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21716 '') if test "$ac_cv_type_size_t" = yes; then
21717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21718 See \`config.log
' for more details." >&5
21719 echo "$as_me: error: cannot compute sizeof (size_t)
21720 See \`config.log' for more details.
" >&2;}
21721 { (exit 77); exit 77; }; }
21723 ac_cv_sizeof_size_t=0
21727 cat >conftest.$ac_ext <<_ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 typedef size_t ac__type_sizeof_;
21735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21738 #include <stdlib.h>
21743 FILE *f = fopen ("conftest.val
", "w
");
21746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21748 long int i = longval ();
21749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21751 fprintf (f, "%ld
\n", i);
21755 unsigned long int i = ulongval ();
21756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21758 fprintf (f, "%lu
\n", i);
21760 return ferror (f) || fclose (f) != 0;
21766 rm -f conftest$ac_exeext
21767 if { (ac_try="$ac_link"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_link") 2>&5
21775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777 { (case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_try") 2>&5
21784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_size_t=`cat conftest.val`
21788 echo "$as_me: program exited with status
$ac_status" >&5
21789 echo "$as_me: failed program was
:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21792 ( exit $ac_status )
21793 if test "$ac_cv_type_size_t" = yes; then
21794 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21795 See \
`config.log' for more details." >&5
21796 echo "$as_me: error: cannot compute sizeof (size_t)
21797 See \`config.log
' for more details." >&2;}
21798 { (exit 77); exit 77; }; }
21800 ac_cv_sizeof_size_t=0
21803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21820 { echo "$as_me:$LINENO: checking for long long" >&5
21821 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21822 if test "${ac_cv_type_long_long+set}" = set; then
21823 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 cat >conftest.$ac_ext <<_ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 $ac_includes_default
21832 typedef long long ac__type_new_;
21836 if ((ac__type_new_ *) 0)
21838 if (sizeof (ac__type_new_))
21844 rm -f conftest.$ac_objext
21845 if { (ac_try="$ac_compile"
21846 case "(($ac_try" in
21847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21848 *) ac_try_echo=$ac_try;;
21850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21851 (eval "$ac_compile") 2>conftest.er1
21853 grep -v '^
*+' conftest.er1 >conftest.err
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } && {
21858 test -z "$ac_c_werror_flag" ||
21859 test ! -s conftest.err
21860 } && test -s conftest.$ac_objext; then
21861 ac_cv_type_long_long=yes
21863 echo "$as_me: failed program was:" >&5
21864 sed 's
/^
/| /' conftest.$ac_ext >&5
21866 ac_cv_type_long_long=no
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21872 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21874 # The cast to long int works around a bug in the HP C Compiler
21875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21877 # This bug is HP SR number 8606223364.
21878 { echo "$as_me:$LINENO: checking size of long long" >&5
21879 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21880 if test "${ac_cv_sizeof_long_long+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21883 if test "$cross_compiling" = yes; then
21884 # Depending upon the size, compute the lo and hi bounds.
21885 cat >conftest.
$ac_ext <<_ACEOF
21888 cat confdefs.h
>>conftest.
$ac_ext
21889 cat >>conftest.
$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef long long ac__type_sizeof_;
21896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21903 rm -f conftest.
$ac_objext
21904 if { (ac_try
="$ac_compile"
21905 case "(($ac_try" in
21906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_compile") 2>conftest.er1
21912 grep -v '^ *+' conftest.er1 >conftest.err
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest.$ac_objext; then
21922 cat >conftest.$ac_ext <<_ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef long long ac__type_sizeof_;
21933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21940 rm -f conftest.$ac_objext
21941 if { (ac_try="$ac_compile"
21942 case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21944 *) ac_try_echo
=$ac_try;;
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_compile") 2>conftest.er1
21949 grep -v '^ *+' conftest.er1
>conftest.err
21951 cat conftest.err
>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && {
21954 test -z "$ac_c_werror_flag" ||
21955 test ! -s conftest.err
21956 } && test -s conftest.
$ac_objext; then
21957 ac_hi
=$ac_mid; break
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.
$ac_ext >&5
21962 ac_lo
=`expr $ac_mid + 1`
21963 if test $ac_lo -le $ac_mid; then
21967 ac_mid
=`expr 2 '*' $ac_mid + 1`
21970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.
$ac_ext >&5
21976 cat >conftest.
$ac_ext <<_ACEOF
21979 cat confdefs.h
>>conftest.
$ac_ext
21980 cat >>conftest.
$ac_ext <<_ACEOF
21981 /* end confdefs.h. */
21982 $ac_includes_default
21983 typedef long long ac__type_sizeof_;
21987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21994 rm -f conftest.
$ac_objext
21995 if { (ac_try
="$ac_compile"
21996 case "(($ac_try" in
21997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21998 *) ac_try_echo=$ac_try;;
22000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001 (eval "$ac_compile") 2>conftest.er1
22003 grep -v '^ *+' conftest.er1 >conftest.err
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } && {
22008 test -z "$ac_c_werror_flag" ||
22009 test ! -s conftest.err
22010 } && test -s conftest.$ac_objext; then
22013 cat >conftest.$ac_ext <<_ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 $ac_includes_default
22020 typedef long long ac__type_sizeof_;
22024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22031 rm -f conftest.$ac_objext
22032 if { (ac_try="$ac_compile"
22033 case "(($ac_try" in
22034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22035 *) ac_try_echo
=$ac_try;;
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_compile") 2>conftest.er1
22040 grep -v '^ *+' conftest.er1
>conftest.err
22042 cat conftest.err
>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } && {
22045 test -z "$ac_c_werror_flag" ||
22046 test ! -s conftest.err
22047 } && test -s conftest.
$ac_objext; then
22048 ac_lo
=$ac_mid; break
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.
$ac_ext >&5
22053 ac_hi
=`expr '(' $ac_mid ')' - 1`
22054 if test $ac_mid -le $ac_hi; then
22058 ac_mid
=`expr 2 '*' $ac_mid`
22061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22074 # Binary search between lo and hi bounds.
22075 while test "x$ac_lo" != "x$ac_hi"; do
22076 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22077 cat >conftest.
$ac_ext <<_ACEOF
22080 cat confdefs.h
>>conftest.
$ac_ext
22081 cat >>conftest.
$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22095 rm -f conftest.
$ac_objext
22096 if { (ac_try
="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22117 ac_lo=`expr '(' $ac_mid ')' + 1`
22120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22123 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22124 '') if test "$ac_cv_type_long_long" = yes; then
22125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22126 See \`config.log
' for more details." >&5
22127 echo "$as_me: error: cannot compute sizeof (long long)
22128 See \`config.log' for more details.
" >&2;}
22129 { (exit 77); exit 77; }; }
22131 ac_cv_sizeof_long_long=0
22135 cat >conftest.$ac_ext <<_ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 $ac_includes_default
22142 typedef long long ac__type_sizeof_;
22143 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22144 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22146 #include <stdlib.h>
22151 FILE *f = fopen ("conftest.val
", "w
");
22154 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22156 long int i = longval ();
22157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22159 fprintf (f, "%ld
\n", i);
22163 unsigned long int i = ulongval ();
22164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22166 fprintf (f, "%lu
\n", i);
22168 return ferror (f) || fclose (f) != 0;
22174 rm -f conftest$ac_exeext
22175 if { (ac_try="$ac_link"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_link") 2>&5
22183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 ac_cv_sizeof_long_long=`cat conftest.val`
22196 echo "$as_me: program exited with status
$ac_status" >&5
22197 echo "$as_me: failed program was
:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22200 ( exit $ac_status )
22201 if test "$ac_cv_type_long_long" = yes; then
22202 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22203 See \
`config.log' for more details." >&5
22204 echo "$as_me: error: cannot compute sizeof (long long)
22205 See \`config.log
' for more details." >&2;}
22206 { (exit 77); exit 77; }; }
22208 ac_cv_sizeof_long_long=0
22211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22215 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22216 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22220 cat >>confdefs.h <<_ACEOF
22221 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22227 { echo "$as_me:$LINENO: checking for long long" >&5
22228 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22229 if test "${ac_cv_type_long_long+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 cat >conftest.$ac_ext <<_ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_new_;
22243 if ((ac__type_new_ *) 0)
22245 if (sizeof (ac__type_new_))
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22258 (eval "$ac_compile") 2>conftest.er1
22260 grep -v '^
*+' conftest.er1 >conftest.err
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest.$ac_objext; then
22268 ac_cv_type_long_long=yes
22270 echo "$as_me: failed program was:" >&5
22271 sed 's
/^
/| /' conftest.$ac_ext >&5
22273 ac_cv_type_long_long=no
22276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22278 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22279 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22281 # The cast to long int works around a bug in the HP C Compiler
22282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22284 # This bug is HP SR number 8606223364.
22285 { echo "$as_me:$LINENO: checking size of long long" >&5
22286 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22287 if test "${ac_cv_sizeof_long_long+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 if test "$cross_compiling" = yes; then
22291 # Depending upon the size, compute the lo and hi bounds.
22292 cat >conftest.
$ac_ext <<_ACEOF
22295 cat confdefs.h
>>conftest.
$ac_ext
22296 cat >>conftest.
$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 $ac_includes_default
22299 typedef long long ac__type_sizeof_;
22303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22310 rm -f conftest.
$ac_objext
22311 if { (ac_try
="$ac_compile"
22312 case "(($ac_try" in
22313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_compile") 2>conftest.er1
22319 grep -v '^ *+' conftest.er1 >conftest.err
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_c_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest.$ac_objext; then
22329 cat >conftest.$ac_ext <<_ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22351 *) ac_try_echo
=$ac_try;;
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22356 grep -v '^ *+' conftest.er1
>conftest.err
22358 cat conftest.err
>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.
$ac_objext; then
22364 ac_hi
=$ac_mid; break
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.
$ac_ext >&5
22369 ac_lo
=`expr $ac_mid + 1`
22370 if test $ac_lo -le $ac_mid; then
22374 ac_mid
=`expr 2 '*' $ac_mid + 1`
22377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.
$ac_ext >&5
22383 cat >conftest.
$ac_ext <<_ACEOF
22386 cat confdefs.h
>>conftest.
$ac_ext
22387 cat >>conftest.
$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 $ac_includes_default
22390 typedef long long ac__type_sizeof_;
22394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22401 rm -f conftest.
$ac_objext
22402 if { (ac_try
="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22410 grep -v '^ *+' conftest.er1 >conftest.err
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } && {
22415 test -z "$ac_c_werror_flag" ||
22416 test ! -s conftest.err
22417 } && test -s conftest.$ac_objext; then
22420 cat >conftest.$ac_ext <<_ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 $ac_includes_default
22427 typedef long long ac__type_sizeof_;
22431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22438 rm -f conftest.$ac_objext
22439 if { (ac_try="$ac_compile"
22440 case "(($ac_try" in
22441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22442 *) ac_try_echo
=$ac_try;;
22444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22445 (eval "$ac_compile") 2>conftest.er1
22447 grep -v '^ *+' conftest.er1
>conftest.err
22449 cat conftest.err
>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } && {
22452 test -z "$ac_c_werror_flag" ||
22453 test ! -s conftest.err
22454 } && test -s conftest.
$ac_objext; then
22455 ac_lo
=$ac_mid; break
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.
$ac_ext >&5
22460 ac_hi
=`expr '(' $ac_mid ')' - 1`
22461 if test $ac_mid -le $ac_hi; then
22465 ac_mid
=`expr 2 '*' $ac_mid`
22468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.
$ac_ext >&5
22477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22481 # Binary search between lo and hi bounds.
22482 while test "x$ac_lo" != "x$ac_hi"; do
22483 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22484 cat >conftest.
$ac_ext <<_ACEOF
22487 cat confdefs.h
>>conftest.
$ac_ext
22488 cat >>conftest.
$ac_ext <<_ACEOF
22489 /* end confdefs.h. */
22490 $ac_includes_default
22491 typedef long long ac__type_sizeof_;
22495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22502 rm -f conftest.
$ac_objext
22503 if { (ac_try
="$ac_compile"
22504 case "(($ac_try" in
22505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_compile") 2>conftest.er1
22511 grep -v '^ *+' conftest.er1 >conftest.err
22513 cat conftest.err >&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } && {
22516 test -z "$ac_c_werror_flag" ||
22517 test ! -s conftest.err
22518 } && test -s conftest.$ac_objext; then
22521 echo "$as_me: failed program was:" >&5
22522 sed 's/^/| /' conftest.$ac_ext >&5
22524 ac_lo=`expr '(' $ac_mid ')' + 1`
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22531 '') if test "$ac_cv_type_long_long" = yes; then
22532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22533 See \`config.log
' for more details." >&5
22534 echo "$as_me: error: cannot compute sizeof (long long)
22535 See \`config.log' for more details.
" >&2;}
22536 { (exit 77); exit 77; }; }
22538 ac_cv_sizeof_long_long=0
22542 cat >conftest.$ac_ext <<_ACEOF
22545 cat confdefs.h >>conftest.$ac_ext
22546 cat >>conftest.$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22548 $ac_includes_default
22549 typedef long long ac__type_sizeof_;
22550 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22551 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22553 #include <stdlib.h>
22558 FILE *f = fopen ("conftest.val
", "w
");
22561 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22563 long int i = longval ();
22564 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22566 fprintf (f, "%ld
\n", i);
22570 unsigned long int i = ulongval ();
22571 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22573 fprintf (f, "%lu
\n", i);
22575 return ferror (f) || fclose (f) != 0;
22581 rm -f conftest$ac_exeext
22582 if { (ac_try="$ac_link"
22583 case "(($ac_try" in
22584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22587 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_link") 2>&5
22590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22592 { (case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_try") 2>&5
22599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_sizeof_long_long=`cat conftest.val`
22603 echo "$as_me: program exited with status
$ac_status" >&5
22604 echo "$as_me: failed program was
:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22607 ( exit $ac_status )
22608 if test "$ac_cv_type_long_long" = yes; then
22609 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22610 See \
`config.log' for more details." >&5
22611 echo "$as_me: error: cannot compute sizeof (long long)
22612 See \`config.log
' for more details." >&2;}
22613 { (exit 77); exit 77; }; }
22615 ac_cv_sizeof_long_long=0
22618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22622 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22627 cat >>confdefs.h <<_ACEOF
22628 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22632 if test "$ac_cv_sizeof_long_long" != 0; then
22633 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22637 { echo "$as_me:$LINENO: checking for long long" >&5
22638 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22639 if test "${ac_cv_type_long_long+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_new_;
22653 if ((ac__type_new_ *) 0)
22655 if (sizeof (ac__type_new_))
22661 rm -f conftest.$ac_objext
22662 if { (ac_try="$ac_compile"
22663 case "(($ac_try" in
22664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22665 *) ac_try_echo=$ac_try;;
22667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22668 (eval "$ac_compile") 2>conftest.er1
22670 grep -v '^
*+' conftest.er1 >conftest.err
22672 cat conftest.err >&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } && {
22675 test -z "$ac_c_werror_flag" ||
22676 test ! -s conftest.err
22677 } && test -s conftest.$ac_objext; then
22678 ac_cv_type_long_long=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's
/^
/| /' conftest.$ac_ext >&5
22683 ac_cv_type_long_long=no
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22689 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22691 # The cast to long int works around a bug in the HP C Compiler
22692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22694 # This bug is HP SR number 8606223364.
22695 { echo "$as_me:$LINENO: checking size of long long" >&5
22696 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22697 if test "${ac_cv_sizeof_long_long+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 if test "$cross_compiling" = yes; then
22701 # Depending upon the size, compute the lo and hi bounds.
22702 cat >conftest.
$ac_ext <<_ACEOF
22705 cat confdefs.h
>>conftest.
$ac_ext
22706 cat >>conftest.
$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 $ac_includes_default
22709 typedef long long ac__type_sizeof_;
22713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22720 rm -f conftest.
$ac_objext
22721 if { (ac_try
="$ac_compile"
22722 case "(($ac_try" in
22723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22724 *) ac_try_echo=$ac_try;;
22726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22727 (eval "$ac_compile") 2>conftest.er1
22729 grep -v '^ *+' conftest.er1 >conftest.err
22731 cat conftest.err >&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } && {
22734 test -z "$ac_c_werror_flag" ||
22735 test ! -s conftest.err
22736 } && test -s conftest.$ac_objext; then
22739 cat >conftest.$ac_ext <<_ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 $ac_includes_default
22746 typedef long long ac__type_sizeof_;
22750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22757 rm -f conftest.$ac_objext
22758 if { (ac_try="$ac_compile"
22759 case "(($ac_try" in
22760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22761 *) ac_try_echo
=$ac_try;;
22763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22764 (eval "$ac_compile") 2>conftest.er1
22766 grep -v '^ *+' conftest.er1
>conftest.err
22768 cat conftest.err
>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } && {
22771 test -z "$ac_c_werror_flag" ||
22772 test ! -s conftest.err
22773 } && test -s conftest.
$ac_objext; then
22774 ac_hi
=$ac_mid; break
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.
$ac_ext >&5
22779 ac_lo
=`expr $ac_mid + 1`
22780 if test $ac_lo -le $ac_mid; then
22784 ac_mid
=`expr 2 '*' $ac_mid + 1`
22787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22790 echo "$as_me: failed program was:" >&5
22791 sed 's/^/| /' conftest.
$ac_ext >&5
22793 cat >conftest.
$ac_ext <<_ACEOF
22796 cat confdefs.h
>>conftest.
$ac_ext
22797 cat >>conftest.
$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22799 $ac_includes_default
22800 typedef long long ac__type_sizeof_;
22804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22811 rm -f conftest.
$ac_objext
22812 if { (ac_try
="$ac_compile"
22813 case "(($ac_try" in
22814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_compile") 2>conftest.er1
22820 grep -v '^ *+' conftest.er1 >conftest.err
22822 cat conftest.err >&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } && {
22825 test -z "$ac_c_werror_flag" ||
22826 test ! -s conftest.err
22827 } && test -s conftest.$ac_objext; then
22830 cat >conftest.$ac_ext <<_ACEOF
22833 cat confdefs.h >>conftest.$ac_ext
22834 cat >>conftest.$ac_ext <<_ACEOF
22835 /* end confdefs.h. */
22836 $ac_includes_default
22837 typedef long long ac__type_sizeof_;
22841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22852 *) ac_try_echo
=$ac_try;;
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22857 grep -v '^ *+' conftest.er1
>conftest.err
22859 cat conftest.err
>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } && {
22862 test -z "$ac_c_werror_flag" ||
22863 test ! -s conftest.err
22864 } && test -s conftest.
$ac_objext; then
22865 ac_lo
=$ac_mid; break
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.
$ac_ext >&5
22870 ac_hi
=`expr '(' $ac_mid ')' - 1`
22871 if test $ac_mid -le $ac_hi; then
22875 ac_mid
=`expr 2 '*' $ac_mid`
22878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.
$ac_ext >&5
22887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22891 # Binary search between lo and hi bounds.
22892 while test "x$ac_lo" != "x$ac_hi"; do
22893 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22894 cat >conftest.
$ac_ext <<_ACEOF
22897 cat confdefs.h
>>conftest.
$ac_ext
22898 cat >>conftest.
$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 $ac_includes_default
22901 typedef long long ac__type_sizeof_;
22905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22912 rm -f conftest.
$ac_objext
22913 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22921 grep -v '^ *+' conftest.er1 >conftest.err
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } && {
22926 test -z "$ac_c_werror_flag" ||
22927 test ! -s conftest.err
22928 } && test -s conftest.$ac_objext; then
22931 echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.$ac_ext >&5
22934 ac_lo=`expr '(' $ac_mid ')' + 1`
22937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22941 '') if test "$ac_cv_type_long_long" = yes; then
22942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22943 See \`config.log
' for more details." >&5
22944 echo "$as_me: error: cannot compute sizeof (long long)
22945 See \`config.log' for more details.
" >&2;}
22946 { (exit 77); exit 77; }; }
22948 ac_cv_sizeof_long_long=0
22952 cat >conftest.$ac_ext <<_ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958 $ac_includes_default
22959 typedef long long ac__type_sizeof_;
22960 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22961 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22963 #include <stdlib.h>
22968 FILE *f = fopen ("conftest.val
", "w
");
22971 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22973 long int i = longval ();
22974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22976 fprintf (f, "%ld
\n", i);
22980 unsigned long int i = ulongval ();
22981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22983 fprintf (f, "%lu
\n", i);
22985 return ferror (f) || fclose (f) != 0;
22991 rm -f conftest$ac_exeext
22992 if { (ac_try="$ac_link"
22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_link") 2>&5
23000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23002 { (case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_try") 2>&5
23009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 ac_cv_sizeof_long_long=`cat conftest.val`
23013 echo "$as_me: program exited with status
$ac_status" >&5
23014 echo "$as_me: failed program was
:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23017 ( exit $ac_status )
23018 if test "$ac_cv_type_long_long" = yes; then
23019 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23020 See \
`config.log' for more details." >&5
23021 echo "$as_me: error: cannot compute sizeof (long long)
23022 See \`config.log
' for more details." >&2;}
23023 { (exit 77); exit 77; }; }
23025 ac_cv_sizeof_long_long=0
23028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23032 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23037 cat >>confdefs.h <<_ACEOF
23038 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23044 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23045 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23046 if test "${ac_cv_type_wchar_t+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23056 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23057 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23058 # error "fake wchar_t"
23060 #ifdef HAVE_WCHAR_H
23062 # include <stddef.h>
23064 # include <wchar.h>
23066 #ifdef HAVE_STDLIB_H
23067 # include <stdlib.h>
23073 typedef wchar_t ac__type_new_
;
23077 if ((ac__type_new_
*) 0)
23079 if (sizeof
(ac__type_new_
))
23085 rm -f conftest.
$ac_objext
23086 if { (ac_try
="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23094 grep -v '^ *+' conftest.er1 >conftest.err
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_c_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23102 ac_cv_type_wchar_t=yes
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23107 ac_cv_type_wchar_t=no
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23113 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23115 # The cast to long int works around a bug in the HP C Compiler
23116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23117 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23118 # This bug is HP SR number 8606223364.
23119 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23120 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23121 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 if test "$cross_compiling" = yes; then
23125 # Depending upon the size, compute the lo and hi bounds.
23126 cat >conftest.$ac_ext <<_ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23133 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23134 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23135 # error "fake wchar_t"
23137 #ifdef HAVE_WCHAR_H
23139 # include <stddef.h>
23141 # include <wchar.h>
23143 #ifdef HAVE_STDLIB_H
23144 # include <stdlib.h>
23150 typedef wchar_t ac__type_sizeof_
;
23154 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23161 rm -f conftest.
$ac_objext
23162 if { (ac_try
="$ac_compile"
23163 case "(($ac_try" in
23164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_compile") 2>conftest.er1
23170 grep -v '^ *+' conftest.er1 >conftest.err
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest.$ac_objext; then
23180 cat >conftest.$ac_ext <<_ACEOF
23183 cat confdefs.h >>conftest.$ac_ext
23184 cat >>conftest.$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23189 # error "fake wchar_t"
23191 #ifdef HAVE_WCHAR_H
23193 # include <stddef.h>
23195 # include <wchar.h>
23197 #ifdef HAVE_STDLIB_H
23198 # include <stdlib.h>
23204 typedef wchar_t ac__type_sizeof_;
23208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23215 rm -f conftest.$ac_objext
23216 if { (ac_try="$ac_compile"
23217 case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23219 *) ac_try_echo
=$ac_try;;
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_compile") 2>conftest.er1
23224 grep -v '^ *+' conftest.er1
>conftest.err
23226 cat conftest.err
>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } && {
23229 test -z "$ac_c_werror_flag" ||
23230 test ! -s conftest.err
23231 } && test -s conftest.
$ac_objext; then
23232 ac_hi
=$ac_mid; break
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_lo
=`expr $ac_mid + 1`
23238 if test $ac_lo -le $ac_mid; then
23242 ac_mid
=`expr 2 '*' $ac_mid + 1`
23245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.
$ac_ext >&5
23251 cat >conftest.
$ac_ext <<_ACEOF
23254 cat confdefs.h
>>conftest.
$ac_ext
23255 cat >>conftest.
$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23258 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23259 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23260 # error "fake wchar_t"
23262 #ifdef HAVE_WCHAR_H
23264 # include <stddef.h>
23266 # include <wchar.h>
23268 #ifdef HAVE_STDLIB_H
23269 # include <stdlib.h>
23275 typedef wchar_t ac__type_sizeof_;
23279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23286 rm -f conftest.
$ac_objext
23287 if { (ac_try
="$ac_compile"
23288 case "(($ac_try" in
23289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23293 (eval "$ac_compile") 2>conftest.er1
23295 grep -v '^ *+' conftest.er1 >conftest.err
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } && {
23300 test -z "$ac_c_werror_flag" ||
23301 test ! -s conftest.err
23302 } && test -s conftest.$ac_objext; then
23305 cat >conftest.$ac_ext <<_ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23312 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23313 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23314 # error "fake wchar_t"
23316 #ifdef HAVE_WCHAR_H
23318 # include <stddef.h>
23320 # include <wchar.h>
23322 #ifdef HAVE_STDLIB_H
23323 # include <stdlib.h>
23329 typedef wchar_t ac__type_sizeof_;
23333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23340 rm -f conftest.$ac_objext
23341 if { (ac_try="$ac_compile"
23342 case "(($ac_try" in
23343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23344 *) ac_try_echo
=$ac_try;;
23346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23347 (eval "$ac_compile") 2>conftest.er1
23349 grep -v '^ *+' conftest.er1
>conftest.err
23351 cat conftest.err
>&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } && {
23354 test -z "$ac_c_werror_flag" ||
23355 test ! -s conftest.err
23356 } && test -s conftest.
$ac_objext; then
23357 ac_lo
=$ac_mid; break
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23362 ac_hi
=`expr '(' $ac_mid ')' - 1`
23363 if test $ac_mid -le $ac_hi; then
23367 ac_mid
=`expr 2 '*' $ac_mid`
23370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23373 echo "$as_me: failed program was:" >&5
23374 sed 's/^/| /' conftest.
$ac_ext >&5
23379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23383 # Binary search between lo and hi bounds.
23384 while test "x$ac_lo" != "x$ac_hi"; do
23385 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23386 cat >conftest.
$ac_ext <<_ACEOF
23389 cat confdefs.h
>>conftest.
$ac_ext
23390 cat >>conftest.
$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23393 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23394 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23395 # error "fake wchar_t"
23397 #ifdef HAVE_WCHAR_H
23399 # include <stddef.h>
23401 # include <wchar.h>
23403 #ifdef HAVE_STDLIB_H
23404 # include <stdlib.h>
23410 typedef wchar_t ac__type_sizeof_;
23414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23421 rm -f conftest.
$ac_objext
23422 if { (ac_try
="$ac_compile"
23423 case "(($ac_try" in
23424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_compile") 2>conftest.er1
23430 grep -v '^ *+' conftest.er1 >conftest.err
23432 cat conftest.err >&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } && {
23435 test -z "$ac_c_werror_flag" ||
23436 test ! -s conftest.err
23437 } && test -s conftest.$ac_objext; then
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23443 ac_lo=`expr '(' $ac_mid ')' + 1`
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23450 '') if test "$ac_cv_type_wchar_t" = yes; then
23451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23452 See \`config.log
' for more details." >&5
23453 echo "$as_me: error: cannot compute sizeof (wchar_t)
23454 See \`config.log' for more details.
" >&2;}
23455 { (exit 77); exit 77; }; }
23457 ac_cv_sizeof_wchar_t=0
23461 cat >conftest.$ac_ext <<_ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23470 # error "fake wchar_t
"
23472 #ifdef HAVE_WCHAR_H
23474 # include <stddef.h>
23476 # include <wchar.h>
23478 #ifdef HAVE_STDLIB_H
23479 # include <stdlib.h>
23485 typedef wchar_t ac__type_sizeof_;
23486 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23487 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23489 #include <stdlib.h>
23494 FILE *f = fopen ("conftest.val
", "w
");
23497 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23499 long int i = longval ();
23500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23502 fprintf (f, "%ld
\n", i);
23506 unsigned long int i = ulongval ();
23507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23509 fprintf (f, "%lu
\n", i);
23511 return ferror (f) || fclose (f) != 0;
23517 rm -f conftest$ac_exeext
23518 if { (ac_try="$ac_link"
23519 case "(($ac_try" in
23520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23521 *) ac_try_echo=$ac_try;;
23523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23524 (eval "$ac_link") 2>&5
23526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23528 { (case "(($ac_try" in
23529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23530 *) ac_try_echo=$ac_try;;
23532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23533 (eval "$ac_try") 2>&5
23535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_sizeof_wchar_t=`cat conftest.val`
23539 echo "$as_me: program exited with status
$ac_status" >&5
23540 echo "$as_me: failed program was
:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23543 ( exit $ac_status )
23544 if test "$ac_cv_type_wchar_t" = yes; then
23545 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23546 See \
`config.log' for more details." >&5
23547 echo "$as_me: error: cannot compute sizeof (wchar_t)
23548 See \`config.log
' for more details." >&2;}
23549 { (exit 77); exit 77; }; }
23551 ac_cv_sizeof_wchar_t=0
23554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23558 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23559 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23563 cat >>confdefs.h <<_ACEOF
23564 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23568 if test "$ac_cv_sizeof_wchar_t" != 0; then
23574 { echo "$as_me:$LINENO: checking for va_copy" >&5
23575 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23576 if test "${wx_cv_func_va_copy+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 ac_cpp='$CXXCPP $CPPFLAGS'
23582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23583 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23586 cat >conftest.$ac_ext <<_ACEOF
23588 #include <stdarg.h>
23589 void foo(char *f, ...)
23603 rm -f conftest.$ac_objext conftest$ac_exeext
23604 if { (ac_try="$ac_link"
23605 case "(($ac_try" in
23606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_link") 2>conftest.er1
23612 grep -v '^
*+' conftest.er1 >conftest.err
23614 cat conftest.err >&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } && {
23617 test -z "$ac_cxx_werror_flag" ||
23618 test ! -s conftest.err
23619 } && test -s conftest$ac_exeext &&
23620 $as_test_x conftest$ac_exeext; then
23621 wx_cv_func_va_copy=yes
23623 echo "$as_me: failed program was:" >&5
23624 sed 's
/^
/| /' conftest.$ac_ext >&5
23626 wx_cv_func_va_copy=no
23630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23631 conftest$ac_exeext conftest.$ac_ext
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23635 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23642 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23644 if test $wx_cv_func_va_copy = "yes"; then
23645 cat >>confdefs.h <<\_ACEOF
23646 #define HAVE_VA_COPY 1
23650 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23651 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23652 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 if test "$cross_compiling" = yes; then
23657 wx_cv_type_va_list_lvalue=yes
23660 cat >conftest.$ac_ext <<_ACEOF
23662 #include <stdarg.h>
23663 int foo(char *f, ...)
23668 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23676 return foo("hi", 17);
23679 rm -f conftest$ac_exeext
23680 if { (ac_try="$ac_link"
23681 case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_link") 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23690 { (case "(($ac_try" in
23691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23692 *) ac_try_echo=$ac_try;;
23694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23695 (eval "$ac_try") 2>&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 wx_cv_type_va_list_lvalue=yes
23701 echo "$as_me: program exited with status $ac_status" >&5
23702 echo "$as_me: failed program was:" >&5
23703 sed 's
/^
/| /' conftest.$ac_ext >&5
23705 ( exit $ac_status )
23706 wx_cv_type_va_list_lvalue=no
23708 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23715 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23716 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23718 if test $wx_cv_type_va_list_lvalue != "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define VA_LIST_IS_ARRAY 1
23726 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23728 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23729 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23730 if test "${wx_cv_have_variadic_macros+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23737 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23740 cat >conftest.$ac_ext <<_ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23748 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23754 test("%s %d %p", "test", 1, 0);
23761 rm -f conftest.$ac_objext
23762 if { (ac_try="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23765 *) ac_try_echo=$ac_try;;
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23770 grep -v '^
*+' conftest.er1 >conftest.err
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_cxx_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.$ac_objext; then
23778 wx_cv_have_variadic_macros=yes
23780 echo "$as_me: failed program was:" >&5
23781 sed 's
/^
/| /' conftest.$ac_ext >&5
23783 wx_cv_have_variadic_macros=no
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23791 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23798 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23800 if test $wx_cv_have_variadic_macros = "yes"; then
23801 cat >>confdefs.h <<\_ACEOF
23802 #define HAVE_VARIADIC_MACROS 1
23809 LARGEFILE_CPPFLAGS=
23810 # Check whether --enable-largefile was given.
23811 if test "${enable_largefile+set}" = set; then
23812 enableval=$enable_largefile;
23815 if test "$enable_largefile" != no; then
23818 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23819 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23820 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23821 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 #define _FILE_OFFSET_BITS 64
23831 #include <sys/types.h>
23836 unsigned int field: sizeof(off_t) == 8;
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23852 grep -v '^
*+' conftest.er1 >conftest.err
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.$ac_objext; then
23860 ac_cv_sys_file_offset_bits=64
23862 echo "$as_me: failed program was:" >&5
23863 sed 's
/^
/| /' conftest.$ac_ext >&5
23865 ac_cv_sys_file_offset_bits=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23873 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23875 if test "$ac_cv_sys_file_offset_bits" != no; then
23877 cat >>confdefs.h <<_ACEOF
23878 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23883 if test "x$wx_largefile" != "xyes"; then
23885 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23886 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23887 if test "${ac_cv_sys_large_files+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23891 cat >conftest.$ac_ext <<_ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897 #define _LARGE_FILES 1
23898 #include <sys/types.h>
23903 unsigned int field: sizeof(off_t) == 8;
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23919 grep -v '^
*+' conftest.er1 >conftest.err
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_c_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927 ac_cv_sys_large_files=1
23929 echo "$as_me: failed program was:" >&5
23930 sed 's
/^
/| /' conftest.$ac_ext >&5
23932 ac_cv_sys_large_files=no
23935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23940 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23942 if test "$ac_cv_sys_large_files" != no; then
23944 cat >>confdefs.h <<_ACEOF
23945 #define _LARGE_FILES $ac_cv_sys_large_files
23952 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23953 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23954 if test "x$wx_largefile" = "xyes"; then
23955 cat >>confdefs.h <<\_ACEOF
23956 #define HAVE_LARGEFILE_SUPPORT 1
23960 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23961 echo "${ECHO_T}$wx_largefile" >&6; }
23964 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23965 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23966 elif test "$ac_cv_sys_large_files" = 1; then
23967 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23970 if test -n "$LARGEFILE_CPPFLAGS"; then
23971 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23973 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23974 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23975 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23976 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23977 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 ac_cpp='$CXXCPP $CPPFLAGS'
23982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23983 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23986 cat >conftest.$ac_ext <<_ACEOF
23989 cat confdefs.h >>conftest.$ac_ext
23990 cat >>conftest.$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23997 #ifndef __STDC_EXT__
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24014 grep -v '^
*+' conftest.er1 >conftest.err
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_cxx_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 wx_cv_STDC_EXT_required=no
24024 echo "$as_me: failed program was:" >&5
24025 sed 's
/^
/| /' conftest.$ac_ext >&5
24027 wx_cv_STDC_EXT_required=yes
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24035 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24041 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24042 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24043 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24044 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24050 ac_cpp='$CXXCPP $CPPFLAGS'
24051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24052 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055 old_CPPFLAGS="$CPPFLAGS"
24056 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24057 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24058 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24059 if test "${ac_cv_sys_largefile_source+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24063 cat >conftest.$ac_ext <<_ACEOF
24066 cat confdefs.h >>conftest.$ac_ext
24067 cat >>conftest.$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 #include <sys/types.h> /* for off_t */
24074 int (*fp) (FILE *, off_t, int) = fseeko;
24075 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24080 rm -f conftest.$ac_objext conftest$ac_exeext
24081 if { (ac_try="$ac_link"
24082 case "(($ac_try" in
24083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_link") 2>conftest.er1
24089 grep -v '^
*+' conftest.er1 >conftest.err
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && {
24094 test -z "$ac_cxx_werror_flag" ||
24095 test ! -s conftest.err
24096 } && test -s conftest$ac_exeext &&
24097 $as_test_x conftest$ac_exeext; then
24098 ac_cv_sys_largefile_source=no; break
24100 echo "$as_me: failed program was:" >&5
24101 sed 's
/^
/| /' conftest.$ac_ext >&5
24106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24107 conftest$ac_exeext conftest.$ac_ext
24108 cat >conftest.$ac_ext <<_ACEOF
24111 cat confdefs.h >>conftest.$ac_ext
24112 cat >>conftest.$ac_ext <<_ACEOF
24113 /* end confdefs.h. */
24114 #define _LARGEFILE_SOURCE 1
24115 #include <sys/types.h> /* for off_t */
24120 int (*fp) (FILE *, off_t, int) = fseeko;
24121 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24126 rm -f conftest.$ac_objext conftest$ac_exeext
24127 if { (ac_try="$ac_link"
24128 case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_link") 2>conftest.er1
24135 grep -v '^
*+' conftest.er1 >conftest.err
24137 cat conftest.err >&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && {
24140 test -z "$ac_cxx_werror_flag" ||
24141 test ! -s conftest.err
24142 } && test -s conftest$ac_exeext &&
24143 $as_test_x conftest$ac_exeext; then
24144 ac_cv_sys_largefile_source=1; break
24146 echo "$as_me: failed program was:" >&5
24147 sed 's
/^
/| /' conftest.$ac_ext >&5
24152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24153 conftest$ac_exeext conftest.$ac_ext
24154 ac_cv_sys_largefile_source=unknown
24158 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24159 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24160 case $ac_cv_sys_largefile_source in #(
24163 cat >>confdefs.h <<_ACEOF
24164 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24170 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24171 # in glibc 2.1.3, but that breaks too many other things.
24172 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24173 if test $ac_cv_sys_largefile_source != unknown; then
24175 cat >>confdefs.h <<\_ACEOF
24176 #define HAVE_FSEEKO 1
24181 CPPFLAGS="$old_CPPFLAGS"
24183 ac_cpp='$CPP $CPPFLAGS'
24184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24188 if test "$ac_cv_sys_largefile_source" != no; then
24189 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24192 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24193 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24194 if test "${ac_cv_c_bigendian+set}" = set; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 ac_cv_c_bigendian=unknown
24198 # See if sys/param.h defines the BYTE_ORDER macro.
24199 cat >conftest.$ac_ext <<_ACEOF
24202 cat confdefs.h >>conftest.$ac_ext
24203 cat >>conftest.$ac_ext <<_ACEOF
24204 /* end confdefs.h. */
24205 #include <sys/types.h>
24206 #include <sys/param.h>
24211 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24212 bogus endian macros
24218 rm -f conftest.$ac_objext
24219 if { (ac_try="$ac_compile"
24220 case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24225 (eval "$ac_compile") 2>conftest.er1
24227 grep -v '^
*+' conftest.er1 >conftest.err
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } && {
24232 test -z "$ac_c_werror_flag" ||
24233 test ! -s conftest.err
24234 } && test -s conftest.$ac_objext; then
24235 # It does; now see whether it defined to BIG_ENDIAN or not.
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #include <sys/types.h>
24243 #include <sys/param.h>
24248 #if BYTE_ORDER != BIG_ENDIAN
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24264 grep -v '^
*+' conftest.er1 >conftest.err
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_c_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.$ac_objext; then
24272 ac_cv_c_bigendian=yes
24274 echo "$as_me: failed program was:" >&5
24275 sed 's
/^
/| /' conftest.$ac_ext >&5
24277 ac_cv_c_bigendian=no
24280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282 echo "$as_me: failed program was:" >&5
24283 sed 's
/^
/| /' conftest.$ac_ext >&5
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 if test $ac_cv_c_bigendian = unknown; then
24290 if test "$cross_compiling" = yes; then
24291 ac_cv_c_bigendian=unknown
24293 cat >conftest.$ac_ext <<_ACEOF
24296 cat confdefs.h >>conftest.$ac_ext
24297 cat >>conftest.$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24300 /* Are we little or big endian? From Harbison&Steele. */
24304 char c[sizeof (long)];
24307 exit (u.c[sizeof (long) - 1] == 1);
24310 rm -f conftest$ac_exeext
24311 if { (ac_try="$ac_link"
24312 case "(($ac_try" in
24313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314 *) ac_try_echo=$ac_try;;
24316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 (eval "$ac_link") 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24321 { (case "(($ac_try" in
24322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24323 *) ac_try_echo=$ac_try;;
24325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24326 (eval "$ac_try") 2>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 ac_cv_c_bigendian=no
24332 echo "$as_me: program exited with status $ac_status" >&5
24333 echo "$as_me: failed program was:" >&5
24334 sed 's
/^
/| /' conftest.$ac_ext >&5
24336 ( exit $ac_status )
24337 ac_cv_c_bigendian=yes
24339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24345 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24346 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24347 if test $ac_cv_c_bigendian = unknown; then
24348 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24349 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24351 if test $ac_cv_c_bigendian = yes; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define WORDS_BIGENDIAN 1
24362 ac_cpp='$CXXCPP $CPPFLAGS'
24363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24364 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369 for ac_header in iostream
24371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24375 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 cat >conftest.$ac_ext <<_ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24385 #include <$ac_header>
24387 rm -f conftest.$ac_objext
24388 if { (ac_try="$ac_compile"
24389 case "(($ac_try" in
24390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24391 *) ac_try_echo=$ac_try;;
24393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24394 (eval "$ac_compile") 2>conftest.er1
24396 grep -v '^
*+' conftest.er1 >conftest.err
24398 cat conftest.err >&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } && {
24401 test -z "$ac_cxx_werror_flag" ||
24402 test ! -s conftest.err
24403 } && test -s conftest.$ac_objext; then
24404 eval "$as_ac_Header=yes"
24406 echo "$as_me: failed program was:" >&5
24407 sed 's
/^
/| /' conftest.$ac_ext >&5
24409 eval "$as_ac_Header=no"
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24414 ac_res=`eval echo '${'$as_ac_Header'}'`
24415 { echo "$as_me:$LINENO: result: $ac_res" >&5
24416 echo "${ECHO_T}$ac_res" >&6; }
24417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24418 cat >>confdefs.h <<_ACEOF
24419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24427 if test "$ac_cv_header_iostream" = "yes" ; then
24430 cat >>confdefs.h <<\_ACEOF
24431 #define wxUSE_IOSTREAMH 1
24437 ac_cpp='$CPP $CPPFLAGS'
24438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24439 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24445 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24446 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24447 if test "${wx_cv_explicit+set}" = set; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24453 ac_cpp='$CXXCPP $CPPFLAGS'
24454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24455 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat >conftest.$ac_ext <<_ACEOF
24462 cat confdefs.h >>conftest.$ac_ext
24463 cat >>conftest.$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24466 class Foo { public: explicit Foo(int) {} };
24478 rm -f conftest.$ac_objext
24479 if { (ac_try="$ac_compile"
24480 case "(($ac_try" in
24481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24482 *) ac_try_echo=$ac_try;;
24484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24485 (eval "$ac_compile") 2>conftest.er1
24487 grep -v '^
*+' conftest.er1 >conftest.err
24489 cat conftest.err >&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } && {
24492 test -z "$ac_cxx_werror_flag" ||
24493 test ! -s conftest.err
24494 } && test -s conftest.$ac_objext; then
24496 cat >conftest.$ac_ext <<_ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24503 class Foo { public: explicit Foo(int) {} };
24504 static void TakeFoo(const Foo& foo) { }
24517 rm -f conftest.$ac_objext
24518 if { (ac_try="$ac_compile"
24519 case "(($ac_try" in
24520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24521 *) ac_try_echo=$ac_try;;
24523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24524 (eval "$ac_compile") 2>conftest.er1
24526 grep -v '^
*+' conftest.er1 >conftest.err
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } && {
24531 test -z "$ac_cxx_werror_flag" ||
24532 test ! -s conftest.err
24533 } && test -s conftest.$ac_objext; then
24536 echo "$as_me: failed program was:" >&5
24537 sed 's
/^
/| /' conftest.$ac_ext >&5
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24546 echo "$as_me: failed program was:" >&5
24547 sed 's
/^
/| /' conftest.$ac_ext >&5
24553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24558 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24563 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24564 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24566 if test "$wx_cv_explicit" = "yes"; then
24567 cat >>confdefs.h <<\_ACEOF
24568 #define HAVE_EXPLICIT 1
24574 if test "x$SUNCXX" = xyes; then
24575 CXXFLAGS="-features=tmplife $CXXFLAGS"
24578 if test "x$SUNCC" = xyes; then
24579 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24582 if test "x$SGICC" = "xyes"; then
24583 CFLAGS="-woff 3970 $CFLAGS"
24585 if test "x$SGICXX" = "xyes"; then
24586 CXXFLAGS="-woff 3970 $CXXFLAGS"
24589 if test "x$HPCC" = "xyes"; then
24590 CFLAGS="+W 2011,2450 $CFLAGS"
24592 if test "x$HPCXX" = "xyes"; then
24593 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24596 if test "x$COMPAQCXX" = "xyes"; then
24597 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24601 ac_cpp='$CXXCPP $CPPFLAGS'
24602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24603 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24607 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24608 if test "$wxUSE_UNICODE" = "yes"; then
24609 std_string="std::wstring"
24610 char_type="wchar_t"
24612 std_string="std::string"
24616 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24617 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24618 if test "${wx_cv_class_stdstring+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 cat >conftest.$ac_ext <<_ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24637 rm -f conftest.$ac_objext
24638 if { (ac_try="$ac_compile"
24639 case "(($ac_try" in
24640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24641 *) ac_try_echo=$ac_try;;
24643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24644 (eval "$ac_compile") 2>conftest.er1
24646 grep -v '^
*+' conftest.er1 >conftest.err
24648 cat conftest.err >&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } && {
24651 test -z "$ac_cxx_werror_flag" ||
24652 test ! -s conftest.err
24653 } && test -s conftest.$ac_objext; then
24654 wx_cv_class_stdstring=yes
24656 echo "$as_me: failed program was:" >&5
24657 sed 's
/^
/| /' conftest.$ac_ext >&5
24659 wx_cv_class_stdstring=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24668 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24670 if test "$wx_cv_class_stdstring" = yes; then
24671 if test "$wxUSE_UNICODE" = "yes"; then
24672 cat >>confdefs.h <<\_ACEOF
24673 #define HAVE_STD_WSTRING 1
24678 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24679 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24680 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 cat >conftest.$ac_ext <<_ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24691 #ifdef HAVE_WCHAR_H
24693 # include <stddef.h>
24695 # include <wchar.h>
24697 #ifdef HAVE_STDLIB_H
24698 # include <stdlib.h>
24706 std::basic_string<$char_type> foo;
24707 const $char_type* dummy = foo.c_str();
24712 rm -f conftest.$ac_objext
24713 if { (ac_try="$ac_compile"
24714 case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_compile") 2>conftest.er1
24721 grep -v '^
*+' conftest.er1 >conftest.err
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && {
24726 test -z "$ac_cxx_werror_flag" ||
24727 test ! -s conftest.err
24728 } && test -s conftest.$ac_objext; then
24729 wx_cv_class_stdbasicstring=yes
24731 echo "$as_me: failed program was:" >&5
24732 sed 's
/^
/| /' conftest.$ac_ext >&5
24734 wx_cv_class_stdbasicstring=no
24738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24742 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24743 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24745 if test "$wx_cv_class_stdbasicstring" != yes; then
24746 if test "$wxUSE_STL" = "yes"; then
24747 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24748 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24749 { (exit 1); exit 1; }; }
24750 elif test "$wxUSE_STD_STRING" = "yes"; then
24751 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24752 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24753 { (exit 1); exit 1; }; }
24755 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24756 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24757 wxUSE_STD_STRING=no
24763 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24764 { echo "$as_me:$LINENO: checking for std::istream" >&5
24765 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24766 if test "${ac_cv_type_std__istream+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 cat >conftest.$ac_ext <<_ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775 #include <iostream>
24777 typedef std::istream ac__type_new_;
24781 if ((ac__type_new_ *) 0)
24783 if (sizeof (ac__type_new_))
24789 rm -f conftest.$ac_objext
24790 if { (ac_try="$ac_compile"
24791 case "(($ac_try" in
24792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24793 *) ac_try_echo=$ac_try;;
24795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24796 (eval "$ac_compile") 2>conftest.er1
24798 grep -v '^
*+' conftest.er1 >conftest.err
24800 cat conftest.err >&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } && {
24803 test -z "$ac_cxx_werror_flag" ||
24804 test ! -s conftest.err
24805 } && test -s conftest.$ac_objext; then
24806 ac_cv_type_std__istream=yes
24808 echo "$as_me: failed program was:" >&5
24809 sed 's
/^
/| /' conftest.$ac_ext >&5
24811 ac_cv_type_std__istream=no
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24816 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24817 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24818 if test $ac_cv_type_std__istream = yes; then
24820 cat >>confdefs.h <<_ACEOF
24821 #define HAVE_STD__ISTREAM 1
24826 wxUSE_STD_IOSTREAM=no
24828 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24829 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24830 if test "${ac_cv_type_std__ostream+set}" = set; then
24831 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 cat >conftest.$ac_ext <<_ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <iostream>
24841 typedef std::ostream ac__type_new_;
24845 if ((ac__type_new_ *) 0)
24847 if (sizeof (ac__type_new_))
24853 rm -f conftest.$ac_objext
24854 if { (ac_try="$ac_compile"
24855 case "(($ac_try" in
24856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24857 *) ac_try_echo=$ac_try;;
24859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24860 (eval "$ac_compile") 2>conftest.er1
24862 grep -v '^
*+' conftest.er1 >conftest.err
24864 cat conftest.err >&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } && {
24867 test -z "$ac_cxx_werror_flag" ||
24868 test ! -s conftest.err
24869 } && test -s conftest.$ac_objext; then
24870 ac_cv_type_std__ostream=yes
24872 echo "$as_me: failed program was:" >&5
24873 sed 's
/^
/| /' conftest.$ac_ext >&5
24875 ac_cv_type_std__ostream=no
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24880 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24881 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24882 if test $ac_cv_type_std__ostream = yes; then
24884 cat >>confdefs.h <<_ACEOF
24885 #define HAVE_STD__OSTREAM 1
24890 wxUSE_STD_IOSTREAM=no
24894 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24895 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24896 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24897 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24898 { (exit 1); exit 1; }; }
24900 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24901 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24906 if test "$wxUSE_STL" = "yes"; then
24907 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24908 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24909 if test "${wx_cv_lib_stl+set}" = set; then
24910 echo $ECHO_N "(cached) $ECHO_C" >&6
24912 cat >conftest.$ac_ext <<_ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24919 #include <functional>
24920 #include <algorithm>
24926 std::vector<int> moo;
24927 std::list<int> foo;
24928 std::vector<int>::iterator it =
24929 std::find_if(moo.begin(), moo.end(),
24930 std::bind2nd(std::less<int>(), 3));
24935 rm -f conftest.$ac_objext
24936 if { (ac_try="$ac_compile"
24937 case "(($ac_try" in
24938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24939 *) ac_try_echo=$ac_try;;
24941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24942 (eval "$ac_compile") 2>conftest.er1
24944 grep -v '^
*+' conftest.er1 >conftest.err
24946 cat conftest.err >&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } && {
24949 test -z "$ac_cxx_werror_flag" ||
24950 test ! -s conftest.err
24951 } && test -s conftest.$ac_objext; then
24954 echo "$as_me: failed program was:" >&5
24955 sed 's
/^
/| /' conftest.$ac_ext >&5
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24965 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24967 if test "$wx_cv_lib_stl" != yes; then
24968 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24969 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24970 { (exit 1); exit 1; }; }
24973 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24974 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24975 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 cat >conftest.$ac_ext <<_ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24988 std::string foo, bar;
24990 foo.compare(1, 1, bar);
24991 foo.compare(1, 1, bar, 1, 1);
24993 foo.compare(1, 1, "");
24994 foo.compare(1, 1, "", 2);
24999 rm -f conftest.$ac_objext
25000 if { (ac_try="$ac_compile"
25001 case "(($ac_try" in
25002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25003 *) ac_try_echo=$ac_try;;
25005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25006 (eval "$ac_compile") 2>conftest.er1
25008 grep -v '^
*+' conftest.er1 >conftest.err
25010 cat conftest.err >&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); } && {
25013 test -z "$ac_cxx_werror_flag" ||
25014 test ! -s conftest.err
25015 } && test -s conftest.$ac_objext; then
25016 wx_cv_func_stdstring_compare=yes
25018 echo "$as_me: failed program was:" >&5
25019 sed 's
/^
/| /' conftest.$ac_ext >&5
25021 wx_cv_func_stdstring_compare=no
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25028 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25029 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25031 if test "$wx_cv_func_stdstring_compare" = yes; then
25032 cat >>confdefs.h <<\_ACEOF
25033 #define HAVE_STD_STRING_COMPARE 1
25038 if test "$wx_cv_class_gnuhashmapset" = yes; then
25039 cat >>confdefs.h <<\_ACEOF
25040 #define HAVE_EXT_HASH_MAP 1
25043 cat >>confdefs.h <<\_ACEOF
25044 #define HAVE_GNU_CXX_HASH_MAP 1
25049 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25050 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25051 if test "${ac_cv_header_unordered_map+set}" = set; then
25052 echo $ECHO_N "(cached) $ECHO_C" >&6
25054 cat >conftest.$ac_ext <<_ACEOF
25057 cat confdefs.h >>conftest.$ac_ext
25058 cat >>conftest.$ac_ext <<_ACEOF
25059 /* end confdefs.h. */
25063 #include <unordered_map>
25065 rm -f conftest.$ac_objext
25066 if { (ac_try="$ac_compile"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_compile") 2>conftest.er1
25074 grep -v '^
*+' conftest.er1 >conftest.err
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } && {
25079 test -z "$ac_cxx_werror_flag" ||
25080 test ! -s conftest.err
25081 } && test -s conftest.$ac_objext; then
25082 ac_cv_header_unordered_map=yes
25084 echo "$as_me: failed program was:" >&5
25085 sed 's
/^
/| /' conftest.$ac_ext >&5
25087 ac_cv_header_unordered_map=no
25090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25093 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25094 if test $ac_cv_header_unordered_map = yes; then
25095 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25096 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25097 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 cat >conftest.$ac_ext <<_ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <unordered_map>
25107 #include <unordered_set>
25111 std::unordered_map<double*, char*> test1;
25112 std::unordered_set<char*> test2;
25117 rm -f conftest.$ac_objext
25118 if { (ac_try="$ac_compile"
25119 case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_compile") 2>conftest.er1
25126 grep -v '^
*+' conftest.er1 >conftest.err
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_cxx_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest.$ac_objext; then
25134 wx_cv_class_stdunorderedmapset=yes
25136 echo "$as_me: failed program was:" >&5
25137 sed 's
/^
/| /' conftest.$ac_ext >&5
25139 wx_cv_class_stdunorderedmapset=no
25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25147 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25152 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25153 cat >>confdefs.h <<\_ACEOF
25154 #define HAVE_STD_UNORDERED_MAP 1
25157 cat >>confdefs.h <<\_ACEOF
25158 #define HAVE_STD_UNORDERED_SET 1
25162 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25163 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25164 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 cat >conftest.$ac_ext <<_ACEOF
25170 cat confdefs.h >>conftest.$ac_ext
25171 cat >>conftest.$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25176 #include <tr1/unordered_map>
25178 rm -f conftest.$ac_objext
25179 if { (ac_try="$ac_compile"
25180 case "(($ac_try" in
25181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25182 *) ac_try_echo=$ac_try;;
25184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25185 (eval "$ac_compile") 2>conftest.er1
25187 grep -v '^
*+' conftest.er1 >conftest.err
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } && {
25192 test -z "$ac_cxx_werror_flag" ||
25193 test ! -s conftest.err
25194 } && test -s conftest.$ac_objext; then
25195 ac_cv_header_tr1_unordered_map=yes
25197 echo "$as_me: failed program was:" >&5
25198 sed 's
/^
/| /' conftest.$ac_ext >&5
25200 ac_cv_header_tr1_unordered_map=no
25203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25206 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25207 if test $ac_cv_header_tr1_unordered_map = yes; then
25208 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25209 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25210 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25211 echo $ECHO_N "(cached) $ECHO_C" >&6
25213 cat >conftest.$ac_ext <<_ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219 #include <tr1/unordered_map>
25220 #include <tr1/unordered_set>
25224 std::tr1::unordered_map<double*, char*> test1;
25225 std::tr1::unordered_set<char*> test2;
25226 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25227 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25233 rm -f conftest.
$ac_objext
25234 if { (ac_try
="$ac_compile"
25235 case "(($ac_try" in
25236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_compile") 2>conftest.er1
25242 grep -v '^ *+' conftest.er1 >conftest.err
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } && {
25247 test -z "$ac_cxx_werror_flag" ||
25248 test ! -s conftest.err
25249 } && test -s conftest.$ac_objext; then
25250 wx_cv_class_tr1unorderedmapset=yes
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25255 wx_cv_class_tr1unorderedmapset=no
25258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25262 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25263 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25268 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25269 cat >>confdefs.h <<\_ACEOF
25270 #define HAVE_TR1_UNORDERED_MAP 1
25273 cat >>confdefs.h <<\_ACEOF
25274 #define HAVE_TR1_UNORDERED_SET 1
25278 { echo "$as_me:$LINENO: checking for hash_map" >&5
25279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25280 if test "${ac_cv_header_hash_map+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 cat >conftest.$ac_ext <<_ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25292 #include <hash_map>
25294 rm -f conftest.$ac_objext
25295 if { (ac_try="$ac_compile"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25298 *) ac_try_echo
=$ac_try;;
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_compile") 2>conftest.er1
25303 grep -v '^ *+' conftest.er1
>conftest.err
25305 cat conftest.err
>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_cxx_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest.
$ac_objext; then
25311 ac_cv_header_hash_map
=yes
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.
$ac_ext >&5
25316 ac_cv_header_hash_map
=no
25319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25321 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25322 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25323 if test $ac_cv_header_hash_map = yes; then
25324 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25325 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25326 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 cat >conftest.
$ac_ext <<_ACEOF
25332 cat confdefs.h
>>conftest.
$ac_ext
25333 cat >>conftest.
$ac_ext <<_ACEOF
25334 /* end confdefs.h. */
25335 #include <hash_map>
25336 #include <hash_set>
25340 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25341 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25346 rm -f conftest.
$ac_objext
25347 if { (ac_try
="$ac_compile"
25348 case "(($ac_try" in
25349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25350 *) ac_try_echo=$ac_try;;
25352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25353 (eval "$ac_compile") 2>conftest.er1
25355 grep -v '^ *+' conftest.er1 >conftest.err
25357 cat conftest.err >&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); } && {
25360 test -z "$ac_cxx_werror_flag" ||
25361 test ! -s conftest.err
25362 } && test -s conftest.$ac_objext; then
25363 wx_cv_class_stdhashmapset=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 wx_cv_class_stdhashmapset=no
25371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25376 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25381 if test "$wx_cv_class_stdhashmapset" = yes; then
25382 cat >>confdefs.h <<\_ACEOF
25383 #define HAVE_HASH_MAP 1
25386 cat >>confdefs.h <<\_ACEOF
25387 #define HAVE_STD_HASH_MAP 1
25392 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25393 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 cat >conftest.$ac_ext <<_ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25406 #include <ext/hash_map>
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25412 *) ac_try_echo
=$ac_try;;
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25417 grep -v '^ *+' conftest.er1
>conftest.err
25419 cat conftest.err
>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.
$ac_objext; then
25425 ac_cv_header_ext_hash_map
=yes
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.
$ac_ext >&5
25430 ac_cv_header_ext_hash_map
=no
25433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25435 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25436 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25437 if test $ac_cv_header_ext_hash_map = yes; then
25438 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25439 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25440 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 cat >conftest.
$ac_ext <<_ACEOF
25446 cat confdefs.h
>>conftest.
$ac_ext
25447 cat >>conftest.
$ac_ext <<_ACEOF
25448 /* end confdefs.h. */
25449 #include <ext/hash_map>
25450 #include <ext/hash_set>
25454 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25455 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25460 rm -f conftest.
$ac_objext
25461 if { (ac_try
="$ac_compile"
25462 case "(($ac_try" in
25463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25464 *) ac_try_echo=$ac_try;;
25466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 (eval "$ac_compile") 2>conftest.er1
25469 grep -v '^ *+' conftest.er1 >conftest.err
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } && {
25474 test -z "$ac_cxx_werror_flag" ||
25475 test ! -s conftest.err
25476 } && test -s conftest.$ac_objext; then
25477 wx_cv_class_gnuhashmapset=yes
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25482 wx_cv_class_gnuhashmapset=no
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25490 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25501 if test -n "$GCC"; then
25502 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25503 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25504 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 cat >conftest.$ac_ext <<_ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25519 unsigned int value=0;
25520 /* wxAtomicInc doesn't use return value here */
25521 __sync_fetch_and_add(&value, 2);
25522 __sync_sub_and_fetch(&value, 1);
25523 /* but wxAtomicDec does, so mimic that: */
25524 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25530 rm -f conftest.$ac_objext conftest$ac_exeext
25531 if { (ac_try="$ac_link"
25532 case "(($ac_try" in
25533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25534 *) ac_try_echo
=$ac_try;;
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_link") 2>conftest.er1
25539 grep -v '^ *+' conftest.er1
>conftest.err
25541 cat conftest.err
>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_cxx_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest
$ac_exeext &&
25547 $as_test_x conftest
$ac_exeext; then
25548 wx_cv_cc_gcc_atomic_builtins
=yes
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.
$ac_ext >&5
25553 wx_cv_cc_gcc_atomic_builtins
=no
25556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25557 conftest
$ac_exeext conftest.
$ac_ext
25561 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25562 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25563 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25564 cat >>confdefs.h
<<\_ACEOF
25565 #define HAVE_GCC_ATOMIC_BUILTINS 1
25573 ac_cpp
='$CPP $CPPFLAGS'
25574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25581 /usr/local/include \
25582 /usr/local/X11/include \
25583 /usr/local/include/X11 \
25584 /usr/local/X11R7/include \
25585 /usr/local/X11R6/include \
25586 /usr/local/include/X11R7 \
25587 /usr/local/include/X11R6 \
25589 /usr/Motif-2.1/include \
25590 /usr/Motif-1.2/include \
25591 /usr/include/Motif1.2 \
25594 /usr/openwin/include \
25598 /usr/X11R7/include \
25599 /usr/X11R6/include \
25600 /usr/X11R6.4/include \
25602 /usr/include/X11R7 \
25603 /usr/include/X11R6 \
25608 /usr/XFree86/include/X11 \
25611 /usr/local/X1R5/include \
25612 /usr/local/include/X11R5 \
25613 /usr/X11R5/include \
25614 /usr/include/X11R5 \
25616 /usr/local/X11R4/include \
25617 /usr/local/include/X11R4 \
25618 /usr/X11R4/include \
25619 /usr/include/X11R4 \
25621 /usr/openwin/share/include"
25623 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25624 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25628 if test "${wx_cv_std_libpath+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25633 for e
in a so sl dylib dll.a
; do
25635 if test -f $libc; then
25638 cat >conftest.
$ac_ext <<_ACEOF
25639 int main() { return 0; }
25641 rm -f conftest.
$ac_objext conftest
$ac_exeext
25642 if { (ac_try
="$ac_link"
25643 case "(($ac_try" in
25644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_link") 2>conftest.er1
25650 grep -v '^ *+' conftest.er1 >conftest.err
25652 cat conftest.err >&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } && {
25655 test -z "$ac_c_werror_flag" ||
25656 test ! -s conftest.err
25657 } && test -s conftest$ac_exeext &&
25658 $as_test_x conftest$ac_exeext; then
25659 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25668 conftest$ac_exeext conftest.$ac_ext
25670 if test "x$wx_cv_std_libpath" != "x"; then
25676 if test "x$wx_cv_std_libpath" = "x"; then
25677 wx_cv_std_libpath="lib"
25686 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25687 wx_cv_std_libpath="lib/64"
25689 wx_cv_std_libpath="lib"
25694 if test "$ac_cv_sizeof_void_p" = 8 -a \
25695 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25696 wx_cv_std_libpath="lib64"
25698 wx_cv_std_libpath="lib"
25703 wx_cv_std_libpath="lib";
25707 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25708 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25710 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25712 if test "$build" != "$host" -a "$GCC" = yes; then
25713 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25714 cross_root=`dirname $cross_root`
25715 cross_root=`dirname $cross_root`
25717 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25718 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25719 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25721 if test -z "$PKG_CONFIG_PATH"; then
25722 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25723 export PKG_CONFIG_PATH
25726 if test -z "$x_includes" -o "$x_includes" = NONE; then
25729 for ac_dir in $SEARCH_INCLUDE /usr/include;
25731 if test -f "$ac_dir/X11/Intrinsic.h"; then
25732 ac_find_includes=$ac_dir
25737 x_includes=$ac_find_includes
25739 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25742 for ac_dir in $SEARCH_LIB;
25744 for ac_extension in a so sl dylib dll.a; do
25745 if test -f "$ac_dir/libXt.$ac_extension"; then
25746 ac_find_libraries=$ac_dir
25752 x_libraries=$ac_find_libraries
25758 cat >confcache <<\_ACEOF
25759 # This file is a shell script that caches the results of configure
25760 # tests run on this system so they can be shared between configure
25761 # scripts and configure runs, see configure's option --config-cache.
25762 # It is not useful on other systems. If it contains results you don't
25763 # want to keep, you may remove or edit it.
25765 # config.status only pays attention to the cache file if you give it
25766 # the --recheck option to rerun configure.
25768 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25770 # following values.
25774 # The following way of writing the cache mishandles newlines in values,
25775 # but we know of no workaround that is simple, portable, and efficient.
25776 # So, we kill variables containing newlines.
25777 # Ultrix sh set writes to stderr and can't be redirected directly,
25778 # and sets the high bit in the cache file unless we assign to the vars.
25780 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25781 eval ac_val
=\$
$ac_var
25785 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25789 _
| IFS
| as_nl
) ;; #(
25790 *) $as_unset $ac_var ;;
25796 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25797 *${as_nl}ac_space
=\
*)
25798 # `set' does not quote correctly, so add quotes (double-quote
25799 # substitution turns \\\\ into \\, and sed turns \\ into \).
25802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25805 # `set' quotes correctly as required by POSIX, so do not add quotes.
25806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25817 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25819 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25820 if test -w "$cache_file"; then
25821 test "x$cache_file" != "x/dev/null" &&
25822 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25823 echo "$as_me: updating cache $cache_file" >&6;}
25824 cat confcache
>$cache_file
25826 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25827 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25832 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25833 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25834 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25835 if test "${wx_cv_lib_glibc21+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 cat >conftest.
$ac_ext <<_ACEOF
25842 cat confdefs.h
>>conftest.
$ac_ext
25843 cat >>conftest.
$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 #include <features.h>
25850 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25858 rm -f conftest.
$ac_objext
25859 if { (ac_try
="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25867 grep -v '^ *+' conftest.er1 >conftest.err
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_c_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25876 wx_cv_lib_glibc21=yes
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25883 wx_cv_lib_glibc21=no
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25892 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25893 if test "$wx_cv_lib_glibc21" = "yes"; then
25894 cat >>confdefs.h <<\_ACEOF
25895 #define wxHAVE_GLIBC2 1
25901 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25902 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25903 cat >>confdefs.h <<\_ACEOF
25904 #define _GNU_SOURCE 1
25915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25919 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 cat >conftest.$ac_ext <<_ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25929 #define $ac_func innocuous_$ac_func
25931 /* System header to define __stub macros and hopefully few prototypes,
25932 which can conflict with char $ac_func (); below.
25933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25934 <limits.h> exists even on freestanding compilers. */
25937 # include <limits.h>
25939 # include <assert.h>
25944 /* Override any GCC internal prototype to avoid an error.
25945 Use char because int might match the return type of a GCC
25946 builtin and then its argument prototype would still apply. */
25951 /* The GNU C library defines this for functions which it implements
25952 to always fail with ENOSYS. Some functions are actually named
25953 something starting with __ and the normal name is an alias. */
25954 #if defined __stub_$ac_func || defined __stub___$ac_func
25961 return $ac_func ();
25966 rm -f conftest.$ac_objext conftest$ac_exeext
25967 if { (ac_try="$ac_link"
25968 case "(($ac_try" in
25969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25970 *) ac_try_echo
=$ac_try;;
25972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25973 (eval "$ac_link") 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } && {
25980 test -z "$ac_c_werror_flag" ||
25981 test ! -s conftest.err
25982 } && test -s conftest
$ac_exeext &&
25983 $as_test_x conftest
$ac_exeext; then
25984 eval "$as_ac_var=yes"
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.
$ac_ext >&5
25989 eval "$as_ac_var=no"
25992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25993 conftest
$ac_exeext conftest.
$ac_ext
25995 ac_res
=`eval echo '${'$as_ac_var'}'`
25996 { echo "$as_me:$LINENO: result: $ac_res" >&5
25997 echo "${ECHO_T}$ac_res" >&6; }
25998 if test `eval echo '${'$as_ac_var'}'` = yes; then
25999 cat >>confdefs.h
<<_ACEOF
26000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26007 for ac_func
in floor
26009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26012 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 cat >conftest.
$ac_ext <<_ACEOF
26018 cat confdefs.h
>>conftest.
$ac_ext
26019 cat >>conftest.
$ac_ext <<_ACEOF
26020 /* end confdefs.h. */
26021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26023 #define $ac_func innocuous_$ac_func
26025 /* System header to define __stub macros and hopefully few prototypes,
26026 which can conflict with char $ac_func (); below.
26027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26028 <limits.h> exists even on freestanding compilers. */
26031 # include <limits.h>
26033 # include <assert.h>
26038 /* Override any GCC internal prototype to avoid an error.
26039 Use char because int might match the return type of a GCC
26040 builtin and then its argument prototype would still apply. */
26045 /* The GNU C library defines this for functions which it implements
26046 to always fail with ENOSYS. Some functions are actually named
26047 something starting with __ and the normal name is an alias. */
26048 #if defined __stub_$ac_func || defined __stub___$ac_func
26055 return $ac_func ();
26060 rm -f conftest.
$ac_objext conftest
$ac_exeext
26061 if { (ac_try
="$ac_link"
26062 case "(($ac_try" in
26063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26064 *) ac_try_echo=$ac_try;;
26066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26067 (eval "$ac_link") 2>conftest.er1
26069 grep -v '^ *+' conftest.er1 >conftest.err
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } && {
26074 test -z "$ac_c_werror_flag" ||
26075 test ! -s conftest.err
26076 } && test -s conftest$ac_exeext &&
26077 $as_test_x conftest$ac_exeext; then
26078 eval "$as_ac_var=yes"
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26083 eval "$as_ac_var=no"
26086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26087 conftest$ac_exeext conftest.$ac_ext
26089 ac_res=`eval echo '${'$as_ac_var'}'`
26090 { echo "$as_me:$LINENO: result: $ac_res" >&5
26091 echo "${ECHO_T}$ac_res" >&6; }
26092 if test `eval echo '${'$as_ac_var'}'` = yes; then
26093 cat >>confdefs.h <<_ACEOF
26094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26100 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26101 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26102 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26103 { echo "$as_me:$LINENO: result: yes" >&5
26104 echo "${ECHO_T}yes" >&6; }
26106 { echo "$as_me:$LINENO: result: no" >&5
26107 echo "${ECHO_T}no" >&6; }
26109 # use different functions to avoid configure caching
26115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26121 cat >conftest.$ac_ext <<_ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26129 #define $ac_func innocuous_$ac_func
26131 /* System header to define __stub macros and hopefully few prototypes,
26132 which can conflict with char $ac_func (); below.
26133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26134 <limits.h> exists even on freestanding compilers. */
26137 # include <limits.h>
26139 # include <assert.h>
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26151 /* The GNU C library defines this for functions which it implements
26152 to always fail with ENOSYS. Some functions are actually named
26153 something starting with __ and the normal name is an alias. */
26154 #if defined __stub_$ac_func || defined __stub___$ac_func
26161 return $ac_func ();
26166 rm -f conftest.$ac_objext conftest$ac_exeext
26167 if { (ac_try="$ac_link"
26168 case "(($ac_try" in
26169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26170 *) ac_try_echo
=$ac_try;;
26172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26173 (eval "$ac_link") 2>conftest.er1
26175 grep -v '^ *+' conftest.er1
>conftest.err
26177 cat conftest.err
>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } && {
26180 test -z "$ac_c_werror_flag" ||
26181 test ! -s conftest.err
26182 } && test -s conftest
$ac_exeext &&
26183 $as_test_x conftest
$ac_exeext; then
26184 eval "$as_ac_var=yes"
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.
$ac_ext >&5
26189 eval "$as_ac_var=no"
26192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26193 conftest
$ac_exeext conftest.
$ac_ext
26195 ac_res
=`eval echo '${'$as_ac_var'}'`
26196 { echo "$as_me:$LINENO: result: $ac_res" >&5
26197 echo "${ECHO_T}$ac_res" >&6; }
26198 if test `eval echo '${'$as_ac_var'}'` = yes; then
26199 cat >>confdefs.h
<<_ACEOF
26200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26207 for ac_func
in ceil
26209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26212 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26213 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26223 #define $ac_func innocuous_$ac_func
26225 /* System header to define __stub macros and hopefully few prototypes,
26226 which can conflict with char $ac_func (); below.
26227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26228 <limits.h> exists even on freestanding compilers. */
26231 # include <limits.h>
26233 # include <assert.h>
26238 /* Override any GCC internal prototype to avoid an error.
26239 Use char because int might match the return type of a GCC
26240 builtin and then its argument prototype would still apply. */
26245 /* The GNU C library defines this for functions which it implements
26246 to always fail with ENOSYS. Some functions are actually named
26247 something starting with __ and the normal name is an alias. */
26248 #if defined __stub_$ac_func || defined __stub___$ac_func
26255 return $ac_func ();
26260 rm -f conftest.
$ac_objext conftest
$ac_exeext
26261 if { (ac_try
="$ac_link"
26262 case "(($ac_try" in
26263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26264 *) ac_try_echo=$ac_try;;
26266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26267 (eval "$ac_link") 2>conftest.er1
26269 grep -v '^ *+' conftest.er1 >conftest.err
26271 cat conftest.err >&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); } && {
26274 test -z "$ac_c_werror_flag" ||
26275 test ! -s conftest.err
26276 } && test -s conftest$ac_exeext &&
26277 $as_test_x conftest$ac_exeext; then
26278 eval "$as_ac_var=yes"
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26283 eval "$as_ac_var=no"
26286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26287 conftest$ac_exeext conftest.$ac_ext
26289 ac_res=`eval echo '${'$as_ac_var'}'`
26290 { echo "$as_me:$LINENO: result: $ac_res" >&5
26291 echo "${ECHO_T}$ac_res" >&6; }
26292 if test `eval echo '${'$as_ac_var'}'` = yes; then
26293 cat >>confdefs.h <<_ACEOF
26294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26300 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26301 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26302 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26303 { echo "$as_me:$LINENO: result: yes" >&5
26304 echo "${ECHO_T}yes" >&6; }
26306 { echo "$as_me:$LINENO: result: no" >&5
26307 echo "${ECHO_T}no" >&6; }
26308 # not sure we should warn the user, crash, etc.
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26318 if test "wxUSE_UNICODE" = "yes"; then
26320 for wx_func in wcstoull
26322 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26323 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26324 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 cat >conftest.$ac_ext <<_ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26337 $ac_includes_default
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (ac_try="$ac_link"
26355 case "(($ac_try" in
26356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26357 *) ac_try_echo
=$ac_try;;
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_link") 2>conftest.er1
26362 grep -v '^ *+' conftest.er1
>conftest.err
26364 cat conftest.err
>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } && {
26367 test -z "$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26369 } && test -s conftest
$ac_exeext &&
26370 $as_test_x conftest
$ac_exeext; then
26371 eval wx_cv_func_
$wx_func=yes
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.
$ac_ext >&5
26376 eval wx_cv_func_
$wx_func=no
26379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26380 conftest
$ac_exeext conftest.
$ac_ext
26383 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26384 { echo "$as_me:$LINENO: result: $ac_res" >&5
26385 echo "${ECHO_T}$ac_res" >&6; }
26387 if eval test \
$wx_cv_func_$wx_func = yes
26389 cat >>confdefs.h
<<_ACEOF
26390 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26402 for wx_func
in strtoull
26404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26406 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26410 cat >conftest.
$ac_ext <<_ACEOF
26414 cat confdefs.h
>>conftest.
$ac_ext
26415 cat >>conftest.
$ac_ext <<_ACEOF
26416 /* end confdefs.h. */
26419 $ac_includes_default
26435 rm -f conftest.
$ac_objext conftest
$ac_exeext
26436 if { (ac_try
="$ac_link"
26437 case "(($ac_try" in
26438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26439 *) ac_try_echo=$ac_try;;
26441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26442 (eval "$ac_link") 2>conftest.er1
26444 grep -v '^ *+' conftest.er1 >conftest.err
26446 cat conftest.err >&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } && {
26449 test -z "$ac_cxx_werror_flag" ||
26450 test ! -s conftest.err
26451 } && test -s conftest$ac_exeext &&
26452 $as_test_x conftest$ac_exeext; then
26453 eval wx_cv_func_$wx_func=yes
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26458 eval wx_cv_func_$wx_func=no
26461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26462 conftest$ac_exeext conftest.$ac_ext
26465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26466 { echo "$as_me:$LINENO: result: $ac_res" >&5
26467 echo "${ECHO_T}$ac_res" >&6; }
26469 if eval test \$wx_cv_func_$wx_func = yes
26471 cat >>confdefs.h <<_ACEOF
26472 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26492 if test "$wxUSE_REGEX" != "no"; then
26493 cat >>confdefs.h <<\_ACEOF
26494 #define wxUSE_REGEX 1
26498 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26499 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26500 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26501 wxUSE_REGEX=builtin
26504 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26505 { echo "$as_me:$LINENO: checking for regex.h" >&5
26506 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26507 if test "${ac_cv_header_regex_h+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 cat >conftest.$ac_ext <<_ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26520 rm -f conftest.$ac_objext
26521 if { (ac_try="$ac_compile"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26524 *) ac_try_echo
=$ac_try;;
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_compile") 2>conftest.er1
26529 grep -v '^ *+' conftest.er1
>conftest.err
26531 cat conftest.err
>&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest.
$ac_objext; then
26537 ac_cv_header_regex_h
=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.
$ac_ext >&5
26542 ac_cv_header_regex_h
=no
26545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26547 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26548 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26549 if test $ac_cv_header_regex_h = yes; then
26552 for ac_func
in regcomp re_search
26554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26557 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 cat >conftest.
$ac_ext <<_ACEOF
26563 cat confdefs.h
>>conftest.
$ac_ext
26564 cat >>conftest.
$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26568 #define $ac_func innocuous_$ac_func
26570 /* System header to define __stub macros and hopefully few prototypes,
26571 which can conflict with char $ac_func (); below.
26572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26573 <limits.h> exists even on freestanding compilers. */
26576 # include <limits.h>
26578 # include <assert.h>
26583 /* Override any GCC internal prototype to avoid an error.
26584 Use char because int might match the return type of a GCC
26585 builtin and then its argument prototype would still apply. */
26590 /* The GNU C library defines this for functions which it implements
26591 to always fail with ENOSYS. Some functions are actually named
26592 something starting with __ and the normal name is an alias. */
26593 #if defined __stub_$ac_func || defined __stub___$ac_func
26600 return $ac_func ();
26605 rm -f conftest.
$ac_objext conftest
$ac_exeext
26606 if { (ac_try
="$ac_link"
26607 case "(($ac_try" in
26608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_link") 2>conftest.er1
26614 grep -v '^ *+' conftest.er1 >conftest.err
26616 cat conftest.err >&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); } && {
26619 test -z "$ac_c_werror_flag" ||
26620 test ! -s conftest.err
26621 } && test -s conftest$ac_exeext &&
26622 $as_test_x conftest$ac_exeext; then
26623 eval "$as_ac_var=yes"
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26628 eval "$as_ac_var=no"
26631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26632 conftest$ac_exeext conftest.$ac_ext
26634 ac_res=`eval echo '${'$as_ac_var'}'`
26635 { echo "$as_me:$LINENO: result: $ac_res" >&5
26636 echo "${ECHO_T}$ac_res" >&6; }
26637 if test `eval echo '${'$as_ac_var'}'` = yes; then
26638 cat >>confdefs.h <<_ACEOF
26639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26649 if test "x$ac_cv_func_regcomp" != "xyes"; then
26650 if test "$wxUSE_REGEX" = "sys" ; then
26651 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26652 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26653 { (exit 1); exit 1; }; }
26655 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26656 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26657 wxUSE_REGEX=builtin
26661 cat >>confdefs.h <<\_ACEOF
26662 #define WX_NO_REGEX_ADVANCED 1
26671 if test "$wxUSE_ZLIB" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_ZLIB 1
26677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26678 if test "$USE_DARWIN" = 1; then
26679 system_zlib_h_ok="yes"
26681 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26682 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26683 if test "${ac_cv_header_zlib_h+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 if test "$cross_compiling" = yes; then
26687 unset ac_cv_header_zlib_h
26690 cat >conftest.$ac_ext <<_ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26702 FILE *f=fopen("conftestval", "w");
26705 ZLIB_VERSION[0] == '1' &&
26706 (ZLIB_VERSION[2] > '1' ||
26707 (ZLIB_VERSION[2] == '1' &&
26708 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26713 rm -f conftest$ac_exeext
26714 if { (ac_try="$ac_link"
26715 case "(($ac_try" in
26716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26717 *) ac_try_echo
=$ac_try;;
26719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26720 (eval "$ac_link") 2>&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26724 { (case "(($ac_try" in
26725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_try") 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 ac_cv_header_zlib_h=`cat conftestval
`
26735 echo "$as_me: program exited with status $ac_status" >&5
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26739 ( exit $ac_status )
26740 ac_cv_header_zlib_h=no
26742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26748 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26750 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26751 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26752 if test "${ac_cv_header_zlib_h+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 cat >conftest.$ac_ext <<_ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26765 rm -f conftest.$ac_objext
26766 if { (ac_try="$ac_compile"
26767 case "(($ac_try" in
26768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26769 *) ac_try_echo
=$ac_try;;
26771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26772 (eval "$ac_compile") 2>conftest.er1
26774 grep -v '^ *+' conftest.er1
>conftest.err
26776 cat conftest.err
>&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } && {
26779 test -z "$ac_c_werror_flag" ||
26780 test ! -s conftest.err
26781 } && test -s conftest.
$ac_objext; then
26782 ac_cv_header_zlib_h
=yes
26784 echo "$as_me: failed program was:" >&5
26785 sed 's/^/| /' conftest.
$ac_ext >&5
26787 ac_cv_header_zlib_h
=no
26790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26792 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26793 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26797 system_zlib_h_ok
=$ac_cv_header_zlib_h
26800 if test "$system_zlib_h_ok" = "yes"; then
26801 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26802 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26803 if test "${ac_cv_lib_z_deflate+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 ac_check_lib_save_LIBS
=$LIBS
26808 cat >conftest.
$ac_ext <<_ACEOF
26811 cat confdefs.h
>>conftest.
$ac_ext
26812 cat >>conftest.
$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26830 rm -f conftest.
$ac_objext conftest
$ac_exeext
26831 if { (ac_try
="$ac_link"
26832 case "(($ac_try" in
26833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_link") 2>conftest.er1
26839 grep -v '^ *+' conftest.er1 >conftest.err
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_c_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest$ac_exeext &&
26847 $as_test_x conftest$ac_exeext; then
26848 ac_cv_lib_z_deflate=yes
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26853 ac_cv_lib_z_deflate=no
26856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26857 conftest$ac_exeext conftest.$ac_ext
26858 LIBS=$ac_check_lib_save_LIBS
26860 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26861 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26862 if test $ac_cv_lib_z_deflate = yes; then
26868 if test "x$ZLIB_LINK" = "x" ; then
26869 if test "$wxUSE_ZLIB" = "sys" ; then
26870 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26871 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26872 { (exit 1); exit 1; }; }
26874 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26875 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26886 if test "$wxUSE_LIBPNG" != "no" ; then
26887 cat >>confdefs.h <<\_ACEOF
26888 #define wxUSE_LIBPNG 1
26892 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26893 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26894 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26898 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26899 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26900 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26901 wxUSE_LIBPNG=builtin
26904 if test "$wxUSE_MGL" != 1 ; then
26905 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26906 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26907 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26908 if test "${ac_cv_header_png_h+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26911 if test "$cross_compiling" = yes; then
26912 unset ac_cv_header_png_h
26915 cat >conftest.$ac_ext <<_ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26927 FILE *f=fopen("conftestval", "w");
26930 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26935 rm -f conftest$ac_exeext
26936 if { (ac_try="$ac_link"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26939 *) ac_try_echo
=$ac_try;;
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_link") 2>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26946 { (case "(($ac_try" in
26947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26948 *) ac_try_echo=$ac_try;;
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_try") 2>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); }; }; then
26955 ac_cv_header_png_h=`cat conftestval
`
26957 echo "$as_me: program exited with status $ac_status" >&5
26958 echo "$as_me: failed program was:" >&5
26959 sed 's/^/| /' conftest.$ac_ext >&5
26961 ( exit $ac_status )
26962 ac_cv_header_png_h=no
26964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26970 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26971 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26972 { echo "$as_me:$LINENO: checking for png.h" >&5
26973 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26974 if test "${ac_cv_header_png_h+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 cat >conftest.$ac_ext <<_ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26987 rm -f conftest.$ac_objext
26988 if { (ac_try="$ac_compile"
26989 case "(($ac_try" in
26990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26991 *) ac_try_echo
=$ac_try;;
26993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26994 (eval "$ac_compile") 2>conftest.er1
26996 grep -v '^ *+' conftest.er1
>conftest.err
26998 cat conftest.err
>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } && {
27001 test -z "$ac_c_werror_flag" ||
27002 test ! -s conftest.err
27003 } && test -s conftest.
$ac_objext; then
27004 ac_cv_header_png_h
=yes
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.
$ac_ext >&5
27009 ac_cv_header_png_h
=no
27012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27014 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27015 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27019 if test "$ac_cv_header_png_h" = "yes"; then
27020 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27021 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27022 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 ac_check_lib_save_LIBS
=$LIBS
27026 LIBS
="-lpng -lz -lm $LIBS"
27027 cat >conftest.
$ac_ext <<_ACEOF
27030 cat confdefs.h
>>conftest.
$ac_ext
27031 cat >>conftest.
$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27034 /* Override any GCC internal prototype to avoid an error.
27035 Use char because int might match the return type of a GCC
27036 builtin and then its argument prototype would still apply. */
27040 char png_check_sig ();
27044 return png_check_sig ();
27049 rm -f conftest.
$ac_objext conftest
$ac_exeext
27050 if { (ac_try
="$ac_link"
27051 case "(($ac_try" in
27052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_link") 2>conftest.er1
27058 grep -v '^ *+' conftest.er1 >conftest.err
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_c_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest$ac_exeext &&
27066 $as_test_x conftest$ac_exeext; then
27067 ac_cv_lib_png_png_check_sig=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27072 ac_cv_lib_png_png_check_sig=no
27075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27076 conftest$ac_exeext conftest.$ac_ext
27077 LIBS=$ac_check_lib_save_LIBS
27079 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27080 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27081 if test $ac_cv_lib_png_png_check_sig = yes; then
27082 PNG_LINK=" -lpng -lz"
27087 if test "x$PNG_LINK" = "x" ; then
27088 if test "$wxUSE_LIBPNG" = "sys" ; then
27089 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27090 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27091 { (exit 1); exit 1; }; }
27093 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27094 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27095 wxUSE_LIBPNG=builtin
27106 if test "$wxUSE_LIBJPEG" != "no" ; then
27107 cat >>confdefs.h <<\_ACEOF
27108 #define wxUSE_LIBJPEG 1
27112 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27113 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27114 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27118 if test "$wxUSE_MGL" != 1 ; then
27119 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27120 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27121 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27122 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 cat >conftest.$ac_ext <<_ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27132 #undef HAVE_STDLIB_H
27134 #include <jpeglib.h>
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27149 *) ac_try_echo
=$ac_try;;
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27154 grep -v '^ *+' conftest.er1
>conftest.err
27156 cat conftest.err
>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_c_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.
$ac_objext; then
27162 ac_cv_header_jpeglib_h
=yes
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.
$ac_ext >&5
27167 ac_cv_header_jpeglib_h
=no
27171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27175 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27176 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27178 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27179 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27180 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27181 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 ac_check_lib_save_LIBS
=$LIBS
27185 LIBS
="-ljpeg $LIBS"
27186 cat >conftest.
$ac_ext <<_ACEOF
27189 cat confdefs.h
>>conftest.
$ac_ext
27190 cat >>conftest.
$ac_ext <<_ACEOF
27191 /* end confdefs.h. */
27193 /* Override any GCC internal prototype to avoid an error.
27194 Use char because int might match the return type of a GCC
27195 builtin and then its argument prototype would still apply. */
27199 char jpeg_read_header ();
27203 return jpeg_read_header ();
27208 rm -f conftest.
$ac_objext conftest
$ac_exeext
27209 if { (ac_try
="$ac_link"
27210 case "(($ac_try" in
27211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27212 *) ac_try_echo=$ac_try;;
27214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27215 (eval "$ac_link") 2>conftest.er1
27217 grep -v '^ *+' conftest.er1 >conftest.err
27219 cat conftest.err >&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); } && {
27222 test -z "$ac_c_werror_flag" ||
27223 test ! -s conftest.err
27224 } && test -s conftest$ac_exeext &&
27225 $as_test_x conftest$ac_exeext; then
27226 ac_cv_lib_jpeg_jpeg_read_header=yes
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.$ac_ext >&5
27231 ac_cv_lib_jpeg_jpeg_read_header=no
27234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27235 conftest$ac_exeext conftest.$ac_ext
27236 LIBS=$ac_check_lib_save_LIBS
27238 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27239 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27240 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27241 JPEG_LINK=" -ljpeg"
27246 if test "x$JPEG_LINK" = "x" ; then
27247 if test "$wxUSE_LIBJPEG" = "sys" ; then
27248 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27249 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27250 { (exit 1); exit 1; }; }
27252 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27253 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27254 wxUSE_LIBJPEG=builtin
27259 if test "$wxUSE_MSW" = 1; then
27260 { echo "$as_me:$LINENO: checking for boolean" >&5
27261 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27262 if test "${ac_cv_type_boolean+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 cat >conftest.$ac_ext <<_ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271 #include <windows.h>
27273 typedef boolean ac__type_new_;
27277 if ((ac__type_new_ *) 0)
27279 if (sizeof (ac__type_new_))
27285 rm -f conftest.$ac_objext
27286 if { (ac_try="$ac_compile"
27287 case "(($ac_try" in
27288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27289 *) ac_try_echo
=$ac_try;;
27291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27292 (eval "$ac_compile") 2>conftest.er1
27294 grep -v '^ *+' conftest.er1
>conftest.err
27296 cat conftest.err
>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); } && {
27299 test -z "$ac_c_werror_flag" ||
27300 test ! -s conftest.err
27301 } && test -s conftest.
$ac_objext; then
27302 ac_cv_type_boolean
=yes
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.
$ac_ext >&5
27307 ac_cv_type_boolean
=no
27310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27312 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27313 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27314 if test $ac_cv_type_boolean = yes; then
27316 cat >>confdefs.h
<<_ACEOF
27317 #define HAVE_BOOLEAN 1
27321 { echo "$as_me:$LINENO: checking for boolean" >&5
27322 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27323 if test "${ac_cv_type_boolean+set}" = set; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 cat >conftest.
$ac_ext <<_ACEOF
27329 cat confdefs.h
>>conftest.
$ac_ext
27330 cat >>conftest.
$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27333 #undef HAVE_BOOLEAN
27335 #include <jpeglib.h>
27338 typedef boolean ac__type_new_;
27342 if ((ac__type_new_ *) 0)
27344 if (sizeof (ac__type_new_))
27350 rm -f conftest.
$ac_objext
27351 if { (ac_try
="$ac_compile"
27352 case "(($ac_try" in
27353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27354 *) ac_try_echo=$ac_try;;
27356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27357 (eval "$ac_compile") 2>conftest.er1
27359 grep -v '^ *+' conftest.er1 >conftest.err
27361 cat conftest.err >&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } && {
27364 test -z "$ac_c_werror_flag" ||
27365 test ! -s conftest.err
27366 } && test -s conftest.$ac_objext; then
27367 ac_cv_type_boolean=yes
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27372 ac_cv_type_boolean=no
27375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27377 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27378 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27380 # The cast to long int works around a bug in the HP C Compiler
27381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27382 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27383 # This bug is HP SR number 8606223364.
27384 { echo "$as_me:$LINENO: checking size of boolean" >&5
27385 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27386 if test "${ac_cv_sizeof_boolean+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 if test "$cross_compiling" = yes; then
27390 # Depending upon the size, compute the lo and hi bounds.
27391 cat >conftest.$ac_ext <<_ACEOF
27394 cat confdefs.h >>conftest.$ac_ext
27395 cat >>conftest.$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27398 #undef HAVE_BOOLEAN
27400 #include <jpeglib.h>
27403 typedef boolean ac__type_sizeof_;
27407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27414 rm -f conftest.$ac_objext
27415 if { (ac_try="$ac_compile"
27416 case "(($ac_try" in
27417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27418 *) ac_try_echo=$ac_try;;
27420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27421 (eval "$ac_compile") 2>conftest.er1
27423 grep -v '^
*+' conftest.er1 >conftest.err
27425 cat conftest.err >&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); } && {
27428 test -z "$ac_c_werror_flag" ||
27429 test ! -s conftest.err
27430 } && test -s conftest.$ac_objext; then
27433 cat >conftest.$ac_ext <<_ACEOF
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27440 #undef HAVE_BOOLEAN
27442 #include <jpeglib.h>
27445 typedef boolean ac__type_sizeof_;
27449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27456 rm -f conftest.$ac_objext
27457 if { (ac_try="$ac_compile"
27458 case "(($ac_try" in
27459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_compile") 2>conftest.er1
27465 grep -v '^
*+' conftest.er1 >conftest.err
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } && {
27470 test -z "$ac_c_werror_flag" ||
27471 test ! -s conftest.err
27472 } && test -s conftest.$ac_objext; then
27473 ac_hi=$ac_mid; break
27475 echo "$as_me: failed program was:" >&5
27476 sed 's
/^
/| /' conftest.$ac_ext >&5
27478 ac_lo=`expr $ac_mid + 1`
27479 if test $ac_lo -le $ac_mid; then
27483 ac_mid=`expr 2 '*' $ac_mid + 1`
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27489 echo "$as_me: failed program was:" >&5
27490 sed 's
/^
/| /' conftest.$ac_ext >&5
27492 cat >conftest.$ac_ext <<_ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27499 #undef HAVE_BOOLEAN
27501 #include <jpeglib.h>
27504 typedef boolean ac__type_sizeof_;
27508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27515 rm -f conftest.$ac_objext
27516 if { (ac_try="$ac_compile"
27517 case "(($ac_try" in
27518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27519 *) ac_try_echo=$ac_try;;
27521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27522 (eval "$ac_compile") 2>conftest.er1
27524 grep -v '^
*+' conftest.er1 >conftest.err
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } && {
27529 test -z "$ac_c_werror_flag" ||
27530 test ! -s conftest.err
27531 } && test -s conftest.$ac_objext; then
27534 cat >conftest.$ac_ext <<_ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27541 #undef HAVE_BOOLEAN
27543 #include <jpeglib.h>
27546 typedef boolean ac__type_sizeof_;
27550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27557 rm -f conftest.$ac_objext
27558 if { (ac_try="$ac_compile"
27559 case "(($ac_try" in
27560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27561 *) ac_try_echo=$ac_try;;
27563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27564 (eval "$ac_compile") 2>conftest.er1
27566 grep -v '^
*+' conftest.er1 >conftest.err
27568 cat conftest.err >&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && {
27571 test -z "$ac_c_werror_flag" ||
27572 test ! -s conftest.err
27573 } && test -s conftest.$ac_objext; then
27574 ac_lo=$ac_mid; break
27576 echo "$as_me: failed program was:" >&5
27577 sed 's
/^
/| /' conftest.$ac_ext >&5
27579 ac_hi=`expr '(' $ac_mid ')' - 1`
27580 if test $ac_mid -le $ac_hi; then
27584 ac_mid=`expr 2 '*' $ac_mid`
27587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27590 echo "$as_me: failed program was:" >&5
27591 sed 's
/^
/| /' conftest.$ac_ext >&5
27596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 # Binary search between lo and hi bounds.
27601 while test "x$ac_lo" != "x$ac_hi"; do
27602 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27603 cat >conftest.$ac_ext <<_ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27610 #undef HAVE_BOOLEAN
27612 #include <jpeglib.h>
27615 typedef boolean ac__type_sizeof_;
27619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27626 rm -f conftest.$ac_objext
27627 if { (ac_try="$ac_compile"
27628 case "(($ac_try" in
27629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27630 *) ac_try_echo=$ac_try;;
27632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27633 (eval "$ac_compile") 2>conftest.er1
27635 grep -v '^
*+' conftest.er1 >conftest.err
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } && {
27640 test -z "$ac_c_werror_flag" ||
27641 test ! -s conftest.err
27642 } && test -s conftest.$ac_objext; then
27645 echo "$as_me: failed program was:" >&5
27646 sed 's
/^
/| /' conftest.$ac_ext >&5
27648 ac_lo=`expr '(' $ac_mid ')' + 1`
27651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27654 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27655 '') if test "$ac_cv_type_boolean" = yes; then
27656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27657 See \`config.log' for more details.
" >&5
27658 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27659 See \
`config.log' for more details." >&2;}
27660 { (exit 77); exit 77; }; }
27662 ac_cv_sizeof_boolean=0
27666 cat >conftest.$ac_ext <<_ACEOF
27669 cat confdefs.h >>conftest.$ac_ext
27670 cat >>conftest.$ac_ext <<_ACEOF
27671 /* end confdefs.h. */
27673 #undef HAVE_BOOLEAN
27675 #include <jpeglib.h>
27678 typedef boolean ac__type_sizeof_;
27679 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27680 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27682 #include <stdlib.h>
27687 FILE *f = fopen ("conftest.val", "w");
27690 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27692 long int i = longval ();
27693 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27695 fprintf (f, "%ld\n", i);
27699 unsigned long int i = ulongval ();
27700 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27702 fprintf (f, "%lu\n", i);
27704 return ferror (f) || fclose (f) != 0;
27710 rm -f conftest$ac_exeext
27711 if { (ac_try="$ac_link"
27712 case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27714 *) ac_try_echo
=$ac_try;;
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_link") 2>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27721 { (case "(($ac_try" in
27722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27723 *) ac_try_echo=$ac_try;;
27725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27726 (eval "$ac_try") 2>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 ac_cv_sizeof_boolean=`cat conftest.val
`
27732 echo "$as_me: program exited with status $ac_status" >&5
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.$ac_ext >&5
27736 ( exit $ac_status )
27737 if test "$ac_cv_type_boolean" = yes; then
27738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27739 See \`config.log
' for more details." >&5
27740 echo "$as_me: error: cannot compute sizeof (boolean)
27741 See \`config.log' for more details.
" >&2;}
27742 { (exit 77); exit 77; }; }
27744 ac_cv_sizeof_boolean=0
27747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27751 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27752 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27756 cat >>confdefs.h <<_ACEOF
27757 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27761 cat >>confdefs.h <<_ACEOF
27762 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27776 TIFF_PREREQ_LINKS=-lm
27777 if test "$wxUSE_LIBTIFF" != "no
" ; then
27778 cat >>confdefs.h <<\_ACEOF
27779 #define wxUSE_LIBTIFF 1
27783 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27784 if test "$wxUSE_LIBJPEG" = "sys
"; then
27785 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27787 if test "$wxUSE_ZLIB" = "sys
"; then
27788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27790 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27791 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27792 if test "${ac_cv_header_tiffio_h+set}" = set; then
27793 echo $ECHO_N "(cached
) $ECHO_C" >&6
27795 cat >conftest.$ac_ext <<_ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27804 #include <tiffio.h>
27806 rm -f conftest.$ac_objext
27807 if { (ac_try="$ac_compile"
27808 case "(($ac_try" in
27809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27810 *) ac_try_echo=$ac_try;;
27812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27813 (eval "$ac_compile") 2>conftest.er1
27815 grep -v '^ *+' conftest.er1 >conftest.err
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27819 (exit $ac_status); } && {
27820 test -z "$ac_c_werror_flag" ||
27821 test ! -s conftest.err
27822 } && test -s conftest.$ac_objext; then
27823 ac_cv_header_tiffio_h=yes
27825 echo "$as_me: failed program was
:" >&5
27826 sed 's/^/| /' conftest.$ac_ext >&5
27828 ac_cv_header_tiffio_h=no
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27834 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27835 if test $ac_cv_header_tiffio_h = yes; then
27837 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27838 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27839 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27840 echo $ECHO_N "(cached
) $ECHO_C" >&6
27842 ac_check_lib_save_LIBS=$LIBS
27843 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27844 cat >conftest.$ac_ext <<_ACEOF
27847 cat confdefs.h >>conftest.$ac_ext
27848 cat >>conftest.$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27851 /* Override any GCC internal prototype to avoid an error.
27852 Use char because int might match the return type of a GCC
27853 builtin and then its argument prototype would still apply. */
27861 return TIFFError ();
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (ac_try="$ac_link"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_link") 2>conftest.er1
27875 grep -v '^ *+' conftest.er1 >conftest.err
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest$ac_exeext &&
27883 $as_test_x conftest$ac_exeext; then
27884 ac_cv_lib_tiff_TIFFError=yes
27886 echo "$as_me: failed program was
:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 ac_cv_lib_tiff_TIFFError=no
27892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27893 conftest$ac_exeext conftest.$ac_ext
27894 LIBS=$ac_check_lib_save_LIBS
27896 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27897 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27898 if test $ac_cv_lib_tiff_TIFFError = yes; then
27899 TIFF_LINK=" -ltiff"
27907 if test "x
$TIFF_LINK" = "x
" ; then
27908 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27909 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27910 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27911 { (exit 1); exit 1; }; }
27913 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27914 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27915 wxUSE_LIBTIFF=builtin
27921 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27922 if test "$wxUSE_LIBJPEG" = "no
"; then
27923 ac_configure_args="$ac_configure_args --disable-jpeg"
27925 subdirs="$subdirs src
/tiff
"
27931 if test "$wxUSE_WCHAR_T" != "yes"; then
27932 if test "$wxUSE_EXPAT" != "no
"; then
27933 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27934 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27937 if test "$wxUSE_XML" != "no
"; then
27938 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27939 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27944 if test "$wxUSE_EXPAT" != "no
"; then
27946 cat >>confdefs.h <<\_ACEOF
27947 #define wxUSE_EXPAT 1
27950 cat >>confdefs.h <<\_ACEOF
27951 #define wxUSE_XML 1
27955 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27956 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27957 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27958 if test "${ac_cv_header_expat_h+set}" = set; then
27959 echo $ECHO_N "(cached
) $ECHO_C" >&6
27961 cat >conftest.$ac_ext <<_ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27971 rm -f conftest.$ac_objext
27972 if { (ac_try="$ac_compile"
27973 case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_compile") 2>conftest.er1
27980 grep -v '^ *+' conftest.er1 >conftest.err
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27984 (exit $ac_status); } && {
27985 test -z "$ac_c_werror_flag" ||
27986 test ! -s conftest.err
27987 } && test -s conftest.$ac_objext; then
27988 ac_cv_header_expat_h=yes
27990 echo "$as_me: failed program was
:" >&5
27991 sed 's/^/| /' conftest.$ac_ext >&5
27993 ac_cv_header_expat_h=no
27996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27998 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27999 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28000 if test $ac_cv_header_expat_h = yes; then
28005 if test "x
$found_expat_h" = "x1
"; then
28006 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28007 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28008 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28009 echo $ECHO_N "(cached
) $ECHO_C" >&6
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28018 cat >conftest.$ac_ext <<_ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28033 rm -f conftest.$ac_objext
28034 if { (ac_try="$ac_compile"
28035 case "(($ac_try" in
28036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28037 *) ac_try_echo=$ac_try;;
28039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28040 (eval "$ac_compile") 2>conftest.er1
28042 grep -v '^ *+' conftest.er1 >conftest.err
28044 cat conftest.err >&5
28045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28046 (exit $ac_status); } && {
28047 test -z "$ac_cxx_werror_flag" ||
28048 test ! -s conftest.err
28049 } && test -s conftest.$ac_objext; then
28050 wx_cv_expat_is_not_broken=yes
28052 echo "$as_me: failed program was
:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28055 wx_cv_expat_is_not_broken=no
28059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28061 ac_cpp='$CPP $CPPFLAGS'
28062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28069 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28070 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28071 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28072 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28073 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28074 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28075 echo $ECHO_N "(cached
) $ECHO_C" >&6
28077 ac_check_lib_save_LIBS=$LIBS
28078 LIBS="-lexpat $LIBS"
28079 cat >conftest.$ac_ext <<_ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28086 /* Override any GCC internal prototype to avoid an error.
28087 Use char because int might match the return type of a GCC
28088 builtin and then its argument prototype would still apply. */
28092 char XML_ParserCreate ();
28096 return XML_ParserCreate ();
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (ac_try="$ac_link"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_link") 2>conftest.er1
28110 grep -v '^ *+' conftest.er1 >conftest.err
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest$ac_exeext &&
28118 $as_test_x conftest$ac_exeext; then
28119 ac_cv_lib_expat_XML_ParserCreate=yes
28121 echo "$as_me: failed program was
:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28124 ac_cv_lib_expat_XML_ParserCreate=no
28127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28128 conftest$ac_exeext conftest.$ac_ext
28129 LIBS=$ac_check_lib_save_LIBS
28131 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28132 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28133 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28134 EXPAT_LINK=" -lexpat"
28139 if test "x
$EXPAT_LINK" = "x
" ; then
28140 if test "$wxUSE_EXPAT" = "sys
" ; then
28141 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28142 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28143 { (exit 1); exit 1; }; }
28145 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28146 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28147 wxUSE_EXPAT=builtin
28153 if test "$wxUSE_EXPAT" = "builtin" ; then
28154 subdirs="$subdirs src
/expat
"
28161 if test "$wxUSE_LIBMSPACK" != "no
"; then
28162 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28163 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28164 if test "${ac_cv_header_mspack_h+set}" = set; then
28165 echo $ECHO_N "(cached
) $ECHO_C" >&6
28167 cat >conftest.$ac_ext <<_ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28175 #include <mspack.h>
28177 rm -f conftest.$ac_objext
28178 if { (ac_try="$ac_compile"
28179 case "(($ac_try" in
28180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28181 *) ac_try_echo=$ac_try;;
28183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28184 (eval "$ac_compile") 2>conftest.er1
28186 grep -v '^ *+' conftest.er1 >conftest.err
28188 cat conftest.err >&5
28189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28190 (exit $ac_status); } && {
28191 test -z "$ac_c_werror_flag" ||
28192 test ! -s conftest.err
28193 } && test -s conftest.$ac_objext; then
28194 ac_cv_header_mspack_h=yes
28196 echo "$as_me: failed program was
:" >&5
28197 sed 's/^/| /' conftest.$ac_ext >&5
28199 ac_cv_header_mspack_h=no
28202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28204 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28205 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28206 if test $ac_cv_header_mspack_h = yes; then
28211 if test "x
$found_mspack_h" = "x1
"; then
28212 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28213 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28214 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28215 echo $ECHO_N "(cached
) $ECHO_C" >&6
28217 ac_check_lib_save_LIBS=$LIBS
28218 LIBS="-lmspack $LIBS"
28219 cat >conftest.$ac_ext <<_ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28226 /* Override any GCC internal prototype to avoid an error.
28227 Use char because int might match the return type of a GCC
28228 builtin and then its argument prototype would still apply. */
28232 char mspack_create_chm_decompressor ();
28236 return mspack_create_chm_decompressor ();
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (ac_try="$ac_link"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28247 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_link") 2>conftest.er1
28250 grep -v '^ *+' conftest.er1 >conftest.err
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest$ac_exeext &&
28258 $as_test_x conftest$ac_exeext; then
28259 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28261 echo "$as_me: failed program was
:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28264 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28268 conftest$ac_exeext conftest.$ac_ext
28269 LIBS=$ac_check_lib_save_LIBS
28271 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28272 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28273 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28274 MSPACK_LINK=" -lmspack"
28278 if test "x
$MSPACK_LINK" = "x
" ; then
28283 if test "$wxUSE_LIBMSPACK" != "no
"; then
28284 cat >>confdefs.h <<\_ACEOF
28285 #define wxUSE_LIBMSPACK 1
28299 if test "$USE_WIN32" = 1 ; then
28301 for ac_header in w32api.h
28303 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28304 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28305 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28306 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28307 echo $ECHO_N "(cached
) $ECHO_C" >&6
28309 cat >conftest.$ac_ext <<_ACEOF
28312 cat confdefs.h >>conftest.$ac_ext
28313 cat >>conftest.$ac_ext <<_ACEOF
28314 /* end confdefs.h. */
28317 #include <$ac_header>
28319 rm -f conftest.$ac_objext
28320 if { (ac_try="$ac_compile"
28321 case "(($ac_try" in
28322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28323 *) ac_try_echo=$ac_try;;
28325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28326 (eval "$ac_compile") 2>conftest.er1
28328 grep -v '^ *+' conftest.er1 >conftest.err
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28332 (exit $ac_status); } && {
28333 test -z "$ac_c_werror_flag" ||
28334 test ! -s conftest.err
28335 } && test -s conftest.$ac_objext; then
28336 eval "$as_ac_Header=yes"
28338 echo "$as_me: failed program was
:" >&5
28339 sed 's/^/| /' conftest.$ac_ext >&5
28341 eval "$as_ac_Header=no
"
28344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28346 ac_res=`eval echo '${'$as_ac_Header'}'`
28347 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28348 echo "${ECHO_T}$ac_res" >&6; }
28349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28350 cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28358 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28359 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28360 if test "${ac_cv_header_windows_h+set}" = set; then
28361 echo $ECHO_N "(cached
) $ECHO_C" >&6
28363 cat >conftest.$ac_ext <<_ACEOF
28366 cat confdefs.h >>conftest.$ac_ext
28367 cat >>conftest.$ac_ext <<_ACEOF
28368 /* end confdefs.h. */
28371 #include <windows.h>
28373 rm -f conftest.$ac_objext
28374 if { (ac_try="$ac_compile"
28375 case "(($ac_try" in
28376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28377 *) ac_try_echo=$ac_try;;
28379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28380 (eval "$ac_compile") 2>conftest.er1
28382 grep -v '^ *+' conftest.er1 >conftest.err
28384 cat conftest.err >&5
28385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28386 (exit $ac_status); } && {
28387 test -z "$ac_c_werror_flag" ||
28388 test ! -s conftest.err
28389 } && test -s conftest.$ac_objext; then
28390 ac_cv_header_windows_h=yes
28392 echo "$as_me: failed program was
:" >&5
28393 sed 's/^/| /' conftest.$ac_ext >&5
28395 ac_cv_header_windows_h=no
28398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28400 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28401 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28402 if test $ac_cv_header_windows_h = yes; then
28406 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28407 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28408 { (exit 1); exit 1; }; }
28415 x86_64-*-mingw32* )
28416 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28418 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28421 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28424 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28425 LIBS="$LIBS -loleacc"
28430 LIBS="$LIBS -lkernel32 -luser32"
28433 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28434 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28436 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28438 WIN32INSTALL=win32install
28440 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28441 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28442 if test "${ac_cv_header_pbt_h+set}" = set; then
28443 echo $ECHO_N "(cached
) $ECHO_C" >&6
28445 cat >conftest.$ac_ext <<_ACEOF
28448 cat confdefs.h >>conftest.$ac_ext
28449 cat >>conftest.$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28455 rm -f conftest.$ac_objext
28456 if { (ac_try="$ac_compile"
28457 case "(($ac_try" in
28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 *) ac_try_echo=$ac_try;;
28461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_compile") 2>conftest.er1
28464 grep -v '^ *+' conftest.er1 >conftest.err
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28468 (exit $ac_status); } && {
28469 test -z "$ac_c_werror_flag" ||
28470 test ! -s conftest.err
28471 } && test -s conftest.$ac_objext; then
28472 ac_cv_header_pbt_h=yes
28474 echo "$as_me: failed program was
:" >&5
28475 sed 's/^/| /' conftest.$ac_ext >&5
28477 ac_cv_header_pbt_h=no
28480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28482 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28483 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28484 if test $ac_cv_header_pbt_h = yes; then
28487 cat >>confdefs.h <<\_ACEOF
28488 #define NEED_PBT_H 1
28496 if test "$wxUSE_GUI" = "yes"; then
28506 if test "$wxUSE_COCOA" = 1 ; then
28507 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28508 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28509 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28510 wxUSE_PRINTING_ARCHITECTURE=no
28512 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28513 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28514 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28515 wxUSE_DRAG_AND_DROP=no
28517 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28518 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28519 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28524 if test "$wxUSE_MSW" = 1 ; then
28530 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28534 if test "$wxUSE_GTK" = 1; then
28535 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28536 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28538 gtk_version_cached=1
28539 if test "${wx_cv_lib_gtk+set}" = set; then
28540 echo $ECHO_N "(cached
) $ECHO_C" >&6
28543 gtk_version_cached=0
28544 { echo "$as_me:$LINENO: result
: " >&5
28545 echo "${ECHO_T}" >&6; }
28548 if test "$wxUSE_THREADS" = "yes"; then
28549 GTK_MODULES=gthread
28553 if test "x
$wxGTK_VERSION" != "x1
"
28557 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28562 # Check whether --enable-gtktest was given.
28563 if test "${enable_gtktest+set}" = set; then
28564 enableval=$enable_gtktest;
28570 pkg_config_args=gtk+-2.0
28571 for module in . $GTK_MODULES
28575 pkg_config_args="$pkg_config_args gthread
-2.0
"
28582 # Extract the first word of "pkg
-config", so it can be a program name with args.
28583 set dummy pkg-config; ac_word=$2
28584 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28585 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28586 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28587 echo $ECHO_N "(cached
) $ECHO_C" >&6
28589 case $PKG_CONFIG in
28591 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28595 for as_dir in $PATH
28598 test -z "$as_dir" && as_dir=.
28599 for ac_exec_ext in '' $ac_executable_extensions; do
28600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28601 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28609 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28614 if test -n "$PKG_CONFIG"; then
28615 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28616 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28618 { echo "$as_me:$LINENO: result
: no
" >&5
28619 echo "${ECHO_T}no
" >&6; }
28624 if test x$PKG_CONFIG != xno ; then
28625 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28628 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28636 min_gtk_version=2.4.0
28637 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28638 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28640 if test x$PKG_CONFIG != xno ; then
28641 ## don't try to run the test against uninstalled libtool libs
28642 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28643 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28647 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28654 if test x"$no_gtk" = x ; then
28655 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28656 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28657 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28659 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28661 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28663 if test "x
$enable_gtktest" = "xyes
" ; then
28664 ac_save_CFLAGS="$CFLAGS"
28665 ac_save_LIBS="$LIBS"
28666 CFLAGS="$CFLAGS $GTK_CFLAGS"
28667 LIBS="$GTK_LIBS $LIBS"
28669 if test "$cross_compiling" = yes; then
28670 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28672 cat >conftest.$ac_ext <<_ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28679 #include <gtk/gtk.h>
28681 #include <stdlib.h>
28686 int major, minor, micro;
28689 system ("touch conf.gtktest
");
28691 /* HP/UX 9 (%@#!) writes to sscanf strings */
28692 tmp_version = g_strdup("$min_gtk_version");
28693 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28694 printf("%s
, bad version string
\n", "$min_gtk_version");
28698 if ((gtk_major_version != $gtk_config_major_version) ||
28699 (gtk_minor_version != $gtk_config_minor_version) ||
28700 (gtk_micro_version != $gtk_config_micro_version))
28702 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28704 gtk_major_version, gtk_minor_version, gtk_micro_version);
28705 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28706 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28708 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28709 printf("*** required on your system.
\n");
28710 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28711 printf("*** to point to the correct configuration files
\n");
28713 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28714 (gtk_minor_version != GTK_MINOR_VERSION) ||
28715 (gtk_micro_version != GTK_MICRO_VERSION))
28717 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28718 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28719 printf("*** library
(version
%d.
%d.
%d
)\n",
28720 gtk_major_version, gtk_minor_version, gtk_micro_version);
28724 if ((gtk_major_version > major) ||
28725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28732 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28735 major, minor, micro);
28736 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28738 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28739 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28740 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28741 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28742 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28743 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28744 printf("*** so that the correct libraries are found
at run
-time))\n");
28751 rm -f conftest$ac_exeext
28752 if { (ac_try="$ac_link"
28753 case "(($ac_try" in
28754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28755 *) ac_try_echo=$ac_try;;
28757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28758 (eval "$ac_link") 2>&5
28760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28762 { (case "(($ac_try" in
28763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28764 *) ac_try_echo=$ac_try;;
28766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28767 (eval "$ac_try") 2>&5
28769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28770 (exit $ac_status); }; }; then
28773 echo "$as_me: program exited with status
$ac_status" >&5
28774 echo "$as_me: failed program was
:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28777 ( exit $ac_status )
28780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28784 CFLAGS="$ac_save_CFLAGS"
28785 LIBS="$ac_save_LIBS"
28788 if test "x
$no_gtk" = x ; then
28789 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28790 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28793 { echo "$as_me:$LINENO: result
: no
" >&5
28794 echo "${ECHO_T}no
" >&6; }
28795 if test "$PKG_CONFIG" = "no
" ; then
28796 echo "*** A new enough version of pkg
-config was not found.
"
28797 echo "*** See http
://pkgconfig.sourceforge.net
"
28799 if test -f conf.gtktest ; then
28802 echo "*** Could not run GTK
+ test program
, checking why...
"
28803 ac_save_CFLAGS="$CFLAGS"
28804 ac_save_LIBS="$LIBS"
28805 CFLAGS="$CFLAGS $GTK_CFLAGS"
28806 LIBS="$LIBS $GTK_LIBS"
28807 cat >conftest.$ac_ext <<_ACEOF
28810 cat confdefs.h >>conftest.$ac_ext
28811 cat >>conftest.$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28814 #include <gtk/gtk.h>
28820 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28825 rm -f conftest.$ac_objext conftest$ac_exeext
28826 if { (ac_try="$ac_link"
28827 case "(($ac_try" in
28828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28829 *) ac_try_echo=$ac_try;;
28831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_link") 2>conftest.er1
28834 grep -v '^ *+' conftest.er1 >conftest.err
28836 cat conftest.err >&5
28837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28838 (exit $ac_status); } && {
28839 test -z "$ac_c_werror_flag" ||
28840 test ! -s conftest.err
28841 } && test -s conftest$ac_exeext &&
28842 $as_test_x conftest$ac_exeext; then
28843 echo "*** The
test program compiled
, but did not run. This usually means
"
28844 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28845 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28848 echo "*** is required on your system"
28850 echo "*** If you have an old version installed, it is best to remove it, although"
28851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28853 echo "$as_me: failed program was:" >&5
28854 sed 's
/^
/| /' conftest.$ac_ext >&5
28856 echo "*** The test program failed to compile or link. See the file config.log for the"
28857 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28861 conftest$ac_exeext conftest.$ac_ext
28862 CFLAGS="$ac_save_CFLAGS"
28863 LIBS="$ac_save_LIBS"
28877 if test "$wxUSE_SHARED" != "yes"; then
28878 GTK_LIBS="$GTK_LIBS -lX11"
28883 if test -z "$wx_cv_lib_gtk"; then
28884 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28886 # Check whether --with-gtk-prefix was given.
28887 if test "${with_gtk_prefix+set}" = set; then
28888 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28890 gtk_config_prefix=""
28894 # Check whether --with-gtk-exec-prefix was given.
28895 if test "${with_gtk_exec_prefix+set}" = set; then
28896 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28898 gtk_config_exec_prefix=""
28901 # Check whether --enable-gtktest was given.
28902 if test "${enable_gtktest+set}" = set; then
28903 enableval=$enable_gtktest;
28909 for module in . $GTK_MODULES
28913 gtk_config_args="$gtk_config_args gthread"
28918 if test x$gtk_config_exec_prefix != x ; then
28919 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28920 if test x${GTK_CONFIG+set} != xset ; then
28921 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28924 if test x$gtk_config_prefix != x ; then
28925 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28926 if test x${GTK_CONFIG+set} != xset ; then
28927 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28931 # Extract the first word of "gtk-config", so it can be a program name with args.
28932 set dummy gtk-config; ac_word=$2
28933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28935 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28936 echo $ECHO_N "(cached) $ECHO_C" >&6
28938 case $GTK_CONFIG in
28940 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28944 for as_dir in $PATH
28947 test -z "$as_dir" && as_dir=.
28948 for ac_exec_ext in '' $ac_executable_extensions; do
28949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28950 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28958 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28962 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28963 if test -n "$GTK_CONFIG"; then
28964 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28965 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28972 min_gtk_version=1.2.7
28973 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28974 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28976 if test "$GTK_CONFIG" = "no" ; then
28979 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28980 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28981 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28982 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28983 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28984 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28985 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28986 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28987 if test "x$enable_gtktest" = "xyes" ; then
28988 ac_save_CFLAGS="$CFLAGS"
28989 ac_save_LIBS="$LIBS"
28990 CFLAGS="$CFLAGS $GTK_CFLAGS"
28991 LIBS="$GTK_LIBS $LIBS"
28993 if test "$cross_compiling" = yes; then
28994 echo $ac_n "cross compiling; assumed OK... $ac_c"
28996 cat >conftest.$ac_ext <<_ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29003 #include <gtk/gtk.h>
29005 #include <stdlib.h>
29010 int major, minor, micro;
29013 system ("touch conf.gtktest");
29015 /* HP/UX 9 (%@#!) writes to sscanf strings */
29016 tmp_version = g_strdup("$min_gtk_version");
29017 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29018 printf("%s, bad version string\n", "$min_gtk_version");
29022 if ((gtk_major_version != $gtk_config_major_version) ||
29023 (gtk_minor_version != $gtk_config_minor_version) ||
29024 (gtk_micro_version != $gtk_config_micro_version))
29026 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29027 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29028 gtk_major_version, gtk_minor_version, gtk_micro_version);
29029 printf ("*** was found! If gtk-config was correct, then it is best\n");
29030 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29031 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29032 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29033 printf("*** required on your system.\n");
29034 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29035 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29036 printf("*** before re-running configure\n");
29038 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29039 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29040 (gtk_minor_version != GTK_MINOR_VERSION) ||
29041 (gtk_micro_version != GTK_MICRO_VERSION))
29043 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29044 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29045 printf("*** library (version %d.%d.%d)\n",
29046 gtk_major_version, gtk_minor_version, gtk_micro_version);
29048 #endif /* defined (GTK_MAJOR_VERSION) ... */
29051 if ((gtk_major_version > major) ||
29052 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29053 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29059 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29060 gtk_major_version, gtk_minor_version, gtk_micro_version);
29061 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29062 major, minor, micro);
29063 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29065 printf("*** If you have already installed a sufficiently new version, this error\n");
29066 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29067 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29068 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29069 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29070 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29071 printf("*** so that the correct libraries are found at run-time))\n");
29078 rm -f conftest$ac_exeext
29079 if { (ac_try="$ac_link"
29080 case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082 *) ac_try_echo=$ac_try;;
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_link") 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29089 { (case "(($ac_try" in
29090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29091 *) ac_try_echo=$ac_try;;
29093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29094 (eval "$ac_try") 2>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; }; then
29100 echo "$as_me: program exited with status $ac_status" >&5
29101 echo "$as_me: failed program was:" >&5
29102 sed 's
/^
/| /' conftest.$ac_ext >&5
29104 ( exit $ac_status )
29107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29111 CFLAGS="$ac_save_CFLAGS"
29112 LIBS="$ac_save_LIBS"
29115 if test "x$no_gtk" = x ; then
29116 { echo "$as_me:$LINENO: result: yes" >&5
29117 echo "${ECHO_T}yes" >&6; }
29118 wx_cv_lib_gtk=1.2.7
29120 { echo "$as_me:$LINENO: result: no" >&5
29121 echo "${ECHO_T}no" >&6; }
29122 if test "$GTK_CONFIG" = "no" ; then
29123 echo "*** The gtk-config script installed by GTK could not be found"
29124 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29125 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29126 echo "*** full path to gtk-config."
29128 if test -f conf.gtktest ; then
29131 echo "*** Could not run GTK test program, checking why..."
29132 CFLAGS="$CFLAGS $GTK_CFLAGS"
29133 LIBS="$LIBS $GTK_LIBS"
29134 cat >conftest.$ac_ext <<_ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29141 #include <gtk/gtk.h>
29147 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29152 rm -f conftest.$ac_objext conftest$ac_exeext
29153 if { (ac_try="$ac_link"
29154 case "(($ac_try" in
29155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29156 *) ac_try_echo=$ac_try;;
29158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29159 (eval "$ac_link") 2>conftest.er1
29161 grep -v '^
*+' conftest.er1 >conftest.err
29163 cat conftest.err >&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } && {
29166 test -z "$ac_c_werror_flag" ||
29167 test ! -s conftest.err
29168 } && test -s conftest$ac_exeext &&
29169 $as_test_x conftest$ac_exeext; then
29170 echo "*** The test program compiled, but did not run. This usually means"
29171 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29172 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29173 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29174 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29175 echo "*** is required on your system
"
29177 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29180 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29181 echo "*** came with the system with the
command"
29183 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29185 echo "$as_me: failed program was
:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29188 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29189 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29190 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29191 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29195 conftest$ac_exeext conftest.$ac_ext
29196 CFLAGS="$ac_save_CFLAGS"
29197 LIBS="$ac_save_LIBS"
29209 if test -z "$wx_cv_lib_gtk"; then
29211 # Check whether --with-gtk-prefix was given.
29212 if test "${with_gtk_prefix+set}" = set; then
29213 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29215 gtk_config_prefix=""
29219 # Check whether --with-gtk-exec-prefix was given.
29220 if test "${with_gtk_exec_prefix+set}" = set; then
29221 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29223 gtk_config_exec_prefix=""
29226 # Check whether --enable-gtktest was given.
29227 if test "${enable_gtktest+set}" = set; then
29228 enableval=$enable_gtktest;
29234 for module in . $GTK_MODULES
29238 gtk_config_args="$gtk_config_args gthread
"
29243 if test x$gtk_config_exec_prefix != x ; then
29244 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29245 if test x${GTK_CONFIG+set} != xset ; then
29246 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29249 if test x$gtk_config_prefix != x ; then
29250 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29251 if test x${GTK_CONFIG+set} != xset ; then
29252 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29256 # Extract the first word of "gtk
-config", so it can be a program name with args.
29257 set dummy gtk-config; ac_word=$2
29258 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29259 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29260 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29261 echo $ECHO_N "(cached
) $ECHO_C" >&6
29263 case $GTK_CONFIG in
29265 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29269 for as_dir in $PATH
29272 test -z "$as_dir" && as_dir=.
29273 for ac_exec_ext in '' $ac_executable_extensions; do
29274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29275 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29287 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29288 if test -n "$GTK_CONFIG"; then
29289 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29290 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29292 { echo "$as_me:$LINENO: result
: no
" >&5
29293 echo "${ECHO_T}no
" >&6; }
29297 min_gtk_version=1.2.3
29298 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29299 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29301 if test "$GTK_CONFIG" = "no
" ; then
29304 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29305 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29306 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29308 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29310 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29312 if test "x
$enable_gtktest" = "xyes
" ; then
29313 ac_save_CFLAGS="$CFLAGS"
29314 ac_save_LIBS="$LIBS"
29315 CFLAGS="$CFLAGS $GTK_CFLAGS"
29316 LIBS="$GTK_LIBS $LIBS"
29318 if test "$cross_compiling" = yes; then
29319 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29321 cat >conftest.$ac_ext <<_ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29328 #include <gtk/gtk.h>
29330 #include <stdlib.h>
29335 int major, minor, micro;
29338 system ("touch conf.gtktest
");
29340 /* HP/UX 9 (%@#!) writes to sscanf strings */
29341 tmp_version = g_strdup("$min_gtk_version");
29342 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29343 printf("%s
, bad version string
\n", "$min_gtk_version");
29347 if ((gtk_major_version != $gtk_config_major_version) ||
29348 (gtk_minor_version != $gtk_config_minor_version) ||
29349 (gtk_micro_version != $gtk_config_micro_version))
29351 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29353 gtk_major_version, gtk_minor_version, gtk_micro_version);
29354 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29355 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29357 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29358 printf("*** required on your system.
\n");
29359 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29360 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29361 printf("*** before re
-running configure
\n");
29363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29365 (gtk_minor_version != GTK_MINOR_VERSION) ||
29366 (gtk_micro_version != GTK_MICRO_VERSION))
29368 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29370 printf("*** library
(version
%d.
%d.
%d
)\n",
29371 gtk_major_version, gtk_minor_version, gtk_micro_version);
29373 #endif /* defined (GTK_MAJOR_VERSION) ... */
29376 if ((gtk_major_version > major) ||
29377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29384 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29385 gtk_major_version, gtk_minor_version, gtk_micro_version);
29386 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29387 major, minor, micro);
29388 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29390 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29391 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29392 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29393 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29394 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29395 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29396 printf("*** so that the correct libraries are found
at run
-time))\n");
29403 rm -f conftest$ac_exeext
29404 if { (ac_try="$ac_link"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_link") 2>&5
29412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29414 { (case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_try") 2>&5
29421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29422 (exit $ac_status); }; }; then
29425 echo "$as_me: program exited with status
$ac_status" >&5
29426 echo "$as_me: failed program was
:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29429 ( exit $ac_status )
29432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29436 CFLAGS="$ac_save_CFLAGS"
29437 LIBS="$ac_save_LIBS"
29440 if test "x
$no_gtk" = x ; then
29441 { echo "$as_me:$LINENO: result
: yes" >&5
29442 echo "${ECHO_T}yes" >&6; }
29443 wx_cv_lib_gtk=1.2.3
29445 { echo "$as_me:$LINENO: result
: no
" >&5
29446 echo "${ECHO_T}no
" >&6; }
29447 if test "$GTK_CONFIG" = "no
" ; then
29448 echo "*** The gtk
-config script installed by GTK could not be found
"
29449 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29450 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29451 echo "*** full path to gtk
-config.
"
29453 if test -f conf.gtktest ; then
29456 echo "*** Could not run GTK
test program
, checking why...
"
29457 CFLAGS="$CFLAGS $GTK_CFLAGS"
29458 LIBS="$LIBS $GTK_LIBS"
29459 cat >conftest.$ac_ext <<_ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29466 #include <gtk/gtk.h>
29472 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29477 rm -f conftest.$ac_objext conftest$ac_exeext
29478 if { (ac_try="$ac_link"
29479 case "(($ac_try" in
29480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29481 *) ac_try_echo=$ac_try;;
29483 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29484 (eval "$ac_link") 2>conftest.er1
29486 grep -v '^ *+' conftest.er1 >conftest.err
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29490 (exit $ac_status); } && {
29491 test -z "$ac_c_werror_flag" ||
29492 test ! -s conftest.err
29493 } && test -s conftest$ac_exeext &&
29494 $as_test_x conftest$ac_exeext; then
29495 echo "*** The
test program compiled
, but did not run. This usually means
"
29496 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29497 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29498 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29499 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29500 echo "*** is required on your system"
29502 echo "*** If you have an old version installed, it is best to remove it, although"
29503 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29505 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29506 echo "*** came with the system with the command"
29508 echo "*** rpm --erase --nodeps gtk gtk-devel"
29510 echo "$as_me: failed program was:" >&5
29511 sed 's
/^
/| /' conftest.$ac_ext >&5
29513 echo "*** The test program failed to compile or link. See the file config.log for the"
29514 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29515 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29516 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29520 conftest$ac_exeext conftest.$ac_ext
29521 CFLAGS="$ac_save_CFLAGS"
29522 LIBS="$ac_save_LIBS"
29537 if test -z "$wx_cv_lib_gtk"; then
29540 wx_cv_cflags_gtk=$GTK_CFLAGS
29541 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29548 if test "$gtk_version_cached" = 1; then
29549 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29550 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29553 case "$wx_cv_lib_gtk" in
29562 *) { { echo "$as_me:$LINENO: error:
29563 The development files for GTK+ were not found. For GTK+ 2, please
29564 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29565 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29566 and that the version is 1.2.3 or above. Also check that the
29567 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29568 --libs' are in the LD_LIBRARY_PATH or equivalent.
29570 echo "$as_me: error:
29571 The development files for GTK+ were not found. For GTK+ 2, please
29572 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29573 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29574 and that the version is 1.2.3 or above. Also check that the
29575 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29576 --libs' are in the LD_LIBRARY_PATH or equivalent.
29578 { (exit 1); exit 1; }; }
29582 if test "$WXGTK2" = 1; then
29583 save_CFLAGS="$CFLAGS"
29585 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29586 LIBS="$LIBS $wx_cv_libs_gtk"
29588 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29589 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29590 cat >conftest.$ac_ext <<_ACEOF
29593 cat confdefs.h >>conftest.$ac_ext
29594 cat >>conftest.$ac_ext <<_ACEOF
29595 /* end confdefs.h. */
29597 #include <gtk/gtk.h>
29603 #if !GTK_CHECK_VERSION(2,18,0)
29611 rm -f conftest.$ac_objext
29612 if { (ac_try="$ac_compile"
29613 case "(($ac_try" in
29614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29615 *) ac_try_echo=$ac_try;;
29617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29618 (eval "$ac_compile") 2>conftest.er1
29620 grep -v '^
*+' conftest.er1 >conftest.err
29622 cat conftest.err >&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); } && {
29625 test -z "$ac_c_werror_flag" ||
29626 test ! -s conftest.err
29627 } && test -s conftest.$ac_objext; then
29629 cat >>confdefs.h <<\_ACEOF
29630 #define __WXGTK218__ 1
29633 cat >>confdefs.h <<\_ACEOF
29634 #define __WXGTK210__ 1
29637 cat >>confdefs.h <<\_ACEOF
29638 #define __WXGTK26__ 1
29641 { echo "$as_me:$LINENO: result: yes" >&5
29642 echo "${ECHO_T}yes" >&6; }
29646 echo "$as_me: failed program was:" >&5
29647 sed 's
/^
/| /' conftest.$ac_ext >&5
29650 { echo "$as_me:$LINENO: result: no" >&5
29651 echo "${ECHO_T}no" >&6; }
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29658 if test "$ac_wxgtk218" = 0; then
29659 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29660 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29661 cat >conftest.$ac_ext <<_ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29668 #include <gtk/gtk.h>
29674 #if !GTK_CHECK_VERSION(2,10,0)
29682 rm -f conftest.$ac_objext
29683 if { (ac_try="$ac_compile"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_compile") 2>conftest.er1
29691 grep -v '^
*+' conftest.er1 >conftest.err
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest.$ac_objext; then
29700 cat >>confdefs.h <<\_ACEOF
29701 #define __WXGTK210__ 1
29704 cat >>confdefs.h <<\_ACEOF
29705 #define __WXGTK26__ 1
29708 { echo "$as_me:$LINENO: result: yes" >&5
29709 echo "${ECHO_T}yes" >&6; }
29713 echo "$as_me: failed program was:" >&5
29714 sed 's
/^
/| /' conftest.$ac_ext >&5
29717 { echo "$as_me:$LINENO: result: no" >&5
29718 echo "${ECHO_T}no" >&6; }
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29725 if test "$ac_wxgtk210" = 0; then
29726 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29727 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29728 cat >conftest.$ac_ext <<_ACEOF
29731 cat confdefs.h >>conftest.$ac_ext
29732 cat >>conftest.$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29735 #include <gtk/gtk.h>
29741 #if !GTK_CHECK_VERSION(2,6,0)
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29758 grep -v '^
*+' conftest.er1 >conftest.err
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29767 cat >>confdefs.h <<\_ACEOF
29768 #define __WXGTK26__ 1
29771 { echo "$as_me:$LINENO: result: yes" >&5
29772 echo "${ECHO_T}yes" >&6; }
29776 echo "$as_me: failed program was:" >&5
29777 sed 's
/^
/| /' conftest.$ac_ext >&5
29780 { echo "$as_me:$LINENO: result: no" >&5
29781 echo "${ECHO_T}no" >&6; }
29786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29790 CFLAGS="$save_CFLAGS"
29793 if test "$wxUSE_UNICODE" = "yes"; then
29794 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29795 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29799 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29800 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29801 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 ac_check_lib_save_LIBS=$LIBS
29806 cat >conftest.$ac_ext <<_ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29813 /* Override any GCC internal prototype to avoid an error.
29814 Use char because int might match the return type of a GCC
29815 builtin and then its argument prototype would still apply. */
29819 char gdk_im_open ();
29823 return gdk_im_open ();
29828 rm -f conftest.$ac_objext conftest$ac_exeext
29829 if { (ac_try="$ac_link"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_link") 2>conftest.er1
29837 grep -v '^
*+' conftest.er1 >conftest.err
29839 cat conftest.err >&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); } && {
29842 test -z "$ac_c_werror_flag" ||
29843 test ! -s conftest.err
29844 } && test -s conftest$ac_exeext &&
29845 $as_test_x conftest$ac_exeext; then
29846 ac_cv_lib_gdk_gdk_im_open=yes
29848 echo "$as_me: failed program was:" >&5
29849 sed 's
/^
/| /' conftest.$ac_ext >&5
29851 ac_cv_lib_gdk_gdk_im_open=no
29854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29855 conftest$ac_exeext conftest.$ac_ext
29856 LIBS=$ac_check_lib_save_LIBS
29858 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29859 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29860 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29861 cat >>confdefs.h <<\_ACEOF
29868 if test "$USE_DARWIN" != 1; then
29870 for ac_func in poll
29872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 cat >conftest.$ac_ext <<_ACEOF
29881 cat confdefs.h >>conftest.$ac_ext
29882 cat >>conftest.$ac_ext <<_ACEOF
29883 /* end confdefs.h. */
29884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29886 #define $ac_func innocuous_$ac_func
29888 /* System header to define __stub macros and hopefully few prototypes,
29889 which can conflict with char $ac_func (); below.
29890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29891 <limits.h> exists even on freestanding compilers. */
29894 # include <limits.h>
29896 # include <assert.h>
29901 /* Override any GCC internal prototype to avoid an error.
29902 Use char because int might match the return type of a GCC
29903 builtin and then its argument prototype would still apply. */
29908 /* The GNU C library defines this for functions which it implements
29909 to always fail with ENOSYS. Some functions are actually named
29910 something starting with __ and the normal name is an alias. */
29911 #if defined __stub_$ac_func || defined __stub___$ac_func
29918 return $ac_func ();
29923 rm -f conftest.$ac_objext conftest$ac_exeext
29924 if { (ac_try="$ac_link"
29925 case "(($ac_try" in
29926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29927 *) ac_try_echo=$ac_try;;
29929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29930 (eval "$ac_link") 2>conftest.er1
29932 grep -v '^
*+' conftest.er1 >conftest.err
29934 cat conftest.err >&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } && {
29937 test -z "$ac_c_werror_flag" ||
29938 test ! -s conftest.err
29939 } && test -s conftest$ac_exeext &&
29940 $as_test_x conftest$ac_exeext; then
29941 eval "$as_ac_var=yes"
29943 echo "$as_me: failed program was:" >&5
29944 sed 's
/^
/| /' conftest.$ac_ext >&5
29946 eval "$as_ac_var=no"
29949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29950 conftest$ac_exeext conftest.$ac_ext
29952 ac_res=`eval echo '${'$as_ac_var'}'`
29953 { echo "$as_me:$LINENO: result: $ac_res" >&5
29954 echo "${ECHO_T}$ac_res" >&6; }
29955 if test `eval echo '${'$as_ac_var'}'` = yes; then
29956 cat >>confdefs.h <<_ACEOF
29957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29966 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29967 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29969 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
29971 AFMINSTALL=afminstall
29975 if test "$wxUSE_GPE" = "yes"; then
29976 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29977 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29980 for ac_dir in $SEARCH_LIB;
29982 for ac_extension in a so sl dylib dll.a; do
29983 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29984 ac_find_libraries=$ac_dir
29990 if test "$ac_find_libraries" != "" ; then
29992 if test "$ac_find_libraries" = "default location"; then
29995 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29997 if test $result = 0; then
30000 ac_path_to_link=" -L$ac_find_libraries"
30004 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30006 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30007 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30009 { echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6; }
30016 if test "$wxUSE_MGL" = 1; then
30017 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30018 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30019 if test "x$MGL_ROOT" = x ; then
30020 { echo "$as_me:$LINENO: result: not found" >&5
30021 echo "${ECHO_T}not found" >&6; }
30022 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30023 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30024 { (exit 1); exit 1; }; }
30026 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30027 echo "${ECHO_T}$MGL_ROOT" >&6; }
30030 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30031 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30034 if test "x$wxUSE_SHARED" = xyes ; then
30035 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30037 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30041 mgl_os_candidates="dos32/dj2"
30044 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30045 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30046 { (exit 1); exit 1; }; }
30052 for mgl_os_i in $mgl_os_candidates ; do
30053 if test "x$mgl_os" = x ; then
30054 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30055 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30056 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30061 if test "x$mgl_lib_type" = x ; then
30062 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30063 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30064 mgl_lib_type=release
30071 if test "x$mgl_os" = x ; then
30072 { echo "$as_me:$LINENO: result: not found" >&5
30073 echo "${ECHO_T}not found" >&6; }
30074 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30075 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30076 { (exit 1); exit 1; }; }
30078 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30079 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30081 wxUSE_UNIVERSAL="yes"
30083 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30084 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30086 AFMINSTALL=afminstall
30091 if test "$wxUSE_DFB" = 1; then
30094 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30095 if test -n "$ac_tool_prefix"; then
30096 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30097 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 case $PKG_CONFIG in
30105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30109 for as_dir in $PATH
30112 test -z "$as_dir" && as_dir=.
30113 for ac_exec_ext in '' $ac_executable_extensions; do
30114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30126 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30127 if test -n "$PKG_CONFIG"; then
30128 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30129 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30131 { echo "$as_me:$LINENO: result: no" >&5
30132 echo "${ECHO_T}no" >&6; }
30137 if test -z "$ac_cv_path_PKG_CONFIG"; then
30138 ac_pt_PKG_CONFIG=$PKG_CONFIG
30139 # Extract the first word of "pkg-config", so it can be a program name with args.
30140 set dummy pkg-config; ac_word=$2
30141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30143 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 case $ac_pt_PKG_CONFIG in
30148 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30152 for as_dir in $PATH
30155 test -z "$as_dir" && as_dir=.
30156 for ac_exec_ext in '' $ac_executable_extensions; do
30157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30158 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30169 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30170 if test -n "$ac_pt_PKG_CONFIG"; then
30171 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30172 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30174 { echo "$as_me:$LINENO: result: no" >&5
30175 echo "${ECHO_T}no" >&6; }
30178 if test "x$ac_pt_PKG_CONFIG" = x; then
30181 case $cross_compiling:$ac_tool_warned in
30183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30184 whose name does not start with the host triplet. If you think this
30185 configuration is useful to you, please write to autoconf@gnu.org." >&5
30186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30187 whose name does not start with the host triplet. If you think this
30188 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30189 ac_tool_warned=yes ;;
30191 PKG_CONFIG=$ac_pt_PKG_CONFIG
30194 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30198 if test -n "$PKG_CONFIG"; then
30199 _pkg_min_version=0.9.0
30200 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30201 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30202 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30203 { echo "$as_me:$LINENO: result: yes" >&5
30204 echo "${ECHO_T}yes" >&6; }
30206 { echo "$as_me:$LINENO: result: no" >&5
30207 echo "${ECHO_T}no" >&6; }
30215 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30216 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30218 if test -n "$PKG_CONFIG"; then
30219 if test -n "$DIRECTFB_CFLAGS"; then
30220 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30222 if test -n "$PKG_CONFIG" && \
30223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30224 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; then
30228 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30236 if test -n "$PKG_CONFIG"; then
30237 if test -n "$DIRECTFB_LIBS"; then
30238 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30240 if test -n "$PKG_CONFIG" && \
30241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30242 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; then
30246 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30257 if test $pkg_failed = yes; then
30259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30260 _pkg_short_errors_supported=yes
30262 _pkg_short_errors_supported=no
30264 if test $_pkg_short_errors_supported = yes; then
30265 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30267 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30269 # Put the nasty error message in config.log where it belongs
30270 echo "$DIRECTFB_PKG_ERRORS" >&5
30273 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30274 echo "$as_me: error: DirectFB not found." >&2;}
30275 { (exit 1); exit 1; }; }
30278 elif test $pkg_failed = untried; then
30280 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30281 echo "$as_me: error: DirectFB not found." >&2;}
30282 { (exit 1); exit 1; }; }
30286 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30287 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30288 { echo "$as_me:$LINENO: result: yes" >&5
30289 echo "${ECHO_T}yes" >&6; }
30291 wxUSE_UNIVERSAL="yes"
30292 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30293 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30300 if test "$wxUSE_MICROWIN" = 1; then
30301 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30302 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30303 if test "x$MICROWINDOWS" = x ; then
30304 { echo "$as_me:$LINENO: result: not found" >&5
30305 echo "${ECHO_T}not found" >&6; }
30306 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30307 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30308 { (exit 1); exit 1; }; }
30310 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30311 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30314 if test -f $MICROWINDOWS/lib/libmwin.a; then
30315 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30316 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30318 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30319 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30320 { (exit 1); exit 1; }; }
30323 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30324 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30326 wxUSE_UNIVERSAL="yes"
30328 AFMINSTALL=afminstall
30330 GUIDIST=MICROWIN_DIST
30332 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30335 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30336 { echo "$as_me:$LINENO: checking for X" >&5
30337 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30340 # Check whether --with-x was given.
30341 if test "${with_x+set}" = set; then
30345 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30346 if test "x$with_x" = xno; then
30347 # The user explicitly disabled X.
30350 case $x_includes,$x_libraries in #(
30351 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30352 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30353 { (exit 1); exit 1; }; };; #(
30354 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30357 # One or both of the vars are not set, and there is no cached value.
30358 ac_x_includes=no ac_x_libraries=no
30359 rm -f -r conftest.dir
30360 if mkdir conftest.dir; then
30362 cat >Imakefile <<'_ACEOF'
30364 @echo incroot='${INCROOT}'
30366 @echo usrlibdir='${USRLIBDIR}'
30368 @echo libdir='${LIBDIR}'
30370 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30371 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30372 for ac_var in incroot usrlibdir libdir; do
30373 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30375 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30376 for ac_extension in a so sl; do
30377 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30378 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30379 ac_im_usrlibdir=$ac_im_libdir; break
30382 # Screen out bogus values from the imake configuration. They are
30383 # bogus both because they are the default anyway, and because
30384 # using them would break gcc on systems where it needs fixed includes.
30385 case $ac_im_incroot in
30386 /usr/include) ac_x_includes= ;;
30387 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30389 case $ac_im_usrlibdir in
30390 /usr/lib | /lib) ;;
30391 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30395 rm -f -r conftest.dir
30398 # Standard set of common directories for X headers.
30399 # Check X11 before X11Rn because it is often a symlink to the current release.
30411 /usr
/local
/X
11/include
30412 /usr
/local
/X
11R
6/include
30413 /usr
/local
/X
11R
5/include
30414 /usr
/local
/X
11R
4/include
30416 /usr
/local
/include
/X11
30417 /usr
/local
/include
/X11R6
30418 /usr
/local
/include
/X11R5
30419 /usr
/local
/include
/X11R4
30423 /usr
/XFree
86/include
/X11
30427 /usr
/unsupported
/include
30428 /usr
/athena
/include
30429 /usr
/local
/x
11r
5/include
30430 /usr
/lpp
/Xamples
/include
30432 /usr
/openwin
/include
30433 /usr
/openwin
/share
/include
'
30435 if test "$ac_x_includes" = no; then
30436 # Guess where to find include files, by looking for Xlib.h.
30437 # First, try using that file with no special directory specified.
30438 cat >conftest.$ac_ext <<_ACEOF
30441 cat confdefs.h >>conftest.$ac_ext
30442 cat >>conftest.$ac_ext <<_ACEOF
30443 /* end confdefs.h. */
30444 #include <X11/Xlib.h>
30446 if { (ac_try="$ac_cpp conftest.$ac_ext"
30447 case "(($ac_try" in
30448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30449 *) ac_try_echo=$ac_try;;
30451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30454 grep -v '^
*+' conftest.er1 >conftest.err
30456 cat conftest.err >&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } >/dev/null && {
30459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30460 test ! -s conftest.err
30462 # We can compile using X headers with no special include directory.
30465 echo "$as_me: failed program was:" >&5
30466 sed 's
/^
/| /' conftest.$ac_ext >&5
30468 for ac_dir in $ac_x_header_dirs; do
30469 if test -r "$ac_dir/X11/Xlib.h"; then
30470 ac_x_includes=$ac_dir
30476 rm -f conftest.err conftest.$ac_ext
30477 fi # $ac_x_includes = no
30479 if test "$ac_x_libraries" = no; then
30480 # Check for the libraries.
30481 # See if we find them without any special options.
30482 # Don't add to
$LIBS permanently.
30485 cat >conftest.
$ac_ext <<_ACEOF
30488 cat confdefs.h
>>conftest.
$ac_ext
30489 cat >>conftest.
$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491 #include <X11/Xlib.h>
30500 rm -f conftest.
$ac_objext conftest
$ac_exeext
30501 if { (ac_try
="$ac_link"
30502 case "(($ac_try" in
30503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_link") 2>conftest.er1
30509 grep -v '^ *+' conftest.er1 >conftest.err
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } && {
30514 test -z "$ac_c_werror_flag" ||
30515 test ! -s conftest.err
30516 } && test -s conftest$ac_exeext &&
30517 $as_test_x conftest$ac_exeext; then
30519 # We can link X programs with no special library path.
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30526 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30528 # Don't even attempt the hair of trying to link an X program!
30529 for ac_extension in a so sl; do
30530 if test -r "$ac_dir/libX11.$ac_extension"; then
30531 ac_x_libraries=$ac_dir
30538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30539 conftest$ac_exeext conftest.$ac_ext
30540 fi # $ac_x_libraries = no
30542 case $ac_x_includes,$ac_x_libraries in #(
30543 no,* | *,no | *\'*)
30544 # Didn't find X, or a directory has "'" in its name.
30545 ac_cv_have_x="have_x=no";; #(
30547 # Record where we found X for the cache.
30548 ac_cv_have_x="have_x=yes\
30549 ac_x_includes='$ac_x_includes'\
30550 ac_x_libraries='$ac_x_libraries'"
30556 eval "$ac_cv_have_x"
30559 if test "$have_x" != yes; then
30560 { echo "$as_me:$LINENO: result: $have_x" >&5
30561 echo "${ECHO_T}$have_x" >&6; }
30564 # If each of the values was on the command line, it overrides each guess.
30565 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30566 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30567 # Update the cache value to reflect the command line values.
30568 ac_cv_have_x="have_x=yes\
30569 ac_x_includes='$x_includes'\
30570 ac_x_libraries='$x_libraries'"
30571 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30572 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30575 if test "$no_x" = yes; then
30576 # Not all programs may use this symbol, but it does not hurt to define it.
30578 cat >>confdefs.h <<\_ACEOF
30579 #define X_DISPLAY_MISSING 1
30582 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30584 if test -n "$x_includes"; then
30585 X_CFLAGS="$X_CFLAGS -I$x_includes"
30588 # It would also be nice to do this for all -L options, not just this one.
30589 if test -n "$x_libraries"; then
30590 X_LIBS="$X_LIBS -L$x_libraries"
30591 # For Solaris; some versions of Sun CC require a space after -R and
30592 # others require no space. Words are not sufficient . . . .
30593 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30594 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30595 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30596 ac_xsave_c_werror_flag=$ac_c_werror_flag
30597 ac_c_werror_flag=yes
30598 cat >conftest.$ac_ext <<_ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30613 rm -f conftest.$ac_objext conftest$ac_exeext
30614 if { (ac_try="$ac_link"
30615 case "(($ac_try" in
30616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30617 *) ac_try_echo
=$ac_try;;
30619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30620 (eval "$ac_link") 2>conftest.er1
30622 grep -v '^ *+' conftest.er1
>conftest.err
30624 cat conftest.err
>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } && {
30627 test -z "$ac_c_werror_flag" ||
30628 test ! -s conftest.err
30629 } && test -s conftest
$ac_exeext &&
30630 $as_test_x conftest
$ac_exeext; then
30631 { echo "$as_me:$LINENO: result: no" >&5
30632 echo "${ECHO_T}no" >&6; }
30633 X_LIBS
="$X_LIBS -R$x_libraries"
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30639 cat >conftest.
$ac_ext <<_ACEOF
30642 cat confdefs.h
>>conftest.
$ac_ext
30643 cat >>conftest.
$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30654 rm -f conftest.
$ac_objext conftest
$ac_exeext
30655 if { (ac_try
="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30663 grep -v '^ *+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 { echo "$as_me:$LINENO: result: yes" >&5
30673 echo "${ECHO_T}yes" >&6; }
30674 X_LIBS="$X_LIBS -R $x_libraries"
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 { echo "$as_me:$LINENO: result: neither works" >&5
30680 echo "${ECHO_T}neither works" >&6; }
30683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30684 conftest$ac_exeext conftest.$ac_ext
30687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30688 conftest$ac_exeext conftest.$ac_ext
30689 ac_c_werror_flag=$ac_xsave_c_werror_flag
30690 LIBS=$ac_xsave_LIBS
30693 # Check for system-dependent libraries X programs must link with.
30694 # Do this before checking for the system-independent R6 libraries
30695 # (-lICE), since we may need -lsocket or whatever for X linking.
30697 if test "$ISC" = yes; then
30698 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30700 # Martyn Johnson says this is needed for Ultrix, if the X
30701 # libraries were built with DECnet support. And Karl Berry says
30702 # the Alpha needs dnet_stub (dnet does not exist).
30703 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30704 cat >conftest.$ac_ext <<_ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30717 char XOpenDisplay ();
30721 return XOpenDisplay ();
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30730 *) ac_try_echo
=$ac_try;;
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30735 grep -v '^ *+' conftest.er1
>conftest.err
30737 cat conftest.err
>&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest
$ac_exeext &&
30743 $as_test_x conftest
$ac_exeext; then
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.
$ac_ext >&5
30749 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30750 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30751 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 ac_check_lib_save_LIBS
=$LIBS
30755 LIBS
="-ldnet $LIBS"
30756 cat >conftest.
$ac_ext <<_ACEOF
30759 cat confdefs.h
>>conftest.
$ac_ext
30760 cat >>conftest.
$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30763 /* Override any GCC internal prototype to avoid an error.
30764 Use char because int might match the return type of a GCC
30765 builtin and then its argument prototype would still apply. */
30773 return dnet_ntoa ();
30778 rm -f conftest.
$ac_objext conftest
$ac_exeext
30779 if { (ac_try
="$ac_link"
30780 case "(($ac_try" in
30781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30782 *) ac_try_echo=$ac_try;;
30784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30785 (eval "$ac_link") 2>conftest.er1
30787 grep -v '^ *+' conftest.er1 >conftest.err
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } && {
30792 test -z "$ac_c_werror_flag" ||
30793 test ! -s conftest.err
30794 } && test -s conftest$ac_exeext &&
30795 $as_test_x conftest$ac_exeext; then
30796 ac_cv_lib_dnet_dnet_ntoa=yes
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30801 ac_cv_lib_dnet_dnet_ntoa=no
30804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30808 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30809 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30810 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30811 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30814 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30815 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30816 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 ac_check_lib_save_LIBS=$LIBS
30821 LIBS="-ldnet_stub $LIBS"
30822 cat >conftest.$ac_ext <<_ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30839 return dnet_ntoa ();
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30848 *) ac_try_echo
=$ac_try;;
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30853 grep -v '^ *+' conftest.er1
>conftest.err
30855 cat conftest.err
>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest
$ac_exeext &&
30861 $as_test_x conftest
$ac_exeext; then
30862 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.
$ac_ext >&5
30867 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30871 conftest
$ac_exeext conftest.
$ac_ext
30872 LIBS
=$ac_check_lib_save_LIBS
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30875 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30876 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30884 conftest
$ac_exeext conftest.
$ac_ext
30885 LIBS
="$ac_xsave_LIBS"
30887 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30888 # to get the SysV transport functions.
30889 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30891 # The nsl library prevents programs from opening the X display
30892 # on Irix 5.2, according to T.E. Dickey.
30893 # The functions gethostbyname, getservbyname, and inet_addr are
30894 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30895 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30896 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30897 if test "${ac_cv_func_gethostbyname+set}" = set; then
30898 echo $ECHO_N "(cached) $ECHO_C" >&6
30900 cat >conftest.
$ac_ext <<_ACEOF
30903 cat confdefs.h
>>conftest.
$ac_ext
30904 cat >>conftest.
$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30906 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30908 #define gethostbyname innocuous_gethostbyname
30910 /* System header to define __stub macros and hopefully few prototypes,
30911 which can conflict with char gethostbyname (); below.
30912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30913 <limits.h> exists even on freestanding compilers. */
30916 # include <limits.h>
30918 # include <assert.h>
30921 #undef gethostbyname
30923 /* Override any GCC internal prototype to avoid an error.
30924 Use char because int might match the return type of a GCC
30925 builtin and then its argument prototype would still apply. */
30929 char gethostbyname ();
30930 /* The GNU C library defines this for functions which it implements
30931 to always fail with ENOSYS. Some functions are actually named
30932 something starting with __ and the normal name is an alias. */
30933 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30940 return gethostbyname ();
30945 rm -f conftest.
$ac_objext conftest
$ac_exeext
30946 if { (ac_try
="$ac_link"
30947 case "(($ac_try" in
30948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_link") 2>conftest.er1
30954 grep -v '^ *+' conftest.er1 >conftest.err
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest$ac_exeext &&
30962 $as_test_x conftest$ac_exeext; then
30963 ac_cv_func_gethostbyname=yes
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.$ac_ext >&5
30968 ac_cv_func_gethostbyname=no
30971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30972 conftest$ac_exeext conftest.$ac_ext
30974 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30975 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30977 if test $ac_cv_func_gethostbyname = no; then
30978 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30979 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30980 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 ac_check_lib_save_LIBS=$LIBS
30985 cat >conftest.$ac_ext <<_ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30992 /* Override any GCC internal prototype to avoid an error.
30993 Use char because int might match the return type of a GCC
30994 builtin and then its argument prototype would still apply. */
30998 char gethostbyname ();
31002 return gethostbyname ();
31007 rm -f conftest.$ac_objext conftest$ac_exeext
31008 if { (ac_try="$ac_link"
31009 case "(($ac_try" in
31010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31011 *) ac_try_echo
=$ac_try;;
31013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31014 (eval "$ac_link") 2>conftest.er1
31016 grep -v '^ *+' conftest.er1
>conftest.err
31018 cat conftest.err
>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } && {
31021 test -z "$ac_c_werror_flag" ||
31022 test ! -s conftest.err
31023 } && test -s conftest
$ac_exeext &&
31024 $as_test_x conftest
$ac_exeext; then
31025 ac_cv_lib_nsl_gethostbyname
=yes
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.
$ac_ext >&5
31030 ac_cv_lib_nsl_gethostbyname
=no
31033 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31034 conftest
$ac_exeext conftest.
$ac_ext
31035 LIBS
=$ac_check_lib_save_LIBS
31037 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31038 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31039 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31043 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31044 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31045 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31046 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 ac_check_lib_save_LIBS
=$LIBS
31051 cat >conftest.
$ac_ext <<_ACEOF
31054 cat confdefs.h
>>conftest.
$ac_ext
31055 cat >>conftest.
$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31058 /* Override any GCC internal prototype to avoid an error.
31059 Use char because int might match the return type of a GCC
31060 builtin and then its argument prototype would still apply. */
31064 char gethostbyname ();
31068 return gethostbyname ();
31073 rm -f conftest.
$ac_objext conftest
$ac_exeext
31074 if { (ac_try
="$ac_link"
31075 case "(($ac_try" in
31076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31077 *) ac_try_echo=$ac_try;;
31079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31080 (eval "$ac_link") 2>conftest.er1
31082 grep -v '^ *+' conftest.er1 >conftest.err
31084 cat conftest.err >&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); } && {
31087 test -z "$ac_c_werror_flag" ||
31088 test ! -s conftest.err
31089 } && test -s conftest$ac_exeext &&
31090 $as_test_x conftest$ac_exeext; then
31091 ac_cv_lib_bsd_gethostbyname=yes
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31096 ac_cv_lib_bsd_gethostbyname=no
31099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31100 conftest$ac_exeext conftest.$ac_ext
31101 LIBS=$ac_check_lib_save_LIBS
31103 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31104 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31105 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31112 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31113 # socket/setsockopt and other routines are undefined under SCO ODT
31114 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31115 # on later versions), says Simon Leinen: it contains gethostby*
31116 # variants that don't use the name server (or something). -lsocket
31117 # must be given before -lnsl if both are needed. We assume that
31118 # if connect needs -lnsl, so does gethostbyname.
31119 { echo "$as_me:$LINENO: checking for connect" >&5
31120 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31121 if test "${ac_cv_func_connect+set}" = set; then
31122 echo $ECHO_N "(cached) $ECHO_C" >&6
31124 cat >conftest.$ac_ext <<_ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31130 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31132 #define connect innocuous_connect
31134 /* System header to define __stub macros and hopefully few prototypes,
31135 which can conflict with char connect (); below.
31136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137 <limits.h> exists even on freestanding compilers. */
31140 # include <limits.h>
31142 # include <assert.h>
31147 /* Override any GCC internal prototype to avoid an error.
31148 Use char because int might match the return type of a GCC
31149 builtin and then its argument prototype would still apply. */
31154 /* The GNU C library defines this for functions which it implements
31155 to always fail with ENOSYS. Some functions are actually named
31156 something starting with __ and the normal name is an alias. */
31157 #if defined __stub_connect || defined __stub___connect
31169 rm -f conftest.$ac_objext conftest$ac_exeext
31170 if { (ac_try="$ac_link"
31171 case "(($ac_try" in
31172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31173 *) ac_try_echo
=$ac_try;;
31175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31176 (eval "$ac_link") 2>conftest.er1
31178 grep -v '^ *+' conftest.er1
>conftest.err
31180 cat conftest.err
>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } && {
31183 test -z "$ac_c_werror_flag" ||
31184 test ! -s conftest.err
31185 } && test -s conftest
$ac_exeext &&
31186 $as_test_x conftest
$ac_exeext; then
31187 ac_cv_func_connect
=yes
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.
$ac_ext >&5
31192 ac_cv_func_connect
=no
31195 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31196 conftest
$ac_exeext conftest.
$ac_ext
31198 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31199 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31201 if test $ac_cv_func_connect = no
; then
31202 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31203 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31204 if test "${ac_cv_lib_socket_connect+set}" = set; then
31205 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 ac_check_lib_save_LIBS
=$LIBS
31208 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31209 cat >conftest.
$ac_ext <<_ACEOF
31212 cat confdefs.h
>>conftest.
$ac_ext
31213 cat >>conftest.
$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31216 /* Override any GCC internal prototype to avoid an error.
31217 Use char because int might match the return type of a GCC
31218 builtin and then its argument prototype would still apply. */
31231 rm -f conftest.
$ac_objext conftest
$ac_exeext
31232 if { (ac_try
="$ac_link"
31233 case "(($ac_try" in
31234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31235 *) ac_try_echo=$ac_try;;
31237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31238 (eval "$ac_link") 2>conftest.er1
31240 grep -v '^ *+' conftest.er1 >conftest.err
31242 cat conftest.err >&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); } && {
31245 test -z "$ac_c_werror_flag" ||
31246 test ! -s conftest.err
31247 } && test -s conftest$ac_exeext &&
31248 $as_test_x conftest$ac_exeext; then
31249 ac_cv_lib_socket_connect=yes
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31254 ac_cv_lib_socket_connect=no
31257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31258 conftest$ac_exeext conftest.$ac_ext
31259 LIBS=$ac_check_lib_save_LIBS
31261 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31262 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31263 if test $ac_cv_lib_socket_connect = yes; then
31264 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31269 # Guillermo Gomez says -lposix is necessary on A/UX.
31270 { echo "$as_me:$LINENO: checking for remove" >&5
31271 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31272 if test "${ac_cv_func_remove+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31275 cat >conftest.$ac_ext <<_ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31283 #define remove innocuous_remove
31285 /* System header to define __stub macros and hopefully few prototypes,
31286 which can conflict with char remove (); below.
31287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31288 <limits.h> exists even on freestanding compilers. */
31291 # include <limits.h>
31293 # include <assert.h>
31298 /* Override any GCC internal prototype to avoid an error.
31299 Use char because int might match the return type of a GCC
31300 builtin and then its argument prototype would still apply. */
31305 /* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308 #if defined __stub_remove || defined __stub___remove
31320 rm -f conftest.$ac_objext conftest$ac_exeext
31321 if { (ac_try="$ac_link"
31322 case "(($ac_try" in
31323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31324 *) ac_try_echo
=$ac_try;;
31326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31327 (eval "$ac_link") 2>conftest.er1
31329 grep -v '^ *+' conftest.er1
>conftest.err
31331 cat conftest.err
>&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } && {
31334 test -z "$ac_c_werror_flag" ||
31335 test ! -s conftest.err
31336 } && test -s conftest
$ac_exeext &&
31337 $as_test_x conftest
$ac_exeext; then
31338 ac_cv_func_remove
=yes
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.
$ac_ext >&5
31343 ac_cv_func_remove
=no
31346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31347 conftest
$ac_exeext conftest.
$ac_ext
31349 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31350 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31352 if test $ac_cv_func_remove = no
; then
31353 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31354 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31355 if test "${ac_cv_lib_posix_remove+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 ac_check_lib_save_LIBS
=$LIBS
31359 LIBS
="-lposix $LIBS"
31360 cat >conftest.
$ac_ext <<_ACEOF
31363 cat confdefs.h
>>conftest.
$ac_ext
31364 cat >>conftest.
$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31367 /* Override any GCC internal prototype to avoid an error.
31368 Use char because int might match the return type of a GCC
31369 builtin and then its argument prototype would still apply. */
31382 rm -f conftest.
$ac_objext conftest
$ac_exeext
31383 if { (ac_try
="$ac_link"
31384 case "(($ac_try" in
31385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31386 *) ac_try_echo=$ac_try;;
31388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31389 (eval "$ac_link") 2>conftest.er1
31391 grep -v '^ *+' conftest.er1 >conftest.err
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } && {
31396 test -z "$ac_c_werror_flag" ||
31397 test ! -s conftest.err
31398 } && test -s conftest$ac_exeext &&
31399 $as_test_x conftest$ac_exeext; then
31400 ac_cv_lib_posix_remove=yes
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.$ac_ext >&5
31405 ac_cv_lib_posix_remove=no
31408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31409 conftest$ac_exeext conftest.$ac_ext
31410 LIBS=$ac_check_lib_save_LIBS
31412 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31413 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31414 if test $ac_cv_lib_posix_remove = yes; then
31415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31420 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31421 { echo "$as_me:$LINENO: checking for shmat" >&5
31422 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31423 if test "${ac_cv_func_shmat+set}" = set; then
31424 echo $ECHO_N "(cached) $ECHO_C" >&6
31426 cat >conftest.$ac_ext <<_ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define shmat innocuous_shmat
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char shmat (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31442 # include <limits.h>
31444 # include <assert.h>
31449 /* Override any GCC internal prototype to avoid an error.
31450 Use char because int might match the return type of a GCC
31451 builtin and then its argument prototype would still apply. */
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined __stub_shmat || defined __stub___shmat
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (ac_try="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31475 *) ac_try_echo
=$ac_try;;
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31480 grep -v '^ *+' conftest.er1
>conftest.err
31482 cat conftest.err
>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest
$ac_exeext &&
31488 $as_test_x conftest
$ac_exeext; then
31489 ac_cv_func_shmat
=yes
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.
$ac_ext >&5
31494 ac_cv_func_shmat
=no
31497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31498 conftest
$ac_exeext conftest.
$ac_ext
31500 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31501 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31503 if test $ac_cv_func_shmat = no
; then
31504 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31505 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31506 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31507 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 ac_check_lib_save_LIBS
=$LIBS
31511 cat >conftest.
$ac_ext <<_ACEOF
31514 cat confdefs.h
>>conftest.
$ac_ext
31515 cat >>conftest.
$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31533 rm -f conftest.
$ac_objext conftest
$ac_exeext
31534 if { (ac_try
="$ac_link"
31535 case "(($ac_try" in
31536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31537 *) ac_try_echo=$ac_try;;
31539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31540 (eval "$ac_link") 2>conftest.er1
31542 grep -v '^ *+' conftest.er1 >conftest.err
31544 cat conftest.err >&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); } && {
31547 test -z "$ac_c_werror_flag" ||
31548 test ! -s conftest.err
31549 } && test -s conftest$ac_exeext &&
31550 $as_test_x conftest$ac_exeext; then
31551 ac_cv_lib_ipc_shmat=yes
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31556 ac_cv_lib_ipc_shmat=no
31559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31560 conftest$ac_exeext conftest.$ac_ext
31561 LIBS=$ac_check_lib_save_LIBS
31563 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31564 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31565 if test $ac_cv_lib_ipc_shmat = yes; then
31566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31572 # Check for libraries that X11R6 Xt/Xaw programs need.
31573 ac_save_LDFLAGS=$LDFLAGS
31574 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31575 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31576 # check for ICE first), but we must link in the order -lSM -lICE or
31577 # we get undefined symbols. So assume we have SM if we have ICE.
31578 # These have to be linked with before -lX11, unlike the other
31579 # libraries we check for below, so use a different variable.
31580 # John Interrante, Karl Berry
31581 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31582 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31583 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31584 echo $ECHO_N "(cached) $ECHO_C" >&6
31586 ac_check_lib_save_LIBS=$LIBS
31587 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31588 cat >conftest.$ac_ext <<_ACEOF
31591 cat confdefs.h >>conftest.$ac_ext
31592 cat >>conftest.$ac_ext <<_ACEOF
31593 /* end confdefs.h. */
31595 /* Override any GCC internal prototype to avoid an error.
31596 Use char because int might match the return type of a GCC
31597 builtin and then its argument prototype would still apply. */
31601 char IceConnectionNumber ();
31605 return IceConnectionNumber ();
31610 rm -f conftest.$ac_objext conftest$ac_exeext
31611 if { (ac_try="$ac_link"
31612 case "(($ac_try" in
31613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31614 *) ac_try_echo
=$ac_try;;
31616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31617 (eval "$ac_link") 2>conftest.er1
31619 grep -v '^ *+' conftest.er1
>conftest.err
31621 cat conftest.err
>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } && {
31624 test -z "$ac_c_werror_flag" ||
31625 test ! -s conftest.err
31626 } && test -s conftest
$ac_exeext &&
31627 $as_test_x conftest
$ac_exeext; then
31628 ac_cv_lib_ICE_IceConnectionNumber
=yes
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.
$ac_ext >&5
31633 ac_cv_lib_ICE_IceConnectionNumber
=no
31636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31637 conftest
$ac_exeext conftest.
$ac_ext
31638 LIBS
=$ac_check_lib_save_LIBS
31640 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31641 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31642 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31643 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31646 LDFLAGS
=$ac_save_LDFLAGS
31651 if test "$no_x" = "yes"; then
31652 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31653 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31654 { (exit 1); exit 1; }; }
31657 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31658 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31659 AFMINSTALL
=afminstall
31660 COMPILED_X_PROGRAM
=0
31664 if test "$wxUSE_X11" = 1; then
31665 if test "$wxUSE_NANOX" = "yes"; then
31666 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31667 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31668 if test "x$MICROWIN" = x
; then
31669 { echo "$as_me:$LINENO: result: not found" >&5
31670 echo "${ECHO_T}not found" >&6; }
31671 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31672 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31673 { (exit 1); exit 1; }; }
31675 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31676 echo "${ECHO_T}$MICROWIN" >&6; }
31677 cat >>confdefs.h
<<\_ACEOF
31678 #define wxUSE_NANOX 1
31684 if test "$wxUSE_UNICODE" = "yes"; then
31687 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31688 if test -n "$ac_tool_prefix"; then
31689 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31690 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31693 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31696 case $PKG_CONFIG in
31698 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31702 for as_dir
in $PATH
31705 test -z "$as_dir" && as_dir
=.
31706 for ac_exec_ext
in '' $ac_executable_extensions; do
31707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31708 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31719 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31720 if test -n "$PKG_CONFIG"; then
31721 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31722 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31724 { echo "$as_me:$LINENO: result: no" >&5
31725 echo "${ECHO_T}no" >&6; }
31730 if test -z "$ac_cv_path_PKG_CONFIG"; then
31731 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31732 # Extract the first word of "pkg-config", so it can be a program name with args.
31733 set dummy pkg
-config; ac_word
=$2
31734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31736 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31737 echo $ECHO_N "(cached) $ECHO_C" >&6
31739 case $ac_pt_PKG_CONFIG in
31741 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31745 for as_dir
in $PATH
31748 test -z "$as_dir" && as_dir
=.
31749 for ac_exec_ext
in '' $ac_executable_extensions; do
31750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31751 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31762 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31763 if test -n "$ac_pt_PKG_CONFIG"; then
31764 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31765 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31767 { echo "$as_me:$LINENO: result: no" >&5
31768 echo "${ECHO_T}no" >&6; }
31771 if test "x$ac_pt_PKG_CONFIG" = x
; then
31774 case $cross_compiling:$ac_tool_warned in
31776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31777 whose name does not start with the host triplet. If you think this
31778 configuration is useful to you, please write to autoconf@gnu.org." >&5
31779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31780 whose name does not start with the host triplet. If you think this
31781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31782 ac_tool_warned
=yes ;;
31784 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31787 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31791 if test -n "$PKG_CONFIG"; then
31792 _pkg_min_version
=0.9.0
31793 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31794 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31795 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31796 { echo "$as_me:$LINENO: result: yes" >&5
31797 echo "${ECHO_T}yes" >&6; }
31799 { echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6; }
31808 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31809 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31811 if test -n "$PKG_CONFIG"; then
31812 if test -n "$PANGOX_CFLAGS"; then
31813 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31815 if test -n "$PKG_CONFIG" && \
31816 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31817 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; then
31821 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31829 if test -n "$PKG_CONFIG"; then
31830 if test -n "$PANGOX_LIBS"; then
31831 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31833 if test -n "$PKG_CONFIG" && \
31834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31835 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; then
31839 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31850 if test $pkg_failed = yes; then
31852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31853 _pkg_short_errors_supported
=yes
31855 _pkg_short_errors_supported
=no
31857 if test $_pkg_short_errors_supported = yes; then
31858 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31860 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31862 # Put the nasty error message in config.log where it belongs
31863 echo "$PANGOX_PKG_ERRORS" >&5
31866 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31867 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31868 { (exit 1); exit 1; }; }
31871 elif test $pkg_failed = untried
; then
31873 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31874 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31875 { (exit 1); exit 1; }; }
31879 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31880 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31881 { echo "$as_me:$LINENO: result: yes" >&5
31882 echo "${ECHO_T}yes" >&6; }
31884 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31885 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31891 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31892 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31894 if test -n "$PKG_CONFIG"; then
31895 if test -n "$PANGOFT2_CFLAGS"; then
31896 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31898 if test -n "$PKG_CONFIG" && \
31899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31900 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; then
31904 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31912 if test -n "$PKG_CONFIG"; then
31913 if test -n "$PANGOFT2_LIBS"; then
31914 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31916 if test -n "$PKG_CONFIG" && \
31917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31918 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); }; then
31922 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31933 if test $pkg_failed = yes; then
31935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31936 _pkg_short_errors_supported
=yes
31938 _pkg_short_errors_supported
=no
31940 if test $_pkg_short_errors_supported = yes; then
31941 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31943 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31945 # Put the nasty error message in config.log where it belongs
31946 echo "$PANGOFT2_PKG_ERRORS" >&5
31949 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31950 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31951 wxUSE_PRINTING_ARCHITECTURE
="no"
31954 elif test $pkg_failed = untried
; then
31956 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31957 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31958 wxUSE_PRINTING_ARCHITECTURE
="no"
31962 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31963 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31964 { echo "$as_me:$LINENO: result: yes" >&5
31965 echo "${ECHO_T}yes" >&6; }
31967 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31968 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31969 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31974 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31975 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31977 if test -n "$PKG_CONFIG"; then
31978 if test -n "$PANGOXFT_CFLAGS"; then
31979 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31981 if test -n "$PKG_CONFIG" && \
31982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31983 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); }; then
31987 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31995 if test -n "$PKG_CONFIG"; then
31996 if test -n "$PANGOXFT_LIBS"; then
31997 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31999 if test -n "$PKG_CONFIG" && \
32000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32001 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; then
32005 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32016 if test $pkg_failed = yes; then
32018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32019 _pkg_short_errors_supported
=yes
32021 _pkg_short_errors_supported
=no
32023 if test $_pkg_short_errors_supported = yes; then
32024 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32026 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32028 # Put the nasty error message in config.log where it belongs
32029 echo "$PANGOXFT_PKG_ERRORS" >&5
32032 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32033 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32036 elif test $pkg_failed = untried
; then
32038 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32039 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32043 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32044 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32045 { echo "$as_me:$LINENO: result: yes" >&5
32046 echo "${ECHO_T}yes" >&6; }
32048 cat >>confdefs.h
<<\_ACEOF
32049 #define HAVE_PANGO_XFT 1
32052 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32053 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32054 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32058 LIBS
="$LIBS $PANGOX_LIBS"
32060 for ac_func
in pango_font_family_is_monospace
32062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32065 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32066 echo $ECHO_N "(cached) $ECHO_C" >&6
32068 cat >conftest.
$ac_ext <<_ACEOF
32071 cat confdefs.h
>>conftest.
$ac_ext
32072 cat >>conftest.
$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32076 #define $ac_func innocuous_$ac_func
32078 /* System header to define __stub macros and hopefully few prototypes,
32079 which can conflict with char $ac_func (); below.
32080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32081 <limits.h> exists even on freestanding compilers. */
32084 # include <limits.h>
32086 # include <assert.h>
32091 /* Override any GCC internal prototype to avoid an error.
32092 Use char because int might match the return type of a GCC
32093 builtin and then its argument prototype would still apply. */
32098 /* The GNU C library defines this for functions which it implements
32099 to always fail with ENOSYS. Some functions are actually named
32100 something starting with __ and the normal name is an alias. */
32101 #if defined __stub_$ac_func || defined __stub___$ac_func
32108 return $ac_func ();
32113 rm -f conftest.
$ac_objext conftest
$ac_exeext
32114 if { (ac_try
="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32122 grep -v '^ *+' conftest.er1 >conftest.err
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } && {
32127 test -z "$ac_c_werror_flag" ||
32128 test ! -s conftest.err
32129 } && test -s conftest$ac_exeext &&
32130 $as_test_x conftest$ac_exeext; then
32131 eval "$as_ac_var=yes"
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32136 eval "$as_ac_var=no"
32139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32140 conftest$ac_exeext conftest.$ac_ext
32142 ac_res=`eval echo '${'$as_ac_var'}'`
32143 { echo "$as_me:$LINENO: result: $ac_res" >&5
32144 echo "${ECHO_T}$ac_res" >&6; }
32145 if test `eval echo '${'$as_ac_var'}'` = yes; then
32146 cat >>confdefs.h <<_ACEOF
32147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32156 wxUSE_UNIVERSAL="yes"
32158 if test "$wxUSE_NANOX" = "yes"; then
32159 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32160 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"
32161 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32163 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32170 if test "$wxUSE_MOTIF" = 1; then
32171 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32172 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32175 for ac_dir in $SEARCH_INCLUDE /usr/include;
32177 if test -f "$ac_dir/Xm/Xm.h"; then
32178 ac_find_includes=$ac_dir
32183 if test "$ac_find_includes" != "" ; then
32184 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32185 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32187 if test "x$ac_find_includes" = "x/usr/include"; then
32188 ac_path_to_include=""
32190 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32192 if test $result = 0; then
32193 ac_path_to_include=""
32195 ac_path_to_include=" -I$ac_find_includes"
32199 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32201 save_CFLAGS=$CFLAGS
32202 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32204 cat >conftest.$ac_ext <<_ACEOF
32207 cat confdefs.h >>conftest.$ac_ext
32208 cat >>conftest.$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32218 version = xmUseVersion;
32224 rm -f conftest.$ac_objext
32225 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32242 { echo "$as_me:$LINENO: result: found in default search path" >&5
32243 echo "${ECHO_T}found in default search path" >&6; }
32244 COMPILED_X_PROGRAM
=1
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.
$ac_ext >&5
32251 { echo "$as_me:$LINENO: result: no" >&5
32252 echo "${ECHO_T}no" >&6; }
32253 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32254 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32255 { (exit 1); exit 1; }; }
32260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32262 CFLAGS
=$save_CFLAGS
32266 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32267 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32270 for ac_dir
in $SEARCH_LIB;
32272 for ac_extension
in a so sl dylib dll.a
; do
32273 if test -f "$ac_dir/libXm.$ac_extension"; then
32274 ac_find_libraries
=$ac_dir
32281 if test "x$ac_find_libraries" != "x" ; then
32282 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32283 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32286 if test "$ac_find_libraries" = "default location"; then
32289 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32291 if test $result = 0; then
32294 ac_path_to_link
=" -L$ac_find_libraries"
32298 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32300 save_CFLAGS
=$CFLAGS
32301 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32303 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32305 cat >conftest.
$ac_ext <<_ACEOF
32308 cat confdefs.h
>>conftest.
$ac_ext
32309 cat >>conftest.
$ac_ext <<_ACEOF
32310 /* end confdefs.h. */
32319 version = xmUseVersion;
32325 rm -f conftest.
$ac_objext conftest
$ac_exeext
32326 if { (ac_try
="$ac_link"
32327 case "(($ac_try" in
32328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_link") 2>conftest.er1
32334 grep -v '^ *+' conftest.er1 >conftest.err
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest$ac_exeext &&
32342 $as_test_x conftest$ac_exeext; then
32344 { echo "$as_me:$LINENO: result: found in default search path" >&5
32345 echo "${ECHO_T}found in default search path" >&6; }
32346 COMPILED_X_PROGRAM=1
32349 echo "$as_me: failed program was:" >&5
32350 sed 's/^/| /' conftest.$ac_ext >&5
32353 { echo "$as_me:$LINENO: result: no" >&5
32354 echo "${ECHO_T}no" >&6; }
32355 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32356 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32357 { (exit 1); exit 1; }; }
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32365 CFLAGS=$save_CFLAGS
32369 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32370 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32374 for libp in "" " -lXp"; do
32375 if test "$libs_found" = 0; then
32376 for libsm_ice in "" " -lSM -lICE"; do
32377 if test "$libs_found" = 0; then
32379 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32380 save_CFLAGS=$CFLAGS
32381 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32383 cat >conftest.$ac_ext <<_ACEOF
32386 cat confdefs.h >>conftest.$ac_ext
32387 cat >>conftest.$ac_ext <<_ACEOF
32388 /* end confdefs.h. */
32391 #include <Xm/List.h>
32397 XmString string = NULL;
32400 XmListAddItem(w, string, position);
32406 rm -f conftest.$ac_objext conftest$ac_exeext
32407 if { (ac_try="$ac_link"
32408 case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32410 *) ac_try_echo
=$ac_try;;
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_link") 2>conftest.er1
32415 grep -v '^ *+' conftest.er1
>conftest.err
32417 cat conftest.err
>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } && {
32420 test -z "$ac_c_werror_flag" ||
32421 test ! -s conftest.err
32422 } && test -s conftest
$ac_exeext &&
32423 $as_test_x conftest
$ac_exeext; then
32426 libsm_ice_link
="$libsm_ice"
32427 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32428 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32432 echo "$as_me: failed program was:" >&5
32433 sed 's/^/| /' conftest.
$ac_ext >&5
32439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32440 conftest
$ac_exeext conftest.
$ac_ext
32443 CFLAGS
=$save_CFLAGS
32449 if test "$libs_found" = 0; then
32450 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32451 echo "${ECHO_T}can't find the right libraries" >&6; }
32452 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32453 echo "$as_me: error: can't link a simple motif program" >&2;}
32454 { (exit 1); exit 1; }; }
32457 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32458 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32459 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 ac_check_lib_save_LIBS
=$LIBS
32464 cat >conftest.
$ac_ext <<_ACEOF
32467 cat confdefs.h
>>conftest.
$ac_ext
32468 cat >>conftest.
$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32471 /* Override any GCC internal prototype to avoid an error.
32472 Use char because int might match the return type of a GCC
32473 builtin and then its argument prototype would still apply. */
32477 char SgCreateList ();
32481 return SgCreateList ();
32486 rm -f conftest.
$ac_objext conftest
$ac_exeext
32487 if { (ac_try
="$ac_link"
32488 case "(($ac_try" in
32489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32490 *) ac_try_echo=$ac_try;;
32492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32493 (eval "$ac_link") 2>conftest.er1
32495 grep -v '^ *+' conftest.er1 >conftest.err
32497 cat conftest.err >&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } && {
32500 test -z "$ac_c_werror_flag" ||
32501 test ! -s conftest.err
32502 } && test -s conftest$ac_exeext &&
32503 $as_test_x conftest$ac_exeext; then
32504 ac_cv_lib_Sgm_SgCreateList=yes
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.$ac_ext >&5
32509 ac_cv_lib_Sgm_SgCreateList=no
32512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32513 conftest$ac_exeext conftest.$ac_ext
32514 LIBS=$ac_check_lib_save_LIBS
32516 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32517 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32518 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32519 libsgm_link=" -lSgm"
32523 save_CFLAGS=$CFLAGS
32524 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32526 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32527 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32528 if test "${wx_cv_lib_motif2+set}" = set; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 cat >conftest.$ac_ext <<_ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32544 #if XmVersion < 2000
32552 rm -f conftest.$ac_objext
32553 if { (ac_try="$ac_compile"
32554 case "(($ac_try" in
32555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32556 *) ac_try_echo
=$ac_try;;
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_compile") 2>conftest.er1
32561 grep -v '^ *+' conftest.er1
>conftest.err
32563 cat conftest.err
>&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } && {
32566 test -z "$ac_c_werror_flag" ||
32567 test ! -s conftest.err
32568 } && test -s conftest.
$ac_objext; then
32569 wx_cv_lib_motif2
="yes"
32571 echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.
$ac_ext >&5
32574 wx_cv_lib_motif2
="no"
32577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32579 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32580 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32581 if test "$wx_cv_lib_motif2" = "yes"; then
32582 cat >>confdefs.h
<<\_ACEOF
32583 #define __WXMOTIF20__ 1
32587 cat >>confdefs.h
<<\_ACEOF
32588 #define __WXMOTIF20__ 0
32593 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32594 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32595 if test "${wx_cv_lib_lesstif+set}" = set; then
32596 echo $ECHO_N "(cached) $ECHO_C" >&6
32598 cat >conftest.
$ac_ext <<_ACEOF
32601 cat confdefs.h
>>conftest.
$ac_ext
32602 cat >>conftest.
$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32611 #if !defined(LesstifVersion) || LesstifVersion <= 0
32619 rm -f conftest.
$ac_objext
32620 if { (ac_try
="$ac_compile"
32621 case "(($ac_try" in
32622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_compile") 2>conftest.er1
32628 grep -v '^ *+' conftest.er1 >conftest.err
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } && {
32633 test -z "$ac_c_werror_flag" ||
32634 test ! -s conftest.err
32635 } && test -s conftest.$ac_objext; then
32636 wx_cv_lib_lesstif="yes"
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.$ac_ext >&5
32641 wx_cv_lib_lesstif="no"
32644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32647 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32648 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32649 if test "$wx_cv_lib_lesstif" = "yes"; then
32650 cat >>confdefs.h <<\_ACEOF
32651 #define __WXLESSTIF__ 1
32655 cat >>confdefs.h <<\_ACEOF
32656 #define __WXLESSTIF__ 0
32661 CFLAGS=$save_CFLAGS
32663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32668 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32669 if test "$wxUSE_LIBXPM" = "sys"; then
32670 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32671 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32674 for ac_dir in $SEARCH_LIB;
32676 for ac_extension in a so sl dylib dll.a; do
32677 if test -f "$ac_dir/libXpm.$ac_extension"; then
32678 ac_find_libraries=$ac_dir
32684 if test "$ac_find_libraries" != "" ; then
32686 if test "$ac_find_libraries" = "default location"; then
32689 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32691 if test $result = 0; then
32694 ac_path_to_link=" -L$ac_find_libraries"
32698 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32699 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32700 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32702 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32703 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32704 if test "${wx_cv_x11_xpm_h+set}" = set; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32708 save_CFLAGS=$CFLAGS
32709 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32711 cat >conftest.$ac_ext <<_ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32718 #include <X11/xpm.h>
32725 version = XpmLibraryVersion();
32731 rm -f conftest.$ac_objext
32732 if { (ac_try="$ac_compile"
32733 case "(($ac_try" in
32734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32735 *) ac_try_echo
=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_compile") 2>conftest.er1
32740 grep -v '^ *+' conftest.er1
>conftest.err
32742 cat conftest.err
>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest.
$ac_objext; then
32748 wx_cv_x11_xpm_h
=yes
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.
$ac_ext >&5
32757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32759 CFLAGS
=$save_CFLAGS
32763 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32764 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32766 if test $wx_cv_x11_xpm_h = "yes"; then
32767 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32768 cat >>confdefs.h
<<\_ACEOF
32769 #define wxHAVE_LIB_XPM 1
32773 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32774 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32780 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32781 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32782 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32783 echo $ECHO_N "(cached) $ECHO_C" >&6
32785 ac_check_lib_save_LIBS
=$LIBS
32786 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32787 cat >conftest.
$ac_ext <<_ACEOF
32790 cat confdefs.h
>>conftest.
$ac_ext
32791 cat >>conftest.
$ac_ext <<_ACEOF
32792 /* end confdefs.h. */
32794 /* Override any GCC internal prototype to avoid an error.
32795 Use char because int might match the return type of a GCC
32796 builtin and then its argument prototype would still apply. */
32800 char XShapeQueryExtension ();
32804 return XShapeQueryExtension ();
32809 rm -f conftest.
$ac_objext conftest
$ac_exeext
32810 if { (ac_try
="$ac_link"
32811 case "(($ac_try" in
32812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_link") 2>conftest.er1
32818 grep -v '^ *+' conftest.er1 >conftest.err
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest$ac_exeext &&
32826 $as_test_x conftest$ac_exeext; then
32827 ac_cv_lib_Xext_XShapeQueryExtension=yes
32829 echo "$as_me: failed program was:" >&5
32830 sed 's/^/| /' conftest.$ac_ext >&5
32832 ac_cv_lib_Xext_XShapeQueryExtension=no
32835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32836 conftest$ac_exeext conftest.$ac_ext
32837 LIBS=$ac_check_lib_save_LIBS
32839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32840 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32841 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32849 if test "$wxHAVE_XEXT_LIB" = 1; then
32850 save_CFLAGS="$CFLAGS"
32851 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32853 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32854 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32855 cat >conftest.$ac_ext <<_ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32862 #include <X11/Xlib.h>
32863 #include <X11/extensions/shape.h>
32869 int dummy1, dummy2;
32870 XShapeQueryExtension((Display*)NULL,
32871 (int*)NULL, (int*)NULL);
32877 rm -f conftest.$ac_objext
32878 if { (ac_try="$ac_compile"
32879 case "(($ac_try" in
32880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32881 *) ac_try_echo
=$ac_try;;
32883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32884 (eval "$ac_compile") 2>conftest.er1
32886 grep -v '^ *+' conftest.er1
>conftest.err
32888 cat conftest.err
>&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); } && {
32891 test -z "$ac_c_werror_flag" ||
32892 test ! -s conftest.err
32893 } && test -s conftest.
$ac_objext; then
32895 cat >>confdefs.h
<<\_ACEOF
32896 #define HAVE_XSHAPE 1
32899 { echo "$as_me:$LINENO: result: found" >&5
32900 echo "${ECHO_T}found" >&6; }
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.
$ac_ext >&5
32907 { echo "$as_me:$LINENO: result: not found" >&5
32908 echo "${ECHO_T}not found" >&6; }
32912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32913 CFLAGS
="$save_CFLAGS"
32918 if test "$wxUSE_OSX_CARBON" = 1; then
32919 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32920 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32921 if test "$GCC" = yes; then
32922 { echo "$as_me:$LINENO: result: gcc" >&5
32923 echo "${ECHO_T}gcc" >&6; }
32924 CPPFLAGS_PASCAL
="-fpascal-strings"
32925 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32926 { echo "$as_me:$LINENO: result: xlc" >&5
32927 echo "${ECHO_T}xlc" >&6; }
32928 CPPFLAGS_PASCAL
="-qmacpstr"
32930 { echo "$as_me:$LINENO: result: none" >&5
32931 echo "${ECHO_T}none" >&6; }
32934 if test "x$wxUSE_UNIX" = "xyes"; then
32935 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32937 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32941 GUIDIST
=OSX_CARBON_DIST
32942 WXBASEPORT
="_carbon"
32944 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32947 if test "$wxUSE_OSX_COCOA" = 1; then
32949 GUIDIST
=OSX_COCOA_DIST
32951 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32954 if test "$wxUSE_COCOA" = 1; then
32959 if test "$wxUSE_PM" = 1; then
32962 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32963 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32964 if test "${wx_cv_spbcdata+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32968 cat >conftest.
$ac_ext <<_ACEOF
32971 cat confdefs.h
>>conftest.
$ac_ext
32972 cat >>conftest.
$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32988 rm -f conftest.
$ac_objext
32989 if { (ac_try
="$ac_compile"
32990 case "(($ac_try" in
32991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_compile") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1 >conftest.err
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest.$ac_objext; then
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.$ac_ext >&5
33014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33018 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33019 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33021 if test $wx_cv_spbcdata = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define HAVE_SPBCDATA 1
33029 if test "$TOOLKIT" = "PM" ; then
33032 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33035 if test "$wxUSE_UNIVERSAL" = "yes"; then
33036 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33040 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33041 DISTDIR="wx\$(TOOLKIT)"
33047 if test "$USE_WIN32" = 1 ; then
33051 GUIDIST="BASE_DIST"
33057 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33058 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33059 wxUSE_UNICODE_UTF8=yes
33060 elif test "$USE_OS2" = 1 ; then
33061 wxUSE_UNICODE_UTF8=yes
33063 wxUSE_UNICODE_UTF8=no
33068 if test "$wxUSE_GUI" = "yes"; then
33069 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33071 for ac_header in X11/Xlib.h
33073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33077 echo $ECHO_N "(cached) $ECHO_C" >&6
33079 cat >conftest.$ac_ext <<_ACEOF
33082 cat confdefs.h >>conftest.$ac_ext
33083 cat >>conftest.$ac_ext <<_ACEOF
33084 /* end confdefs.h. */
33087 #include <$ac_header>
33089 rm -f conftest.$ac_objext
33090 if { (ac_try="$ac_compile"
33091 case "(($ac_try" in
33092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33093 *) ac_try_echo
=$ac_try;;
33095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33096 (eval "$ac_compile") 2>conftest.er1
33098 grep -v '^ *+' conftest.er1
>conftest.err
33100 cat conftest.err
>&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); } && {
33103 test -z "$ac_c_werror_flag" ||
33104 test ! -s conftest.err
33105 } && test -s conftest.
$ac_objext; then
33106 eval "$as_ac_Header=yes"
33108 echo "$as_me: failed program was:" >&5
33109 sed 's/^/| /' conftest.
$ac_ext >&5
33111 eval "$as_ac_Header=no"
33114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33116 ac_res
=`eval echo '${'$as_ac_Header'}'`
33117 { echo "$as_me:$LINENO: result: $ac_res" >&5
33118 echo "${ECHO_T}$ac_res" >&6; }
33119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33120 cat >>confdefs.h
<<_ACEOF
33121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33129 for ac_header
in X
11/XKBlib.h
33131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33134 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33135 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 cat >conftest.
$ac_ext <<_ACEOF
33140 cat confdefs.h
>>conftest.
$ac_ext
33141 cat >>conftest.
$ac_ext <<_ACEOF
33142 /* end confdefs.h. */
33144 #if HAVE_X11_XLIB_H
33145 #include <X11/Xlib.h>
33149 #include <$ac_header>
33151 rm -f conftest.
$ac_objext
33152 if { (ac_try
="$ac_compile"
33153 case "(($ac_try" in
33154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_compile") 2>conftest.er1
33160 grep -v '^ *+' conftest.er1 >conftest.err
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest.$ac_objext; then
33168 eval "$as_ac_Header=yes"
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33173 eval "$as_ac_Header=no"
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33178 ac_res=`eval echo '${'$as_ac_Header'}'`
33179 { echo "$as_me:$LINENO: result: $ac_res" >&5
33180 echo "${ECHO_T}$ac_res" >&6; }
33181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33182 cat >>confdefs.h <<_ACEOF
33183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33195 if test "$wxUSE_DISPLAY" = "yes"; then
33196 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33197 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33198 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33201 for ac_dir in $SEARCH_LIB;
33203 for ac_extension in a so sl dylib dll.a; do
33204 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33205 ac_find_libraries=$ac_dir
33211 if test "$ac_find_libraries" != "" ; then
33213 if test "$ac_find_libraries" = "default location"; then
33216 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33218 if test $result = 0; then
33221 ac_path_to_link=" -L$ac_find_libraries"
33225 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33226 LDFLAGS="$LDFLAGS $ac_path_to_link"
33228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33229 { echo "$as_me:$LINENO: result: yes" >&5
33230 echo "${ECHO_T}yes" >&6; }
33232 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33233 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33236 for ac_dir in $SEARCH_LIB;
33238 for ac_extension in a so sl dylib dll.a; do
33239 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33240 ac_find_libraries=$ac_dir
33246 if test "$ac_find_libraries" != "" ; then
33247 { echo "$as_me:$LINENO: result: yes" >&5
33248 echo "${ECHO_T}yes" >&6; }
33250 for ac_header in X11/extensions/xf86vmode.h
33252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 cat >conftest.$ac_ext <<_ACEOF
33261 cat confdefs.h >>conftest.$ac_ext
33262 cat >>conftest.$ac_ext <<_ACEOF
33263 /* end confdefs.h. */
33265 #if HAVE_X11_XLIB_H
33266 #include <X11/Xlib.h>
33270 #include <$ac_header>
33272 rm -f conftest.$ac_objext
33273 if { (ac_try="$ac_compile"
33274 case "(($ac_try" in
33275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33276 *) ac_try_echo
=$ac_try;;
33278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33279 (eval "$ac_compile") 2>conftest.er1
33281 grep -v '^ *+' conftest.er1
>conftest.err
33283 cat conftest.err
>&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); } && {
33286 test -z "$ac_c_werror_flag" ||
33287 test ! -s conftest.err
33288 } && test -s conftest.
$ac_objext; then
33289 eval "$as_ac_Header=yes"
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.
$ac_ext >&5
33294 eval "$as_ac_Header=no"
33297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33299 ac_res
=`eval echo '${'$as_ac_Header'}'`
33300 { echo "$as_me:$LINENO: result: $ac_res" >&5
33301 echo "${ECHO_T}$ac_res" >&6; }
33302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33303 cat >>confdefs.h
<<_ACEOF
33304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33307 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33314 { echo "$as_me:$LINENO: result: no" >&5
33315 echo "${ECHO_T}no" >&6; }
33319 { echo "$as_me:$LINENO: result: no" >&5
33320 echo "${ECHO_T}no" >&6; }
33321 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33322 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33325 elif test "$wxUSE_MSW" = 1; then
33326 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33327 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33328 if test "${ac_cv_header_ddraw_h+set}" = set; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 cat >conftest.
$ac_ext <<_ACEOF
33334 cat confdefs.h
>>conftest.
$ac_ext
33335 cat >>conftest.
$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 #include <windows.h>
33341 rm -f conftest.
$ac_objext
33342 if { (ac_try
="$ac_compile"
33343 case "(($ac_try" in
33344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33345 *) ac_try_echo=$ac_try;;
33347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33348 (eval "$ac_compile") 2>conftest.er1
33350 grep -v '^ *+' conftest.er1 >conftest.err
33352 cat conftest.err >&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } && {
33355 test -z "$ac_c_werror_flag" ||
33356 test ! -s conftest.err
33357 } && test -s conftest.$ac_objext; then
33358 ac_cv_header_ddraw_h=yes
33360 echo "$as_me: failed program was:" >&5
33361 sed 's/^/| /' conftest.$ac_ext >&5
33363 ac_cv_header_ddraw_h=no
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33369 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33375 if test "$wxUSE_DETECT_SM" = "yes"; then
33376 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33377 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33378 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33381 for ac_dir in $SEARCH_LIB;
33383 for ac_extension in a so sl dylib dll.a; do
33384 if test -f "$ac_dir/libSM.$ac_extension"; then
33385 ac_find_libraries=$ac_dir
33391 if test "$ac_find_libraries" != "" ; then
33393 if test "$ac_find_libraries" = "default location"; then
33396 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33398 if test $result = 0; then
33401 ac_path_to_link=" -L$ac_find_libraries"
33405 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33406 LDFLAGS="$LDFLAGS $ac_path_to_link"
33408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33409 { echo "$as_me:$LINENO: result: yes" >&5
33410 echo "${ECHO_T}yes" >&6; }
33412 { echo "$as_me:$LINENO: result: no" >&5
33413 echo "${ECHO_T}no" >&6; }
33414 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33415 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33416 wxUSE_DETECT_SM="no"
33419 wxUSE_DETECT_SM="no"
33426 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33429 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33430 OPENGL_LIBS="-framework OpenGL -framework AGL"
33431 elif test "$wxUSE_MSW" = 1; then
33432 OPENGL_LIBS="-lopengl32 -lglu32"
33433 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33435 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33436 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33439 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33441 if test -f "$ac_dir/GL/gl.h"; then
33442 ac_find_includes=$ac_dir
33447 if test "$ac_find_includes" != "" ; then
33448 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33449 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33451 if test "x$ac_find_includes" = "x/usr/include"; then
33452 ac_path_to_include=""
33454 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33456 if test $result = 0; then
33457 ac_path_to_include=""
33459 ac_path_to_include=" -I$ac_find_includes"
33463 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33465 { echo "$as_me:$LINENO: result: not found" >&5
33466 echo "${ECHO_T}not found" >&6; }
33469 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33470 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33471 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 cat >conftest.$ac_ext <<_ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33484 rm -f conftest.$ac_objext
33485 if { (ac_try="$ac_compile"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33488 *) ac_try_echo
=$ac_try;;
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_compile") 2>conftest.er1
33493 grep -v '^ *+' conftest.er1
>conftest.err
33495 cat conftest.err
>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_c_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest.
$ac_objext; then
33501 ac_cv_header_GL_gl_h
=yes
33503 echo "$as_me: failed program was:" >&5
33504 sed 's/^/| /' conftest.
$ac_ext >&5
33506 ac_cv_header_GL_gl_h
=no
33509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33511 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33512 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33513 if test $ac_cv_header_GL_gl_h = yes; then
33515 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33516 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33517 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33520 cat >conftest.
$ac_ext <<_ACEOF
33523 cat confdefs.h
>>conftest.
$ac_ext
33524 cat >>conftest.
$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33528 #include <GL/glu.h>
33530 rm -f conftest.
$ac_objext
33531 if { (ac_try
="$ac_compile"
33532 case "(($ac_try" in
33533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_compile") 2>conftest.er1
33539 grep -v '^ *+' conftest.er1 >conftest.err
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_c_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest.$ac_objext; then
33547 ac_cv_header_GL_glu_h=yes
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33552 ac_cv_header_GL_glu_h=no
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33557 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33558 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33559 if test $ac_cv_header_GL_glu_h = yes; then
33563 { echo "$as_me:$LINENO: checking for -lGL" >&5
33564 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33567 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33569 for ac_extension in a so sl dylib dll.a; do
33570 if test -f "$ac_dir/libGL.$ac_extension"; then
33571 ac_find_libraries=$ac_dir
33577 if test "$ac_find_libraries" != "" ; then
33578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33582 if test "$ac_find_libraries" = "default location"; then
33585 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33587 if test $result = 0; then
33590 ac_path_to_link=" -L$ac_find_libraries"
33594 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33595 LDFLAGS_GL="$ac_path_to_link"
33598 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33599 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33602 for ac_dir in $SEARCH_LIB;
33604 for ac_extension in a so sl dylib dll.a; do
33605 if test -f "$ac_dir/libGLU.$ac_extension"; then
33606 ac_find_libraries=$ac_dir
33612 if test "$ac_find_libraries" != "" ; then
33614 if test "$ac_find_libraries" = "default location"; then
33617 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33619 if test $result = 0; then
33622 ac_path_to_link=" -L$ac_find_libraries"
33626 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33627 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33628 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33632 OPENGL_LIBS="-lGL -lGLU"
33633 { echo "$as_me:$LINENO: result: yes" >&5
33634 echo "${ECHO_T}yes" >&6; }
33636 { echo "$as_me:$LINENO: result: no" >&5
33637 echo "${ECHO_T}no" >&6; }
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33644 if test "$found_gl" != 1; then
33645 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33646 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33649 for ac_dir in $SEARCH_LIB;
33651 for ac_extension in a so sl dylib dll.a; do
33652 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33653 ac_find_libraries=$ac_dir
33659 if test "$ac_find_libraries" != "" ; then
33661 if test "$ac_find_libraries" = "default location"; then
33664 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33666 if test $result = 0; then
33669 ac_path_to_link=" -L$ac_find_libraries"
33673 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33674 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33675 { echo "$as_me:$LINENO: result: yes" >&5
33676 echo "${ECHO_T}yes" >&6; }
33678 { echo "$as_me:$LINENO: result: no" >&5
33679 echo "${ECHO_T}no" >&6; }
33691 if test "x$OPENGL_LIBS" = "x"; then
33692 if test "$wxUSE_OPENGL" = "yes"; then
33693 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33694 echo "$as_me: error: OpenGL libraries not available" >&2;}
33695 { (exit 1); exit 1; }; }
33697 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33698 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33704 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33705 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33709 if test "$wxUSE_OPENGL" = "auto"; then
33713 if test "$wxUSE_OPENGL" = "yes"; then
33715 cat >>confdefs.h <<\_ACEOF
33716 #define wxUSE_OPENGL 1
33719 cat >>confdefs.h <<\_ACEOF
33720 #define wxUSE_GLCANVAS 1
33723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33728 if test -n "$TOOLKIT" ; then
33729 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33734 if test "$wxUSE_SHARED" = "yes"; then
33738 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33739 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33744 if test "$wxUSE_SHARED" = "yes"; then
33748 *-*-cygwin* | *-*-mingw* )
33749 wx_cv_version_script=no
33753 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33754 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33755 if test "${wx_cv_version_script+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 echo "VER_1 { *; };" >conftest.sym
33760 echo "int main() { return 0; }" >conftest.cpp
33763 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33764 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 (eval $ac_try) 2>&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); }; } ; then
33770 if test -s conftest.stderr ; then
33771 wx_cv_version_script=no
33773 wx_cv_version_script=yes
33776 wx_cv_version_script=no
33779 if test $wx_cv_version_script = yes
33781 echo "struct B { virtual ~B() { } }; \
33782 struct D : public B { }; \
33783 void F() { D d; }" > conftest.cpp
33786 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33787 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33789 (eval $ac_try) 2>&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33794 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33795 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }
33803 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33804 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }
33811 wx_cv_version_script=yes
33813 wx_cv_version_script=no
33818 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33819 rm -f conftest1.output conftest2.output conftest3.output
33822 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33823 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33825 if test $wx_cv_version_script = yes ; then
33826 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33832 if test "$wxUSE_VISIBILITY" != "no"; then
33835 if test -n "$GCC"; then
33836 CFLAGS_VISIBILITY="-fvisibility=hidden"
33837 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33838 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33839 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33840 if test "${wx_cv_cc_visibility+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 wx_save_CXXFLAGS="$CXXFLAGS"
33845 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33847 ac_cpp='$CXXCPP $CPPFLAGS'
33848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33852 cat >conftest.$ac_ext <<_ACEOF
33855 cat confdefs.h >>conftest.$ac_ext
33856 cat >>conftest.$ac_ext <<_ACEOF
33857 /* end confdefs.h. */
33859 /* we need gcc >= 4.0, older versions with visibility support
33860 didn't have class visibility: */
33861 #if defined(__GNUC__) && __GNUC__ < 4
33862 error this gcc is too old;
33865 /* visibility only makes sense for ELF shared libs: */
33866 #if !defined(__ELF__) && !defined(__APPLE__)
33867 error this platform has no visibility;
33870 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33871 extern __attribute__((__visibility__("default"))) int exportedvar;
33872 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33873 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33874 class __attribute__((__visibility__("default"))) Foo {
33886 rm -f conftest.$ac_objext
33887 if { (ac_try="$ac_compile"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33890 *) ac_try_echo
=$ac_try;;
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_compile") 2>conftest.er1
33895 grep -v '^ *+' conftest.er1
>conftest.err
33897 cat conftest.err
>&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_cxx_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest.
$ac_objext; then
33903 wx_cv_cc_visibility
=yes
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.
$ac_ext >&5
33908 wx_cv_cc_visibility
=no
33911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33913 ac_cpp
='$CPP $CPPFLAGS'
33914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33918 CXXFLAGS
="$wx_save_CXXFLAGS"
33921 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33922 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33923 if test $wx_cv_cc_visibility = yes; then
33924 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33925 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33926 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33930 wx_save_CXXFLAGS
="$CXXFLAGS"
33931 wx_save_LDFLAGS
="$LDFLAGS"
33932 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33933 LDFLAGS
="$LDFLAGS -shared -fPIC"
33935 ac_cpp
='$CXXCPP $CPPFLAGS'
33936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33940 cat >conftest.
$ac_ext <<_ACEOF
33943 cat confdefs.h
>>conftest.
$ac_ext
33944 cat >>conftest.
$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33953 std::string s("hello");
33960 rm -f conftest.
$ac_objext conftest
$ac_exeext
33961 if { (ac_try
="$ac_link"
33962 case "(($ac_try" in
33963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33964 *) ac_try_echo=$ac_try;;
33966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33967 (eval "$ac_link") 2>conftest.er1
33969 grep -v '^ *+' conftest.er1 >conftest.err
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } && {
33974 test -z "$ac_cxx_werror_flag" ||
33975 test ! -s conftest.err
33976 } && test -s conftest$ac_exeext &&
33977 $as_test_x conftest$ac_exeext; then
33978 wx_cv_cc_broken_libstdcxx_visibility=no
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33983 wx_cv_cc_broken_libstdcxx_visibility=yes
33986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33987 conftest$ac_exeext conftest.$ac_ext
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33994 CXXFLAGS="$wx_save_CXXFLAGS"
33995 LDFLAGS="$wx_save_LDFLAGS"
33998 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33999 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34001 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34002 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34003 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34004 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34014 cat >conftest.$ac_ext <<_ACEOF
34017 cat confdefs.h >>conftest.$ac_ext
34018 cat >>conftest.$ac_ext <<_ACEOF
34019 /* end confdefs.h. */
34021 #pragma GCC visibility push(default)
34023 #pragma GCC visibility pop
34029 std::string s("hello");
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (ac_try="$ac_link"
34038 case "(($ac_try" in
34039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34040 *) ac_try_echo
=$ac_try;;
34042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34043 (eval "$ac_link") 2>conftest.er1
34045 grep -v '^ *+' conftest.er1
>conftest.err
34047 cat conftest.err
>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } && {
34050 test -z "$ac_cxx_werror_flag" ||
34051 test ! -s conftest.err
34052 } && test -s conftest
$ac_exeext &&
34053 $as_test_x conftest
$ac_exeext; then
34054 wx_cv_cc_visibility_workaround
=no
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.
$ac_ext >&5
34059 wx_cv_cc_visibility_workaround
=yes
34062 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34063 conftest
$ac_exeext conftest.
$ac_ext
34065 ac_cpp
='$CPP $CPPFLAGS'
34066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34073 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34074 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34076 if test $wx_cv_cc_visibility_workaround = no
; then
34077 wx_cv_cc_visibility
=no
34082 if test $wx_cv_cc_visibility = yes; then
34083 cat >>confdefs.h
<<\_ACEOF
34084 #define HAVE_VISIBILITY 1
34087 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34088 cat >>confdefs.h
<<\_ACEOF
34089 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34094 CFLAGS_VISIBILITY
=""
34095 CXXFLAGS_VISIBILITY
=""
34103 if test "x$SUNCXX" = xyes
; then
34104 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34105 WXCONFIG_RPATH
="-R\$libdir"
34108 *-*-linux* | *-*-gnu* )
34109 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34110 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34115 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34117 saveLdflags
="$LDFLAGS"
34118 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34119 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34120 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34121 cat >conftest.
$ac_ext <<_ACEOF
34124 cat confdefs.h
>>conftest.
$ac_ext
34125 cat >>conftest.
$ac_ext <<_ACEOF
34126 /* end confdefs.h. */
34136 rm -f conftest.
$ac_objext conftest
$ac_exeext
34137 if { (ac_try
="$ac_link"
34138 case "(($ac_try" in
34139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34140 *) ac_try_echo=$ac_try;;
34142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34143 (eval "$ac_link") 2>conftest.er1
34145 grep -v '^ *+' conftest.er1 >conftest.err
34147 cat conftest.err >&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } && {
34150 test -z "$ac_c_werror_flag" ||
34151 test ! -s conftest.err
34152 } && test -s conftest$ac_exeext &&
34153 $as_test_x conftest$ac_exeext; then
34155 { echo "$as_me:$LINENO: result: yes" >&5
34156 echo "${ECHO_T}yes" >&6; }
34157 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34158 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34161 echo "$as_me: failed program was:" >&5
34162 sed 's/^/| /' conftest.$ac_ext >&5
34165 { echo "$as_me:$LINENO: result: no" >&5
34166 echo "${ECHO_T}no" >&6; }
34167 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34168 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34169 LDFLAGS="$saveLdflags -Wl,-R,/"
34170 cat >conftest.$ac_ext <<_ACEOF
34173 cat confdefs.h >>conftest.$ac_ext
34174 cat >>conftest.$ac_ext <<_ACEOF
34175 /* end confdefs.h. */
34185 rm -f conftest.$ac_objext conftest$ac_exeext
34186 if { (ac_try="$ac_link"
34187 case "(($ac_try" in
34188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34189 *) ac_try_echo
=$ac_try;;
34191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34192 (eval "$ac_link") 2>conftest.er1
34194 grep -v '^ *+' conftest.er1
>conftest.err
34196 cat conftest.err
>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); } && {
34199 test -z "$ac_c_werror_flag" ||
34200 test ! -s conftest.err
34201 } && test -s conftest
$ac_exeext &&
34202 $as_test_x conftest
$ac_exeext; then
34204 { echo "$as_me:$LINENO: result: yes" >&5
34205 echo "${ECHO_T}yes" >&6; }
34206 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34207 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.
$ac_ext >&5
34214 { echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6; }
34219 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34220 conftest
$ac_exeext conftest.
$ac_ext
34224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34225 conftest
$ac_exeext conftest.
$ac_ext
34226 LDFLAGS
="$saveLdflags"
34230 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34231 if test "$install_name_tool" -a -x "$install_name_tool"; then
34232 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34233 cat <<EOF >change-install-names
34235 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34236 for i in \${libnames} ; do
34237 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34238 for dep in \${libnames} ; do
34239 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34243 chmod +x change
-install-names
34244 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34247 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34250 *-*-cygwin* | *-*-mingw32* )
34254 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34255 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34261 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34263 if test $wxUSE_RPATH = "no"; then
34264 SAMPLES_RPATH_FLAG
=''
34265 DYLIB_PATH_POSTLINK
=''
34273 config_linkage_component
="-static"
34280 lib_unicode_suffix
=
34282 if test "$wxUSE_UNICODE" = "yes"; then
34283 lib_unicode_suffix
=u
34284 WX_CHARTYPE
="unicode"
34288 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34289 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34296 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34298 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34300 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34303 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34304 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34306 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34308 if test "${TOOLKIT_DIR}" = "os2"; then
34309 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34311 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34316 if test "$wxUSE_COCOA" = 1; then
34319 ac_cpp
='$CPP $CPPFLAGS'
34320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34326 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34327 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34328 cat >conftest.
$ac_ext <<_ACEOF
34331 cat confdefs.h
>>conftest.
$ac_ext
34332 cat >>conftest.
$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34334 #include <AppKit/NSEvent.h>
34335 #include <CoreFoundation/CoreFoundation.h>
34345 rm -f conftest.
$ac_objext
34346 if { (ac_try
="$ac_compile"
34347 case "(($ac_try" in
34348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34349 *) ac_try_echo=$ac_try;;
34351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34352 (eval "$ac_compile") 2>conftest.er1
34354 grep -v '^ *+' conftest.er1 >conftest.err
34356 cat conftest.err >&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } && {
34359 test -z "$ac_c_werror_flag" ||
34360 test ! -s conftest.err
34361 } && test -s conftest.$ac_objext; then
34362 { echo "$as_me:$LINENO: result: no" >&5
34363 echo "${ECHO_T}no" >&6; }
34365 echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.$ac_ext >&5
34368 { echo "$as_me:$LINENO: result: yes" >&5
34369 echo "${ECHO_T}yes" >&6; }
34370 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34371 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34372 cat >conftest.$ac_ext <<_ACEOF
34375 cat confdefs.h >>conftest.$ac_ext
34376 cat >>conftest.$ac_ext <<_ACEOF
34377 /* end confdefs.h. */
34378 #define __Point__ 1
34379 #include <AppKit/NSEvent.h>
34380 #include <CoreFoundation/CoreFoundation.h>
34390 rm -f conftest.$ac_objext
34391 if { (ac_try="$ac_compile"
34392 case "(($ac_try" in
34393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34394 *) ac_try_echo
=$ac_try;;
34396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34397 (eval "$ac_compile") 2>conftest.er1
34399 grep -v '^ *+' conftest.er1
>conftest.err
34401 cat conftest.err
>&5
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); } && {
34404 test -z "$ac_c_werror_flag" ||
34405 test ! -s conftest.err
34406 } && test -s conftest.
$ac_objext; then
34407 { echo "$as_me:$LINENO: result: yes" >&5
34408 echo "${ECHO_T}yes" >&6; }
34409 cat >>confdefs.h
<<\_ACEOF
34410 #define __Point__ 1
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.
$ac_ext >&5
34418 { { echo "$as_me:$LINENO: error: no
34419 See \`config.log' for more details." >&5
34420 echo "$as_me: error: no
34421 See \`config.log' for more details." >&2;}
34422 { (exit 1); exit 1; }; }
34426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34432 ac_cpp
='$CPP $CPPFLAGS'
34433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34440 { echo "$as_me:$LINENO: checking for mode_t" >&5
34441 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34442 if test "${ac_cv_type_mode_t+set}" = set; then
34443 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 cat >conftest.
$ac_ext <<_ACEOF
34448 cat confdefs.h
>>conftest.
$ac_ext
34449 cat >>conftest.
$ac_ext <<_ACEOF
34450 /* end confdefs.h. */
34451 $ac_includes_default
34452 typedef mode_t ac__type_new_;
34456 if ((ac__type_new_ *) 0)
34458 if (sizeof (ac__type_new_))
34464 rm -f conftest.
$ac_objext
34465 if { (ac_try
="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34473 grep -v '^ *+' conftest.er1 >conftest.err
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34481 ac_cv_type_mode_t=yes
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34486 ac_cv_type_mode_t=no
34489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34491 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34492 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34493 if test $ac_cv_type_mode_t = yes; then
34497 cat >>confdefs.h <<_ACEOF
34503 { echo "$as_me:$LINENO: checking for off_t" >&5
34504 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34505 if test "${ac_cv_type_off_t+set}" = set; then
34506 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 cat >conftest.$ac_ext <<_ACEOF
34511 cat confdefs.h >>conftest.$ac_ext
34512 cat >>conftest.$ac_ext <<_ACEOF
34513 /* end confdefs.h. */
34514 $ac_includes_default
34515 typedef off_t ac__type_new_;
34519 if ((ac__type_new_ *) 0)
34521 if (sizeof (ac__type_new_))
34527 rm -f conftest.$ac_objext
34528 if { (ac_try="$ac_compile"
34529 case "(($ac_try" in
34530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34531 *) ac_try_echo
=$ac_try;;
34533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34534 (eval "$ac_compile") 2>conftest.er1
34536 grep -v '^ *+' conftest.er1
>conftest.err
34538 cat conftest.err
>&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } && {
34541 test -z "$ac_c_werror_flag" ||
34542 test ! -s conftest.err
34543 } && test -s conftest.
$ac_objext; then
34544 ac_cv_type_off_t
=yes
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.
$ac_ext >&5
34549 ac_cv_type_off_t
=no
34552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34554 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34555 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34556 if test $ac_cv_type_off_t = yes; then
34560 cat >>confdefs.h
<<_ACEOF
34561 #define off_t long int
34566 { echo "$as_me:$LINENO: checking for pid_t" >&5
34567 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34568 if test "${ac_cv_type_pid_t+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 cat >conftest.
$ac_ext <<_ACEOF
34574 cat confdefs.h
>>conftest.
$ac_ext
34575 cat >>conftest.
$ac_ext <<_ACEOF
34576 /* end confdefs.h. */
34577 $ac_includes_default
34578 typedef pid_t ac__type_new_;
34582 if ((ac__type_new_ *) 0)
34584 if (sizeof (ac__type_new_))
34590 rm -f conftest.
$ac_objext
34591 if { (ac_try
="$ac_compile"
34592 case "(($ac_try" in
34593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34594 *) ac_try_echo=$ac_try;;
34596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34597 (eval "$ac_compile") 2>conftest.er1
34599 grep -v '^ *+' conftest.er1 >conftest.err
34601 cat conftest.err >&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); } && {
34604 test -z "$ac_c_werror_flag" ||
34605 test ! -s conftest.err
34606 } && test -s conftest.$ac_objext; then
34607 ac_cv_type_pid_t=yes
34609 echo "$as_me: failed program was:" >&5
34610 sed 's/^/| /' conftest.$ac_ext >&5
34612 ac_cv_type_pid_t=no
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34617 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34618 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34619 if test $ac_cv_type_pid_t = yes; then
34623 cat >>confdefs.h <<_ACEOF
34629 { echo "$as_me:$LINENO: checking for size_t" >&5
34630 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34631 if test "${ac_cv_type_size_t+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34634 cat >conftest.$ac_ext <<_ACEOF
34637 cat confdefs.h >>conftest.$ac_ext
34638 cat >>conftest.$ac_ext <<_ACEOF
34639 /* end confdefs.h. */
34640 $ac_includes_default
34641 typedef size_t ac__type_new_;
34645 if ((ac__type_new_ *) 0)
34647 if (sizeof (ac__type_new_))
34653 rm -f conftest.$ac_objext
34654 if { (ac_try="$ac_compile"
34655 case "(($ac_try" in
34656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34657 *) ac_try_echo
=$ac_try;;
34659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34660 (eval "$ac_compile") 2>conftest.er1
34662 grep -v '^ *+' conftest.er1
>conftest.err
34664 cat conftest.err
>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } && {
34667 test -z "$ac_c_werror_flag" ||
34668 test ! -s conftest.err
34669 } && test -s conftest.
$ac_objext; then
34670 ac_cv_type_size_t
=yes
34672 echo "$as_me: failed program was:" >&5
34673 sed 's/^/| /' conftest.
$ac_ext >&5
34675 ac_cv_type_size_t
=no
34678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34680 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34681 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34682 if test $ac_cv_type_size_t = yes; then
34686 cat >>confdefs.h
<<_ACEOF
34687 #define size_t unsigned int
34693 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34694 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34695 if test "${ac_cv_type_ssize_t+set}" = set; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34698 cat >conftest.
$ac_ext <<_ACEOF
34701 cat confdefs.h
>>conftest.
$ac_ext
34702 cat >>conftest.
$ac_ext <<_ACEOF
34703 /* end confdefs.h. */
34704 $ac_includes_default
34705 typedef ssize_t ac__type_new_;
34709 if ((ac__type_new_ *) 0)
34711 if (sizeof (ac__type_new_))
34717 rm -f conftest.
$ac_objext
34718 if { (ac_try
="$ac_compile"
34719 case "(($ac_try" in
34720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34721 *) ac_try_echo=$ac_try;;
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_compile") 2>conftest.er1
34726 grep -v '^ *+' conftest.er1 >conftest.err
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } && {
34731 test -z "$ac_c_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest.$ac_objext; then
34734 ac_cv_type_ssize_t=yes
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34739 ac_cv_type_ssize_t=no
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34745 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34746 if test $ac_cv_type_ssize_t = yes; then
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE_SSIZE_T 1
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34762 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34763 if test "${wx_cv_size_t_is_uint+set}" = set; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 cat >conftest.$ac_ext <<_ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 #include <stddef.h>
34780 struct Foo { void foo(size_t); void foo(unsigned int); };
34788 rm -f conftest.$ac_objext
34789 if { (ac_try="$ac_compile"
34790 case "(($ac_try" in
34791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34792 *) ac_try_echo
=$ac_try;;
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_compile") 2>conftest.er1
34797 grep -v '^ *+' conftest.er1
>conftest.err
34799 cat conftest.err
>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } && {
34802 test -z "$ac_cxx_werror_flag" ||
34803 test ! -s conftest.err
34804 } && test -s conftest.
$ac_objext; then
34805 wx_cv_size_t_is_uint
=no
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.
$ac_ext >&5
34810 wx_cv_size_t_is_uint
=yes
34814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34818 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34819 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34821 if test "$wx_cv_size_t_is_uint" = "yes"; then
34822 cat >>confdefs.h
<<\_ACEOF
34823 #define wxSIZE_T_IS_UINT 1
34827 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34828 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34829 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 cat >conftest.
$ac_ext <<_ACEOF
34835 cat confdefs.h
>>conftest.
$ac_ext
34836 cat >>conftest.
$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838 #include <stddef.h>
34845 struct Foo { void foo(size_t); void foo(unsigned long); };
34853 rm -f conftest.
$ac_objext
34854 if { (ac_try
="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34862 grep -v '^ *+' conftest.er1 >conftest.err
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_cxx_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_size_t_is_ulong=no
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34875 wx_cv_size_t_is_ulong=yes
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34882 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34883 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34885 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34886 cat >>confdefs.h <<\_ACEOF
34887 #define wxSIZE_T_IS_ULONG 1
34893 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34894 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34895 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34896 echo $ECHO_N "(cached) $ECHO_C" >&6
34898 cat >conftest.$ac_ext <<_ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34911 struct Foo { void foo(wchar_t);
34912 void foo(unsigned short);
34913 void foo(unsigned int);
34914 void foo(unsigned long); };
34922 rm -f conftest.$ac_objext
34923 if { (ac_try="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34926 *) ac_try_echo
=$ac_try;;
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34931 grep -v '^ *+' conftest.er1
>conftest.err
34933 cat conftest.err
>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_cxx_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.
$ac_objext; then
34939 wx_cv_wchar_t_is_separate_type
=yes
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.
$ac_ext >&5
34944 wx_cv_wchar_t_is_separate_type
=no
34948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34951 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34952 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34954 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34955 cat >>confdefs.h
<<\_ACEOF
34956 #define wxWCHAR_T_IS_REAL_TYPE 1
34960 cat >>confdefs.h
<<\_ACEOF
34961 #define wxWCHAR_T_IS_REAL_TYPE 0
34967 ac_cpp
='$CPP $CPPFLAGS'
34968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34973 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34974 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34975 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34979 cat >conftest.
$ac_ext <<_ACEOF
34982 cat confdefs.h
>>conftest.
$ac_ext
34983 cat >>conftest.
$ac_ext <<_ACEOF
34984 /* end confdefs.h. */
34998 rm -f conftest.
$ac_objext
34999 if { (ac_try
="$ac_compile"
35000 case "(($ac_try" in
35001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35002 *) ac_try_echo=$ac_try;;
35004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35005 (eval "$ac_compile") 2>conftest.er1
35007 grep -v '^ *+' conftest.er1 >conftest.err
35009 cat conftest.err >&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); } && {
35012 test -z "$ac_c_werror_flag" ||
35013 test ! -s conftest.err
35014 } && test -s conftest.$ac_objext; then
35016 wx_cv_struct_pw_gecos=yes
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35023 wx_cv_struct_pw_gecos=no
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35032 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35033 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35035 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35036 cat >>confdefs.h <<\_ACEOF
35037 #define HAVE_PW_GECOS 1
35043 if test "$wxUSE_WCHAR_T" = "yes"; then
35044 cat >>confdefs.h <<\_ACEOF
35045 #define wxUSE_WCHAR_T 1
35052 for ac_func in wcslen
35054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35060 cat >conftest.$ac_ext <<_ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35068 #define $ac_func innocuous_$ac_func
35070 /* System header to define __stub macros and hopefully few prototypes,
35071 which can conflict with char $ac_func (); below.
35072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35073 <limits.h> exists even on freestanding compilers. */
35076 # include <limits.h>
35078 # include <assert.h>
35083 /* Override any GCC internal prototype to avoid an error.
35084 Use char because int might match the return type of a GCC
35085 builtin and then its argument prototype would still apply. */
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined __stub_$ac_func || defined __stub___$ac_func
35100 return $ac_func ();
35105 rm -f conftest.$ac_objext conftest$ac_exeext
35106 if { (ac_try="$ac_link"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35109 *) ac_try_echo
=$ac_try;;
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_link") 2>conftest.er1
35114 grep -v '^ *+' conftest.er1
>conftest.err
35116 cat conftest.err
>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest
$ac_exeext &&
35122 $as_test_x conftest
$ac_exeext; then
35123 eval "$as_ac_var=yes"
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.
$ac_ext >&5
35128 eval "$as_ac_var=no"
35131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35132 conftest
$ac_exeext conftest.
$ac_ext
35134 ac_res
=`eval echo '${'$as_ac_var'}'`
35135 { echo "$as_me:$LINENO: result: $ac_res" >&5
35136 echo "${ECHO_T}$ac_res" >&6; }
35137 if test `eval echo '${'$as_ac_var'}'` = yes; then
35138 cat >>confdefs.h
<<_ACEOF
35139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 if test "$WCSLEN_FOUND" = 0; then
35147 if test "$TOOLKIT" = "MSW"; then
35148 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35149 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35150 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 ac_check_lib_save_LIBS
=$LIBS
35154 LIBS
="-lmsvcrt $LIBS"
35155 cat >conftest.
$ac_ext <<_ACEOF
35158 cat confdefs.h
>>conftest.
$ac_ext
35159 cat >>conftest.
$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35162 /* Override any GCC internal prototype to avoid an error.
35163 Use char because int might match the return type of a GCC
35164 builtin and then its argument prototype would still apply. */
35177 rm -f conftest.
$ac_objext conftest
$ac_exeext
35178 if { (ac_try
="$ac_link"
35179 case "(($ac_try" in
35180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_link") 2>conftest.er1
35186 grep -v '^ *+' conftest.er1 >conftest.err
35188 cat conftest.err >&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_c_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest$ac_exeext &&
35194 $as_test_x conftest$ac_exeext; then
35195 ac_cv_lib_msvcrt_wcslen=yes
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35200 ac_cv_lib_msvcrt_wcslen=no
35203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35204 conftest$ac_exeext conftest.$ac_ext
35205 LIBS=$ac_check_lib_save_LIBS
35207 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35208 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35209 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35214 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35215 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35216 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 ac_check_lib_save_LIBS=$LIBS
35221 cat >conftest.$ac_ext <<_ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35228 /* Override any GCC internal prototype to avoid an error.
35229 Use char because int might match the return type of a GCC
35230 builtin and then its argument prototype would still apply. */
35243 rm -f conftest.$ac_objext conftest$ac_exeext
35244 if { (ac_try="$ac_link"
35245 case "(($ac_try" in
35246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35247 *) ac_try_echo
=$ac_try;;
35249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35250 (eval "$ac_link") 2>conftest.er1
35252 grep -v '^ *+' conftest.er1
>conftest.err
35254 cat conftest.err
>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); } && {
35257 test -z "$ac_c_werror_flag" ||
35258 test ! -s conftest.err
35259 } && test -s conftest
$ac_exeext &&
35260 $as_test_x conftest
$ac_exeext; then
35261 ac_cv_lib_w_wcslen
=yes
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.
$ac_ext >&5
35266 ac_cv_lib_w_wcslen
=no
35269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35270 conftest
$ac_exeext conftest.
$ac_ext
35271 LIBS
=$ac_check_lib_save_LIBS
35273 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35274 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35275 if test $ac_cv_lib_w_wcslen = yes; then
35285 if test "$WCSLEN_FOUND" = 1; then
35286 cat >>confdefs.h
<<\_ACEOF
35287 #define HAVE_WCSLEN 1
35297 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35302 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 cat >conftest.
$ac_ext <<_ACEOF
35308 cat confdefs.h
>>conftest.
$ac_ext
35309 cat >>conftest.
$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35313 #define $ac_func innocuous_$ac_func
35315 /* System header to define __stub macros and hopefully few prototypes,
35316 which can conflict with char $ac_func (); below.
35317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35318 <limits.h> exists even on freestanding compilers. */
35321 # include <limits.h>
35323 # include <assert.h>
35328 /* Override any GCC internal prototype to avoid an error.
35329 Use char because int might match the return type of a GCC
35330 builtin and then its argument prototype would still apply. */
35335 /* The GNU C library defines this for functions which it implements
35336 to always fail with ENOSYS. Some functions are actually named
35337 something starting with __ and the normal name is an alias. */
35338 #if defined __stub_$ac_func || defined __stub___$ac_func
35345 return $ac_func ();
35350 rm -f conftest.
$ac_objext conftest
$ac_exeext
35351 if { (ac_try
="$ac_link"
35352 case "(($ac_try" in
35353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35354 *) ac_try_echo=$ac_try;;
35356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35357 (eval "$ac_link") 2>conftest.er1
35359 grep -v '^ *+' conftest.er1 >conftest.err
35361 cat conftest.err >&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } && {
35364 test -z "$ac_c_werror_flag" ||
35365 test ! -s conftest.err
35366 } && test -s conftest$ac_exeext &&
35367 $as_test_x conftest$ac_exeext; then
35368 eval "$as_ac_var=yes"
35370 echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35373 eval "$as_ac_var=no"
35376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35377 conftest$ac_exeext conftest.$ac_ext
35379 ac_res=`eval echo '${'$as_ac_var'}'`
35380 { echo "$as_me:$LINENO: result: $ac_res" >&5
35381 echo "${ECHO_T}$ac_res" >&6; }
35382 if test `eval echo '${'$as_ac_var'}'` = yes; then
35383 cat >>confdefs.h <<_ACEOF
35384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35391 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35392 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35395 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35396 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35397 if test "${ac_cv_type_mbstate_t+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 cat >conftest.$ac_ext <<_ACEOF
35403 cat confdefs.h >>conftest.$ac_ext
35404 cat >>conftest.$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35408 typedef mbstate_t ac__type_new_;
35412 if ((ac__type_new_ *) 0)
35414 if (sizeof (ac__type_new_))
35420 rm -f conftest.$ac_objext
35421 if { (ac_try="$ac_compile"
35422 case "(($ac_try" in
35423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35424 *) ac_try_echo
=$ac_try;;
35426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35427 (eval "$ac_compile") 2>conftest.er1
35429 grep -v '^ *+' conftest.er1
>conftest.err
35431 cat conftest.err
>&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } && {
35434 test -z "$ac_c_werror_flag" ||
35435 test ! -s conftest.err
35436 } && test -s conftest.
$ac_objext; then
35437 ac_cv_type_mbstate_t
=yes
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.
$ac_ext >&5
35442 ac_cv_type_mbstate_t
=no
35445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35447 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35448 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35449 if test $ac_cv_type_mbstate_t = yes; then
35451 cat >>confdefs.h
<<_ACEOF
35452 #define HAVE_MBSTATE_T 1
35456 for ac_func
in wcsrtombs
35458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35461 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 cat >conftest.
$ac_ext <<_ACEOF
35467 cat confdefs.h
>>conftest.
$ac_ext
35468 cat >>conftest.
$ac_ext <<_ACEOF
35469 /* end confdefs.h. */
35470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35472 #define $ac_func innocuous_$ac_func
35474 /* System header to define __stub macros and hopefully few prototypes,
35475 which can conflict with char $ac_func (); below.
35476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35477 <limits.h> exists even on freestanding compilers. */
35480 # include <limits.h>
35482 # include <assert.h>
35487 /* Override any GCC internal prototype to avoid an error.
35488 Use char because int might match the return type of a GCC
35489 builtin and then its argument prototype would still apply. */
35494 /* The GNU C library defines this for functions which it implements
35495 to always fail with ENOSYS. Some functions are actually named
35496 something starting with __ and the normal name is an alias. */
35497 #if defined __stub_$ac_func || defined __stub___$ac_func
35504 return $ac_func ();
35509 rm -f conftest.
$ac_objext conftest
$ac_exeext
35510 if { (ac_try
="$ac_link"
35511 case "(($ac_try" in
35512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35513 *) ac_try_echo=$ac_try;;
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_link") 2>conftest.er1
35518 grep -v '^ *+' conftest.er1 >conftest.err
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_c_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest$ac_exeext &&
35526 $as_test_x conftest$ac_exeext; then
35527 eval "$as_ac_var=yes"
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35532 eval "$as_ac_var=no"
35535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35536 conftest$ac_exeext conftest.$ac_ext
35538 ac_res=`eval echo '${'$as_ac_var'}'`
35539 { echo "$as_me:$LINENO: result: $ac_res" >&5
35540 echo "${ECHO_T}$ac_res" >&6; }
35541 if test `eval echo '${'$as_ac_var'}'` = yes; then
35542 cat >>confdefs.h <<_ACEOF
35543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35552 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35553 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35559 for ac_func in snprintf vsnprintf vsscanf
35561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 cat >conftest.$ac_ext <<_ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35575 #define $ac_func innocuous_$ac_func
35577 /* System header to define __stub macros and hopefully few prototypes,
35578 which can conflict with char $ac_func (); below.
35579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35580 <limits.h> exists even on freestanding compilers. */
35583 # include <limits.h>
35585 # include <assert.h>
35590 /* Override any GCC internal prototype to avoid an error.
35591 Use char because int might match the return type of a GCC
35592 builtin and then its argument prototype would still apply. */
35597 /* The GNU C library defines this for functions which it implements
35598 to always fail with ENOSYS. Some functions are actually named
35599 something starting with __ and the normal name is an alias. */
35600 #if defined __stub_$ac_func || defined __stub___$ac_func
35607 return $ac_func ();
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35616 *) ac_try_echo
=$ac_try;;
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>conftest.er1
35621 grep -v '^ *+' conftest.er1
>conftest.err
35623 cat conftest.err
>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_c_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest
$ac_exeext &&
35629 $as_test_x conftest
$ac_exeext; then
35630 eval "$as_ac_var=yes"
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.
$ac_ext >&5
35635 eval "$as_ac_var=no"
35638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35639 conftest
$ac_exeext conftest.
$ac_ext
35641 ac_res
=`eval echo '${'$as_ac_var'}'`
35642 { echo "$as_me:$LINENO: result: $ac_res" >&5
35643 echo "${ECHO_T}$ac_res" >&6; }
35644 if test `eval echo '${'$as_ac_var'}'` = yes; then
35645 cat >>confdefs.h
<<_ACEOF
35646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35654 ac_cpp
='$CXXCPP $CPPFLAGS'
35655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35659 if test "$ac_cv_func_vsnprintf" = "yes"; then
35660 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35661 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35662 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35663 echo $ECHO_N "(cached) $ECHO_C" >&6
35666 cat >conftest.
$ac_ext <<_ACEOF
35669 cat confdefs.h
>>conftest.
$ac_ext
35670 cat >>conftest.
$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35674 #include <stdarg.h>
35676 #if __MSL__ >= 0x6000
35678 using namespace std;
35688 vsnprintf(buf, 10u, "%s", ap);
35694 rm -f conftest.
$ac_objext
35695 if { (ac_try
="$ac_compile"
35696 case "(($ac_try" in
35697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35698 *) ac_try_echo=$ac_try;;
35700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35701 (eval "$ac_compile") 2>conftest.er1
35703 grep -v '^ *+' conftest.er1 >conftest.err
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } && {
35708 test -z "$ac_cxx_werror_flag" ||
35709 test ! -s conftest.err
35710 } && test -s conftest.$ac_objext; then
35711 wx_cv_func_vsnprintf_decl=yes
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.$ac_ext >&5
35716 wx_cv_func_vsnprintf_decl=no
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35724 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35725 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35727 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35728 cat >>confdefs.h <<\_ACEOF
35729 #define HAVE_VSNPRINTF_DECL 1
35733 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35734 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35735 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35736 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. */
35747 #include <stdarg.h>
35749 #if __MSL__ >= 0x6000
35751 using namespace std;
35761 const char *fmt = "%s";
35762 vsnprintf(buf, 10u, fmt, ap);
35768 rm -f conftest.$ac_objext
35769 if { (ac_try="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35772 *) ac_try_echo
=$ac_try;;
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35777 grep -v '^ *+' conftest.er1
>conftest.err
35779 cat conftest.err
>&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_cxx_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.
$ac_objext; then
35785 wx_cv_func_broken_vsnprintf_decl
=no
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.
$ac_ext >&5
35790 wx_cv_func_broken_vsnprintf_decl
=yes
35794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35798 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35799 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35801 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35802 cat >>confdefs.h
<<\_ACEOF
35803 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35810 if test "$ac_cv_func_snprintf" = "yes"; then
35811 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35812 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35813 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 cat >conftest.
$ac_ext <<_ACEOF
35820 cat confdefs.h
>>conftest.
$ac_ext
35821 cat >>conftest.
$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35825 #include <stdarg.h>
35827 #if __MSL__ >= 0x6000
35829 using namespace std;
35838 snprintf(buf, 10u, "%s", "wx");
35844 rm -f conftest.
$ac_objext
35845 if { (ac_try
="$ac_compile"
35846 case "(($ac_try" in
35847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35848 *) ac_try_echo=$ac_try;;
35850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35851 (eval "$ac_compile") 2>conftest.er1
35853 grep -v '^ *+' conftest.er1 >conftest.err
35855 cat conftest.err >&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } && {
35858 test -z "$ac_cxx_werror_flag" ||
35859 test ! -s conftest.err
35860 } && test -s conftest.$ac_objext; then
35861 wx_cv_func_snprintf_decl=yes
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.$ac_ext >&5
35866 wx_cv_func_snprintf_decl=no
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35874 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35875 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35877 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35878 cat >>confdefs.h <<\_ACEOF
35879 #define HAVE_SNPRINTF_DECL 1
35884 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35886 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35887 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35888 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 if test "$cross_compiling" = yes; then
35894 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35895 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35896 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35897 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35898 wx_cv_func_snprintf_pos_params=no
35902 cat >conftest.$ac_ext <<_ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35914 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35915 if (strcmp ("2 3 1", buffer) == 0)
35921 rm -f conftest$ac_exeext
35922 if { (ac_try="$ac_link"
35923 case "(($ac_try" in
35924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35925 *) ac_try_echo
=$ac_try;;
35927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35928 (eval "$ac_link") 2>&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35932 { (case "(($ac_try" in
35933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_try") 2>&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); }; }; then
35941 wx_cv_func_snprintf_pos_params=no
35943 echo "$as_me: program exited with status $ac_status" >&5
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.$ac_ext >&5
35947 ( exit $ac_status )
35948 wx_cv_func_snprintf_pos_params=yes
35950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35957 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35958 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35960 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35961 cat >>confdefs.h <<\_ACEOF
35962 #define HAVE_UNIX98_PRINTF 1
35969 if test "$ac_cv_func_vsscanf" = "yes"; then
35970 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35971 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35972 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 cat >conftest.$ac_ext <<_ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35984 #include <stdarg.h>
35986 #if __MSL__ >= 0x6000
35988 using namespace std;
35998 vsscanf(buf, "%s", args);
36004 rm -f conftest.$ac_objext
36005 if { (ac_try="$ac_compile"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36008 *) ac_try_echo
=$ac_try;;
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_compile") 2>conftest.er1
36013 grep -v '^ *+' conftest.er1
>conftest.err
36015 cat conftest.err
>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } && {
36018 test -z "$ac_cxx_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest.
$ac_objext; then
36021 wx_cv_func_vsscanf_decl
=yes
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.
$ac_ext >&5
36026 wx_cv_func_vsscanf_decl
=no
36030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36034 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36035 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36037 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36038 cat >>confdefs.h
<<\_ACEOF
36039 #define HAVE_VSSCANF_DECL 1
36045 ac_cpp
='$CPP $CPPFLAGS'
36046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36051 if test "$wxUSE_UNICODE" = yes; then
36053 wchar_headers
="#include <stdio.h>
36054 #include <wchar.h>"
36058 for ac_header
in widec.h
36060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36061 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36063 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36064 echo $ECHO_N "(cached) $ECHO_C" >&6
36066 cat >conftest.
$ac_ext <<_ACEOF
36069 cat confdefs.h
>>conftest.
$ac_ext
36070 cat >>conftest.
$ac_ext <<_ACEOF
36071 /* end confdefs.h. */
36072 $ac_includes_default
36074 #include <$ac_header>
36076 rm -f conftest.
$ac_objext
36077 if { (ac_try
="$ac_compile"
36078 case "(($ac_try" in
36079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36080 *) ac_try_echo=$ac_try;;
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_compile") 2>conftest.er1
36085 grep -v '^ *+' conftest.er1 >conftest.err
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } && {
36090 test -z "$ac_c_werror_flag" ||
36091 test ! -s conftest.err
36092 } && test -s conftest.$ac_objext; then
36093 eval "$as_ac_Header=yes"
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36098 eval "$as_ac_Header=no"
36101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103 ac_res=`eval echo '${'$as_ac_Header'}'`
36104 { echo "$as_me:$LINENO: result: $ac_res" >&5
36105 echo "${ECHO_T}$ac_res" >&6; }
36106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36107 cat >>confdefs.h <<_ACEOF
36108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36115 if test "$ac_cv_header_widec_h" = "yes"; then
36116 wchar_headers="$wchar_headers
36117 #include <widec.h>"
36122 for wx_func in putws fputws wprintf vswprintf vswscanf
36124 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36125 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36126 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 cat >conftest.$ac_ext <<_ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36139 $ac_includes_default
36155 rm -f conftest.$ac_objext conftest$ac_exeext
36156 if { (ac_try="$ac_link"
36157 case "(($ac_try" in
36158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36159 *) ac_try_echo
=$ac_try;;
36161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36162 (eval "$ac_link") 2>conftest.er1
36164 grep -v '^ *+' conftest.er1
>conftest.err
36166 cat conftest.err
>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } && {
36169 test -z "$ac_c_werror_flag" ||
36170 test ! -s conftest.err
36171 } && test -s conftest
$ac_exeext &&
36172 $as_test_x conftest
$ac_exeext; then
36173 eval wx_cv_func_
$wx_func=yes
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.
$ac_ext >&5
36178 eval wx_cv_func_
$wx_func=no
36181 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36182 conftest
$ac_exeext conftest.
$ac_ext
36185 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36186 { echo "$as_me:$LINENO: result: $ac_res" >&5
36187 echo "${ECHO_T}$ac_res" >&6; }
36189 if eval test \
$wx_cv_func_$wx_func = yes
36191 cat >>confdefs.h
<<_ACEOF
36192 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36203 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36204 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36205 cat >conftest.
$ac_ext <<_ACEOF
36208 cat confdefs.h
>>conftest.
$ac_ext
36209 cat >>conftest.
$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36220 rm -f conftest.
$ac_objext
36221 if { (ac_try
="$ac_compile"
36222 case "(($ac_try" in
36223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36224 *) ac_try_echo=$ac_try;;
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_compile") 2>conftest.er1
36229 grep -v '^ *+' conftest.er1 >conftest.err
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } && {
36234 test -z "$ac_c_werror_flag" ||
36235 test ! -s conftest.err
36236 } && test -s conftest.$ac_objext; then
36237 { echo "$as_me:$LINENO: result: yes" >&5
36238 echo "${ECHO_T}yes" >&6; }
36239 cat >>confdefs.h <<\_ACEOF
36240 #define HAVE__VSNWPRINTF 1
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36247 { echo "$as_me:$LINENO: result: no" >&5
36248 echo "${ECHO_T}no" >&6; }
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36254 if test "$wxUSE_FILE" = "yes"; then
36256 for wx_func in fsync
36258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36261 echo $ECHO_N "(cached) $ECHO_C" >&6
36264 cat >conftest.$ac_ext <<_ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36273 $ac_includes_default
36289 rm -f conftest.$ac_objext conftest$ac_exeext
36290 if { (ac_try="$ac_link"
36291 case "(($ac_try" in
36292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36293 *) ac_try_echo
=$ac_try;;
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296 (eval "$ac_link") 2>conftest.er1
36298 grep -v '^ *+' conftest.er1
>conftest.err
36300 cat conftest.err
>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } && {
36303 test -z "$ac_c_werror_flag" ||
36304 test ! -s conftest.err
36305 } && test -s conftest
$ac_exeext &&
36306 $as_test_x conftest
$ac_exeext; then
36307 eval wx_cv_func_
$wx_func=yes
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.
$ac_ext >&5
36312 eval wx_cv_func_
$wx_func=no
36315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36316 conftest
$ac_exeext conftest.
$ac_ext
36319 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36320 { echo "$as_me:$LINENO: result: $ac_res" >&5
36321 echo "${ECHO_T}$ac_res" >&6; }
36323 if eval test \
$wx_cv_func_$wx_func = yes
36325 cat >>confdefs.h
<<_ACEOF
36326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36339 ac_cpp
='$CXXCPP $CPPFLAGS'
36340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36345 for wx_func
in round
36347 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36348 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36349 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36353 cat >conftest.
$ac_ext <<_ACEOF
36357 cat confdefs.h
>>conftest.
$ac_ext
36358 cat >>conftest.
$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36362 $ac_includes_default
36378 rm -f conftest.
$ac_objext conftest
$ac_exeext
36379 if { (ac_try
="$ac_link"
36380 case "(($ac_try" in
36381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36382 *) ac_try_echo=$ac_try;;
36384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36385 (eval "$ac_link") 2>conftest.er1
36387 grep -v '^ *+' conftest.er1 >conftest.err
36389 cat conftest.err >&5
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); } && {
36392 test -z "$ac_cxx_werror_flag" ||
36393 test ! -s conftest.err
36394 } && test -s conftest$ac_exeext &&
36395 $as_test_x conftest$ac_exeext; then
36396 eval wx_cv_func_$wx_func=yes
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36401 eval wx_cv_func_$wx_func=no
36404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36405 conftest$ac_exeext conftest.$ac_ext
36408 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36409 { echo "$as_me:$LINENO: result: $ac_res" >&5
36410 echo "${ECHO_T}$ac_res" >&6; }
36412 if eval test \$wx_cv_func_$wx_func = yes
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36426 ac_cpp='$CPP $CPPFLAGS'
36427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36432 if test "$TOOLKIT" != "MSW"; then
36434 if test "$wxUSE_LIBICONV" != "no" ; then
36438 # Check whether --with-libiconv-prefix was given.
36439 if test "${with_libiconv_prefix+set}" = set; then
36440 withval=$with_libiconv_prefix;
36441 for dir in `echo "$withval" | tr : ' '`; do
36442 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36443 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36449 { echo "$as_me:$LINENO: checking for iconv" >&5
36450 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36451 if test "${am_cv_func_iconv+set}" = set; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36455 am_cv_func_iconv="no, consider installing GNU libiconv"
36457 cat >conftest.$ac_ext <<_ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <stdlib.h>
36468 iconv_t cd = iconv_open("","");
36469 iconv(cd,NULL,NULL,NULL,NULL);
36475 rm -f conftest.$ac_objext conftest$ac_exeext
36476 if { (ac_try="$ac_link"
36477 case "(($ac_try" in
36478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36479 *) ac_try_echo
=$ac_try;;
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_link") 2>conftest.er1
36484 grep -v '^ *+' conftest.er1
>conftest.err
36486 cat conftest.err
>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_c_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest
$ac_exeext &&
36492 $as_test_x conftest
$ac_exeext; then
36493 am_cv_func_iconv
=yes
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.
$ac_ext >&5
36501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36502 conftest
$ac_exeext conftest.
$ac_ext
36503 if test "$am_cv_func_iconv" != yes; then
36504 am_save_LIBS
="$LIBS"
36505 LIBS
="$LIBS -liconv"
36506 cat >conftest.
$ac_ext <<_ACEOF
36509 cat confdefs.h
>>conftest.
$ac_ext
36510 cat >>conftest.
$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512 #include <stdlib.h>
36517 iconv_t cd = iconv_open("","");
36518 iconv(cd,NULL,NULL,NULL,NULL);
36524 rm -f conftest.
$ac_objext conftest
$ac_exeext
36525 if { (ac_try
="$ac_link"
36526 case "(($ac_try" in
36527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36528 *) ac_try_echo=$ac_try;;
36530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36531 (eval "$ac_link") 2>conftest.er1
36533 grep -v '^ *+' conftest.er1 >conftest.err
36535 cat conftest.err >&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); } && {
36538 test -z "$ac_c_werror_flag" ||
36539 test ! -s conftest.err
36540 } && test -s conftest$ac_exeext &&
36541 $as_test_x conftest$ac_exeext; then
36542 am_cv_lib_iconv=yes
36543 am_cv_func_iconv=yes
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36552 conftest$ac_exeext conftest.$ac_ext
36553 LIBS="$am_save_LIBS"
36557 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36558 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36559 if test "$am_cv_func_iconv" = yes; then
36561 cat >>confdefs.h <<\_ACEOF
36562 #define HAVE_ICONV 1
36565 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36566 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36567 if test "${wx_cv_func_iconv_const+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 cat >conftest.$ac_ext <<_ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36577 #include <stdlib.h>
36583 #if defined(__STDC__) || defined(__cplusplus)
36584 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36597 rm -f conftest.$ac_objext
36598 if { (ac_try="$ac_compile"
36599 case "(($ac_try" in
36600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36601 *) ac_try_echo
=$ac_try;;
36603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36604 (eval "$ac_compile") 2>conftest.er1
36606 grep -v '^ *+' conftest.er1
>conftest.err
36608 cat conftest.err
>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } && {
36611 test -z "$ac_c_werror_flag" ||
36612 test ! -s conftest.err
36613 } && test -s conftest.
$ac_objext; then
36614 wx_cv_func_iconv_const
="no"
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.
$ac_ext >&5
36619 wx_cv_func_iconv_const
="yes"
36623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36626 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36627 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36630 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36631 iconv_const
="const"
36635 cat >>confdefs.h
<<_ACEOF
36636 #define ICONV_CONST $iconv_const
36641 if test "$am_cv_lib_iconv" = yes; then
36646 LIBS
="$LIBICONV $LIBS"
36649 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36651 for ac_func
in sigaction
36653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36656 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36657 echo $ECHO_N "(cached) $ECHO_C" >&6
36659 cat >conftest.
$ac_ext <<_ACEOF
36662 cat confdefs.h
>>conftest.
$ac_ext
36663 cat >>conftest.
$ac_ext <<_ACEOF
36664 /* end confdefs.h. */
36665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36667 #define $ac_func innocuous_$ac_func
36669 /* System header to define __stub macros and hopefully few prototypes,
36670 which can conflict with char $ac_func (); below.
36671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36672 <limits.h> exists even on freestanding compilers. */
36675 # include <limits.h>
36677 # include <assert.h>
36682 /* Override any GCC internal prototype to avoid an error.
36683 Use char because int might match the return type of a GCC
36684 builtin and then its argument prototype would still apply. */
36689 /* The GNU C library defines this for functions which it implements
36690 to always fail with ENOSYS. Some functions are actually named
36691 something starting with __ and the normal name is an alias. */
36692 #if defined __stub_$ac_func || defined __stub___$ac_func
36699 return $ac_func ();
36704 rm -f conftest.
$ac_objext conftest
$ac_exeext
36705 if { (ac_try
="$ac_link"
36706 case "(($ac_try" in
36707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36708 *) ac_try_echo=$ac_try;;
36710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36711 (eval "$ac_link") 2>conftest.er1
36713 grep -v '^ *+' conftest.er1 >conftest.err
36715 cat conftest.err >&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); } && {
36718 test -z "$ac_c_werror_flag" ||
36719 test ! -s conftest.err
36720 } && test -s conftest$ac_exeext &&
36721 $as_test_x conftest$ac_exeext; then
36722 eval "$as_ac_var=yes"
36724 echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36727 eval "$as_ac_var=no"
36730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36731 conftest$ac_exeext conftest.$ac_ext
36733 ac_res=`eval echo '${'$as_ac_var'}'`
36734 { echo "$as_me:$LINENO: result: $ac_res" >&5
36735 echo "${ECHO_T}$ac_res" >&6; }
36736 if test `eval echo '${'$as_ac_var'}'` = yes; then
36737 cat >>confdefs.h <<_ACEOF
36738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 if test "$ac_cv_func_sigaction" = "no"; then
36746 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36747 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36748 wxUSE_ON_FATAL_EXCEPTION=no
36751 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36752 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36753 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36754 if test "${wx_cv_type_sa_handler+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36759 ac_cpp='$CXXCPP $CPPFLAGS'
36760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36764 cat >conftest.$ac_ext <<_ACEOF
36767 cat confdefs.h >>conftest.$ac_ext
36768 cat >>conftest.$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36770 #include <signal.h>
36775 extern void testSigHandler(int);
36777 struct sigaction sa;
36778 sa.sa_handler = testSigHandler;
36784 rm -f conftest.$ac_objext
36785 if { (ac_try="$ac_compile"
36786 case "(($ac_try" in
36787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36788 *) ac_try_echo
=$ac_try;;
36790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 (eval "$ac_compile") 2>conftest.er1
36793 grep -v '^ *+' conftest.er1
>conftest.err
36795 cat conftest.err
>&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); } && {
36798 test -z "$ac_cxx_werror_flag" ||
36799 test ! -s conftest.err
36800 } && test -s conftest.
$ac_objext; then
36802 wx_cv_type_sa_handler
=int
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.
$ac_ext >&5
36809 wx_cv_type_sa_handler
=void
36813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36815 ac_cpp
='$CPP $CPPFLAGS'
36816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36822 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36823 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36825 cat >>confdefs.h
<<_ACEOF
36826 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36832 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36833 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36834 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36835 if test "${wx_cv_func_backtrace+set}" = set; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 ac_cpp
='$CXXCPP $CPPFLAGS'
36841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36845 cat >conftest.
$ac_ext <<_ACEOF
36848 cat confdefs.h
>>conftest.
$ac_ext
36849 cat >>conftest.
$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 #include <execinfo.h>
36859 backtrace(trace, 1);
36860 messages = backtrace_symbols(trace, 1);
36866 rm -f conftest.
$ac_objext
36867 if { (ac_try
="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36875 grep -v '^ *+' conftest.er1 >conftest.err
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_func_backtrace=yes
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36888 wx_cv_func_backtrace=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36903 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36906 if test "$wx_cv_func_backtrace" = "no"; then
36907 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36908 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36909 wxUSE_STACKWALKER=no
36911 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36912 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 ac_cpp='$CXXCPP $CPPFLAGS'
36919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 #include <cxxabi.h>
36935 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36945 *) ac_try_echo
=$ac_try;;
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36950 grep -v '^ *+' conftest.er1
>conftest.err
36952 cat conftest.err
>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_cxx_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest
$ac_exeext &&
36958 $as_test_x conftest
$ac_exeext; then
36959 wx_cv_func_cxa_demangle
=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 wx_cv_func_cxa_demangle
=no
36968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36969 conftest
$ac_exeext conftest.
$ac_ext
36971 ac_cpp
='$CPP $CPPFLAGS'
36972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36979 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36980 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36982 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36983 cat >>confdefs.h
<<\_ACEOF
36984 #define HAVE_CXA_DEMANGLE 1
36991 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36992 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36993 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36994 wxUSE_STACKWALKER
=no
37000 for ac_func
in mkstemp mktemp
37002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37005 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37008 cat >conftest.
$ac_ext <<_ACEOF
37011 cat confdefs.h
>>conftest.
$ac_ext
37012 cat >>conftest.
$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37016 #define $ac_func innocuous_$ac_func
37018 /* System header to define __stub macros and hopefully few prototypes,
37019 which can conflict with char $ac_func (); below.
37020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37021 <limits.h> exists even on freestanding compilers. */
37024 # include <limits.h>
37026 # include <assert.h>
37031 /* Override any GCC internal prototype to avoid an error.
37032 Use char because int might match the return type of a GCC
37033 builtin and then its argument prototype would still apply. */
37038 /* The GNU C library defines this for functions which it implements
37039 to always fail with ENOSYS. Some functions are actually named
37040 something starting with __ and the normal name is an alias. */
37041 #if defined __stub_$ac_func || defined __stub___$ac_func
37048 return $ac_func ();
37053 rm -f conftest.
$ac_objext conftest
$ac_exeext
37054 if { (ac_try
="$ac_link"
37055 case "(($ac_try" in
37056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37057 *) ac_try_echo=$ac_try;;
37059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_link") 2>conftest.er1
37062 grep -v '^ *+' conftest.er1 >conftest.err
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_c_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest$ac_exeext &&
37070 $as_test_x conftest$ac_exeext; then
37071 eval "$as_ac_var=yes"
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37076 eval "$as_ac_var=no"
37079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37080 conftest$ac_exeext conftest.$ac_ext
37082 ac_res=`eval echo '${'$as_ac_var'}'`
37083 { echo "$as_me:$LINENO: result: $ac_res" >&5
37084 echo "${ECHO_T}$ac_res" >&6; }
37085 if test `eval echo '${'$as_ac_var'}'` = yes; then
37086 cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37094 { echo "$as_me:$LINENO: checking for statfs" >&5
37095 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37096 if test "${wx_cv_func_statfs+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37099 cat >conftest.$ac_ext <<_ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37106 #if defined(__BSD__)
37107 #include <sys/param.h>
37108 #include <sys/mount.h>
37110 #include <sys/vfs.h>
37128 rm -f conftest.$ac_objext
37129 if { (ac_try="$ac_compile"
37130 case "(($ac_try" in
37131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37132 *) ac_try_echo
=$ac_try;;
37134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37135 (eval "$ac_compile") 2>conftest.er1
37137 grep -v '^ *+' conftest.er1
>conftest.err
37139 cat conftest.err
>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } && {
37142 test -z "$ac_c_werror_flag" ||
37143 test ! -s conftest.err
37144 } && test -s conftest.
$ac_objext; then
37145 wx_cv_func_statfs
=yes
37147 echo "$as_me: failed program was:" >&5
37148 sed 's/^/| /' conftest.
$ac_ext >&5
37150 wx_cv_func_statfs
=no
37154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37157 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37158 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37160 if test "$wx_cv_func_statfs" = "yes"; then
37161 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37162 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37163 if test "${wx_cv_func_statfs_decl+set}" = set; then
37164 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 ac_cpp
='$CXXCPP $CPPFLAGS'
37168 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37172 cat >conftest.
$ac_ext <<_ACEOF
37175 cat confdefs.h
>>conftest.
$ac_ext
37176 cat >>conftest.
$ac_ext <<_ACEOF
37177 /* end confdefs.h. */
37179 #if defined(__BSD__)
37180 #include <sys/param.h>
37181 #include <sys/mount.h>
37183 #include <sys/vfs.h>
37197 rm -f conftest.
$ac_objext
37198 if { (ac_try
="$ac_compile"
37199 case "(($ac_try" in
37200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_compile") 2>conftest.er1
37206 grep -v '^ *+' conftest.er1 >conftest.err
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_cxx_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest.$ac_objext; then
37214 wx_cv_func_statfs_decl=yes
37216 echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.$ac_ext >&5
37219 wx_cv_func_statfs_decl=no
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37233 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37235 if test "$wx_cv_func_statfs_decl" = "yes"; then
37236 cat >>confdefs.h <<\_ACEOF
37237 #define HAVE_STATFS_DECL 1
37242 wx_cv_type_statvfs_t="struct statfs"
37243 cat >>confdefs.h <<\_ACEOF
37244 #define HAVE_STATFS 1
37248 { echo "$as_me:$LINENO: checking for statvfs" >&5
37249 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37250 if test "${wx_cv_func_statvfs+set}" = set; then
37251 echo $ECHO_N "(cached) $ECHO_C" >&6
37253 cat >conftest.$ac_ext <<_ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37260 #include <stddef.h>
37261 #include <sys/statvfs.h>
37267 statvfs("/", NULL);
37273 rm -f conftest.$ac_objext
37274 if { (ac_try="$ac_compile"
37275 case "(($ac_try" in
37276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37277 *) ac_try_echo
=$ac_try;;
37279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37280 (eval "$ac_compile") 2>conftest.er1
37282 grep -v '^ *+' conftest.er1
>conftest.err
37284 cat conftest.err
>&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } && {
37287 test -z "$ac_c_werror_flag" ||
37288 test ! -s conftest.err
37289 } && test -s conftest.
$ac_objext; then
37290 wx_cv_func_statvfs
=yes
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.
$ac_ext >&5
37295 wx_cv_func_statvfs
=no
37299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37302 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37303 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37305 if test "$wx_cv_func_statvfs" = "yes"; then
37306 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37307 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37308 if test "${wx_cv_type_statvfs_t+set}" = set; then
37309 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 ac_cpp
='$CXXCPP $CPPFLAGS'
37313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37317 cat >conftest.
$ac_ext <<_ACEOF
37320 cat confdefs.h
>>conftest.
$ac_ext
37321 cat >>conftest.
$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37324 #include <sys/statvfs.h>
37341 rm -f conftest.
$ac_objext
37342 if { (ac_try
="$ac_compile"
37343 case "(($ac_try" in
37344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37345 *) ac_try_echo=$ac_try;;
37347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37348 (eval "$ac_compile") 2>conftest.er1
37350 grep -v '^ *+' conftest.er1 >conftest.err
37352 cat conftest.err >&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } && {
37355 test -z "$ac_cxx_werror_flag" ||
37356 test ! -s conftest.err
37357 } && test -s conftest.$ac_objext; then
37358 wx_cv_type_statvfs_t=statvfs_t
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37364 cat >conftest.$ac_ext <<_ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37371 #include <sys/statvfs.h>
37388 rm -f conftest.$ac_objext
37389 if { (ac_try="$ac_compile"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37392 *) ac_try_echo
=$ac_try;;
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_compile") 2>conftest.er1
37397 grep -v '^ *+' conftest.er1
>conftest.err
37399 cat conftest.err
>&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_cxx_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest.
$ac_objext; then
37405 wx_cv_type_statvfs_t
="struct statvfs"
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.
$ac_ext >&5
37410 wx_cv_type_statvfs_t
="unknown"
37414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37421 ac_cpp
='$CPP $CPPFLAGS'
37422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37428 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37429 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37431 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37432 cat >>confdefs.h
<<\_ACEOF
37433 #define HAVE_STATVFS 1
37438 wx_cv_type_statvfs_t
="unknown"
37442 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37443 cat >>confdefs.h
<<_ACEOF
37444 #define WX_STATFS_T $wx_cv_type_statvfs_t
37448 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37449 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37452 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37455 for ac_func
in fcntl flock
37457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37460 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37461 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 cat >conftest.
$ac_ext <<_ACEOF
37466 cat confdefs.h
>>conftest.
$ac_ext
37467 cat >>conftest.
$ac_ext <<_ACEOF
37468 /* end confdefs.h. */
37469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37471 #define $ac_func innocuous_$ac_func
37473 /* System header to define __stub macros and hopefully few prototypes,
37474 which can conflict with char $ac_func (); below.
37475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37476 <limits.h> exists even on freestanding compilers. */
37479 # include <limits.h>
37481 # include <assert.h>
37486 /* Override any GCC internal prototype to avoid an error.
37487 Use char because int might match the return type of a GCC
37488 builtin and then its argument prototype would still apply. */
37493 /* The GNU C library defines this for functions which it implements
37494 to always fail with ENOSYS. Some functions are actually named
37495 something starting with __ and the normal name is an alias. */
37496 #if defined __stub_$ac_func || defined __stub___$ac_func
37503 return $ac_func ();
37508 rm -f conftest.
$ac_objext conftest
$ac_exeext
37509 if { (ac_try
="$ac_link"
37510 case "(($ac_try" in
37511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37512 *) ac_try_echo=$ac_try;;
37514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37515 (eval "$ac_link") 2>conftest.er1
37517 grep -v '^ *+' conftest.er1 >conftest.err
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } && {
37522 test -z "$ac_c_werror_flag" ||
37523 test ! -s conftest.err
37524 } && test -s conftest$ac_exeext &&
37525 $as_test_x conftest$ac_exeext; then
37526 eval "$as_ac_var=yes"
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37531 eval "$as_ac_var=no"
37534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37535 conftest$ac_exeext conftest.$ac_ext
37537 ac_res=`eval echo '${'$as_ac_var'}'`
37538 { echo "$as_me:$LINENO: result: $ac_res" >&5
37539 echo "${ECHO_T}$ac_res" >&6; }
37540 if test `eval echo '${'$as_ac_var'}'` = yes; then
37541 cat >>confdefs.h <<_ACEOF
37542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37549 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37550 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37551 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37552 wxUSE_SNGLINST_CHECKER=no
37558 for ac_func in setenv putenv
37560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37566 cat >conftest.$ac_ext <<_ACEOF
37569 cat confdefs.h >>conftest.$ac_ext
37570 cat >>conftest.$ac_ext <<_ACEOF
37571 /* end confdefs.h. */
37572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37574 #define $ac_func innocuous_$ac_func
37576 /* System header to define __stub macros and hopefully few prototypes,
37577 which can conflict with char $ac_func (); below.
37578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37579 <limits.h> exists even on freestanding compilers. */
37582 # include <limits.h>
37584 # include <assert.h>
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37596 /* The GNU C library defines this for functions which it implements
37597 to always fail with ENOSYS. Some functions are actually named
37598 something starting with __ and the normal name is an alias. */
37599 #if defined __stub_$ac_func || defined __stub___$ac_func
37606 return $ac_func ();
37611 rm -f conftest.$ac_objext conftest$ac_exeext
37612 if { (ac_try="$ac_link"
37613 case "(($ac_try" in
37614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37615 *) ac_try_echo
=$ac_try;;
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_link") 2>conftest.er1
37620 grep -v '^ *+' conftest.er1
>conftest.err
37622 cat conftest.err
>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_c_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest
$ac_exeext &&
37628 $as_test_x conftest
$ac_exeext; then
37629 eval "$as_ac_var=yes"
37631 echo "$as_me: failed program was:" >&5
37632 sed 's/^/| /' conftest.
$ac_ext >&5
37634 eval "$as_ac_var=no"
37637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37638 conftest
$ac_exeext conftest.
$ac_ext
37640 ac_res
=`eval echo '${'$as_ac_var'}'`
37641 { echo "$as_me:$LINENO: result: $ac_res" >&5
37642 echo "${ECHO_T}$ac_res" >&6; }
37643 if test `eval echo '${'$as_ac_var'}'` = yes; then
37644 cat >>confdefs.h
<<_ACEOF
37645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37651 if test "$ac_cv_func_setenv" = "yes"; then
37653 for ac_func
in unsetenv
37655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37658 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37659 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 cat >conftest.
$ac_ext <<_ACEOF
37664 cat confdefs.h
>>conftest.
$ac_ext
37665 cat >>conftest.
$ac_ext <<_ACEOF
37666 /* end confdefs.h. */
37667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37669 #define $ac_func innocuous_$ac_func
37671 /* System header to define __stub macros and hopefully few prototypes,
37672 which can conflict with char $ac_func (); below.
37673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37674 <limits.h> exists even on freestanding compilers. */
37677 # include <limits.h>
37679 # include <assert.h>
37684 /* Override any GCC internal prototype to avoid an error.
37685 Use char because int might match the return type of a GCC
37686 builtin and then its argument prototype would still apply. */
37691 /* The GNU C library defines this for functions which it implements
37692 to always fail with ENOSYS. Some functions are actually named
37693 something starting with __ and the normal name is an alias. */
37694 #if defined __stub_$ac_func || defined __stub___$ac_func
37701 return $ac_func ();
37706 rm -f conftest.
$ac_objext conftest
$ac_exeext
37707 if { (ac_try
="$ac_link"
37708 case "(($ac_try" in
37709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_link") 2>conftest.er1
37715 grep -v '^ *+' conftest.er1 >conftest.err
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest$ac_exeext &&
37723 $as_test_x conftest$ac_exeext; then
37724 eval "$as_ac_var=yes"
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37729 eval "$as_ac_var=no"
37732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37733 conftest$ac_exeext conftest.$ac_ext
37735 ac_res=`eval echo '${'$as_ac_var'}'`
37736 { echo "$as_me:$LINENO: result: $ac_res" >&5
37737 echo "${ECHO_T}$ac_res" >&6; }
37738 if test `eval echo '${'$as_ac_var'}'` = yes; then
37739 cat >>confdefs.h <<_ACEOF
37740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37748 HAVE_SOME_SLEEP_FUNC=0
37749 if test "$USE_BEOS" = 1; then
37750 cat >>confdefs.h <<\_ACEOF
37751 #define HAVE_SLEEP 1
37754 HAVE_SOME_SLEEP_FUNC=1
37757 if test "$USE_DARWIN" = 1; then
37758 cat >>confdefs.h <<\_ACEOF
37759 #define HAVE_USLEEP 1
37762 HAVE_SOME_SLEEP_FUNC=1
37765 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37768 for ac_func in nanosleep
37770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 cat >conftest.$ac_ext <<_ACEOF
37779 cat confdefs.h >>conftest.$ac_ext
37780 cat >>conftest.$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37792 # include <limits.h>
37794 # include <assert.h>
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37816 return $ac_func ();
37821 rm -f conftest.$ac_objext conftest$ac_exeext
37822 if { (ac_try="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37825 *) ac_try_echo
=$ac_try;;
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37830 grep -v '^ *+' conftest.er1
>conftest.err
37832 cat conftest.err
>&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest
$ac_exeext &&
37838 $as_test_x conftest
$ac_exeext; then
37839 eval "$as_ac_var=yes"
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.
$ac_ext >&5
37844 eval "$as_ac_var=no"
37847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37848 conftest
$ac_exeext conftest.
$ac_ext
37850 ac_res
=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h
<<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37857 cat >>confdefs.h
<<\_ACEOF
37858 #define HAVE_NANOSLEEP 1
37863 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37864 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37865 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 ac_check_lib_save_LIBS
=$LIBS
37869 LIBS
="-lposix4 $LIBS"
37870 cat >conftest.
$ac_ext <<_ACEOF
37873 cat confdefs.h
>>conftest.
$ac_ext
37874 cat >>conftest.
$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37877 /* Override any GCC internal prototype to avoid an error.
37878 Use char because int might match the return type of a GCC
37879 builtin and then its argument prototype would still apply. */
37887 return nanosleep ();
37892 rm -f conftest.
$ac_objext conftest
$ac_exeext
37893 if { (ac_try
="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37901 grep -v '^ *+' conftest.er1 >conftest.err
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest$ac_exeext &&
37909 $as_test_x conftest$ac_exeext; then
37910 ac_cv_lib_posix4_nanosleep=yes
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37915 ac_cv_lib_posix4_nanosleep=no
37918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37919 conftest$ac_exeext conftest.$ac_ext
37920 LIBS=$ac_check_lib_save_LIBS
37922 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37923 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37924 if test $ac_cv_lib_posix4_nanosleep = yes; then
37926 cat >>confdefs.h <<\_ACEOF
37927 #define HAVE_NANOSLEEP 1
37930 POSIX4_LINK=" -lposix4"
37935 for wx_func in usleep
37937 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37938 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37939 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 cat >conftest.$ac_ext <<_ACEOF
37947 cat confdefs.h >>conftest.$ac_ext
37948 cat >>conftest.$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37952 $ac_includes_default
37968 rm -f conftest.$ac_objext conftest$ac_exeext
37969 if { (ac_try="$ac_link"
37970 case "(($ac_try" in
37971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37972 *) ac_try_echo
=$ac_try;;
37974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37975 (eval "$ac_link") 2>conftest.er1
37977 grep -v '^ *+' conftest.er1
>conftest.err
37979 cat conftest.err
>&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } && {
37982 test -z "$ac_c_werror_flag" ||
37983 test ! -s conftest.err
37984 } && test -s conftest
$ac_exeext &&
37985 $as_test_x conftest
$ac_exeext; then
37986 eval wx_cv_func_
$wx_func=yes
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.
$ac_ext >&5
37991 eval wx_cv_func_
$wx_func=no
37994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37995 conftest
$ac_exeext conftest.
$ac_ext
37998 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37999 { echo "$as_me:$LINENO: result: $ac_res" >&5
38000 echo "${ECHO_T}$ac_res" >&6; }
38002 if eval test \
$wx_cv_func_$wx_func = yes
38004 cat >>confdefs.h
<<_ACEOF
38005 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38011 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38012 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38029 for wx_func
in uname
38031 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38032 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38033 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 cat >conftest.
$ac_ext <<_ACEOF
38041 cat confdefs.h
>>conftest.
$ac_ext
38042 cat >>conftest.
$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38045 #include <sys/utsname.h>
38046 $ac_includes_default
38062 rm -f conftest.
$ac_objext conftest
$ac_exeext
38063 if { (ac_try
="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38071 grep -v '^ *+' conftest.er1 >conftest.err
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 eval wx_cv_func_$wx_func=yes
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38085 eval wx_cv_func_$wx_func=no
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38092 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38096 if eval test \$wx_cv_func_$wx_func = yes
38098 cat >>confdefs.h <<_ACEOF
38099 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38109 if test "$wx_cv_func_uname" != yes; then
38111 for wx_func in gethostname
38113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 cat >conftest.$ac_ext <<_ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38128 $ac_includes_default
38144 rm -f conftest.$ac_objext conftest$ac_exeext
38145 if { (ac_try="$ac_link"
38146 case "(($ac_try" in
38147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38148 *) ac_try_echo
=$ac_try;;
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151 (eval "$ac_link") 2>conftest.er1
38153 grep -v '^ *+' conftest.er1
>conftest.err
38155 cat conftest.err
>&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } && {
38158 test -z "$ac_c_werror_flag" ||
38159 test ! -s conftest.err
38160 } && test -s conftest
$ac_exeext &&
38161 $as_test_x conftest
$ac_exeext; then
38162 eval wx_cv_func_
$wx_func=yes
38164 echo "$as_me: failed program was:" >&5
38165 sed 's/^/| /' conftest.
$ac_ext >&5
38167 eval wx_cv_func_
$wx_func=no
38170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38171 conftest
$ac_exeext conftest.
$ac_ext
38174 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38175 { echo "$as_me:$LINENO: result: $ac_res" >&5
38176 echo "${ECHO_T}$ac_res" >&6; }
38178 if eval test \
$wx_cv_func_$wx_func = yes
38180 cat >>confdefs.h
<<_ACEOF
38181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38194 for wx_func
in strtok_r
38196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38198 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38202 cat >conftest.
$ac_ext <<_ACEOF
38206 cat confdefs.h
>>conftest.
$ac_ext
38207 cat >>conftest.
$ac_ext <<_ACEOF
38208 /* end confdefs.h. */
38211 $ac_includes_default
38227 rm -f conftest.
$ac_objext conftest
$ac_exeext
38228 if { (ac_try
="$ac_link"
38229 case "(($ac_try" in
38230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38231 *) ac_try_echo=$ac_try;;
38233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38234 (eval "$ac_link") 2>conftest.er1
38236 grep -v '^ *+' conftest.er1 >conftest.err
38238 cat conftest.err >&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } && {
38241 test -z "$ac_c_werror_flag" ||
38242 test ! -s conftest.err
38243 } && test -s conftest$ac_exeext &&
38244 $as_test_x conftest$ac_exeext; then
38245 eval wx_cv_func_$wx_func=yes
38247 echo "$as_me: failed program was:" >&5
38248 sed 's/^/| /' conftest.$ac_ext >&5
38250 eval wx_cv_func_$wx_func=no
38253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38254 conftest$ac_exeext conftest.$ac_ext
38257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38258 { echo "$as_me:$LINENO: result: $ac_res" >&5
38259 echo "${ECHO_T}$ac_res" >&6; }
38261 if eval test \$wx_cv_func_$wx_func = yes
38263 cat >>confdefs.h <<_ACEOF
38264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38277 for ac_func in inet_addr
38279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 cat >conftest.$ac_ext <<_ACEOF
38288 cat confdefs.h >>conftest.$ac_ext
38289 cat >>conftest.$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38293 #define $ac_func innocuous_$ac_func
38295 /* System header to define __stub macros and hopefully few prototypes,
38296 which can conflict with char $ac_func (); below.
38297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38298 <limits.h> exists even on freestanding compilers. */
38301 # include <limits.h>
38303 # include <assert.h>
38308 /* Override any GCC internal prototype to avoid an error.
38309 Use char because int might match the return type of a GCC
38310 builtin and then its argument prototype would still apply. */
38315 /* The GNU C library defines this for functions which it implements
38316 to always fail with ENOSYS. Some functions are actually named
38317 something starting with __ and the normal name is an alias. */
38318 #if defined __stub_$ac_func || defined __stub___$ac_func
38325 return $ac_func ();
38330 rm -f conftest.$ac_objext conftest$ac_exeext
38331 if { (ac_try="$ac_link"
38332 case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38334 *) ac_try_echo
=$ac_try;;
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_link") 2>conftest.er1
38339 grep -v '^ *+' conftest.er1
>conftest.err
38341 cat conftest.err
>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_c_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest
$ac_exeext &&
38347 $as_test_x conftest
$ac_exeext; then
38348 eval "$as_ac_var=yes"
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.
$ac_ext >&5
38353 eval "$as_ac_var=no"
38356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38357 conftest
$ac_exeext conftest.
$ac_ext
38359 ac_res
=`eval echo '${'$as_ac_var'}'`
38360 { echo "$as_me:$LINENO: result: $ac_res" >&5
38361 echo "${ECHO_T}$ac_res" >&6; }
38362 if test `eval echo '${'$as_ac_var'}'` = yes; then
38363 cat >>confdefs.h
<<_ACEOF
38364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38366 cat >>confdefs.h
<<\_ACEOF
38367 #define HAVE_INET_ADDR 1
38372 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38373 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38374 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 ac_check_lib_save_LIBS
=$LIBS
38379 cat >conftest.
$ac_ext <<_ACEOF
38382 cat confdefs.h
>>conftest.
$ac_ext
38383 cat >>conftest.
$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38386 /* Override any GCC internal prototype to avoid an error.
38387 Use char because int might match the return type of a GCC
38388 builtin and then its argument prototype would still apply. */
38396 return inet_addr ();
38401 rm -f conftest.
$ac_objext conftest
$ac_exeext
38402 if { (ac_try
="$ac_link"
38403 case "(($ac_try" in
38404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38405 *) ac_try_echo=$ac_try;;
38407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38408 (eval "$ac_link") 2>conftest.er1
38410 grep -v '^ *+' conftest.er1 >conftest.err
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } && {
38415 test -z "$ac_c_werror_flag" ||
38416 test ! -s conftest.err
38417 } && test -s conftest$ac_exeext &&
38418 $as_test_x conftest$ac_exeext; then
38419 ac_cv_lib_nsl_inet_addr=yes
38421 echo "$as_me: failed program was:" >&5
38422 sed 's/^/| /' conftest.$ac_ext >&5
38424 ac_cv_lib_nsl_inet_addr=no
38427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38428 conftest$ac_exeext conftest.$ac_ext
38429 LIBS=$ac_check_lib_save_LIBS
38431 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38432 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38433 if test $ac_cv_lib_nsl_inet_addr = yes; then
38437 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38438 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38439 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 ac_check_lib_save_LIBS=$LIBS
38443 LIBS="-lresolv $LIBS"
38444 cat >conftest.$ac_ext <<_ACEOF
38447 cat confdefs.h >>conftest.$ac_ext
38448 cat >>conftest.$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38451 /* Override any GCC internal prototype to avoid an error.
38452 Use char because int might match the return type of a GCC
38453 builtin and then its argument prototype would still apply. */
38461 return inet_addr ();
38466 rm -f conftest.$ac_objext conftest$ac_exeext
38467 if { (ac_try="$ac_link"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38470 *) ac_try_echo
=$ac_try;;
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_link") 2>conftest.er1
38475 grep -v '^ *+' conftest.er1
>conftest.err
38477 cat conftest.err
>&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_c_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest
$ac_exeext &&
38483 $as_test_x conftest
$ac_exeext; then
38484 ac_cv_lib_resolv_inet_addr
=yes
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.
$ac_ext >&5
38489 ac_cv_lib_resolv_inet_addr
=no
38492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38493 conftest
$ac_exeext conftest.
$ac_ext
38494 LIBS
=$ac_check_lib_save_LIBS
38496 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38497 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38498 if test $ac_cv_lib_resolv_inet_addr = yes; then
38502 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38503 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38504 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 ac_check_lib_save_LIBS
=$LIBS
38508 LIBS
="-lsocket $LIBS"
38509 cat >conftest.
$ac_ext <<_ACEOF
38512 cat confdefs.h
>>conftest.
$ac_ext
38513 cat >>conftest.
$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38516 /* Override any GCC internal prototype to avoid an error.
38517 Use char because int might match the return type of a GCC
38518 builtin and then its argument prototype would still apply. */
38526 return inet_addr ();
38531 rm -f conftest.
$ac_objext conftest
$ac_exeext
38532 if { (ac_try
="$ac_link"
38533 case "(($ac_try" in
38534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38535 *) ac_try_echo=$ac_try;;
38537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38538 (eval "$ac_link") 2>conftest.er1
38540 grep -v '^ *+' conftest.er1 >conftest.err
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } && {
38545 test -z "$ac_c_werror_flag" ||
38546 test ! -s conftest.err
38547 } && test -s conftest$ac_exeext &&
38548 $as_test_x conftest$ac_exeext; then
38549 ac_cv_lib_socket_inet_addr=yes
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38554 ac_cv_lib_socket_inet_addr=no
38557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38558 conftest$ac_exeext conftest.$ac_ext
38559 LIBS=$ac_check_lib_save_LIBS
38561 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38562 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38563 if test $ac_cv_lib_socket_inet_addr = yes; then
38583 for ac_func in inet_aton
38585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38591 cat >conftest.$ac_ext <<_ACEOF
38594 cat confdefs.h >>conftest.$ac_ext
38595 cat >>conftest.$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38599 #define $ac_func innocuous_$ac_func
38601 /* System header to define __stub macros and hopefully few prototypes,
38602 which can conflict with char $ac_func (); below.
38603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38604 <limits.h> exists even on freestanding compilers. */
38607 # include <limits.h>
38609 # include <assert.h>
38614 /* Override any GCC internal prototype to avoid an error.
38615 Use char because int might match the return type of a GCC
38616 builtin and then its argument prototype would still apply. */
38621 /* The GNU C library defines this for functions which it implements
38622 to always fail with ENOSYS. Some functions are actually named
38623 something starting with __ and the normal name is an alias. */
38624 #if defined __stub_$ac_func || defined __stub___$ac_func
38631 return $ac_func ();
38636 rm -f conftest.$ac_objext conftest$ac_exeext
38637 if { (ac_try="$ac_link"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38640 *) ac_try_echo
=$ac_try;;
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_link") 2>conftest.er1
38645 grep -v '^ *+' conftest.er1
>conftest.err
38647 cat conftest.err
>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest
$ac_exeext &&
38653 $as_test_x conftest
$ac_exeext; then
38654 eval "$as_ac_var=yes"
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.
$ac_ext >&5
38659 eval "$as_ac_var=no"
38662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38663 conftest
$ac_exeext conftest.
$ac_ext
38665 ac_res
=`eval echo '${'$as_ac_var'}'`
38666 { echo "$as_me:$LINENO: result: $ac_res" >&5
38667 echo "${ECHO_T}$ac_res" >&6; }
38668 if test `eval echo '${'$as_ac_var'}'` = yes; then
38669 cat >>confdefs.h
<<_ACEOF
38670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38672 cat >>confdefs.h
<<\_ACEOF
38673 #define HAVE_INET_ATON 1
38678 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38679 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38680 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38681 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38682 echo $ECHO_N "(cached) $ECHO_C" >&6
38684 ac_check_lib_save_LIBS
=$LIBS
38685 LIBS
="-l$INET_LINK $LIBS"
38686 cat >conftest.
$ac_ext <<_ACEOF
38689 cat confdefs.h
>>conftest.
$ac_ext
38690 cat >>conftest.
$ac_ext <<_ACEOF
38691 /* end confdefs.h. */
38693 /* Override any GCC internal prototype to avoid an error.
38694 Use char because int might match the return type of a GCC
38695 builtin and then its argument prototype would still apply. */
38703 return inet_aton ();
38708 rm -f conftest.
$ac_objext conftest
$ac_exeext
38709 if { (ac_try
="$ac_link"
38710 case "(($ac_try" in
38711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38712 *) ac_try_echo=$ac_try;;
38714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38715 (eval "$ac_link") 2>conftest.er1
38717 grep -v '^ *+' conftest.er1 >conftest.err
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } && {
38722 test -z "$ac_c_werror_flag" ||
38723 test ! -s conftest.err
38724 } && test -s conftest$ac_exeext &&
38725 $as_test_x conftest$ac_exeext; then
38726 eval "$as_ac_Lib=yes"
38728 echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.$ac_ext >&5
38731 eval "$as_ac_Lib=no"
38734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38735 conftest$ac_exeext conftest.$ac_ext
38736 LIBS=$ac_check_lib_save_LIBS
38738 ac_res=`eval echo '${'$as_ac_Lib'}'`
38739 { echo "$as_me:$LINENO: result: $ac_res" >&5
38740 echo "${ECHO_T}$ac_res" >&6; }
38741 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38742 cat >>confdefs.h <<\_ACEOF
38743 #define HAVE_INET_ATON 1
38753 if test "x$INET_LINK" != "x"; then
38754 cat >>confdefs.h <<\_ACEOF
38755 #define HAVE_INET_ADDR 1
38758 INET_LINK=" -l$INET_LINK"
38762 for wx_func in fdopen
38764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38766 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38770 cat >conftest.$ac_ext <<_ACEOF
38774 cat confdefs.h >>conftest.$ac_ext
38775 cat >>conftest.$ac_ext <<_ACEOF
38776 /* end confdefs.h. */
38779 $ac_includes_default
38795 rm -f conftest.$ac_objext conftest$ac_exeext
38796 if { (ac_try="$ac_link"
38797 case "(($ac_try" in
38798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38799 *) ac_try_echo
=$ac_try;;
38801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38802 (eval "$ac_link") 2>conftest.er1
38804 grep -v '^ *+' conftest.er1
>conftest.err
38806 cat conftest.err
>&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } && {
38809 test -z "$ac_c_werror_flag" ||
38810 test ! -s conftest.err
38811 } && test -s conftest
$ac_exeext &&
38812 $as_test_x conftest
$ac_exeext; then
38813 eval wx_cv_func_
$wx_func=yes
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.
$ac_ext >&5
38818 eval wx_cv_func_
$wx_func=no
38821 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38822 conftest
$ac_exeext conftest.
$ac_ext
38825 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38826 { echo "$as_me:$LINENO: result: $ac_res" >&5
38827 echo "${ECHO_T}$ac_res" >&6; }
38829 if eval test \
$wx_cv_func_$wx_func = yes
38831 cat >>confdefs.h
<<_ACEOF
38832 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38843 if test "$wxUSE_TARSTREAM" = "yes"; then
38845 for wx_func
in sysconf
38847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38849 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38850 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 cat >conftest.
$ac_ext <<_ACEOF
38857 cat confdefs.h
>>conftest.
$ac_ext
38858 cat >>conftest.
$ac_ext <<_ACEOF
38859 /* end confdefs.h. */
38862 $ac_includes_default
38878 rm -f conftest.
$ac_objext conftest
$ac_exeext
38879 if { (ac_try
="$ac_link"
38880 case "(($ac_try" in
38881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_link") 2>conftest.er1
38887 grep -v '^ *+' conftest.er1 >conftest.err
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_c_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest$ac_exeext &&
38895 $as_test_x conftest$ac_exeext; then
38896 eval wx_cv_func_$wx_func=yes
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38901 eval wx_cv_func_$wx_func=no
38904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38905 conftest$ac_exeext conftest.$ac_ext
38908 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38909 { echo "$as_me:$LINENO: result: $ac_res" >&5
38910 echo "${ECHO_T}$ac_res" >&6; }
38912 if eval test \$wx_cv_func_$wx_func = yes
38914 cat >>confdefs.h <<_ACEOF
38915 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38927 for wx_func in getpwuid_r
38929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38931 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 cat >conftest.$ac_ext <<_ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38947 $ac_includes_default
38957 struct passwd pw, *ppw;
38959 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38967 rm -f conftest.$ac_objext conftest$ac_exeext
38968 if { (ac_try="$ac_link"
38969 case "(($ac_try" in
38970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38971 *) ac_try_echo
=$ac_try;;
38973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_link") 2>conftest.er1
38976 grep -v '^ *+' conftest.er1
>conftest.err
38978 cat conftest.err
>&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest
$ac_exeext &&
38984 $as_test_x conftest
$ac_exeext; then
38985 eval wx_cv_func_
$wx_func=yes
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.
$ac_ext >&5
38990 eval wx_cv_func_
$wx_func=no
38993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38994 conftest
$ac_exeext conftest.
$ac_ext
38997 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38998 { echo "$as_me:$LINENO: result: $ac_res" >&5
38999 echo "${ECHO_T}$ac_res" >&6; }
39001 if eval test \
$wx_cv_func_$wx_func = yes
39003 cat >>confdefs.h
<<_ACEOF
39004 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39016 for wx_func
in getgrgid_r
39018 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39019 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39020 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39021 echo $ECHO_N "(cached) $ECHO_C" >&6
39024 cat >conftest.
$ac_ext <<_ACEOF
39028 cat confdefs.h
>>conftest.
$ac_ext
39029 cat >>conftest.
$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39036 $ac_includes_default
39046 struct group grp, *pgrp;
39048 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39056 rm -f conftest.
$ac_objext conftest
$ac_exeext
39057 if { (ac_try
="$ac_link"
39058 case "(($ac_try" in
39059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39060 *) ac_try_echo=$ac_try;;
39062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39063 (eval "$ac_link") 2>conftest.er1
39065 grep -v '^ *+' conftest.er1 >conftest.err
39067 cat conftest.err >&5
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); } && {
39070 test -z "$ac_c_werror_flag" ||
39071 test ! -s conftest.err
39072 } && test -s conftest$ac_exeext &&
39073 $as_test_x conftest$ac_exeext; then
39074 eval wx_cv_func_$wx_func=yes
39076 echo "$as_me: failed program was:" >&5
39077 sed 's/^/| /' conftest.$ac_ext >&5
39079 eval wx_cv_func_$wx_func=no
39082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39083 conftest$ac_exeext conftest.$ac_ext
39086 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39087 { echo "$as_me:$LINENO: result: $ac_res" >&5
39088 echo "${ECHO_T}$ac_res" >&6; }
39090 if eval test \$wx_cv_func_$wx_func = yes
39092 cat >>confdefs.h <<_ACEOF
39093 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39109 cat >confcache <<\_ACEOF
39110 # This file is a shell script that caches the results of configure
39111 # tests run on this system so they can be shared between configure
39112 # scripts and configure runs, see configure's option --config-cache.
39113 # It is not useful on other systems. If it contains results you don't
39114 # want to keep, you may remove or edit it.
39116 # config.status only pays attention to the cache file if you give it
39117 # the --recheck option to rerun configure.
39119 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39120 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39121 # following values.
39125 # The following way of writing the cache mishandles newlines in values,
39126 # but we know of no workaround that is simple, portable, and efficient.
39127 # So, we kill variables containing newlines.
39128 # Ultrix sh set writes to stderr and can't be redirected directly,
39129 # and sets the high bit in the cache file unless we assign to the vars.
39131 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39132 eval ac_val
=\$
$ac_var
39136 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39140 _
| IFS
| as_nl
) ;; #(
39141 *) $as_unset $ac_var ;;
39147 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39148 *${as_nl}ac_space
=\
*)
39149 # `set' does not quote correctly, so add quotes (double-quote
39150 # substitution turns \\\\ into \\, and sed turns \\ into \).
39153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39156 # `set' quotes correctly as required by POSIX, so do not add quotes.
39157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39168 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39170 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39171 if test -w "$cache_file"; then
39172 test "x$cache_file" != "x/dev/null" &&
39173 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39174 echo "$as_me: updating cache $cache_file" >&6;}
39175 cat confcache
>$cache_file
39177 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39178 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39184 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39190 if test "$wxUSE_THREADS" = "yes" ; then
39191 if test "$USE_BEOS" = 1; then
39192 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39193 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39198 if test "$wxUSE_THREADS" = "yes" ; then
39201 THREAD_OPTS
="-pthread"
39202 if test "x$SUNCXX" = xyes
; then
39203 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39207 *-*-solaris2* | *-*-sunos4* )
39208 if test "x$GCC" = "xyes"; then
39209 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39213 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39215 *-*-darwin* | *-*-cygwin* )
39219 THREAD_OPTS
="pthreads"
39222 if test "x$GCC" = "xyes"; then
39223 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39231 if test "x$GCC" = "xyes"; then
39237 if test "x$GCC" != "xyes"; then
39238 THREAD_OPTS
="-Ethread"
39243 THREAD_OPTS
="$THREAD_OPTS pthread none"
39246 for flag
in $THREAD_OPTS; do
39249 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39250 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39254 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39255 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39256 THREADS_CFLAGS
="$flag"
39260 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39261 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39262 THREADS_LINK
="-l$flag"
39267 save_CFLAGS
="$CFLAGS"
39268 LIBS
="$THREADS_LINK $LIBS"
39269 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39271 cat >conftest.
$ac_ext <<_ACEOF
39274 cat confdefs.h
>>conftest.
$ac_ext
39275 cat >>conftest.
$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 #include <pthread.h>
39281 pthread_create(0,0,0,0);
39286 rm -f conftest.
$ac_objext conftest
$ac_exeext
39287 if { (ac_try
="$ac_link"
39288 case "(($ac_try" in
39289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39290 *) ac_try_echo=$ac_try;;
39292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39293 (eval "$ac_link") 2>conftest.er1
39295 grep -v '^ *+' conftest.er1 >conftest.err
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } && {
39300 test -z "$ac_c_werror_flag" ||
39301 test ! -s conftest.err
39302 } && test -s conftest$ac_exeext &&
39303 $as_test_x conftest$ac_exeext; then
39306 echo "$as_me: failed program was:" >&5
39307 sed 's/^/| /' conftest.$ac_ext >&5
39312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39313 conftest$ac_exeext conftest.$ac_ext
39316 CFLAGS="$save_CFLAGS"
39318 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39319 echo "${ECHO_T}$THREADS_OK" >&6; }
39320 if test "x$THREADS_OK" = "xyes"; then
39328 if test "x$THREADS_OK" != "xyes"; then
39330 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39331 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39333 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39334 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39335 LIBS="$THREADS_LINK $LIBS"
39337 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39338 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39342 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39343 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39344 flag="-D_THREAD_SAFE"
39347 flag="-D_THREAD_SAFE"
39350 flag="-D_REENTRANT"
39351 if test "x$GCC" != "xyes"; then
39352 flag="$flag -D_RWSTD_MULTI_THREAD"
39355 *solaris* | alpha*-osf*)
39356 flag="-D_REENTRANT"
39359 { echo "$as_me:$LINENO: result: ${flag}" >&5
39360 echo "${ECHO_T}${flag}" >&6; }
39361 if test "x$flag" != xno; then
39362 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39365 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39369 if test "$wxUSE_THREADS" = "yes" ; then
39371 for ac_func in thr_setconcurrency
39373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 cat >conftest.$ac_ext <<_ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39387 #define $ac_func innocuous_$ac_func
39389 /* System header to define __stub macros and hopefully few prototypes,
39390 which can conflict with char $ac_func (); below.
39391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39392 <limits.h> exists even on freestanding compilers. */
39395 # include <limits.h>
39397 # include <assert.h>
39402 /* Override any GCC internal prototype to avoid an error.
39403 Use char because int might match the return type of a GCC
39404 builtin and then its argument prototype would still apply. */
39409 /* The GNU C library defines this for functions which it implements
39410 to always fail with ENOSYS. Some functions are actually named
39411 something starting with __ and the normal name is an alias. */
39412 #if defined __stub_$ac_func || defined __stub___$ac_func
39419 return $ac_func ();
39424 rm -f conftest.$ac_objext conftest$ac_exeext
39425 if { (ac_try="$ac_link"
39426 case "(($ac_try" in
39427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39428 *) ac_try_echo
=$ac_try;;
39430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39431 (eval "$ac_link") 2>conftest.er1
39433 grep -v '^ *+' conftest.er1
>conftest.err
39435 cat conftest.err
>&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } && {
39438 test -z "$ac_c_werror_flag" ||
39439 test ! -s conftest.err
39440 } && test -s conftest
$ac_exeext &&
39441 $as_test_x conftest
$ac_exeext; then
39442 eval "$as_ac_var=yes"
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.
$ac_ext >&5
39447 eval "$as_ac_var=no"
39450 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39451 conftest
$ac_exeext conftest.
$ac_ext
39453 ac_res
=`eval echo '${'$as_ac_var'}'`
39454 { echo "$as_me:$LINENO: result: $ac_res" >&5
39455 echo "${ECHO_T}$ac_res" >&6; }
39456 if test `eval echo '${'$as_ac_var'}'` = yes; then
39457 cat >>confdefs.h
<<_ACEOF
39458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39465 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39466 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39467 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39472 ac_cpp
='$CXXCPP $CPPFLAGS'
39473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39477 cat >conftest.
$ac_ext <<_ACEOF
39480 cat confdefs.h
>>conftest.
$ac_ext
39481 cat >>conftest.
$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39483 #include <pthread.h>
39484 void ThreadCleanupFunc(void *p);
39491 pthread_cleanup_push(ThreadCleanupFunc, p);
39492 pthread_cleanup_pop(0);
39498 rm -f conftest.
$ac_objext
39499 if { (ac_try
="$ac_compile"
39500 case "(($ac_try" in
39501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39502 *) ac_try_echo=$ac_try;;
39504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39505 (eval "$ac_compile") 2>conftest.er1
39507 grep -v '^ *+' conftest.er1 >conftest.err
39509 cat conftest.err >&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } && {
39512 test -z "$ac_cxx_werror_flag" ||
39513 test ! -s conftest.err
39514 } && test -s conftest.$ac_objext; then
39516 wx_cv_func_pthread_cleanup=yes
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39523 wx_cv_func_pthread_cleanup=no
39528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39530 ac_cpp='$CPP $CPPFLAGS'
39531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39537 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39538 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39539 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define wxHAVE_PTHREAD_CLEANUP 1
39547 for ac_header in sched.h
39549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39553 echo $ECHO_N "(cached) $ECHO_C" >&6
39555 cat >conftest.$ac_ext <<_ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39561 $ac_includes_default
39563 #include <$ac_header>
39565 rm -f conftest.$ac_objext
39566 if { (ac_try="$ac_compile"
39567 case "(($ac_try" in
39568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39569 *) ac_try_echo
=$ac_try;;
39571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39572 (eval "$ac_compile") 2>conftest.er1
39574 grep -v '^ *+' conftest.er1
>conftest.err
39576 cat conftest.err
>&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); } && {
39579 test -z "$ac_c_werror_flag" ||
39580 test ! -s conftest.err
39581 } && test -s conftest.
$ac_objext; then
39582 eval "$as_ac_Header=yes"
39584 echo "$as_me: failed program was:" >&5
39585 sed 's/^/| /' conftest.
$ac_ext >&5
39587 eval "$as_ac_Header=no"
39590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39592 ac_res
=`eval echo '${'$as_ac_Header'}'`
39593 { echo "$as_me:$LINENO: result: $ac_res" >&5
39594 echo "${ECHO_T}$ac_res" >&6; }
39595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39596 cat >>confdefs.h
<<_ACEOF
39597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39604 if test "$ac_cv_header_sched_h" = "yes"; then
39605 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39606 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39607 if test "${ac_cv_func_sched_yield+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 cat >conftest.
$ac_ext <<_ACEOF
39613 cat confdefs.h
>>conftest.
$ac_ext
39614 cat >>conftest.
$ac_ext <<_ACEOF
39615 /* end confdefs.h. */
39616 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39618 #define sched_yield innocuous_sched_yield
39620 /* System header to define __stub macros and hopefully few prototypes,
39621 which can conflict with char sched_yield (); below.
39622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39623 <limits.h> exists even on freestanding compilers. */
39626 # include <limits.h>
39628 # include <assert.h>
39633 /* Override any GCC internal prototype to avoid an error.
39634 Use char because int might match the return type of a GCC
39635 builtin and then its argument prototype would still apply. */
39639 char sched_yield ();
39640 /* The GNU C library defines this for functions which it implements
39641 to always fail with ENOSYS. Some functions are actually named
39642 something starting with __ and the normal name is an alias. */
39643 #if defined __stub_sched_yield || defined __stub___sched_yield
39650 return sched_yield ();
39655 rm -f conftest.
$ac_objext conftest
$ac_exeext
39656 if { (ac_try
="$ac_link"
39657 case "(($ac_try" in
39658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39659 *) ac_try_echo=$ac_try;;
39661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39662 (eval "$ac_link") 2>conftest.er1
39664 grep -v '^ *+' conftest.er1 >conftest.err
39666 cat conftest.err >&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); } && {
39669 test -z "$ac_c_werror_flag" ||
39670 test ! -s conftest.err
39671 } && test -s conftest$ac_exeext &&
39672 $as_test_x conftest$ac_exeext; then
39673 ac_cv_func_sched_yield=yes
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.$ac_ext >&5
39678 ac_cv_func_sched_yield=no
39681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39682 conftest$ac_exeext conftest.$ac_ext
39684 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39685 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39686 if test $ac_cv_func_sched_yield = yes; then
39687 cat >>confdefs.h <<\_ACEOF
39688 #define HAVE_SCHED_YIELD 1
39693 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39694 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39695 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39696 echo $ECHO_N "(cached) $ECHO_C" >&6
39698 ac_check_lib_save_LIBS=$LIBS
39699 LIBS="-lposix4 $LIBS"
39700 cat >conftest.$ac_ext <<_ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39707 /* Override any GCC internal prototype to avoid an error.
39708 Use char because int might match the return type of a GCC
39709 builtin and then its argument prototype would still apply. */
39713 char sched_yield ();
39717 return sched_yield ();
39722 rm -f conftest.$ac_objext conftest$ac_exeext
39723 if { (ac_try="$ac_link"
39724 case "(($ac_try" in
39725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39726 *) ac_try_echo
=$ac_try;;
39728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39729 (eval "$ac_link") 2>conftest.er1
39731 grep -v '^ *+' conftest.er1
>conftest.err
39733 cat conftest.err
>&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); } && {
39736 test -z "$ac_c_werror_flag" ||
39737 test ! -s conftest.err
39738 } && test -s conftest
$ac_exeext &&
39739 $as_test_x conftest
$ac_exeext; then
39740 ac_cv_lib_posix4_sched_yield
=yes
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.
$ac_ext >&5
39745 ac_cv_lib_posix4_sched_yield
=no
39748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39749 conftest
$ac_exeext conftest.
$ac_ext
39750 LIBS
=$ac_check_lib_save_LIBS
39752 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39753 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39754 if test $ac_cv_lib_posix4_sched_yield = yes; then
39755 cat >>confdefs.h
<<\_ACEOF
39756 #define HAVE_SCHED_YIELD 1
39758 POSIX4_LINK
=" -lposix4"
39760 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39761 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39772 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39773 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39774 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 cat >conftest.
$ac_ext <<_ACEOF
39780 cat confdefs.h
>>conftest.
$ac_ext
39781 cat >>conftest.
$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char pthread_attr_getschedpolicy (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39793 # include <limits.h>
39795 # include <assert.h>
39798 #undef pthread_attr_getschedpolicy
39800 /* Override any GCC internal prototype to avoid an error.
39801 Use char because int might match the return type of a GCC
39802 builtin and then its argument prototype would still apply. */
39806 char pthread_attr_getschedpolicy ();
39807 /* The GNU C library defines this for functions which it implements
39808 to always fail with ENOSYS. Some functions are actually named
39809 something starting with __ and the normal name is an alias. */
39810 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39817 return pthread_attr_getschedpolicy ();
39822 rm -f conftest.
$ac_objext conftest
$ac_exeext
39823 if { (ac_try
="$ac_link"
39824 case "(($ac_try" in
39825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39826 *) ac_try_echo=$ac_try;;
39828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39829 (eval "$ac_link") 2>conftest.er1
39831 grep -v '^ *+' conftest.er1 >conftest.err
39833 cat conftest.err >&5
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); } && {
39836 test -z "$ac_c_werror_flag" ||
39837 test ! -s conftest.err
39838 } && test -s conftest$ac_exeext &&
39839 $as_test_x conftest$ac_exeext; then
39840 ac_cv_func_pthread_attr_getschedpolicy=yes
39842 echo "$as_me: failed program was:" >&5
39843 sed 's/^/| /' conftest.$ac_ext >&5
39845 ac_cv_func_pthread_attr_getschedpolicy=no
39848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39849 conftest$ac_exeext conftest.$ac_ext
39851 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39852 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39853 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39854 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39855 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39856 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char pthread_attr_setschedparam (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39875 # include <limits.h>
39877 # include <assert.h>
39880 #undef pthread_attr_setschedparam
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39888 char pthread_attr_setschedparam ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39899 return pthread_attr_setschedparam ();
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39908 *) ac_try_echo
=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1
>conftest.err
39915 cat conftest.err
>&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest
$ac_exeext &&
39921 $as_test_x conftest
$ac_exeext; then
39922 ac_cv_func_pthread_attr_setschedparam
=yes
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.
$ac_ext >&5
39927 ac_cv_func_pthread_attr_setschedparam
=no
39930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39931 conftest
$ac_exeext conftest.
$ac_ext
39933 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39934 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39935 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39936 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39937 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39938 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39939 echo $ECHO_N "(cached) $ECHO_C" >&6
39941 cat >conftest.
$ac_ext <<_ACEOF
39944 cat confdefs.h
>>conftest.
$ac_ext
39945 cat >>conftest.
$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39949 #define sched_get_priority_max innocuous_sched_get_priority_max
39951 /* System header to define __stub macros and hopefully few prototypes,
39952 which can conflict with char sched_get_priority_max (); below.
39953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39954 <limits.h> exists even on freestanding compilers. */
39957 # include <limits.h>
39959 # include <assert.h>
39962 #undef sched_get_priority_max
39964 /* Override any GCC internal prototype to avoid an error.
39965 Use char because int might match the return type of a GCC
39966 builtin and then its argument prototype would still apply. */
39970 char sched_get_priority_max ();
39971 /* The GNU C library defines this for functions which it implements
39972 to always fail with ENOSYS. Some functions are actually named
39973 something starting with __ and the normal name is an alias. */
39974 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39981 return sched_get_priority_max ();
39986 rm -f conftest.
$ac_objext conftest
$ac_exeext
39987 if { (ac_try
="$ac_link"
39988 case "(($ac_try" in
39989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39990 *) ac_try_echo=$ac_try;;
39992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39993 (eval "$ac_link") 2>conftest.er1
39995 grep -v '^ *+' conftest.er1 >conftest.err
39997 cat conftest.err >&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); } && {
40000 test -z "$ac_c_werror_flag" ||
40001 test ! -s conftest.err
40002 } && test -s conftest$ac_exeext &&
40003 $as_test_x conftest$ac_exeext; then
40004 ac_cv_func_sched_get_priority_max=yes
40006 echo "$as_me: failed program was:" >&5
40007 sed 's/^/| /' conftest.$ac_ext >&5
40009 ac_cv_func_sched_get_priority_max=no
40012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40013 conftest$ac_exeext conftest.$ac_ext
40015 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40016 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40017 if test $ac_cv_func_sched_get_priority_max = yes; then
40020 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40021 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40022 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 ac_check_lib_save_LIBS=$LIBS
40026 LIBS="-lposix4 $LIBS"
40027 cat >conftest.$ac_ext <<_ACEOF
40030 cat confdefs.h >>conftest.$ac_ext
40031 cat >>conftest.$ac_ext <<_ACEOF
40032 /* end confdefs.h. */
40034 /* Override any GCC internal prototype to avoid an error.
40035 Use char because int might match the return type of a GCC
40036 builtin and then its argument prototype would still apply. */
40040 char sched_get_priority_max ();
40044 return sched_get_priority_max ();
40049 rm -f conftest.$ac_objext conftest$ac_exeext
40050 if { (ac_try="$ac_link"
40051 case "(($ac_try" in
40052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40053 *) ac_try_echo
=$ac_try;;
40055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40056 (eval "$ac_link") 2>conftest.er1
40058 grep -v '^ *+' conftest.er1
>conftest.err
40060 cat conftest.err
>&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } && {
40063 test -z "$ac_c_werror_flag" ||
40064 test ! -s conftest.err
40065 } && test -s conftest
$ac_exeext &&
40066 $as_test_x conftest
$ac_exeext; then
40067 ac_cv_lib_posix4_sched_get_priority_max
=yes
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.
$ac_ext >&5
40072 ac_cv_lib_posix4_sched_get_priority_max
=no
40075 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40076 conftest
$ac_exeext conftest.
$ac_ext
40077 LIBS
=$ac_check_lib_save_LIBS
40079 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40080 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40081 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40084 POSIX4_LINK
=" -lposix4"
40098 if test "$HAVE_PRIOR_FUNCS" = 1; then
40099 cat >>confdefs.h
<<\_ACEOF
40100 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40104 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40105 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40108 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40109 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40110 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40111 echo $ECHO_N "(cached) $ECHO_C" >&6
40113 cat >conftest.
$ac_ext <<_ACEOF
40116 cat confdefs.h
>>conftest.
$ac_ext
40117 cat >>conftest.
$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define pthread_cancel innocuous_pthread_cancel
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char pthread_cancel (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40129 # include <limits.h>
40131 # include <assert.h>
40134 #undef pthread_cancel
40136 /* Override any GCC internal prototype to avoid an error.
40137 Use char because int might match the return type of a GCC
40138 builtin and then its argument prototype would still apply. */
40142 char pthread_cancel ();
40143 /* The GNU C library defines this for functions which it implements
40144 to always fail with ENOSYS. Some functions are actually named
40145 something starting with __ and the normal name is an alias. */
40146 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40153 return pthread_cancel ();
40158 rm -f conftest.
$ac_objext conftest
$ac_exeext
40159 if { (ac_try
="$ac_link"
40160 case "(($ac_try" in
40161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40162 *) ac_try_echo=$ac_try;;
40164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40165 (eval "$ac_link") 2>conftest.er1
40167 grep -v '^ *+' conftest.er1 >conftest.err
40169 cat conftest.err >&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } && {
40172 test -z "$ac_c_werror_flag" ||
40173 test ! -s conftest.err
40174 } && test -s conftest$ac_exeext &&
40175 $as_test_x conftest$ac_exeext; then
40176 ac_cv_func_pthread_cancel=yes
40178 echo "$as_me: failed program was:" >&5
40179 sed 's/^/| /' conftest.$ac_ext >&5
40181 ac_cv_func_pthread_cancel=no
40184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40185 conftest$ac_exeext conftest.$ac_ext
40187 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40188 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40189 if test $ac_cv_func_pthread_cancel = yes; then
40190 cat >>confdefs.h <<\_ACEOF
40191 #define HAVE_PTHREAD_CANCEL 1
40195 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40196 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40200 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40201 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40202 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40203 echo $ECHO_N "(cached) $ECHO_C" >&6
40205 cat >conftest.$ac_ext <<_ACEOF
40208 cat confdefs.h >>conftest.$ac_ext
40209 cat >>conftest.$ac_ext <<_ACEOF
40210 /* end confdefs.h. */
40211 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40213 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40215 /* System header to define __stub macros and hopefully few prototypes,
40216 which can conflict with char pthread_mutex_timedlock (); below.
40217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40218 <limits.h> exists even on freestanding compilers. */
40221 # include <limits.h>
40223 # include <assert.h>
40226 #undef pthread_mutex_timedlock
40228 /* Override any GCC internal prototype to avoid an error.
40229 Use char because int might match the return type of a GCC
40230 builtin and then its argument prototype would still apply. */
40234 char pthread_mutex_timedlock ();
40235 /* The GNU C library defines this for functions which it implements
40236 to always fail with ENOSYS. Some functions are actually named
40237 something starting with __ and the normal name is an alias. */
40238 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40245 return pthread_mutex_timedlock ();
40250 rm -f conftest.$ac_objext conftest$ac_exeext
40251 if { (ac_try="$ac_link"
40252 case "(($ac_try" in
40253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40254 *) ac_try_echo
=$ac_try;;
40256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40257 (eval "$ac_link") 2>conftest.er1
40259 grep -v '^ *+' conftest.er1
>conftest.err
40261 cat conftest.err
>&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); } && {
40264 test -z "$ac_c_werror_flag" ||
40265 test ! -s conftest.err
40266 } && test -s conftest
$ac_exeext &&
40267 $as_test_x conftest
$ac_exeext; then
40268 ac_cv_func_pthread_mutex_timedlock
=yes
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.
$ac_ext >&5
40273 ac_cv_func_pthread_mutex_timedlock
=no
40276 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40277 conftest
$ac_exeext conftest.
$ac_ext
40279 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40280 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40281 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40282 cat >>confdefs.h
<<\_ACEOF
40283 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40287 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40288 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40292 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40293 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40294 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 cat >conftest.
$ac_ext <<_ACEOF
40300 cat confdefs.h
>>conftest.
$ac_ext
40301 cat >>conftest.
$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40305 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40307 /* System header to define __stub macros and hopefully few prototypes,
40308 which can conflict with char pthread_attr_setstacksize (); below.
40309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40310 <limits.h> exists even on freestanding compilers. */
40313 # include <limits.h>
40315 # include <assert.h>
40318 #undef pthread_attr_setstacksize
40320 /* Override any GCC internal prototype to avoid an error.
40321 Use char because int might match the return type of a GCC
40322 builtin and then its argument prototype would still apply. */
40326 char pthread_attr_setstacksize ();
40327 /* The GNU C library defines this for functions which it implements
40328 to always fail with ENOSYS. Some functions are actually named
40329 something starting with __ and the normal name is an alias. */
40330 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40337 return pthread_attr_setstacksize ();
40342 rm -f conftest.
$ac_objext conftest
$ac_exeext
40343 if { (ac_try
="$ac_link"
40344 case "(($ac_try" in
40345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40346 *) ac_try_echo=$ac_try;;
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_link") 2>conftest.er1
40351 grep -v '^ *+' conftest.er1 >conftest.err
40353 cat conftest.err >&5
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); } && {
40356 test -z "$ac_c_werror_flag" ||
40357 test ! -s conftest.err
40358 } && test -s conftest$ac_exeext &&
40359 $as_test_x conftest$ac_exeext; then
40360 ac_cv_func_pthread_attr_setstacksize=yes
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40365 ac_cv_func_pthread_attr_setstacksize=no
40368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40369 conftest$ac_exeext conftest.$ac_ext
40371 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40372 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40373 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40374 cat >>confdefs.h <<\_ACEOF
40375 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40382 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40383 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40384 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40388 cat >conftest.$ac_ext <<_ACEOF
40391 cat confdefs.h >>conftest.$ac_ext
40392 cat >>conftest.$ac_ext <<_ACEOF
40393 /* end confdefs.h. */
40394 #include <pthread.h>
40399 pthread_mutexattr_t attr;
40400 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40406 rm -f conftest.$ac_objext
40407 if { (ac_try="$ac_compile"
40408 case "(($ac_try" in
40409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40410 *) ac_try_echo
=$ac_try;;
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_compile") 2>conftest.er1
40415 grep -v '^ *+' conftest.er1
>conftest.err
40417 cat conftest.err
>&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest.
$ac_objext; then
40423 wx_cv_type_pthread_mutexattr_t
=yes
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.
$ac_ext >&5
40428 wx_cv_type_pthread_mutexattr_t
=no
40432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40435 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40436 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40438 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40439 cat >>confdefs.h
<<\_ACEOF
40440 #define HAVE_PTHREAD_MUTEXATTR_T 1
40444 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40445 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40446 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40447 echo $ECHO_N "(cached) $ECHO_C" >&6
40450 cat >conftest.
$ac_ext <<_ACEOF
40453 cat confdefs.h
>>conftest.
$ac_ext
40454 cat >>conftest.
$ac_ext <<_ACEOF
40455 /* end confdefs.h. */
40456 #include <pthread.h>
40461 pthread_mutexattr_t attr;
40462 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40468 rm -f conftest.
$ac_objext
40469 if { (ac_try
="$ac_compile"
40470 case "(($ac_try" in
40471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40472 *) ac_try_echo=$ac_try;;
40474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40475 (eval "$ac_compile") 2>conftest.er1
40477 grep -v '^ *+' conftest.er1 >conftest.err
40479 cat conftest.err >&5
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); } && {
40482 test -z "$ac_c_werror_flag" ||
40483 test ! -s conftest.err
40484 } && test -s conftest.$ac_objext; then
40485 wx_cv_func_pthread_mutexattr_settype_decl=yes
40487 echo "$as_me: failed program was:" >&5
40488 sed 's/^/| /' conftest.$ac_ext >&5
40490 wx_cv_func_pthread_mutexattr_settype_decl=no
40494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40497 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40498 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40499 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40506 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40507 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40508 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40512 cat >conftest.$ac_ext <<_ACEOF
40515 cat confdefs.h >>conftest.$ac_ext
40516 cat >>conftest.$ac_ext <<_ACEOF
40517 /* end confdefs.h. */
40518 #include <pthread.h>
40523 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40529 rm -f conftest.$ac_objext
40530 if { (ac_try="$ac_compile"
40531 case "(($ac_try" in
40532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40533 *) ac_try_echo
=$ac_try;;
40535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40536 (eval "$ac_compile") 2>conftest.er1
40538 grep -v '^ *+' conftest.er1
>conftest.err
40540 cat conftest.err
>&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } && {
40543 test -z "$ac_c_werror_flag" ||
40544 test ! -s conftest.err
40545 } && test -s conftest.
$ac_objext; then
40547 wx_cv_type_pthread_rec_mutex_init
=yes
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.
$ac_ext >&5
40554 wx_cv_type_pthread_rec_mutex_init
=no
40559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40562 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40563 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40564 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40565 cat >>confdefs.h
<<\_ACEOF
40566 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40570 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40571 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40575 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40576 if test "$USE_NETBSD" = 1; then
40577 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40578 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40579 wxUSE_COMPILER_TLS
=no
40581 wxUSE_COMPILER_TLS
=yes
40585 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40586 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40587 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40588 if test "${wx_cv_cc___thread+set}" = set; then
40589 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 cat >conftest.
$ac_ext <<_ACEOF
40595 cat confdefs.h
>>conftest.
$ac_ext
40596 cat >>conftest.
$ac_ext <<_ACEOF
40597 /* end confdefs.h. */
40598 #include <pthread.h>
40603 static __thread int n = 0;
40604 static __thread int *p = 0;
40610 rm -f conftest.
$ac_objext
40611 if { (ac_try
="$ac_compile"
40612 case "(($ac_try" in
40613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40614 *) ac_try_echo=$ac_try;;
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617 (eval "$ac_compile") 2>conftest.er1
40619 grep -v '^ *+' conftest.er1 >conftest.err
40621 cat conftest.err >&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_c_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest.$ac_objext; then
40627 wx_cv_cc___thread=yes
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40632 wx_cv_cc___thread=no
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40640 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40641 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40643 if test "$wx_cv_cc___thread" = "yes"; then
40649 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40650 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40652 if test "x$GCC" = "xyes" ; then
40654 if test -z "" ; then
40656 ax_gcc_option_test="int main()
40663 ax_gcc_option_test=""
40668 # Dump the test program to file
40669 cat <<EOF > conftest.c
40670 $ax_gcc_option_test
40673 # Dump back the file to the log, useful for debugging purposes
40674 { ac_try='cat conftest.c 1>&5'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; }
40681 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } ; then
40688 { echo "$as_me:$LINENO: result: yes" >&5
40689 echo "${ECHO_T}yes" >&6; }
40691 ax_gcc_version_option=yes
40696 { echo "$as_me:$LINENO: result: no" >&5
40697 echo "${ECHO_T}no" >&6; }
40699 ax_gcc_version_option=no
40707 { echo "$as_me:$LINENO: result: no gcc available" >&5
40708 echo "${ECHO_T}no gcc available" >&6; }
40713 if test "x$GXX" = "xyes"; then
40715 if test "x$ax_gxx_version_option" != "no"; then
40717 { echo "$as_me:$LINENO: checking gxx version" >&5
40718 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40719 if test "${ax_cv_gxx_version+set}" = set; then
40720 echo $ECHO_N "(cached) $ECHO_C" >&6
40723 ax_cv_gxx_version="`$CXX -dumpversion`"
40724 if test "x$ax_cv_gxx_version" = "x"; then
40726 ax_cv_gxx_version=""
40732 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40733 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40734 GXX_VERSION=$ax_cv_gxx_version
40743 if test -n "$ax_cv_gxx_version"; then
40744 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40745 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40746 case "$ax_cv_gxx_version" in
40748 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40749 echo "${ECHO_T}no, it's broken" >&6; }
40750 wx_cv_cc___thread=no
40753 { echo "$as_me:$LINENO: result: yes, it works" >&5
40754 echo "${ECHO_T}yes, it works" >&6; }
40760 if test "$wx_cv_cc___thread" = "yes"; then
40761 cat >>confdefs.h <<\_ACEOF
40762 #define HAVE___THREAD_KEYWORD 1
40770 if test "$wxUSE_THREADS" = "yes" ; then
40772 x86_64-*-mingw32* )
40775 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40776 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40777 if test "${wx_cv_cflags_mthread+set}" = set; then
40778 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 CFLAGS_OLD="$CFLAGS"
40782 CFLAGS="-mthreads $CFLAGS"
40783 cat >conftest.$ac_ext <<_ACEOF
40786 cat confdefs.h >>conftest.$ac_ext
40787 cat >>conftest.$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40798 rm -f conftest.$ac_objext
40799 if { (ac_try="$ac_compile"
40800 case "(($ac_try" in
40801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40802 *) ac_try_echo
=$ac_try;;
40804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40805 (eval "$ac_compile") 2>conftest.er1
40807 grep -v '^ *+' conftest.er1
>conftest.err
40809 cat conftest.err
>&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } && {
40812 test -z "$ac_c_werror_flag" ||
40813 test ! -s conftest.err
40814 } && test -s conftest.
$ac_objext; then
40815 wx_cv_cflags_mthread
=yes
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.
$ac_ext >&5
40820 wx_cv_cflags_mthread
=no
40824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40828 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40829 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40831 if test "$wx_cv_cflags_mthread" = "yes"; then
40832 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40833 LDFLAGS
="$LDFLAGS -mthreads"
40835 CFLAGS
="$CFLAGS_OLD"
40839 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40840 LDFLAGS
="$LDFLAGS -Zmt"
40846 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40847 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40848 if test "${ac_cv_func_localtime_r+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 cat >conftest.
$ac_ext <<_ACEOF
40854 cat confdefs.h
>>conftest.
$ac_ext
40855 cat >>conftest.
$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40857 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40859 #define localtime_r innocuous_localtime_r
40861 /* System header to define __stub macros and hopefully few prototypes,
40862 which can conflict with char localtime_r (); below.
40863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40864 <limits.h> exists even on freestanding compilers. */
40867 # include <limits.h>
40869 # include <assert.h>
40874 /* Override any GCC internal prototype to avoid an error.
40875 Use char because int might match the return type of a GCC
40876 builtin and then its argument prototype would still apply. */
40880 char localtime_r ();
40881 /* The GNU C library defines this for functions which it implements
40882 to always fail with ENOSYS. Some functions are actually named
40883 something starting with __ and the normal name is an alias. */
40884 #if defined __stub_localtime_r || defined __stub___localtime_r
40891 return localtime_r ();
40896 rm -f conftest.
$ac_objext conftest
$ac_exeext
40897 if { (ac_try
="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 ac_cv_func_localtime_r=yes
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40919 ac_cv_func_localtime_r=no
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40925 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40926 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40927 if test $ac_cv_func_localtime_r = yes; then
40928 cat >>confdefs.h <<\_ACEOF
40929 #define HAVE_LOCALTIME_R 1
40934 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40935 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40936 if test "${ac_cv_func_gmtime_r+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 cat >conftest.$ac_ext <<_ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40947 #define gmtime_r innocuous_gmtime_r
40949 /* System header to define __stub macros and hopefully few prototypes,
40950 which can conflict with char gmtime_r (); below.
40951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40952 <limits.h> exists even on freestanding compilers. */
40955 # include <limits.h>
40957 # include <assert.h>
40962 /* Override any GCC internal prototype to avoid an error.
40963 Use char because int might match the return type of a GCC
40964 builtin and then its argument prototype would still apply. */
40969 /* The GNU C library defines this for functions which it implements
40970 to always fail with ENOSYS. Some functions are actually named
40971 something starting with __ and the normal name is an alias. */
40972 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40979 return gmtime_r ();
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (ac_try="$ac_link"
40986 case "(($ac_try" in
40987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40988 *) ac_try_echo
=$ac_try;;
40990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40991 (eval "$ac_link") 2>conftest.er1
40993 grep -v '^ *+' conftest.er1
>conftest.err
40995 cat conftest.err
>&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } && {
40998 test -z "$ac_c_werror_flag" ||
40999 test ! -s conftest.err
41000 } && test -s conftest
$ac_exeext &&
41001 $as_test_x conftest
$ac_exeext; then
41002 ac_cv_func_gmtime_r
=yes
41004 echo "$as_me: failed program was:" >&5
41005 sed 's/^/| /' conftest.
$ac_ext >&5
41007 ac_cv_func_gmtime_r
=no
41010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41011 conftest
$ac_exeext conftest.
$ac_ext
41013 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41014 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41015 if test $ac_cv_func_gmtime_r = yes; then
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define HAVE_GMTIME_R 1
41026 ac_cpp
='$CPP $CPPFLAGS'
41027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41031 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41032 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41034 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41035 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 ################################################################
41041 ac_cv_func_which_gethostbyname_r
=unknown
41044 # ONE ARGUMENT (sanity check)
41047 # This should fail, as there is no variant of gethostbyname_r() that takes
41048 # a single argument. If it actually compiles, then we can assume that
41049 # netdb.h is not declaring the function, and the compiler is thereby
41050 # assuming an implicit prototype. In which case, we're out of luck.
41052 cat >conftest.
$ac_ext <<_ACEOF
41055 cat confdefs.h
>>conftest.
$ac_ext
41056 cat >>conftest.
$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41063 char *name = "www.gnu.org";
41064 (void)gethostbyname_r(name) /* ; */
41070 rm -f conftest.
$ac_objext
41071 if { (ac_try
="$ac_compile"
41072 case "(($ac_try" in
41073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_compile") 2>conftest.er1
41079 grep -v '^ *+' conftest.er1 >conftest.err
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest.$ac_objext; then
41087 ac_cv_func_which_gethostbyname_r=no
41089 echo "$as_me: failed program was:" >&5
41090 sed 's/^/| /' conftest.$ac_ext >&5
41095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41102 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41104 cat >conftest.$ac_ext <<_ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41115 char *name = "www.gnu.org";
41116 struct hostent ret, *retp;
41120 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41126 rm -f conftest.$ac_objext
41127 if { (ac_try="$ac_compile"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41130 *) ac_try_echo
=$ac_try;;
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_compile") 2>conftest.er1
41135 grep -v '^ *+' conftest.er1
>conftest.err
41137 cat conftest.err
>&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } && {
41140 test -z "$ac_c_werror_flag" ||
41141 test ! -s conftest.err
41142 } && test -s conftest.
$ac_objext; then
41143 ac_cv_func_which_gethostbyname_r
=six
41145 echo "$as_me: failed program was:" >&5
41146 sed 's/^/| /' conftest.
$ac_ext >&5
41151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41160 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41162 cat >conftest.
$ac_ext <<_ACEOF
41165 cat confdefs.h
>>conftest.
$ac_ext
41166 cat >>conftest.
$ac_ext <<_ACEOF
41167 /* end confdefs.h. */
41173 char *name = "www.gnu.org";
41174 struct hostent ret;
41178 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41184 rm -f conftest.
$ac_objext
41185 if { (ac_try
="$ac_compile"
41186 case "(($ac_try" in
41187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_compile") 2>conftest.er1
41193 grep -v '^ *+' conftest.er1 >conftest.err
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest.$ac_objext; then
41201 ac_cv_func_which_gethostbyname_r=five
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41215 # (e.g. AIX, HP-UX, Tru64)
41218 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41220 cat >conftest.$ac_ext <<_ACEOF
41223 cat confdefs.h >>conftest.$ac_ext
41224 cat >>conftest.$ac_ext <<_ACEOF
41225 /* end confdefs.h. */
41231 char *name = "www.gnu.org";
41232 struct hostent ret;
41233 struct hostent_data data;
41234 (void)gethostbyname_r(name, &ret, &data) /* ; */
41240 rm -f conftest.$ac_objext
41241 if { (ac_try="$ac_compile"
41242 case "(($ac_try" in
41243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41244 *) ac_try_echo
=$ac_try;;
41246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41247 (eval "$ac_compile") 2>conftest.er1
41249 grep -v '^ *+' conftest.er1
>conftest.err
41251 cat conftest.err
>&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); } && {
41254 test -z "$ac_c_werror_flag" ||
41255 test ! -s conftest.err
41256 } && test -s conftest.
$ac_objext; then
41257 ac_cv_func_which_gethostbyname_r
=three
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.
$ac_ext >&5
41265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41269 ################################################################
41274 case "$ac_cv_func_which_gethostbyname_r" in
41276 { echo "$as_me:$LINENO: result: three" >&5
41277 echo "${ECHO_T}three" >&6; }
41278 cat >>confdefs.h
<<\_ACEOF
41279 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41285 { echo "$as_me:$LINENO: result: five" >&5
41286 echo "${ECHO_T}five" >&6; }
41287 cat >>confdefs.h
<<\_ACEOF
41288 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41294 { echo "$as_me:$LINENO: result: six" >&5
41295 echo "${ECHO_T}six" >&6; }
41296 cat >>confdefs.h
<<\_ACEOF
41297 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41303 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41304 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41308 { echo "$as_me:$LINENO: result: can't tell" >&5
41309 echo "${ECHO_T}can't tell" >&6; }
41313 { { echo "$as_me:$LINENO: error: internal error" >&5
41314 echo "$as_me: error: internal error" >&2;}
41315 { (exit 1); exit 1; }; }
41320 ac_cpp
='$CPP $CPPFLAGS'
41321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41327 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41328 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41329 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41330 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41331 if test "${ac_cv_func_gethostbyname+set}" = set; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 cat >conftest.
$ac_ext <<_ACEOF
41337 cat confdefs.h
>>conftest.
$ac_ext
41338 cat >>conftest.
$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41340 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41342 #define gethostbyname innocuous_gethostbyname
41344 /* System header to define __stub macros and hopefully few prototypes,
41345 which can conflict with char gethostbyname (); below.
41346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41347 <limits.h> exists even on freestanding compilers. */
41350 # include <limits.h>
41352 # include <assert.h>
41355 #undef gethostbyname
41357 /* Override any GCC internal prototype to avoid an error.
41358 Use char because int might match the return type of a GCC
41359 builtin and then its argument prototype would still apply. */
41363 char gethostbyname ();
41364 /* The GNU C library defines this for functions which it implements
41365 to always fail with ENOSYS. Some functions are actually named
41366 something starting with __ and the normal name is an alias. */
41367 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41374 return gethostbyname ();
41379 rm -f conftest.
$ac_objext conftest
$ac_exeext
41380 if { (ac_try
="$ac_link"
41381 case "(($ac_try" in
41382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41383 *) ac_try_echo=$ac_try;;
41385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41386 (eval "$ac_link") 2>conftest.er1
41388 grep -v '^ *+' conftest.er1 >conftest.err
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } && {
41393 test -z "$ac_c_werror_flag" ||
41394 test ! -s conftest.err
41395 } && test -s conftest$ac_exeext &&
41396 $as_test_x conftest$ac_exeext; then
41397 ac_cv_func_gethostbyname=yes
41399 echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41402 ac_cv_func_gethostbyname=no
41405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41406 conftest$ac_exeext conftest.$ac_ext
41408 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41409 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41410 if test $ac_cv_func_gethostbyname = yes; then
41411 cat >>confdefs.h <<\_ACEOF
41412 #define HAVE_GETHOSTBYNAME 1
41419 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41420 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41421 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41422 echo $ECHO_N "(cached) $ECHO_C" >&6
41426 ac_cpp='$CXXCPP $CPPFLAGS'
41427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41432 cat >conftest.$ac_ext <<_ACEOF
41435 cat confdefs.h >>conftest.$ac_ext
41436 cat >>conftest.$ac_ext <<_ACEOF
41437 /* end confdefs.h. */
41445 struct servent *se, *res;
41448 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41454 rm -f conftest.$ac_objext
41455 if { (ac_try="$ac_compile"
41456 case "(($ac_try" in
41457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41458 *) ac_try_echo
=$ac_try;;
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_compile") 2>conftest.er1
41463 grep -v '^ *+' conftest.er1
>conftest.err
41465 cat conftest.err
>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } && {
41468 test -z "$ac_cxx_werror_flag" ||
41469 test ! -s conftest.err
41470 } && test -s conftest.
$ac_objext; then
41471 ac_cv_func_which_getservbyname_r
=six
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.
$ac_ext >&5
41477 cat >conftest.
$ac_ext <<_ACEOF
41480 cat confdefs.h
>>conftest.
$ac_ext
41481 cat >>conftest.
$ac_ext <<_ACEOF
41482 /* end confdefs.h. */
41490 struct servent *se;
41493 (void) getservbyname_r(name, proto, se, buffer, buflen)
41499 rm -f conftest.
$ac_objext
41500 if { (ac_try
="$ac_compile"
41501 case "(($ac_try" in
41502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41503 *) ac_try_echo=$ac_try;;
41505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41506 (eval "$ac_compile") 2>conftest.er1
41508 grep -v '^ *+' conftest.er1 >conftest.err
41510 cat conftest.err >&5
41511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41512 (exit $ac_status); } && {
41513 test -z "$ac_cxx_werror_flag" ||
41514 test ! -s conftest.err
41515 } && test -s conftest.$ac_objext; then
41516 ac_cv_func_which_getservbyname_r=five
41518 echo "$as_me: failed program was:" >&5
41519 sed 's/^/| /' conftest.$ac_ext >&5
41522 cat >conftest.$ac_ext <<_ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41535 struct servent *se;
41536 struct servent_data data;
41537 (void) getservbyname_r(name, proto, se, &data);
41543 rm -f conftest.$ac_objext
41544 if { (ac_try="$ac_compile"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41547 *) ac_try_echo
=$ac_try;;
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_compile") 2>conftest.er1
41552 grep -v '^ *+' conftest.er1
>conftest.err
41554 cat conftest.err
>&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_cxx_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest.
$ac_objext; then
41560 ac_cv_func_which_getservbyname_r
=four
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.
$ac_ext >&5
41565 ac_cv_func_which_getservbyname_r
=no
41569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41581 ac_cpp
='$CPP $CPPFLAGS'
41582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41589 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41590 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41592 if test $ac_cv_func_which_getservbyname_r = six
; then
41593 cat >>confdefs.h
<<\_ACEOF
41594 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41597 elif test $ac_cv_func_which_getservbyname_r = five
; then
41598 cat >>confdefs.h
<<\_ACEOF
41599 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41602 elif test $ac_cv_func_which_getservbyname_r = four
; then
41603 cat >>confdefs.h
<<\_ACEOF
41604 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41610 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41611 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41613 for ac_func
in getservbyname
41615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41618 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41619 echo $ECHO_N "(cached) $ECHO_C" >&6
41621 cat >conftest.
$ac_ext <<_ACEOF
41624 cat confdefs.h
>>conftest.
$ac_ext
41625 cat >>conftest.
$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41629 #define $ac_func innocuous_$ac_func
41631 /* System header to define __stub macros and hopefully few prototypes,
41632 which can conflict with char $ac_func (); below.
41633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41634 <limits.h> exists even on freestanding compilers. */
41637 # include <limits.h>
41639 # include <assert.h>
41644 /* Override any GCC internal prototype to avoid an error.
41645 Use char because int might match the return type of a GCC
41646 builtin and then its argument prototype would still apply. */
41651 /* The GNU C library defines this for functions which it implements
41652 to always fail with ENOSYS. Some functions are actually named
41653 something starting with __ and the normal name is an alias. */
41654 #if defined __stub_$ac_func || defined __stub___$ac_func
41661 return $ac_func ();
41666 rm -f conftest.
$ac_objext conftest
$ac_exeext
41667 if { (ac_try
="$ac_link"
41668 case "(($ac_try" in
41669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41670 *) ac_try_echo=$ac_try;;
41672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41673 (eval "$ac_link") 2>conftest.er1
41675 grep -v '^ *+' conftest.er1 >conftest.err
41677 cat conftest.err >&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } && {
41680 test -z "$ac_c_werror_flag" ||
41681 test ! -s conftest.err
41682 } && test -s conftest$ac_exeext &&
41683 $as_test_x conftest$ac_exeext; then
41684 eval "$as_ac_var=yes"
41686 echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.$ac_ext >&5
41689 eval "$as_ac_var=no"
41692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41693 conftest$ac_exeext conftest.$ac_ext
41695 ac_res=`eval echo '${'$as_ac_var'}'`
41696 { echo "$as_me:$LINENO: result: $ac_res" >&5
41697 echo "${ECHO_T}$ac_res" >&6; }
41698 if test `eval echo '${'$as_ac_var'}'` = yes; then
41699 cat >>confdefs.h <<_ACEOF
41700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_GETSERVBYNAME 1
41711 if test "$wxUSE_THREADS" = "yes"; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_THREADS 1
41717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41719 if test "$wx_cv_func_strtok_r" = "yes"; then
41720 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41721 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41722 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41723 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41724 { echo "$as_me:$LINENO: result: yes" >&5
41725 echo "${ECHO_T}yes" >&6; }
41727 { echo "$as_me:$LINENO: result: no" >&5
41728 echo "${ECHO_T}no" >&6; }
41733 if test "$WXGTK2" = 1 ; then
41734 cat >>confdefs.h <<_ACEOF
41735 #define __WXGTK20__ $WXGTK2
41741 if test "$WXGTK12" = 1 ; then
41742 cat >>confdefs.h <<_ACEOF
41743 #define __WXGTK12__ $WXGTK12
41748 if test "$WXGTK127" = 1 ; then
41749 cat >>confdefs.h <<_ACEOF
41750 #define __WXGTK127__ $WXGTK127
41755 if test "$WXGPE" = 1 ; then
41756 cat >>confdefs.h <<_ACEOF
41757 #define __WXGPE__ $WXGPE
41763 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41764 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41765 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41766 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41770 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41771 wxUSE_DEBUG_INFO=yes
41772 if test "$GCC" = yes; then
41773 DEBUG_CFLAGS="-ggdb"
41777 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41778 if test "$wxUSE_GTK" = 1 ; then
41779 if test "x$wxGTK_VERSION" = "x1" ; then
41780 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41785 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41786 cat >>confdefs.h <<\_ACEOF
41787 #define wxUSE_MEMORY_TRACING 1
41790 cat >>confdefs.h <<\_ACEOF
41791 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_DEBUG_NEW_ALWAYS 1
41798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41801 if test "$wxUSE_DMALLOC" = "yes" ; then
41802 DMALLOC_LIBS="-ldmallocthcxx"
41806 if test "$wxUSE_PROFILE" = "yes" ; then
41807 PROFILE_FLAGS=" -pg"
41810 if test "$GCC" = "yes" ; then
41811 if test "$wxUSE_NO_RTTI" = "yes" ; then
41812 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41814 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41815 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41817 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41832 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41833 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41834 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41836 if test "$wxUSE_OPTIMISE" = "no" ; then
41837 if test "$GCC" = yes ; then
41838 OPTIMISE_CFLAGS="-O0"
41841 if test "$GCC" = yes ; then
41843 *-pc-os2_emx | *-pc-os2-emx )
41844 OPTIMISE_CFLAGS="-O2"
41847 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41851 OPTIMISE_CFLAGS="-O"
41857 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41858 cat >>confdefs.h <<\_ACEOF
41859 #define WXWIN_COMPATIBILITY_2_6 1
41863 WXWIN_COMPATIBILITY_2_8="yes"
41866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41867 cat >>confdefs.h <<\_ACEOF
41868 #define WXWIN_COMPATIBILITY_2_8 1
41874 if test "$wxUSE_GUI" = "yes"; then
41875 cat >>confdefs.h <<\_ACEOF
41876 #define wxUSE_GUI 1
41883 if test "$wxUSE_UNIX" = "yes"; then
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_UNIX 1
41891 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41895 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41896 if test "$USE_DOS" = 1; then
41900 for ac_func in dlopen
41902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 cat >conftest.$ac_ext <<_ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define $ac_func innocuous_$ac_func
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char $ac_func (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41924 # include <limits.h>
41926 # include <assert.h>
41931 /* Override any GCC internal prototype to avoid an error.
41932 Use char because int might match the return type of a GCC
41933 builtin and then its argument prototype would still apply. */
41938 /* The GNU C library defines this for functions which it implements
41939 to always fail with ENOSYS. Some functions are actually named
41940 something starting with __ and the normal name is an alias. */
41941 #if defined __stub_$ac_func || defined __stub___$ac_func
41948 return $ac_func ();
41953 rm -f conftest.$ac_objext conftest$ac_exeext
41954 if { (ac_try="$ac_link"
41955 case "(($ac_try" in
41956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41957 *) ac_try_echo
=$ac_try;;
41959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41960 (eval "$ac_link") 2>conftest.er1
41962 grep -v '^ *+' conftest.er1
>conftest.err
41964 cat conftest.err
>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); } && {
41967 test -z "$ac_c_werror_flag" ||
41968 test ! -s conftest.err
41969 } && test -s conftest
$ac_exeext &&
41970 $as_test_x conftest
$ac_exeext; then
41971 eval "$as_ac_var=yes"
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.
$ac_ext >&5
41976 eval "$as_ac_var=no"
41979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41980 conftest
$ac_exeext conftest.
$ac_ext
41982 ac_res
=`eval echo '${'$as_ac_var'}'`
41983 { echo "$as_me:$LINENO: result: $ac_res" >&5
41984 echo "${ECHO_T}$ac_res" >&6; }
41985 if test `eval echo '${'$as_ac_var'}'` = yes; then
41986 cat >>confdefs.h
<<_ACEOF
41987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41990 cat >>confdefs.h
<<\_ACEOF
41991 #define HAVE_DLOPEN 1
41998 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42001 echo $ECHO_N "(cached) $ECHO_C" >&6
42003 ac_check_lib_save_LIBS
=$LIBS
42005 cat >conftest.
$ac_ext <<_ACEOF
42008 cat confdefs.h
>>conftest.
$ac_ext
42009 cat >>conftest.
$ac_ext <<_ACEOF
42010 /* end confdefs.h. */
42012 /* Override any GCC internal prototype to avoid an error.
42013 Use char because int might match the return type of a GCC
42014 builtin and then its argument prototype would still apply. */
42027 rm -f conftest.
$ac_objext conftest
$ac_exeext
42028 if { (ac_try
="$ac_link"
42029 case "(($ac_try" in
42030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_link") 2>conftest.er1
42036 grep -v '^ *+' conftest.er1 >conftest.err
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } && {
42041 test -z "$ac_c_werror_flag" ||
42042 test ! -s conftest.err
42043 } && test -s conftest$ac_exeext &&
42044 $as_test_x conftest$ac_exeext; then
42045 ac_cv_lib_dl_dlopen=yes
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42050 ac_cv_lib_dl_dlopen=no
42053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42054 conftest$ac_exeext conftest.$ac_ext
42055 LIBS=$ac_check_lib_save_LIBS
42057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42058 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42059 if test $ac_cv_lib_dl_dlopen = yes; then
42061 cat >>confdefs.h <<\_ACEOF
42062 #define HAVE_DLOPEN 1
42066 DL_LINK=" -ldl$DL_LINK"
42071 for ac_func in shl_load
42073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 cat >conftest.$ac_ext <<_ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42087 #define $ac_func innocuous_$ac_func
42089 /* System header to define __stub macros and hopefully few prototypes,
42090 which can conflict with char $ac_func (); below.
42091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42092 <limits.h> exists even on freestanding compilers. */
42095 # include <limits.h>
42097 # include <assert.h>
42102 /* Override any GCC internal prototype to avoid an error.
42103 Use char because int might match the return type of a GCC
42104 builtin and then its argument prototype would still apply. */
42109 /* The GNU C library defines this for functions which it implements
42110 to always fail with ENOSYS. Some functions are actually named
42111 something starting with __ and the normal name is an alias. */
42112 #if defined __stub_$ac_func || defined __stub___$ac_func
42119 return $ac_func ();
42124 rm -f conftest.$ac_objext conftest$ac_exeext
42125 if { (ac_try="$ac_link"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42128 *) ac_try_echo
=$ac_try;;
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_link") 2>conftest.er1
42133 grep -v '^ *+' conftest.er1
>conftest.err
42135 cat conftest.err
>&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest
$ac_exeext &&
42141 $as_test_x conftest
$ac_exeext; then
42142 eval "$as_ac_var=yes"
42144 echo "$as_me: failed program was:" >&5
42145 sed 's/^/| /' conftest.
$ac_ext >&5
42147 eval "$as_ac_var=no"
42150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42151 conftest
$ac_exeext conftest.
$ac_ext
42153 ac_res
=`eval echo '${'$as_ac_var'}'`
42154 { echo "$as_me:$LINENO: result: $ac_res" >&5
42155 echo "${ECHO_T}$ac_res" >&6; }
42156 if test `eval echo '${'$as_ac_var'}'` = yes; then
42157 cat >>confdefs.h
<<_ACEOF
42158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42161 cat >>confdefs.h
<<\_ACEOF
42162 #define HAVE_SHL_LOAD 1
42169 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42170 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42171 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42172 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 ac_check_lib_save_LIBS
=$LIBS
42175 LIBS
="-lshl_load $LIBS"
42176 cat >conftest.
$ac_ext <<_ACEOF
42179 cat confdefs.h
>>conftest.
$ac_ext
42180 cat >>conftest.
$ac_ext <<_ACEOF
42181 /* end confdefs.h. */
42183 /* Override any GCC internal prototype to avoid an error.
42184 Use char because int might match the return type of a GCC
42185 builtin and then its argument prototype would still apply. */
42198 rm -f conftest.
$ac_objext conftest
$ac_exeext
42199 if { (ac_try
="$ac_link"
42200 case "(($ac_try" in
42201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_link") 2>conftest.er1
42207 grep -v '^ *+' conftest.er1 >conftest.err
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest$ac_exeext &&
42215 $as_test_x conftest$ac_exeext; then
42216 ac_cv_lib_shl_load_dld=yes
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.$ac_ext >&5
42221 ac_cv_lib_shl_load_dld=no
42224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42225 conftest$ac_exeext conftest.$ac_ext
42226 LIBS=$ac_check_lib_save_LIBS
42228 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42229 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42230 if test $ac_cv_lib_shl_load_dld = yes; then
42233 DL_LINK=" -ldld$DL_LINK"
42249 if test "$HAVE_DL_FUNCS" = 1; then
42251 for ac_func in dlerror
42253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 cat >conftest.$ac_ext <<_ACEOF
42262 cat confdefs.h >>conftest.$ac_ext
42263 cat >>conftest.$ac_ext <<_ACEOF
42264 /* end confdefs.h. */
42265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42267 #define $ac_func innocuous_$ac_func
42269 /* System header to define __stub macros and hopefully few prototypes,
42270 which can conflict with char $ac_func (); below.
42271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42272 <limits.h> exists even on freestanding compilers. */
42275 # include <limits.h>
42277 # include <assert.h>
42282 /* Override any GCC internal prototype to avoid an error.
42283 Use char because int might match the return type of a GCC
42284 builtin and then its argument prototype would still apply. */
42289 /* The GNU C library defines this for functions which it implements
42290 to always fail with ENOSYS. Some functions are actually named
42291 something starting with __ and the normal name is an alias. */
42292 #if defined __stub_$ac_func || defined __stub___$ac_func
42299 return $ac_func ();
42304 rm -f conftest.$ac_objext conftest$ac_exeext
42305 if { (ac_try="$ac_link"
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_link") 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_exeext &&
42321 $as_test_x conftest
$ac_exeext; then
42322 eval "$as_ac_var=yes"
42324 echo "$as_me: failed program was:" >&5
42325 sed 's/^/| /' conftest.
$ac_ext >&5
42327 eval "$as_ac_var=no"
42330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42331 conftest
$ac_exeext conftest.
$ac_ext
42333 ac_res
=`eval echo '${'$as_ac_var'}'`
42334 { echo "$as_me:$LINENO: result: $ac_res" >&5
42335 echo "${ECHO_T}$ac_res" >&6; }
42336 if test `eval echo '${'$as_ac_var'}'` = yes; then
42337 cat >>confdefs.h
<<_ACEOF
42338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42340 cat >>confdefs.h
<<\_ACEOF
42341 #define HAVE_DLERROR 1
42346 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42349 echo $ECHO_N "(cached) $ECHO_C" >&6
42351 ac_check_lib_save_LIBS
=$LIBS
42353 cat >conftest.
$ac_ext <<_ACEOF
42356 cat confdefs.h
>>conftest.
$ac_ext
42357 cat >>conftest.
$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42360 /* Override any GCC internal prototype to avoid an error.
42361 Use char because int might match the return type of a GCC
42362 builtin and then its argument prototype would still apply. */
42375 rm -f conftest.
$ac_objext conftest
$ac_exeext
42376 if { (ac_try
="$ac_link"
42377 case "(($ac_try" in
42378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42379 *) ac_try_echo=$ac_try;;
42381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42382 (eval "$ac_link") 2>conftest.er1
42384 grep -v '^ *+' conftest.er1 >conftest.err
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } && {
42389 test -z "$ac_c_werror_flag" ||
42390 test ! -s conftest.err
42391 } && test -s conftest$ac_exeext &&
42392 $as_test_x conftest$ac_exeext; then
42393 ac_cv_lib_dl_dlerror=yes
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42398 ac_cv_lib_dl_dlerror=no
42401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42402 conftest$ac_exeext conftest.$ac_ext
42403 LIBS=$ac_check_lib_save_LIBS
42405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42406 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42407 if test $ac_cv_lib_dl_dlerror = yes; then
42408 cat >>confdefs.h <<\_ACEOF
42409 #define HAVE_DLERROR 1
42422 if test "$USE_DARWIN" = 1; then
42426 if test "$HAVE_DL_FUNCS" = 0; then
42427 if test "$HAVE_SHL_FUNCS" = 0; then
42428 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42429 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42430 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42431 wxUSE_DYNAMIC_LOADER=no
42432 wxUSE_DYNLIB_CLASS=no
42434 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42435 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42443 cat >>confdefs.h <<\_ACEOF
42444 #define wxUSE_DYNAMIC_LOADER 1
42448 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_DYNLIB_CLASS 1
42457 if test "$wxUSE_PLUGINS" = "yes" ; then
42458 if test "$wxUSE_SHARED" = "no" ; then
42459 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42460 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42463 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42464 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42465 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42468 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42469 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42470 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42473 if test "$wxUSE_PLUGINS" = "yes" ; then
42474 cat >>confdefs.h <<\_ACEOF
42475 #define wxUSE_PLUGINS 1
42482 if test "$wxUSE_FSWATCHER" = "yes"; then
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_FSWATCHER 1
42487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42489 if test "$wxUSE_UNIX" = "yes"; then
42491 for ac_header in sys/inotify.h
42493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42497 echo $ECHO_N "(cached) $ECHO_C" >&6
42499 cat >conftest.$ac_ext <<_ACEOF
42502 cat confdefs.h >>conftest.$ac_ext
42503 cat >>conftest.$ac_ext <<_ACEOF
42504 /* end confdefs.h. */
42505 $ac_includes_default
42507 #include <$ac_header>
42509 rm -f conftest.$ac_objext
42510 if { (ac_try="$ac_compile"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42513 *) ac_try_echo
=$ac_try;;
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_compile") 2>conftest.er1
42518 grep -v '^ *+' conftest.er1
>conftest.err
42520 cat conftest.err
>&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest.
$ac_objext; then
42526 eval "$as_ac_Header=yes"
42528 echo "$as_me: failed program was:" >&5
42529 sed 's/^/| /' conftest.
$ac_ext >&5
42531 eval "$as_ac_Header=no"
42534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42536 ac_res
=`eval echo '${'$as_ac_Header'}'`
42537 { echo "$as_me:$LINENO: result: $ac_res" >&5
42538 echo "${ECHO_T}$ac_res" >&6; }
42539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42540 cat >>confdefs.h
<<_ACEOF
42541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42548 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42549 cat >>confdefs.h
<<\_ACEOF
42550 #define wxHAS_INOTIFY 1
42555 for ac_header
in sys
/event.h
42557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42558 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42560 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42561 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 cat >conftest.
$ac_ext <<_ACEOF
42566 cat confdefs.h
>>conftest.
$ac_ext
42567 cat >>conftest.
$ac_ext <<_ACEOF
42568 /* end confdefs.h. */
42569 $ac_includes_default
42571 #include <$ac_header>
42573 rm -f conftest.
$ac_objext
42574 if { (ac_try
="$ac_compile"
42575 case "(($ac_try" in
42576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42577 *) ac_try_echo=$ac_try;;
42579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42580 (eval "$ac_compile") 2>conftest.er1
42582 grep -v '^ *+' conftest.er1 >conftest.err
42584 cat conftest.err >&5
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); } && {
42587 test -z "$ac_c_werror_flag" ||
42588 test ! -s conftest.err
42589 } && test -s conftest.$ac_objext; then
42590 eval "$as_ac_Header=yes"
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42595 eval "$as_ac_Header=no"
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42600 ac_res=`eval echo '${'$as_ac_Header'}'`
42601 { echo "$as_me:$LINENO: result: $ac_res" >&5
42602 echo "${ECHO_T}$ac_res" >&6; }
42603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42604 cat >>confdefs.h <<_ACEOF
42605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42612 if test "$ac_cv_header_sys_event_h" = "yes"; then
42613 cat >>confdefs.h <<\_ACEOF
42614 #define wxHAS_KQUEUE 1
42618 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42619 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42626 if test "$wxUSE_STL" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_STL 1
42633 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_EXTENDED_RTTI 1
42640 if test "$wxUSE_ANY" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_ANY 1
42647 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_APPLE_IEEE 1
42654 if test "$wxUSE_TIMER" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_TIMER 1
42661 if test "$USE_UNIX" = 1 ; then
42662 if test "$wxUSE_MGL" != 1; then
42663 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42664 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42665 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42666 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 cat >conftest.$ac_ext <<_ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42676 #include <sys/ioctl.h>
42677 #include <sys/soundcard.h>
42683 ioctl(0, SNDCTL_DSP_SPEED, 0);
42689 rm -f conftest.$ac_objext conftest$ac_exeext
42690 if { (ac_try="$ac_link"
42691 case "(($ac_try" in
42692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42693 *) ac_try_echo
=$ac_try;;
42695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42696 (eval "$ac_link") 2>conftest.er1
42698 grep -v '^ *+' conftest.er1
>conftest.err
42700 cat conftest.err
>&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } && {
42703 test -z "$ac_c_werror_flag" ||
42704 test ! -s conftest.err
42705 } && test -s conftest
$ac_exeext &&
42706 $as_test_x conftest
$ac_exeext; then
42707 ac_cv_header_sys_soundcard
=yes
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.
$ac_ext >&5
42714 LIBS
="$saveLibs -lossaudio"
42715 cat >conftest.
$ac_ext <<_ACEOF
42718 cat confdefs.h
>>conftest.
$ac_ext
42719 cat >>conftest.
$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42722 #include <sys/ioctl.h>
42723 #include <sys/soundcard.h>
42729 ioctl(0, SNDCTL_DSP_SPEED, 0);
42735 rm -f conftest.
$ac_objext conftest
$ac_exeext
42736 if { (ac_try
="$ac_link"
42737 case "(($ac_try" in
42738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42739 *) ac_try_echo=$ac_try;;
42741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42742 (eval "$ac_link") 2>conftest.er1
42744 grep -v '^ *+' conftest.er1 >conftest.err
42746 cat conftest.err >&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); } && {
42749 test -z "$ac_c_werror_flag" ||
42750 test ! -s conftest.err
42751 } && test -s conftest$ac_exeext &&
42752 $as_test_x conftest$ac_exeext; then
42753 ac_cv_header_sys_soundcard=yes
42755 echo "$as_me: failed program was:" >&5
42756 sed 's/^/| /' conftest.$ac_ext >&5
42760 ac_cv_header_sys_soundcard=no
42765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42766 conftest$ac_exeext conftest.$ac_ext
42771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42772 conftest$ac_exeext conftest.$ac_ext
42775 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42776 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42779 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define HAVE_SYS_SOUNDCARD_H 1
42788 if test "$wxUSE_SOUND" = "yes"; then
42789 if test "$USE_UNIX" = 1 ; then
42790 if test "$wxUSE_LIBSDL" != "no"; then
42792 # Check whether --with-sdl-prefix was given.
42793 if test "${with_sdl_prefix+set}" = set; then
42794 withval=$with_sdl_prefix; sdl_prefix="$withval"
42800 # Check whether --with-sdl-exec-prefix was given.
42801 if test "${with_sdl_exec_prefix+set}" = set; then
42802 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42807 # Check whether --enable-sdltest was given.
42808 if test "${enable_sdltest+set}" = set; then
42809 enableval=$enable_sdltest;
42815 if test x$sdl_exec_prefix != x ; then
42816 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42817 if test x${SDL_CONFIG+set} != xset ; then
42818 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42821 if test x$sdl_prefix != x ; then
42822 sdl_args="$sdl_args --prefix=$sdl_prefix"
42823 if test x${SDL_CONFIG+set} != xset ; then
42824 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42828 if test "x$prefix" != xNONE; then
42829 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42831 # Extract the first word of "sdl-config", so it can be a program name with args.
42832 set dummy sdl-config; ac_word=$2
42833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42835 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42836 echo $ECHO_N "(cached) $ECHO_C" >&6
42838 case $SDL_CONFIG in
42840 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42844 for as_dir in $PATH
42847 test -z "$as_dir" && as_dir=.
42848 for ac_exec_ext in '' $ac_executable_extensions; do
42849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42850 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42858 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42862 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42863 if test -n "$SDL_CONFIG"; then
42864 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42865 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42867 { echo "$as_me:$LINENO: result: no" >&5
42868 echo "${ECHO_T}no" >&6; }
42872 min_sdl_version=1.2.0
42873 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42874 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42876 if test "$SDL_CONFIG" = "no" ; then
42879 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42880 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42882 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42884 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42886 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42888 if test "x$enable_sdltest" = "xyes" ; then
42889 ac_save_CFLAGS="$CFLAGS"
42890 ac_save_CXXFLAGS="$CXXFLAGS"
42891 ac_save_LIBS="$LIBS"
42892 CFLAGS="$CFLAGS $SDL_CFLAGS"
42893 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42894 LIBS="$LIBS $SDL_LIBS"
42896 if test "$cross_compiling" = yes; then
42897 echo $ac_n "cross compiling; assumed OK... $ac_c"
42899 cat >conftest.$ac_ext <<_ACEOF
42902 cat confdefs.h >>conftest.$ac_ext
42903 cat >>conftest.$ac_ext <<_ACEOF
42904 /* end confdefs.h. */
42907 #include <stdlib.h>
42908 #include <string.h>
42912 my_strdup (char *str)
42918 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42919 strcpy (new_str, str);
42927 int main (int argc, char *argv[])
42929 int major, minor, micro;
42932 /* This hangs on some systems (?)
42933 system ("touch conf.sdltest");
42935 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42937 /* HP/UX 9 (%@#!) writes to sscanf strings */
42938 tmp_version = my_strdup("$min_sdl_version");
42939 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42940 printf("%s, bad version string\n", "$min_sdl_version");
42944 if (($sdl_major_version > major) ||
42945 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42946 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42952 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42953 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42954 printf("*** best to upgrade to the required version.\n");
42955 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42956 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42957 printf("*** config.cache before re-running configure\n");
42964 rm -f conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42968 *) ac_try_echo
=$ac_try;;
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>&5
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42975 { (case "(($ac_try" in
42976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42977 *) ac_try_echo=$ac_try;;
42979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42980 (eval "$ac_try") 2>&5
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; }; then
42986 echo "$as_me: program exited with status $ac_status" >&5
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42990 ( exit $ac_status )
42993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42997 CFLAGS="$ac_save_CFLAGS"
42998 CXXFLAGS="$ac_save_CXXFLAGS"
42999 LIBS="$ac_save_LIBS"
43002 if test "x$no_sdl" = x ; then
43003 { echo "$as_me:$LINENO: result: yes" >&5
43004 echo "${ECHO_T}yes" >&6; }
43006 EXTRALIBS_SDL="$SDL_LIBS"
43007 CFLAGS="$SDL_CFLAGS $CFLAGS"
43008 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_LIBSDL 1
43015 { echo "$as_me:$LINENO: result: no" >&5
43016 echo "${ECHO_T}no" >&6; }
43017 if test "$SDL_CONFIG" = "no" ; then
43018 echo "*** The sdl-config script installed by SDL could not be found"
43019 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43020 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43021 echo "*** full path to sdl-config."
43023 if test -f conf.sdltest ; then
43026 echo "*** Could not run SDL test program, checking why..."
43027 CFLAGS="$CFLAGS $SDL_CFLAGS"
43028 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43029 LIBS="$LIBS $SDL_LIBS"
43030 cat >conftest.$ac_ext <<_ACEOF
43033 cat confdefs.h >>conftest.$ac_ext
43034 cat >>conftest.$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43040 int main(int argc, char *argv[])
43043 #define main K_and_R_C_main
43053 rm -f conftest.$ac_objext conftest$ac_exeext
43054 if { (ac_try="$ac_link"
43055 case "(($ac_try" in
43056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43057 *) ac_try_echo
=$ac_try;;
43059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43060 (eval "$ac_link") 2>conftest.er1
43062 grep -v '^ *+' conftest.er1
>conftest.err
43064 cat conftest.err
>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); } && {
43067 test -z "$ac_c_werror_flag" ||
43068 test ! -s conftest.err
43069 } && test -s conftest
$ac_exeext &&
43070 $as_test_x conftest
$ac_exeext; then
43071 echo "*** The test program compiled, but did not run. This usually means"
43072 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43073 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43076 echo "*** is required on your system"
43078 echo "*** If you have an old version installed, it is best to remove it, although"
43079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.
$ac_ext >&5
43084 echo "*** The test program failed to compile or link. See the file config.log for the"
43085 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43086 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43087 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43091 conftest
$ac_exeext conftest.
$ac_ext
43092 CFLAGS
="$ac_save_CFLAGS"
43093 CXXFLAGS
="$ac_save_CXXFLAGS"
43094 LIBS
="$ac_save_LIBS"
43105 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43110 if test "$wxUSE_MGL" = 1; then
43111 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43112 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43118 if test "$wxUSE_SOUND" = "yes"; then
43119 cat >>confdefs.h
<<\_ACEOF
43120 #define wxUSE_SOUND 1
43123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43126 if test "$WXGTK2" = 1; then
43129 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43130 if test -n "$ac_tool_prefix"; then
43131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43132 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43138 case $PKG_CONFIG in
43140 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43144 for as_dir
in $PATH
43147 test -z "$as_dir" && as_dir
=.
43148 for ac_exec_ext
in '' $ac_executable_extensions; do
43149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43150 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43162 if test -n "$PKG_CONFIG"; then
43163 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43164 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43166 { echo "$as_me:$LINENO: result: no" >&5
43167 echo "${ECHO_T}no" >&6; }
43172 if test -z "$ac_cv_path_PKG_CONFIG"; then
43173 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43174 # Extract the first word of "pkg-config", so it can be a program name with args.
43175 set dummy pkg
-config; ac_word
=$2
43176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43178 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43181 case $ac_pt_PKG_CONFIG in
43183 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43187 for as_dir
in $PATH
43190 test -z "$as_dir" && as_dir
=.
43191 for ac_exec_ext
in '' $ac_executable_extensions; do
43192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43193 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43204 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43205 if test -n "$ac_pt_PKG_CONFIG"; then
43206 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43207 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43209 { echo "$as_me:$LINENO: result: no" >&5
43210 echo "${ECHO_T}no" >&6; }
43213 if test "x$ac_pt_PKG_CONFIG" = x
; then
43216 case $cross_compiling:$ac_tool_warned in
43218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43219 whose name does not start with the host triplet. If you think this
43220 configuration is useful to you, please write to autoconf@gnu.org." >&5
43221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43222 whose name does not start with the host triplet. If you think this
43223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43224 ac_tool_warned
=yes ;;
43226 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43229 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43233 if test -n "$PKG_CONFIG"; then
43234 _pkg_min_version
=0.9.0
43235 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43236 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43237 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43238 { echo "$as_me:$LINENO: result: yes" >&5
43239 echo "${ECHO_T}yes" >&6; }
43241 { echo "$as_me:$LINENO: result: no" >&5
43242 echo "${ECHO_T}no" >&6; }
43248 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43250 if test "$wxUSE_GTKPRINT" = "yes" ; then
43254 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43255 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43257 if test -n "$PKG_CONFIG"; then
43258 if test -n "$GTKPRINT_CFLAGS"; then
43259 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43261 if test -n "$PKG_CONFIG" && \
43262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43263 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; then
43267 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43275 if test -n "$PKG_CONFIG"; then
43276 if test -n "$GTKPRINT_LIBS"; then
43277 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43279 if test -n "$PKG_CONFIG" && \
43280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43281 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; then
43285 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43296 if test $pkg_failed = yes; then
43298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43299 _pkg_short_errors_supported
=yes
43301 _pkg_short_errors_supported
=no
43303 if test $_pkg_short_errors_supported = yes; then
43304 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43306 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43308 # Put the nasty error message in config.log where it belongs
43309 echo "$GTKPRINT_PKG_ERRORS" >&5
43312 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43313 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43314 wxUSE_GTKPRINT
="no"
43317 elif test $pkg_failed = untried
; then
43319 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43320 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43321 wxUSE_GTKPRINT
="no"
43325 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43326 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43327 { echo "$as_me:$LINENO: result: yes" >&5
43328 echo "${ECHO_T}yes" >&6; }
43330 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43331 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43332 cat >>confdefs.h
<<\_ACEOF
43333 #define wxUSE_GTKPRINT 1
43340 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43344 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43345 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43347 if test -n "$PKG_CONFIG"; then
43348 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43349 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43351 if test -n "$PKG_CONFIG" && \
43352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43353 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; then
43357 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43365 if test -n "$PKG_CONFIG"; then
43366 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43367 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43369 if test -n "$PKG_CONFIG" && \
43370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43371 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); }; then
43375 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43386 if test $pkg_failed = yes; then
43388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43389 _pkg_short_errors_supported
=yes
43391 _pkg_short_errors_supported
=no
43393 if test $_pkg_short_errors_supported = yes; then
43394 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43396 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43398 # Put the nasty error message in config.log where it belongs
43399 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43402 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43403 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43404 wxUSE_LIBGNOMEPRINT
="no"
43407 elif test $pkg_failed = untried
; then
43409 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43410 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43411 wxUSE_LIBGNOMEPRINT
="no"
43415 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43416 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43417 { echo "$as_me:$LINENO: result: yes" >&5
43418 echo "${ECHO_T}yes" >&6; }
43420 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43421 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43422 cat >>confdefs.h
<<\_ACEOF
43423 #define wxUSE_LIBGNOMEPRINT 1
43431 if test "$wxUSE_MIMETYPE" = "yes" ; then
43432 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43436 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43437 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43439 if test -n "$PKG_CONFIG"; then
43440 if test -n "$GNOMEVFS_CFLAGS"; then
43441 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43443 if test -n "$PKG_CONFIG" && \
43444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43445 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43448 (exit $ac_status); }; then
43449 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43457 if test -n "$PKG_CONFIG"; then
43458 if test -n "$GNOMEVFS_LIBS"; then
43459 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43461 if test -n "$PKG_CONFIG" && \
43462 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43463 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); }; then
43467 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43478 if test $pkg_failed = yes; then
43480 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43481 _pkg_short_errors_supported
=yes
43483 _pkg_short_errors_supported
=no
43485 if test $_pkg_short_errors_supported = yes; then
43486 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43488 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43490 # Put the nasty error message in config.log where it belongs
43491 echo "$GNOMEVFS_PKG_ERRORS" >&5
43494 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43495 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43496 wxUSE_LIBGNOMEVFS
="no"
43499 elif test $pkg_failed = untried
; then
43501 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43502 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43503 wxUSE_LIBGNOMEVFS
="no"
43507 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43508 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43509 { echo "$as_me:$LINENO: result: yes" >&5
43510 echo "${ECHO_T}yes" >&6; }
43512 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43513 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43514 cat >>confdefs.h
<<\_ACEOF
43515 #define wxUSE_LIBGNOMEVFS 1
43523 if test "$wxUSE_LIBHILDON" = "yes" ; then
43526 { echo "$as_me:$LINENO: checking for HILDON" >&5
43527 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43529 if test -n "$PKG_CONFIG"; then
43530 if test -n "$HILDON_CFLAGS"; then
43531 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43533 if test -n "$PKG_CONFIG" && \
43534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43535 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); }; then
43539 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43547 if test -n "$PKG_CONFIG"; then
43548 if test -n "$HILDON_LIBS"; then
43549 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43551 if test -n "$PKG_CONFIG" && \
43552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43553 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; then
43557 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43568 if test $pkg_failed = yes; then
43570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43571 _pkg_short_errors_supported
=yes
43573 _pkg_short_errors_supported
=no
43575 if test $_pkg_short_errors_supported = yes; then
43576 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43578 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43580 # Put the nasty error message in config.log where it belongs
43581 echo "$HILDON_PKG_ERRORS" >&5
43584 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43585 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43586 wxUSE_LIBHILDON
="no"
43590 elif test $pkg_failed = untried
; then
43592 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43593 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43594 wxUSE_LIBHILDON
="no"
43599 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43600 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43601 { echo "$as_me:$LINENO: result: yes" >&5
43602 echo "${ECHO_T}yes" >&6; }
43604 EXTRALIBS_HILDON
="$HILDON_LIBS"
43605 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43606 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43607 cat >>confdefs.h
<<\_ACEOF
43608 #define wxUSE_LIBHILDON 1
43615 if test "$ac_hildon_lgpl" = 0 ; then
43618 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43619 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43621 if test -n "$PKG_CONFIG"; then
43622 if test -n "$HILDON2_CFLAGS"; then
43623 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43625 if test -n "$PKG_CONFIG" && \
43626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43627 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630 (exit $ac_status); }; then
43631 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43639 if test -n "$PKG_CONFIG"; then
43640 if test -n "$HILDON2_LIBS"; then
43641 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43643 if test -n "$PKG_CONFIG" && \
43644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43645 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); }; then
43649 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43660 if test $pkg_failed = yes; then
43662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43663 _pkg_short_errors_supported
=yes
43665 _pkg_short_errors_supported
=no
43667 if test $_pkg_short_errors_supported = yes; then
43668 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43670 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43672 # Put the nasty error message in config.log where it belongs
43673 echo "$HILDON2_PKG_ERRORS" >&5
43676 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43677 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43678 wxUSE_LIBHILDON2
="no"
43681 elif test $pkg_failed = untried
; then
43683 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43684 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43685 wxUSE_LIBHILDON2
="no"
43689 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43690 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43691 { echo "$as_me:$LINENO: result: yes" >&5
43692 echo "${ECHO_T}yes" >&6; }
43694 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43695 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43696 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43697 cat >>confdefs.h
<<\_ACEOF
43698 #define wxUSE_LIBHILDON2 1
43707 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43708 cat >>confdefs.h
<<\_ACEOF
43709 #define wxUSE_CMDLINE_PARSER 1
43714 if test "$wxUSE_STOPWATCH" = "yes"; then
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define wxUSE_STOPWATCH 1
43721 if test "$wxUSE_DATETIME" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_DATETIME 1
43728 if test "$wxUSE_FILE" = "yes"; then
43729 cat >>confdefs.h
<<\_ACEOF
43730 #define wxUSE_FILE 1
43735 if test "$wxUSE_FFILE" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_FFILE 1
43742 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43743 if test "$wxUSE_STREAMS" != yes; then
43744 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43745 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43746 wxUSE_ARCHIVE_STREAMS
=no
43748 cat >>confdefs.h
<<\_ACEOF
43749 #define wxUSE_ARCHIVE_STREAMS 1
43755 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43756 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43757 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43758 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43759 elif test "$wxUSE_ZLIB" = "no"; then
43760 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43761 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43763 cat >>confdefs.h
<<\_ACEOF
43764 #define wxUSE_ZIPSTREAM 1
43770 if test "$wxUSE_TARSTREAM" = "yes"; then
43771 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43772 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43773 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43775 cat >>confdefs.h
<<\_ACEOF
43776 #define wxUSE_TARSTREAM 1
43782 if test "$wxUSE_FILESYSTEM" = "yes"; then
43783 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43784 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43785 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43786 wxUSE_FILESYSTEM
=no
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_FILESYSTEM 1
43795 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43796 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43797 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43798 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43800 cat >>confdefs.h
<<\_ACEOF
43801 #define wxUSE_FS_ARCHIVE 1
43807 if test "$wxUSE_FS_ZIP" = "yes"; then
43808 if test "$wxUSE_FS_ARCHIVE" != yes; then
43809 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43810 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43812 cat >>confdefs.h
<<\_ACEOF
43813 #define wxUSE_FS_ZIP 1
43819 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43820 if test "$USE_UNIX" != 1; then
43821 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43822 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43823 wxUSE_ON_FATAL_EXCEPTION
=no
43825 cat >>confdefs.h
<<\_ACEOF
43826 #define wxUSE_ON_FATAL_EXCEPTION 1
43832 if test "$wxUSE_STACKWALKER" = "yes"; then
43833 cat >>confdefs.h
<<\_ACEOF
43834 #define wxUSE_STACKWALKER 1
43839 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43840 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43841 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43842 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43843 wxUSE_DEBUGREPORT
=no
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define wxUSE_DEBUGREPORT 1
43849 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43855 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43856 cat >>confdefs.h
<<\_ACEOF
43857 #define wxUSE_SNGLINST_CHECKER 1
43862 if test "$wxUSE_BUSYINFO" = "yes"; then
43863 cat >>confdefs.h
<<\_ACEOF
43864 #define wxUSE_BUSYINFO 1
43869 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43870 cat >>confdefs.h
<<\_ACEOF
43871 #define wxUSE_STD_IOSTREAM 1
43876 if test "$wxUSE_STD_STRING" = "yes"; then
43877 cat >>confdefs.h
<<\_ACEOF
43878 #define wxUSE_STD_STRING 1
43883 if test "$wxUSE_STDPATHS" = "yes"; then
43884 cat >>confdefs.h
<<\_ACEOF
43885 #define wxUSE_STDPATHS 1
43890 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_TEXTBUFFER 1
43897 if test "$wxUSE_TEXTFILE" = "yes"; then
43898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43900 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43902 cat >>confdefs.h
<<\_ACEOF
43903 #define wxUSE_TEXTFILE 1
43909 if test "$wxUSE_CONFIG" = "yes" ; then
43910 if test "$wxUSE_TEXTFILE" != "yes"; then
43911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43912 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43914 cat >>confdefs.h
<<\_ACEOF
43915 #define wxUSE_CONFIG 1
43918 cat >>confdefs.h
<<\_ACEOF
43919 #define wxUSE_CONFIG_NATIVE 1
43922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43926 if test "$wxUSE_INTL" = "yes" ; then
43927 if test "$wxUSE_FILE" != "yes"; then
43928 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43929 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_INTL 1
43935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43936 GUIDIST
="$GUIDIST INTL_DIST"
43940 if test "$wxUSE_XLOCALE" = "yes" ; then
43941 cat >>confdefs.h
<<\_ACEOF
43942 #define wxUSE_XLOCALE 1
43945 { echo "$as_me:$LINENO: checking for locale_t" >&5
43946 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43947 if test "${ac_cv_type_locale_t+set}" = set; then
43948 echo $ECHO_N "(cached) $ECHO_C" >&6
43950 cat >conftest.
$ac_ext <<_ACEOF
43953 cat confdefs.h
>>conftest.
$ac_ext
43954 cat >>conftest.
$ac_ext <<_ACEOF
43955 /* end confdefs.h. */
43956 #include <xlocale.h>
43957 #include <locale.h>
43959 typedef locale_t ac__type_new_;
43963 if ((ac__type_new_ *) 0)
43965 if (sizeof (ac__type_new_))
43971 rm -f conftest.
$ac_objext
43972 if { (ac_try
="$ac_compile"
43973 case "(($ac_try" in
43974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43975 *) ac_try_echo=$ac_try;;
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_compile") 2>conftest.er1
43980 grep -v '^ *+' conftest.er1 >conftest.err
43982 cat conftest.err >&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && {
43985 test -z "$ac_c_werror_flag" ||
43986 test ! -s conftest.err
43987 } && test -s conftest.$ac_objext; then
43988 ac_cv_type_locale_t=yes
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43993 ac_cv_type_locale_t=no
43996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43998 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43999 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44000 if test $ac_cv_type_locale_t = yes; then
44002 cat >>confdefs.h <<_ACEOF
44003 #define HAVE_LOCALE_T 1
44011 if test "$wxUSE_LOG" = "yes"; then
44012 cat >>confdefs.h <<\_ACEOF
44013 #define wxUSE_LOG 1
44017 if test "$wxUSE_LOGGUI" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_LOGGUI 1
44024 if test "$wxUSE_LOGWINDOW" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_LOGWINDOW 1
44031 if test "$wxUSE_LOGDIALOG" = "yes"; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_LOG_DIALOG 1
44038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44041 if test "$wxUSE_LONGLONG" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_LONGLONG 1
44048 if test "$wxUSE_GEOMETRY" = "yes"; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_GEOMETRY 1
44055 if test "$wxUSE_BASE64" = "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_BASE64 1
44062 if test "$wxUSE_STREAMS" = "yes" ; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_STREAMS 1
44069 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_PRINTF_POS_PARAMS 1
44076 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_OBJC_UNIQUIFYING 1
44084 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_CONSOLE_EVENTLOOP 1
44090 if test "$wxUSE_UNIX" = "yes"; then
44091 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44092 cat >>confdefs.h <<\_ACEOF
44093 #define wxUSE_SELECT_DISPATCHER 1
44098 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44100 for ac_header in sys/epoll.h
44102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44106 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 cat >conftest.$ac_ext <<_ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114 $ac_includes_default
44116 #include <$ac_header>
44118 rm -f conftest.$ac_objext
44119 if { (ac_try="$ac_compile"
44120 case "(($ac_try" in
44121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44122 *) ac_try_echo
=$ac_try;;
44124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44125 (eval "$ac_compile") 2>conftest.er1
44127 grep -v '^ *+' conftest.er1
>conftest.err
44129 cat conftest.err
>&5
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); } && {
44132 test -z "$ac_c_werror_flag" ||
44133 test ! -s conftest.err
44134 } && test -s conftest.
$ac_objext; then
44135 eval "$as_ac_Header=yes"
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.
$ac_ext >&5
44140 eval "$as_ac_Header=no"
44143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44145 ac_res
=`eval echo '${'$as_ac_Header'}'`
44146 { echo "$as_me:$LINENO: result: $ac_res" >&5
44147 echo "${ECHO_T}$ac_res" >&6; }
44148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44149 cat >>confdefs.h
<<_ACEOF
44150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44157 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44158 cat >>confdefs.h
<<\_ACEOF
44159 #define wxUSE_EPOLL_DISPATCHER 1
44163 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44164 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44173 for ac_func
in gettimeofday ftime
44175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44178 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44179 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 cat >conftest.
$ac_ext <<_ACEOF
44184 cat confdefs.h
>>conftest.
$ac_ext
44185 cat >>conftest.
$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44189 #define $ac_func innocuous_$ac_func
44191 /* System header to define __stub macros and hopefully few prototypes,
44192 which can conflict with char $ac_func (); below.
44193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44194 <limits.h> exists even on freestanding compilers. */
44197 # include <limits.h>
44199 # include <assert.h>
44204 /* Override any GCC internal prototype to avoid an error.
44205 Use char because int might match the return type of a GCC
44206 builtin and then its argument prototype would still apply. */
44211 /* The GNU C library defines this for functions which it implements
44212 to always fail with ENOSYS. Some functions are actually named
44213 something starting with __ and the normal name is an alias. */
44214 #if defined __stub_$ac_func || defined __stub___$ac_func
44221 return $ac_func ();
44226 rm -f conftest.
$ac_objext conftest
$ac_exeext
44227 if { (ac_try
="$ac_link"
44228 case "(($ac_try" in
44229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44230 *) ac_try_echo=$ac_try;;
44232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44233 (eval "$ac_link") 2>conftest.er1
44235 grep -v '^ *+' conftest.er1 >conftest.err
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } && {
44240 test -z "$ac_c_werror_flag" ||
44241 test ! -s conftest.err
44242 } && test -s conftest$ac_exeext &&
44243 $as_test_x conftest$ac_exeext; then
44244 eval "$as_ac_var=yes"
44246 echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.$ac_ext >&5
44249 eval "$as_ac_var=no"
44252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44253 conftest$ac_exeext conftest.$ac_ext
44255 ac_res=`eval echo '${'$as_ac_var'}'`
44256 { echo "$as_me:$LINENO: result: $ac_res" >&5
44257 echo "${ECHO_T}$ac_res" >&6; }
44258 if test `eval echo '${'$as_ac_var'}'` = yes; then
44259 cat >>confdefs.h <<_ACEOF
44260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44267 if test "$ac_cv_func_gettimeofday" = "yes"; then
44268 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44269 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44270 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44271 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 cat >conftest.$ac_ext <<_ACEOF
44277 cat confdefs.h >>conftest.$ac_ext
44278 cat >>conftest.$ac_ext <<_ACEOF
44279 /* end confdefs.h. */
44281 #include <sys/time.h>
44282 #include <unistd.h>
44289 gettimeofday(&tv, NULL);
44295 rm -f conftest.$ac_objext
44296 if { (ac_try="$ac_compile"
44297 case "(($ac_try" in
44298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44299 *) ac_try_echo
=$ac_try;;
44301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44302 (eval "$ac_compile") 2>conftest.er1
44304 grep -v '^ *+' conftest.er1
>conftest.err
44306 cat conftest.err
>&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); } && {
44309 test -z "$ac_c_werror_flag" ||
44310 test ! -s conftest.err
44311 } && test -s conftest.
$ac_objext; then
44312 wx_cv_func_gettimeofday_has_2_args
=yes
44314 echo "$as_me: failed program was:" >&5
44315 sed 's/^/| /' conftest.
$ac_ext >&5
44317 cat >conftest.
$ac_ext <<_ACEOF
44320 cat confdefs.h
>>conftest.
$ac_ext
44321 cat >>conftest.
$ac_ext <<_ACEOF
44322 /* end confdefs.h. */
44324 #include <sys/time.h>
44325 #include <unistd.h>
44338 rm -f conftest.
$ac_objext
44339 if { (ac_try
="$ac_compile"
44340 case "(($ac_try" in
44341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44342 *) ac_try_echo=$ac_try;;
44344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44345 (eval "$ac_compile") 2>conftest.er1
44347 grep -v '^ *+' conftest.er1 >conftest.err
44349 cat conftest.err >&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } && {
44352 test -z "$ac_c_werror_flag" ||
44353 test ! -s conftest.err
44354 } && test -s conftest.$ac_objext; then
44355 wx_cv_func_gettimeofday_has_2_args=no
44357 echo "$as_me: failed program was:" >&5
44358 sed 's/^/| /' conftest.$ac_ext >&5
44361 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44362 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44363 wx_cv_func_gettimeofday_has_2_args=unknown
44368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44375 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44376 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44378 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define WX_GETTIMEOFDAY_NO_TZ 1
44386 if test "$wxUSE_DATETIME" = "yes"; then
44387 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44388 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44389 if test "${wx_cv_var_timezone+set}" = set; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44394 ac_cpp='$CXXCPP $CPPFLAGS'
44395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44399 cat >conftest.$ac_ext <<_ACEOF
44402 cat confdefs.h >>conftest.$ac_ext
44403 cat >>conftest.$ac_ext <<_ACEOF
44404 /* end confdefs.h. */
44419 rm -f conftest.$ac_objext
44420 if { (ac_try="$ac_compile"
44421 case "(($ac_try" in
44422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44423 *) ac_try_echo
=$ac_try;;
44425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44426 (eval "$ac_compile") 2>conftest.er1
44428 grep -v '^ *+' conftest.er1
>conftest.err
44430 cat conftest.err
>&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } && {
44433 test -z "$ac_cxx_werror_flag" ||
44434 test ! -s conftest.err
44435 } && test -s conftest.
$ac_objext; then
44437 wx_cv_var_timezone
=timezone
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.
$ac_ext >&5
44444 cat >conftest.
$ac_ext <<_ACEOF
44447 cat confdefs.h
>>conftest.
$ac_ext
44448 cat >>conftest.
$ac_ext <<_ACEOF
44449 /* end confdefs.h. */
44464 rm -f conftest.
$ac_objext
44465 if { (ac_try
="$ac_compile"
44466 case "(($ac_try" in
44467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44468 *) ac_try_echo=$ac_try;;
44470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44471 (eval "$ac_compile") 2>conftest.er1
44473 grep -v '^ *+' conftest.er1 >conftest.err
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } && {
44478 test -z "$ac_cxx_werror_flag" ||
44479 test ! -s conftest.err
44480 } && test -s conftest.$ac_objext; then
44482 wx_cv_var_timezone=_timezone
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44489 cat >conftest.$ac_ext <<_ACEOF
44492 cat confdefs.h >>conftest.$ac_ext
44493 cat >>conftest.$ac_ext <<_ACEOF
44494 /* end confdefs.h. */
44509 rm -f conftest.$ac_objext
44510 if { (ac_try="$ac_compile"
44511 case "(($ac_try" in
44512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44513 *) ac_try_echo
=$ac_try;;
44515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44516 (eval "$ac_compile") 2>conftest.er1
44518 grep -v '^ *+' conftest.er1
>conftest.err
44520 cat conftest.err
>&5
44521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44522 (exit $ac_status); } && {
44523 test -z "$ac_cxx_werror_flag" ||
44524 test ! -s conftest.err
44525 } && test -s conftest.
$ac_objext; then
44527 wx_cv_var_timezone
=__timezone
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.
$ac_ext >&5
44534 if test "$USE_DOS" = 0 ; then
44535 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44536 echo "$as_me: WARNING: no timezone variable" >&2;}
44542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44554 ac_cpp
='$CPP $CPPFLAGS'
44555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44562 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44563 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44565 if test "x$wx_cv_var_timezone" != x
; then
44566 cat >>confdefs.h
<<_ACEOF
44567 #define WX_TIMEZONE $wx_cv_var_timezone
44573 for ac_func
in localtime
44575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44578 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44579 echo $ECHO_N "(cached) $ECHO_C" >&6
44581 cat >conftest.
$ac_ext <<_ACEOF
44584 cat confdefs.h
>>conftest.
$ac_ext
44585 cat >>conftest.
$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44589 #define $ac_func innocuous_$ac_func
44591 /* System header to define __stub macros and hopefully few prototypes,
44592 which can conflict with char $ac_func (); below.
44593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44594 <limits.h> exists even on freestanding compilers. */
44597 # include <limits.h>
44599 # include <assert.h>
44604 /* Override any GCC internal prototype to avoid an error.
44605 Use char because int might match the return type of a GCC
44606 builtin and then its argument prototype would still apply. */
44611 /* The GNU C library defines this for functions which it implements
44612 to always fail with ENOSYS. Some functions are actually named
44613 something starting with __ and the normal name is an alias. */
44614 #if defined __stub_$ac_func || defined __stub___$ac_func
44621 return $ac_func ();
44626 rm -f conftest.
$ac_objext conftest
$ac_exeext
44627 if { (ac_try
="$ac_link"
44628 case "(($ac_try" in
44629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_link") 2>conftest.er1
44635 grep -v '^ *+' conftest.er1 >conftest.err
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_c_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest$ac_exeext &&
44643 $as_test_x conftest$ac_exeext; then
44644 eval "$as_ac_var=yes"
44646 echo "$as_me: failed program was:" >&5
44647 sed 's/^/| /' conftest.$ac_ext >&5
44649 eval "$as_ac_var=no"
44652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44653 conftest$ac_exeext conftest.$ac_ext
44655 ac_res=`eval echo '${'$as_ac_var'}'`
44656 { echo "$as_me:$LINENO: result: $ac_res" >&5
44657 echo "${ECHO_T}$ac_res" >&6; }
44658 if test `eval echo '${'$as_ac_var'}'` = yes; then
44659 cat >>confdefs.h <<_ACEOF
44660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44667 if test "$ac_cv_func_localtime" = "yes"; then
44668 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44669 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44670 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44671 echo $ECHO_N "(cached) $ECHO_C" >&6
44674 cat >conftest.$ac_ext <<_ACEOF
44677 cat confdefs.h >>conftest.$ac_ext
44678 cat >>conftest.$ac_ext <<_ACEOF
44679 /* end confdefs.h. */
44694 rm -f conftest.$ac_objext
44695 if { (ac_try="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44698 *) ac_try_echo
=$ac_try;;
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44703 grep -v '^ *+' conftest.er1
>conftest.err
44705 cat conftest.err
>&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_c_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.
$ac_objext; then
44712 wx_cv_struct_tm_has_gmtoff
=yes
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.
$ac_ext >&5
44718 wx_cv_struct_tm_has_gmtoff
=no
44722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44725 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44726 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44729 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44730 cat >>confdefs.h
<<\_ACEOF
44731 #define WX_GMTOFF_IN_TM 1
44736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44740 if test "$wxUSE_SOCKETS" = "yes"; then
44741 if test "$wxUSE_MGL" = 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44743 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44748 if test "$wxUSE_SOCKETS" = "yes"; then
44749 if test "$TOOLKIT" != "MSW"; then
44750 { echo "$as_me:$LINENO: checking for socket" >&5
44751 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44752 if test "${ac_cv_func_socket+set}" = set; then
44753 echo $ECHO_N "(cached) $ECHO_C" >&6
44755 cat >conftest.
$ac_ext <<_ACEOF
44758 cat confdefs.h
>>conftest.
$ac_ext
44759 cat >>conftest.
$ac_ext <<_ACEOF
44760 /* end confdefs.h. */
44761 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44763 #define socket innocuous_socket
44765 /* System header to define __stub macros and hopefully few prototypes,
44766 which can conflict with char socket (); below.
44767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44768 <limits.h> exists even on freestanding compilers. */
44771 # include <limits.h>
44773 # include <assert.h>
44778 /* Override any GCC internal prototype to avoid an error.
44779 Use char because int might match the return type of a GCC
44780 builtin and then its argument prototype would still apply. */
44785 /* The GNU C library defines this for functions which it implements
44786 to always fail with ENOSYS. Some functions are actually named
44787 something starting with __ and the normal name is an alias. */
44788 #if defined __stub_socket || defined __stub___socket
44800 rm -f conftest.
$ac_objext conftest
$ac_exeext
44801 if { (ac_try
="$ac_link"
44802 case "(($ac_try" in
44803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44804 *) ac_try_echo=$ac_try;;
44806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44807 (eval "$ac_link") 2>conftest.er1
44809 grep -v '^ *+' conftest.er1 >conftest.err
44811 cat conftest.err >&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); } && {
44814 test -z "$ac_c_werror_flag" ||
44815 test ! -s conftest.err
44816 } && test -s conftest$ac_exeext &&
44817 $as_test_x conftest$ac_exeext; then
44818 ac_cv_func_socket=yes
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.$ac_ext >&5
44823 ac_cv_func_socket=no
44826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44827 conftest$ac_exeext conftest.$ac_ext
44829 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44830 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44831 if test $ac_cv_func_socket = yes; then
44835 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44836 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44837 if test "${ac_cv_lib_socket_socket+set}" = set; then
44838 echo $ECHO_N "(cached) $ECHO_C" >&6
44840 ac_check_lib_save_LIBS=$LIBS
44841 LIBS="-lsocket $LIBS"
44842 cat >conftest.$ac_ext <<_ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44849 /* Override any GCC internal prototype to avoid an error.
44850 Use char because int might match the return type of a GCC
44851 builtin and then its argument prototype would still apply. */
44864 rm -f conftest.$ac_objext conftest$ac_exeext
44865 if { (ac_try="$ac_link"
44866 case "(($ac_try" in
44867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44868 *) ac_try_echo
=$ac_try;;
44870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44871 (eval "$ac_link") 2>conftest.er1
44873 grep -v '^ *+' conftest.er1
>conftest.err
44875 cat conftest.err
>&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); } && {
44878 test -z "$ac_c_werror_flag" ||
44879 test ! -s conftest.err
44880 } && test -s conftest
$ac_exeext &&
44881 $as_test_x conftest
$ac_exeext; then
44882 ac_cv_lib_socket_socket
=yes
44884 echo "$as_me: failed program was:" >&5
44885 sed 's/^/| /' conftest.
$ac_ext >&5
44887 ac_cv_lib_socket_socket
=no
44890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44891 conftest
$ac_exeext conftest.
$ac_ext
44892 LIBS
=$ac_check_lib_save_LIBS
44894 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44895 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44896 if test $ac_cv_lib_socket_socket = yes; then
44897 if test "$INET_LINK" != " -lsocket"; then
44898 INET_LINK
="$INET_LINK -lsocket"
44902 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44903 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44916 if test "$wxUSE_SOCKETS" = "yes" ; then
44917 if test "$TOOLKIT" != "MSW"; then
44918 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44919 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44920 if test "${wx_cv_type_getsockname3+set}" = set; then
44921 echo $ECHO_N "(cached) $ECHO_C" >&6
44925 ac_cpp
='$CXXCPP $CPPFLAGS'
44926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44930 cat >conftest.
$ac_ext <<_ACEOF
44933 cat confdefs.h
>>conftest.
$ac_ext
44934 cat >>conftest.
$ac_ext <<_ACEOF
44935 /* end confdefs.h. */
44937 #include <sys/types.h>
44938 #include <sys/socket.h>
44945 getsockname(0, 0, &len);
44951 rm -f conftest.
$ac_objext
44952 if { (ac_try
="$ac_compile"
44953 case "(($ac_try" in
44954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44955 *) ac_try_echo=$ac_try;;
44957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44958 (eval "$ac_compile") 2>conftest.er1
44960 grep -v '^ *+' conftest.er1 >conftest.err
44962 cat conftest.err >&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } && {
44965 test -z "$ac_cxx_werror_flag" ||
44966 test ! -s conftest.err
44967 } && test -s conftest.$ac_objext; then
44968 wx_cv_type_getsockname3=socklen_t
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44974 CFLAGS_OLD="$CFLAGS"
44975 if test "$GCC" = yes ; then
44976 CFLAGS="-Werror $CFLAGS"
44979 cat >conftest.$ac_ext <<_ACEOF
44982 cat confdefs.h >>conftest.$ac_ext
44983 cat >>conftest.$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44986 #include <sys/types.h>
44987 #include <sys/socket.h>
44994 getsockname(0, 0, &len);
45000 rm -f conftest.$ac_objext
45001 if { (ac_try="$ac_compile"
45002 case "(($ac_try" in
45003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45004 *) ac_try_echo
=$ac_try;;
45006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45007 (eval "$ac_compile") 2>conftest.er1
45009 grep -v '^ *+' conftest.er1
>conftest.err
45011 cat conftest.err
>&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && {
45014 test -z "$ac_cxx_werror_flag" ||
45015 test ! -s conftest.err
45016 } && test -s conftest.
$ac_objext; then
45017 wx_cv_type_getsockname3
=size_t
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.
$ac_ext >&5
45022 cat >conftest.
$ac_ext <<_ACEOF
45025 cat confdefs.h
>>conftest.
$ac_ext
45026 cat >>conftest.
$ac_ext <<_ACEOF
45027 /* end confdefs.h. */
45029 #include <sys/types.h>
45030 #include <sys/socket.h>
45037 getsockname(0, 0, &len);
45043 rm -f conftest.
$ac_objext
45044 if { (ac_try
="$ac_compile"
45045 case "(($ac_try" in
45046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45047 *) ac_try_echo=$ac_try;;
45049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45050 (eval "$ac_compile") 2>conftest.er1
45052 grep -v '^ *+' conftest.er1 >conftest.err
45054 cat conftest.err >&5
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); } && {
45057 test -z "$ac_cxx_werror_flag" ||
45058 test ! -s conftest.err
45059 } && test -s conftest.$ac_objext; then
45060 wx_cv_type_getsockname3=int
45062 echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45065 wx_cv_type_getsockname3=unknown
45069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45075 CFLAGS="$CFLAGS_OLD"
45080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45089 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45090 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45092 if test "$wx_cv_type_getsockname3" = "unknown"; then
45094 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45095 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45097 cat >>confdefs.h <<_ACEOF
45098 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45102 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45103 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45104 if test "${wx_cv_type_getsockopt5+set}" = set; then
45105 echo $ECHO_N "(cached) $ECHO_C" >&6
45109 ac_cpp='$CXXCPP $CPPFLAGS'
45110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45114 cat >conftest.$ac_ext <<_ACEOF
45117 cat confdefs.h >>conftest.$ac_ext
45118 cat >>conftest.$ac_ext <<_ACEOF
45119 /* end confdefs.h. */
45121 #include <sys/types.h>
45122 #include <sys/socket.h>
45129 getsockopt(0, 0, 0, 0, &len);
45135 rm -f conftest.$ac_objext
45136 if { (ac_try="$ac_compile"
45137 case "(($ac_try" in
45138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45139 *) ac_try_echo
=$ac_try;;
45141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45142 (eval "$ac_compile") 2>conftest.er1
45144 grep -v '^ *+' conftest.er1
>conftest.err
45146 cat conftest.err
>&5
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); } && {
45149 test -z "$ac_cxx_werror_flag" ||
45150 test ! -s conftest.err
45151 } && test -s conftest.
$ac_objext; then
45152 wx_cv_type_getsockopt5
=socklen_t
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.
$ac_ext >&5
45158 cat >conftest.
$ac_ext <<_ACEOF
45161 cat confdefs.h
>>conftest.
$ac_ext
45162 cat >>conftest.
$ac_ext <<_ACEOF
45163 /* end confdefs.h. */
45165 #include <sys/types.h>
45166 #include <sys/socket.h>
45173 getsockopt(0, 0, 0, 0, &len);
45179 rm -f conftest.
$ac_objext
45180 if { (ac_try
="$ac_compile"
45181 case "(($ac_try" in
45182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45183 *) ac_try_echo=$ac_try;;
45185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45186 (eval "$ac_compile") 2>conftest.er1
45188 grep -v '^ *+' conftest.er1 >conftest.err
45190 cat conftest.err >&5
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); } && {
45193 test -z "$ac_cxx_werror_flag" ||
45194 test ! -s conftest.err
45195 } && test -s conftest.$ac_objext; then
45196 wx_cv_type_getsockopt5=size_t
45198 echo "$as_me: failed program was:" >&5
45199 sed 's/^/| /' conftest.$ac_ext >&5
45201 cat >conftest.$ac_ext <<_ACEOF
45204 cat confdefs.h >>conftest.$ac_ext
45205 cat >>conftest.$ac_ext <<_ACEOF
45206 /* end confdefs.h. */
45208 #include <sys/types.h>
45209 #include <sys/socket.h>
45216 getsockopt(0, 0, 0, 0, &len);
45222 rm -f conftest.$ac_objext
45223 if { (ac_try="$ac_compile"
45224 case "(($ac_try" in
45225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45226 *) ac_try_echo
=$ac_try;;
45228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45229 (eval "$ac_compile") 2>conftest.er1
45231 grep -v '^ *+' conftest.er1
>conftest.err
45233 cat conftest.err
>&5
45234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45235 (exit $ac_status); } && {
45236 test -z "$ac_cxx_werror_flag" ||
45237 test ! -s conftest.err
45238 } && test -s conftest.
$ac_objext; then
45239 wx_cv_type_getsockopt5
=int
45241 echo "$as_me: failed program was:" >&5
45242 sed 's/^/| /' conftest.
$ac_ext >&5
45244 wx_cv_type_getsockopt5
=unknown
45248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45259 ac_cpp
='$CPP $CPPFLAGS'
45260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45266 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45267 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45269 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45271 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45272 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45274 cat >>confdefs.h
<<_ACEOF
45275 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45282 if test "$wxUSE_SOCKETS" = "yes" ; then
45283 if test "$wxUSE_IPV6" = "yes"; then
45284 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45285 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45286 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45290 cat >conftest.
$ac_ext <<_ACEOF
45293 cat confdefs.h
>>conftest.
$ac_ext
45294 cat >>conftest.
$ac_ext <<_ACEOF
45295 /* end confdefs.h. */
45297 #include <sys/types.h>
45298 #include <sys/socket.h>
45299 #include <netinet/in.h>
45305 struct sockaddr_in6 sa6;
45311 rm -f conftest.
$ac_objext
45312 if { (ac_try
="$ac_compile"
45313 case "(($ac_try" in
45314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45315 *) ac_try_echo=$ac_try;;
45317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45318 (eval "$ac_compile") 2>conftest.er1
45320 grep -v '^ *+' conftest.er1 >conftest.err
45322 cat conftest.err >&5
45323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45324 (exit $ac_status); } && {
45325 test -z "$ac_c_werror_flag" ||
45326 test ! -s conftest.err
45327 } && test -s conftest.$ac_objext; then
45328 wx_cv_type_sockaddr_in6=yes
45330 echo "$as_me: failed program was:" >&5
45331 sed 's/^/| /' conftest.$ac_ext >&5
45333 wx_cv_type_sockaddr_in6=no
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45342 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45344 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_IPV6 1
45350 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45351 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_SOCKETS 1
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45362 if test "$wxUSE_PROTOCOL" = "yes"; then
45363 if test "$wxUSE_SOCKETS" != "yes"; then
45364 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45365 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45370 if test "$wxUSE_PROTOCOL" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_PROTOCOL 1
45376 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_PROTOCOL_HTTP 1
45382 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_PROTOCOL_FTP 1
45388 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_PROTOCOL_FILE 1
45395 if test "$wxUSE_FS_INET" = "yes"; then
45396 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45397 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45402 if test "$wxUSE_URL" = "yes"; then
45403 if test "$wxUSE_PROTOCOL" != "yes"; then
45404 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45405 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45408 if test "$wxUSE_URL" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_URL 1
45416 if test "$wxUSE_VARIANT" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_VARIANT 1
45423 if test "$wxUSE_FS_INET" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_FS_INET 1
45431 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45434 if test "$TOOLKIT" = "MSW"; then
45437 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45438 if test "$USE_DARWIN" = 1; then
45439 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45440 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45442 ac_cpp='$CXXCPP $CPPFLAGS'
45443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45447 cat >conftest.$ac_ext <<_ACEOF
45450 cat confdefs.h >>conftest.$ac_ext
45451 cat >>conftest.$ac_ext <<_ACEOF
45452 /* end confdefs.h. */
45453 #include <IOKit/hid/IOHIDLib.h>
45457 IOHIDQueueInterface *qi = NULL;
45458 IOHIDCallbackFunction cb = NULL;
45459 qi->setEventCallout(NULL, cb, NULL, NULL);
45464 rm -f conftest.$ac_objext
45465 if { (ac_try="$ac_compile"
45466 case "(($ac_try" in
45467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45468 *) ac_try_echo
=$ac_try;;
45470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45471 (eval "$ac_compile") 2>conftest.er1
45473 grep -v '^ *+' conftest.er1
>conftest.err
45475 cat conftest.err
>&5
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); } && {
45478 test -z "$ac_cxx_werror_flag" ||
45479 test ! -s conftest.err
45480 } && test -s conftest.
$ac_objext; then
45484 echo "$as_me: failed program was:" >&5
45485 sed 's/^/| /' conftest.
$ac_ext >&5
45490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45492 ac_cpp
='$CPP $CPPFLAGS'
45493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45497 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45498 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45502 if test "$wxUSE_MGL" != 1; then
45504 for ac_header
in linux
/joystick.h
45506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45509 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45512 cat >conftest.
$ac_ext <<_ACEOF
45515 cat confdefs.h
>>conftest.
$ac_ext
45516 cat >>conftest.
$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 $ac_includes_default
45520 #include <$ac_header>
45522 rm -f conftest.
$ac_objext
45523 if { (ac_try
="$ac_compile"
45524 case "(($ac_try" in
45525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45526 *) ac_try_echo=$ac_try;;
45528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45529 (eval "$ac_compile") 2>conftest.er1
45531 grep -v '^ *+' conftest.er1 >conftest.err
45533 cat conftest.err >&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); } && {
45536 test -z "$ac_c_werror_flag" ||
45537 test ! -s conftest.err
45538 } && test -s conftest.$ac_objext; then
45539 eval "$as_ac_Header=yes"
45541 echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.$ac_ext >&5
45544 eval "$as_ac_Header=no"
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45549 ac_res=`eval echo '${'$as_ac_Header'}'`
45550 { echo "$as_me:$LINENO: result: $ac_res" >&5
45551 echo "${ECHO_T}$ac_res" >&6; }
45552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45553 cat >>confdefs.h <<_ACEOF
45554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45564 if test "$wxUSE_JOYSTICK" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_JOYSTICK 1
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45571 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45572 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45578 if test "$wxUSE_FONTENUM" = "yes" ; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_FONTENUM 1
45585 if test "$wxUSE_FONTMAP" = "yes" ; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_FONTMAP 1
45592 if test "$wxUSE_UNICODE" = "yes" ; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_UNICODE 1
45598 if test "$USE_WIN32" != 1; then
45599 wxUSE_UNICODE_MSLU=no
45602 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45603 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45604 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45605 if test "${ac_cv_lib_unicows_main+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45608 ac_check_lib_save_LIBS=$LIBS
45609 LIBS="-lunicows $LIBS"
45610 cat >conftest.$ac_ext <<_ACEOF
45613 cat confdefs.h >>conftest.$ac_ext
45614 cat >>conftest.$ac_ext <<_ACEOF
45615 /* end confdefs.h. */
45626 rm -f conftest.$ac_objext conftest$ac_exeext
45627 if { (ac_try="$ac_link"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45630 *) ac_try_echo
=$ac_try;;
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_link") 2>conftest.er1
45635 grep -v '^ *+' conftest.er1
>conftest.err
45637 cat conftest.err
>&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest
$ac_exeext &&
45643 $as_test_x conftest
$ac_exeext; then
45644 ac_cv_lib_unicows_main
=yes
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.
$ac_ext >&5
45649 ac_cv_lib_unicows_main
=no
45652 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45653 conftest
$ac_exeext conftest.
$ac_ext
45654 LIBS
=$ac_check_lib_save_LIBS
45656 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45657 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45658 if test $ac_cv_lib_unicows_main = yes; then
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_UNICODE_MSLU 1
45667 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45668 Applications will only run on Windows NT/2000/XP!" >&5
45669 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45670 Applications will only run on Windows NT/2000/XP!" >&2;}
45671 wxUSE_UNICODE_MSLU
=no
45678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_UNICODE_UTF8 1
45684 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_UTF8_LOCALE_ONLY 1
45693 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_CONSTRAINTS 1
45698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45701 if test "$wxUSE_MDI" = "yes"; then
45702 cat >>confdefs.h
<<\_ACEOF
45703 #define wxUSE_MDI 1
45707 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45708 cat >>confdefs.h
<<\_ACEOF
45709 #define wxUSE_MDI_ARCHITECTURE 1
45712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45717 cat >>confdefs.h
<<\_ACEOF
45718 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45724 if test "$wxUSE_HELP" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_HELP 1
45729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45731 if test "$wxUSE_MSW" = 1; then
45732 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_MS_HTML_HELP 1
45740 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45741 if test "$wxUSE_HTML" = "yes"; then
45742 cat >>confdefs.h
<<\_ACEOF
45743 #define wxUSE_WXHTML_HELP 1
45747 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45748 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45749 wxUSE_WXHTML_HELP
=no
45754 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_PRINTING_ARCHITECTURE 1
45759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45762 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45763 cat >>confdefs.h
<<\_ACEOF
45764 #define wxUSE_POSTSCRIPT 1
45769 cat >>confdefs.h
<<\_ACEOF
45770 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45774 if test "$wxUSE_SVG" = "yes"; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_SVG 1
45782 if test "$wxUSE_METAFILE" = "yes"; then
45783 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45784 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45785 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45791 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45792 -o "$wxUSE_CLIPBOARD" = "yes" \
45793 -o "$wxUSE_OLE" = "yes" \
45794 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45795 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45796 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45797 if test "${ac_cv_header_ole2_h+set}" = set; then
45798 echo $ECHO_N "(cached) $ECHO_C" >&6
45800 cat >conftest.
$ac_ext <<_ACEOF
45803 cat confdefs.h
>>conftest.
$ac_ext
45804 cat >>conftest.
$ac_ext <<_ACEOF
45805 /* end confdefs.h. */
45810 rm -f conftest.
$ac_objext
45811 if { (ac_try
="$ac_compile"
45812 case "(($ac_try" in
45813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45814 *) ac_try_echo=$ac_try;;
45816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45817 (eval "$ac_compile") 2>conftest.er1
45819 grep -v '^ *+' conftest.er1 >conftest.err
45821 cat conftest.err >&5
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); } && {
45824 test -z "$ac_c_werror_flag" ||
45825 test ! -s conftest.err
45826 } && test -s conftest.$ac_objext; then
45827 ac_cv_header_ole2_h=yes
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45832 ac_cv_header_ole2_h=no
45835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45837 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45838 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45842 if test "$ac_cv_header_ole2_h" = "yes" ; then
45843 if test "$GCC" = yes ; then
45844 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45845 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45846 cat >conftest.$ac_ext <<_ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 #include <windows.h>
45862 rm -f conftest.$ac_objext
45863 if { (ac_try="$ac_compile"
45864 case "(($ac_try" in
45865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45866 *) ac_try_echo
=$ac_try;;
45868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45869 (eval "$ac_compile") 2>conftest.er1
45871 grep -v '^ *+' conftest.er1
>conftest.err
45873 cat conftest.err
>&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } && {
45876 test -z "$ac_c_werror_flag" ||
45877 test ! -s conftest.err
45878 } && test -s conftest.
$ac_objext; then
45879 { echo "$as_me:$LINENO: result: no" >&5
45880 echo "${ECHO_T}no" >&6; }
45882 echo "$as_me: failed program was:" >&5
45883 sed 's/^/| /' conftest.
$ac_ext >&5
45885 { echo "$as_me:$LINENO: result: yes" >&5
45886 echo "${ECHO_T}yes" >&6; }
45887 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45891 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45892 if test "$wxUSE_OLE" = "yes" ; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_OLE 1
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_OLE_AUTOMATION 1
45901 cat >>confdefs.h
<<\_ACEOF
45902 #define wxUSE_ACTIVEX 1
45905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45909 if test "$wxUSE_DATAOBJ" = "yes" ; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_DATAOBJ 1
45916 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45917 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45920 wxUSE_DRAG_AND_DROP
=no
45925 if test "$wxUSE_METAFILE" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_METAFILE 1
45931 cat >>confdefs.h
<<\_ACEOF
45932 #define wxUSE_ENH_METAFILE 1
45938 if test "$wxUSE_IPC" = "yes"; then
45939 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45940 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45941 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45945 if test "$wxUSE_IPC" = "yes"; then
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_IPC 1
45950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45954 if test "$wxUSE_DATAOBJ" = "yes"; then
45955 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45956 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45957 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_DATAOBJ 1
45966 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45967 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45969 wxUSE_DRAG_AND_DROP
=no
45972 if test "$wxUSE_CLIPBOARD" = "yes"; then
45973 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45974 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45975 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45979 if test "$wxUSE_CLIPBOARD" = "yes"; then
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_CLIPBOARD 1
45987 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45988 if test "$wxUSE_GTK" = 1; then
45989 if test "$WXGTK12" != 1; then
45990 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45991 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45992 wxUSE_DRAG_AND_DROP
=no
45996 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45997 "$wxUSE_DFB" = 1; then
45998 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45999 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46000 wxUSE_DRAG_AND_DROP
=no
46003 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_DRAG_AND_DROP 1
46012 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46016 if test "$wxUSE_CLIPBOARD" = "yes"; then
46017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46020 if test "$wxUSE_SPLINES" = "yes" ; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_SPLINES 1
46027 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46028 cat >>confdefs.h
<<\_ACEOF
46029 #define wxUSE_MOUSEWHEEL 1
46036 if test "$wxUSE_CONTROLS" = "yes"; then
46040 if test "$wxUSE_ACCEL" = "yes"; then
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_ACCEL 1
46048 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_ANIMATIONCTRL 1
46054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46057 if test "$wxUSE_BUTTON" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_BUTTON 1
46065 if test "$wxUSE_BMPBUTTON" = "yes"; then
46066 cat >>confdefs.h
<<\_ACEOF
46067 #define wxUSE_BMPBUTTON 1
46073 if test "$wxUSE_CALCTRL" = "yes"; then
46074 cat >>confdefs.h
<<\_ACEOF
46075 #define wxUSE_CALENDARCTRL 1
46079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46082 if test "$wxUSE_CARET" = "yes"; then
46083 cat >>confdefs.h
<<\_ACEOF
46084 #define wxUSE_CARET 1
46088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46091 if test "$wxUSE_COLLPANE" = "yes"; then
46092 cat >>confdefs.h
<<\_ACEOF
46093 #define wxUSE_COLLPANE 1
46097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46100 if test "$wxUSE_COMBOBOX" = "yes"; then
46101 cat >>confdefs.h
<<\_ACEOF
46102 #define wxUSE_COMBOBOX 1
46108 if test "$wxUSE_COMBOCTRL" = "yes"; then
46109 cat >>confdefs.h
<<\_ACEOF
46110 #define wxUSE_COMBOCTRL 1
46116 if test "$wxUSE_CHOICE" = "yes"; then
46117 cat >>confdefs.h
<<\_ACEOF
46118 #define wxUSE_CHOICE 1
46124 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_CHOICEBOOK 1
46132 if test "$wxUSE_CHECKBOX" = "yes"; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_CHECKBOX 1
46140 if test "$wxUSE_CHECKLST" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_CHECKLISTBOX 1
46148 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_COLOURPICKERCTRL 1
46156 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46157 cat >>confdefs.h
<<\_ACEOF
46158 #define wxUSE_DATEPICKCTRL 1
46164 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46165 cat >>confdefs.h
<<\_ACEOF
46166 #define wxUSE_DIRPICKERCTRL 1
46172 if test "$wxUSE_FILECTRL" = "yes"; then
46173 cat >>confdefs.h
<<\_ACEOF
46174 #define wxUSE_FILECTRL 1
46180 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46181 cat >>confdefs.h
<<\_ACEOF
46182 #define wxUSE_FILEPICKERCTRL 1
46188 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46189 cat >>confdefs.h
<<\_ACEOF
46190 #define wxUSE_FONTPICKERCTRL 1
46196 if test "$wxUSE_DISPLAY" = "yes"; then
46197 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46198 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46199 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46202 cat >>confdefs.h
<<\_ACEOF
46203 #define wxUSE_DISPLAY 1
46206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46210 if test "$wxUSE_DETECT_SM" = "yes"; then
46211 cat >>confdefs.h
<<\_ACEOF
46212 #define wxUSE_DETECT_SM 1
46217 if test "$wxUSE_GAUGE" = "yes"; then
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_GAUGE 1
46225 if test "$wxUSE_GRID" = "yes"; then
46226 cat >>confdefs.h
<<\_ACEOF
46227 #define wxUSE_GRID 1
46231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46234 if test "$wxUSE_HEADERCTRL" = "yes"; then
46235 cat >>confdefs.h
<<\_ACEOF
46236 #define wxUSE_HEADERCTRL 1
46242 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46243 cat >>confdefs.h
<<\_ACEOF
46244 #define wxUSE_HYPERLINKCTRL 1
46250 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46251 cat >>confdefs.h
<<\_ACEOF
46252 #define wxUSE_BITMAPCOMBOBOX 1
46258 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46259 cat >>confdefs.h
<<\_ACEOF
46260 #define wxUSE_DATAVIEWCTRL 1
46264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46267 if test "$wxUSE_IMAGLIST" = "yes"; then
46268 cat >>confdefs.h
<<\_ACEOF
46269 #define wxUSE_IMAGLIST 1
46274 if test "$wxUSE_INFOBAR" = "yes"; then
46275 cat >>confdefs.h
<<\_ACEOF
46276 #define wxUSE_INFOBAR 1
46281 if test "$wxUSE_LISTBOOK" = "yes"; then
46282 cat >>confdefs.h
<<\_ACEOF
46283 #define wxUSE_LISTBOOK 1
46289 if test "$wxUSE_LISTBOX" = "yes"; then
46290 cat >>confdefs.h
<<\_ACEOF
46291 #define wxUSE_LISTBOX 1
46297 if test "$wxUSE_LISTCTRL" = "yes"; then
46298 if test "$wxUSE_IMAGLIST" = "yes"; then
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_LISTCTRL 1
46304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46306 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46307 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46311 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46312 cat >>confdefs.h
<<\_ACEOF
46313 #define wxUSE_EDITABLELISTBOX 1
46319 if test "$wxUSE_NOTEBOOK" = "yes"; then
46320 cat >>confdefs.h
<<\_ACEOF
46321 #define wxUSE_NOTEBOOK 1
46325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46328 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46329 cat >>confdefs.h
<<\_ACEOF
46330 #define wxUSE_NOTIFICATION_MESSAGE 1
46335 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46336 cat >>confdefs.h
<<\_ACEOF
46337 #define wxUSE_ODCOMBOBOX 1
46341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46344 if test "$wxUSE_RADIOBOX" = "yes"; then
46345 cat >>confdefs.h
<<\_ACEOF
46346 #define wxUSE_RADIOBOX 1
46352 if test "$wxUSE_RADIOBTN" = "yes"; then
46353 cat >>confdefs.h
<<\_ACEOF
46354 #define wxUSE_RADIOBTN 1
46360 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46361 cat >>confdefs.h
<<\_ACEOF
46362 #define wxUSE_REARRANGECTRL 1
46367 if test "$wxUSE_SASH" = "yes"; then
46368 cat >>confdefs.h
<<\_ACEOF
46369 #define wxUSE_SASH 1
46372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46375 if test "$wxUSE_SCROLLBAR" = "yes"; then
46376 cat >>confdefs.h
<<\_ACEOF
46377 #define wxUSE_SCROLLBAR 1
46381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46384 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46385 cat >>confdefs.h
<<\_ACEOF
46386 #define wxUSE_SEARCHCTRL 1
46392 if test "$wxUSE_SLIDER" = "yes"; then
46393 cat >>confdefs.h
<<\_ACEOF
46394 #define wxUSE_SLIDER 1
46400 if test "$wxUSE_SPINBTN" = "yes"; then
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define wxUSE_SPINBTN 1
46408 if test "$wxUSE_SPINCTRL" = "yes"; then
46409 cat >>confdefs.h
<<\_ACEOF
46410 #define wxUSE_SPINCTRL 1
46416 if test "$wxUSE_SPLITTER" = "yes"; then
46417 cat >>confdefs.h
<<\_ACEOF
46418 #define wxUSE_SPLITTER 1
46421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46424 if test "$wxUSE_STATBMP" = "yes"; then
46425 cat >>confdefs.h
<<\_ACEOF
46426 #define wxUSE_STATBMP 1
46432 if test "$wxUSE_STATBOX" = "yes"; then
46433 cat >>confdefs.h
<<\_ACEOF
46434 #define wxUSE_STATBOX 1
46440 if test "$wxUSE_STATTEXT" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_STATTEXT 1
46448 if test "$wxUSE_STATLINE" = "yes"; then
46449 cat >>confdefs.h
<<\_ACEOF
46450 #define wxUSE_STATLINE 1
46456 if test "$wxUSE_STATUSBAR" = "yes"; then
46457 cat >>confdefs.h
<<\_ACEOF
46458 #define wxUSE_NATIVE_STATUSBAR 1
46461 cat >>confdefs.h
<<\_ACEOF
46462 #define wxUSE_STATUSBAR 1
46467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46470 if test "$wxUSE_TEXTCTRL" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_TEXTCTRL 1
46476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46478 cat >>confdefs.h
<<\_ACEOF
46479 #define wxUSE_RICHEDIT 1
46482 cat >>confdefs.h
<<\_ACEOF
46483 #define wxUSE_RICHEDIT2 1
46488 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46489 if test "$wxUSE_COCOA" = 1 ; then
46490 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46491 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46495 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46496 cat >>confdefs.h
<<\_ACEOF
46497 #define wxUSE_TOGGLEBTN 1
46504 if test "$wxUSE_TOOLBAR" = "yes"; then
46505 cat >>confdefs.h
<<\_ACEOF
46506 #define wxUSE_TOOLBAR 1
46511 if test "$wxUSE_UNIVERSAL" = "yes"; then
46512 wxUSE_TOOLBAR_NATIVE
="no"
46514 wxUSE_TOOLBAR_NATIVE
="yes"
46515 cat >>confdefs.h
<<\_ACEOF
46516 #define wxUSE_TOOLBAR_NATIVE 1
46521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46524 if test "$wxUSE_TOOLTIPS" = "yes"; then
46525 if test "$wxUSE_MOTIF" = 1; then
46526 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46527 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46529 if test "$wxUSE_UNIVERSAL" = "yes"; then
46530 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46531 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46533 cat >>confdefs.h
<<\_ACEOF
46534 #define wxUSE_TOOLTIPS 1
46541 if test "$wxUSE_TREEBOOK" = "yes"; then
46542 cat >>confdefs.h
<<\_ACEOF
46543 #define wxUSE_TREEBOOK 1
46549 if test "$wxUSE_TOOLBOOK" = "yes"; then
46550 cat >>confdefs.h
<<\_ACEOF
46551 #define wxUSE_TOOLBOOK 1
46557 if test "$wxUSE_TREECTRL" = "yes"; then
46558 if test "$wxUSE_IMAGLIST" = "yes"; then
46559 cat >>confdefs.h
<<\_ACEOF
46560 #define wxUSE_TREECTRL 1
46564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46566 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46567 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46571 if test "$wxUSE_POPUPWIN" = "yes"; then
46572 if test "$wxUSE_COCOA" = 1 ; then
46573 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46574 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46576 if test "$wxUSE_PM" = 1; then
46577 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46578 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46580 cat >>confdefs.h
<<\_ACEOF
46581 #define wxUSE_POPUPWIN 1
46584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46591 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46593 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46594 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46596 cat >>confdefs.h
<<\_ACEOF
46597 #define wxUSE_DIALUP_MANAGER 1
46600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46604 if test "$wxUSE_TIPWINDOW" = "yes"; then
46605 if test "$wxUSE_PM" = 1; then
46606 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46607 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46609 cat >>confdefs.h
<<\_ACEOF
46610 #define wxUSE_TIPWINDOW 1
46616 if test "$USES_CONTROLS" = 1; then
46617 cat >>confdefs.h
<<\_ACEOF
46618 #define wxUSE_CONTROLS 1
46624 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46625 cat >>confdefs.h
<<\_ACEOF
46626 #define wxUSE_ACCESSIBILITY 1
46629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46632 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46633 cat >>confdefs.h
<<\_ACEOF
46634 #define wxUSE_DRAGIMAGE 1
46637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46640 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46641 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46642 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46643 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46645 cat >>confdefs.h
<<\_ACEOF
46646 #define wxUSE_EXCEPTIONS 1
46649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46654 if test "$wxUSE_HTML" = "yes"; then
46655 cat >>confdefs.h
<<\_ACEOF
46656 #define wxUSE_HTML 1
46660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46662 if test "$wxUSE_WEBKIT" = "yes"; then
46663 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46664 old_CPPFLAGS
="$CPPFLAGS"
46665 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46666 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46667 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46668 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46671 cat >conftest.
$ac_ext <<_ACEOF
46674 cat confdefs.h
>>conftest.
$ac_ext
46675 cat >>conftest.
$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46678 #include <Carbon/Carbon.h>
46679 #include <WebKit/WebKit.h>
46682 #include <WebKit/HIWebView.h>
46684 rm -f conftest.
$ac_objext
46685 if { (ac_try
="$ac_compile"
46686 case "(($ac_try" in
46687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46688 *) ac_try_echo=$ac_try;;
46690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46691 (eval "$ac_compile") 2>conftest.er1
46693 grep -v '^ *+' conftest.er1 >conftest.err
46695 cat conftest.err >&5
46696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46697 (exit $ac_status); } && {
46698 test -z "$ac_c_werror_flag" ||
46699 test ! -s conftest.err
46700 } && test -s conftest.$ac_objext; then
46701 ac_cv_header_WebKit_HIWebView_h=yes
46703 echo "$as_me: failed program was:" >&5
46704 sed 's/^/| /' conftest.$ac_ext >&5
46706 ac_cv_header_WebKit_HIWebView_h=no
46709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46711 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46712 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46713 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_WEBKIT 1
46719 WEBKIT_LINK="-framework WebKit"
46723 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46724 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46730 CPPFLAGS="$old_CPPFLAGS"
46731 elif test "$wxUSE_COCOA" = 1; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_WEBKIT 1
46739 if test "$wxUSE_WEBKIT" = "yes"; then
46740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46745 if test "$wxUSE_XRC" = "yes"; then
46746 if test "$wxUSE_XML" != "yes"; then
46747 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46748 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_XRC 1
46756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46761 if test "$wxUSE_AUI" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_AUI 1
46767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46771 if test "$wxUSE_PROPGRID" = "yes"; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_PROPGRID 1
46777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46781 if test "$wxUSE_RIBBON" = "yes"; then
46782 cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_RIBBON 1
46787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46791 if test "$wxUSE_STC" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_STC 1
46797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46799 # Extract the first word of "python", so it can be a program name with args.
46800 set dummy python; ac_word=$2
46801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46803 if test "${ac_cv_path_PYTHON+set}" = set; then
46804 echo $ECHO_N "(cached) $ECHO_C" >&6
46808 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46812 for as_dir in $PATH
46815 test -z "$as_dir" && as_dir=.
46816 for ac_exec_ext in '' $ac_executable_extensions; do
46817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46818 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46829 PYTHON=$ac_cv_path_PYTHON
46830 if test -n "$PYTHON"; then
46831 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46832 echo "${ECHO_T}$PYTHON" >&6; }
46834 { echo "$as_me:$LINENO: result: no" >&5
46835 echo "${ECHO_T}no" >&6; }
46839 if test "x$PYTHON" = "x"; then
46845 if test "$wxUSE_MENUS" = "yes"; then
46846 cat >>confdefs.h <<\_ACEOF
46847 #define wxUSE_MENUS 1
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46853 if test "$wxUSE_METAFILE" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_METAFILE 1
46860 if test "$wxUSE_MIMETYPE" = "yes"; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_MIMETYPE 1
46867 if test "$wxUSE_MINIFRAME" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_MINIFRAME 1
46874 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_SYSTEM_OPTIONS 1
46881 if test "$wxUSE_TASKBARICON" = "yes"; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_TASKBARICON 1
46886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46890 if test "$wxUSE_VALIDATORS" = "yes"; then
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_VALIDATORS 1
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46898 if test "$wxUSE_PALETTE" = "yes" ; then
46899 if test "$wxUSE_DFB" = 1; then
46900 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46901 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_PALETTE 1
46911 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46912 LIBS=" -lunicows $LIBS"
46916 if test "$wxUSE_RICHTEXT" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_RICHTEXT 1
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46926 if test "$wxUSE_IMAGE" = "yes" ; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_IMAGE 1
46932 if test "$wxUSE_GIF" = "yes" ; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_GIF 1
46939 if test "$wxUSE_PCX" = "yes" ; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_PCX 1
46946 if test "$wxUSE_TGA" = "yes" ; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_TGA 1
46953 if test "$wxUSE_IFF" = "yes" ; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_IFF 1
46960 if test "$wxUSE_PNM" = "yes" ; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_PNM 1
46967 if test "$wxUSE_XPM" = "yes" ; then
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_XPM 1
46974 if test "$wxUSE_ICO_CUR" = "yes" ; then
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_ICO_CUR 1
46983 if test "$wxUSE_ABOUTDLG" = "yes"; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_ABOUTDLG 1
46990 if test "$wxUSE_CHOICEDLG" = "yes"; then
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_CHOICEDLG 1
46997 if test "$wxUSE_COLOURDLG" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_COLOURDLG 1
47004 if test "$wxUSE_FILEDLG" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_FILEDLG 1
47011 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_FINDREPLDLG 1
47018 if test "$wxUSE_FONTDLG" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_FONTDLG 1
47025 if test "$wxUSE_DIRDLG" = "yes"; then
47026 if test "$wxUSE_TREECTRL" != "yes"; then
47027 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47028 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_DIRDLG 1
47037 if test "$wxUSE_MSGDLG" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_MSGDLG 1
47044 if test "$wxUSE_NUMBERDLG" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_NUMBERDLG 1
47051 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_PROGRESSDLG 1
47058 if test "$wxUSE_SPLASH" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_SPLASH 1
47063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47066 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_STARTUP_TIPS 1
47073 if test "$wxUSE_TEXTDLG" = "yes"; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_TEXTDLG 1
47080 if test "$wxUSE_WIZARDDLG" = "yes"; then
47081 cat >>confdefs.h <<\_ACEOF
47082 #define wxUSE_WIZARDDLG 1
47085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47089 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47090 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_OWNER_DRAWN 1
47099 if test "$wxUSE_MSW" = 1 ; then
47101 if test "$wxUSE_DC_CACHEING" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_DC_CACHEING 1
47108 if test "$wxUSE_DIB" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_WXDIB 1
47115 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47122 if test "$wxUSE_UXTHEME" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_UXTHEME 1
47131 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_AUTOID_MANAGEMENT 1
47138 if test "$USE_WIN32" = 1 ; then
47139 if test "$wxUSE_INICONF" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_INICONF 1
47146 if test "$wxUSE_REGKEY" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_REGKEY 1
47155 if test "$wxUSE_MAC" = 1; then
47156 wxUSE_GRAPHICS_CONTEXT="yes"
47159 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47161 if test "$wxUSE_MSW" = 1; then
47162 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47163 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47164 if test "${wx_cv_lib_gdiplus+set}" = set; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 ac_cpp='$CXXCPP $CPPFLAGS'
47170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174 cat >conftest.$ac_ext <<_ACEOF
47177 cat confdefs.h >>conftest.$ac_ext
47178 cat >>conftest.$ac_ext <<_ACEOF
47179 /* end confdefs.h. */
47180 #include <gdiplus.h>
47185 using namespace Gdiplus;
47191 rm -f conftest.$ac_objext
47192 if { (ac_try="$ac_compile"
47193 case "(($ac_try" in
47194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47195 *) ac_try_echo
=$ac_try;;
47197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47198 (eval "$ac_compile") 2>conftest.er1
47200 grep -v '^ *+' conftest.er1
>conftest.err
47202 cat conftest.err
>&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } && {
47205 test -z "$ac_cxx_werror_flag" ||
47206 test ! -s conftest.err
47207 } && test -s conftest.
$ac_objext; then
47208 wx_cv_lib_gdiplus
=yes
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.
$ac_ext >&5
47213 wx_cv_lib_gdiplus
=no
47217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47219 ac_cpp
='$CPP $CPPFLAGS'
47220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47227 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47228 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47229 if test "$wx_cv_lib_gdiplus" = "yes"; then
47232 elif test "$wxUSE_GTK" = 1; then
47235 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47236 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47238 if test -n "$PKG_CONFIG"; then
47239 if test -n "$CAIRO_CFLAGS"; then
47240 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47242 if test -n "$PKG_CONFIG" && \
47243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47244 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); }; then
47248 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47256 if test -n "$PKG_CONFIG"; then
47257 if test -n "$CAIRO_LIBS"; then
47258 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47260 if test -n "$PKG_CONFIG" && \
47261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47262 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); }; then
47266 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47277 if test $pkg_failed = yes; then
47279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47280 _pkg_short_errors_supported
=yes
47282 _pkg_short_errors_supported
=no
47284 if test $_pkg_short_errors_supported = yes; then
47285 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47287 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47289 # Put the nasty error message in config.log where it belongs
47290 echo "$CAIRO_PKG_ERRORS" >&5
47292 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47293 echo "$as_me: WARNING: Cairo library not found" >&2;}
47295 elif test $pkg_failed = untried
; then
47296 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47297 echo "$as_me: WARNING: Cairo library not found" >&2;}
47300 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47301 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47302 { echo "$as_me:$LINENO: result: yes" >&5
47303 echo "${ECHO_T}yes" >&6; }
47310 if test "$wx_has_graphics" = 1; then
47311 cat >>confdefs.h
<<\_ACEOF
47312 #define wxUSE_GRAPHICS_CONTEXT 1
47316 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47317 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47324 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47327 if test "$wxUSE_GTK" = 1; then
47328 wxUSE_GSTREAMER
="no"
47330 GST_VERSION_MAJOR
=0
47331 GST_VERSION_MINOR
=10
47332 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47334 if test "$wxUSE_GSTREAMER8" = "no"; then
47337 { echo "$as_me:$LINENO: checking for GST" >&5
47338 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47340 if test -n "$PKG_CONFIG"; then
47341 if test -n "$GST_CFLAGS"; then
47342 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47344 if test -n "$PKG_CONFIG" && \
47345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47349 (exit $ac_status); }; then
47350 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47358 if test -n "$PKG_CONFIG"; then
47359 if test -n "$GST_LIBS"; then
47360 pkg_cv_GST_LIBS
="$GST_LIBS"
47362 if test -n "$PKG_CONFIG" && \
47363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47367 (exit $ac_status); }; then
47368 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47379 if test $pkg_failed = yes; then
47381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47382 _pkg_short_errors_supported
=yes
47384 _pkg_short_errors_supported
=no
47386 if test $_pkg_short_errors_supported = yes; then
47387 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47389 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47391 # Put the nasty error message in config.log where it belongs
47392 echo "$GST_PKG_ERRORS" >&5
47395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47396 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47397 GST_VERSION_MINOR
=8
47400 elif test $pkg_failed = untried
; then
47402 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47403 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47404 GST_VERSION_MINOR
=8
47408 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47409 GST_LIBS
=$pkg_cv_GST_LIBS
47410 { echo "$as_me:$LINENO: result: yes" >&5
47411 echo "${ECHO_T}yes" >&6; }
47413 wxUSE_GSTREAMER
="yes"
47414 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47418 GST_VERSION_MINOR
=8
47421 if test $GST_VERSION_MINOR = "8"; then
47422 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47425 { echo "$as_me:$LINENO: checking for GST" >&5
47426 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47428 if test -n "$PKG_CONFIG"; then
47429 if test -n "$GST_CFLAGS"; then
47430 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47432 if test -n "$PKG_CONFIG" && \
47433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47434 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; then
47438 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47446 if test -n "$PKG_CONFIG"; then
47447 if test -n "$GST_LIBS"; then
47448 pkg_cv_GST_LIBS
="$GST_LIBS"
47450 if test -n "$PKG_CONFIG" && \
47451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47452 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47455 (exit $ac_status); }; then
47456 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47467 if test $pkg_failed = yes; then
47469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47470 _pkg_short_errors_supported
=yes
47472 _pkg_short_errors_supported
=no
47474 if test $_pkg_short_errors_supported = yes; then
47475 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47477 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47479 # Put the nasty error message in config.log where it belongs
47480 echo "$GST_PKG_ERRORS" >&5
47483 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47484 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47486 elif test $pkg_failed = untried
; then
47488 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47489 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47492 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47493 GST_LIBS
=$pkg_cv_GST_LIBS
47494 { echo "$as_me:$LINENO: result: yes" >&5
47495 echo "${ECHO_T}yes" >&6; }
47496 wxUSE_GSTREAMER
="yes"
47501 if test "$wxUSE_GSTREAMER" = "yes"; then
47502 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47503 EXTRALIBS_MEDIA
="$GST_LIBS"
47505 cat >>confdefs.h
<<\_ACEOF
47506 #define wxUSE_GSTREAMER 1
47514 if test $USE_MEDIA = 1; then
47515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47516 cat >>confdefs.h
<<\_ACEOF
47517 #define wxUSE_MEDIACTRL 1
47521 if test "$wxUSE_MEDIACTRL" = "yes"; then
47522 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47523 echo "$as_me: error: GStreamer not available" >&2;}
47524 { (exit 1); exit 1; }; }
47526 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47527 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47533 if test "$cross_compiling" != "no"; then
47536 OSINFO
=`uname -s -r -m`
47537 OSINFO
="\"$OSINFO\""
47540 cat >>confdefs.h
<<_ACEOF
47541 #define WXWIN_OS_DESCRIPTION $OSINFO
47546 if test "x$prefix" != "xNONE"; then
47549 wxPREFIX
=$ac_default_prefix
47552 cat >>confdefs.h
<<_ACEOF
47553 #define wxINSTALL_PREFIX "$wxPREFIX"
47559 STD_BASE_LIBS
="base"
47561 BUILT_WX_LIBS
="base"
47562 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47564 if test "$wxUSE_SOCKETS" = "yes" ; then
47565 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47566 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47568 if test "$wxUSE_XML" = "yes" ; then
47569 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47570 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47573 if test "$wxUSE_GUI" = "yes"; then
47574 STD_GUI_LIBS
="adv core"
47575 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47577 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47578 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47579 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47581 if test "$wxUSE_HTML" = "yes" ; then
47582 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47583 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47585 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47586 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47588 if test "$wxUSE_OPENGL" = "yes" ; then
47589 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47591 if test "$wxUSE_AUI" = "yes" ; then
47592 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47594 if test "$wxUSE_PROPGRID" = "yes" ; then
47595 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47597 if test "$wxUSE_RIBBON" = "yes" ; then
47598 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47600 if test "$wxUSE_RICHTEXT" = "yes" ; then
47601 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47603 if test "$wxUSE_STC" = "yes" ; then
47604 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47606 if test "$wxUSE_XRC" = "yes" ; then
47607 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47608 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47619 if test "$wxUSE_MAC" = 1 ; then
47620 if test "$USE_DARWIN" = 1; then
47621 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47624 if test "$wxUSE_COCOA" = 1 ; then
47625 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
47626 if test "$wxUSE_MEDIACTRL" = "yes"; then
47627 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
47630 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47631 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47634 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
47635 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47637 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47639 if test "$wxUSE_GUI" = "yes"; then
47642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47643 erase event exec font image minimal render \
47644 shaped svg taborder vscroll widgets wrapsizer"
47646 if test "$wxUSE_MONOLITHIC" != "yes"; then
47647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47649 if test "$TOOLKIT" = "MSW"; then
47650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47651 if test "$wxUSE_UNIVERSAL" != "yes"; then
47652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47655 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47659 SAMPLES_SUBDIRS
="console"
47660 if test "$wxUSE_SOCKETS" = "yes" ; then
47661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47663 if test "$wxUSE_IPC" = "yes" ; then
47664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47669 if test "x$INTELCC" = "xyes" ; then
47670 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
47671 elif test "$GCC" = yes ; then
47672 CWARNINGS
="-Wall -Wundef"
47675 if test "x$INTELCXX" = "xyes" ; then
47676 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47677 elif test "$GXX" = yes ; then
47678 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47679 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47680 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47681 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
47687 ac_cpp
='$CXXCPP $CPPFLAGS'
47688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47692 ac_save_CXXFLAGS
="$CXXFLAGS"
47693 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47694 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47695 cat >conftest.
$ac_ext <<_ACEOF
47698 cat confdefs.h
>>conftest.
$ac_ext
47699 cat >>conftest.
$ac_ext <<_ACEOF
47700 /* end confdefs.h. */
47710 rm -f conftest.
$ac_objext
47711 if { (ac_try
="$ac_compile"
47712 case "(($ac_try" in
47713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47714 *) ac_try_echo=$ac_try;;
47716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47717 (eval "$ac_compile") 2>conftest.er1
47719 grep -v '^ *+' conftest.er1 >conftest.err
47721 cat conftest.err >&5
47722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723 (exit $ac_status); } && {
47724 test -z "$ac_cxx_werror_flag" ||
47725 test ! -s conftest.err
47726 } && test -s conftest.$ac_objext; then
47727 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47729 echo "$as_me: failed program was:" >&5
47730 sed 's/^/| /' conftest.$ac_ext >&5
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47737 CXXFLAGS="$ac_save_CXXFLAGS"
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47747 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47748 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47752 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47753 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47754 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757 (exit $ac_status); }
47758 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47759 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }
47763 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47769 if test "$wxUSE_MAC" = 1 ; then
47770 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47775 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47776 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47779 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47780 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47781 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47784 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47785 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47786 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47787 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47788 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47790 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47793 if test "x$MWCC" = "xyes"; then
47795 CC="$CC -cwd source -I-"
47796 CXX="$CXX -cwd source -I-"
47801 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47802 EXTRALIBS_XML="$EXPAT_LINK"
47803 EXTRALIBS_HTML="$MSPACK_LINK"
47804 EXTRALIBS_MEDIA="$GST_LIBS"
47805 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47806 if test "$wxUSE_GUI" = "yes"; then
47807 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47809 if test "$wxUSE_OPENGL" = "yes"; then
47810 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47813 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47815 WXCONFIG_LIBS="$LIBS"
47817 if test "$wxUSE_REGEX" = "builtin" ; then
47818 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47820 if test "$wxUSE_EXPAT" = "builtin" ; then
47821 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47823 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47824 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47826 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47827 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47829 if test "$wxUSE_LIBPNG" = "builtin" ; then
47830 wxconfig_3rdparty="png $wxconfig_3rdparty"
47832 if test "$wxUSE_ZLIB" = "builtin" ; then
47833 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47836 for i in $wxconfig_3rdparty ; do
47837 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47841 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47844 case "$wxUNIV_THEMES" in
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_ALL_THEMES 1
47853 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47854 cat >>confdefs.h <<_ACEOF
47855 #define wxUSE_THEME_$t 1
47871 if test $wxUSE_MONOLITHIC = "yes" ; then
47877 if test $wxUSE_PLUGINS = "yes" ; then
47883 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47889 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47921 TOOLKIT_LOWERCASE=xxx
47922 if test "$TOOLKIT" = "MAC"; then
47923 TOOLKIT_LOWERCASE=osx_carbon
47925 if test "$TOOLKIT" = "OSX_CARBON"; then
47926 TOOLKIT_LOWERCASE=osx_carbon
47928 if test "$TOOLKIT" = "OSX_COCOA"; then
47929 TOOLKIT_LOWERCASE=osx_cocoa
47931 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47932 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47946 TOOLKIT_DESC="GTK+"
47947 if test "$WXGTK2" = 1; then
47948 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47949 if test "$wxUSE_GTKPRINT" = "yes" ; then
47950 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47952 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47953 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47955 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47956 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47958 if test "$wxUSE_LIBHILDON" = "yes"; then
47959 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47961 if test "$wxUSE_LIBHILDON2" = "yes"; then
47962 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47965 if test "$TOOLKIT_EXTRA" != ""; then
47966 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47972 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47976 TOOLKIT_DESC="base only"
47980 if test "$wxUSE_WINE" = "yes"; then
47981 BAKEFILE_FORCE_PLATFORM=win32
47984 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47986 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47987 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47988 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47989 echo $ECHO_N "(cached) $ECHO_C" >&6
47992 echo '#include <stdio.h>
47993 const wchar_t test_var[] = L"awidetest";' > conftest.h
47995 echo '#include "conftest.h"
47998 printf("%ls", test_var);
48002 wx_cv_gcc_pch_bug="pch not supported"
48004 if $CXX conftest.h >/dev/null 2>&1
48008 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48010 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48011 grep awidetest >/dev/null
48013 wx_cv_gcc_pch_bug=no
48015 wx_cv_gcc_pch_bug=yes
48020 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48023 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48024 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48026 if test "$wx_cv_gcc_pch_bug" = yes; then
48037 if test "x$BAKEFILE_HOST" = "x"; then
48038 if test "x${host}" = "x" ; then
48039 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48040 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48041 { (exit 1); exit 1; }; }
48044 BAKEFILE_HOST="${host}"
48047 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48049 if test -n "$ac_tool_prefix"; then
48050 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48051 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48054 if test "${ac_cv_prog_RANLIB+set}" = set; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48057 if test -n "$RANLIB"; then
48058 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48061 for as_dir in $PATH
48064 test -z "$as_dir" && as_dir=.
48065 for ac_exec_ext in '' $ac_executable_extensions; do
48066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48067 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48077 RANLIB=$ac_cv_prog_RANLIB
48078 if test -n "$RANLIB"; then
48079 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48080 echo "${ECHO_T}$RANLIB" >&6; }
48082 { echo "$as_me:$LINENO: result: no" >&5
48083 echo "${ECHO_T}no" >&6; }
48088 if test -z "$ac_cv_prog_RANLIB"; then
48089 ac_ct_RANLIB=$RANLIB
48090 # Extract the first word of "ranlib", so it can be a program name with args.
48091 set dummy ranlib; ac_word=$2
48092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48094 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48095 echo $ECHO_N "(cached) $ECHO_C" >&6
48097 if test -n "$ac_ct_RANLIB"; then
48098 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48101 for as_dir in $PATH
48104 test -z "$as_dir" && as_dir=.
48105 for ac_exec_ext in '' $ac_executable_extensions; do
48106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48107 ac_cv_prog_ac_ct_RANLIB="ranlib"
48108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48117 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48118 if test -n "$ac_ct_RANLIB"; then
48119 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48120 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48122 { echo "$as_me:$LINENO: result: no" >&5
48123 echo "${ECHO_T}no" >&6; }
48126 if test "x$ac_ct_RANLIB" = x; then
48129 case $cross_compiling:$ac_tool_warned in
48131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48132 whose name does not start with the host triplet. If you think this
48133 configuration is useful to you, please write to autoconf@gnu.org." >&5
48134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48135 whose name does not start with the host triplet. If you think this
48136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48137 ac_tool_warned=yes ;;
48139 RANLIB=$ac_ct_RANLIB
48142 RANLIB="$ac_cv_prog_RANLIB"
48145 # Find a good install program. We prefer a C program (faster),
48146 # so one script is as good as another. But avoid the broken or
48147 # incompatible versions:
48148 # SysV /etc/install, /usr/sbin/install
48149 # SunOS /usr/etc/install
48150 # IRIX /sbin/install
48152 # AmigaOS /C/install, which installs bootblocks on floppy discs
48153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48156 # OS/2's system install, which has a completely different semantic
48157 # ./install, which can be erroneously created by make from ./install.sh.
48158 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48160 if test -z "$INSTALL"; then
48161 if test "${ac_cv_path_install+set}" = set; then
48162 echo $ECHO_N "(cached) $ECHO_C" >&6
48164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48165 for as_dir in $PATH
48168 test -z "$as_dir" && as_dir=.
48169 # Account for people who put trailing slashes in PATH elements.
48171 ./ | .// | /cC/* | \
48172 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48173 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48176 # OSF1 and SCO ODT 3.0 have their own names for install.
48177 # Don't use installbsd from OSF since it installs stuff as root
48179 for ac_prog in ginstall scoinst install; do
48180 for ac_exec_ext in '' $ac_executable_extensions; do
48181 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48182 if test $ac_prog = install &&
48183 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48184 # AIX install. It has an incompatible calling convention.
48186 elif test $ac_prog = install &&
48187 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48188 # program-specific install script used by HP pwplus--don't use.
48191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48204 if test "${ac_cv_path_install+set}" = set; then
48205 INSTALL=$ac_cv_path_install
48207 # As a last resort, use the slow shell script. Don't cache a
48208 # value for INSTALL within a source directory, because that will
48209 # break other packages using the cache if that directory is
48210 # removed, or if the value is a relative name.
48211 INSTALL=$ac_install_sh
48214 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48215 echo "${ECHO_T}$INSTALL" >&6; }
48217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48218 # It thinks the first close brace ends the variable substitution.
48219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48225 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48226 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48228 if test "$LN_S" = "ln -s"; then
48229 { echo "$as_me:$LINENO: result: yes" >&5
48230 echo "${ECHO_T}yes" >&6; }
48232 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48233 echo "${ECHO_T}no, using $LN_S" >&6; }
48237 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48238 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48239 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48240 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48241 echo $ECHO_N "(cached) $ECHO_C" >&6
48243 cat >conftest.make <<\_ACEOF
48246 @echo '@@@%%%=$(MAKE)=@@@%%%'
48248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48249 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48250 *@@@%%%=?*=@@@%%%*)
48251 eval ac_cv_prog_make_${ac_make}_set=yes;;
48253 eval ac_cv_prog_make_${ac_make}_set=no;;
48255 rm -f conftest.make
48257 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48258 { echo "$as_me:$LINENO: result: yes" >&5
48259 echo "${ECHO_T}yes" >&6; }
48262 { echo "$as_me:$LINENO: result: no" >&5
48263 echo "${ECHO_T}no" >&6; }
48264 SET_MAKE="MAKE=${MAKE-make}"
48269 if test "x$SUNCXX" = "xyes"; then
48271 AROPTIONS="-xar -o"
48273 elif test "x$SGICC" = "xyes"; then
48278 if test -n "$ac_tool_prefix"; then
48279 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48280 set dummy ${ac_tool_prefix}ar; ac_word=$2
48281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48283 if test "${ac_cv_prog_AR+set}" = set; then
48284 echo $ECHO_N "(cached) $ECHO_C" >&6
48286 if test -n "$AR"; then
48287 ac_cv_prog_AR="$AR" # Let the user override the test.
48289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48290 for as_dir in $PATH
48293 test -z "$as_dir" && as_dir=.
48294 for ac_exec_ext in '' $ac_executable_extensions; do
48295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48296 ac_cv_prog_AR="${ac_tool_prefix}ar"
48297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48307 if test -n "$AR"; then
48308 { echo "$as_me:$LINENO: result: $AR" >&5
48309 echo "${ECHO_T}$AR" >&6; }
48311 { echo "$as_me:$LINENO: result: no" >&5
48312 echo "${ECHO_T}no" >&6; }
48317 if test -z "$ac_cv_prog_AR"; then
48319 # Extract the first word of "ar", so it can be a program name with args.
48320 set dummy ar; ac_word=$2
48321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48323 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48324 echo $ECHO_N "(cached) $ECHO_C" >&6
48326 if test -n "$ac_ct_AR"; then
48327 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48330 for as_dir in $PATH
48333 test -z "$as_dir" && as_dir=.
48334 for ac_exec_ext in '' $ac_executable_extensions; do
48335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48336 ac_cv_prog_ac_ct_AR="ar"
48337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48346 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48347 if test -n "$ac_ct_AR"; then
48348 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48349 echo "${ECHO_T}$ac_ct_AR" >&6; }
48351 { echo "$as_me:$LINENO: result: no" >&5
48352 echo "${ECHO_T}no" >&6; }
48355 if test "x$ac_ct_AR" = x; then
48358 case $cross_compiling:$ac_tool_warned in
48360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48361 whose name does not start with the host triplet. If you think this
48362 configuration is useful to you, please write to autoconf@gnu.org." >&5
48363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48364 whose name does not start with the host triplet. If you think this
48365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48366 ac_tool_warned=yes ;;
48371 AR="$ac_cv_prog_AR"
48378 if test -n "$ac_tool_prefix"; then
48379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48380 set dummy ${ac_tool_prefix}strip; ac_word=$2
48381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48383 if test "${ac_cv_prog_STRIP+set}" = set; then
48384 echo $ECHO_N "(cached) $ECHO_C" >&6
48386 if test -n "$STRIP"; then
48387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48390 for as_dir in $PATH
48393 test -z "$as_dir" && as_dir=.
48394 for ac_exec_ext in '' $ac_executable_extensions; do
48395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48396 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48406 STRIP=$ac_cv_prog_STRIP
48407 if test -n "$STRIP"; then
48408 { echo "$as_me:$LINENO: result: $STRIP" >&5
48409 echo "${ECHO_T}$STRIP" >&6; }
48411 { echo "$as_me:$LINENO: result: no" >&5
48412 echo "${ECHO_T}no" >&6; }
48417 if test -z "$ac_cv_prog_STRIP"; then
48419 # Extract the first word of "strip", so it can be a program name with args.
48420 set dummy strip; ac_word=$2
48421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48424 echo $ECHO_N "(cached) $ECHO_C" >&6
48426 if test -n "$ac_ct_STRIP"; then
48427 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48430 for as_dir in $PATH
48433 test -z "$as_dir" && as_dir=.
48434 for ac_exec_ext in '' $ac_executable_extensions; do
48435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48436 ac_cv_prog_ac_ct_STRIP="strip"
48437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48446 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48447 if test -n "$ac_ct_STRIP"; then
48448 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48449 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48451 { echo "$as_me:$LINENO: result: no" >&5
48452 echo "${ECHO_T}no" >&6; }
48455 if test "x$ac_ct_STRIP" = x; then
48458 case $cross_compiling:$ac_tool_warned in
48460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48461 whose name does not start with the host triplet. If you think this
48462 configuration is useful to you, please write to autoconf@gnu.org." >&5
48463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48464 whose name does not start with the host triplet. If you think this
48465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48466 ac_tool_warned=yes ;;
48471 STRIP="$ac_cv_prog_STRIP"
48474 if test -n "$ac_tool_prefix"; then
48475 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48476 set dummy ${ac_tool_prefix}nm; ac_word=$2
48477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48479 if test "${ac_cv_prog_NM+set}" = set; then
48480 echo $ECHO_N "(cached) $ECHO_C" >&6
48482 if test -n "$NM"; then
48483 ac_cv_prog_NM="$NM" # Let the user override the test.
48485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48486 for as_dir in $PATH
48489 test -z "$as_dir" && as_dir=.
48490 for ac_exec_ext in '' $ac_executable_extensions; do
48491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48492 ac_cv_prog_NM="${ac_tool_prefix}nm"
48493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48503 if test -n "$NM"; then
48504 { echo "$as_me:$LINENO: result: $NM" >&5
48505 echo "${ECHO_T}$NM" >&6; }
48507 { echo "$as_me:$LINENO: result: no" >&5
48508 echo "${ECHO_T}no" >&6; }
48513 if test -z "$ac_cv_prog_NM"; then
48515 # Extract the first word of "nm", so it can be a program name with args.
48516 set dummy nm; ac_word=$2
48517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48519 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48520 echo $ECHO_N "(cached) $ECHO_C" >&6
48522 if test -n "$ac_ct_NM"; then
48523 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48526 for as_dir in $PATH
48529 test -z "$as_dir" && as_dir=.
48530 for ac_exec_ext in '' $ac_executable_extensions; do
48531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48532 ac_cv_prog_ac_ct_NM="nm"
48533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48542 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48543 if test -n "$ac_ct_NM"; then
48544 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48545 echo "${ECHO_T}$ac_ct_NM" >&6; }
48547 { echo "$as_me:$LINENO: result: no" >&5
48548 echo "${ECHO_T}no" >&6; }
48551 if test "x$ac_ct_NM" = x; then
48554 case $cross_compiling:$ac_tool_warned in
48556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48557 whose name does not start with the host triplet. If you think this
48558 configuration is useful to you, please write to autoconf@gnu.org." >&5
48559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48560 whose name does not start with the host triplet. If you think this
48561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48562 ac_tool_warned=yes ;;
48567 NM="$ac_cv_prog_NM"
48571 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48572 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48573 INSTALL_TEST_DIR=acbftest$$
48574 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48575 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48576 rmdir $INSTALL_TEST_DIR
48577 INSTALL_DIR='$(INSTALL) -d'
48578 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48579 echo "${ECHO_T}$INSTALL -d" >&6; }
48581 INSTALL_DIR="mkdir -p"
48582 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48583 echo "${ECHO_T}mkdir -p" >&6; }
48588 case ${BAKEFILE_HOST} in
48589 *-*-cygwin* | *-*-mingw32* )
48590 LDFLAGS_GUI="-mwindows"
48596 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48597 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48598 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48599 echo $ECHO_N "(cached) $ECHO_C" >&6
48602 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48603 egrep -s GNU > /dev/null); then
48604 bakefile_cv_prog_makeisgnu="yes"
48606 bakefile_cv_prog_makeisgnu="no"
48610 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48611 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48613 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48630 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48631 case "${BAKEFILE_HOST}" in
48638 *-pc-os2_emx | *-pc-os2-emx )
48648 powerpc-apple-macos* )
48657 case "$BAKEFILE_FORCE_PLATFORM" in
48678 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48679 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48680 { (exit 1); exit 1; }; }
48695 # Check whether --enable-omf was given.
48696 if test "${enable_omf+set}" = set; then
48697 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48701 case "${BAKEFILE_HOST}" in
48703 if test "x$GCC" = "xyes"; then
48704 CFLAGS="$CFLAGS -fno-common"
48705 CXXFLAGS="$CXXFLAGS -fno-common"
48707 if test "x$XLCC" = "xyes"; then
48708 CFLAGS="$CFLAGS -qnocommon"
48709 CXXFLAGS="$CXXFLAGS -qnocommon"
48713 *-pc-os2_emx | *-pc-os2-emx )
48714 if test "x$bk_os2_use_omf" = "xyes" ; then
48717 LDFLAGS="-Zomf $LDFLAGS"
48718 CFLAGS="-Zomf $CFLAGS"
48719 CXXFLAGS="-Zomf $CXXFLAGS"
48727 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48733 SO_SUFFIX_MODULE="so"
48738 DLLPREFIX_MODULE=""
48742 case "${BAKEFILE_HOST}" in
48747 SO_SUFFIX_MODULE="sl"
48751 SO_SUFFIX_MODULE="a"
48755 SO_SUFFIX_MODULE="dll"
48756 DLLIMP_SUFFIX="dll.a"
48763 SO_SUFFIX_MODULE="dll"
48764 DLLIMP_SUFFIX="dll.a"
48774 *-pc-os2_emx | *-pc-os2-emx )
48776 SO_SUFFIX_MODULE="dll"
48777 DLLIMP_SUFFIX=$OS2_LIBEXT
48781 LIBEXT=".$OS2_LIBEXT"
48786 SO_SUFFIX_MODULE="bundle"
48790 if test "x$DLLIMP_SUFFIX" = "x" ; then
48791 DLLIMP_SUFFIX="$SO_SUFFIX"
48806 if test "x$GCC" = "xyes"; then
48810 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48811 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48814 case "${BAKEFILE_HOST}" in
48816 if test "x$GCC" != "xyes"; then
48817 LDFLAGS="$LDFLAGS -L/usr/lib"
48819 SHARED_LD_CC="${CC} -b -o"
48820 SHARED_LD_CXX="${CXX} -b -o"
48826 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48828 elif test "x$SUNCXX" = "xyes"; then
48829 SHARED_LD_CC="${CC} -G -o"
48830 SHARED_LD_CXX="${CXX} -G -o"
48836 if test "x$SUNCXX" = xyes ; then
48837 SHARED_LD_CC="${CC} -G -o"
48838 SHARED_LD_CXX="${CXX} -G -o"
48846 cat <<EOF >shared-ld-sh
48848 #-----------------------------------------------------------------------------
48849 #-- Name: distrib/mac/shared-ld-sh
48850 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48851 #-- Author: Gilles Depeyrot
48852 #-- Copyright: (c) 2002 Gilles Depeyrot
48853 #-- Licence: any use permitted
48854 #-----------------------------------------------------------------------------
48859 linking_flag="-dynamiclib"
48860 ldargs="-r -keep_private_externs -nostdlib"
48862 if test "x${D}CXX" = "x"; then
48866 while test ${D}# -gt 0; do
48873 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48874 # collect these options and values
48875 args="${D}{args} ${D}1 ${D}2"
48880 # collect these options and values
48881 ldargs="${D}{ldargs} ${D}1 ${D}2"
48886 # collect these load args
48887 ldargs="${D}{ldargs} ${D}1"
48890 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48891 # collect these options
48892 args="${D}{args} ${D}1"
48895 -dynamiclib|-bundle)
48896 linking_flag="${D}1"
48900 echo "shared-ld: unhandled option '${D}1'"
48904 *.o | *.a | *.dylib)
48905 # collect object files
48906 objects="${D}{objects} ${D}1"
48910 echo "shared-ld: unhandled argument '${D}1'"
48921 # Link one module containing all the others
48923 if test ${D}{verbose} = 1; then
48924 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48926 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48930 # Link the shared library from the single module created, but only if the
48931 # previous command didn't fail:
48933 if test ${D}{status} = 0; then
48934 if test ${D}{verbose} = 1; then
48935 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48937 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48942 # Remove intermediate module
48944 rm -f master.${D}${D}.o
48949 chmod +x shared-ld-sh
48951 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48952 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48955 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48956 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48957 if test "${bakefile_cv_gcc31+set}" = set; then
48958 echo $ECHO_N "(cached) $ECHO_C" >&6
48961 cat >conftest.$ac_ext <<_ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48972 #if (__GNUC__ < 3) || \
48973 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48981 rm -f conftest.$ac_objext
48982 if { (ac_try="$ac_compile"
48983 case "(($ac_try" in
48984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48985 *) ac_try_echo
=$ac_try;;
48987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48988 (eval "$ac_compile") 2>conftest.er1
48990 grep -v '^ *+' conftest.er1
>conftest.err
48992 cat conftest.err
>&5
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); } && {
48995 test -z "$ac_c_werror_flag" ||
48996 test ! -s conftest.err
48997 } && test -s conftest.
$ac_objext; then
48999 bakefile_cv_gcc31
=yes
49002 echo "$as_me: failed program was:" >&5
49003 sed 's/^/| /' conftest.
$ac_ext >&5
49006 bakefile_cv_gcc31
=no
49011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49014 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49015 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49016 if test "$bakefile_cv_gcc31" = "no"; then
49017 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49018 SHARED_LD_CXX
="$SHARED_LD_CC"
49020 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49021 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49024 if test "x$GCC" == "xyes"; then
49025 PIC_FLAG
="-dynamic -fPIC"
49027 if test "x$XLCC" = "xyes"; then
49028 PIC_FLAG
="-dynamic -DPIC"
49033 if test "x$GCC" = "xyes"; then
49036 case "${BAKEFILE_HOST}" in
49038 LD_EXPFULL
="-Wl,-bexpfull"
49042 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49043 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49045 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49046 set dummy makeC
++SharedLib
; ac_word
=$2
49047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49049 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49052 if test -n "$AIX_CXX_LD"; then
49053 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49056 for as_dir
in $PATH
49059 test -z "$as_dir" && as_dir
=.
49060 for ac_exec_ext
in '' $ac_executable_extensions; do
49061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49062 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49070 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49073 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49074 if test -n "$AIX_CXX_LD"; then
49075 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49076 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49078 { echo "$as_me:$LINENO: result: no" >&5
49079 echo "${ECHO_T}no" >&6; }
49083 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49084 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49089 SHARED_LD_CC
="${LD} -nostart -o"
49090 SHARED_LD_CXX
="${LD} -nostart -o"
49094 if test "x$GCC" != "xyes"; then
49099 *-*-cygwin* | *-*-mingw32* )
49101 SHARED_LD_CC
="\$(CC) -shared -o"
49102 SHARED_LD_CXX
="\$(CXX) -shared -o"
49106 *-pc-os2_emx | *-pc-os2-emx )
49107 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49108 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49112 cat <<EOF >dllar.sh
49115 # dllar - a tool to build both a .dll and an .a file
49116 # from a set of object (.o) files for EMX/OS2.
49118 # Written by Andrew Zabolotny, bit@freya.etu.ru
49119 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49121 # This script will accept a set of files on the command line.
49122 # All the public symbols from the .o files will be exported into
49123 # a .DEF file, then linker will be run (through gcc) against them to
49124 # build a shared library consisting of all given .o files. All libraries
49125 # (.a) will be first decompressed into component .o files then act as
49126 # described above. You can optionally give a description (-d "description")
49127 # which will be put into .DLL. To see the list of accepted options (as well
49128 # as command-line format) simply run this program without options. The .DLL
49129 # is built to be imported by name (there is no guarantee that new versions
49130 # of the library you build will have same ordinals for same symbols).
49132 # dllar is free software; you can redistribute it and/or modify
49133 # it under the terms of the GNU General Public License as published by
49134 # the Free Software Foundation; either version 2, or (at your option)
49135 # any later version.
49137 # dllar is distributed in the hope that it will be useful,
49138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49140 # GNU General Public License for more details.
49142 # You should have received a copy of the GNU General Public License
49143 # along with dllar; see the file COPYING. If not, write to the Free
49144 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49147 # To successfuly run this program you will need:
49148 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49149 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49151 # (used to build the .dll)
49153 # (used to create .def file from .o files)
49155 # (used to create .a file from .def file)
49156 # - GNU text utilites (cat, sort, uniq)
49157 # used to process emxexp output
49158 # - GNU file utilities (mv, rm)
49160 # - lxlite (optional, see flag below)
49161 # (used for general .dll cleanup)
49168 # basnam, variant of basename, which does _not_ remove the path, _iff_
49169 # second argument (suffix to remove) is given
49173 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49176 echo ${D}1 | sed 's/'${D}2'${D}//'
49179 echo "error in basnam ${D}*"
49185 # Cleanup temporary files and output
49188 for i in ${D}inputFiles ; do
49191 rm -rf \`basnam ${D}i !\`
49198 # Kill result in case of failure as there is just to many stupid make/nmake
49199 # things out there which doesn't do this.
49200 if [ ${D}# -eq 0 ]; then
49201 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49205 # Print usage and exit script with rc=1.
49207 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49208 echo ' [-name-mangler-script script.sh]'
49209 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49210 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49211 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49212 echo ' [*.o] [*.a]'
49213 echo '*> "output_file" should have no extension.'
49214 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49215 echo ' The import library name is derived from this and is set to "name".a,'
49216 echo ' unless overridden by -import'
49217 echo '*> "importlib_name" should have no extension.'
49218 echo ' If it has the .o, or .a extension, it is automatically removed.'
49219 echo ' This name is used as the import library name and may be longer and'
49220 echo ' more descriptive than the DLL name which has to follow the old '
49221 echo ' 8.3 convention of FAT.'
49222 echo '*> "script.sh may be given to override the output_file name by a'
49223 echo ' different name. It is mainly useful if the regular make process'
49224 echo ' of some package does not take into account OS/2 restriction of'
49225 echo ' DLL name lengths. It takes the importlib name as input and is'
49226 echo ' supposed to procude a shorter name as output. The script should'
49227 echo ' expect to get importlib_name without extension and should produce'
49228 echo ' a (max.) 8 letter name without extension.'
49229 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49230 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49231 echo ' These flags will be put at the start of GCC command line.'
49232 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49233 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49234 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49235 echo ' If the last character of a symbol is "*", all symbols beginning'
49236 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49237 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49238 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49239 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49240 echo ' C runtime DLLs.'
49241 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49242 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49243 echo ' unchanged to GCC at the end of command line.'
49244 echo '*> If you create a DLL from a library and you do not specify -o,'
49245 echo ' the basename for DLL and import library will be set to library name,'
49246 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49247 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49248 echo ' library will be renamed into gcc_s.a.'
49251 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49252 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49257 # Execute a command.
49258 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49259 # @Uses Whatever CleanUp() uses.
49265 if [ ${D}rcCmd -ne 0 ]; then
49266 echo "command failed, exit code="${D}rcCmd
49281 CFLAGS="-s -Zcrtdll"
49283 EXPORT_BY_ORDINALS=0
49288 case ${D}curDirS in
49292 curDirS=${D}{curDirS}"/"
49295 # Parse commandline
49298 while [ ${D}1 ]; do
49301 EXPORT_BY_ORDINALS=1;
49311 -name-mangler-script)
49332 exclude_symbols=${D}{exclude_symbols}${D}1" "
49336 library_flags=${D}{library_flags}${D}1" "
49355 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49358 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49359 if [ ${D}omfLinking -eq 1 ]; then
49360 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49362 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49367 if [ ${D}libsToLink -ne 0 ]; then
49368 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49370 for file in ${D}1 ; do
49371 if [ -f ${D}file ]; then
49372 inputFiles="${D}{inputFiles} ${D}file"
49376 if [ ${D}found -eq 0 ]; then
49377 echo "ERROR: No file(s) found: "${D}1
49384 done # iterate cmdline words
49387 if [ -z "${D}inputFiles" ]; then
49388 echo "dllar: no input files"
49392 # Now extract all .o files from .a files
49394 for file in ${D}inputFiles ; do
49405 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49410 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49412 if [ ${D}? -ne 0 ]; then
49413 echo "Failed to create subdirectory ./${D}dirname"
49417 # Append '!' to indicate archive
49418 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49419 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49422 for subfile in ${D}dirname/*.o* ; do
49423 if [ -f ${D}subfile ]; then
49425 if [ -s ${D}subfile ]; then
49426 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49427 newInputFiles="${D}newInputFiles ${D}subfile"
49431 if [ ${D}found -eq 0 ]; then
49432 echo "WARNING: there are no files in archive \\'${D}file\\'"
49436 newInputFiles="${D}{newInputFiles} ${D}file"
49440 inputFiles="${D}newInputFiles"
49442 # Output filename(s).
49444 if [ -z ${D}outFile ]; then
49446 set outFile ${D}inputFiles; outFile=${D}2
49449 # If it is an archive, remove the '!' and the '_%' suffixes
49450 case ${D}outFile in
49452 outFile=\`basnam ${D}outFile _%!\`
49457 case ${D}outFile in
49459 outFile=\`basnam ${D}outFile .dll\`
49462 outFile=\`basnam ${D}outFile .DLL\`
49465 outFile=\`basnam ${D}outFile .o\`
49468 outFile=\`basnam ${D}outFile .obj\`
49471 outFile=\`basnam ${D}outFile .a\`
49474 outFile=\`basnam ${D}outFile .lib\`
49479 case ${D}outimpFile in
49481 outimpFile=\`basnam ${D}outimpFile .a\`
49484 outimpFile=\`basnam ${D}outimpFile .lib\`
49489 if [ -z ${D}outimpFile ]; then
49490 outimpFile=${D}outFile
49492 defFile="${D}{outFile}.def"
49493 arcFile="${D}{outimpFile}.a"
49494 arcFile2="${D}{outimpFile}.lib"
49496 #create ${D}dllFile as something matching 8.3 restrictions,
49497 if [ -z ${D}renameScript ] ; then
49498 dllFile="${D}outFile"
49500 dllFile=\`${D}renameScript ${D}outimpFile\`
49503 if [ ${D}do_backup -ne 0 ] ; then
49504 if [ -f ${D}arcFile ] ; then
49505 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49507 if [ -f ${D}arcFile2 ] ; then
49508 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49512 # Extract public symbols from all the object files.
49513 tmpdefFile=${D}{defFile}_%
49514 rm -f ${D}tmpdefFile
49515 for file in ${D}inputFiles ; do
49520 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49525 # Create the def file.
49527 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49528 dllFile="${D}{dllFile}.dll"
49529 if [ ! -z ${D}description ]; then
49530 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49532 echo "EXPORTS" >> ${D}defFile
49534 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49535 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49537 # Checks if the export is ok or not.
49538 for word in ${D}exclude_symbols; do
49539 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49540 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49544 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49545 sed "=" < ${D}tmpdefFile | \\
49549 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49551 ' > ${D}{tmpdefFile}%
49552 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49554 rm -f ${D}{tmpdefFile}%
49556 cat ${D}tmpdefFile >> ${D}defFile
49557 rm -f ${D}tmpdefFile
49559 # Do linking, create implib, and apply lxlite.
49561 for file in ${D}inputFiles ; do
49566 gccCmdl="${D}gccCmdl ${D}file"
49570 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49571 touch "${D}{outFile}.dll"
49573 doCommand "emximp -o ${D}arcFile ${D}defFile"
49574 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49576 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49579 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49581 doCommand "emxomf -s -l ${D}arcFile"
49591 powerpc
-apple-macos* | \
49592 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49602 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49603 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49604 { (exit 1); exit 1; }; }
49607 if test "x$PIC_FLAG" != "x" ; then
49608 PIC_FLAG
="$PIC_FLAG -DPIC"
49611 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49612 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49614 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49615 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49630 USE_SOTWOSYMLINKS
=0
49634 case "${BAKEFILE_HOST}" in
49635 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49636 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49637 if test "x$SUNCXX" = "xyes"; then
49640 SONAME_FLAG
="-Wl,-soname,"
49644 USE_SOTWOSYMLINKS
=1
49656 USE_SOTWOSYMLINKS
=1
49674 # Check whether --enable-dependency-tracking was given.
49675 if test "${enable_dependency_tracking+set}" = set; then
49676 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
49680 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49681 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49684 if test "x$bk_use_trackdeps" = "xno" ; then
49686 { echo "$as_me:$LINENO: result: disabled" >&5
49687 echo "${ECHO_T}disabled" >&6; }
49691 if test "x$GCC" = "xyes"; then
49693 case "${BAKEFILE_HOST}" in
49695 DEPSFLAG
="-no-cpp-precomp -MMD"
49701 { echo "$as_me:$LINENO: result: gcc" >&5
49702 echo "${ECHO_T}gcc" >&6; }
49703 elif test "x$MWCC" = "xyes"; then
49706 { echo "$as_me:$LINENO: result: mwcc" >&5
49707 echo "${ECHO_T}mwcc" >&6; }
49708 elif test "x$SUNCC" = "xyes"; then
49711 { echo "$as_me:$LINENO: result: Sun cc" >&5
49712 echo "${ECHO_T}Sun cc" >&6; }
49713 elif test "x$SGICC" = "xyes"; then
49716 { echo "$as_me:$LINENO: result: SGI cc" >&5
49717 echo "${ECHO_T}SGI cc" >&6; }
49718 elif test "x$HPCC" = "xyes"; then
49721 { echo "$as_me:$LINENO: result: HP cc" >&5
49722 echo "${ECHO_T}HP cc" >&6; }
49723 elif test "x$COMPAQCC" = "xyes"; then
49726 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49727 echo "${ECHO_T}Compaq cc" >&6; }
49730 { echo "$as_me:$LINENO: result: none" >&5
49731 echo "${ECHO_T}none" >&6; }
49734 if test $DEPS_TRACKING = 1 ; then
49740 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49741 # script. It is used to track C/C++ files dependencies in portable way.
49743 # Permission is given to use this file in any way.
49745 DEPSMODE=${DEPSMODE}
49746 DEPSFLAG="${DEPSFLAG}"
49749 if test ${D}DEPSMODE = gcc ; then
49750 ${D}* ${D}{DEPSFLAG}
49753 # determine location of created files:
49754 while test ${D}# -gt 0; do
49768 objfilebase=\`basename ${D}objfile\`
49769 builddir=\`dirname ${D}objfile\`
49770 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49771 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49772 depsdir=${D}builddir/${D}DEPSDIRBASE
49773 mkdir -p ${D}depsdir
49775 # if the compiler failed, we're done:
49776 if test ${D}{status} != 0 ; then
49781 # move created file to the location we want it in:
49782 if test -f ${D}depfile ; then
49783 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49786 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49787 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49788 if test ! -f ${D}depfile ; then
49789 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49790 depfile="${D}objfile.d"
49792 if test -f ${D}depfile ; then
49793 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49799 elif test ${D}DEPSMODE = mwcc ; then
49800 ${D}* || exit ${D}?
49801 # Run mwcc again with -MM and redirect into the dep file we want
49802 # NOTE: We can't use shift here because we need ${D}* to be valid
49804 for arg in ${D}* ; do
49805 if test "${D}prevarg" = "-o"; then
49819 objfilebase=\`basename ${D}objfile\`
49820 builddir=\`dirname ${D}objfile\`
49821 depsdir=${D}builddir/${D}DEPSDIRBASE
49822 mkdir -p ${D}depsdir
49824 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49827 elif test ${D}DEPSMODE = unixcc; then
49828 ${D}* || exit ${D}?
49829 # Run compiler again with deps flag and redirect into the dep file.
49830 # It doesn't work if the '-o FILE' option is used, but without it the
49831 # dependency file will contain the wrong name for the object. So it is
49832 # removed from the command line, and the dep file is fixed with sed.
49834 while test ${D}# -gt 0; do
49841 eval arg${D}#=\\${D}1
49842 cmd="${D}cmd \\${D}arg${D}#"
49848 objfilebase=\`basename ${D}objfile\`
49849 builddir=\`dirname ${D}objfile\`
49850 depsdir=${D}builddir/${D}DEPSDIRBASE
49851 mkdir -p ${D}depsdir
49853 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49863 BK_DEPS
="`pwd`/bk-deps"
49871 case ${BAKEFILE_HOST} in
49872 *-*-cygwin* | *-*-mingw32* )
49873 if test -n "$ac_tool_prefix"; then
49874 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49875 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49878 if test "${ac_cv_prog_WINDRES+set}" = set; then
49879 echo $ECHO_N "(cached) $ECHO_C" >&6
49881 if test -n "$WINDRES"; then
49882 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49885 for as_dir
in $PATH
49888 test -z "$as_dir" && as_dir
=.
49889 for ac_exec_ext
in '' $ac_executable_extensions; do
49890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49891 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49901 WINDRES
=$ac_cv_prog_WINDRES
49902 if test -n "$WINDRES"; then
49903 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49904 echo "${ECHO_T}$WINDRES" >&6; }
49906 { echo "$as_me:$LINENO: result: no" >&5
49907 echo "${ECHO_T}no" >&6; }
49912 if test -z "$ac_cv_prog_WINDRES"; then
49913 ac_ct_WINDRES
=$WINDRES
49914 # Extract the first word of "windres", so it can be a program name with args.
49915 set dummy windres
; ac_word
=$2
49916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49918 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49919 echo $ECHO_N "(cached) $ECHO_C" >&6
49921 if test -n "$ac_ct_WINDRES"; then
49922 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49925 for as_dir
in $PATH
49928 test -z "$as_dir" && as_dir
=.
49929 for ac_exec_ext
in '' $ac_executable_extensions; do
49930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49931 ac_cv_prog_ac_ct_WINDRES
="windres"
49932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49941 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49942 if test -n "$ac_ct_WINDRES"; then
49943 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49944 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49946 { echo "$as_me:$LINENO: result: no" >&5
49947 echo "${ECHO_T}no" >&6; }
49950 if test "x$ac_ct_WINDRES" = x
; then
49953 case $cross_compiling:$ac_tool_warned in
49955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49956 whose name does not start with the host triplet. If you think this
49957 configuration is useful to you, please write to autoconf@gnu.org." >&5
49958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49959 whose name does not start with the host triplet. If you think this
49960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49961 ac_tool_warned
=yes ;;
49963 WINDRES
=$ac_ct_WINDRES
49966 WINDRES
="$ac_cv_prog_WINDRES"
49971 *-*-darwin* | powerpc
-apple-macos* )
49972 # Extract the first word of "Rez", so it can be a program name with args.
49973 set dummy Rez
; ac_word
=$2
49974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49976 if test "${ac_cv_prog_REZ+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 if test -n "$REZ"; then
49980 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49983 for as_dir
in $PATH
49986 test -z "$as_dir" && as_dir
=.
49987 for ac_exec_ext
in '' $ac_executable_extensions; do
49988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49989 ac_cv_prog_REZ
="Rez"
49990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49997 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50000 REZ
=$ac_cv_prog_REZ
50001 if test -n "$REZ"; then
50002 { echo "$as_me:$LINENO: result: $REZ" >&5
50003 echo "${ECHO_T}$REZ" >&6; }
50005 { echo "$as_me:$LINENO: result: no" >&5
50006 echo "${ECHO_T}no" >&6; }
50010 # Extract the first word of "SetFile", so it can be a program name with args.
50011 set dummy SetFile
; ac_word
=$2
50012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50014 if test "${ac_cv_prog_SETFILE+set}" = set; then
50015 echo $ECHO_N "(cached) $ECHO_C" >&6
50017 if test -n "$SETFILE"; then
50018 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50021 for as_dir
in $PATH
50024 test -z "$as_dir" && as_dir
=.
50025 for ac_exec_ext
in '' $ac_executable_extensions; do
50026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50027 ac_cv_prog_SETFILE
="SetFile"
50028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50035 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50038 SETFILE
=$ac_cv_prog_SETFILE
50039 if test -n "$SETFILE"; then
50040 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50041 echo "${ECHO_T}$SETFILE" >&6; }
50043 { echo "$as_me:$LINENO: result: no" >&5
50044 echo "${ECHO_T}no" >&6; }
50059 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50062 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50066 # Check whether --enable-precomp-headers was given.
50067 if test "${enable_precomp_headers+set}" = set; then
50068 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50077 case ${BAKEFILE_HOST} in
50083 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50084 if test "x$GCC" = "xyes"; then
50085 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50086 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50087 cat >conftest.
$ac_ext <<_ACEOF
50090 cat confdefs.h
>>conftest.
$ac_ext
50091 cat >>conftest.
$ac_ext <<_ACEOF
50092 /* end confdefs.h. */
50098 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50099 There is no PCH support
50102 There is no PCH support
50104 #if (__GNUC__ == 3) && \
50105 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50106 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50107 ( defined(__INTEL_COMPILER) )
50108 There is no PCH support
50115 rm -f conftest.
$ac_objext
50116 if { (ac_try
="$ac_compile"
50117 case "(($ac_try" in
50118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50119 *) ac_try_echo=$ac_try;;
50121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50122 (eval "$ac_compile") 2>conftest.er1
50124 grep -v '^ *+' conftest.er1 >conftest.err
50126 cat conftest.err >&5
50127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50128 (exit $ac_status); } && {
50129 test -z "$ac_c_werror_flag" ||
50130 test ! -s conftest.err
50131 } && test -s conftest.$ac_objext; then
50133 { echo "$as_me:$LINENO: result: yes" >&5
50134 echo "${ECHO_T}yes" >&6; }
50138 echo "$as_me: failed program was:" >&5
50139 sed 's/^/| /' conftest.$ac_ext >&5
50142 if test "$INTELCXX8" = "yes"; then
50143 { echo "$as_me:$LINENO: result: yes" >&5
50144 echo "${ECHO_T}yes" >&6; }
50146 if test "$INTELCXX10" = "yes"; then
50147 ICC_PCH_CREATE_SWITCH="-pch-create"
50148 ICC_PCH_USE_SWITCH="-pch-use"
50150 ICC_PCH_CREATE_SWITCH="-create-pch"
50151 ICC_PCH_USE_SWITCH="-use-pch"
50154 { echo "$as_me:$LINENO: result: no" >&5
50155 echo "${ECHO_T}no" >&6; }
50160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50165 cat <<EOF >bk-make-pch
50168 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50169 # script. It is used to generated precompiled headers.
50171 # Permission is given to use this file in any way.
50178 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50183 while test ${D}{#} -gt 0; do
50187 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50188 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50189 headerfile="${D}{incdir}/${D}{header}"
50192 -use-pch|-use_pch|-pch-use )
50197 if test ${D}add_to_cmdline = 1 ; then
50198 compiler="${D}{compiler} ${D}{1}"
50203 if test "x${D}{headerfile}" = "x" ; then
50204 echo "error: can't find header ${D}{header} in include paths" >&2
50206 if test -f ${D}{outfile} ; then
50207 rm -f ${D}{outfile}
50209 mkdir -p \`dirname ${D}{outfile
}\
`
50211 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50212 mkdir -p ${D}{builddir}/.deps
50213 if test "x${GCC_PCH}" = "x1" ; then
50214 # can do this because gcc is >= 3.4:
50215 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50216 elif test "x${ICC_PCH}" = "x1" ; then
50217 filename=pch_gen-${D}${D}
50218 file=${D}{filename}.c
50219 dfile=${D}{filename}.d
50220 cat > ${D}file <<EOT
50221 #include "${D}header"
50223 # using -MF icc complains about differing command lines in creation/use
50224 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50225 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50226 rm -f ${D}file ${D}dfile ${D}{filename}.o
50232 chmod +x bk-make-pch
50233 BK_MAKE_PCH="`pwd`/bk-make-pch"
50244 COND_BUILD_DEBUG="#"
50245 if test "x$BUILD" = "xdebug" ; then
50246 COND_BUILD_DEBUG=""
50249 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50250 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50251 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50254 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50255 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50256 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50259 COND_BUILD_DEBUG_UNICODE_0="#"
50260 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50261 COND_BUILD_DEBUG_UNICODE_0=""
50264 COND_BUILD_DEBUG_UNICODE_1="#"
50265 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50266 COND_BUILD_DEBUG_UNICODE_1=""
50269 COND_BUILD_RELEASE="#"
50270 if test "x$BUILD" = "xrelease" ; then
50271 COND_BUILD_RELEASE=""
50274 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50275 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50276 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50279 COND_BUILD_RELEASE_UNICODE_0="#"
50280 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50281 COND_BUILD_RELEASE_UNICODE_0=""
50284 COND_BUILD_RELEASE_UNICODE_1="#"
50285 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50286 COND_BUILD_RELEASE_UNICODE_1=""
50289 COND_BUILD_debug="#"
50290 if test "x$BUILD" = "xdebug" ; then
50291 COND_BUILD_debug=""
50294 COND_BUILD_debug_DEBUG_FLAG_default="#"
50295 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50296 COND_BUILD_debug_DEBUG_FLAG_default=""
50299 COND_BUILD_debug_DEBUG_INFO_default="#"
50300 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50301 COND_BUILD_debug_DEBUG_INFO_default=""
50304 COND_BUILD_debug_UNICODE_0="#"
50305 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50306 COND_BUILD_debug_UNICODE_0=""
50309 COND_BUILD_debug_UNICODE_1="#"
50310 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50311 COND_BUILD_debug_UNICODE_1=""
50314 COND_BUILD_release="#"
50315 if test "x$BUILD" = "xrelease" ; then
50316 COND_BUILD_release=""
50319 COND_BUILD_release_DEBUG_INFO_default="#"
50320 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50321 COND_BUILD_release_DEBUG_INFO_default=""
50324 COND_BUILD_release_UNICODE_0="#"
50325 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50326 COND_BUILD_release_UNICODE_0=""
50329 COND_BUILD_release_UNICODE_1="#"
50330 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50331 COND_BUILD_release_UNICODE_1=""
50334 COND_DEBUG_FLAG_0="#"
50335 if test "x$DEBUG_FLAG" = "x0" ; then
50336 COND_DEBUG_FLAG_0=""
50339 COND_DEBUG_FLAG_1="#"
50340 if test "x$DEBUG_FLAG" = "x1" ; then
50341 COND_DEBUG_FLAG_1=""
50344 COND_DEBUG_INFO_0="#"
50345 if test "x$DEBUG_INFO" = "x0" ; then
50346 COND_DEBUG_INFO_0=""
50349 COND_DEBUG_INFO_1="#"
50350 if test "x$DEBUG_INFO" = "x1" ; then
50351 COND_DEBUG_INFO_1=""
50354 COND_DEPS_TRACKING_0="#"
50355 if test "x$DEPS_TRACKING" = "x0" ; then
50356 COND_DEPS_TRACKING_0=""
50359 COND_DEPS_TRACKING_1="#"
50360 if test "x$DEPS_TRACKING" = "x1" ; then
50361 COND_DEPS_TRACKING_1=""
50365 if test "x$GCC_PCH" = "x1" ; then
50370 if test "x$ICC_PCH" = "x1" ; then
50374 COND_MONOLITHIC_0="#"
50375 if test "x$MONOLITHIC" = "x0" ; then
50376 COND_MONOLITHIC_0=""
50379 COND_MONOLITHIC_0_SHARED_0="#"
50380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50381 COND_MONOLITHIC_0_SHARED_0=""
50384 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50386 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50391 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50394 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50396 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50401 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50406 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50409 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50411 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50414 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50416 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50419 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50421 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50424 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50426 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50429 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50431 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50434 COND_MONOLITHIC_0_SHARED_1="#"
50435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50436 COND_MONOLITHIC_0_SHARED_1=""
50439 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50441 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50446 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50451 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50456 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50461 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50464 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50466 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50469 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50471 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50474 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50476 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50479 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50481 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50484 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50486 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50489 COND_MONOLITHIC_0_USE_AUI_1="#"
50490 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50491 COND_MONOLITHIC_0_USE_AUI_1=""
50494 COND_MONOLITHIC_0_USE_GUI_1="#"
50495 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50496 COND_MONOLITHIC_0_USE_GUI_1=""
50499 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50500 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50501 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50504 COND_MONOLITHIC_0_USE_HTML_1="#"
50505 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50506 COND_MONOLITHIC_0_USE_HTML_1=""
50509 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50510 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50511 COND_MONOLITHIC_0_USE_MEDIA_1=""
50514 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50515 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50516 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50519 COND_MONOLITHIC_0_USE_QA_1="#"
50520 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50521 COND_MONOLITHIC_0_USE_QA_1=""
50524 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50525 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50526 COND_MONOLITHIC_0_USE_RIBBON_1=""
50529 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50530 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50531 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50534 COND_MONOLITHIC_0_USE_STC_1="#"
50535 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50536 COND_MONOLITHIC_0_USE_STC_1=""
50539 COND_MONOLITHIC_0_USE_XRC_1="#"
50540 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50541 COND_MONOLITHIC_0_USE_XRC_1=""
50544 COND_MONOLITHIC_1="#"
50545 if test "x$MONOLITHIC" = "x1" ; then
50546 COND_MONOLITHIC_1=""
50549 COND_MONOLITHIC_1_SHARED_0="#"
50550 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50551 COND_MONOLITHIC_1_SHARED_0=""
50554 COND_MONOLITHIC_1_SHARED_1="#"
50555 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50556 COND_MONOLITHIC_1_SHARED_1=""
50559 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50560 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50561 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50565 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50566 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50569 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50570 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50571 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50574 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50575 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50576 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50579 COND_PLATFORM_MACOSX_1="#"
50580 if test "x$PLATFORM_MACOSX" = "x1" ; then
50581 COND_PLATFORM_MACOSX_1=""
50584 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50586 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50589 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50591 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50594 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50596 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50599 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50600 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50601 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50605 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50606 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50609 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50611 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50614 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50615 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50616 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50619 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50620 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50621 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50624 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50625 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50626 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50629 COND_PLATFORM_MACOS_1="#"
50630 if test "x$PLATFORM_MACOS" = "x1" ; then
50631 COND_PLATFORM_MACOS_1=""
50634 COND_PLATFORM_MAC_0="#"
50635 if test "x$PLATFORM_MAC" = "x0" ; then
50636 COND_PLATFORM_MAC_0=""
50639 COND_PLATFORM_MAC_1="#"
50640 if test "x$PLATFORM_MAC" = "x1" ; then
50641 COND_PLATFORM_MAC_1=""
50644 COND_PLATFORM_MSDOS_0="#"
50645 if test "x$PLATFORM_MSDOS" = "x0" ; then
50646 COND_PLATFORM_MSDOS_0=""
50649 COND_PLATFORM_MSDOS_1="#"
50650 if test "x$PLATFORM_MSDOS" = "x1" ; then
50651 COND_PLATFORM_MSDOS_1=""
50654 COND_PLATFORM_OS2_1="#"
50655 if test "x$PLATFORM_OS2" = "x1" ; then
50656 COND_PLATFORM_OS2_1=""
50659 COND_PLATFORM_UNIX_0="#"
50660 if test "x$PLATFORM_UNIX" = "x0" ; then
50661 COND_PLATFORM_UNIX_0=""
50664 COND_PLATFORM_UNIX_1="#"
50665 if test "x$PLATFORM_UNIX" = "x1" ; then
50666 COND_PLATFORM_UNIX_1=""
50669 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50670 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50671 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50674 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50675 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50676 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50679 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50680 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50681 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50684 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50685 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50686 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50689 COND_PLATFORM_WIN32_0="#"
50690 if test "x$PLATFORM_WIN32" = "x0" ; then
50691 COND_PLATFORM_WIN32_0=""
50694 COND_PLATFORM_WIN32_1="#"
50695 if test "x$PLATFORM_WIN32" = "x1" ; then
50696 COND_PLATFORM_WIN32_1=""
50699 COND_PLATFORM_WIN32_1_SHARED_0="#"
50700 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50701 COND_PLATFORM_WIN32_1_SHARED_0=""
50705 if test "x$SHARED" = "x0" ; then
50709 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50710 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50711 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50714 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50715 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50716 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50719 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50720 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50721 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50724 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50725 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50726 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50730 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50731 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50735 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50739 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50740 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50744 COND_SHARED_0_USE_STC_1="#"
50745 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50746 COND_SHARED_0_USE_STC_1=""
50749 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50750 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50751 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50754 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50755 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50756 COND_SHARED_0_wxUSE_REGEX_builtin=""
50759 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50760 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50761 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50765 if test "x$SHARED" = "x1" ; then
50769 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50770 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50771 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50775 if test "x$TOOLKIT" = "x" ; then
50779 COND_TOOLKIT_COCOA="#"
50780 if test "x$TOOLKIT" = "xCOCOA" ; then
50781 COND_TOOLKIT_COCOA=""
50784 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50785 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50786 COND_TOOLKIT_COCOA_USE_GUI_1=""
50789 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50790 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50791 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50794 COND_TOOLKIT_DFB="#"
50795 if test "x$TOOLKIT" = "xDFB" ; then
50796 COND_TOOLKIT_DFB=""
50799 COND_TOOLKIT_DFB_USE_GUI_1="#"
50800 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50801 COND_TOOLKIT_DFB_USE_GUI_1=""
50804 COND_TOOLKIT_GTK="#"
50805 if test "x$TOOLKIT" = "xGTK" ; then
50806 COND_TOOLKIT_GTK=""
50809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50811 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50815 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50816 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50819 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50820 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50821 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50825 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50829 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50830 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50831 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50834 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50835 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50836 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50839 COND_TOOLKIT_GTK_USE_GUI_1="#"
50840 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50841 COND_TOOLKIT_GTK_USE_GUI_1=""
50844 COND_TOOLKIT_MAC="#"
50845 if test "x$TOOLKIT" = "xMAC" ; then
50846 COND_TOOLKIT_MAC=""
50849 COND_TOOLKIT_MGL="#"
50850 if test "x$TOOLKIT" = "xMGL" ; then
50851 COND_TOOLKIT_MGL=""
50854 COND_TOOLKIT_MGL_USE_GUI_1="#"
50855 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50856 COND_TOOLKIT_MGL_USE_GUI_1=""
50859 COND_TOOLKIT_MOTIF="#"
50860 if test "x$TOOLKIT" = "xMOTIF" ; then
50861 COND_TOOLKIT_MOTIF=""
50864 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50865 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50866 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50869 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50870 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50871 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50874 COND_TOOLKIT_MSW="#"
50875 if test "x$TOOLKIT" = "xMSW" ; then
50876 COND_TOOLKIT_MSW=""
50879 COND_TOOLKIT_MSW_USE_GUI_1="#"
50880 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50881 COND_TOOLKIT_MSW_USE_GUI_1=""
50884 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50885 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50886 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50889 COND_TOOLKIT_MSW_WXUNIV_0="#"
50890 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50891 COND_TOOLKIT_MSW_WXUNIV_0=""
50894 COND_TOOLKIT_OSX_CARBON="#"
50895 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50896 COND_TOOLKIT_OSX_CARBON=""
50899 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50900 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50901 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50904 COND_TOOLKIT_OSX_COCOA="#"
50905 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50906 COND_TOOLKIT_OSX_COCOA=""
50909 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50910 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50911 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50914 COND_TOOLKIT_OSX_IPHONE="#"
50915 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50916 COND_TOOLKIT_OSX_IPHONE=""
50919 COND_TOOLKIT_PM="#"
50920 if test "x$TOOLKIT" = "xPM" ; then
50924 COND_TOOLKIT_PM_USE_GUI_1="#"
50925 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50926 COND_TOOLKIT_PM_USE_GUI_1=""
50929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50930 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50934 COND_TOOLKIT_WINCE="#"
50935 if test "x$TOOLKIT" = "xWINCE" ; then
50936 COND_TOOLKIT_WINCE=""
50939 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50940 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50941 COND_TOOLKIT_WINCE_USE_GUI_1=""
50944 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50945 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50946 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50949 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50950 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50951 COND_TOOLKIT_WINCE_WXUNIV_0=""
50954 COND_TOOLKIT_X11="#"
50955 if test "x$TOOLKIT" = "xX11" ; then
50956 COND_TOOLKIT_X11=""
50959 COND_TOOLKIT_X11_USE_GUI_1="#"
50960 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50961 COND_TOOLKIT_X11_USE_GUI_1=""
50965 if test "x$UNICODE" = "x1" ; then
50969 COND_USE_CAIRO_1="#"
50970 if test "x$USE_CAIRO" = "x1" ; then
50971 COND_USE_CAIRO_1=""
50974 COND_USE_EXCEPTIONS_0="#"
50975 if test "x$USE_EXCEPTIONS" = "x0" ; then
50976 COND_USE_EXCEPTIONS_0=""
50979 COND_USE_EXCEPTIONS_1="#"
50980 if test "x$USE_EXCEPTIONS" = "x1" ; then
50981 COND_USE_EXCEPTIONS_1=""
50985 if test "x$USE_GUI" = "x0" ; then
50990 if test "x$USE_GUI" = "x1" ; then
50994 COND_USE_GUI_1_USE_OPENGL_1="#"
50995 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50996 COND_USE_GUI_1_USE_OPENGL_1=""
50999 COND_USE_GUI_1_WXUNIV_0="#"
51000 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51001 COND_USE_GUI_1_WXUNIV_0=""
51004 COND_USE_GUI_1_WXUNIV_1="#"
51005 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51006 COND_USE_GUI_1_WXUNIV_1=""
51009 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51010 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51011 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51014 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51015 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51016 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51019 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51020 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51021 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51024 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51025 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51026 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51029 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51030 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51031 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51034 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51035 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51036 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51039 COND_USE_OPENGL_1="#"
51040 if test "x$USE_OPENGL" = "x1" ; then
51041 COND_USE_OPENGL_1=""
51045 if test "x$USE_PCH" = "x1" ; then
51049 COND_USE_PLUGINS_0="#"
51050 if test "x$USE_PLUGINS" = "x0" ; then
51051 COND_USE_PLUGINS_0=""
51054 COND_USE_RTTI_0="#"
51055 if test "x$USE_RTTI" = "x0" ; then
51059 COND_USE_RTTI_1="#"
51060 if test "x$USE_RTTI" = "x1" ; then
51064 COND_USE_SOTWOSYMLINKS_1="#"
51065 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51066 COND_USE_SOTWOSYMLINKS_1=""
51069 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51070 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51071 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51074 COND_USE_SOVERLINUX_1="#"
51075 if test "x$USE_SOVERLINUX" = "x1" ; then
51076 COND_USE_SOVERLINUX_1=""
51079 COND_USE_SOVERSION_0="#"
51080 if test "x$USE_SOVERSION" = "x0" ; then
51081 COND_USE_SOVERSION_0=""
51084 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51085 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51086 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51089 COND_USE_SOVERSOLARIS_1="#"
51090 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51091 COND_USE_SOVERSOLARIS_1=""
51095 if test "x$USE_STC" = "x1" ; then
51099 COND_USE_THREADS_0="#"
51100 if test "x$USE_THREADS" = "x0" ; then
51101 COND_USE_THREADS_0=""
51104 COND_USE_THREADS_1="#"
51105 if test "x$USE_THREADS" = "x1" ; then
51106 COND_USE_THREADS_1=""
51110 if test "x$USE_XRC" = "x1" ; then
51114 COND_WINDOWS_IMPLIB_1="#"
51115 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51116 COND_WINDOWS_IMPLIB_1=""
51119 COND_WITH_PLUGIN_SDL_1="#"
51120 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51121 COND_WITH_PLUGIN_SDL_1=""
51125 if test "x$WXUNIV" = "x0" ; then
51130 if test "x$WXUNIV" = "x1" ; then
51134 COND_WXUSE_EXPAT_BUILTIN="#"
51135 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51136 COND_WXUSE_EXPAT_BUILTIN=""
51139 COND_WXUSE_LIBJPEG_BUILTIN="#"
51140 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51141 COND_WXUSE_LIBJPEG_BUILTIN=""
51144 COND_WXUSE_LIBPNG_BUILTIN="#"
51145 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51146 COND_WXUSE_LIBPNG_BUILTIN=""
51149 COND_WXUSE_LIBTIFF_BUILTIN="#"
51150 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51151 COND_WXUSE_LIBTIFF_BUILTIN=""
51154 COND_WXUSE_REGEX_BUILTIN="#"
51155 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51156 COND_WXUSE_REGEX_BUILTIN=""
51159 COND_WXUSE_ZLIB_BUILTIN="#"
51160 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51161 COND_WXUSE_ZLIB_BUILTIN=""
51164 COND_wxUSE_EXPAT_builtin="#"
51165 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51166 COND_wxUSE_EXPAT_builtin=""
51169 COND_wxUSE_LIBJPEG_builtin="#"
51170 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51171 COND_wxUSE_LIBJPEG_builtin=""
51174 COND_wxUSE_LIBPNG_builtin="#"
51175 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51176 COND_wxUSE_LIBPNG_builtin=""
51179 COND_wxUSE_LIBTIFF_builtin="#"
51180 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51181 COND_wxUSE_LIBTIFF_builtin=""
51184 COND_wxUSE_REGEX_builtin="#"
51185 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51186 COND_wxUSE_REGEX_builtin=""
51189 COND_wxUSE_ZLIB_builtin="#"
51190 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51191 COND_wxUSE_ZLIB_builtin=""
51196 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51197 { { 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
51198 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;}
51199 { (exit 1); exit 1; }; }
51202 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51203 { { 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
51204 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;}
51205 { (exit 1); exit 1; }; }
51212 ?:* ) # Drive letter, considered as absolute.
51215 INSTALL=`pwd`/${INSTALL} ;;
51218 if test "$wxUSE_GUI" = "yes"; then
51220 if test "$wxUSE_MSW" = 1 ; then
51221 if test "x$WINDRES" = "x"; then
51222 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51223 echo "$as_me: error: Required windres program not found" >&2;}
51224 { (exit 1); exit 1; }; }
51227 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51230 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51231 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51232 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51234 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51236 # Extract the first word of "DeRez", so it can be a program name with args.
51237 set dummy DeRez; ac_word=$2
51238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51240 if test "${ac_cv_prog_DEREZ+set}" = set; then
51241 echo $ECHO_N "(cached) $ECHO_C" >&6
51243 if test -n "$DEREZ"; then
51244 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51247 for as_dir in $PATH
51250 test -z "$as_dir" && as_dir=.
51251 for ac_exec_ext in '' $ac_executable_extensions; do
51252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51253 ac_cv_prog_DEREZ="DeRez"
51254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51261 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51264 DEREZ=$ac_cv_prog_DEREZ
51265 if test -n "$DEREZ"; then
51266 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51267 echo "${ECHO_T}$DEREZ" >&6; }
51269 { echo "$as_me:$LINENO: result: no" >&5
51270 echo "${ECHO_T}no" >&6; }
51275 MACSETFILE="\$(SETFILE)"
51277 if test "$wxUSE_OSX_CARBON" = 1; then
51278 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51280 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51282 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51283 RESCOMP="cat /dev/null \| $REZ"
51284 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51290 if test "$wxUSE_PM" = 1; then
51292 WXCONFIG_RESFLAGS="-ep"
51294 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51296 POSTLINK_COMMAND="@true"
51303 if test $GCC_PCH = 1
51305 if test "$wx_cv_gcc_pch_bug" = yes; then
51306 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51307 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51308 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51309 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51310 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51311 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51314 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51315 # the headers that benefit from precompilation are mostly C++ headers.
51316 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51317 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51318 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51322 if test "$wxUSE_MAC" = 1 ; then
51323 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51324 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51330 if test "$wxUSE_SHARED" = "yes"; then
51332 *-pc-os2_emx | *-pc-os2-emx )
51333 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51334 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51335 cp -p ${srcdir}/src/os2/dllnames.sh .
51336 cp -p ${srcdir}/src/os2/dllar.sh .
51340 if test "$wxUSE_OMF" = "yes"; then
51342 *-pc-os2_emx | *-pc-os2-emx )
51343 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51344 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51345 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51350 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51355 if test "$GCC" = yes; then
51356 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51357 LIBS=`echo $LIBS | sed 's/-mt//'`
51358 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51363 if test "x$SUNCXX" = xyes; then
51364 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51365 LIBS=`echo $LIBS | sed 's/-pthread//'`
51366 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51371 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51372 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51373 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51374 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51376 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51437 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51438 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51439 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51441 echo $ECHO_N "(cached) $ECHO_C" >&6
51443 cat >conftest.make <<\_ACEOF
51446 @echo '@@@%%%=$(MAKE)=@@@%%%'
51448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51449 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51450 *@@@%%%=?*=@@@%%%*)
51451 eval ac_cv_prog_make_${ac_make}_set=yes;;
51453 eval ac_cv_prog_make_${ac_make}_set=no;;
51455 rm -f conftest.make
51457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51458 { echo "$as_me:$LINENO: result: yes" >&5
51459 echo "${ECHO_T}yes" >&6; }
51462 { echo "$as_me:$LINENO: result: no" >&5
51463 echo "${ECHO_T}no" >&6; }
51464 SET_MAKE="MAKE=${MAKE-make}"
51469 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51472 if test "$USE_WIN32" = 1; then
51473 ac_config_commands="$ac_config_commands rcdefs.h"
51477 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51480 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51483 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51486 if test "$wx_cv_version_script" = "yes"; then
51487 ac_config_files="$ac_config_files version-script"
51490 ac_config_files="$ac_config_files Makefile"
51493 ac_config_commands="$ac_config_commands wx-config"
51497 if test "$wxWITH_SUBDIRS" != "no"; then
51498 if test "$wxUSE_GUI" = "yes"; then
51499 SUBDIRS="samples demos utils"
51501 SUBDIRS="samples utils"
51506 # Check whether --with-cppunit-prefix was given.
51507 if test "${with_cppunit_prefix+set}" = set; then
51508 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51510 cppunit_config_prefix=""
51514 # Check whether --with-cppunit-exec-prefix was given.
51515 if test "${with_cppunit_exec_prefix+set}" = set; then
51516 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51518 cppunit_config_exec_prefix=""
51522 if test x$cppunit_config_exec_prefix != x ; then
51523 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51524 if test x${CPPUNIT_CONFIG+set} != xset ; then
51525 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51528 if test x$cppunit_config_prefix != x ; then
51529 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51530 if test x${CPPUNIT_CONFIG+set} != xset ; then
51531 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51535 # Extract the first word of "cppunit-config", so it can be a program name with args.
51536 set dummy cppunit-config; ac_word=$2
51537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51539 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51540 echo $ECHO_N "(cached) $ECHO_C" >&6
51542 case $CPPUNIT_CONFIG in
51544 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51548 for as_dir in $PATH
51551 test -z "$as_dir" && as_dir=.
51552 for ac_exec_ext in '' $ac_executable_extensions; do
51553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51554 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51562 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51566 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51567 if test -n "$CPPUNIT_CONFIG"; then
51568 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51569 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51571 { echo "$as_me:$LINENO: result: no" >&5
51572 echo "${ECHO_T}no" >&6; }
51576 cppunit_version_min=1.8.0
51578 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51579 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51581 if test "$CPPUNIT_CONFIG" = "no" ; then
51582 { echo "$as_me:$LINENO: result: no" >&5
51583 echo "${ECHO_T}no" >&6; }
51586 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51587 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51588 cppunit_version=`$CPPUNIT_CONFIG --version`
51590 cppunit_major_version=`echo $cppunit_version | \
51591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51592 cppunit_minor_version=`echo $cppunit_version | \
51593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51594 cppunit_micro_version=`echo $cppunit_version | \
51595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51597 cppunit_major_min=`echo $cppunit_version_min | \
51598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51599 cppunit_minor_min=`echo $cppunit_version_min | \
51600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51601 cppunit_micro_min=`echo $cppunit_version_min | \
51602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51604 cppunit_version_proper=`expr \
51605 $cppunit_major_version \
> $cppunit_major_min \
| \
51606 $cppunit_major_version \
= $cppunit_major_min \
& \
51607 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51608 $cppunit_major_version \
= $cppunit_major_min \
& \
51609 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51610 $cppunit_micro_version \
>= $cppunit_micro_min `
51612 if test "$cppunit_version_proper" = "1" ; then
51613 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51614 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51616 { echo "$as_me:$LINENO: result: no" >&5
51617 echo "${ECHO_T}no" >&6; }
51622 if test "x$no_cppunit" = x ; then
51623 SUBDIRS="$SUBDIRS tests"
51634 for subdir in $SUBDIRS; do
51635 if test -d ${srcdir}/${subdir} ; then
51636 if test "$wxUSE_GUI" = "yes"; then
51637 if test ${subdir} = "samples"; then
51638 makefiles="samples/Makefile.in $makefiles"
51639 for sample in $SAMPLES_SUBDIRS; do
51640 if test -d $srcdir/samples/$sample; then
51641 makefiles="samples/$sample/Makefile.in $makefiles"
51645 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51646 eval "disabled=\$$disabled_var"
51647 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51648 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51651 if test ${subdir} = "samples"; then
51652 makefiles="samples/Makefile.in $makefiles"
51653 for sample in `echo $SAMPLES_SUBDIRS`; do
51654 if test -d $srcdir/samples/$sample; then
51655 makefiles="samples/$sample/Makefile.in $makefiles"
51658 elif test ${subdir} = "utils"; then
51660 for util in ifacecheck ; do
51661 if test -d $srcdir/utils/$util ; then
51662 makefiles="utils/$util/src/Makefile.in \
51667 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51671 for mkin in $makefiles ; do
51672 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51673 ac_config_files="$ac_config_files $mk"
51679 cat >confcache <<\_ACEOF
51680 # This file is a shell script that caches the results of configure
51681 # tests run on this system so they can be shared between configure
51682 # scripts and configure runs, see configure's option --config-cache.
51683 # It is not useful on other systems. If it contains results you don't
51684 # want to keep, you may remove or edit it.
51686 # config.status only pays attention to the cache file if you give it
51687 # the --recheck option to rerun configure.
51689 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51691 # following values.
51695 # The following way of writing the cache mishandles newlines in values,
51696 # but we know of no workaround that is simple, portable, and efficient.
51697 # So, we kill variables containing newlines.
51698 # Ultrix sh set writes to stderr and can't be redirected directly,
51699 # and sets the high bit in the cache file unless we assign to the vars.
51701 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51702 eval ac_val
=\$
$ac_var
51706 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51710 _
| IFS
| as_nl
) ;; #(
51711 *) $as_unset $ac_var ;;
51717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51718 *${as_nl}ac_space
=\
*)
51719 # `set' does not quote correctly, so add quotes (double-quote
51720 # substitution turns \\\\ into \\, and sed turns \\ into \).
51723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51726 # `set' quotes correctly as required by POSIX, so do not add quotes.
51727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51741 if test -w "$cache_file"; then
51742 test "x$cache_file" != "x/dev/null" &&
51743 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51744 echo "$as_me: updating cache $cache_file" >&6;}
51745 cat confcache
>$cache_file
51747 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51748 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51753 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51754 # Let make expand exec_prefix.
51755 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51757 DEFS
=-DHAVE_CONFIG_H
51761 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51762 # 1. Remove the extension, and $U if already installed.
51763 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51764 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51766 # will be set to the directory where LIBOBJS objects are built.
51767 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51768 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51770 LIBOBJS
=$ac_libobjs
51772 LTLIBOBJS
=$ac_ltlibobjs
51776 : ${CONFIG_STATUS=./config.status}
51777 ac_clean_files_save
=$ac_clean_files
51778 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51779 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51780 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51781 cat >$CONFIG_STATUS <<_ACEOF
51783 # Generated by $as_me.
51784 # Run this file to recreate the current configuration.
51785 # Compiler output produced by configure, useful for debugging
51786 # configure, is in config.log if it exists.
51789 ac_cs_recheck=false
51791 SHELL=\${CONFIG_SHELL-$SHELL}
51794 cat >>$CONFIG_STATUS <<\_ACEOF
51795 ## --------------------- ##
51796 ## M4sh Initialization. ##
51797 ## --------------------- ##
51799 # Be more Bourne compatible
51800 DUALCASE
=1; export DUALCASE
# for MKS sh
51801 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51804 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51805 # is contrary to our usage. Disable this feature.
51806 alias -g '${1+"$@"}'='"$@"'
51807 setopt NO_GLOB_SUBST
51809 case `(set -o) 2>/dev/null` in
51810 *posix
*) set -o posix
;;
51819 # Avoid depending upon Character Ranges.
51820 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51821 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51822 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51823 as_cr_digits
='0123456789'
51824 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51826 # The user is always right.
51827 if test "${PATH_SEPARATOR+set}" != set; then
51828 echo "#! /bin/sh" >conf$$.sh
51829 echo "exit 0" >>conf$$.sh
51831 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51839 # Support unset when possible.
51840 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51848 # We need space, tab and new line, in precisely that order. Quoting is
51849 # there to prevent editors from complaining about space-tab.
51850 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51851 # splitting by setting IFS to empty value.)
51856 # Find who we are. Look in the path if we contain no directory separator.
51858 *[\\/]* ) as_myself
=$0 ;;
51859 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51860 for as_dir
in $PATH
51863 test -z "$as_dir" && as_dir
=.
51864 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51870 # We did not find ourselves, most probably we were run as `sh COMMAND'
51871 # in which case we are not to be found in the path.
51872 if test "x$as_myself" = x
; then
51875 if test ! -f "$as_myself"; then
51876 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51877 { (exit 1); exit 1; }
51880 # Work around bugs in pre-3.0 UWIN ksh.
51881 for as_var
in ENV MAIL MAILPATH
51882 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51890 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51891 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51892 LC_TELEPHONE LC_TIME
51894 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51895 eval $as_var=C
; export $as_var
51897 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51901 # Required to use basename.
51902 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51903 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51909 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51910 as_basename
=basename
51916 # Name of the executable.
51917 as_me
=`$as_basename -- "$0" ||
51918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51919 X"$0" : 'X\(//\)$' \| \
51920 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51922 sed '/^.*\/\([^/][^/]*\)\/*$/{
51941 as_lineno_1
=$LINENO
51942 as_lineno_2
=$LINENO
51943 test "x$as_lineno_1" != "x$as_lineno_2" &&
51944 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51946 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51947 # uniformly replaced by the line number. The first 'sed' inserts a
51948 # line-number line after each line using $LINENO; the second 'sed'
51949 # does the real work. The second script uses 'N' to pair each
51950 # line-number line with the line containing $LINENO, and appends
51951 # trailing '-' during substitution so that $LINENO is not a special
51952 # case at line end.
51953 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51954 # scripts with optimization help from Paolo Bonzini. Blame Lee
51955 # E. McMahon (1931-1989) for sed's syntax. :-)
51967 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51970 ' >$as_me.lineno
&&
51971 chmod +x
"$as_me.lineno" ||
51972 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51973 { (exit 1); exit 1; }; }
51975 # Don't try to exec as it changes $[0], causing all sort of problems
51976 # (the dirname of $[0] is not the place where we might find the
51977 # original and so on. Autoconf is especially sensitive to this).
51978 .
"./$as_me.lineno"
51979 # Exit status is that of the last command.
51984 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51990 ECHO_C
= ECHO_N
= ECHO_T
=
51991 case `echo -n x` in
51993 case `echo 'x\c'` in
51994 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52001 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52002 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52008 rm -f conf$$ conf$$.exe conf$$.
file
52009 if test -d conf$$.dir
; then
52010 rm -f conf$$.dir
/conf$$.
file
52016 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52018 # ... but there are two gotchas:
52019 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52020 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52021 # In both cases, we have to default to `cp -p'.
52022 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52024 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52029 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52030 rmdir conf$$.dir
2>/dev
/null
52032 if mkdir -p .
2>/dev
/null
; then
52035 test -d .
/-p && rmdir .
/-p
52039 if test -x / >/dev
/null
2>&1; then
52040 as_test_x
='test -x'
52042 if ls -dL / >/dev
/null
2>&1; then
52049 if test -d "$1"; then
52055 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52056 ???[sx]*):;;*)false;;esac;fi
52060 as_executable_p
=$as_test_x
52062 # Sed expression to map a string onto a valid CPP name.
52063 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52065 # Sed expression to map a string onto a valid variable name.
52066 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52071 # Save the log message, to keep $[0] and so on meaningful, and to
52072 # report actual input values of CONFIG_FILES etc. instead of their
52073 # values after options handling.
52075 This file was extended by wxWidgets $as_me 2.9.1, which was
52076 generated by GNU Autoconf 2.61. Invocation command line was
52078 CONFIG_FILES = $CONFIG_FILES
52079 CONFIG_HEADERS = $CONFIG_HEADERS
52080 CONFIG_LINKS = $CONFIG_LINKS
52081 CONFIG_COMMANDS = $CONFIG_COMMANDS
52084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52089 cat >>$CONFIG_STATUS <<_ACEOF
52090 # Files that config.status was made for.
52091 config_files="$ac_config_files"
52092 config_headers="$ac_config_headers"
52093 config_commands="$ac_config_commands"
52097 cat >>$CONFIG_STATUS <<\_ACEOF
52099 \`$as_me' instantiates files from templates according to the
52100 current configuration.
52102 Usage: $0 [OPTIONS] [FILE]...
52104 -h, --help print this help, then exit
52105 -V, --version print version number and configuration settings, then exit
52106 -q, --quiet do not print progress messages
52107 -d, --debug don't remove temporary files
52108 --recheck update $as_me by reconfiguring in the same conditions
52109 --file=FILE[:TEMPLATE]
52110 instantiate the configuration file FILE
52111 --header=FILE[:TEMPLATE]
52112 instantiate the configuration header FILE
52114 Configuration files:
52117 Configuration headers:
52120 Configuration commands:
52123 Report bugs to <bug-autoconf@gnu.org>."
52126 cat >>$CONFIG_STATUS <<_ACEOF
52128 wxWidgets config.status 2.9.1
52129 configured by $0, generated by GNU Autoconf 2.61,
52130 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52132 Copyright (C) 2006 Free Software Foundation, Inc.
52133 This config.status script is free software; the Free Software Foundation
52134 gives unlimited permission to copy, distribute and modify it."
52141 cat >>$CONFIG_STATUS <<\_ACEOF
52142 # If no file are specified by the user, then we need to provide default
52143 # value. By we need to know if files were specified by the user.
52149 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52150 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52161 # Handling of the options.
52162 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52164 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52165 echo "$ac_cs_version"; exit ;;
52166 --debug | --debu | --deb | --de | --d | -d )
52168 --file | --fil | --fi | --f )
52170 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52171 ac_need_defaults
=false
;;
52172 --header | --heade | --head | --hea )
52174 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52175 ac_need_defaults
=false
;;
52177 # Conflict between --help and --header
52178 { echo "$as_me: error: ambiguous option: $1
52179 Try \`$0 --help' for more information." >&2
52180 { (exit 1); exit 1; }; };;
52181 --help | --hel | -h )
52182 echo "$ac_cs_usage"; exit ;;
52183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52184 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52187 # This is an error.
52188 -*) { echo "$as_me: error: unrecognized option: $1
52189 Try \`$0 --help' for more information." >&2
52190 { (exit 1); exit 1; }; } ;;
52192 *) ac_config_targets
="$ac_config_targets $1"
52193 ac_need_defaults
=false
;;
52199 ac_configure_extra_args
=
52201 if $ac_cs_silent; then
52203 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52207 cat >>$CONFIG_STATUS <<_ACEOF
52208 if \$ac_cs_recheck; then
52209 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52210 CONFIG_SHELL=$SHELL
52211 export CONFIG_SHELL
52212 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52216 cat >>$CONFIG_STATUS <<\_ACEOF
52220 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52221 ## Running $as_me. ##
52227 cat >>$CONFIG_STATUS <<_ACEOF
52233 infile="$srcdir/include/wx/msw/genrcdefs.h"
52234 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52237 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52238 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52239 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52245 cat >>$CONFIG_STATUS <<\_ACEOF
52247 # Handling of arguments.
52248 for ac_config_target
in $ac_config_targets
52250 case $ac_config_target in
52251 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52252 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52253 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52254 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52255 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52256 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52257 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52258 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52259 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52261 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52262 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52263 { (exit 1); exit 1; }; };;
52268 # If the user did not use the arguments to specify the items to instantiate,
52269 # then the envvar interface is used. Set only those that are not.
52270 # We use the long form for the default assignment because of an extremely
52271 # bizarre bug on SunOS 4.1.3.
52272 if $ac_need_defaults; then
52273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52278 # Have a temporary directory for convenience. Make it in the build tree
52279 # simply because there is no reason against having it here, and in addition,
52280 # creating and moving files from /tmp can sometimes cause problems.
52281 # Hook for its removal unless debugging.
52282 # Note that there is a small window in which the directory will not be cleaned:
52283 # after its creation but before its name has been assigned to `$tmp'.
52287 trap 'exit_status=$?
52288 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52290 trap '{ (exit 1); exit 1; }' 1 2 13 15
52292 # Create a (secure) tmp directory for tmp files.
52295 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52296 test -n "$tmp" && test -d "$tmp"
52299 tmp
=.
/conf$$
-$RANDOM
52300 (umask 077 && mkdir "$tmp")
52303 echo "$me: cannot create a temporary directory in ." >&2
52304 { (exit 1); exit 1; }
52308 # Set up the sed scripts for CONFIG_FILES section.
52311 # No need to generate the scripts if there are no CONFIG_FILES.
52312 # This happens for instance when ./config.status config.h
52313 if test -n "$CONFIG_FILES"; then
52320 for ac_last_try
in false false false false false
:; do
52321 cat >conf$
$subs.
sed <<_ACEOF
52322 SHELL!$SHELL$ac_delim
52323 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52324 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52325 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52326 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52327 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52328 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52329 exec_prefix!$exec_prefix$ac_delim
52330 prefix!$prefix$ac_delim
52331 program_transform_name!$program_transform_name$ac_delim
52332 bindir!$bindir$ac_delim
52333 sbindir!$sbindir$ac_delim
52334 libexecdir!$libexecdir$ac_delim
52335 datarootdir!$datarootdir$ac_delim
52336 datadir!$datadir$ac_delim
52337 sysconfdir!$sysconfdir$ac_delim
52338 sharedstatedir!$sharedstatedir$ac_delim
52339 localstatedir!$localstatedir$ac_delim
52340 includedir!$includedir$ac_delim
52341 oldincludedir!$oldincludedir$ac_delim
52342 docdir!$docdir$ac_delim
52343 infodir!$infodir$ac_delim
52344 htmldir!$htmldir$ac_delim
52345 dvidir!$dvidir$ac_delim
52346 pdfdir!$pdfdir$ac_delim
52347 psdir!$psdir$ac_delim
52348 libdir!$libdir$ac_delim
52349 localedir!$localedir$ac_delim
52350 mandir!$mandir$ac_delim
52351 DEFS!$DEFS$ac_delim
52352 ECHO_C!$ECHO_C$ac_delim
52353 ECHO_N!$ECHO_N$ac_delim
52354 ECHO_T!$ECHO_T$ac_delim
52355 LIBS!$LIBS$ac_delim
52356 build_alias!$build_alias$ac_delim
52357 host_alias!$host_alias$ac_delim
52358 target_alias!$target_alias$ac_delim
52359 build!$build$ac_delim
52360 build_cpu!$build_cpu$ac_delim
52361 build_vendor!$build_vendor$ac_delim
52362 build_os!$build_os$ac_delim
52363 host!$host$ac_delim
52364 host_cpu!$host_cpu$ac_delim
52365 host_vendor!$host_vendor$ac_delim
52366 host_os!$host_os$ac_delim
52367 wx_top_builddir!$wx_top_builddir$ac_delim
52369 CFLAGS!$CFLAGS$ac_delim
52370 LDFLAGS!$LDFLAGS$ac_delim
52371 CPPFLAGS!$CPPFLAGS$ac_delim
52372 ac_ct_CC!$ac_ct_CC$ac_delim
52373 EXEEXT!$EXEEXT$ac_delim
52374 OBJEXT!$OBJEXT$ac_delim
52376 GREP!$GREP$ac_delim
52377 EGREP!$EGREP$ac_delim
52379 CXXFLAGS!$CXXFLAGS$ac_delim
52380 ac_ct_CXX!$ac_ct_CXX$ac_delim
52382 subdirs!$subdirs$ac_delim
52383 PKG_CONFIG!$PKG_CONFIG$ac_delim
52384 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52385 GTK_LIBS!$GTK_LIBS$ac_delim
52386 GTK_CONFIG!$GTK_CONFIG$ac_delim
52387 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52388 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52389 XMKMF!$XMKMF$ac_delim
52390 X_CFLAGS!$X_CFLAGS$ac_delim
52391 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52392 X_LIBS!$X_LIBS$ac_delim
52393 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52394 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52395 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52396 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52397 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52398 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52399 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52400 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52401 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52402 LIBICONV!$LIBICONV$ac_delim
52403 GXX_VERSION!$GXX_VERSION$ac_delim
52404 SDL_CONFIG!$SDL_CONFIG$ac_delim
52405 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52406 SDL_LIBS!$SDL_LIBS$ac_delim
52407 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52408 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52409 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52410 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52411 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52412 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52413 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52414 HILDON_LIBS!$HILDON_LIBS$ac_delim
52415 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52416 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52417 PYTHON!$PYTHON$ac_delim
52418 COND_PYTHON!$COND_PYTHON$ac_delim
52421 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52423 elif $ac_last_try; then
52424 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52425 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52426 { (exit 1); exit 1; }; }
52428 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52432 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52433 if test -n "$ac_eof"; then
52434 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52435 ac_eof
=`expr $ac_eof + 1`
52438 cat >>$CONFIG_STATUS <<_ACEOF
52439 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52443 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52444 s/^/s,@/; s/!/@,|#_!!_#|/
52447 s/'"$ac_delim"'$/,g/; t
52449 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52450 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52451 rm -f conf$
$subs.
sed
52452 cat >>$CONFIG_STATUS <<_ACEOF
52458 for ac_last_try
in false false false false false
:; do
52459 cat >conf$
$subs.
sed <<_ACEOF
52460 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52461 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52462 GST_CFLAGS!$GST_CFLAGS$ac_delim
52463 GST_LIBS!$GST_LIBS$ac_delim
52464 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52465 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52466 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52467 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52468 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52469 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52470 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52471 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52472 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52473 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52474 VENDOR!$VENDOR$ac_delim
52475 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52476 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52477 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52478 WXUNIV!$WXUNIV$ac_delim
52479 MONOLITHIC!$MONOLITHIC$ac_delim
52480 USE_PLUGINS!$USE_PLUGINS$ac_delim
52481 CXXWARNINGS!$CXXWARNINGS$ac_delim
52482 EXTRALIBS!$EXTRALIBS$ac_delim
52483 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52484 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52485 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52486 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52487 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52488 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52489 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52490 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52491 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52492 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52493 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52494 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52495 UNICODE!$UNICODE$ac_delim
52496 DEBUG_INFO!$DEBUG_INFO$ac_delim
52497 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52498 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52499 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52500 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52501 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52502 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52503 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52504 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52505 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52506 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52507 RANLIB!$RANLIB$ac_delim
52508 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52509 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52510 INSTALL_DATA!$INSTALL_DATA$ac_delim
52511 LN_S!$LN_S$ac_delim
52512 SET_MAKE!$SET_MAKE$ac_delim
52513 MAKE_SET!$MAKE_SET$ac_delim
52514 AROPTIONS!$AROPTIONS$ac_delim
52515 STRIP!$STRIP$ac_delim
52517 INSTALL_DIR!$INSTALL_DIR$ac_delim
52518 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52519 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52520 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52521 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52522 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52523 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52524 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52525 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52526 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52527 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52528 SO_SUFFIX!$SO_SUFFIX$ac_delim
52529 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52530 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52531 LIBPREFIX!$LIBPREFIX$ac_delim
52532 LIBEXT!$LIBEXT$ac_delim
52533 DLLPREFIX!$DLLPREFIX$ac_delim
52534 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52535 dlldir!$dlldir$ac_delim
52536 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52537 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52538 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52539 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52540 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52541 PIC_FLAG!$PIC_FLAG$ac_delim
52542 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52543 USE_SOVERSION!$USE_SOVERSION$ac_delim
52544 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52545 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52546 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52547 USE_MACVERSION!$USE_MACVERSION$ac_delim
52548 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52549 SONAME_FLAG!$SONAME_FLAG$ac_delim
52550 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52551 BK_DEPS!$BK_DEPS$ac_delim
52552 WINDRES!$WINDRES$ac_delim
52554 SETFILE!$SETFILE$ac_delim
52555 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52556 GCC_PCH!$GCC_PCH$ac_delim
52559 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52561 elif $ac_last_try; then
52562 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52563 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52564 { (exit 1); exit 1; }; }
52566 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52570 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52571 if test -n "$ac_eof"; then
52572 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52573 ac_eof
=`expr $ac_eof + 1`
52576 cat >>$CONFIG_STATUS <<_ACEOF
52577 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52581 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52582 s/^/s,@/; s/!/@,|#_!!_#|/
52585 s/'"$ac_delim"'$/,g/; t
52587 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52588 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52589 rm -f conf$
$subs.
sed
52590 cat >>$CONFIG_STATUS <<_ACEOF
52596 for ac_last_try
in false false false false false
:; do
52597 cat >conf$
$subs.
sed <<_ACEOF
52598 ICC_PCH!$ICC_PCH$ac_delim
52599 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52600 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52601 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52602 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52603 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52604 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52605 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52606 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52607 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52608 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52609 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52610 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52611 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52612 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52613 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52614 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52615 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52616 COND_BUILD_release!$COND_BUILD_release$ac_delim
52617 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52618 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52619 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52620 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52621 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52622 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52623 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52624 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52625 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52626 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52627 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52628 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52629 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52630 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52631 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52633 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52634 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52635 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52636 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52637 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52638 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52639 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52640 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52641 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52643 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52644 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52646 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52647 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52648 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52649 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52650 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52651 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52652 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52653 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52654 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52655 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52656 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52657 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52658 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52659 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52660 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52661 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52662 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52663 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52664 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52665 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52666 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52667 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52668 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52669 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52670 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52671 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52672 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52673 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
52674 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52675 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
52676 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52677 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52678 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52679 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52680 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52681 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52682 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52683 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52684 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52685 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52686 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52687 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52688 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52689 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52690 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52691 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52692 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52693 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52694 COND_SHARED_0!$COND_SHARED_0$ac_delim
52697 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52699 elif $ac_last_try; then
52700 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52701 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52702 { (exit 1); exit 1; }; }
52704 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52708 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52709 if test -n "$ac_eof"; then
52710 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52711 ac_eof
=`expr $ac_eof + 1`
52714 cat >>$CONFIG_STATUS <<_ACEOF
52715 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52720 s/^/s,@/; s/!/@,|#_!!_#|/
52723 s/'"$ac_delim"'$/,g/; t
52725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52726 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52727 rm -f conf$
$subs.
sed
52728 cat >>$CONFIG_STATUS <<_ACEOF
52734 for ac_last_try
in false false false false false
:; do
52735 cat >conf$
$subs.
sed <<_ACEOF
52736 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52737 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52738 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52739 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52740 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52742 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52743 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52744 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52745 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52746 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52747 COND_SHARED_1!$COND_SHARED_1$ac_delim
52748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52749 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52750 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52751 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52752 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52753 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52754 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52755 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52757 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52758 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52759 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52760 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52761 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52762 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52763 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52764 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52765 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52766 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52767 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52768 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52769 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52770 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52771 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52772 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52773 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52774 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52775 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52776 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52777 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52778 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52779 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52780 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52781 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52782 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52784 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52785 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52786 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52787 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52788 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52789 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52790 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52791 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52792 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52793 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52794 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52795 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52796 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52797 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52798 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52799 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52800 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52801 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52802 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52803 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52804 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52805 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52806 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52807 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52808 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52809 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52810 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52811 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52812 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52813 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52814 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52815 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52816 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52817 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52818 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52819 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52820 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52821 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52822 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52823 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52824 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52825 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52826 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52827 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52828 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52829 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52830 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52831 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52832 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52837 elif $ac_last_try; then
52838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52840 { (exit 1); exit 1; }; }
52842 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52846 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52847 if test -n "$ac_eof"; then
52848 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52849 ac_eof
=`expr $ac_eof + 1`
52852 cat >>$CONFIG_STATUS <<_ACEOF
52853 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52858 s/^/s,@/; s/!/@,|#_!!_#|/
52861 s/'"$ac_delim"'$/,g/; t
52863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52864 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52865 rm -f conf$
$subs.
sed
52866 cat >>$CONFIG_STATUS <<_ACEOF
52872 for ac_last_try
in false false false false false
:; do
52873 cat >conf$
$subs.
sed <<_ACEOF
52874 DEREZ!$DEREZ$ac_delim
52875 SHARED!$SHARED$ac_delim
52876 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52877 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52878 USE_GUI!$USE_GUI$ac_delim
52879 AFMINSTALL!$AFMINSTALL$ac_delim
52880 WIN32INSTALL!$WIN32INSTALL$ac_delim
52881 TOOLKIT!$TOOLKIT$ac_delim
52882 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52883 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52884 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52885 cross_compiling!$cross_compiling$ac_delim
52886 WIDGET_SET!$WIDGET_SET$ac_delim
52887 WX_RELEASE!$WX_RELEASE$ac_delim
52888 WX_VERSION!$WX_VERSION$ac_delim
52889 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52890 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52891 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52892 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52893 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52894 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52895 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52896 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52897 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52898 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52899 GUIDIST!$GUIDIST$ac_delim
52900 DISTDIR!$DISTDIR$ac_delim
52901 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52902 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52903 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52904 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52905 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52906 RESCOMP!$RESCOMP$ac_delim
52907 RESFLAGS!$RESFLAGS$ac_delim
52908 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52909 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52910 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52911 LIBWXMACRES!$LIBWXMACRES$ac_delim
52912 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52913 MACSETFILE!$MACSETFILE$ac_delim
52915 DLLTOOL!$DLLTOOL$ac_delim
52916 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52917 LIBOBJS!$LIBOBJS$ac_delim
52918 LTLIBOBJS!$LTLIBOBJS$ac_delim
52921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
52923 elif $ac_last_try; then
52924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52926 { (exit 1); exit 1; }; }
52928 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52932 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52933 if test -n "$ac_eof"; then
52934 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52935 ac_eof
=`expr $ac_eof + 1`
52938 cat >>$CONFIG_STATUS <<_ACEOF
52939 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52943 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52944 s/^/s,@/; s/!/@,|#_!!_#|/
52947 s/'"$ac_delim"'$/,g/; t
52949 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52950 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52951 rm -f conf$
$subs.
sed
52952 cat >>$CONFIG_STATUS <<_ACEOF
52959 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52960 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52961 # trailing colons and then remove the whole line if VPATH becomes empty
52962 # (actually we leave an empty line to preserve line numbers).
52963 if test "x$srcdir" = x.
; then
52964 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52965 s/:*\$(srcdir):*/:/
52966 s/:*\${srcdir}:*/:/
52968 s/^\([^=]*=[ ]*\):*/\1/
52974 cat >>$CONFIG_STATUS <<\_ACEOF
52975 fi # test -n "$CONFIG_FILES"
52978 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52981 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52983 case $ac_mode$ac_tag in
52985 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52986 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52987 { (exit 1); exit 1; }; };;
52988 :[FH
]-) ac_tag
=-:-;;
52989 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53006 -) ac_f
="$tmp/stdin";;
53007 *) # Look for the file first in the build tree, then in the source tree
53008 # (if the path is not absolute). The absolute path cannot be DOS-style,
53009 # because $ac_f cannot contain `:'.
53013 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53015 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53016 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53017 { (exit 1); exit 1; }; };;
53019 ac_file_inputs
="$ac_file_inputs $ac_f"
53022 # Let's still pretend it is `configure' which instantiates (i.e., don't
53023 # use $as_me), people would be surprised to read:
53024 # /* config.h. Generated by config.status. */
53025 configure_input
="Generated from "`IFS=:
53026 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53027 if test x
"$ac_file" != x
-; then
53028 configure_input
="$ac_file. $configure_input"
53029 { echo "$as_me:$LINENO: creating $ac_file" >&5
53030 echo "$as_me: creating $ac_file" >&6;}
53034 *:-:* | *:-) cat >"$tmp/stdin";;
53039 ac_dir
=`$as_dirname -- "$ac_file" ||
53040 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53041 X"$ac_file" : 'X\(//\)[^/]' \| \
53042 X"$ac_file" : 'X\(//\)$' \| \
53043 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53049 /^X\(\/\/\)[^/].*/{
53064 -*) as_dir
=.
/$as_dir;;
53066 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53070 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53071 *) as_qdir
=$as_dir;;
53073 as_dirs
="'$as_qdir' $as_dirs"
53074 as_dir
=`$as_dirname -- "$as_dir" ||
53075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53076 X"$as_dir" : 'X\(//\)[^/]' \| \
53077 X"$as_dir" : 'X\(//\)$' \| \
53078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53084 /^X\(\/\/\)[^/].*/{
53097 test -d "$as_dir" && break
53099 test -z "$as_dirs" || eval "mkdir $as_dirs"
53100 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53101 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53102 { (exit 1); exit 1; }; }; }
53106 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53108 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53109 # A ".." for each directory in $ac_dir_suffix.
53110 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53111 case $ac_top_builddir_sub in
53112 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53113 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53116 ac_abs_top_builddir
=$ac_pwd
53117 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53118 # for backward compatibility:
53119 ac_top_builddir
=$ac_top_build_prefix
53122 .
) # We are building in place.
53124 ac_top_srcdir
=$ac_top_builddir_sub
53125 ac_abs_top_srcdir
=$ac_pwd ;;
53126 [\\/]* | ?
:[\\/]* ) # Absolute name.
53127 ac_srcdir
=$srcdir$ac_dir_suffix;
53128 ac_top_srcdir
=$srcdir
53129 ac_abs_top_srcdir
=$srcdir ;;
53130 *) # Relative name.
53131 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53132 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53133 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53135 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53145 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53146 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53150 cat >>$CONFIG_STATUS <<\_ACEOF
53151 # If the template does not know about datarootdir, expand it.
53152 # FIXME: This hack should be removed a few years after 2.60.
53153 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53155 case `sed -n '/datarootdir/ {
53164 ' $ac_file_inputs` in
53165 *datarootdir
*) ac_datarootdir_seen
=yes;;
53166 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53167 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53168 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53170 cat >>$CONFIG_STATUS <<_ACEOF
53171 ac_datarootdir_hack='
53172 s&@datadir@&$datadir&g
53173 s&@docdir@&$docdir&g
53174 s&@infodir@&$infodir&g
53175 s&@localedir@&$localedir&g
53176 s&@mandir@&$mandir&g
53177 s&\\\${datarootdir}&$datarootdir&g' ;;
53181 # Neutralize VPATH when `$srcdir' = `.'.
53182 # Shell code in configure.ac might set extrasub.
53183 # FIXME: do we really want to maintain this feature?
53184 cat >>$CONFIG_STATUS <<_ACEOF
53188 cat >>$CONFIG_STATUS <<\_ACEOF
53190 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53191 s
&@configure_input@
&$configure_input&;t t
53192 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53193 s
&@srcdir@
&$ac_srcdir&;t t
53194 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53195 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53196 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53197 s
&@builddir@
&$ac_builddir&;t t
53198 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53199 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53200 s
&@INSTALL@
&$ac_INSTALL&;t t
53201 $ac_datarootdir_hack
53202 " $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
53204 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53205 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53207 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53208 which seems to be undefined. Please make sure it is defined." >&5
53209 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53210 which seems to be undefined. Please make sure it is defined." >&2;}
53214 -) cat "$tmp/out"; rm -f "$tmp/out";;
53215 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53224 # Transform confdefs.h into a sed script `conftest.defines', that
53225 # substitutes the proper values into config.h.in to produce config.h.
53226 rm -f conftest.defines conftest.
tail
53227 # First, append a space to every undef/define line, to ease matching.
53228 echo 's/$/ /' >conftest.defines
53229 # Then, protect against being on the right side of a sed subst, or in
53230 # an unquoted here document, in config.status. If some macros were
53231 # called several times there might be several #defines for the same
53232 # symbol, which is useless. But do not sort them, since the last
53233 # AC_DEFINE must be honored.
53234 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53235 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53236 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53237 # PARAMS is the parameter list in the macro definition--in most cases, it's
53238 # just an empty string.
53239 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53240 ac_dB
='\\)[ (].*,\\1define\\2'
53248 s/^[ ]*#[ ]*define[ ][ ]*//
53253 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53254 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53255 ' >>conftest.defines
53257 # Remove the space that was appended to ease matching.
53258 # Then replace #undef with comments. This is necessary, for
53259 # example, in the case of _POSIX_SOURCE, which is predefined and required
53260 # on some systems where configure will not decide to define it.
53261 # (The regexp can be short, since the line contains either #define or #undef.)
53263 s,^[ #]*u.*,/* & */,' >>conftest.defines
53265 # Break up conftest.defines:
53266 ac_max_sed_lines
=50
53268 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53269 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53270 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53272 ac_in
='$ac_file_inputs'
53273 ac_out
='"$tmp/out1"'
53274 ac_nxt
='"$tmp/out2"'
53278 # Write a here document:
53279 cat >>$CONFIG_STATUS <<_ACEOF
53280 # First, check the format of the line:
53281 cat >"\$tmp/defines.sed" <<\\CEOF
53282 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53283 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53287 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53289 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53290 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53291 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53292 grep . conftest.
tail >/dev
/null
|| break
53293 rm -f conftest.defines
53294 mv conftest.
tail conftest.defines
53296 rm -f conftest.defines conftest.
tail
53298 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53299 cat >>$CONFIG_STATUS <<\_ACEOF
53300 if test x
"$ac_file" != x
-; then
53301 echo "/* $configure_input */" >"$tmp/config.h"
53302 cat "$ac_result" >>"$tmp/config.h"
53303 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53304 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53305 echo "$as_me: $ac_file is unchanged" >&6;}
53308 mv "$tmp/config.h" $ac_file
53311 echo "/* $configure_input */"
53317 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53318 echo "$as_me: executing $ac_file commands" >&6;}
53323 case $ac_file$ac_mode in
53325 mkdir -p $outdir &&
53326 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53328 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53329 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53330 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53331 "wx-config":C
) rm -f wx
-config
53332 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53339 { (exit 0); exit 0; }
53341 chmod +x
$CONFIG_STATUS
53342 ac_clean_files
=$ac_clean_files_save
53345 # configure is writing to config.log, and then calls config.status.
53346 # config.status does its own redirection, appending to config.log.
53347 # Unfortunately, on DOS this fails, as config.log is still kept open
53348 # by configure, so config.status won't be able to write to it; its
53349 # output is simply discarded. So we exec the FD to /dev/null,
53350 # effectively closing config.log, so it can be properly (re)opened and
53351 # appended to by config.status. When coming back to configure, we
53352 # need to make the FD available again.
53353 if test "$no_create" != yes; then
53355 ac_config_status_args
=
53356 test "$silent" = yes &&
53357 ac_config_status_args
="$ac_config_status_args --quiet"
53359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53362 # would make configure fail if this is the last instruction.
53363 $ac_cs_success || { (exit 1); exit 1; }
53367 # CONFIG_SUBDIRS section.
53369 if test "$no_recursion" != yes; then
53371 # Remove --cache-file and --srcdir arguments so they do not pile up.
53372 ac_sub_configure_args
=
53374 eval "set x $ac_configure_args"
53378 if test -n "$ac_prev"; then
53383 -cache-file | --cache-file | --cache-fil | --cache-fi \
53384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53385 ac_prev
=cache_file
;;
53386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53390 --config-cache | -C)
53392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53396 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53398 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53402 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53404 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53408 # Always prepend --prefix to ensure using the same prefix
53409 # in subdir configurations.
53410 ac_arg
="--prefix=$prefix"
53412 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53414 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53417 if test "$silent" = yes; then
53418 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53422 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53424 # Do not complain, so a configure script can configure whichever
53425 # parts of a large source tree are present.
53426 test -d "$srcdir/$ac_dir" || continue
53428 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53429 echo "$as_me:$LINENO: $ac_msg" >&5
53433 -*) as_dir
=.
/$as_dir;;
53435 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53439 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53440 *) as_qdir
=$as_dir;;
53442 as_dirs
="'$as_qdir' $as_dirs"
53443 as_dir
=`$as_dirname -- "$as_dir" ||
53444 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53445 X"$as_dir" : 'X\(//\)[^/]' \| \
53446 X"$as_dir" : 'X\(//\)$' \| \
53447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53453 /^X\(\/\/\)[^/].*/{
53466 test -d "$as_dir" && break
53468 test -z "$as_dirs" || eval "mkdir $as_dirs"
53469 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53470 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53471 { (exit 1); exit 1; }; }; }
53475 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53477 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53478 # A ".." for each directory in $ac_dir_suffix.
53479 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53480 case $ac_top_builddir_sub in
53481 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53482 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53485 ac_abs_top_builddir
=$ac_pwd
53486 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53487 # for backward compatibility:
53488 ac_top_builddir
=$ac_top_build_prefix
53491 .
) # We are building in place.
53493 ac_top_srcdir
=$ac_top_builddir_sub
53494 ac_abs_top_srcdir
=$ac_pwd ;;
53495 [\\/]* | ?
:[\\/]* ) # Absolute name.
53496 ac_srcdir
=$srcdir$ac_dir_suffix;
53497 ac_top_srcdir
=$srcdir
53498 ac_abs_top_srcdir
=$srcdir ;;
53499 *) # Relative name.
53500 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53501 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53502 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53504 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53509 # Check for guested configure; otherwise get Cygnus style configure.
53510 if test -f "$ac_srcdir/configure.gnu"; then
53511 ac_sub_configure
=$ac_srcdir/configure.gnu
53512 elif test -f "$ac_srcdir/configure"; then
53513 ac_sub_configure
=$ac_srcdir/configure
53514 elif test -f "$ac_srcdir/configure.in"; then
53515 # This should be Cygnus configure.
53516 ac_sub_configure
=$ac_aux_dir/configure
53518 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53519 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53523 # The recursion is here.
53524 if test -n "$ac_sub_configure"; then
53525 # Make the cache file name correct relative to the subdirectory.
53526 case $cache_file in
53527 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53528 *) # Relative name.
53529 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53532 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53533 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53534 # The eval makes quoting arguments work.
53535 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53536 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53537 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53538 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53539 { (exit 1); exit 1; }; }
53548 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53550 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53551 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53552 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53553 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53554 if test "$wxUSE_UNICODE" = "yes"; then
53555 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53556 echo " (using UTF-8)"
53558 echo " (using wchar_t)"
53564 echo " What level of wxWidgets compatibility should be enabled?"
53565 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53566 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53568 echo " Which libraries should wxWidgets use?"
53569 echo " STL ${wxUSE_STL}"
53570 echo " jpeg ${wxUSE_LIBJPEG-none}"
53571 echo " png ${wxUSE_LIBPNG-none}"
53572 echo " regex ${wxUSE_REGEX}"
53573 echo " tiff ${wxUSE_LIBTIFF-none}"
53574 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53575 echo " xpm ${wxUSE_LIBXPM-none}"
53577 echo " zlib ${wxUSE_ZLIB}"
53578 echo " expat ${wxUSE_EXPAT}"
53579 echo " libmspack ${wxUSE_LIBMSPACK}"
53580 echo " sdl ${wxUSE_LIBSDL}"